[BUG?] "Unable to extract video data" with fresh install/cookies.txt file

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2020.09.20
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

mediaserver@mediaserver:~$ youtube-dl --ignore-config --cookies '/mnt/Storage 4/YouTube/cookies.txt' --verbose https://www.youtube.com/watch?v=SBbYlhvV6GY
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--ignore-config', u'--cookies', u'/mnt/Storage 4/YouTube/cookies.txt', u'--verbose', u'https://www.youtube.com/watch?v=SBbYlhvV6GY']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.09.20
[debug] Python version 2.7.18 (CPython) - Linux-5.4.0-51-generic-x86_64-with-Ubuntu-20.04-focal
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] SBbYlhvV6GY: Downloading webpage
ERROR: SBbYlhvV6GY: YouTube said: Unable to extract video data
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 532, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1910, in _real_extract
'YouTube said: %s' % unavailable_message, expected=True, video_id=video_id)
ExtractorError: SBbYlhvV6GY: YouTube said: Unable to extract video data

Description

Had to rebuild my home server and set up my YT-DL cron jobs again, noticed they weren't running. Tried running my scripts, was getting "Unable to extract video data" on them. Using latest version. I used the Firefox plugin to grab a fresh cookies file, in case that was the problem. Still the same error.
I'm now running Ubuntu 20.04. I did install ffmpeg per the Reddit auto-bot's suggestion. Same behavior. I attempted to run it with python3.8 and I still get the "unable to extract video data" error.

first try running  sudo apt update  and sudo apt upgrade
to update and upgrade  your packages. then try downloading  your youtube videos.
does it happen on more than one video ?? this link in your log works ok for me - https://www.youtube.com/watch?v=SBbYlhvV6GY

first try running sudo apt update and sudo apt upgrade
to update and upgrade your packages. then try downloading your youtube videos.
does it happen on more than one video ?? this link in your log works ok for me - https://www.youtube.com/watch?v=SBbYlhvV6GY

Thanks for the reply. All packages are updated and upgraded, problem persists.
It happens on all videos from YouTube, not just that one. They all produce the same error. I run a few different scripts with batch commands on them. Here is one, and the YouTube download attempts all throw the same error and don't download:
#!/bin/bash cd '/mnt/Storage 4/Podcasts'; python3.8 /usr/local/bin/youtube-dl --cookies '/mnt/Storage 4/YouTube/cookies.txt' --ignore-config -x --audio-format mp3 --ignore-errors --dateafter now-2weeks --playlist-end 10 --download-archive "/mnt/Storage 4/Podcasts/downloaded.txt" -i -o "%(uploader)s/%(playlist)s/%(title)s.%(ext)s" --add-metadata --batch-file "/mnt/Storage 4/Podcasts/podcasts.txt"
This didn't happen on my previous server, which ran Ubuntu 16.04, I believe (maybe 18.04). Nothing different in the configurations, exact same YTDL commands, but this error keeps coming.

try running  youtube-dl --force-generic-extractor https://www.youtube.com/watch?v=SBbYlhvV6GY
and see if the video will download.

So, it's... working now, I guess?
The --force-generic-extractor command just kicked out an "invalid URL" error on every YouTube link I tried. When I pulled that out and just ran the default youtube-dl command, it worked fine. And then I re-ran my scripts manually, and it appears as though at some point this afternoon, it started working.
The embedding of the thumbnails isn't quite working that reliably, but it looks like my videos are getting downloaded now, even though I've done nothing different. I guess I'll close this one out. Thanks for helping! Weird.

#26909 more info for this same issue, if we need it one day.

Well, back to this error again. Noticed my cron jobs weren't running and here we are. I tried the force-generic-extractor command and every video download just kicks an "Unsupported URL" error.
Here's the full command I'm running. I've been running this for months with zero issues until this new installation. The only thing in the batch file is a list of YouTube URLs.:
/usr/local/bin/youtube-dl --cookies '/mnt/Storage 4/YouTube/cookies.txt' --ignore-config -f best --playlist-reverse --ignore-errors --download-archive "/mnt/Storage 4/YouTube/downloaded.txt" -i -o "%(uploader)s/%(playlist)s/%(uploader)s - S01E%(playlist_index)s - %(title)s.%(ext)s" --add-metadata --write-thumbnail --batch-file="/mnt/Storage 4/YouTube/channel_list.txt"

"fresh install/cookies file" is not enough, try to delete player cache:
--cache-dir DIR  - Location in the filesystem where youtube-dl can store some downloaded information permanently. By default  $XDG_CACHE_HOME/youtube-dl or  ~/.cache/youtube-dl . At the moment, only YouTube player files (for videos with obfuscated signatures) are cached, but that may change.
--no-cache-dir   Disable filesystem caching
--rm-cache-dir  Delete all filesystem cache files

Further, I just encountered a problem on a single video out of many with just my cookie files, apparently I got targeted with some A/B experiments - this may be true for your account as well. Quite many variables.

TL;DR: Fixed it by removing version in ~/.local/. Pip without sudo installs in a different place.
I thought I had the same issue for a while now. I always updated and checked again until I finally started investigating (to check if I was subject to AB testing or something like that). I used a server to check if it works there, which it did. Then I rechecked using a SOCKS proxy. That did not work. I then debugged a bit more and wanted print the players in both locations, which was when I realized that the line numbers/versions did not match.
I finally used youtube-dl --version, which told me that I had an old version still. This version was installed in ~/.local/bin/youtube-dl, which happens when you use python3 -m pip install youtube-dl --upgrade. If you use the same thing with sudo it will tell you you have the latest version, even though you're using another one.
Thanks for a great project!

This video doesnt need cookies, so not sure what the point of this issue is:
https://www.youtube.com/watch?v=SBbYlhvV6GY


Node.js Foundation Community Committee (CommComm) Meeting 2017-08-31

Node.js Foundation Community Committee (CommComm) Meeting 2017-08-31
Time
UTC Thu 31-Aug-2017 20:30 (04:00 PM):

Timezone
Date/Time

US / Pacific
Thu 03-Aug-2017 09:00 (09:00 AM)

US / Mountain
Thu 03-Aug-2017 10:00 (10:00 AM)

US / Central
Thu 03-Aug-2017 11:00 (11:00 AM)

US / Eastern
Thu 03-Aug-2017 12:00 (12:00 PM)

Amsterdam
Thu 03-Aug-2017 18:00 (6:00 PM)

Moscow
Thu 03-Aug-2017 19:00 (7:00 PM)

Chennai
Fri 04-Aug-2017 22:00 (10:00 PM)

Hangzhou
Fri 04-Aug-2017 00:00 (12:00 AM)

Tokyo
Fri 04-Aug-2017 01:00 (01:00 AM)

Sydney
Fri 04-Aug-2017 02:00 (02:00 AM)

Or in your local time:

http://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+Community Committee (CommComm)+Meeting+2017-08-03&iso=20170803T20
or http://www.wolframalpha.com/input/?i=4pm+UTC%2C+Aug+03%2C+2017+in+local+time

Links

Minutes Google Doc:

_Previous Minutes Google Doc:
https://docs.google.com/document/d/1Vvl8VMehZXlgXt3iFf_xQYcXWkaTOfBgVwT9FWTKk1U

Agenda
Note: we also have something we need to discuss during the private session.
Extracted from cc-agenda labelled issues and pull requests from the nodejs org prior to the meeting.
nodejs/community-committee
Invited

Ashley Williams @ashleygwilliams (CommComm)
Bryan Hughes @nebrius (CommComm)
Emily Rose @emilyrose (CommComm)
Gregor Martynus @gr2m (CommComm)
Jenn Turner @renrutnnej (CommComm)
Joe Sepi @joesepi (observer)
JP Wesselink @jpwesselink (CommComm)
Michael Dawson @mhdawson (CommComm)
Michelle Garrett @msmichellegar (CommComm)
Myles Borins @MylesBorins (CommComm)
Rachel White @rachelnicole (CommComm)
Richard Littauer @RichardLitt (CommComm)
Tierney Cyren @bnb (CommComm)
Tracy Hinds @hackygolucky (CommComm)
William Kapke @williamkapke (CommComm)

Notes
The agenda comes from issues labelled with cc-agenda across all of the repositories in the nodejs org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting
Zoom. If you do not already have the link, please contact @hackygolucky.
A standing invitation exists for all @nodejs/TSC members who are not also CommComm members to attend in observer capacity.
Public participation
We stream our conference call straight to YouTube so anyone can listen to it live, it should start playing at http://www.youtube.com/c/nodejs-foundation/live when we turn it on. There's usually a short cat-herding time at the start of the meeting and then occasionally we have some quick private business to attend to before we can start recording & streaming. So be patient and it should show up.

I'll be admining this meeting, and please watch that it is 12pm ET, as updated from our issue discussion!

(Emily Rose @emilyrose (CommComm) -> Emily Rose @Amorelandra (CommComm) ?)

Sorry I'm not going to be able to make it this week as I have family business at that time.

Probably makes sense to update the foundation Calendar with the new time.  I can do that if that helps.

@hackygolucky thank you for doings this!
2 nits:

the local times seems to have not been updated:

AFAIK Observers should be invited as well?

I will try to make this, but may be traveling back to Montreal from Toronto. Apologies if a miss - just a heads up that I may not be able to be there.

@mhdawson That would be extremely helpful ❤

@vsemozhetbyt Submitted a PR to the main README (where this is pulled from AFAIK): https://github.com/nodejs/community-committee/pull/118

@refack Did you mean the dates? The times look correct to me.

Looks like somebody beat me to it.

@renrutnnej dates for sure. And since I look at 00:00 times first I thought the times too, but it's just that that hasn't been updated 😄

lol I didn't know where the tool was that generated the times, so that was me messing up at like, 1am. Sorry y'all.

@refack I'm sorry I left off some of the observers! I thought the majority of last meeting were for a single visit as related to the Website WG discussion. I've added you and @therebelrobot back.

I'll be there.

I will distribute the Hangouts link for members shortly before we go Live via email, so please watch! I was going to use Zoom but the Zoom to Youtube Live coordination requires some LF fidgeting still that is being worked out.

Sorry folks, I won’t be able to make it...

Updated with the livestream URL, since the Node.js Foundation Live URL didn't work.
https://www.youtube.com/watch?v=4n_45XAm7-U

Hey everyone, I somehow missed out on the Hangouts link via email. But I'm watching the livestream (which is fine don't worry, I'd just like to observe this time around while I get the hang of things).

noooo @msmichellegar I'm so sorry. Will DM next time if I don't see you.

Closing this, as the minutes were merged here: https://github.com/nodejs/community-committee/pull/120


Improve error messages in the unit tests

Currently the unit tests when failing print a non readable error message that is too long and without white-spaces and thus is completely useless. Improve this
Use linux shell's diff and grep
Assume you have the full generated code (generated.txt) and the expected code (expected.txt) and want to see common lines and where the expected code deviates from what has been generated. Using *nix command line tools we can easily highlight which expected lines are missing from the generated code. Consider the following example:
diff -u expected.txt generated.txt | grep -P "^[\s-]" | sed -e '1d'

