Feature request:Network Director

Is this repo under active development?
Any plans of adding wrapper for network director application on space ?

xgbh Km ts
On May 3, 2017 13:29, "Akshay Karanth"<EMAIL_ADDRESS>wrote:

Is this repo under active development?
Any plans of adding wrapper for network director application on space ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Juniper/py-space-platform/issues/53, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AMLxYgVbbEtMrV9oJdc8FQ-cpW3yd8kEks5r2MdygaJpZM4NPx-g
.


Model formfield() does not honor model field blank attribute making form field always required

Describe the bug
When blank=True is set to True, expected field.formfield() should be required=False however that is not honored.
To Reproduce
Steps to reproduce the behavior:

Create model
Add bleached field with blank=True
Add it to django admin
Check in django admin if field is required

Expected behavior
It should appear as not required but it appears as required
Context
Looks like its related to https://github.com/marksweb/django-bleach/blob/0dfcd6de5cbd3719e461f840fcf3b54c5a7fd8b8/django_bleach/models.py#L37-L47
Recently it was changed to return BleachField which inherently does not call super() where base Field correctly interprets other django model field attributes such as blank:
https://github.com/django/django/blob/56f9579105c324ff15250423bf9f8bdf1634cfb4/django/db/models/fields/__init__.py#L908-L914
(copy from link since it does not render inline)
    def formfield(self, form_class=None, choices_form_class=None, **kwargs):
        """Return a django.forms.Field instance for this field."""
        defaults = {
            'required': not self.blank,
            'label': capfirst(self.verbose_name),
            'help_text': self.help_text,
        }

Good catch @miki725 thanns for raising 👍
Are you able to contribute a fix for this?


mismatch between the DateTime types of Prisma and the ones of Postgres (timestamptz unsupported)

I experienced an issue with the date format after introspecting a Postgres database.
The SQL migration statements of the initial DB schema:
CREATE TABLE IF NOT EXISTS "users" ("id"   SERIAL , "username" VARCHAR(255) NOT NULL UNIQUE, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL, PRIMARY KEY ("id"));

CREATE TABLE IF NOT EXISTS "tasks" ("id"   SERIAL , "title" VARCHAR(255), "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" INTEGER REFERENCES "users" ("id") ON DELETE CASCADE ON UPDATE CASCADE, PRIMARY KEY ("id"));

The resulting Prisma data model after introspection:
model Task {
  id        Int      @id
  createdAt DateTime @default(now())
  title     String?
  updatedAt DateTime @updatedAt
  userId    User?

  @@map("tasks")
}

model User {
  id        Int      @id
  createdAt DateTime @default(now())
  tasks     Task[]
  updatedAt DateTime @updatedAt
  username  String   @unique

  @@map("users")
}

The Photon API call that caused the issue:
photon.users.findMany()