which generates the following example output
   input searchTranscript_countInput {
     field: transcript_countField
     value: typeValue
     operator: Operator
-    searchChanged: [searchTranscript_countInput]
   }

The - sign indicates the expected line of code missing from the generated code.
Helper function to solve this
Implement a simple test helper function that receives two arguments, the expected and the generated code including white-spaces. The helper then invokes the system and uses the above combination of commands to generate a comprehensive error message. This can then be passed to the mocha unit tests as custom error messages.
Security check
Investigate whether node is aware of the underlying operating system. If so, the above helper function should fall back to the default mocha error messages on Windows systems. We don't really support Win OS, do we?
Adapt existing test cases
All tests that actually compare expected with generated code should be updated to use this new comprehensive custom error messages.

It took a bit of fiddling to get exactly the output we want, but I've achieved the desired results with jsdiff in a standalone proof-of-concept (~20 lines of code), so we're platform independent.

I've had to spend a little more time on the helper because a not-syntax-aware diff is of limited use if you combine a lot of duplicated code with modified function signatures. I'll merge the improved version into the issue135 branch when I'm done fixing the Cassandra unit tests.


Add support for elasticsearch

Allow someone to run lucene queries within a playbook.

Development of this feature can be tracked here: https://github.com/DrDroidLab/PlayBooks/pull/283

Related PRs:

New connector PR: https://github.com/DrDroidLab/PlayBooks/pull/280
New Task Source PR: https://github.com/DrDroidLab/PlayBooks/pull/282/files
Asset manager PR: https://github.com/DrDroidLab/PlayBooks/pull/284

Was completed after #291


IOS (Chrome, Safari) crop issue

Hi! Recently I've tried image cropper on iPad (Chrome and Safari) and it doesn't work. Always returns initial crop area and not selected. However, this works really fine on a desktop... Do you know what is a problem?

@cstefanache  thanks for this awesome cropper.  I'm also facing same issue on iPhone (Safari) as it always returns initial crop area on drag(crop).

@nikolasp @cstefanache i want to correct my above comment as everything is superb, Current behaviour is that it return selected crop image on drag & touch(click) not only by drag(as on desktop). So my question is this is final behaviour(drag & touch) or it should return cropped image on drag only?

Hi! I'm also facing same problem. Problem is with small resolutions, not just with iPad. When You toggle device toolbar in chrome on PC and select any mobile phone resolution, You will also face same problem.
@cstefanache thanks in advance!

will start working on it after 14th
On Fri, 9 Dec 2016 at 21:39, mbackonja<EMAIL_ADDRESS>wrote:

Hi! I'm also facing same problem. Problem is with small resolutions, not
just with iPad. When You toggle device toolbar in chrome on PC and select
any mobile phone resolution, You will also face same problem.
@cstefanache https://github.com/cstefanache thanks in advance!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cstefanache/angular2-img-cropper/issues/92#issuecomment-266015769,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC7c4TDEtUEpKe5LxCsuREjjO0AxaotFks5rGVn4gaJpZM4KpkgO
.

Any news on the issue ? :disappointed:

Can you please test with this plnkr: https://embed.plnkr.co/VFwGvAO6MhV06IDTLk5W/
I added the binding to data size and it seems to work - can you validate that this addition might solve the problem?

It work like a charm ! Thanks :smile:

It works like a charm on chrome via plnkr ! Thanks :smile:
But in my app, I got sometimes an empty canvas... :disappointed:

I just released a 0.7.7 - added check for nativeWidth && nativeHeight of the image. Sometimes the file uploader notices the component that the image is loaded even though it is not. I added a timer that checks every 10ms if the native sizes are calculated correctly.
Can you please check on IPad? I tested with mine (using plnkr) and works fine.

Great job ! It works fine on my Iphone but like I said I need to touch the canvas to make the image appears.

I will have to do some more tests -> I got an Iphone and I will try to fix it asap

Any news on that issue?
Do you need help?

I cannot reproduce it neither on IPad or IPhone 6s

For your information, we still have issues on iphone 5.

Can you please test with 0.8.2 release?

Any updates here?
Having issues on my iPhone as well

@cstefanache The issue appears to happen with large photos rather than small photos. I believe this is because on mobile it takes longer for the actual image object to load with high resolution photos. What you're missing in your ImageCropperComponent.fileChangeListener is an onload event listener for the image object itself before calling that_1.setImage(image_1)
The below code resolves the issue for me, and the image loads after a few seconds.
ImageCropperComponent.prototype.fileChangeListener = function ($event) {
        if ($event.target.files.length === 0)
            return;
        var file = $event.target.files[0];
        if (this.settings.allowedFilesRegex.test(file.name)) {
            var image_1 = new Image();
            var fileReader = new FileReader();
            var that_1 = this;
            fileReader.addEventListener('loadend', function (loadEvent) {
                image_1.src = loadEvent.target.result;
                image_1.onload = function() {
                  that_1.setImage(image_1);
                }
            });
            fileReader.readAsDataURL(file);
        }
    };

I still notice a lot of input lag afterwards when dragging the cropping rectangle on large images (3000x2000px and higher).

thanks @rrotaru - can you please open a PR with your changes? I can do the update but I will be more than happy to have you listed on the contributors page


Move to netci job setup

test ci please

test ci please

test ci please

test ci please

test ci please


Search for product

Hello Julian,
Thanks for this library!
do you have a suggestion how to automate the search for the product ID?
It will be difficult, as many results for e.g. "Huawei Mate 20" will exist...
Greetings,
Hendrik

Hi @henfri ... again 😆
I am happy, that you find this little library useful. Actually, I do not have a suggestion on how to automate the search. As you stated, there might be many results for a search term. That’s exactly why I use the product ID (which is unique IMHO) for requesting a price.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_7476d576-fc91-4b41-bd7a-be660f6ac5d0/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_7476d576-fc91-4b41-bd7a-be660f6ac5d0.git

Docs Build status updates of commit fe60561:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-ServiceAccountCannotAccessRepository] Your repository https://github.com/VSC-Service-Account/docs-archive-test-source has enabled Docs Build service account. It seems that at least one of the accounts, e2ebd4, does not have Read permission to the repo. Please ask your repo admin to grant correct permission to service accounts (refer to this document: https://review.docs.microsoft.com/en-us/engineering/projects/ops/engdocs/how-to-grant-service-account-permission-in-your-repository?branch=master#ops-e2e-ppe) and then retry the build. Don't know who to contact? Refer https://repos.opensource.microsoft.com/VSC-Service-Account/repos/docs-archive-test-source/permissions/ to get admin list of the repo if the repo is in one of the organizations Microsoft owns.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Fix the rotation problem in CG port

Fixes #144. The bug was simple, the angle being passed in to CGAffineTransformRotate is in degrees when it should be in radians.

@dirkschulze You can merge this if the change looks good. Thanks for reviewing. 👍


Added CommonCrypto key, block and context size constants

r+

It might be good to get @jofre-ms to eye over these changes.


Currently ReVi has no clue how to deal with \t.

a simple fix for this could be just to replace all tabs in the file with 4 spaces when opening the file.


Marriage abroad: Chinese content change request

Supersedes #3025
Trello card
Description
This PR holds content changes that correct the age requirement for opposite sex and adds the entry stamp requirement for same sex.
Factcheck
Preview link
GOVUK
Expected changes

Content changes to Chinese opposite and same sex outcomes.

Before

After

Affected outcomes
https://smart-answers-pr-3034.herokuapp.com/marriage-abroad/y/china/opposite_sex
https://smart-answers-pr-3034.herokuapp.com/marriage-abroad/y/china/same_sex

LGTM, please merge and deploy 👍


docs: button variant guidance refinements

This PR is to add clarity around the use of button variants. In particular, the correct use of a secondary button as the negative option for a primary button, and being clear that it cannot be used in isolation or for a positive action.
This came out of discussions in the January 21. Design Crit.

I wonder if we should add a section specifically about "button pairing"

I wonder if we should add a section specifically about "button pairing"

Yes, I thought about that but I was trying to keep it all up top with the basic guidance where people would see it. But maybe we could have preliminary copy here and then a section that goes into more detail with examples.

I wonder if we should add a section specifically about "button pairing"

Yes, I thought about that but I was trying to keep it all up top with the basic guidance where people would see it. But maybe we could have preliminary copy here and then a section that goes into more detail with examples.

Created a new issue for a more in-depth treatment and some image review --> https://github.com/carbon-design-system/carbon-website/issues/2142

@aagonzales this should be good to go, if you want to take a peek at the latest!


Not able to clone in isolated docker

See conversation here https://discourse.drone.io/t/could-not-resolve-host-on-clone-step/3311
It seems there is a miss of some configuration variable (or documentation ?)
When I have this docker-compse with Drone+GITEA - my clone step fails with "Could not resolve host: gitea"
version: '2'
services:
  gitea:
    image: gitea/gitea:latest
    volumes:
      - ./data/gittea:/data
    ports:
      - "3000:3000"
      - "2222:22"

  drone-server:
    image: drone/drone:1.0.0-rc.3
    depends_on:
      - gitea
    ports:
      - "8000:80"
    volumes:
      - ./data/drone:/var/lib/drone/
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - DRONE_GITEA_SERVER=http://gitea:3000
      - DRONE_GIT_ALWAYS_AUTH=false
      - DRONE_RUNNER_CAPACITY=2
      - DRONE_SERVER_HOST=drone-server
      - DRONE_SERVER_PROTO=http
      - DRONE_TLS_AUTOCERT=false

we have an open issue to allow attaching a custom network to the clone step at https://github.com/drone/drone-runtime/issues/23
however, until such a feature is added, using the embedded docker-dns to connect to the version control system is not supported.

is this feature now supported ?

It looks like https://github.com/drone/drone-runtime/issues/23 is closed, but I don't see any notse about the resolution. Is this feature supported? I'm having this issue and want to make sure I know what the correct docker-compose.yml configuration should be to allow the spawned docker/git container to see my gitea container.
Thanks!

see https://discourse.drone.io/t/gitea-drone-traefik-agent-cannot-reach-git-repo/4170/2?u=bradrydzewski

Perfect! Thanks!


undefined method `id' for an instance of ActiveRecord::Associations::CollectionProxy

Hey! I'm trying to include a has_many collection on my parent object. Let's say i have Template model and object with has_many TemplateField association. here is my model and objects definitions:
class Template < ApplicationRecord
  has_many :field_primaries, class_name: 'TemplateField'
end

class TemplateField < ApplicationRecord
end

module V1Api
  module Objects
    class TemplateObject < Apia::Object
      field :fields_primaries, [TemplateFieldObject]
    end
  end
end

module V1Api
  module Objects
    class TemplateFieldObject < Apia::Object
      field :id, :integer
    end
  end
end

And given all that, APIa is raising
Failure/Error:
       V1Api::Base.test_endpoint(described_class) do |req|
         req.headers['Authorization'] = "Bearer #{token}"
         req.json_body[:id] = template.id
       end

     NoMethodError:
       undefined method `id' for an instance of ActiveRecord::Associations::CollectionProxy

which looks like apia is passing collection to TemplateFieldObject instead of each collection object separately. Am I misunderstanding something in here? Thanks for any clues.

After going through the code, i found out that when using [Object] as a field type, apia expects it to be an actual array. It was a raw ActiveRecord::Associations::CollectionProxy in my case which was causing the exception so here is what i did:
      field :fields, [TemplateFieldObject] do
        backend { |template| template.fields.to_a }
      end


endpoint: adjust scan slow log

ref #1557
@siddontang @disksing PTAL

seem that we should update the following Display too.


Docs at readthedocs.io out of date.

Greetings!
It looks like the documentation served at https://django-tenants.readthedocs.io/en/latest/ is out of date with master or the latest release.
The commit ID on readthedocs is 98f1c028 which was committed Nov 9 2018.
It looks like the last build happened 6 months ago: https://readthedocs.org/projects/django-tenants/builds/
Were the webhooks removed?

Were the webhooks removed?

or more likely there's a failure in RTD builds.

I think I have sorted it


tk diff/prune not respecting spec.namespace ?

Hi,
i noticed this rather unexpected behaviour with  tk diff (tk prune same issue):

deploying a resource in one namespace (e.g. secret)
copying this resource it to another namespace (in our case with kubernetes-replicator)
running tk diff as below it
shows removal of the resouce in the other namespace, not defined in spec.namespace

~> tk --version
2024/08/08 22:56:45 tk version 0.28.0

~> tk env add --inject-labels --diff-strategy native --context-name cluster --namespace testing environments/test
~> cat > environments/test/main.jsonnet << EOF
{
  apiVersion: 'v1',
  kind: 'Secret',
  type: 'Opaque',
  metadata: {
    name: 'test',
  },
  data: {
    foo: 'YmFyCg=='
  },
}
EOF

~> kubectl create namespace testing
~> tk apply environments/test
...

~> kubectl get -n testing secret test -o json \
  |jq 'del(.metadata.annotations, .metadata.creationTimestamp, .metadata.resourceVersion, .metadata.uid)' \
  | jq '.metadata.namespace = "default"' \
  | kubectl apply -f -

# diff wants to remove the secret in namespace "default"
~> tk diff --diff-strategy validate --with-prune --exit-zero --log-level warn environments/test

diff -u -N /tmp/diff4225968230/LIVE-v1.Secret.default.test /tmp/diff4225968230/MERGED-v1.Secret.default.test
--- /tmp/diff4225968230/LIVE-v1.Secret.default.test     2024-08-08 22:55:01.530504804 +0200
+++ /tmp/diff4225968230/MERGED-v1.Secret.default.test   2024-08-08 22:55:01.530504804 +0200
@@ -1,34 +0,0 @@
...

Looks like it is not respecting the spec.namespace when the environment label on resources outside that namespace?
Is this intentional? If so i think its very un-obvious, altough this might be an edge-case (we're replicating some configs into  review-app namespaces).
regards,
strowi
Acceptance criteria

Given an environment

When tk prune is called on it

Then a warning should be shown that informs the user that pruning might also affect resources outside of the primary namespace of that environment

Hey 🙂
Correct, prune operates exclusively on that label to look for resources which was somehow implicit in the original PR: https://github.com/grafana/tanka/pull/251 . I'm guessing that the main reason for this is that Tanka supports resources inside of an environment not to be limited to a single namespace and since the jsonnet entry might already be gone, the label is the only reference left to check.
That being said, I agree that this information should be more visible. What do you think? Should the prune command perhaps always log a warning telling users to check if these are really the resources they want to prune?

Hi  ;),
ahh yes i read:

This file configures environment properties such as cluster connection (spec.apiServer), default namespace (spec.namespace), etc.

And somehow thought, if 'namespace' is defined, that would also limit operations to this namespace. (As opposed to NOT define it).
In our pipeline we run a tk diff before templating + deploying with shopify/krane so it is mostly a visual problem for the reviewer. to ignore.
I think a warning would be nice though.  👍

I've set some acceptance criteria for the person who will work on this. Are they ok for you? 🙂


Nocollide does not paste

Nocollides do not paste. Every time I use the nocollide tool with the adv dupe 2 it doesn't paste. is there   a way this can be fixed?

Works for me.

The no collides are still not pasting its been broken on my server for about a year now and I dont know whats causing it. I dont know if its an addon confliction or what. All I know is that im not a coder and bug fixing is hard. If you find anything or have found a fix in the files let me know. Your mod is awesome and i've been using it ever since I started my server.

It's definitely another addon or an old version of this one. Sorry


made all the reccomended changes on all fronts, css, html and the js …

Title

Issue 10
Fixes #10

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[ x] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING
[ x] I have checked to ensure there aren't other open Pull Requests for the same update/change?
[ x] I have performed a self-review of my own code
[ x] I have commented my code, particularly in hard-to-understand areas
[ x] I have made corresponding changes needed to the documentation

Hey @Abhinavpatra ,
Amazing work done! ⭐
Your effort is appreciated 👏
I am merging the PR to main branch.
Thanks for a major Contribution in SocialRepo
Looking for more PRs from you. :D
Keep Contributing! 🙌

always ready to work on more issues, let me know.


Is fail to read single uasset DataTable?

up

what?

I'm going to need more information if you want me to fix something

can you test your pyUE4Parse in Mir4 pc? you can find some wrong ！
Mir 4 (mobile version)  0x86C7FF3309131F64AA1A2872444F3841281F7B82FEE14A54BF5CAD6C36F57377
Mir 4 (PC version)  0xAD768F68B8795A776100525791F675E15341D565D9AB4B4B74C95F31B03310F3

fixed Minshug/pyUE4Parse@8151cbd5ae92845cb858d335ad35744cdbe73e99


Ability to use yarn instad of npm with Microsoft.AspNetCore.SpaServices

Is it possible to use yarn instead of npm to install packages using Microsoft.AspNetCore.SpaServices?
The Microsoft.AspNetCore.SpaServices installs client side packages internally with npm, but we want to use yarn so we can use the yarn.lock file for consistent package versions. I know npm has a similar lock file but we don't want to use that one.
Could this be implemented? A lot of the JS community are using yarn instead of npm, for certain things that it does better and also because it's slightly faster.
Thanks!

Thanks for contacting us. We believe that the question you've raised have been answered. If you still feel a need to continue the discussion, feel free to reopen it and add your comments.


Adding the timer/progress bar on the practice session

Overview
Shows the time left or the questions that are left.

I think these two should be two separate issues because both components would require their own designs and dedicated PRs.


Role group arsenal items disappearing

Sometimes, when making a mission, the role group editor arsenal items and any custom role groups will reset entirely.
Repro TBD, but it seems to happen after editing the mission for some time.

I have noticed after creating the group Arsenal and going and changing individual unit Arsenal. It delete the group Arsenal like it override or reset it.


godeltaprof tests are failing on gotip

Failing tests:
https://github.com/grafana/pyroscope-go/actions/runs/9072542438/job/24932183708
This bot PR https://github.com/grafana/pyroscope-go/pull/102 suggests this may be caused by this upstream change https://go-review.googlesource.com/c/go/+/533258

this may be caused by this upstream change https://go-review.googlesource.com/c/go/+/533258

Indeed, this commit is the reason.
The actual reason is that before the change this line of code https://github.com/golang/go/blob/22344e11f27d9667e7bbb6209df59e9a9e976d91/src/runtime/mprof.go#L776
used stack from callers / gcallers which does skip logical frames and performs inline unwinding and looks like this
[
   0x48f931, //  sync.(*Mutex).Unlock
   0x48f918,  // main.main.func1
   0x46ba81,  // runtime.goexit
]

And after the change the same line uses stack from fpTracebackPCs
which looks like this:
[
   0x4,      // skip value
   0x467405, // sync.event
   0x44ad65, // runtime.semrelease1
   0x468533, // sync.runtime_Semrelease
   0x476b5b, // sync.(*Mutex).unlockSlow << this function has a branch, so value here depends on Mutex state
   0x48f931, // main.main.func1
   0x46ba81, // runtime.goexit
]

Because of that, runtime.stkbucket allocates two bucket s for the same logical stack  and therefore later we get two BlockProfileRecord
Here is a short program to reproduce:
https://go.dev/play/p/YD8N3UVACna?v=gotip
gotip:
=========================
443e01  runtime._LostContendedRuntimeLock
=========================
48f931  sync.(*Mutex).Unlock
48f918  main.main.func1
46ba81  runtime.goexit
=========================
48f931  sync.(*Mutex).Unlock
48f918  main.main.func1
46ba81  runtime.goexit

1.22:
=========================
4401a1  runtime._LostContendedRuntimeLock
=========================
48f931  sync.(*Mutex).Unlock
48f918  main.main.func1
46ba81  runtime.goexit

This is not necessary a runtime bug, but I've submitted a golang issue anyway just to make sure they are aware of this (implicit?) change.  https://github.com/golang/go/issues/67548
I think it make sense to defend godeltaprof against this change even if the change is fixed upstream.

There is a similar issue with the heap profile, where map internals are elided from the end of call stacks and we can get multiple entries with the same stack in the pprof.

We should have a test for this case if this is the case

Probably a release should be tagged, so that it can be referenced from dependants (including grafana) to be buildable with upcoming Go 1.23
See build attempt in homebrew:

https://github.com/Homebrew/homebrew-core/pull/175310

:wave: I'm working on an upstream fix for this. What I have so fare is here: https://go-review.googlesource.com/c/go/+/595966. Is it alright if we use the reproducer you created as a regression test case? If so, I can of course add any attribution you think is appropriate to the CL :)

sure, feel free to use the reproducer if it suits your needs


Reactabular 1.0.0-rc5 out - Feedback welcome!

To keep this manageable, I'll be opening a separate issue per release candidate from now on. You can still see the old changes at #148 if you are interested.

This release focuses on performance. I noticed especially column resizing started to get laggy with large amounts of data so I fixed that. The performance tweaks lead to API improvements and I refactored the API more than I had in mind. But that's good as it's a little easier now. Main changes below:

Pushed calculation to Table.Provider as much as I could. Smaller gains, but still nice to do. Now it splits up the data per header and body in a better way so there's less to calculate.
Implemented shouldComponentUpdate for Table.Body and table row. There's no cell level optimization yet as I feel this helps quite a bit already. And it certainly fixed the resize issue. Note that you should not mutate data you are passing to Reactabular. After this change that simply won't work anymore as then it won't be able to perform the check reliably.
As a result I had to simplify the editing interface. The gotcha is that you should stash your editing state within the data you pass to the table. I still have to fix the Excel example to work like this. That's for the next RC.
Pushed data resolution (i.e. property: 'foo.bar' ) to a separate function. If you are using data like this, you will have to resolve the data before passing it to Reactabular. Even though this is more work for you, it cleans up the internals a notch.
Made highlight work as a combination of a function you apply over your data (good name anyone?) and a filter. The former attaches highlighting annotation to the data while the filter uses it. As a result the filter declaration is simpler and you don't need to pass the property name to it anymore. But you need to remember to apply the highlighter to your data.