The error message:
(node:21575) UnhandledPromiseRejectionWarning: Error:
Invalid `const users = await photon.users.findMany()` invocation in /Users/daisyt/Documents/Code/migration_sequelize_photon/src/index.ts:11:38

   7
   8 const photon = new Photon()
   9
  10 app.get('/users', async (req,[object Object], res) => {
→ 11     const users = await photon.users.findMany(

Error querying the database: db error: FATAL: role "user" does not exist date=2019-09-13T15:45:14.949Z
    at PhotonFetcher.<anonymous> (/Users/daisyt/Documents/Code/migration_sequelize_photon/node_modules/@generated/photon/index.js:46:27)
    at Generator.throw (<anonymous>)
    at rejected (/Users/daisyt/Documents/Code/migration_sequelize_photon/node_modules/@generated/photon/index.js:5:65)
(node:21575) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:21575) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I can confirm this. I think we currently don't support timestampz date fields. With<EMAIL_ADDRESS>binary version: f984d2c958c73ecfc500dd44b7ed2e1081cc8588 the runtime throws the following error:

So this is related to supporting custom database types: https://github.com/prisma/prisma2/issues/446
Marking this as a feature request like we have done for other similar issues.

Replaced by https://github.com/prisma/prisma/issues/2417


[DNM] Parse /.../ regex literals (by re-lexing)

https://github.com/apple/swift/pull/41767, but implemented by re-lexing when we encounter a / in the parser. Also implements the rule where a regex may not start with space, tab, ), or ,.

@swift-ci please test

@swift-ci please test

@swift-ci please test

cc @rintaro, still needs a way of delaying lexing diagnostics, but otherwise seems to work well

@swift-ci please test source compatibility

@swift-ci please test

@swift-ci please test

This seems to be the way to go, continuing over on https://github.com/apple/swift/pull/41767.


[EGP] Lua error: Object doesn't exist

How to reproduce:
I will provide you with an E2 that is causing error (see files below, keep in mind that you need to download both of them since one of them is lib)

press on the button with gmod icon on top left
Close it with the button on the right side of the window.
Get the error
Error:

[wire-master] addons/wire-master/lua/entities/gmod_wire_egp/lib/egplib/objectcontrol.lua:182: attempt to index local 'obj' (a nil value)
  1. PerformReorder - addons/wire-master/lua/entities/gmod_wire_egp/lib/egplib/objectcontrol.lua:182
   2. Receive - addons/wire-master/lua/entities/gmod_wire_egp/lib/egplib/transmitreceive.lua:551
    3. func - addons/wire-master/lua/entities/gmod_wire_egp/lib/egplib/transmitreceive.lua:557
     4. unknown - lua/includes/extensions/net.lua:33

sv: Expression 2 (TurboOS  Version 0.0.1
Made By KemGus
): Error(s) occured while executing 'postexecute' hook:
addons/wire-master/lua/entities/gmod_wire_egp/lib/egplib/objectcontrol.lua:182: attempt to index local 'obj' (a nil value)

egp_functions.txt
os_.txt
Notes:
For some reason, when I close the window by clicking on the icon again, it doesn't error that often.
Sometimes error won't kick in, so the issue seems a bit random.

Removing this part of the code (egp order one) fixed the issue

I believe this is being caused because it's trying to reorder on an object that is deleted but the rendertable doesn't update in time. A simple null check seems to be a stopgap solution.

Can you confirm if this still happens? Might have been coincidentally fixed in #2731.

Can't reproduce so I'm going to assume this has been fixed.


Question

How did you get past this issue?
Thanks!

Got the same error:
Failed to parse template script (your template may contain an error or be trying to use expressions not currently supported): startup failed:
     SimpleTemplateScript34.groovy: 1: Unexpected character: '"' @ line 1, column 13.
        out.print("""

I created a minimal example to reproduce the issue.
In my case it seems gradle kotlin dsl doesn't handle comments inside property files.
Either commenting out this in build.gradle.kts:
tasks.withType<ProcessResources> {
	filesMatching("*.properties") {
		expand("version" to version, "buildTimestamp" to LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")))
	}
}

Or removing this in application.properties:
#  \ \\\\\\\\n \\\\) test %m%n

Fixes the build.
See minimal reproducable example added:
Minimal Spring project: demo.zip
Full error running gradle: logs.txt


Remove URI serialization for classes coming from .class files from fix serialization code

This PR partially resolves #716 by removing URI serialization for classes coming from .class files in all serializations.
In Annotator all serialized paths in downstream dependencies analysis phase, are neglected and retrieved from internal data structure of Annotator. Please see Github
I tested Annotator with a local snapshot of NullAway with latest changes in this PR and I did not see any problem.
#716 is partially resolved since it requires updating path constructions in tests as well, which I will work on it on a separate PR.

Going to land this as it looks pretty safe.  We can revert if some issue is spotted


Improve description for "automatic import folding"

Testing #129359:
My suggestion:

Controls whether the editor automatically collapses import ranges.

(see discussion https://github.com/microsoft/vscode/issues/129359#issuecomment-886239665)

I went ahead a pushed a fix for this since it is simple and that we do not have anything left in July. Adding bug so we verify this.


Tags: Add two new APIs defaultTagContext() and defaultBuilder().

It's important to differentiate between empty and default TagContext, since they are not always the same in different implementations. Currently we're using Tagger.empty() and Tagger.emptyBuilder() to get the default TagContexts and that has caused some problems.
Adding two new APIs defaultTagContext() and defaultBuilder(). By default they are the same as empty() and emptyBuilder() but implementations can override them to have different behaviors.
/cc @zhangkun83

Codecov Report

Merging #1316 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1316      +/-   ##
============================================
+ Coverage     82.61%   82.62%   +<.01%
- Complexity     1305     1307       +2
============================================
  Files           199      199
  Lines          6391     6393       +2
  Branches        585      585
============================================
+ Hits           5280     5282       +2
  Misses          951      951
  Partials        160      160

Impacted Files
Coverage Δ
Complexity Δ

api/src/main/java/io/opencensus/tags/Tagger.java
100% <100%> (ø)
3 <2> (+2)
:arrow_up:

Continue to review full report at Codecov.

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

Chatted offline, we're considering an alternative approach.


time.sleep not work?

I want to open test file and sleep 3 sec before close file, but it doesn't work. The program will first run sleep then open test file. Why(I am use mac os)?

Based on the code, and description you entered I'm not getting a sense of what you are trying to accomplish. Could you try explaining it in a different way?

@tandal The above picture is my explaination.

@lintingbin2009
I'm not sure what you are trying to accomplish with the code, but here are some examples of the results I'm getting in my environment. I've also done some modification to show another way to potentially use this.
Example of what I see when executing what you have created:

Example of using your code, but before it runs open a text editing application. I'm on a windows machine so the application will be different than something you would use.

I'm not sure if this is useful, but I hope it is. If it's not perhaps providing what your trying to accomplish with this may help in getting something created that you need. The sleep command is working for me.

It seem working on the window. I do it on the mac, my purpose is to open a huge file and edit the file. Because the file is huge, It is very slow(about 3 seconds) to open the file. And I need to edit the file after open it, so I use the "sleep" function. But it doesn't work.

Have you tried to increase the sleep time? Try 20 seconds to see what happens.

You could run the script in the background. This is done by adding & to the end of your python: scriptname.py &

@kazdadi You are right. Thank you.


Run Job immediatelly after schedule with 1 hour interval (1.2.4)

My code is:
return new JobRequest.Builder(TAG)
                .setUpdateCurrent(true)
                .setPeriodic(3600000)
                .build()
                .schedule();

I'm running this code right after running the application. I could also see the logs:
V/DownloadJob: ##### schedule 3600000
D/JobProxy24: Schedule periodic jobInfo success, request{id=2504, tag=DownloadJob, transient=false}, interval 01:00:00, flex 01:00:00
D/PlatformJobService: Run job, request{id=2504, tag=DownloadJob, transient=false}, waited 00:00:00, interval 01:00:00, flex 01:00:00
V/CustomJobCreator: ##### create DownloadJob
I/JobExecutor: Executing request{id=2504, tag=DownloadJob, transient=false}, context PlatformJobService
V/DownloadJob: ##### onRunJob
I/JobExecutor: Finished job{id=2504, finished=true, result=SUCCESS, canceled=false, periodic=true, class=DownloadJob, tag=DownloadJob}
D/PlatformJobService: Finished job, request{id=2504, tag=DownloadJob, transient=false} SUCCESS

but by the logic it should't run right after schedule if I didn't call method start
Any advice? Many thanks

That's possible, because the requirement for a periodic job is to run once during each interval. If the system decides it's a good time to run the job at the beginning of the period, then it'll run during that time. You can adjust the window when it's allowed to run the job with the flex parameter.


Copy 1.10 spec to 1.11 for sdformat14

🎉 New feature
This PR creates a new version of the SDF spec 1.11 targeted for the sdformat14. It would be required by the Automatic Moment of Inertia Calculation project. The SDF proposal for the same can be found here
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

one failed expectation in Root_TEST.cc that should be easy to fix:

https://build.osrfoundation.org/job/sdformat-ci-pr_any-homebrew-amd64/4868/testReport/junit/(root)/DOMRoot/CopyConstructor/

@scpeters I have updated the spec version in the failing test in e553e8049affbce84b1724998950f0477692dcf2

I found additional differences when I did meld sdf/1.10 sdf/1.11 and added those in b43f202


Animated Gif loses animation after going through intervention

Im trying to upload an animated gif and it loses its animation once it gets uploaded.. heres the code I am using:
    $file         = Request::file('file');

    $extension    = $file->getClientOriginalExtension();

    $image_normal = Image::make( File::get($file) );

    $image_normal = $image_normal->stream();

    $newImageName = strtolower( str_random(40) );

    Storage::disk('local')->put('full/'  . date('Y-m') . "/".  $newImageName  . "." .  $extension, $image_normal->__toString() );

The file stores etc but it doesnt animate when loaded in the browse afterwards. At the moment it just stored it locally but I hope to modify the code to allow it to store in aws s3 once its tested and working

Animations are currently not supported by Intervention Image.


Add a differently-colored marker for GMHS (or whatever other school is being used)

Andrew said this was out of date and no longer relevant -- when senior map was going to be school agnostic and pin color would depend on which hs the kid went to school at


How to update the indicators iteratively during a trade?

Hi everyone,
My strategy requires to recompute the value of some indicators during a trade and to reset their status to the baseline when I exit the trade. Is it possible to implement a similar behaviour here?
An example is not to allow EMA200 to decrease during an active trade.
Thanks in advance.

A first question would be: would you need use indicators as states, or use them to control the trade execution?
In the later case, you can treat actions of an RL agent as trading signals, and consulting indicators before taking actual actions.

I's use them as indicators so that the agent can make a decision.
I came up with the following way. Do you think it can work?

class StockTradingEnv(gym.Env):
	def __init__(...):
		self.in_trade = {}

[...]

 def _sell_stock(self, index, action):
	[...]
	# before returning the result
	if sell_num_shares > 0:
            self.in_trade[index] = 0

        return sell_num_shares

 def _buy_stock(self, index, action):
	[...]
	# before returning the result
	if buy_num_shares > 0:
            self.in_trade[index] = 1

        return buy_num_shares

 def _update_indicators_in_trade(self, index):
 	# edit self.data.iloc[index]
	pass

 def _update_state(self):
    if len(self.df.tic.unique()) > 1:
        for in_trade_idx in [k for k, v in self.in_trade.items() if v == 1]:
           self._update_indicators_in_trade(in_trade_idx)

Changing the "input feature" of a trained algorithm (nueral networks)… also changing the state space during the training or testing stage…well I do not know whether it is allowed;  theoretically NO.
But you can play with codes first.  Would like to know if it works.

I think the rules of the game change depending on if the agent is in a trade or not. The agent should be looking at the data in a different way. Wondering if even having an attribute that tells the agent whether they are in a trade would help them distinguish the two games.

How an agent knows it is a new feature, not treating as the old one with new values.

I'm not sure I follow. Theoretically, I'm not changing the data the agent used to make a decision. The only thing I'd change is the future data.
Let's make an example:

candle 10: buy signal
candle 10: I update the EMA200 at candle 11 to be the max(ema200_candle10, ema200_candle11)
candle 11: agent makes a decision based on the untouched values for candles 0-10, plus takes into account the modified ema200 for candle 11

In many ML algorithm, the input is fixed as follows:
e.g., [10, 8, 5] means that feature1 = 10,  feature2 = 8, and feature3 = 5.
Now, if you replace feature3 by feature, and it becomes [feature1, feature2, feature4].
I do not know how to make an agent knows it.

It's technically the same feature, but its value depends on the decisions of the agent. Also, the agent hasn't seen the value at that moment in time yet (the historical values before entering the trade will stay constant)

"the historical values before entering the trade will stay constant":  how to teach the agent to learn?  what would be the thing /information that can be learned?  NOT sure.


[WIP] Define Error struct in root crate.

Waiting for trait specialization.

Not getting anywhere, closing until someone updates it.


poor performance

I noticed that the frame rate can be quite poor, to the point that navigating through the views can become annoying.
Are you guys aware of this, is there any plan to improve the situation?

Hi @gparmeggiani
Yes, the issue does exist.
Please check the discussion here. https://github.com/likec4/likec4/discussions/600

Hi @davydkov,
I tested the newest prerelease version v1.0.0-next.11 and the performance looks promising! 👍
Also the png export runs without failures as described in #634. Unfortunately I cannot use it as static images for our documents, because the labels of the relations on transparent background are too light and cannot be read. I hope, this can also be fixed easily.

Hi @mcpride
Thanks for the feedback! I'm planning to release this month.
Could you please try the ..next.13 and let me know how it goes?
I switched to the light theme by default (make an option later).
Like:
npx likec4@next export png -o pngnext13

Hi @mcpride
Thanks for the feedback! I'm planning to release this month.
Could you please try the ..next.13 and let me know how it goes? I switched to the light theme by default (make an option later).
Like:
npx likec4@next export png -o pngnext13

Hi @davydkov, yes .. the next.13 fixes the described label readability problem in png export! Thanks!


JSON syntax not coloring keys more than 2 levels deep

It seems that the coloring only applies to 2 levels of JSON keys and everything after that is just white.

It seems to me that the syntax considers anything after the colon as a values. Making the syntax look ahead might be a bit too intensive. What version was this in?


MPI over-the-air firmware upgrade

Telecommand 1: uplink chunk of new MPI firmware

Arg 1: start address into file of the MPI firmware
Arg 2: up to 256 bytes of MPI firmware (in base64)
Arg 3: filename of MPI firmware
Arg 4: total filesize of MPI firmware

Function must write the incoming data to the "arg 2" byte address in a file in the filesystem.
Telecommand 2: check hash of new MPI firmware

Arg 1: intended hash of new MPI firmware
Arg 2: filename of new MPI firmware

Telecommand 3: flash MPI with a specific MPI firmware file

Arg 1: intended hash of new MPI firmware
Arg 2: filename of new MPI firmware to flash

This telecommand must also verify the hash before flashing.

Wondering how to write MPI firmware bytes to a specific location in a file in the filesystem.
Looking at the ifs functions, the write and seek functions zero-pad if the requested position is beyond the current file size.
Would this be sensible?
For every page,

lfs_file_open for appending
lfs_file_seek to the target address
lfs_file_write the transmitted bytes
lfs_file_close, and, possibly lfs_file_sync

Prior to flashing to the MPI, lfs_file_truncate to the target file size (rather than doing this for each page). Or do this first, in which case the first telecommand would be for target address 0.

Totally out of curiousity, did your work-in-progress solution read the response from the MPI after each page/chunk was transmitted, or did it just "fire-hose" data towards the MPI?

I'm reading the text response each time. Eventually we should just check for a hash response. This so far is between the terminal and the dev kit, no MPI.
I've gotten writing to memory working, sort of. The first page gets written, then the dev kit hangs on the second one. LFS writing is very slow. Needs troubleshooting.

Good insight! I'll investigate the LFS speed issue (I've noticed it too); just created Issue #57 to track the progress of the LFS performance assessment and improvements.


Oauth Authorization token defaults to undefined

Describe the bug
Request sample sometimes contain an undefined token.
To Reproduce

Open a spec with Oauth security and open a page that requires it. For example: https://elements-demo.stoplight.io/?spec=https://raw.githubusercontent.com/digitalocean/openapi/main/specification/DigitalOcean-public.v2.yaml#/operations/install_kubernetes.
Look at "Request Sample" in the right bar.
The token value will be undefined for the Authorization header, i.e. "Authorization": "Bearer undefined".

Expected behavior
Expected at least a value. A clear indication that an authorization token is needed would be nice, for example $TOKEN. Or a more complex fix perhaps even a language specific variable.

It should be empty Bearer .  Shouldn't show up as undefined.

I'd love to be able to supply the placeholder as part of the props in the web component (with a sensible default, like the empty space per @mnaumanali94). If it's too small a feature for its own prop, maybe it can be part of a more general options prop or similar.

As of 19e1ae93d2ddfa3000474838aba0de45188d028f does not seem to be the case...

Can confirm it doesn't show undefined any more. Thanks @saper.


Won't install on any PI or even a debian OS

pip install Outage-Detector produces this error on all my Pi's I have which are 2/3/4
Collecting keyring==21.2.0 (from Outage-Detector)
  Could not find a version that satisfies the requirement keyring==21.2.0 (from Outage-Detector) (from versions: 0.0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.5.1, 0.6.2, 0.7, 0.7.1, 0.8, 0.8.1, 0.9, 0.9.1, 0.9.2, 0.9.3, 0.10, 0.10.1, 1.0, 1.1, 1.1.1, 1.1.2, 1.2.dev0, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.3, 1.4, 1.5, 1.6, 1.6.1, 2.0, 2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1, 3.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1, 3.2, 3.2.1, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 4.0, 4.1, 4.1.1, 5.0, 5.1, 5.2, 5.2.1, 5.3, 5.4, 5.5, 5.5.1, 5.6, 5.7, 5.7.1, 6.0, 6.1, 6.1.1, 7.0, 7.0.1, 7.0.2, 7.1, 7.1.1, 7.1.2, 7.2, 7.3, 7.3.1, 8.0, 8.0.1, 8.1, 8.1.1, 8.2, 8.3, 8.4, 8.4.1, 8.5, 8.5.1, 8.6, 8.6.1, 8.7, 9.0, 9.1, 9.2, 9.2.1, 9.3, 9.3.1, 10.0, 10.0.1, 10.0.2, 10.1, 10.2, 10.3, 10.3.1, 10.3.2, 10.3.3, 10.4.0, 10.5.0, 10.5.1, 10.6.0, 11.0.0, 11.1.0, 12.0.0, 12.0.1, 12.0.2, 12.1.0, 12.2.0, 12.2.1, 13.0.0, 13.1.0, 13.2.0, 13.2.1, 15.0.0, 15.1.0, 15.2.0, 16.0.0, 16.0.1, 16.0.2, 16.1.0, 16.1.1, 17.0.0, 17.1.0, 17.1.1, 18.0.0, 18.0.1, 19.0.0, 19.0.1, 19.0.2, 19.1.0, 19.2.0, 19.3.0, 20.0.0, 20.0.1, 21.0.0, 21.1.0)
No matching distribution found for keyring==21.2.0 (from Outage-Detector)

Building from the git sources I get the same error
error: The 'keyrings.alt==3.4.0' distribution was not found and is required by Outage-Detector

I had someone report a very similar issue to me. Could you check which version of python you are using?

On most PI's you need to use the pip3 command instead of just pip. I got it installed when I looked at some of the code calling for python3.
So maybe telling users to try pip3 install Outage-Detector first if installing on a PI.

You're right, I'll change that. I was curious which version of python3 specifically, the person who asked me about this has python3.5 installed, so maybe there's something up with keyring and older versions of python3. I tested this with python3.6(MacOS) and python3.7(Raspbian Buster).

You need python 3.6 or greater installed which means you need to have the raspbian buster installed to use this.

python 3.5 is debian stretch so PI's older then the 4 need to be upgraded to the newest Raspberry OS
if that is even possible on those older PI's

Apparently keyring newest versions only work on python 3.6 or greater -- the last version that worked with 3.5 was 21.1.0 -- so older python3.5 wont work.
Sorry for the multi posts... its 2am here and im tired

Yep, that's why I asked. It is possible to upgrade all models of Raspberry Pi to Buster, I actually did this on my 3B+ because I needed python 3.6 for something else before.
I will try testing my program with an older version of keyring this week and will come back with results (from your list, it seems to only look for versions up to 21.1.0).
In the meantime, if you want to get this running, you could try just changing the requirement in requirements.txt file of the GitHub repo to look for version 21.1.0, it might work.

I could not get the app to work with python 3.5 at all. I worked on it for about 30 minutes using different package versions but the error always landed with a error not finding keyrings.alt.kwallet which apparently is only in the newest version of keyrings.alt
So it will not work on stretch -- also the crontab is being created wrong.
outage_detector is actually being created in /usr/local/bin/ and not /usr/bin/ so I had to change my cron for that.

I am having a similar issue
I am on a TinkerBoard S
Apparently, keyrings.alt 3.4.0 is not available. But, I can select 3.2.0.
I did try pip3 instead of pip.
@fabytm can you check if you can get the tool to work with 3.2.0?
root@Harbormaster:/home/linaro/Outage-Detector # pip3 install keyrings.alt==3.4.0
Collecting keyrings.alt==3.4.0
  Could not find a version that satisfies the requirement keyrings.alt==3.4.0 (from versions: 1.0, 1.0.1, 1.1, 1.1.1, 1.2, 1.3, 2.0, 2.1, 2.2, 2.3, 2.4, 3.0, 3.1, 3.1.1, 3.2.0)
No matching distribution found for keyrings.alt==3.4.0

Edit the requirements.txt and edit the versions and see if you can get it to work... in all my tries it simply will not work with python 3.5 at all.

Currently trying to upgrade my Python
sudo apt-get install python3-dev libffi-dev libssl-dev -y
wget https://www.python.org/ftp/python/3.8.3/Python-3.8.3.tar.xz
cd /home/linaro/Python3.8.3/
tar xJf Python3.8.3.tar.xz
cd Python-3.8.3
./configure
make
sudo make install
sudo pip3 install --upgrade pip

Will let you know if it works...

I could not get the app to work with python 3.5 at all. I worked on it for about 30 minutes using different package versions but the error always landed with a error not finding keyrings.alt.kwallet which apparently is only in the newest version of keyrings.alt
So it will not work on stretch -- also the crontab is being created wrong.
outage_detector is actually being created in /usr/local/bin/ and not /usr/bin/ so I had to change my cron for that.

Outage detector looks like it made the crons okay for me
*/5 * * * * /usr/local/bin/python3.8 /usr/local/bin/outage_detector --run scheduled --notify notification >> /root/.config/outagedetector/log.txt 2>/root/.config/outagedetector/errors.txt
@reboot sleep 60 && /usr/local/bin/python3.8 /usr/local/bin/outage_detector --run boot --notify notification >> /root/.config/outagedetector/log.txt 2>/root/.config/outagedetector/errors.txt

Odd it didnt work for me -- I wonder if there is a difference between the git clone source and the pip3 install

Try python3.8 instead of python3 when you call the installer.

I found it worked if you install via the virtual environment only. I was having similar issues trying to install the first (few) times and upgrading Python, using pip3, etc.

sudo apt-get install python3-venv  ##makes sure you have the right version of Python
mkdir python ##make a directory to hold your virtual environments
cd python/
python3 -m venv ven ##makes a Python virtual environment call "ven"
. ven/bin/activate  ##starts the virtual environment
pip install Outage-Detector. ##installs the Outage-Detector files
outage_detector --init. ##to setup and activate

After setting up using the Pushbullets API key I did not get the option to setup crons or scheduling, so still working on that.

I found it worked if you install via the virtual environment only. I was having similar issues trying to install the first (few) times and upgrading Python, using pip3, etc.

sudo apt-get install python3-venv  ##makes sure you have the right version of Python
mkdir python ##make a directory to hold your virtual environments
cd python/
python3 -m venv ven ##makes a Python virtual environment call "ven"
. ven/bin/activate  ##starts the virtual environment
pip install Outage-Detector. ##installs the Outage-Detector files
outage_detector --init. ##to setup and activate

After setting up using the Pushbullets API key, I setup the crons and seems to be working so far.

Python 3.8.3 steps didn't work for you?
Why do you need a virtual environment for this?

@p1r473 I will test it outside a virtual environment and update it so that it'll work outside a venv. It will take some time as I got a lot of feature requests and a few bugs pointed out to me after my project has been featured on Tom's Hardware.

@fabytm I was able to get it working by installing Python 3.6+ (I installed 3.8.3 but I saw a 3.9 was up, not sure if its beta though)
If you can get it to work with 3.5, that would be better for compatability.

@p1r473 I will see what I can do about keyring and Python 3.5. There's always the option of dropping keydrop's secure password storage for Python3.5 and lower but I'm not sure if the tradeoff is worth it.
Thank you!

@fabytm There are other ways to encrypt the files without using keydrop!

@fabytm is Python 3.5 support fixed?
Can you re-open this issue until it is fixed?
Thanks!

I closed it... I don't think an official fix for python 3.5 is going to happen.

@p1r473 I reopened it. The issue isn't fixed as I haven't had time to install python3.5 in a Linux VM yet (pretty busy with finals, what I pushed today was a quick change to the way I'm saving the PushBullet keys).

@fabytm any luck with Python 3.5?

@p1r473 I haven't had a change to look at it, but just today I received a PM from someone facing the same issue on Python 3.5 and they seem to have fixed it by running:
sudo apt-get install python-pip (after already having pip3 python3 installed)  pip install pybin  pybin put -h  sudo reboot

@p1r473 I haven't had a change to look at it, but just today I received a PM from someone facing the same issue on Python 3.5 and they seem to have fixed it by running:
sudo apt-get install python-pip (after already having pip3 python3 installed)
pip install pybin
pybin put -h
sudo reboot

Last command doesn't seem to work
pybin put -h
Usage: pybin put [OPTIONS]

  Updates the user PATH. The shell must be restarted for the update to take
  effect.

Options:
  -p, --pypath TEXT  An absolute path to a Python executable.
  -f, --force        Update PATH even if it appears to be correct.
  -h, --help         Show this message and exit.

Can you get rid of Keyring and use something else to encrypt the API keys and passwords?

I don’t know of a good alternative to keyring unfortunately.
I’ll try contacting the guy who said he managed to fix this issue by running those commands to see if he didn’t do anything besides running those commands.

I don’t know of a good alternative to keyring unfortunately.
I’ll try contacting the guy who said he managed to fix this issue by running those commands to see if he didn’t do anything besides running those commands.

What about previous versions of Keyring?
Why do I need the latest version of Keyring? Can you not make it work with older Keyrings?
The easiest way is probably to accept the password, then encrypt it with YOUR private key that only you know. Then, all that is saved is the encrypted password.
Other options:
https://www.vidarholen.net/contents/blog/?p=32 Using md5sum to store the hash of the password
https://www.raspberrypi.org/forums/viewtopic.php?t=123228 Storing it in a password protected sqlite3 database

@fabytm would really love this to work on Python 3.5 please :)

I found it worked if you install via the virtual environment only. I was having similar issues trying to install the first (few) times and upgrading Python, using pip3, etc.

sudo apt-get install python3-venv  ##makes sure you have the right version of Python
mkdir python ##make a directory to hold your virtual environments
cd python/
python3 -m venv ven ##makes a Python virtual environment call "ven"
. ven/bin/activate  ##starts the virtual environment
pip install Outage-Detector. ##installs the Outage-Detector files
outage_detector --init. ##to setup and activate

After setting up using the Pushbullets API key, I setup the crons and seems to be working so far.

But the Virtual Environment is still 3.5 so still same issue
root@Harbormaster:/home/linaro# mkdir PythonVirtualEnvironment
root@Harbormaster:/home/linaro# cd Python
-bash: cd: Python: No such file or directory
root@Harbormaster:/home/linaro# cd P
Pictures/                 Public/                   Python3.8.3.tar.xz        PythonVirtualEnvironment/
root@Harbormaster:/home/linaro# cd P
Pictures/                 Public/                   Python3.8.3.tar.xz        PythonVirtualEnvironment/
root@Harbormaster:/home/linaro# cd PythonVirtualEnvironment/
root@Harbormaster:/home/linaro/PythonVirtualEnvironment# python3 -m venv ven
root@Harbormaster:/home/linaro/PythonVirtualEnvironment# . ven/bin/activate
(ven) root@Harbormaster:/home/linaro/PythonVirtualEnvironment# pip install Outage-Detector
Collecting Outage-Detector
  Using cached https://files.pythonhosted.org/packages/03/01/7f16fb6ff42010cd57bc4bf94aaa11525e7b847fcedfa00b9b3d5e6a7c77/Outage_Detector-1.1.1-py3-none-any.whl
Collecting six==1.13.0 (from Outage-Detector)
  Downloading https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl
Collecting chardet==3.0.4 (from Outage-Detector)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 1.4MB/s
Collecting websocket-client==0.56.0 (from Outage-Detector)
  Using cached https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl
Collecting python-magic==0.4.15 (from Outage-Detector)
  Using cached https://files.pythonhosted.org/packages/42/a1/76d30c79992e3750dac6790ce16f056f870d368ba142f83f75f694d93001/python_magic-0.4.15-py2.py3-none-any.whl
Collecting requests==2.22.0 (from Outage-Detector)
  Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting keyrings.alt==3.4.0 (from Outage-Detector)
  Could not find a version that satisfies the requirement keyrings.alt==3.4.0 (from Outage-Detector) (from versions: 1.0, 1.0.1, 1.1, 1.1.1, 1.2, 1.3, 2.0, 2.1, 2.2, 2.3, 2.4, 3.0, 3.1, 3.1.1, 3.2.0)
No matching distribution found for keyrings.alt==3.4.0 (from Outage-Detector)
(ven) root@Harbormaster:/home/linaro/PythonVirtualEnvironment#

Got it working.... just had to change requirements.txt
keyring==21.2.0
keyrings.alt==3.4.0
keyring
keyrings.alt

Great, I'm glad it works! Would you be so kind as to tell me what version of keyring and keyrings.alt it installs under Python 3.5?

How can I tell? Looks like the above command installed 0.0.0
keyring==0.0.0
keyrings.alt==0.0.0


Fix for non string escapes of regex

There is a bug in the xss check where the regex is getting escaped even if its not a string, this results in a bug where the anchor tags are not filtered in xss.js

Ah thanks


parca-agent: specify error code directly

A small improvement in code readability.
By importing error code definitions (asm-generic/errno-base.h) you can get rit of comment and clearly define where this error code comes from.

@paulfantom Do you still want to continue to work on this?


NFR: The cloud variant should Have an availability of 99.9%.

With local copies I am not sure they need 99.9%...if that helps?

This is an ongoing concern and as such does not need to be an open issue - just something to bear in mind


[BUG] Next button in the sign up dialog does not consider whether username/email is entered or not

Rocket.Chat.Android app version: 1.0.33-DEBUG
Device model (or emulator): HTC Desire 628 (Physical Device)
Steps to reproduce:

Enter the correct server url
In the register screen, press the signup button.
In the signup dialog, press the next button.
It can be seen that the progress bar appears even when no information is entered.

Expected Behaviour:
The progress bar should only appear when some information is entered in the edit texts, otherwise an error message must be displayed.
The following gif displays the bug:

@rafaelks I am working on this issue.


Updated main files in bower.json according to best practice

For compatibility with various build tools. Follow best practice for main
https://github.com/bower/spec/blob/master/json.md#main
I.e. no minified files and css in addition to the script(s) needed.

This will be in the next release.  Thank you @tkarls !


Run lint

This is what I get after running pre-commit run --all-files

I am still figuring out why this difference occurs.

Would you try to add python 3.6, 3.7 matrix to the lint like I did in the unit test job?

 pre-commit autoupdate this command did not help me.

Would you try to add python 3.6, 3.7 matrix to the lint like I did in the unit test job?

I've added: https://github.com/CodeChain-io/codechain-sdk-python/pull/51

I found the reason.
https://github.com/asottile/reorder_python_imports depends on https://github.com/asottile/aspy.refactor_imports.
It doesn’t know whether dataclass was backported, (which is builtin after 3.7, but not for 3.6) so it classify dataclass as a third-party library.


Cannot initialize SSL - "Cannot open stream" exception by EsHadoop connector for spark after upgrading  to version 2.2

Issue description
After upgrading local version of spark to 2.2, EsHadoop connector fails to connector to remote elastic cluster with the following error:
Steps to reproduce
Any read/write operation fails, for example(replace the path/host prior to executing this):
    val conf = new SparkConf().set("spark.master", "local[2]")
    val sparkSession = SparkSession.builder().config(conf).getOrCreate()
    import spark.implicits._
    val df: DataFrame = Seq("somevalue").toDF("mycol")
    val opts = Map(
      "es.index.auto.create" -> "true",
      "es.read.metadata" -> "true",
      "spark.serializer" -> "org.apache.spark.serializer.KryoSerializer",
      "es.net.http.auth.user" -> "admin",
      "es.net.http.auth.pass" -> "somepass",
      "es.net.ssl" -> "true",
      "es.net.ssl.cert.allow.self.signed" -> "true",
      "es.net.ssl.truststore.location" -> "//some/path",
      "es.net.ssl.truststore.pass" -> "ibicloud",
      "es.nodes" -> "somehost",
      "es.port" -> "9997"
    )

    df.saveToEs("someindex",opts)

Strack trace:
Exception in thread "main" org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Cannot detect ES version - typically this happens if the network/Elasticsearch cluster is not accessible or when targeting a WAN/Cloud instance without the proper setting 'es.nodes.wan.only'
	at org.elasticsearch.hadoop.rest.InitializationUtils.discoverEsVersion(InitializationUtils.java:294)
	at org.elasticsearch.spark.sql.EsSparkSQL$.saveToEs(EsSparkSQL.scala:93)
	at org.elasticsearch.spark.sql.EsSparkSQL$.saveToEs(EsSparkSQL.scala:83)
	at org.elasticsearch.spark.sql.package$SparkDataFrameFunctions.saveToEs(package.scala:49)
	at com.intel.daas.sdk.connectors.elastic.SparkElasticHelper$.write(SparkElasticHelper.scala:97)
	at com.intel.daas.sdk.connectors.elastic.SparkElasticHelper$.write(SparkElasticHelper.scala:118)
	at com.intel.daas.sdk.connectors.ITarget$class.write(ITarget.scala:42)
	at com.intel.daas.sdk.connectors.elastic.ElasticTarget.write(ElasticTarget.scala:10)
	at com.intel.daas.sdk.application.AbstractSparkApplication.executeDataIntegrity(AbstractSparkApplication.scala:43)
	at com.intel.daas.sdk.application.trunk.SampleApplications.DataIntegrity.DataIntegritySample$.main(DataIntegritySample.scala:27)
	at com.intel.daas.sdk.application.trunk.SampleApplications.DataIntegrity.DataIntegritySample.main(DataIntegritySample.scala)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: org.elasticsearch.hadoop.rest.EsHadoopInvalidRequest: [GET] on [] failed; server[<IP_ADDRESS>:9997] returned [503|Service Unavailable:]
	at org.elasticsearch.hadoop.rest.RestClient.checkResponse(RestClient.java:505)
	at org.elasticsearch.hadoop.rest.RestClient.execute(RestClient.java:463)
	at org.elasticsearch.hadoop.rest.RestClient.execute(RestClient.java:425)
	at org.elasticsearch.hadoop.rest.RestClient.execute(RestClient.java:429)
	at org.elasticsearch.hadoop.rest.RestClient.get(RestClient.java:155)
	at org.elasticsearch.hadoop.rest.RestClient.remoteEsVersion(RestClient.java:655)
	at org.elasticsearch.hadoop.rest.InitializationUtils.discoverEsVersion(InitializationUtils.java:287)
	... 15 more

Version Info
I've first experienced this with ES-Hadoop  version  5.4.1. Tried to upgrade it to all version until latest (6.0.0-alpha2) and it didn't resolve the issue.
OS:         :  Windows
JVM         :  1.8
Hadoop/Spark:  2.2
ES-Hadoop   :  5.4.1 - 6.0.0-alpha2
ES          :  5.4.0

@yosid16 Is this the complete stack trace? Is there anything else in the logs for the job that you can post here?

Updated the stack trace - now it's complete. No errors except that one. There are no errors except that one in the log.

@yosid16 This seems to be a completely different stack trace now. Instead of the SSL error, it looks like it was able to open the connection and received back a 503. Can you post the entire set of logs here?

Sure (removed host names, and some file paths)
spark.zip

Thank you for adding the full logs. This is the line here that jumped out for me:
Caused by: org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Cannot open stream (inlined queries need to be marked as such through `?` and `{}`) for resource file://
	at org.elasticsearch.hadoop.util.IOUtils.open(IOUtils.java:180)
	at org.elasticsearch.hadoop.util.IOUtils.open(IOUtils.java:185)
	at org.elasticsearch.hadoop.rest.commonshttp.SSLSocketFactory.loadKeyStore(SSLSocketFactory.java:178)
	at org.elasticsearch.hadoop.rest.commonshttp.SSLSocketFactory.loadTrustManagers(SSLSocketFactory.java:204)

That's a horrid error message which is incredibly misleading. I'll be committing a fix to make that message less confusing.
The connector cannot find or open your truststore file. Once again, the root reason for why it cannot is lost because we swallow the exception instead of passing it as the cause for the exception. Another thing I'll see about fixing.
I'm assuming that you stripped the file name out, which is why it displays file:/// instead of any actual truststore file. The truststore file needs to exist on every node for the connector to be able to function.

I'm going to push some commits to master to clean up those error messages. I saw that you're testing this on the alpha release as well. If you checkout the next snapshot build hopefully it will illuminate the problem a bit better. The last snapshot build was three hours ago as of this post, so some time tomorrow about this time it should be available.

Thanks for checking it. This runs locally, I have access to the truststore path which does exist (when spark runs with version 2.1 it enables to access it). I'll try again tomorrow when we have more information about the cause.

I'm going to close this as this issue has been inactive for a while. If anything comes up, please let us know and we can re-open the issue if need be.


disableDaysAfter not working

disableDaysAfter is not working.
Can you please provide details on how to use the above property as we want to restrict the date selection before some pre-defined endDate ?

hi Swapnil,
Are you able to accomplish this.  ?
By default I am able to disable future dates, but I want to disable present date also.
So I am trying this but this is not working
disableDaysAfter = moment().utc().subtract(1, 'days')
Ref link http://arca-computing.github.io/MultipleDatePicker/#disable-days-after
Please let me know if you are able to achieve it
Thanks


Job Postings by Sector for Ireland?

Hello
I am reading the Readme and it says that "Each folder contains the following files: job_postings_by_sector_{country_code}.csv and aggregate_job_postings_{country_code}.csv
The IE folder does not contain job postings by sector. Looks like it's the only country that doesn't have this information.
I wonder could you supply me with this data? Is it possible to get this data from 2019 also?
Thank you

Hi @soliverc apologies for the delay in my reply. We don't currently supply sector level data for the Irish market but should that change I'll be sure to let you know.
All the best,
Allison


It does not work in iOS simulator (Cordova app), should it?

Testing this library in a Cordova HTML5 application running on iOS simulator. Is it supposed to work?
Basically I scroll up and down the application/HTML with the mouse, and have also tried changing CSS properties of the target element via the JavaScript console. It does not fire the resize listener at all.

Hi!
I've verified that the example examples/index.html works on a real iPhone 5s device and on a simulated iPhone 6 device. Scrolling up and down with the mouse should not trigger the resize event (as elements should only trigger the resize event if they have changed size [width and height]).
Try the example in examples/index.html on your device to see if it works. Otherwise, could you provide a basic code example? Which iOS version are you on and which version of element-resize-detector are you using?

Sorry for the late response. I must end some stuff before I come back to this, so please let me some days to try it.

Sure, no problems.

Closing this issue due to inactivity.


Question: why no user-side golang code for the tasks / playbooks?

Hello there.
You project seems to be the only CMS written in Go at the moment. So it would be nice to hear some elaboration on this bit of your README file:

don't wish to runtime eval any golang code

As being something important / worthwhile to comment about in terms of feasibility, some technical analysis.
The thing is that I do find ansible can be very slow... and it's based on python. It would be great to keep the successful ideas of ansible while improving the performance / execution time. Maybe you do already achieve right now quite a good performance with your stated Lisp interpreter. Unfortunately I can't cope with lisp myself. And I suspect it's also a view shared by many others. Tried lisp with emacs and just hated it. Too many ((())) brackets.
So my question really is: what would a GO-based CMS actually look like if it were like Ansible?
We would need the host control machine to have golang (in the same way that ansible requires python as a dependancy). In order to compile user code fragments (modules, user tasks, playbooks) into runtime executable(s). Perhaps cached. Then to run them either locally on the control machine (to exec sequences of SSH cmds / copy over shell scripts) or else to transfer them onto the target machine to be executed directly there. Depending if the target machine's architecture can be compiled or not.
It is feasible? Well I don't know that. Would it work? Don't know. But I think that using the popular implementation language GO throughout may help to gain more interest / community momentum from outside contributors.

Hi!
My statement about not wanting to runtime eval go code is golang is not a scripting language and thusly taking user code and running it requires harnesses, code generation, and running the compiler. All those things are untenable to do on a client machine, they won't have the go compiler properly.
The current architecture downloads tachyon to the client machine and then it runs whatever needs be done. I opt'd to use a lisp out of shear connivence: there was a couple lisp interpreters and it was easy to integrate them. If tachyon had a custom scripting language to use that was more like python or ruby, I think that would be fine. I mostly didn't go down that road because that takes up a lot of time to make happen and I was interested in pushing on the concepts of CMS rather than the scripting language at the time.
My feeling is also that writing snippets of go to control tachyon would be a bit odd. There are random places where executing user code is required, and spinning up a compiler for a single expression is going to make it really slow and cumbersome.
Does that help clear things up?

Ah ok. Yes that's a good explanation and justification of these things. Thanks you.
Was looking for something much closer to ansible.


"constructor is undefined" errors

I get 'constructor is undefined' errors when chaining Promises with older versions of IE
var promise = new Promise(function(resolve, reject) {
…
}).then(function() {
   return new Promise(function(resolve, reject) {
    …
   });
});

Which ie and which version of this library. Can you also provide a reproduction, maybe a jsbin?

I've tried the tests with an alternative Promises library https://www.promisejs.org/ and this one does work

I'm pretty sure this one also work ;)


iperf3.sh name?

At least in ubuntu, it looks like I can just point to iperf3, instead of iperf3.sh.  The latter are giving me errors, and everything is fine without the .sh.
https://github.com/chicago-cdac/nm-exp-active-netrics/blob/8d7886230448a6e95988935d3be1a4dc9770dedd/src/netrics/netson.py#L229
https://github.com/chicago-cdac/nm-exp-active-netrics/blob/8d7886230448a6e95988935d3be1a4dc9770dedd/src/netrics/netson.py#L476

potentially fixed, needs testing on "non-dev" install


update data in an existing module

Hi,
How can we update data in a module .I want to change the name of driver  assigned to car in the fleet module.
Secondly, Can we stream into the Discuss module from apps ?
Can u show an example for both problems.

https://github.com/ERP-Ukraine/odoo-rpc-dart/blob/master/example/odoo_rpc_example.dart#L79-L89
Just change model name and method.


Swap options

Fixed some small issues related to passing in a grpc proto as opposed to reading it in from a file.

Hello, thank you for the PR. Can you elaborate the issue this addresses? I agree with the change of order of assignments, but why are we removing the options param from the underlying client instructor invocation? Also I don't think the tests need any adjustments?

It looked like the retry code doesn't actually get used until it gets into client.js
I was running into an issue where my proto client was calling new grpc.Channel() and didn't know what to do with the retry arguments, because it was expecting something completely different.
I had changed the test, because the "defaults" field (which is the last argument) should contain both the metadata and the options, like,
{
    metadata: { foo: 'bar"},
    options: {
        interceptors: [ myverycoolinterceptor ]
    }
}

But in this test you were storing the interceptor config in the credentials field, which was failing, if you look at the previous commit.  I am not sure why your tests didn't fail before, nor did I investigate that too deeply, but yeah.
I have independently verified this code works against the stuff I am working on, but I am using the alternate implementation where I am passing in the proto client, so maybe my proto client is different????
I hope this helps.  Please let me know if you have any other questions.


Fuzzing for HandleNAS

Add fuzzing code for HandleNAS().
Add check of mobile identity and other fields in NAS message to resolve crash issue by fuzzing of HandleNAS().
Require https://github.com/free5gc/nas/pull/19.

@ShouheiNishi
please help update nas to v1.1.1, thanks.


[0.9.2-rc1]  aggregate functions do not take all records in consideration in the presence of tags and absence of a group by time() clause

How to reproduce
curl -G http://localhost:8086/query --data-urlencode "q=CREATE DATABASE mydb"

curl -G "https://gist.githubusercontent.com/samidalouche/72c7e1cdcf0435d2115e/raw/69e4f442344e02a5db068105e48c15c70104acdb/gistfile1.txt" -o input.video_download-requests
curl -i -XPOST 'http://localhost:8086/write?db=mydb&precision=ms' --data-binary<EMAIL_ADDRESS>
QRY_KO="select sum(value) from \"kpi.video_downloads.requested.tic\" where time > '2015-05-21T00:00:00.000Z' and time < '2015-06-23T00:00:00.000Z' group by accountId"
QRY_OK="select sum(value) from \"kpi.video_downloads.requested.tic\" where time > '2015-05-21T00:00:00.000Z' and time < '2015-06-23T00:00:00.000Z' group by accountId, time(52w)"

curl -G 'http://localhost:8086/query?pretty=true' --data-urlencode "db=mydb" --data-urlencode "q=$QRY_KO"
curl -G 'http://localhost:8086/query?pretty=true' --data-urlencode "db=mydb" --data-urlencode "q=$QRY_OK"

This is what I get on my freshly-installed influxdb 0.9.2-rc1 on Mac OS X
Samis-MacBook-Pro:influxdb-aggregates samidalouche$ curl -G 'http://localhost:8086/query?pretty=true' --data-urlencode "db=mydb" --data-urlencode "q=$QRY_OK"
{
    "results": [
        {
            "series": [
                {
                    "name": "kpi.video_downloads.requested.tic",
                    "tags": {
                        "accountId": "0291e400-62c1-4709-bfbb-fdeec06c54c4"
                    },
                    "columns": [
                        "time",
                        "sum"
                    ],
                    "values": [
                        [
                            "2014-11-06T00:00:00Z",
                            40
                        ]
                    ]
                },
                {
                    "name": "kpi.video_downloads.requested.tic",
                    "tags": {
                        "accountId": "984f31d7-f329-434e-8b15-ee6921d6e2c6"
                    },
                    "columns": [
                        "time",
                        "sum"
                    ],
                    "values": [
                        [
                            "2014-11-06T00:00:00Z",
                            24
                        ]
                    ]
                }
            ]
        }
    ]
}Samis-MacBook-Pro:influxdb-aggregates samidalouche$ curl -G 'http://localhost:8086/query?pretty=true' --data-urlencode "db=mydb" --data-urlencode "q=$QRY_KO"
{
    "results": [
        {
            "series": [
                {
                    "name": "kpi.video_downloads.requested.tic",
                    "tags": {
                        "accountId": "0291e400-62c1-4709-bfbb-fdeec06c54c4"
                    },
                    "columns": [
                        "time",
                        "sum"
                    ],
                    "values": [
                        [
                            "2015-05-10T23:59:59.998996Z",
                            20
                        ]
                    ]
                },
                {
                    "name": "kpi.video_downloads.requested.tic",
                    "tags": {
                        "accountId": "984f31d7-f329-434e-8b15-ee6921d6e2c6"
                    },
                    "columns": [
                        "time",
                        "sum"
                    ],
                    "values": [
                        [
                            "2015-05-10T23:59:59.998996Z",
                            12
                        ]
                    ]
                }
            ]
        }
    ]
}

@samidalouche So the count that returns 40 and 24 is the correct count?

Can you reproduce this with 0.9.3-rc2?

We've had a complete refactor of the query engine since this bug was filed, so I'm going to close this as I don't think the issue still exists.
If this issue still exists with the latest version of InfluxDB, please reopen with more details so we can fix the issue. Thanks.


[VAX-1373] Priority-aware mutex

Implement a priority-aware mutex such that we can prioritize the UI over Satellite.
From SyncLinear.com | VAX-1373

We never came back to it. There's still a draft PR open but i no longer think we should implement our own priority-aware mutex, we could leverage async-mutex's semaphores which do support priorities.


fix(make): update e2e kind cluster flag

Description:
This flag changed from -kindCluster to -installType=KindCluster but
the Makefile wasn't updated. This change adds the fix so make test-e2e
doesn't throw an error for the unknown flag.

Affected area:

New Functionality      [ ]
Documentation          [ ]
Install                [ ]
Control Plane          [ ]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests                  [ ]
CI System              [ ]
Performance            [ ]
Other                  [X]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

Codecov Report

Merging #2384 (bfdfc0f) into main (377a47f) will decrease coverage by 0.07%.
The diff coverage is 22.22%.

@@            Coverage Diff             @@
##             main    #2384      +/-   ##
==========================================
- Coverage   58.53%   58.46%   -0.08%
==========================================
  Files         149      149
  Lines        6669     6669
==========================================
- Hits         3904     3899       -5
- Misses       2751     2756       +5
  Partials       14       14

Impacted Files
Coverage Δ

...ertificate/providers/tresor/certificate_manager.go
60.91% <0.00%> (ø)

pkg/envoy/ads/grpc.go
0.00% <0.00%> (ø)

pkg/envoy/ads/stream.go
0.00% <0.00%> (ø)

pkg/envoy/rds/response.go
29.57% <0.00%> (ø)

pkg/configurator/client.go
84.67% <50.00%> (ø)

pkg/configurator/validating_webhook.go
75.36% <0.00%> (-3.63%)
:arrow_down:

Continue to review full report at Codecov.

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

Codecov Report

Merging #2384 (bfdfc0f) into main (377a47f) will decrease coverage by 0.07%.
The diff coverage is 22.22%.

@@            Coverage Diff             @@
##             main    #2384      +/-   ##
==========================================
- Coverage   58.53%   58.46%   -0.08%
==========================================
  Files         149      149
  Lines        6669     6669
==========================================
- Hits         3904     3899       -5
- Misses       2751     2756       +5
  Partials       14       14

Impacted Files
Coverage Δ

...ertificate/providers/tresor/certificate_manager.go
60.91% <0.00%> (ø)

pkg/envoy/ads/grpc.go
0.00% <0.00%> (ø)

pkg/envoy/ads/stream.go
0.00% <0.00%> (ø)

pkg/envoy/rds/response.go
29.57% <0.00%> (ø)

pkg/configurator/client.go
84.67% <50.00%> (ø)

pkg/configurator/validating_webhook.go
75.36% <0.00%> (-3.63%)
:arrow_down:

Continue to review full report at Codecov.

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


Please add in CMake export targets for users to use find_package(caffe2) in config mode

Please add in cmake export functionality so that when I am using caffe2 for my own project I don't have to write my own Findcaffe2.cmake.
As shown in here, if I write my own  Findcaffe2.cmake I am using "module" mode, but I can avoid writing it if I can use "config" mode which requires cmake export from caffe2.
The old caffe has this and would be very great to have this in caffe2 as well

Sorry for coming back late in this. After #1354 we have now added the configuration files and when you do make install, they should be also added in the installed folder at share/cmake/Caffe2. If you'd like to give it a shot and share your feedback, that would be super helpful.


Handle Drag/Drop of selected objects into incompatible target views

(Issues extracted from PR https://github.com/CyberBoardPBEM/cbwindows/pull/95)
Handle the following degenerative cases:

Selected objects could be so far apart that both can't be contained on the target view at the same time without changing their layout.
A single object could be so large it can't fit on the destination view.

The desired solution is to indicate the invalid drop locations using a new Cursor graphic that uniquely identifies this problem to the user.
-Dale

We need to reopen this issue.
I discovered that the ability to drag tiles onto playing board in CBDesign.exe is broken. No matter where I drag the tiles the "drop-not-allowed" cursor is displayed.
-Dale

I discovered that the ability to drag tiles from the Tile palette onto playing board in CBDesign.exe is broken. No matter where I drag the tiles the "drop-not-allowed" cursor is displayed.
-Dale

I can reproduce this.  I will investigate...


New GitHub Organization Branch Protection

Summary
New GitHub Organization Branch Protection
Background
Although the UI doesn't seem to provide a checkbox to enable branch protection when the GH Organization is created on the UI, we want to support the condition on the API.  As a result, we need to add the New GH Added dynamodb event trigger to ensure that we process the branch protection logic.
Tasks

[ ] Add a DynamoDB NEW GitHub Organization Event Handler
[ ] Refactor the UPDATE and NEW logic to call a common routine enable branch protection when the flag is set

User Story

As a project manager, I want to enable branch protection when I create the GitHub repository in EasyCLA.

Assumptions

EasyCLA GitHub bot has admin access

Acceptance Criteria
The "done" criteria when this feature or problem is resolved. Such as:

Unit Tests added and running in CI
Functional Tests updated to cover feature, if applicable
Demonstrate the set of capabilities to the product team while the code is running in the STAGING environment.

References
(Optional) Provide any code or specification references that would be helpful for the developer implementing this feature.

Verified that user is able to enabled/disable branch protection
When branch protection is enabled and later if repo is enabled, rule is added to the repo
When rule already exists for repository and when branch protection is enabled for repo, existing rule is not overridden
As discussed in EasyCLA standup call, we would not be removing the rule when branch protection is disabled

When branch protection is enabled

Owner cannot make changes and commit directly. Owner is also gated by CLA. Can merge only after CLA check is passed
Contributor cannot make changes and commit directly. Contributor is gated by CLA. Can merge only after CLA check is passed

When branch protection is disabled

Owner can make changes and commit directly.
Contributor cannot make changes and commit directly. Contributor is gated by CLA. Can merge only after CLA check is passed
Owner can commit contributors changes directly


[Feature][Config-UI] Provide reasonable default values to each plugin's transformation

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Provide reasonable default values to each plugin's transformation to help users configure it faster.
For instance, most GitHub users use labels such as bug, type/bug, type-bug or bug-p0 to indicate that an issue is a bug. Therefore, we can provide a default value like (bug|type/bug|type-bug|bug-p0)$ or /bug/ in GitHub's transformation to tell DevLake that a GitHub issue with which labels is a bug.

Use case
TBD:

[ ] GitHub default values
[ ] GitLab default values
[ ] Jira default values
[ ] Jenkins default values
[ ] Other plugins

Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Bump

Closed by #4587


HDDS-10498. Improved configuration for license compliance

To improve Apache Rat configuration and Ozone maven config, I have done:

Added Rat plugin to the root module (ozone-main) to cover all files in a repo.
Removed Rat plugin declarations from other modules to make maven and rat configs more readable.
Moved exclusions to a separate file to make the Maven config more maintainable.

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10498
How was this patch tested?

I did a manual test by adding a "file.txt" without a license inside to hadoop-hdds-client project and running apache-rat:check goal. The output of the build:

[INFO] --- apache-rat:0.16.1:check (default-cli) @ hdds-client ---
[INFO] Rat check: Summary over all files. Unapproved: 1, unknown: 1, generated: 0, approved: 68 licenses.
[WARNING] Files with unapproved licenses:
  /Users/maximmyskov/Projects/github/myskov-ozone/hadoop-hdds/client/file.txt

As the CI script is also modified, I committed the same "file.txt" to the branch and got the following output from RAT workflow:

Run hadoop-ozone/dev-support/checks/_summary.sh target/rat/summary.txt
[10](https://github.com/myskov/ozone/actions/runs/8205987100/job/22444088879#step:7:11)
hadoop-hdds/client/target/rat.txt: !????? /home/runner/work/ozone/ozone/hadoop-hdds/client/file.txt
[11](https://github.com/myskov/ozone/actions/runs/8205987100/job/22444088879#step:7:12)
Error: Process completed with exit code 1.

Thanks @myskov for the patch.  I'll post a follow-up PR with the suggested changes.


Plural for specific cases?

I'm not sure how exactly you would do this, but words like "wolf", "elf", "dwarf", "knife", and "ninja" (to name a few) are not given the proper plural form with .s:
"wolfs", "elfs", "dwarfs", "knifes", "ninjas"

Here’s a good starter list of pluralizing regexen from Rails:
https://github.com/rails/rails/blob/92f567ab30f240a1de152061a6eee76ca6c4da86/activesupport/lib/active_support/inflections.rb
On Wed, Feb 10, 2021 at 7:29 PM Tim I Hely<EMAIL_ADDRESS>wrote:

I'm not sure how exactly you would do this, but words like "wolf", "elf",
"dwarf", "knife", and "ninja" (to name a few) are not given the proper
plural form with .s:
"wolfs", "elfs", "dwarfs", "knifes", "ninjas"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/galaxykate/tracery/issues/51, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABEEDOVDXORSQNSVB5DIRTS6MXHPANCNFSM4XN7Y6UQ
.

--

Daniel Pritchett
📨<EMAIL_ADDRESS>|📱<PHONE_NUMBER> | ✍🏻 dpritchett.net | 🐦
@dpritchett
https://dpritchett.net/


Missing Pre-requisite - SQL Server 2012 Native Client for site systems

Hello,
We check for the existence of the SQL Server 2012 Native Client in the pre-requisite checker during upgrade readiness check; it should probably be listed here as a site system pre-requisite.

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

ID: 9070eb9b-0e5f-a877-e02e-2d1cea2a2b38
Version Independent ID: df251762-f2d6-9f06-4fa9-ec5cea2cca0a
Content: Site prerequisites - Configuration Manager
Content Source: sccm/core/plan-design/configs/site-and-site-system-prerequisites.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @mestew
Microsoft Alias: mstewart

Thanks @jrosser1221 for calling this out. Agreed.
Reference https://docs.microsoft.com/en-us/sccm/core/servers/deploy/install/list-of-prerequisite-checks#sql-server-native-client

@aczechowski @jrosser1221
The link that Aaron pointed to states that the SQL Native client gets automatically installed by ConfigMgr when you install a new site. However, we don't update it once it's installed.
So would it really be a prereq if CM installs it for you? I'm assuming we still do this @jrosser1221 let me know if you are not seeing that happening.
But yeah, I do think we should make mention of the SQL native client even if it is just to say something like "hey check your version because we install it but dont update it..see this article for more info"

@mestew IMHO if we install something, we should also upgrade it or least flag it needs to be updated.
Also, even if we install something we need if it's missing, I still think it should be listed as a prereq.
Maybe put these under a separate section such as "Installed automatically by the installation/upgrade process"?
I can see folks potentially getting caught out as they are not aware of things installed automatically by us which could catch them out later, say on a security/compliance review, or a patch gets missed as folks aren't aware the component is installed in their environment.

This issue is closed because I submitted a change for it that will publish tomorrow


JSON output?

I would love the ability to get information from this in JSON format - possible?

Oops, #60 exists! Sorry! (Though I would love this to be implemented)


Is there a simpler way to debug textual apps?

I'm using an environment where I cannot really run multiple instances of the terminal, so using textual console to debug the textual apps is not feasible. I tried many tricks, but nothing works.
Is there a simpler way to debug textual apps?
I just need to save a detailed app.log file on disc and check it to find what went wrong. Since the issue is that we cannot write debug text on screen because it would broke the visual formatting, just redirecting all logging and errors output to a file log would be enough. Of course this log file would need to be ANSI formatted, and would require a textual powered reader to read it.
The local() method is great to print the local variables state at every log() or print() command, but its output should be integrated in a nicely ANSI formatted log file saved to disc. Or even better, textual-dev could include a reader app for ansi-encoded files, like the syntax aware codebrowser example app, so you can read a log with the full rich content generated by TextualHandler and RichHandler.
Is saving a rich log file possible? It would help to debug textual apps a lot for people like me.  What do you think?

You can set the env var TEXTUAL_LOG=textual.log to dump the console output. You could also use the logging module from the standard library.
We could also add a option to set the IP address for the console, so you could run it on another machine on your network.

@willmcgugan Thanks! I tried enabling the env var TEXTUAL_LOG, and it works. But there are some issues:

The output log is in plain text, not ansi coloured at all

There are no Tracebacks rich style

There are no Locals rich style

no errors or messages are reported when I try to push a screen outside of the main App with this line:     main_application.push_screen(table_select_screen, book_choice_callback). Notice that table_select_screen is just an instance of the DataTableRenderables example class Iwith Screen instead of App as base class), but the issue appears on all screen classes I try to push.

No line of code reported even if I used (%(funcName)s(%(lineno)d)) in the formatter string.

This is my code for logger setup:
def setup_console_logger(console:Console, debug_threads:bool=True, debug_on:bool=True):

    DEBUG_ON = (os.getenv('DEBUG', default='False').lower() in ('true', '1', 't'))

    LOG_FORMAT = "%(message)s"
    LOG_DIR = Path.cwd()
    LOG_FILE = "books_manager.log"
    TEXTUAL_LOG_FILE = "my_textual.log"
    set_env_variable("TEXTUAL_LOG", TEXTUAL_LOG_FILE )
    set_env_variable("TEXTUAL_DEBUG", 'True' )

    LOG_LEVEL = logging.NOTSET
    LOG_DATE_FMT= "[%X]"
    LOG_FILE_MODE = 'a'
    LOG_ENCODING = 'utf-8'

    def get_file_handler(log_dir: Path, log_filename: str):
        log_format = f"%(asctime)s - [%(levelname)s] - %(name)s - (%(funcName)s(%(lineno)d)) - %(message)s"
        log_file = log_dir / log_filename
        file_handler = logging.FileHandler(log_file)
        file_handler.setFormatter(logging.Formatter(log_format))
        return file_handler

    def get_rich_handler(console: Console):
        #rich_format = f"%(message)s"
        rich_format = f"%(asctime)s - [%(levelname)s] - %(name)s - (%(funcName)s(%(lineno)d)) - %(message)s"
        rh = RichHandler(rich_tracebacks=True, console=console)
        rh.setFormatter(logging.Formatter(rich_format))
        return rh

    def get_textual_handler(console: Console):
        textual_format = f"%(asctime)s - [%(levelname)s] - %(name)s - (%(funcName)s(%(lineno)d)) - %(message)s"
        th = TextualHandler(stderr = True, stdout = True)
        th.setFormatter(logging.Formatter(textual_format))
        return th

    def get_logger(log_dir: Path, log_filename: str, console: Console):
        logger = logging.getLogger('my_textual_app')
        logger.setLevel(logging.NOTSET)
        logger.addHandler(get_file_handler(log_dir, log_filename))
        logger.addHandler(get_rich_handler(console))
        logger.addHandler(get_textual_handler(console))
        logger.propagate = False
        return logger

    def setup_queue_handler(active_logger):
        que = queue.Queue(-1)  # no limit on size
        queue_handler = QueueHandler(que)
        handler = logging.StreamHandler()
        listener = QueueListener(que, handler)
        #root_log = logging.getLogger()
        #root_log.addHandler(queue_handler)
        active_logger.addHandler(queue_handler)
        formatter = logging.Formatter('%(threadName)s: %(message)s')
        handler.setFormatter(formatter)
        listener.start()

    active_logger=None
    if debug_on:
        active_logger = get_logger(LOG_DIR, LOG_FILE, console)
        if debug_threads:
            setup_queue_handler(active_logger)
        install(show_locals=True)
        active_logger.info("Logging of app started!")

    return active_logger

I call this with:
def main():
    global main_application
    global tex_log

    main_application = MainApp()
    tex_log = setup_console_logger(console=main_application.console, debug_threads=True, debug_on=True)
        tex_log.debug("Starting Main Application...")
        main_application.run()

The output log is plain text, yes. It's not going to write escape sequences, which is bad idea generally, since they aren't portable. The next version of Textual will add a --host option so you can connect to a textual console on another machine, which will give you Rich formatting.


Default Proxy settings should automatically use CORS settings

Describe the bug
Setting up the Angular UI to run on a separate hostname from the REST API is unnecessarily difficult.  This is especially true with the Proxy and CORS settings which are similar in nature.
More specifically, our default proxy settings include:
# Proxies are enabled by default to support Angular Universal (SSR)
useProxies = true
# Trusted, comma separated list of IPs.  It's recommended that this include minimally the IP address of the Angular UI
proxies.trusted.ipranges = <IP_ADDRESS>

Somewhat similarly, the CORS settings include:
# Trusted, comma separated list of origins/clients.  This defaults to minimally including the URL of the Angular UI
rest.cors.allowed-origins = ${dspace.ui.url}

Expected behavior

Either, proxies.trusted.ipranges  should automatically default to the IP addresses of the URLs specified in rest.cors.allowed-origins
OR, alternatively, we could think of removing proxies.trusted.ipranges altogether, replacing it with rest.cors.allowed-origins.  In this approach, we'd recommend that the Proxy server be added to the list of allow-origins in order for it to be "trusted".

I lean slightly toward the latter approach, as it seems like any origin which is "trusted" by CORS should also be trusted as a Proxy.

NOTE: This proxies.trusted.ipranges setting is new with DSpace 7.  It was added for additional security in https://github.com/DSpace/DSpace/pull/2207 before we added CORS support.

@benbosman and/or @abollini : I'd be interested in your feedback on this ticket.  I created this a month or so back, and I still wonder if it's worth dropping the proxies.trusted.ipranges setting altogether (in favor of managing everything via CORS).  That said, if either of you see flaws with that approach, I'd be interested in feedback.

This is definitely a thing for me (as an user), because even running them on same host with local IP (not <IP_ADDRESS>/localhost) this proxies.trusted.ipranges breaks login entirely.

Dear @tdonohue and All,
I am newbie to Dspace. I installed Dspace 7.4 on ubuntu 22.04 LTS.  Got following dependency warnings. Will these warnings have effect on the normal operation? Sorry for my noob question.
Thanks.
Bp
complete list of warnings.
dspace@localhost:~/dspace-angular-dspace-7.4$ yarn add install-peers
yarn add v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>|| ^9.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>|| ^9.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>- 3".
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS><12.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS><12.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS><12.0.0".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 4 new dependencies.
info Direct dependencies
└─<EMAIL_ADDRESS>info All dependencies
├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>Done in 14.78s.

@batpurev ; This is not a support area. this is an old ticket for a feature that was built in 2020/2021. We will not answer unrelated support questions on closed issue tickets.  If you require support, please use one of our public support options listed at https://wiki.lyrasis.org/display/DSPACE/Support

@tdonohue Plz accept my apologies, thank you so much.


Localhost is not allowed

Localhost is getting an error: Not a valid origin for the client: http://localhost:8080 has not been whitelisted
There is not change to configure to run in localhost and is not a first level domain, can you allow the usage in local host to test the features?

As per the quickstart directions, you need to whitelist this URL in the Cloud console:
https://developers.google.com/sheets/api/quickstart/js

The word whitelist does not appear at all on the page that you link to.
The error I am getting tells me to whitelist the domain with no indication how. On the google developers console I have added http://localhost:3000 to the authorised javascript origins list - is that what is meant by whitelisting? If so it didn't work and I am still getting an error.


Released versus HEAD of master

Please consider adding a 'released' or 'stable' branch which has the latest released version of the code, and updating the Installation directions to checkout that branch.
Or even updating the Installation directions to create a local 'released' branch with latest tag code:
git checkout -B released `git describe --abbrev=0 --tags`

:+1: Will move forward with this for a forthcoming 0.9.2 release.

I see 0.9.2 released, but I don't see a new tag or branch for 'stable'.
Will this still be implemented?

ping


How to upload or download multiple images at a time using TransferUtility or TransferManager (Swift)?

How to upload or download multiple images at a time using TransferUtility or TransferManager (Swift)?

Hi @Vincent-St, Sorry for the inconvenience caused in finding the documentation. We are continuously working on to improve out documentation. You can see our How-to-transfer-files-with-TransferUtility for more information.


Navigation is not working on some page for prod

Description
The problem exists on production version only. All is OK with dev version when I launch it locally.
Navigation links on some pages are not working.
Steps to reproduce

Go  to page https://pageoptimus.com/ru/articles/
Press 'English' link at the right top corder.

Expected result
https://pageoptimus.com/articles page should be loaded
Actual result
Nothing happens.
But for some reason it work on some other pages:
https://pageoptimus.com/ru/pages/politika-konfidenczialnosti
Ru->En switching works as it should.
Menu is implemented as g-link. No any other event handlers on the menu items. No exceptions in console.
Environment
 System:
    OS: Windows 7 6.1.7601
    CPU: (4) x64 Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz
  Binaries:
    Node: 12.20.0 - C:\Program Files\nodejs\node.EXE
    npm: 6.14.5 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    @gridsome/plugin-sitemap: ^0.4.0 => 0.4.0
    @gridsome/source-filesystem: ^0.6.2 => 0.6.2
    @gridsome/transformer-remark: ^0.6.4 => 0.6.4
    gridsome: ^0.7.23 => 0.7.23
    gridsome-helper-json: ^1.0.3 => 1.0.3
    gridsome-plugin-flexsearch: ^1.0.5 => 1.0.5
    gridsome-plugin-gtag: ^0.1.10 => 0.1.10
    gridsome-plugin-i18n: ^1.6.0 => 1.6.0
    gridsome-plugin-remark-prismjs-all: ^0.3.5 => 0.3.5
    gridsome-plugin-robots-txt: ^1.0.2 => 1.0.2
    gridsome-plugin-tailwindcss: ^4.1.1 => 4.1.1
    gridsome-remark-figure-caption: ^1.1.3 => 1.1.3
    gridsome-source-static-meta: ^1.0.1 => 1.0.1

@noxify, thank you for the update. I've debugged my template and found the problem. It was related to localization. gridsome-plugin-i18n does not work with Markdown/GraphQL content. So, it was necessary to add some hacks to make it work. And one of them caused the problem.
As for template, I'm trying to get 100 / 100 with Google Page Speed, The last one critical problem is related to g-image:

The code is simple:
        <g-image
            src="~/assets/images/page-optimus-logo-dark.png"
            :alt="$t('header.logo_alt')"
            width="198"
            height="31"/>

Do you have an idea how to troubleshoot this problem? In this particular case I'll replace g-image with standard IMG tag and use SVG version for the logo. But what about the fix which will work in the other cases?
P.S. Is there some official community? It will be nice to have some place to discuss a such questions.

P.S. Is there some official community? It will be nice to have some place to discuss a such questions.

There is a discord channel - Just click the discord icon ( in the top nav ) at https://gridsome.org/

Do you have an idea how to troubleshoot this problem? In this particular case I'll replace g-image with standard IMG tag and use SVG version for the logo. But what about the fix which will work in the other cases?

Unfortunately I can't help you - Maybe using a img tag is a good workaround.

I close this issue for now, since the main problem is solved :)


docs says kernel 3.18+ supports overlay fs which is correct but you need the package for it to work

apt-get install overlayroot

For which version of Ubuntu/Debian?

Ubuntu 14.04.5 LTS

Overlay was released in kernel after 14.04. I will update the doc. Thanks.


fix TypeError: Cannot read property 'link' of undefined

https://github.com/matthisk/TicketScoop/issues/6

Thanks!

Thanks for jumping in.


Show cropped image

How to get actual image file and show it in view? Also I am trying to get cropped and send it to server. How can I do that? Code I tried:
return this.camera.getPicture(this.options)
    .then((fileUri) => {
        if (this.platform.is('android')) {
            return this.crop.crop(fileUri).then((path) => {
            this.imgUrl = path;
        });
     }
 });

  <img [src]="imgUrl" />
which not showing any image
Code returns me path, in format: file:///storage/..... but image is not shown.

I have de same problem.

@TeodorKolev did you fix it somehow?

2020 and I have the same problem. Could you solve it?


Add a prompt to enable RPMFusion for Fedora

Type of Change

[x] Bug fix ?

Description
Is there any reason for the rpm fusion setup not enabling the repos?

Testing
I was working on the Nvidia-driver script (on a non-standard fedora install)  and noticed that it was failing cuz rpm-fussion never got enabled globally and the rpm-fusion-nvidia repo only exists on fedora DE spins

Checklist

[ ] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no errors/warnings/merge conflicts.

Chris doesn't like interactive scripts. If you're going to be making the RPM fusion script interactive then why break the synergy with every other script; you would have to refactor this PR to make every script interactive instead of just 1.

The flathub script still has the prompt btw i might remove it

Chris doesn't like interactive scripts. If you're going to be making the RPM fusion script interactive then why break the synergy with every other script; you would have to refactor this PR to make every script interactive instead of just 1.

The flathub script still has the prompt btw i might remove it

scripts with multiple things being installed at once need an interactive prompt while others do not, the RPM fusion script is a prime example here, it does 1 thing, why make it interactive if its only doing 1 thing?

I don't think this is a necessary change !!

Chris doesn't like interactive scripts.

@kleidis, #593 might resolve this from a user information standpoint,.

I don't think this is a necessary change !!

You mean

Chris doesn't like interactive scripts.

@kleidis, #593 might resolve this from a user information standpoint.

That's a really nice change

That's a really nice change

Tahank you.

Since we are here. My original pr idea was to add the option for NVIDIA open kernel modules to the driver script
Is that a good idea

Since we are here. My original pr idea was to add the option for NVIDIA open kernel modules to the driver script
Is that a good idea

make it a new pr

Create a separate PR by modifying the nvidia-fedora script. You can make that interactive to prompt the user whether to install open kernel modules and proprietary one.

Chris doesn't like interactive scripts. If you're going to be making the RPM fusion script interactive then why break the synergy with every other script; you would have to refactor this PR to make every script interactive instead of just 1.

The flathub script still has the prompt btw i might remove it

scripts with multiple things being installed at once need an interactive prompt while others do not, the RPM fusion script is a prime example here, it does 1 thing, why make it interactive if its only doing 1 thing?

Since we are here. My original pr idea was to add the option for NVIDIA open kernel modules to the driver script
Is that a good idea

make it a new pr

Ik, just wanted confirmation if it's a good idea to try because the project changes so fast

@kleidis just make it a separate script instead of combining allat into 1

Ik, just wanted confirmation if it's a good idea to try because the project changes so fast

Yep, good to go.

@kleidis just make it a separate script instead of combining allat into 1

But since you can select multiple scripts. What happens if both open and proprietary scripts are selected?
Do we have any way to disable multi-select for a certain script?

@kleidis just make it a separate script instead of combining allat into 1

But since you can select multiple scripts. What happens if both open and proprietary scripts are selected?
Do we have any way to disable multi-select for a certain script?

why would someone select both open and prop drivers to install?

But since you can select multiple scripts. What happens if both open and proprietary scripts are selected?
Do we have any way to disable multi-select for a certain script?

why would someone select both open and prop drivers to install?

Never underestimate what users can break, xd
I assume this also works for nvidia-open anyway so we should be goof
  if modinfo -F version nvidia >/dev/null 2>&1; then

But since you can select multiple scripts. What happens if both open and proprietary scripts are selected?

It tries to install and conflicts.

Do we have any way to disable multi-select for a certain script?

We have data.preconditions but it doesn't solve the issue of multi-selecting conflicting scripts. I think merging this into one might be a better idea after all. @nnyyxxxx?

But since you can select multiple scripts. What happens if both open and proprietary scripts are selected?

It tries to install and conflicts.

Do we have any way to disable multi-select for a certain script?

We have data.preconditions but it doesn't solve the issue of multi-selecting conflicting scripts. I think merging this into one might be a better idea after all. @nnyyxxxx?

yeh i'm aware of data.preconditions but as you said won't work
I think this should suffice for nvidia-open
  if modinfo -F version nvidia >/dev/null 2>&1; then

We don't want two separate scripts for nvidia open and proprietary. Do both of them in one script. Prompt the user of open or proprietary

We don't want two separate scripts for nvidia open and proprietary. Do both of them in one script. Prompt the user of open or proprietary

Since it's 2-1 ill go with that approach than
Thanks for feedback all

No problem.


wrong SDP param

Hi Gareth,
Thanks for this example,that I could easily compile. However, I can't make it work when patching (IS-05) a ST2110 video or a simple audio:
 Transport file error - sdp processing error - unsupported transport or format-specific parameters

It is hard to get more detail, as the nmos-cpp is pre-built. While I'm trying to modify the lib for more verbosity, please can you take a look at the following SDP to spot any obviously wrong params?
Audio SDP:
o=-<PHONE_NUMBER><PHONE_NUMBER> IN IP4 <my-ip>
s=<my audio sender>
t=0 0
a=group:DUP primary secondary
m=audio 20000 RTP/AVP 97
c=IN IP4 <IP_ADDRESS>/64
a=source-filter: incl IN IP4 <IP_ADDRESS>  <source IP>
a=rtpmap:97 L24/48000/6
a=mediaclk:direct=0
a=framecount:6
a=ptime:0.125
a=ts-refclk:ptp=IEEE1588-2008::.......................................
a=mid:primary
m=audio 20000 RTP/AVP 97
c=IN IP4 <IP_ADDRESS>/64
a=source-filter: incl IN IP4 <IP_ADDRESS> <source-IP>
a=rtpmap:97 L24/48000/6
a=mediaclk:direct=0
a=framecount:6
a=ptime:0.125
a=ts-refclk:ptp=IEEE1588-2008:.......................................
a=mid:secondary

Thanks

And I assume the actual SDP data does have a v=0 line at the beginning!? I think you'd get a different parse error in that case, so I'm sure you do...

Good catch! I have just noticed channel_count in the json config. It works for audio.
The error for video patch must be very similar.
I'll find a way to tweak my node_implementation to match our audio mapping (audio1 is 5.1, audio2 is stereo .... )

Yes, one of the limitations of nmos-cpp-node is that all Senders and Receivers of each type have the same format. But a small code change would enable you to have a different format for each one.


Fix wrong setting for curl root location

Was using LIBCURL_ROOT when cmake actually expects CURL_ROOT. Might be leading to incorrect linking of libcurl.

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@seisman I'm wondering if this has anything to do with the PyGMT crashes on Windows. Probably not since the command line version works but fingers crossed.

Changes implemented in #72


Docker Image addition to readme

Description
https://hub.docker.com/repository/docker/sohamkr/brain-tumor-detector
Screenshots
No response
Additional information
No response

Issue solved.


Correct typo in run reference docs that use the create command

- What I did
Modified the run reference documentation that used create instead of run in the description of storage-opt usage.
Signed-off-by: Yosef Fertel<EMAIL_ADDRESS>

LGTM 🐸

LGTM