The system still supports cell.resolve internally. I hope to do the same with this as with property resolution (foo.bar) and extract it out of core. The advantage of doing this is that it will clean up search/highlight/sort and avoid work (only single pass). Most likely this has to rely on some sort of convention. Perhaps I'll use a similar idea as I used with highlight. It could use the same auxiliary structure even now that I think of it.
If you have any ideas or find issues, please open separate issues so it's easier to track. I feel we are close to a final release as the problems seem to be getting smaller. After the 1.0 release it's a good time to think about splitting this up into smaller packages. The current structure is somewhat modular already so that shouldn't be a big problem.

You can install the release candidate through npm i reactabular@rc5.

Wow! Nice work! :100:
Not a separate issue, but could you elaborate a bit on what you think resolving functions will look like? I have a handful of cases where my resolving logic is more involved than what _.get would do (e.g. resolving a bunch of time/date data from `rowData field such that it's sortable

(sorry, accidentally posted half a post there, here's the full version)
Wow! Nice work! :100:
Not a separate issue, but could you elaborate a bit on what you think resolving functions will look like? I have a handful of cases where my resolving logic is more involved than what _.get would do (e.g. resolving a bunch of time/date data from rowData into a string such that it's sortable, and then format-ing it into a totally different look for display) ... just curious what you have in mind. Anything that brings us closer to the single-pass-pipeline ideal I'm obviously very supportive of! :)

Not a separate issue, but could you elaborate a bit on what you think resolving functions will look like? I have a handful of cases where my resolving logic is more involved than what _.get would do (e.g. resolving a bunch of time/date data from rowData into a string such that it's sortable, and then format-ing it into a totally different look for display) ... just curious what you have in mind. Anything that brings us closer to the single-pass-pipeline ideal I'm obviously very supportive of! :)

I expect cell.resolve will remain. I'll do a separate pass for those so you'll get another variant of the current resolve except that it won't touch the values and generates separate ones instead.
This gets us to single pass system and allows me to drop direct cell.resolve calls from the core logic. It still has to do a lookup but it can avoid the function calls.
Even the single pass system can be optimized further I think, but that's another problem. We might need to expose a cell iterator and then do some sort of fusion over those while mapping all input or so.

Got a question. Will this work with remote data? By ajax or some other way to grab the data from a remote api to use this library to tabulate? Thanks.

Got a question. Will this work with remote data? By ajax or some other way to grab the data from a remote api to use this library to tabulate? Thanks.

Definitely. There's nothing preventing you from fetching the data from elsewhere. You can even have some of the logic on the backend (search, pagination, etc.). I provider helpers for those tasks but there's no absolute need to use them.
When using Reactabular you'll most likely push data related concerns to a state manager like Redux or MobX. That keeps the React side a little simpler and allows you to push any data related logic outside of your component. That's where remote data would fit too.

Closing as rc6 is out (#167).


My Product KPI dashboard breaks with 404 errors during navigation and is unrecoverable

I can't give you repro steps but I see this all the time across my projects.  Might be related to trying to edit the config or navigating from models to sources.
This is the error I see in the terminal:
TypeError: Cannot read properties of undefined (reading 'id')
at MetricsViewActions.getMetricsViewMeta (/Users/marissagorlick/Documents/rilldata/rill-developer-kpi/web-local/src/common/rill-developer-service/MetricsViewActions.ts:108:42)
at RillDeveloperService.dispatch (/Users/marissagorlick/Documents/rilldata/rill-developer-kpi/web-local/src/common/rill-developer-service/RillDeveloperService.ts:89:54)
at /Users/marissagorlick/Documents/rilldata/rill-developer-kpi/web-local/src/server/controllers/MetricsViewController.ts:29:33
at Function.wrapAction (/Users/marissagorlick/Documents/rilldata/rill-developer-kpi/web-local/src/server/controllers/EntityController.ts:99:30)
at MetricsViewController.handleGetMetricsMeta (/Users/marissagorlick/Documents/rilldata/rill-developer-kpi/web-local/src/server/controllers/MetricsViewController.ts:28:28)
at /Users/marissagorlick/Documents/rilldata/rill-developer-kpi/web-local/src/server/controllers/MetricsViewController.ts:12:12
at Layer.handle [as handle_request] (/Users/marissagorlick/Documents/rilldata/rill-developer-kpi/node_modules/express/lib/router/layer.js:95:5)
at next (/Users/marissagorlick/Documents/rilldata/rill-developer-kpi/node_modules/express/lib/router/route.js:144:13)
at Route.dispatch (/Users/marissagorlick/Documents/rilldata/rill-developer-kpi/node_modules/express/lib/router/route.js:114:3)
at Layer.handle [as handle_request] (/Users/marissagorlick/Documents/rilldata/rill-developer-kpi/node_modules/express/lib/router/layer.js:95:5)

A video of me encountering this problem with our init-example project, it might even be 2 issues. Notice how the model is on the wrong port when I try to open the asset and there is no data until I make a small change and it looks for the source again (?).  Clicking the dashboard button on a valid example led to a 404 dashboard error.
https://user-images.githubusercontent.com/5587788/197265649-260ff93a-e13d-4c98-9952-37cec09fc6fd.mp4

The error in my terminal:
Error: Catalog Error: Table with name e_shop_model does not exist!
Did you mean "e_shop_clothing"?
LINE 7:       e_shop_model
              ^
    at DuckDBClient.request (/Users/marissagorlick/Documents/rilldata/rill-developer/web-local/src/common/database-service/DuckDBClient.ts:169:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at DuckDBClient.execute (/Users/marissagorlick/Documents/rilldata/rill-developer/web-local/src/common/database-service/DuckDBClient.ts:55:20)
    at DatabaseTimeSeriesActions.estimateIdealRollupInterval (/Users/marissagorlick/Documents/rilldata/rill-developer/web-local/src/common/database-service/DatabaseTimeSeriesActions.ts:362:25)
    at DatabaseService.dispatch (/Users/marissagorlick/Documents/rilldata/rill-developer/web-local/src/common/database-service/DatabaseService.ts:78:12)
    at ActionQueueOrchestrator.run (/Users/marissagorlick/Documents/rilldata/rill-developer/web-local/src/common/priority-action-queue/ActionQueueOrchestrator.ts:30:24)

I think this one should have been fixed w/ the new remote sources branch. @magorlick can you confirm?

Yes, this is fixed now.


Not getting the popup

Platform (Hardware/OS):Pi 3B
Node version: 10.17.0
MagicMirror version: 2.9.0
Module version: 2.0.0
Description of the issue: Just installed the MMM-AlarmClock on my new setup MagicMirror. I somehow can't get it to work properly. This is what I put in the config-file:
		{ 			module: "MMM-AlarmClock", 			position: "top_center", 			config: { 				alarms: [ 					{time: "18:15", days: [0,1,2,3,4,5,6], title: "Test", message: "something in writing",}, 				], 				format: "ddd HH:mm", 				popup: true, 				fade: false, 			} 		},

The alarm starts at the time i program it in the config and ends after a minute. But never during this time I get to see the popup as in the example shown on this page. I added "popup: true" to the config file (knowing that this should be the default value) with no effekt.
Any ideas what I might be doing wrong?

Then what I also can't figure out: The first "beep" of the alarm sound is at normal volume. Every "beep" that follows is quieter - as if fare away. I tried different speakers and headphones - all with the same result. What could cause that?

I also tried combining the alarm clock module with MMM-Button. But I can't get any response from pressing the button. I checked the button with the little python program from http://razzpisampler.oreilly.com/ch07.html The button works. It's just that I can't get the alarm to stop by pressing the button. This is the code in my config file:
		{  		module: "MMM-Button",  		config: {  				buttonPIN: 12,  				clickDelay: 500,  				notificationMessage: "STOP_ALARM",  		}  	},

Thank you for any help. I'm quite new to this and I really can't figure out what I'm missing. I tried a lot, googled my way through a lot of websites...
edit: I'm sorry for the messy code. It doesn't show the line-breaks as I idended.

you need to set the popup = true in the MMM-AlarmClock.js
you need to command or delete "this.fadeAlarm();" to make the sound keep loud until you trigger it down in the MMM-AlarmClock.js.
setTimeout(() => {
const player = document.getElementById('MMM-AlarmClock-Player');
player.volume = this.config.fade ? 0 : this.config.volume;
// this.fadeAlarm();
}, 100);

@alesch2 @1abhirama sorry for the late reply.
You should not change any file except config.js in order to get the module work.

For this to work make sure you also have the alert module active in your config.js file like:

{
  module: "alert",
}

This seems to be a bug, I fixed it on the develop branch. You can test it with:

cd ~/MagicMirror/modules/MMM-AlarmClock
git checkout develop
git pull
npm i

and then restart your mirror

I'm sorry I have no hardware button to try it out with, maybe the developer of MMM-Button is better help for you for this issue. When I manually send the notification STOP_ALARM it stops the alert.


upgrade dependencies requirejs to latest stable version

Upgrade requirejs to 2.1.15 to fix https://github.com/Automattic/socket.io-client/issues/690

wtf? the guy abandoned the repo

They have been updated in the last couple of commits. Could you all try the current git version to see if it now works for you?

File size change report for this build:
bin/pr-filesize-reporter.js: 22 B (new)

File size change report for this build:
bin/pr-filesize-reporter.js: 22 B (new)


Aligning AM paths with fr-platform

Mass find/replace to get things working with the new paths in fr-platform

Per our discussion,if-match and if-none-match need to be added to the ingress CORS headers in RS template in forgeops.
I will update the JSO example to accommodate changes in forgeops and also README-s for JSO and Node samples (in a separate PR).
Otherwise it seems to be working as expected!


Get the Coverage that we currently have

Find a way to see the total coverage that we have with the initial tests

The current test coverage that we have is 20% with the tests that we added.
cc @FSM1 @KBryan


Feature Request - Allow world access but disallow teleport to it

There doesn't seem to be any way to allow access to a world without also allowing players to teleport to it.
I want a vanilla Minecraft experience where players access the nether and end through their respective portals, but with an additional creative test world players can teleport to and from.
In order for players to access the nether and end, they need permission with multiverse.access.NAME. However, granting this permission also allows teleporting to those worlds, which I don't want.

Duplicate of #2256


semver and kubectl param

Hey. I can't figure out how to add the semver value to the kubectl param. My kubectl param right now is: kubectl: set image deployment hello hello=hello-world:version/version --record. I need to somehow put in the semver value to the image tag, but how?

This issue is inactivity, so I will close it. If you have had a problem yet, please feel free to reopen it.


docs

We are still very early alpha but we can start putting doc strings, basic user docs, and diagrams. Aim to have something basic by mid January before the Caiman-Mesmerize workshop

We should also make better docstrings instead of just duplicating the type annotations, make them more human readable, numpy for inspiration: https://numpy.org/doc/stable/reference/generated/numpy.fft.rfft.html#numpy.fft.rfft

We can make new issues for future doc changes


add Cybertopia themes

New theme with 4 variants, source here (with screenshots): https://github.com/noraj/cybertopia-highlightjs

I almost forgot about checkTheme.js... please run it and add the few missing styles to your theme.  You can ignore the optional ones if you really want, but we'd like to see all the non-optional ones to include new themes here.
I'll also try to find the time to fix the accessibiltiy checks to work with variables - since we also care about the accessibility of our themes out of the box.

Great suggestion, I'll run checkTheme.js as asked in theme-guide and add the missing styles.
For accessibility, I checked the contrast against WCAG at https://webaim.org/resources/contrastchecker/.

Could you please rebase to resolve conflicts?

Thank you for the guidance.


Define a custom search parameter?

Is it possible to define a custom search parameter for a particular profile?  In my case, I would like to add an endDateTime as a parameter when searching for Slots.  However, this parameter is getting removed by the arg sanitizer because it is not listed in the FHIR spec.  Is there a way to specify that I would like to allow this custom parameter through?  Thank you!

@bryanvanhoorn
I've added my initially support for custom arguments.  We're still thinking this through so this may not be the final implementation.
Check out this branch
Specifically this file slot.arguments.js

@jonterrylee Where are we on this? If we can support this and we want to merge this in, we should add this to #119 and get some documentation on this.

I will need this to not be working off my fork as I have custom params.

I've been looking at custom arguments myself recently - and thinking that it would be useful to remove them as well as add additional ones.
It doesn't quite seem right to "sanitise" the arguments to a list that may not be supported by the specific service implementation so I was wondering whether adding an optional SearchParameters object to the service may be the way to go? The configureResourceRoutes function in route_setter could then use those if they exist or fallback to the builtin set if not? It would also keep local customisation out of the main code tree.

I've implemented this in my fork. If the team agree it's sensible I can submit a PR (although I can't see a develop branch at the moment?).

Hey @elementechemlyn, sorry about that we are a little behind because of the holidays on updating documentation. We have removed develop recently since we are now publishing this to npm and it was just causing things to be out of sync (patches pushed directly to master and getting overriden when develop was merged back in). This means installing and versioning is much easier and safer.
You can submit your PR to master, we are going to change the documentation soon to encourage people to install from npm and not master where we can more easily control releases.
We have a priority task today to go through the Wiki and Contributors guide and get all these things updated.

Closing for now, feel free to reopen or post a question on StackOverflow with the tags node-fhir-server-core or javascript-fhir.


feat: inspect values of maps of observables

Previously tracking any observable of observables would crash the application because they can't be sent through window.postMessage.
I stumbled on this when adding a tracking point after a split - I fixed this by preventing sending Observables (and more specifically functions) through postMessage.
I took this chance to add a feature: With this, the dev tools can pick up the latest value of each observable emitted from the outer observable.
I think this is a bit dangerous, and it's not too clear of what should happen if we detect an Observable within an observable... So I decided to only track those that emit Maps of Observables, to cover the react-rxjs' case of split+collect. In that case, we create a subscription to each internal observable to get the latest value from them and present it.
So now, instead of seeing this:

We'll see this:

Decided against this, it's trying to be too smart. Subscribing to observables hoping that the consumer uses a specific operator is a no-no.
For a similar feature in the future, we can either allow the user to subscribe and track specific observable values, or just tap the internal observables. For that I'd like to have typed values first.


Not working in laravel 5.6.17 ?

Hello,
We can't install on laravel 5.6.17. Any idea ?
Best reagrds
our requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove laravel/framework v5.6.17
- Conclusion: don't install laravel/framework v5.6.17
- nahid/talk v2.2.0 requires illuminate/contracts 5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* -> satisfiable by illuminate/contracts[v5.0.0, v5.0.33, v5.1.1, v5.1.13, v5.1.16, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
- nahid/talk v2.2.1 requires illuminate/contracts 5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* -> satisfiable by illuminate/contracts[v5.0.0, v5.0.33, v5.1.1, v5.1.13, v5.1.16, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
- don't install illuminate/contracts v5.4.0|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.4.13|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.4.17|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.4.19|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.4.27|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.4.36|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.4.9|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.0.0|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.0.33|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.1.1|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.1.13|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.1.16|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.1.20|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.1.22|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.1.25|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.1.28|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.1.30|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.1.31|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.1.41|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.1.8|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.0|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.19|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.21|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.24|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.25|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.26|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.27|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.28|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.31|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.32|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.37|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.43|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.45|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.6|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.2.7|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.3.0|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.3.16|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.3.23|don't install laravel/framework v5.6.17
- don't install illuminate/contracts v5.3.4|don't install laravel/framework v5.6.17
- Installation request for laravel/framework (locked at v5.6.17, required as 5.6.*) -> satisfiable by laravel/framework[v5.6.17].
- Installation request for nahid/talk ^2.2 -> satisfiable by nahid/talk[v2.2.0, v2.2.1].
Installation failed, reverting ./composer.json to its original content.

No longer working on Laravel 5.6


Updated URL to latest stable FCOS release

Probably best to update this regularly given the nascent state of the FCOS.

This build is not yet being used by installer. It would work, but there would be a (small) discrepancy between IPI and UPI flow.
We're waiting for progress on official locations for GCP / Azure before bootimage is updated

in general, instead of linking that specific build, we should find (or create) a latest URL

That's a wise suggestion.

I'll have a proper look shortly, just one thing already: Please rename the script to include vSphere and UPI in its path or name.


Formatting of multi-line seq! macro

verusfmt 0.2.8 formats:
use vstd::prelude::*;

verus! {

proof fn f() {
    let s =
        seq![
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    ];
}

} // verus!

This occurs with two lines or more. With only one you get:
proof fn f() {
    let s = seq![
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    ];
}

Indeed, verusfmt support for macro invocations is rather limited at present, unfortunately.  However, our current policy is that requests/suggestions for formatting improvements are best handled through PRs, which are most welcome.  We're trying to reserve GitHub Issues for functional bugs, so I'll close this for now.


Improve UX by marking changed lines

Hi ~ 🙋♀
First of All, Thanks for sharing an awesome tool! 👍
Git-history has made me enjoying reading Github code.
but, It was a little difficult to find the changed line as i used it
So, I added mark for the changed lines so that it can be seen better.

I hope  It would be helpful.

This would be a great addition. @pomber can this be merged?


feat: remove duplicate functions and let .js take precedence

Solving: https://github.com/netlify/pod-compute/issues/461
As documented here,

If a project has TypeScript and JavaScript edge functions with the same name, for example, my-function.ts and my-function.js, the TypeScript function is ignored while the JavaScript function is deployed.

After testing this out, it appears that when deployed, it works the other way around. The typescript function takes precedence over the javascript file.
We need to make sure it is as described in the documentation.
This PR should fix this.

I'm also going to add a similar logic for .jsx vs .tsx

This IS a breaking change, even though it is specified in the docs that it should have worked like this before. I'm unsure how we should proceed around that.

My 2cts are that if we had docs for this behaviour, then it's a fix and not a breaking change


Error: fail to start dragonpulse

Hi There,
After installing the dragonpulse-js, I could not start the application. Here is the error messages.
$ sudo npm start

<EMAIL_ADDRESS>start /home/linaro/Documents/arrow/aws-iot-dragonpulse-js/DragonBoard
node src/app.js

running general information task
{"thingId":"cd3e31f100874f99951fd25fc7e14b68","timestamp":1465304156389,"deviceType":"DragonBoard","os":"linux","osVariant":"Debian","osVersion":"8.4","build":"4.4.8-linaro-lt-qcom","architecture":"aarch64"}
aws queue connected.
writing to things/cd3e31f100874f99951fd25fc7e14b68/monitor/general
published
scheduled disk job
running disk utilization task
scheduled network job
running network command
scheduled process job
running process command for linux
events.js:141
throw er; // Unhandled 'error' event
^
Error: spawn iftop ENOENT
at exports._errnoException (util.js:874:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at doNTCallback2 (node.js:441:9)
at process._tickCallback (node.js:355:17)
npm ERR<EMAIL_ADDRESS>start: node src/app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is most likely a problem with the aws-iot-thing-sdk-dragonpulse-js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node src/app.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls aws-iot-thing-sdk-dragonpulse-js
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.4.8-linaro-lt-qcom
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! cwd /home/linaro/Documents/arrow/aws-iot-dragonpulse-js/DragonBoard
npm ERR! node -v v4.2.2
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/linaro/Documents/arrow/aws-iot-dragonpulse-js/DragonBoard/npm-debug.log
npm ERR! not ok code 0
Please help me to resolve the issue.
Regards, Henry
Following is the installation log.
linaro@linaro-alip:~/projects/arrow/aws-iot-dragonpulse-js/scripts$ ls
setup.sh uninstall.sh
linaro@linaro-alip:~/projects/arrow/aws-iot-dragonpulse-js/scripts$ ./setup.sh

Welcome to Arrow's DragonPulse for Amazon AWS
This script will setup and provision your DragonPulse

DragonPulse should exist at /home/linaro/Documents/arrow/aws-iot-dragonpulse-js
Amazon AWS Account Number:
xxxxxxxxxxxxxx
Using us-east-1 as AWS Region
Enter a Stage (Default is dev, Typical Stages are prod,test,qa):
dev
Using dev as API Stage
Enter a S3 Identifier (Default with be a random hash. Typical Identifiers can be something like Your Username):
exteliotnodejs
Using exteliotnodejs as S3 Identifier
**Creating Config for Arrow and AWS...
**Creating Amazon IAM and IoT Elements...
<EMAIL_ADDRESS>node_modules/dragonpulse-config
<EMAIL_ADDRESS>node_modules/home-dir
<EMAIL_ADDRESS>node_modules/randomr
<EMAIL_ADDRESS>node_modules/commander
└──<EMAIL_ADDRESS><EMAIL_ADDRESS>node_modules/bluebird
<EMAIL_ADDRESS>node_modules/mkdirp
└──<EMAIL_ADDRESS><EMAIL_ADDRESS>node_modules/rimraf
└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>node_modules/aws-sdk
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS>Creating role DragonPulse-ApiGateway
Creating role DragonPulse-IoT
Creating role DragonPulse-Lambda
Creating IoT Policy of DragonPulse
Creating IoT Topic Rule of DragonPulseMonitorDisk
Creating IoT Topic Rule of DragonPulseMonitorGeneral
Creating IoT Topic Rule of DragonPulseMonitorNetwork
Creating IoT Topic Rule of DragonPulseMonitorProcess
Setting the IoT logging options
Creating table DragonPulse-monitorDisk
Creating table DragonPulse-monitorGeneral
Creating table DragonPulse-monitorNetwork
Creating table DragonPulse-monitorProcess
***Modifying Amazon lambda functions...
npm WARN package.json<EMAIL_ADDRESS>No README data
<EMAIL_ADDRESS>node_modules/dragonpulse-config
/usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt
<EMAIL_ADDRESS>/usr/local/lib/node_modules/grunt-cli
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS>npm WARN package.json<EMAIL_ADDRESS>No README data
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible.

Running "uglify:monitor" (uglify) task

1 file created.

Running "zip:monitor" (zip) task
File "dist/monitor/monitor.zip" created.
Running "createMultiTask:monitor" (createMultiTask) task
Creating lambda function DragonPulse-monitor
Permission for resource monitor was added for SourceArn arn:aws:iot:us-east-1:770582406804:rule/DragonPulseMonitorDisk
Permission for resource monitor was added for SourceArn arn:aws:iot:us-east-1:770582406804:rule/DragonPulseMonitorGeneral
Permission for resource monitor was added for SourceArn arn:aws:iot:us-east-1:770582406804:rule/DragonPulseMonitorNetwork
Permission for resource monitor was added for SourceArn arn:aws:iot:us-east-1:770582406804:rule/DragonPulseMonitorProcess
Running "create:things" (create) task
Running "pkg:things" (pkg) task
Running "mkdir:package" (mkdir) task
Creating "dist"...OK
Running "browserify:things" (browserify) task

Bundle dist/things/things.bundled.js created.

Running "uglify:things" (uglify) task

1 file created.

Running "zip:things" (zip) task
File "dist/things/things.zip" created.
Running "createMultiTask:things" (createMultiTask) task
Creating lambda function DragonPulse-things
Done, without errors.
***Configuring Amazon API gateway...
Detected 1bc8 as API Gateway Extension
Picked up JAVA_TOOL_OPTIONS: -Dgnu.io.rxtx.SerialPorts=/dev/tty96B0
2016-06-07 10:14:18,090 INFO - Using API Gateway endpoint https://apigateway.us-east-1.amazonaws.com
2016-06-07 10:14:27,338 INFO - Attempting to create API from Swagger definition. Swagger file: dragonpulse.yaml
reading from dragonpulse.yaml
2016-06-07 10:14:29,341 INFO - Parsed Swagger with 6 paths
2016-06-07 10:14:29,342 INFO - Creating API with name Arrow DragonPulse
2016-06-07 10:14:30,915 INFO - Removing default model Empty
2016-06-07 10:14:31,275 INFO - Removing default model Error
2016-06-07 10:14:31,636 INFO - Creating model for api id g1sns1g74g with name FileSystem
2016-06-07 10:14:33,475 INFO - Generated json-schema for model FileSystem: {"type":"object","required":["available","fSize","filesystem","mounted","usage","used"],"properties":{"filesystem":{"type":"string","description":"The name of the filesystem.\n","minLength":1,"pattern":"^[/:a-zA-Z0-9]+$"},"fSize":{"type":"integer","format":"int64","description":"The size of the filesystem.\n"},"used":{"type":"number","format":"double","description":"The percentage used for the filesystem.\n"},"available":{"type":"integer","format":"int64","description":"The amount available on the filesystem.\n"},"usage":{"type":"string","description":"The percentage of use of the filesystem.\n","pattern":"^[0-9]{1,3}%$"},"mounted":{"type":"string","description":"The mount point of the filesystem.\n","pattern":"^[/:a-zA-Z0-9]+$"}},"definitions":{}}
2016-06-07 10:14:47,929 INFO - Creating model for api id g1sns1g74g with name FileSystemList
2016-06-07 10:14:48,131 INFO - Generated json-schema for model FileSystemList: {"type":"array","items":{"$ref":"#/definitions/FileSystem"},"definitions":{"FileSystem":{"type":"object","required":["available","fSize","filesystem","mounted","usage","used"],"properties":{"filesystem":{"type":"string","description":"The name of the filesystem.\n","minLength":1,"pattern":"^[/:a-zA-Z0-9]+$"},"fSize":{"type":"integer","format":"int64","description":"The size of the filesystem.\n"},"used":{"type":"number","format":"double","description":"The percentage used for the filesystem.\n"},"available":{"type":"integer","format":"int64","description":"The amount available on the filesystem.\n"},"usage":{"type":"string","description":"The percentage of use of the filesystem.\n","pattern":"^[0-9]{1,3}%$"},"mounted":{"type":"string","description":"The mount point of the filesystem.\n","pattern":"^[/:a-zA-Z0-9]+$"}}}}}
2016-06-07 10:14:48,479 INFO - Creating model for api id g1sns1g74g with name MonitorDisk
2016-06-07 10:14:48,542 INFO - Generated json-schema for model MonitorDisk: {"type":"object","required":["counter","directoryList","thingId","timestamp"],"properties":{"thingId":{"type":"string","description":"The identifier for a thing.\n","pattern":"^[a-zA-Z0-9_-]$"},"timestamp":{"type":"integer","format":"int64","description":"The seconds since the epoch, UTC\n"},"counter":{"type":"integer","format":"int64","description":"A counter used the by client to record the number of observations\nfor a session.\n"},"directoryList":{"$ref":"#/definitions/FileSystemList"}},"definitions":{"FileSystem":{"type":"object","required":["available","fSize","filesystem","mounted","usage","used"],"properties":{"filesystem":{"type":"string","description":"The name of the filesystem.\n","minLength":1,"pattern":"^[/:a-zA-Z0-9]+$"},"fSize":{"type":"integer","format":"int64","description":"The size of the filesystem.\n"},"used":{"type":"number","format":"double","description":"The percentage used for the filesystem.\n"},"available":{"type":"integer","format":"int64","description":"The amount available on the filesystem.\n"},"usage":{"type":"string","description":"The percentage of use of the filesystem.\n","pattern":"^[0-9]{1,3}%$"},"mounted":{"type":"string","description":"The mount point of the filesystem.\n","pattern":"^[/:a-zA-Z0-9]+$"}}},"FileSystemList":{"type":"array","items":{"$ref":"#/definitions/FileSystem"}}}}
2016-06-07 10:14:48,872 INFO - Creating model for api id g1sns1g74g with name MonitorGeneral
2016-06-07 10:14:48,928 INFO - Generated json-schema for model MonitorGeneral: {"type":"object","required":["architecture","deviceType","os","osVersion","thingId","timestamp"],"properties":{"thingId":{"type":"string","description":"The identifier for a thing.\n","pattern":"^[a-zA-Z0-9_-]$"},"timestamp":{"type":"integer","format":"int64","description":"The seconds since the epoch, UTC\n"},"deviceType":{"type":"string","description":"Type type of device.\n"},"os":{"type":"string","description":"The official name of the operating system.\n"},"osVariant":{"type":"string","description":"The common name of the operating system.\n"},"osVersion":{"type":"string","description":"The version of the operating system.\n"},"osCodename":{"type":"string","description":"The code name for the operating system, usually specific\nto a version.\n"},"build":{"type":"string","description":"The build number of the operating system.\n"},"architecture":{"type":"string","description":"The architecture of the operating system.  This provides an\nindication of whether it is a 32-bit or 64-bit version.\n"}},"definitions":{}}
2016-06-07 10:14:49,255 INFO - Creating model for api id g1sns1g74g with name MonitorNetwork
2016-06-07 10:14:49,327 INFO - Generated json-schema for model MonitorNetwork: {"type":"object","required":["counter","cummulative","ipAddress","macAddress","nInterface","peakRate","thingId","timestamp","totalRecvRate","totalSendRate","totalSendRecvRate"],"properties":{"thingId":{"type":"string","description":"The identifier for a thing.\n","pattern":"^[a-zA-Z0-9_-]$"},"timestamp":{"type":"integer","format":"int64","description":"The seconds since the epoch, UTC\n"},"counter":{"type":"integer","format":"int64","description":"A counter used the by client to record the number of observations\nfor a session.\n"},"totalSendRate":{"type":"number","format":"float","description":"The send rate for the interface for the last 10 seconds.\n"},"nInterface":{"type":"string","description":"The operating system name of the network interface\n"},"cummulative":{"type":"array","items":{"type":"integer","format":"int64","description":"The cumulative sent, receive, and total packets.\n"}},"totalSendRecvRate":{"type":"number","format":"float","description":"The total rate for send and receive packets for the last\n10 seconds.\n"},"macAddress":{"type":"string","description":"The MAC address of the ethernet interface\n","pattern":"^([0-9a-f]{2}:){5}[0-9a-f]{2}$"},"peakRate":{"type":"array","items":{"type":"integer","format":"int64","description":"The peak rate for the sent, receive, and total packets.\n"}},"totalRecvRate":{"type":"number","format":"float","description":"The total receive rate for the network interface for the last\n10 seconds.\n"},"ipAddress":{"type":"string","description":"The IP address of the network interface.\n","pattern":"^([0-9]{1,3}.){3}[0-9]{1,3}$"}},"definitions":{}}
2016-06-07 10:14:49,673 INFO - Creating model for api id g1sns1g74g with name MonitorProcess
2016-06-07 10:14:49,736 INFO - Generated json-schema for model MonitorProcess: {"type":"object","required":["counter","cpuUsage","loadAvg","memory","processList","tasks","thingId","timestamp"],"properties":{"thingId":{"type":"string","description":"The identifier for a thing.\n","pattern":"^[a-zA-Z0-9_-]$"},"timestamp":{"type":"integer","format":"int64","description":"The seconds since the epoch, UTC\n"},"counter":{"type":"integer","format":"int64","description":"A counter used the by client to record the number of observations\nfor a session.\n"},"loadAvg":{"type":"array","items":{"type":"string","description":"Load average over 1, 5, and 15 minutes.  The load average is the\naverage number of jobs in the run queue.\n","pattern":"^[0-9.]+$"}},"cpuUsage":{"type":"array","items":{"type":"string","description":"Percentage of processor usage, broken into user, system,\nand idle components.\n","pattern":"^[0-9.]+$"}},"tasks":{"type":"array","items":{"type":"string","description":"The number of total, running, sleeping, and zombie processes.\n","pattern":"^[0-9]+$"}},"memory":{"type":"array","items":{"type":"string","description":"The total, used, free, and buffer memory statistics.\n","pattern":"^[0-9]+$"}},"processList":{"type":"array","items":{"$ref":"#/definitions/Process"}}},"definitions":{"Process":{"type":"object","required":["command","cpu","memory","pid","state","ttime","user"],"properties":{"pid":{"type":"string","description":"The identifier of the process.\n","pattern":"^[0-9]+$"},"command":{"type":"string","description":"The command of the process.\n"},"cpu":{"type":"string","description":"The CPU utilization of the process.\n","pattern":"^[0-9.]+$"},"ttime":{"type":"string","description":"The total execution time of the process.\n","pattern":"^[0-9]+:[0-9]{2}.[0-9]{2}$"},"memory":{"type":"string","description":"The internal memory size of the process.\n","pattern":"^[0-9]+$"},"state":{"type":"string","description":"The state of the process.\n","enum":["running","sleeping","stuck"]},"user":{"type":"string","description":"The user of the process.\n"}}}}}
2016-06-07 10:14:50,062 INFO - Creating model for api id g1sns1g74g with name Process
2016-06-07 10:14:50,097 INFO - Generated json-schema for model Process: {"type":"object","required":["command","cpu","memory","pid","state","ttime","user"],"properties":{"pid":{"type":"string","description":"The identifier of the process.\n","pattern":"^[0-9]+$"},"command":{"type":"string","description":"The command of the process.\n"},"cpu":{"type":"string","description":"The CPU utilization of the process.\n","pattern":"^[0-9.]+$"},"ttime":{"type":"string","description":"The total execution time of the process.\n","pattern":"^[0-9]+:[0-9]{2}.[0-9]{2}$"},"memory":{"type":"string","description":"The internal memory size of the process.\n","pattern":"^[0-9]+$"},"state":{"type":"string","description":"The state of the process.\n","enum":["running","sleeping","stuck"]},"user":{"type":"string","description":"The user of the process.\n"}},"definitions":{}}
2016-06-07 10:14:50,424 INFO - Creating model for api id g1sns1g74g with name Thing
2016-06-07 10:14:50,451 INFO - Generated json-schema for model Thing: {"type":"object","required":["thingId"],"properties":{"thingId":{"type":"string","description":"The attribute name.\n","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_-]$"},"attributes":{"type":"object","description":"The attributes of a thing.\n","additionalProperties":{"type":"string"}}},"definitions":{}}
2016-06-07 10:14:50,783 INFO - Creating model for api id g1sns1g74g with name ThingList
2016-06-07 10:14:50,819 INFO - Generated json-schema for model ThingList: {"type":"array","items":{"$ref":"#/definitions/Thing"},"definitions":{"Thing":{"type":"object","required":["thingId"],"properties":{"thingId":{"type":"string","description":"The attribute name.\n","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_-]$"},"attributes":{"type":"object","description":"The attributes of a thing.\n","additionalProperties":{"type":"string"}}}}}}
2016-06-07 10:14:51,125 INFO - Creating model for api id g1sns1g74g with name Error
2016-06-07 10:14:51,152 INFO - Generated json-schema for model Error: {"type":"object","required":["message"],"properties":{"message":{"type":"string"}},"definitions":{}}
2016-06-07 10:14:51,770 INFO - Creating resource 'things' on ppmnacd2fc
2016-06-07 10:14:53,055 INFO - Creating method response for api g1sns1g74g and method GET and status 200
2016-06-07 10:14:53,398 INFO - Found reference to existing model ThingList
2016-06-07 10:14:54,044 INFO - Creating method response for api g1sns1g74g and method GET and status 500
2016-06-07 10:14:54,348 INFO - Found reference to existing model Error
2016-06-07 10:14:54,946 INFO - Creating method parameter for api g1sns1g74g and method GET with name method.request.header.Content-Type
2016-06-07 10:14:55,309 INFO - Creating method parameter for api g1sns1g74g and method GET with name method.request.header.Accept
2016-06-07 10:14:55,626 INFO - Creating integration with type AWS
2016-06-07 10:14:58,017 INFO - Creating method for api id g1sns1g74g and resource id vuc37h with method get
2016-06-07 10:14:58,593 INFO - Creating method response for api g1sns1g74g and method OPTIONS and status 200
2016-06-07 10:14:59,485 INFO - Creating integration with type MOCK
2016-06-07 10:15:00,647 INFO - Creating method for api id g1sns1g74g and resource id vuc37h with method options
2016-06-07 10:15:01,253 INFO - Creating resource '{thingId}' on vuc37h
2016-06-07 10:15:02,489 INFO - Creating method response for api g1sns1g74g and method GET and status 200
2016-06-07 10:15:02,797 INFO - Found reference to existing model Thing
2016-06-07 10:15:03,383 INFO - Creating method response for api g1sns1g74g and method GET and status 400
2016-06-07 10:15:03,693 INFO - Found reference to existing model Error
2016-06-07 10:15:04,258 INFO - Creating method response for api g1sns1g74g and method GET and status 404
2016-06-07 10:15:04,557 INFO - Found reference to existing model Error
2016-06-07 10:15:05,135 INFO - Creating method response for api g1sns1g74g and method GET and status 500
2016-06-07 10:15:05,441 INFO - Found reference to existing model Error
2016-06-07 10:15:06,023 INFO - Creating method parameter for api g1sns1g74g and method GET with name method.request.header.Content-Type
2016-06-07 10:15:06,341 INFO - Creating method parameter for api g1sns1g74g and method GET with name method.request.header.Accept
2016-06-07 10:15:06,656 INFO - Creating integration with type AWS
2016-06-07 10:15:11,308 INFO - Creating method for api id g1sns1g74g and resource id jk9es2 with method get
2016-06-07 10:15:11,892 INFO - Creating method response for api g1sns1g74g and method OPTIONS and status 200
2016-06-07 10:15:12,762 INFO - Creating integration with type MOCK
2016-06-07 10:15:13,905 INFO - Creating method for api id g1sns1g74g and resource id jk9es2 with method options
2016-06-07 10:15:14,811 INFO - Creating resource 'monitor' on jk9es2
2016-06-07 10:15:15,772 INFO - Creating resource 'disk' on lzk1l7
2016-06-07 10:15:16,992 INFO - Creating method response for api g1sns1g74g and method GET and status 200
2016-06-07 10:15:17,296 INFO - Found reference to existing model MonitorDisk
2016-06-07 10:15:17,871 INFO - Creating method response for api g1sns1g74g and method GET and status 400
2016-06-07 10:15:18,166 INFO - Found reference to existing model Error
2016-06-07 10:15:18,744 INFO - Creating method response for api g1sns1g74g and method GET and status 404
2016-06-07 10:15:19,044 INFO - Found reference to existing model Error
2016-06-07 10:15:19,622 INFO - Creating method response for api g1sns1g74g and method GET and status 500
2016-06-07 10:15:19,920 INFO - Found reference to existing model Error
2016-06-07 10:15:20,498 INFO - Creating method parameter for api g1sns1g74g and method GET with name method.request.header.Content-Type
2016-06-07 10:15:20,807 INFO - Creating method parameter for api g1sns1g74g and method GET with name method.request.header.Accept
2016-06-07 10:15:21,121 INFO - Creating integration with type AWS
2016-06-07 10:15:24,501 INFO - Creating method for api id g1sns1g74g and resource id hrrson with method get
2016-06-07 10:15:25,064 INFO - Creating method response for api g1sns1g74g and method OPTIONS and status 200
2016-06-07 10:15:25,935 INFO - Creating integration with type MOCK
2016-06-07 10:15:27,077 INFO - Creating method for api id g1sns1g74g and resource id hrrson with method options
2016-06-07 10:15:28,332 INFO - Creating resource 'general' on lzk1l7
2016-06-07 10:15:29,546 INFO - Creating method response for api g1sns1g74g and method GET and status 200
2016-06-07 10:15:29,862 INFO - Found reference to existing model MonitorGeneral
2016-06-07 10:15:30,444 INFO - Creating method response for api g1sns1g74g and method GET and status 400
2016-06-07 10:15:30,745 INFO - Found reference to existing model Error
2016-06-07 10:15:31,315 INFO - Creating method response for api g1sns1g74g and method GET and status 404
2016-06-07 10:15:31,619 INFO - Found reference to existing model Error
2016-06-07 10:15:32,206 INFO - Creating method response for api g1sns1g74g and method GET and status 500
2016-06-07 10:15:32,503 INFO - Found reference to existing model Error
2016-06-07 10:15:33,131 INFO - Creating method parameter for api g1sns1g74g and method GET with name method.request.header.Content-Type
2016-06-07 10:15:33,447 INFO - Creating method parameter for api g1sns1g74g and method GET with name method.request.header.Accept
2016-06-07 10:15:33,751 INFO - Creating integration with type AWS
2016-06-07 10:15:37,158 INFO - Creating method for api id g1sns1g74g and resource id 2p46m6 with method get
2016-06-07 10:15:37,723 INFO - Creating method response for api g1sns1g74g and method OPTIONS and status 200
2016-06-07 10:15:38,611 INFO - Creating integration with type MOCK
2016-06-07 10:15:39,726 INFO - Creating method for api id g1sns1g74g and resource id 2p46m6 with method options
2016-06-07 10:15:40,981 INFO - Creating resource 'network' on lzk1l7
2016-06-07 10:15:42,224 INFO - Creating method response for api g1sns1g74g and method GET and status 200
2016-06-07 10:15:42,527 INFO - Found reference to existing model MonitorNetwork
2016-06-07 10:15:43,112 INFO - Creating method response for api g1sns1g74g and method GET and status 400
2016-06-07 10:15:43,408 INFO - Found reference to existing model Error
2016-06-07 10:15:43,977 INFO - Creating method response for api g1sns1g74g and method GET and status 404
2016-06-07 10:15:44,272 INFO - Found reference to existing model Error
2016-06-07 10:15:44,849 INFO - Creating method response for api g1sns1g74g and method GET and status 500
2016-06-07 10:15:45,140 INFO - Found reference to existing model Error
2016-06-07 10:15:45,709 INFO - Creating method parameter for api g1sns1g74g and method GET with name method.request.header.Content-Type
2016-06-07 10:15:46,021 INFO - Creating method parameter for api g1sns1g74g and method GET with name method.request.header.Accept
2016-06-07 10:15:46,330 INFO - Creating integration with type AWS
2016-06-07 10:15:49,734 INFO - Creating method for api id g1sns1g74g and resource id vn0oei with method get
2016-06-07 10:15:50,302 INFO - Creating method response for api g1sns1g74g and method OPTIONS and status 200
2016-06-07 10:15:51,169 INFO - Creating integration with type MOCK
2016-06-07 10:15:52,286 INFO - Creating method for api id g1sns1g74g and resource id vn0oei with method options
2016-06-07 10:15:53,549 INFO - Creating resource 'process' on lzk1l7
2016-06-07 10:15:54,774 INFO - Creating method response for api g1sns1g74g and method GET and status 200
2016-06-07 10:15:55,079 INFO - Found reference to existing model MonitorProcess
2016-06-07 10:15:55,650 INFO - Creating method response for api g1sns1g74g and method GET and status 400
2016-06-07 10:15:55,946 INFO - Found reference to existing model Error
2016-06-07 10:15:56,509 INFO - Creating method response for api g1sns1g74g and method GET and status 404
2016-06-07 10:15:56,804 INFO - Found reference to existing model Error
2016-06-07 10:15:57,370 INFO - Creating method response for api g1sns1g74g and method GET and status 500
2016-06-07 10:15:57,654 INFO - Found reference to existing model Error
2016-06-07 10:15:58,226 INFO - Creating method parameter for api g1sns1g74g and method GET with name method.request.header.Content-Type
2016-06-07 10:15:58,535 INFO - Creating method parameter for api g1sns1g74g and method GET with name method.request.header.Accept
2016-06-07 10:15:58,836 INFO - Creating integration with type AWS
2016-06-07 10:16:03,244 INFO - Creating method for api id g1sns1g74g and resource id lk85wi with method get
2016-06-07 10:16:03,811 INFO - Creating method response for api g1sns1g74g and method OPTIONS and status 200
2016-06-07 10:16:04,670 INFO - Creating integration with type MOCK
2016-06-07 10:16:05,796 INFO - Creating method for api id g1sns1g74g and resource id lk85wi with method options
2016-06-07 10:16:05,798 INFO - Creating deployment for API g1sns1g74g and stage dev
***Configuring Dashboard on S3...
Detected g1sns1g74g as API Gateway Identifier
make_bucket: s3://dragonpulse-exteliotnodejs/
upload: css/db.css to s3://dragonpulse-exteliotnodejs/css/db.css
upload: css/c3.min.css to s3://dragonpulse-exteliotnodejs/css/c3.min.css
upload: css/font-awesome.css to s3://dragonpulse-exteliotnodejs/css/font-awesome.css
upload: css/bootstrap-theme.css to s3://dragonpulse-exteliotnodejs/css/bootstrap-theme.css
upload: css/bootstrap-theme.min.css to s3://dragonpulse-exteliotnodejs/css/bootstrap-theme.min.css
upload: css/bootstrap-theme.css.map to s3://dragonpulse-exteliotnodejs/css/bootstrap-theme.css.map
upload: fonts/FontAwesome.otf to s3://dragonpulse-exteliotnodejs/fonts/FontAwesome.otf
upload: css/styles.css to s3://dragonpulse-exteliotnodejs/css/styles.css
upload: css/font-awesome.min.css to s3://dragonpulse-exteliotnodejs/css/font-awesome.min.css
upload: fonts/fontawesome-webfont.woff to s3://dragonpulse-exteliotnodejs/fonts/fontawesome-webfont.woff
upload: css/bootstrap.css to s3://dragonpulse-exteliotnodejs/css/bootstrap.css
upload: css/bootstrap.min.css to s3://dragonpulse-exteliotnodejs/css/bootstrap.min.css
upload: fonts/glyphicons-halflings-regular.eot to s3://dragonpulse-exteliotnodejs/fonts/glyphicons-halflings-regular.eot
upload: fonts/glyphicons-halflings-regular.ttf to s3://dragonpulse-exteliotnodejs/fonts/glyphicons-halflings-regular.ttf
upload: fonts/glyphicons-halflings-regular.woff to s3://dragonpulse-exteliotnodejs/fonts/glyphicons-halflings-regular.woff
upload: fonts/fontawesome-webfont.eot to s3://dragonpulse-exteliotnodejs/fonts/fontawesome-webfont.eot
upload: fonts/fontawesome-webfont.ttf to s3://dragonpulse-exteliotnodejs/fonts/fontawesome-webfont.ttf
upload: fonts/fontawesome-webfont.woff2 to s3://dragonpulse-exteliotnodejs/fonts/fontawesome-webfont.woff2
upload: fonts/glyphicons-halflings-regular.woff2 to s3://dragonpulse-exteliotnodejs/fonts/glyphicons-halflings-regular.woff2
upload: fonts/glyphicons-halflings-regular.svg to s3://dragonpulse-exteliotnodejs/fonts/glyphicons-halflings-regular.svg
upload: gfxs/dragonboard410c_logo_bs.png to s3://dragonpulse-exteliotnodejs/gfxs/dragonboard410c_logo_bs.png
upload: gfxs/dragonboard410c_logo.png to s3://dragonpulse-exteliotnodejs/gfxs/dragonboard410c_logo.png
upload<EMAIL_ADDRESS>to<EMAIL_ADDRESS>upload<EMAIL_ADDRESS>to<EMAIL_ADDRESS>upload<EMAIL_ADDRESS>to<EMAIL_ADDRESS>upload<EMAIL_ADDRESS>to<EMAIL_ADDRESS>upload: gfxs/ready_to_fuel.png to s3://dragonpulse-exteliotnodejs/gfxs/ready_to_fuel.png
upload: css/bootstrap.css.map to s3://dragonpulse-exteliotnodejs/css/bootstrap.css.map
upload<EMAIL_ADDRESS>to<EMAIL_ADDRESS>upload: gfxs/ajax-loader.gif to s3://dragonpulse-exteliotnodejs/gfxs/ajax-loader.gif
upload<EMAIL_ADDRESS>to<EMAIL_ADDRESS>upload: gfxs/volume-bg-sm.jpg to s3://dragonpulse-exteliotnodejs/gfxs/volume-bg-sm.jpg
upload: gfxs/volume-bg-md.jpg to s3://dragonpulse-exteliotnodejs/gfxs/volume-bg-md.jpg
upload: gfxs/volume-bg-lg.jpg to s3://dragonpulse-exteliotnodejs/gfxs/volume-bg-lg.jpg
upload: ./index.html to s3://dragonpulse-exteliotnodejs/index.html
upload<EMAIL_ADDRESS>to<EMAIL_ADDRESS>upload: fonts/fontawesome-webfont.svg to s3://dragonpulse-exteliotnodejs/fonts/fontawesome-webfont.svg
upload: js/bootstrap.min.js to s3://dragonpulse-exteliotnodejs/js/bootstrap.min.js
upload: js/config.js to s3://dragonpulse-exteliotnodejs/js/config.js
upload: js/config_template.js to s3://dragonpulse-exteliotnodejs/js/config_template.js
upload: gfxs/search.jpg to s3://dragonpulse-exteliotnodejs/gfxs/search.jpg
upload: gfxs/volume-bg-xs.jpg to s3://dragonpulse-exteliotnodejs/gfxs/volume-bg-xs.jpg
upload: js/dragonpulse.js to s3://dragonpulse-exteliotnodejs/js/dragonpulse.js
upload: js/npm.js to s3://dragonpulse-exteliotnodejs/js/npm.js
upload: js/bootstrap.js to s3://dragonpulse-exteliotnodejs/js/bootstrap.js
upload: js/moment.min.js to s3://dragonpulse-exteliotnodejs/js/moment.min.js
upload: js/c3.min.js to s3://dragonpulse-exteliotnodejs/js/c3.min.js
upload: js/jquery-1.11.1.min.js to s3://dragonpulse-exteliotnodejs/js/jquery-1.11.1.min.js
upload: gfxs/board.png to s3://dragonpulse-exteliotnodejs/gfxs/board.png
upload: js/d3.min.js to s3://dragonpulse-exteliotnodejs/js/d3.min.js
**Configuring Bucket Policy on S3...
**Provisioning a Thing...
Creating thing cd3e31f100874f99951fd25fc7e14b68
Creating principal
Attaching principal to thing cd3e31f100874f99951fd25fc7e14b68
Attaching policy DragonPulse to principal for thing cd3e31f100874f99951fd25fc7e14b68
Detected cd3e31f100874f99951fd25fc7e14b68 as Thing ID
**Installing Certificates for the Device...
**Building Client...
npm WARN package.json<EMAIL_ADDRESS>No README data
<EMAIL_ADDRESS>node_modules/node-schedule
├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS>node_modules/aws-iot-device-sdk
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Build Complete

Access your DragonPulse API Gateway here: https://g1sns1g74g.execute-api.us-east-1.amazonaws.com/dev
Access your DragonPulse Dashboard here: http://dragonpulse-exteliotnodejs.s3-website-us-east-1.amazonaws.com
linaro@linaro-alip:~/projects/arrow/aws-iot-dragonpulse-js/scripts$

is iftop running?

When there are errors in the initial build/run/install and the script does not exit properly, artifacts are created in AWS, which need to be cleaned up, or else it might affect the subsequent build process.
In most cases, before you run setup.sh again, you should run:
scripts/uninstall.sh

done


Mutli requests in the use of CLI

When I want to wirte more than one request in the request.xml and test with CLI, how should I write the request.xml?

Are you referring to the Multiple Decision Profile? Are the requests related to each other somehow?
Maybe give an example in a pseudo language or, even better, show the various XACML requests.xml that you'd like to merge.

No reply in 6 months, closing.


Create #on_for method, alias for #on

When reading the examples provided I think there is a readable syntax that can
emerge from togls. In times where we are passing on message in a feature
block, there can be a better flow when reading togls definitions.
#original
Togls.features do
  feature(:new_contact_form, "use new contact form").on(alpha_testers)
end
#alias
Togls.features do
  feature(:new_contact_form, "use new contact form").on_for(alpha_testers)
end

@RyanHedges I don't know that this maps in all cases.

I think the one case it works for is when it is a group. However, what if it is was like an ABTestingRule or something?

Some examples we talked about.
ab_test_rule = Togls::Rules::ABTest.new
feature(:foo, “aeuaouaoeu”).on(ab_test_rule)
feature(:foo, “auaeuaoeua”).on_for(ab_test_rule)

evens = Togls::EvensRule.new
feature(:foo, “auaeaoeuoe”).on(evens)
feature(:foo, “auaeaoeuoe”).on_for(evens)

random = Togls::Rules::Random.new
feature(:foo, “aueauoeuaoeuao”).on(random)
feature(:foo, “aueauoeuaoeuao”).on_for(random)

I am closing this PR because I want to shelve it for now, until we work out the details about the DSL changes we have been working through with the addition of repositories as a concept.

@RyanHedges, I am deleting this branch as I want this repositories branches to be pristine. This means we should probably setup personal forks of this repository, create branches there and create PRs from there.


hotbar alignment setting does nothing

MC version 1.20.1

Hi, in what way it does nothing? Do the other aspects of the mod work? Do you have more hotbar slots than the value of max_slots_in_hotbar_row in the client config? Are the slots in a single row, or multiple, but with the wrong alignment?

the other aspects of the mod work, i'm currently only using the mod to limit the amount of shown hotbar slots to 3, and regardless of the value in the config these slots are always centred.
This happens even with no other mods added.

The alignment is set to Left here.

Ah, I see. The alignment really is more about how the additional rows are aligned relative to the bottom one, not how the entire thing is aligned, though I can see why that would be useful.


Heroes tutorial toh-pt1.html does not mention to add platform_directives to pubspec.yaml

I'm submitting a because for a beginner it is not obvious if you add ngModel that you need to add platform_directives to the pubspec.yaml

[x ] bug report

Expected/desired behavior
Info in the tutorial step about this
Forgot to add that I am doing the Angular2-Dart heroes tutorial.

Let's ping @chalin in here.

Thanks again for having reported this issue. A fix has been submitted (#1647) which brings all pubspec.yaml files to a common baseline, that includes common directives.


Request: Export Prometheus Metric for backups

Description
We create backups in PostgreSQL via action create-backup as a shell script in crontab.
It would be nice to have a way to monitor via Prometheus if backup failed or not as well as a backup counter.

Hi @amandahla , thank you for reaching us!
Our current design is to print clear and verbose log messages on default INFO level informing users about Successful and Failed backups (e.g. here on MySQL). Further all logs sent by COS to Loki and Alert rules can be triggered for the failed case clearly. Is this approach OK with you?
BTW @dragomirp , @marceloneppel I do not see the same commits for PostgreSQL (K8s), did we miss them OR they were part of initial implementation? This is something we need to check.


Moved sheet Ids and updated other files

closes #25

Renamed util files and moved the ids to sheets.ts