fix version check bug in get_xpu_available_memory

What does this PR do?
This PR fixed the version check bug introduced in #3076. Below are the verified results with ipex "2.5.10+gitad5c117":
from accelerate.utils.memory import get_xpu_available_memory

mem = get_xpu_available_memory(1)
print(mem)
#<PHONE_NUMBER>6

@muellerzr

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Export to OBJ

...or any open & easily readable 3D asset format. (Something that can be read in the browser).
Not sure if OBJ supports color?
Format should also support adding metadata (we might want to add sound / velocity info).

OBJ does not support colored points. PLY does though.


Addition of tutorial notebooks for workshops

Creation of new tutorials folder with notebooks from workshops 1 and 2

@mpaget -- please review as soon as possible so the materials can be sent out to participants. Thanks!


Feature/tclune/#119 use gfio shared in pfio

Debatable as to which category of 0-diff this actually is.
Unfortunately, there as one use of containers in FV that relied upon the export from MAPL.   So in this weird instance, a PR on FV must precede approval of this PR.
Working on the other PR now, but need to log out.

This should be based against develop not master, I think.

Interesting.   I was able to change the base with the "Edit" button at the top.  In the past I've resorted to closing PR's and then resubmitting when I made this mistake.   Just in the off chance that others did not know this.


transformWrite crashes my app

My app is crashing whenever I do anything with stream() in my transformWrite function. I'm just following the example from step 20 of the Meteor-Angular tutorial. I'm working locally and have only imagemagick installed using brew on OS X. I also tried having graphicsmagick installed and also ONLY graphicsmagick. I'm back to only imagemagick because that's what the host, Modulus.io has.
The server just keeps rebooting after the crash. I've tried doing the stream() as a function with and without a callback but that doesn't seem to matter. Please advise, thank you.
Here is my code:
var DataImages, dataImageLargeStoreConfig, dataImageThumbStoreConfig, dataImagesStoreLarge, dataImagesStoreThumb;

if (gm.isAvailable) {
  console.log('gm is available');
} else {
  console.log('Error: gm is not available');
}

dataImageLargeStoreConfig = {};

dataImageThumbStoreConfig = {
//this transformWrite implementation is directly from the Angular Meteor tutorial.
  transformWrite: function(fileObj, readStream, writeStream) {
    console.log('transformWrite');
    gm(readStream, fileObj.name()).resize('50', '50').stream().pipe(writeStream);
  },
};

dataImagesStoreLarge = new FS.Store.GridFS('dataImagesLarge', dataImageLargeStoreConfig);
dataImagesStoreThumb = new FS.Store.GridFS('dataImagesThumb', dataImageThumbStoreConfig);

DataImages = new FS.Collection('dataImages', {
  stores: [dataImagesStoreLarge, dataImagesStoreThumb],
  filter: {
    allow: {
      contentTypes: ['image/*']
    }
  }
});

DataImages.allow({
  insert: function(userId) {
    if (userId) {
      return true;
    } else {
      return false;
    }
  },
  remove: function(userId) {
    if (userId) {
      return true;
    } else {
      return false;
    }
  },
  download: function() {
    return true;
  },
  update: function(userId) {
    if (userId) {
      return true;
    } else {
      return false;
    }
  }
});

Meteor.publish('dataImages', function() {
  return DataImages.find({});
});

This results in the following:
I20150807-16:22:25.877(-7)? gm is available
I20150807-16:22:25.879(-7)? Meteor._wrapAsync has been renamed to Meteor.wrapAsync
I20150807-16:22:25.879(-7)? transformWrite
W20150807-16:22:26.016(-7)? (STDERR)
W20150807-16:22:26.017(-7)? (STDERR) events.js:72
W20150807-16:22:26.017(-7)? (STDERR)         throw er; // Unhandled 'error' event
W20150807-16:22:26.017(-7)? (STDERR)               ^
W20150807-16:22:26.018(-7)? (STDERR) Error: write EPIPE
W20150807-16:22:26.018(-7)? (STDERR)     at errnoException (net.js:905:11)
W20150807-16:22:26.018(-7)? (STDERR)     at Object.afterWrite (net.js:721:19)

I don't know why brew didn't work – maybe imagemagick or its libs weren't in my path but in the end I uninstalled via brew and installed a binary from here, http://www.imagemagick.org/script/binary-releases.php#macosx. I no longer get the crashing error and am now only troubleshooting why my thumbnail shows as a broken image but hopefully that's unrelated and easily solved.


Failed to activate the retro-gruvbox theme

[Enter steps to reproduce below:]

...
...

Atom Version: 0.210.0
System: Mac OS X 10.10.3
Thrown From: one-dark-syntax package, v0.7.1
Stack Trace
Failed to activate the retro-gruvbox theme
At variable @mono-3 is undefined in /Applications/Atom.app/Contents/Resources/app.asar/node_modules/one-dark-syntax/styles/language.less:2:9

LessError: variable @mono-3 is undefined
  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/one-dark-syntax/styles/language.less:2:9

Commands
     -0:34.7.0 settings-view:install-packages-and-themes (ul.list-inline.tab-bar.inset-panel)

Config
{
  "core": {
    "themes": [
      "atom-dark-ui",
      "one-dark-syntax"
    ]
  }
}

Installed Packages
# User
atom-jade, v0.3.0
autocomplete-php, v0.3.6
autocomplete-python, v0.4.3
autocomplete-ruby, v0.1.0
color-picker, v2.0.7
language-htaccess, v0.1.1
minimap, v4.10.0

# Dev
No dev packages

Thanks for the report, @Nanaotakashi -- are you able to reliably reproduce this? I just tried installing and switching to the retro-gruvbox theme and wasn't able to trigger this problem.
@kevinsawicki wondering if you have :bulb: about what happened here. The error message says "Failed to activate the retro-gruvbox theme", but the stack trace mentions only the one-dark-syntax theme. :confused:

I can't reproduce it either.

At variable @mono-3 is undefined

I think @mono-3 is color variable that gets used for comments. So maybe package used that color and then when switching to another theme, that color is not available and it complains? But that's just a wild guess.
@Nanaotakashi What if you reload Atom after you active the retro-gruvbox theme, do you still see the error?

@simurai It works after I reinstalled it after I uninstalled & restarted my Macbook.
Thanks @izuzak & @simurai


SwiftLint dependency

Hello, I have a problem after updating SPM packages in the project, and SwiftLint automaicaly updated to 0.55.1
And I get this error:
product 'SwiftLintPlugin' required by package 'jsonpreview' target 'JSONPreview' not found in package 'SwiftLint'.
Coul You please provide some resolution for this issue?
Thanks

Hello! 👋
SwiftLint 0.55.0 splits the SwiftLintPlugin plugin into SwiftLintBuildToolPlugin and SwiftLintCommandPlugin. For details, see: https://github.com/realm/SwiftLint/commit/e4e3545b712460509db6bc159838679f7b11b7cc
Currently, the latest version of JSONPreview (2.3.1) uses version 0.54.0 and has not been upgraded to the latest SwiftLint version.
So if you want to solve this problem, it is recommended to fix the SwiftLint version to 0.54.0 in the Package.swift file of your project.

Hello, thanks for quick reply. I dont need exact version of SwiftLint, but i cannot update packages because it will update SwifLint too.  I will try to lock it using xcodeproj SPM manager.

Hello, I just got error on newest Xcode for swiftlint, is there any ETA for updating it in your library? Thanks

Hello, I just got error on newest Xcode for swiftlint, is there any ETA for updating it in your library? Thanks

Could you please try this PR #26? If it works fine, I will merge it and release a new version.
If you have any issues, please let me know which version of Swiftlint and Xcode you are using. I am currently still using 15.3 and have not upgraded to 16 beta.

Hi, I am not able to select nor that branch, or commit in xcode. There is allways error. What am I doing wrong please?

Hello, I have a problem, when i select this branch, it will show this error

Hello, I have a problem, when i select this branch, it will show this error

I tried using the branch for reference in demo and it worked without any problems

Im sorry, i got it to work. Its okay, I could also update SwftLint to newest version. Thank You and sorry again


Automatically test XDR type-switches

In Horizon there are several places where we exhaustively go over union type tags.
e.g. 1 :
	switch operation.OperationType() {
	case xdr.OperationTypeCreateAccount:
		foo()
	case xdr.OperationTypeCreateAccount:
		bar()
	...
	}

e.g. 2 :
	switch effectType {
	case EffectTypeNames[EffectAccountCreated]:
		foo()
	case EffectTypeNames[EffectAccountCredited]:
		bar()
	...
	}

When adding new types (e.g. a new operation or effect) it's easy to miss updating some of those switches.
We should strive to create automatic unit tests which notify a case entry was missed whenever we add a new type.

For operation types we can use reflection, since we have all the symbol names are automatically generated in xdr.operationTypeMap .
For effects we can go over the keys of effects.EffectTypeNames.
We should do something similar for all the history.Effect* symbols, but we will probably need to add some extra machinery for it (or fix the replication of effects.Effect* and history.Effect* once and for all).


Use gulp-connect?

https://www.npmjs.com/package/gulp-connect
Any reason we can't use this like in https://github.com/touchstonejs/touchstonejs ?

Should be fine
Express was originally used so apps could be easily hosted on remote servers for preview builds (e.g Heroku)
So before these tasks were extracted, that was shared
Makes sense to use gulp-connect and live reload, and I don't think there's still a need to consolidate this. If we want to publish a preview server for a touchstone app that can be handled elsewhere...
Thoguhts?


Fix the black background that appears after an ImageSprite is rotated.

… Ref issue #400
aia for testing https://groups.google.com/group/mitappinventortest/attach/8ef5d5ec178873d4/spriteRotateBroken.aia?part=0.1&authuser=0&view=1

Thanks @halatmit.
It turned out that there is a special method for that :
public void setHasAlpha (boolean hasAlpha)
Link : http://developer.android.com/reference/android/graphics/Bitmap.html#setHasAlpha(boolean)
I will use it instead.

Terrific!  It's great you found that.  bravo.
== Hal Abelson
<EMAIL_ADDRESS>Prof. of Comp. Sci. and Eng.
MIT Dept. of Elec. Eng. and Comp. Sci.
MIT Media Lab, Second Class Faculty
On Sun, May 31, 2015 at 8:28 PM, Mouhamadou Oumar Sall <
<EMAIL_ADDRESS>wrote:

Thanks @halatmit https://github.com/halatmit.
It turned out that there is a special method for that :
public void setHasAlpha (boolean hasAlpha)
Link :
http://developer.android.com/reference/android/graphics/Bitmap.html#setHasAlpha(boolean)
I will use it instead.
—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/403#issuecomment-107266615
.

Thanks :+1:

LGTM
I'm checking with people on the Android team to try to find out why this fix became necessary, what's here now seems to work.

Merge this, but then look at issue #407 for a (hopefully) better fix.

Thanks @halatmit, I'm going to have a look at it.

Do you mean issue #407?   If you can fix this now, then it should be
combined merged into pr #403.
I'm going to remove the note on moving #403 to gerrit, and wait for you to
try the method suggested in #407.
== Hal Abelson
<EMAIL_ADDRESS>Prof. of Comp. Sci. and Eng.
MIT Dept. of Elec. Eng. and Comp. Sci.
MIT Media Lab, Second Class Faculty
On Tue, Jun 2, 2015 at 9:41 PM, Mouhamadou Oumar Sall <
<EMAIL_ADDRESS>wrote:

Thanks @halatmit https://github.com/halatmit, I'm going to have a look
at it.
—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/403#issuecomment-108155573
.

Ok I'm trying the third method of #407 to see if it fixes the bug we had.

thanks.   even if it brings that bug back, you should be able to fix it
with setAlpha as you did before, and it's a better drawing method (if it
works)
== Hal Abelson
<EMAIL_ADDRESS>Prof. of Comp. Sci. and Eng.
MIT Dept. of Elec. Eng. and Comp. Sci.
MIT Media Lab, Second Class Faculty
On Tue, Jun 2, 2015 at 9:50 PM, Mouhamadou Oumar Sall <
<EMAIL_ADDRESS>wrote:

Ok I'm trying the third method of #407
https://github.com/mit-cml/appinventor-sources/issues/407 to see if it
fixes the bug we had.
—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/403#issuecomment-108158396
.

subsumed by #408

closing


Lambda function

Are you guys using the lambda function for your work?

Most probably, a lambda and another func.

Yes we used lambda and map function.


Skip journal creation on import

Adds option to disable journal creation on import. Since it's executed on each import that might save a lot of bandwidth, for our app it's around 30% of all requests.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the changelog if the new code introduces user-observable changes. See changelog entry format for details.

@toptal-anvil ping reviewers


Security Update

deprecated な request から @cypress/request に移行して脆弱性対応
request  *
Severity: moderate
Server-Side Request Forgery in Request - https://github.com/advisories/GHSA-p8p7-x288-28g6
Depends on vulnerable versions of tough-cookie
No fix available
node_modules/request
  gulp-css-resource-cache-buster  *
  Depends on vulnerable versions of request
  node_modules/gulp-css-resource-cache-buster

tough-cookie  <4.1.3
Severity: moderate
tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3
No fix available
node_modules/request/node_modules/tough-cookie

:thx:


How do I reveal?

I've submitted a bid here. How can I reveal my bid?

Go back to the DApp during the reveal phase and it will guide you through it.


feature request: reset settings and custom strings to defaults

hi again!
I am trying out the custom TSM strings. however there's no way to reset back to the defaults.
such option would be lovely.
thanks!

Sure thing! I put it onto the todo

Included with 5.4+


How would one mark out specific streets

This plugin looks impressive. I've been fiddling with a app-idea that's centered around a map, I need to 'mark out streets'. So not setting a marker but rather color whole streets making them stand out on the map. Is this something that can be done with react-native-maps? Maybe with the Polyline? I couldn't find the answer while checking out the readme and docs.

@ippa polylines could be used to cover streets. It might not look super pretty... but probably worth a try to see if it will suit your needs.
To be clear, this is not a react native limitation or a limitation of this plugin... I dont think there's any better way. If you find one and this library doesn't support it though, let me know.

Thanks for the quick reply. I'll fiddle around as see what I come up with :).


Use G4 instances to avoid capacity issue

AWS often fails to provision P3 instances in EC2 due to global capacity shortage. So for now the HPO Studio notebook should use the G4 instance type.

How is P4 availability? We generally should be promoting the latest and greatest here anyway.

P4 is a very big GPU instance (1152 GB RAM, 8 A100s), not sure how it would be easier to get.


Upload XTRLPAY

website; xtrl.online
telegram; https://t.me/XTRLPay
twitter; http://twitter.com/PayXTRL
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[ ] Image size: 256 by 256 px

website; xtrl.online
telegram; https://t.me/XTRLPay
twitter; http://twitter.com/PayXTRL
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x]  Filename in the lowercase format
[x]  Image format: png
[ ]  Image size: 256 by 256 px


How do I delete cache?

I'm using this library, I modified the original svg but because of data-cache I see the previous version, how can I reset the cache?
(I want the feature, but I want to force update the cache)

nvm...
  indexedDB.deleteDatabase('keyval-store')


Exclude www.ejumpcut.org

www.ejumpcut.org is about cultural analysis since 1974, basically a number of essays about films and books.

@sergeevabc It's no longer blocked. You can close this issue.


Missing or badly formatted authorization token

Hi there, I'm tired of getting this.I use your code and  upload in Heroku  and using development Apple URL can you help me in this
Thanks for your time.

Duplicate of #3
I haven't had time to work on this since, and have no time to look at this now. But using Apple's production server seemed to work for me. Give that a go.

Now its working for me
Thanks for your time.
And sorry for trouble.


Spark UI: Fallback to private IP if public DNS not available

I am using the spark-ec2 script to launch a cluster in an EC2 VPC which does not have a public DNS available. With the current configuration, the links in the Spark UI are not properly configured. This change will allow for the use of the master's private IP address if a public hostname can not resolve.
resubmitted against branch-1.4 per request, additional improvement/fix included

LGTM. Thanks @tkunicki -- merging this.


Migrating to typescript and latest packages

I'm gonna do a better job at detailing this PR. Just wanted to provide the latest implementations
Feel free to comment on anything you might want to. 🚀

🤔 This test also fails intermittently for me sometimes. Do you have any ideas about what can be the cause?
As you can see in this screenshot, it is passing as expected.

It worked this time 👍

I promise that I will check it next week since am on ✈ mood


Add instance information when getting pipeline info

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Add field instances in the query GQL_GET_PIPELINE

Trello card: [#103] Add instance information when getting pipeline info


Cask adobe-photoshop-lightroom fails on install

General troubleshooting steps

[x] I have checked the instructions for reporting bugs (or making requests) before opening the issue.

[x] None of the templates was appropriate for my issue, or I’m not sure.

[x] I ran brew update-reset && brew update and retried my command.
[x] I ran brew doctor, fixed as many issues as possible and retried my command.
[x] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
When trying to install the cask adobe-photoshop-lightroom, the installation repeatedly fails on the same point (see also the output below).
A message of a failed command '/usr/bin/killall -kill SafariNotificationAgent' is given.
This seems to be the same problem as was reposted in bug report #27804. The fix provided by #27884 does not seem to have fixed this issue.
When checking, the SafariNotificationAgent daemon does not seem to be running.
-	0	com.apple.SafariNotificationAgent
Is this a problem with checking if the SafariNotificationAgent is active?
Output of your command with --verbose --debug
brew cask install adobe-photoshop-lightroom --verbose --debug
==> Hbc::Installer#install
==> Printing caveats
==> Caveats
Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identify the conflicting processes.

==> Hbc::Installer#fetch
==> Satisfying dependencies
==> Installing Cask dependencies: caskroom/versions/adobe-photoshop-lightroom600
caskroom/versions/adobe-photoshop-lightroom600 ...
==> Hbc::Installer#install
==> Printing caveats
==> Caveats
Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identify the conflicting processes.

==> Hbc::Installer#fetch
==> Downloading
==> Downloading http://trials3.adobe.com/AdobeProducts/LTRM/6/osx10/Lightroom_6_LS11.dmg
Already downloaded: /Users/zeillemaker/Library/Caches/Homebrew/Cask/adobe-photoshop-lightroom600--6.0.dmg
==> Downloaded to -> /Users/zeillemaker/Library/Caches/Homebrew/Cask/adobe-photoshop-lightroom600--6.0.dmg
==> Verifying download
==> Determining which verifications to run for Cask adobe-photoshop-lightroom600
==> Checking for verification class Hbc::Verify::Checksum
==> 1 verifications defined
Hbc::Verify::Checksum
==> Running verification of class Hbc::Verify::Checksum
==> Verifying checksum for Cask adobe-photoshop-lightroom600
==> SHA256 checksums match
==> Installing Cask adobe-photoshop-lightroom600
==> Hbc::Installer#stage
==> Extracting primary container
==> Determining which containers to use based on filetype
==> Checking container class Hbc::Container::Pkg
==> Checking container class Hbc::Container::Ttf
==> Checking container class Hbc::Container::Otf
==> Checking container class Hbc::Container::Air
==> Checking container class Hbc::Container::Cab
==> Checking container class Hbc::Container::Dmg
==> Executing: ["/usr/bin/hdiutil", "imageinfo", "/Users/zeillemaker/Library/Caches/Homebrew/Cask/adobe-photoshop-lightroom600--6.0.dmg"]
==> Using container class Hbc::Container::Dmg for /Users/zeillemaker/Library/Caches/Homebrew/Cask/adobe-photoshop-lightroom600--6.0.dmg
==> Executing: ["/usr/bin/hdiutil", "mount", "-plist", "-nobrowse", "-readonly", "-noidme", "-mountrandom", "/tmp", "/Users/zeillemaker/Library/Caches/Homebrew/Cask/adobe-photoshop-lightroom600--6.0.dmg"]
==> Executing: ["/usr/bin/mkbom", "-s", "-i", "/var/folders/mm/23yws5y54r95pbbh9gtsk_tw0000gn/T/20170512-5337-1eos7x5.list", "--", "/var/folders/mm/23yws5y54r95pbbh9gtsk_tw0000gn/T/20170512-5337-12i8x6w.bom"]
==> Executing: ["/usr/bin/ditto", "--bom", "/var/folders/mm/23yws5y54r95pbbh9gtsk_tw0000gn/T/20170512-5337-12i8x6w.bom", "--", "/private/tmp/dmg.WyqWba", "/usr/local/Caskroom/adobe-photoshop-lightroom600/6.0"]
==> Executing: ["/usr/sbin/diskutil", "eject", "/private/tmp/dmg.WyqWba"]
==> Creating metadata directory /usr/local/Caskroom/adobe-photoshop-lightroom600/.metadata/6.0/20170512203420.403.
==> Creating metadata subdirectory /usr/local/Caskroom/adobe-photoshop-lightroom600/.metadata/6.0/20170512203420.403/Casks.
==> Installing artifacts
==> Determining which artifacts are present in Cask adobe-photoshop-lightroom600
==> 3 artifact/s defined
#<Hbc::Artifact::PreflightBlock:0x007fd5b38f4f68>
#<Hbc::Artifact::Uninstall:0x007fd5b38f4ea0>
#<Hbc::Artifact::Zap:0x007fd5b38f4e00>
==> Installing artifact of class Hbc::Artifact::PreflightBlock
==> Executing: ["/usr/bin/killall", "-kill", "SafariNotificationAgent"]
==> No matching processes belonging to you were found
==> Purging files for version 6.0 of Cask adobe-photoshop-lightroom600
Error: Command failed to execute!

==> Failed command:
/usr/bin/killall -kill SafariNotificationAgent

==> Standard Output of failed command:

==> Standard Error of failed command:
No matching processes belonging to you were found

==> Exit status of failed command:
#<Process::Status: pid 5487 exit 1>
Error: nothing to install/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:13:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:115:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:158:in `process'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:92:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:163:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:163:in `rescue in process'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:149:in `process'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:92:in `<main>'

Output of brew cask doctor
brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.2.0-66-g459fef3
caskroom/homebrew-cask (git revision d4a42; last commit 2017-05-12)
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask (6 files, 970.3MB)
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3620 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions (161 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core (0 casks)
/usr/local/Homebrew/Library/Taps/vitorgalvao/homebrew-tiny-scripts (0 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin16
/Library/Ruby/Site/2.0.0/universal-darwin16
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16
==> Environment Variables
LC_CTYPE="UTF-8"
PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/bash"

Looks like the problem is with the preflight for adobe-photoshop-lightroom600.
https://github.com/caskroom/homebrew-versions/issues/3827

I didn't see the difference between the lightroom & lightroom600 preflight.
Works like a charm, thanks!


not compatible with cordova-ios 6.1.0

one of this plugins dependencies is cordova-plugin-wkwebview-engine, which is not compatible with cordova-ios 6.1.0 and cause build errors. cordova-plugin-wkwebview-engine is integrated into cordova-ios 6.1.0 and  is not required anymore

had the same issue, removed the dependency, and updated the path in the fork here,
https://github.com/khatridev/cordova-plugin-migrate-localstorage

@khatridev Amazing!


VTH-50:Detect confirmation email failure and encourage the user to save a copy of their form

I went over these changes while in NavpreetGrewal/feature/refactor_email_service. I tried sending an email to myself (both normal and feedback). I made some suggestions, but it looked pretty good to me.


DAT-8744 DropColumn fix for DB2 on z/OS

Environment
Liquibase Version: 4.3.0++
Liquibase Integration & Version: CLI
Liquibase Extension(s) & Version: na
Database Vendor & Version: DB2 on z/OS 11+
Operating System Type & Version: any
Pull Request Type

[ ] Bug fix (non-breaking change which fixes an issue.)
[ ] Enhancement/New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Description
A clear and concise description of the issue being addressed.  Additional guidance here.

Describe the actual problematic behavior.
Ensure private information is redacted.

Starting from version 11 of DB2 on z/OS it is possible to commit statement for dropping a column:
https://www.ibm.com/docs/en/db2-for-zos/11?topic=statements-alter-table
Though a column wouldn't be dropped right after commit it is placed into REORG state and might be dropped later.
This PR is created to add a possibility to to commit such statement.
Fast Track PR Acceptance Checklist:

[x] Build is successful and all new and existing tests pass
[ ] Added Unit Test(s)
[ ] Added Integration Test(s)
[x] Added Test Harness Test(s)
[ ] Documentation Updated

Need Help?
Come chat with us on our discord channel

Hi, we are researchers in software engineering, working on a novel GitHub bot for helping understand build failures.
We have run our prototype bot flacocobot on this failing PR and below are the results.
What do you think?
Thanks a lot! --Davide (@dginelli), André (@andre15silva), Matias (@martinezmatias), Benjamin (@danglotb), Martin (@monperrus)

The line (16) of the file liquibase/util/csv/CSVWriter has been identified with a suspiciousness value of 70.71%.

Failing tests that cover this line

liquibase.changelog.OfflineChangeLogHistoryServiceTest#testNewCsvFileDeletion
liquibase.changelog.OfflineChangeLogHistoryServiceTest#testInitOfflineWithOutputLiquibaseSqlAndNoDdl
liquibase.changelog.OfflineChangeLogHistoryServiceTest#testInitOfflineWithOutputLiquibaseSql

liquibase/util/csv/CSVWriter

The line (70) of the file liquibase/changelog/OfflineChangeLogHistoryService has been identified with a suspiciousness value of 70.71%.

Failing tests that cover this line

liquibase.changelog.OfflineChangeLogHistoryServiceTest#testNewCsvFileDeletion
liquibase.changelog.OfflineChangeLogHistoryServiceTest#testInitOfflineWithOutputLiquibaseSqlAndNoDdl
liquibase.changelog.OfflineChangeLogHistoryServiceTest#testInitOfflineWithOutputLiquibaseSql

liquibase/changelog/OfflineChangeLogHistoryService

The line (83) of the file liquibase/changelog/ChangeLogHistoryServiceFactory has been identified with a suspiciousness value of 70.71%.

Failing tests that cover this line

liquibase.changelog.OfflineChangeLogHistoryServiceTest#testNewCsvFileDeletion
liquibase.changelog.OfflineChangeLogHistoryServiceTest#testInitOfflineWithOutputLiquibaseSqlAndNoDdl
liquibase.changelog.OfflineChangeLogHistoryServiceTest#testInitOfflineWithOutputLiquibaseSql

liquibase/changelog/ChangeLogHistoryServiceFactory

The line (85) of the file liquibase/changelog/ChangeLogHistoryServiceFactory has been identified with a suspiciousness value of 70.71%.

Failing tests that cover this line

liquibase.changelog.OfflineChangeLogHistoryServiceTest#testNewCsvFileDeletion
liquibase.changelog.OfflineChangeLogHistoryServiceTest#testInitOfflineWithOutputLiquibaseSqlAndNoDdl
liquibase.changelog.OfflineChangeLogHistoryServiceTest#testInitOfflineWithOutputLiquibaseSql

liquibase/changelog/ChangeLogHistoryServiceFactory

The line (93) of the file liquibase/database/OfflineConnection has been identified with a suspiciousness value of 70.71%.

Failing tests that cover this line

liquibase.changelog.OfflineChangeLogHistoryServiceTest#testNewCsvFileDeletion
liquibase.changelog.OfflineChangeLogHistoryServiceTest#testInitOfflineWithOutputLiquibaseSqlAndNoDdl
liquibase.changelog.OfflineChangeLogHistoryServiceTest#testInitOfflineWithOutputLiquibaseSql

liquibase/database/OfflineConnection


Add support for reading and writing IA5 and BMP string types

These string types are sometimes used in structures like X.509 certificates and PKCS12 containers.

Rust 1.16 build fixed now


.netrc authentication not working with Atresplayer.com site?

Hi!
I'm trying to use .netrc to avoid having to type the username and password for www.Atresplayer.com (and to avoid having the auth. data on my history file). After some googling around, I've set-up my .netrc but regardless of how I put the info on the file, I always get a "stack trace" from youtube-dl:
Mac-JJJ:TEMP_MEDIA_VIDEOS jjarava$ youtube-dl -n -v http://www.atresplayer.com/television/series/bajo-sospecha/temporada-1/capitulo-1-captulo_2015021600453.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-n', '-v', 'http://www.atresplayer.com/television/series/bajo-sospecha/temporada-1/capitulo-1-captulo_2015021600453.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.03.03
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 402, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 392, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1444, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 645, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 274, in extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 268, in initialize
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/atresplayer.py", line 53, in _real_initialize
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/atresplayer.py", line 56, in _login
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 582, in _get_login_info
AttributeError: 'AtresPlayerIE' object has no attribute '_NETRC_MACHINE'

It looks like the atreplayer extractor is not ready to get the info from the .netrc file
In case it's relevant, and to make sure the issue is not caused by the syntax in my .netrc file, these are the different "variations" of syntax I've tried, with the same results:

machine atresplayer login <email address> password <password>
machine atresplayer.com login <email address> password <password>
machine www.atresplayer.com login <email address> password <password>
default login <email address> password <password>

Thanks a lot for making this project such a great tool!!!

Thank you for the report! In youtube-dl 2<IP_ADDRESS> and newer, machine atresplayer login <email address> password <password> should work. See our FAQ if you need help updating.


⚠ Bofrost.lu has degraded performance

In 406a768, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1586 ms

Resolved: Bofrost.lu performance has improved in 9ea5031 after 9 minutes.


Add support for assignment on teams and users assigned to organization roles

When listing teams or users assigned to an organization role the assigned field isn't getting set and the team parent and user inherited_from are also not getting set. I assume that this is because these endpoints are being mapped back to Team and User structs instead of being a custom type.

I'm assuming you are talking about these endpoints:

https://github.com/google/go-github/blob/c6856bc9e29aeba0999a959f7a892098b18ff965/github/orgs_organization_roles.go#L243-L268
https://github.com/google/go-github/blob/c6856bc9e29aeba0999a959f7a892098b18ff965/github/orgs_organization_roles.go#L270-L295

which correspond with these official docs:

https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role
https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role

and I'm not seeing any mention of a field called assigned.
Therefore, could you please be a bit more specific about which exact endpoints you are talking about and where in the documentation it documents the returned field called assigned?

@gmlewis thanks for the quick response, those are the endpoints. Sorry I typoed the issue (but not the title), it's assignment. The schema for both of the endpoints you linked above have it defined but it's not present in the examples.
I may be incorrect about the team parent not being correctly set here as the logic to use it is dependent on assignment.

Excellent, thank you for the clarification, @stevehipwell !  I see it now in the schema definitions.
Would you like to submit a PR to add a new Assignment field to both User and Team, or would you like me to do this?
It should most likely look like this:
Assignment *string `json:"assignment,omitempty"`

Yes, I would add the new field to the end of the User and Team structs in their corresponding Go files, with a comment as to why this field is being added.
Something like // Assignment is populated by the ListUsersAssignedToOrgRole method. Its possible values are: "direct", "indirect", "mixed". I would also add a blank line before this (at the very end of the struct) to separate it out from the "normal" usage.
Awesome, it is yours. Thank you, @stevehipwell !


Ruby on Rails capstone project

Features added in this PR:

[x] Create the following pages:
- Splash screen
- Sign-up and login pages
- Home page (categories page)
- Transactions page
- "Add a new category" page
- "Add a new transaction" page
[x] Testing requirements
- Create unit and integration tests
[x] Technical requirements
- Postgres for the database
- Devise for authentication
- Validate user input
- The project should be deployed and accessible online
- Live Demo Link
- Presentation Link

Thank you so much @Felix45 🙏


fix: install ethers 5.7.2 (FIXME: ethers should not be required)

Towards https://github.com/RequestNetwork/web-components/issues/76
Changes

Install ethers 5.7.2 to resolve runtime error
Update package-lock.json which was out of date

Considerations
This shouldn't be necessary. I'm still confused as to why I had to install ethers in the invoicing-template.

Summary by CodeRabbit

Chores

Updated the project dependencies to include the new library "ethers": "5.7.2".

After installing the web components next releases from NPM, ethers was no longer required. Thus, I am closing this PR as not needed, No Problem :ok_person:


Team management

[ ] #6
[ ] #30
[x] #9

This task should include just setting up the page where we can perform the other management tasks


Switch: Improve masonry

Masonry behaves weird at times. Its a very simple implementation which does not consider item height.
Proposals:

improve masonry to always append to highest column (and not just round robin)
use isotope instead of masonry for animations

Masonry / isotope have always been notoriously difficult to integrate / update. The simpler masonry implementation was more stable, but ended up (suddenly) breaking vuei18n, which crashed the entire application (while this was likely due to the dubious way i18n integrates, translations are very important to the application).
Issues like the described have happened again and again, and moving to other masonry implementation was always a difficult task. In doubt of better alternatives, masonry has been removed and the impacted views are now lists.


Cannot install using Visual Studio 2017

Output when opening a prompt, running the VS script for variable setup, then calling hererocks
(here) C:\DELETEME>"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvars64.bat"
**********************************************************************
** Visual Studio 2017 RC Developer Command Prompt v15.0.26206.0
** Copyright (c) 2016 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

(here) C:\DELETEME>hererocks -l 5.1 lua51
Using cl.exe found in PATH.
Traceback (most recent call last):
  File "C:\DELETEME\here\Scripts\hererocks-script.py", line 9, in <module>
    load_entry_point('hererocks==0.15.0', 'console_scripts', 'hererocks')()
  File "c:\deleteme\here\lib\site-packages\hererocks.py", line 1892, in main
    if RioLua(opts.lua).update_identifiers(identifiers):
  File "c:\deleteme\here\lib\site-packages\hererocks.py", line 571, in update_identifiers
    self.set_identifiers()
  File "c:\deleteme\here\lib\site-packages\hererocks.py", line 1050, in set_identifiers
    super(RioLua, self).set_identifiers()
  File "c:\deleteme\here\lib\site-packages\hererocks.py", line 625, in set_identifiers
    cl_help = get_output("cl")
  File "c:\deleteme\here\lib\site-packages\hererocks.py", line 275, in get_output
    return run(get_output=True, *args)
  File "c:\deleteme\here\lib\site-packages\hererocks.py", line 272, in run
    return capture and output.decode("UTF-8").strip()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc6 in position 44: invalid continuation byte```

There's also no `vs17` option in the `--target` option.

Looks like an error when decoding compiler output, what does cl command output after initializing VS17?
I'll add vs17, need to check what registry keys VS17 uses.

VS17 does not use the registry anymore: https://blogs.msdn.microsoft.com/vcblog/2017/03/06/finding-the-visual-c-compiler-tools-in-visual-studio-2017/
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>cl
Microsoft (R) C/C++ Optimizing Compiler Version 19.10.24911 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

I've fixed the encoding issue on master branch I hope, can you try it? (Set up variables first)
I'll research the COM option in the post you linked, it's not as easy to use as the registry. And other options rely on dependencies that may be missing.

Seems to be working fine, if you setup the env vars before invoking hererocks.


Updates to Umbraco 13, and fixes the signature for GetArtifact

The signature for GetArtifact was changed in v13, so I updated it here.
Also updated the project to .net 8, and dependencies to v13

Giving this a +1 as would love to get this into my project 😄


anime-downloader: fix bug with qt build

Description of changes
Fixes QT bug in https://github.com/NixOS/nixpkgs/pull/176331#issuecomment-1146803593. Following the commits at #180252.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/983


Fix typos

What does this do / why do we need it?
What should your reviewer look out for in this PR?
Do you need help or clarification on anything?
Which issue(s) does this PR fix?

Thanks!


Use UUIDs version 4 instead of version 2 to eliminate collisions

What does this PR do?

This one-liner makes us generate version 4 UUIDs instead of version 2 for our install signature, to minimize the likelihood of UUID collisions. We have been seeing collisions between UUIDs from different orgs in production and this change should eliminate them going forward.
Motivation

Use version 4 UUIDs instead of version 2
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Delete your local /opt/datadog-agent/etc/install.json on your MacBook if you have one already, then build and run the trace agent. Verify that the new install.json generated by the new code has an install_id that does not begin with a bunch of zeroes:
rm /opt/datadog-agent/etc/install.json
cd ~/dd/datadog-agent/
go build ./cmd/trace-agent
./trace-agent -c /opt/datadog-agent/etc/datadog.yaml

[13:46:15] datadog-agent: cat /opt/datadog-agent/etc/install.json
{"install_id":"ecba222b-7f87-426b-ac72-18f1824fd909","install_type":"manual","install_time":1705689975}%
[13:46:19] datadog-agent:

The new UUID, which does not start with zeroes, is a version 4 UUID. Previously you'd get something like this:
[13:40:44] datadog-agent: cat /opt/datadog-agent/etc/install.json
{"install_id":"00000014-b6fa-21ee-8301-4e8b84448779","install_type":"manual","install_time":1705689627}%
[13:40:49] datadog-agent:

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided. Except if the qa/skip-qa label, with required either qa/done or qa/no-code-change labels, are applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

The one CI failure looks unrelated to this PR, as the error message is about an unsafe dependency and I am not adding or changing any dependencies.


Webpack AngularCompilerPlugin and Ivy not working with translations

🐞 Bug report
Is this a regression?

 No, this started with Ivy
Description
 When switching to Ivy translations are lost when using webpack.
Also tried adding  import '@angular/localize/init'; to polyfills but no success.
Looked through documentation but it looks like there's not much more that I can configure using the AngularCompilerPlugin.
Command used to run is:
"start": "cross-env AUTHENTICATION_ENABLED=true CLIENT_APP_SETTINGS_URL=/api/ClientAppSettingsLocal.json BASE_API_URL=http://localhost:59180 webpack-dev-server --inline --hot --progress --port 8080 --history-api-fallback",
🔬 Minimal Reproduction
webpack.config.dev.js:

   new AngularCompilerPlugin({
      mainPath: helpers.root("client-src/main.ts"),
      locale: "en",
      platform: PLATFORM.Browser,
      sourceMap: true,
      tsConfigPath: helpers.root('tsconfig.json'),
      compilerOptions: {
        enableIvy: true,
        i18nInLocale: "en-GB",
        enableI18nLegacyMessageIdFormat: true
      },
      exclude: [],
      skipCodeGeneration: false,
      i18nInFile: helpers.root("client-src/locale/messages.xlf"),
      i18nInFormat: "xlf",
      enableIvy: true,
      missingTranslation: "error"
    }),

tsconfig.json

{
  "compileOnSave": false,
  "compilerOptions": {
    "downlevelIteration": true,
    "target": "es2015",
    "module": "esnext",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "noImplicitAny": true,
    "importHelpers": true,
    "outDir": "./dist/out-tsc",
    "declaration": false,
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2018",
      "dom"
    ],
    "baseUrl": "./",
    "paths": {
      "@appsrc/*": [ "client-src/*" ],
      "@appservice/*": [ "client-src/app/services/*" ],
      "@appmodule/*": [ "client-src/app/modules/*" ],
      "@appentities/*": [ "client-src/app/entities/*" ],
      "@appguards/*": [ "client-src/app/guards/*" ]
    }
  },
  "angularCompilerOptions": {
    "enableIvy": true,
    "fullTemplateTypeCheck":  true
  },
  "exclude": [
    "node_modules",
    "**/*.spec.ts"
  ]
}

🌍 Your Environment

    "@angular/animations": "^9.1.0",
    "@angular/cdk": "^9.2.0",
    "@angular/common": "^9.1.0",
    "@angular/compiler": "^9.1.0",
    "@angular/core": "^9.1.0",
    "@angular/flex-layout": "^9.0.0-beta.29",
    "@angular/forms": "^9.1.0",
    "@angular/material": "^9.2.0",
    "@angular/material-moment-adapter": "^9.2.0",
    "@angular/platform-browser": "^9.1.0",
    "@angular/platform-browser-dynamic": "^9.1.0",
    "@angular/router": "^9.1.0",
    "@angular/localize": "9.1.0",

"devDependencies": {
    "@angular-devkit/build-angular": "~0.901.0",
    "@angular/cli": "^9.1.0",
    "@angular/compiler-cli": "^9.1.0",
    "@angular/language-service": "^9.1.0",

i18n under Ivy is a post build step and no longer part of the TypeScript compilation.
Maybe @clydin can chime in on this?

As @alan-agius4 mentioned, the AOT compiler for Ivy does not perform translations.  Translation is instead now a post-build step.  This change provides for greatly improved build-time performance (only one full build of the application is required instead of one per locale).  It also is an enabler for potential future runtime localization support.
If not using the Angular CLI to perform the application build, the @angular/localize package has a standalone utility (localize-translate) that can be used to perform the post-build translation of the application.

First of all thank you @clydin and @alan-agius4 .
After your explanation it was easier to find the issue.
Maybe I didn't research properly but I didn't find any information in angular.io that we also needed to: have a loadTranslations({}) call. Only after searching for the utility localize-translate I could find some websites explaining this.
I'm still a bit confused though as the extract tools provided by angular cli do not extract as json while the loadTranslations method seems to accept json. Maybe I'm missing something here?!
For now I will try changing my extraction process to use tool this one: https://github.com/loclapp/locl.


Deadlink in tutorial

Is this a bug report?
No.
Have you read the Contributing Guidelines?
Yes.
Environment
None required.
Steps to Reproduce
The documentation of react-native (https://facebook.github.io/react-native/releases/0.23/docs/tutorial.html) refers to Movies Example where the said URL lies at https://github.com/facebook/react-native/tree/master/Examples/Movies. However, this link directs to  404.
Expected Behavior
Link refers to an active github page.
Actual Behavior
Link refers to a 404 github page.
Reproducible Demo
None required.

That's the old version of docs, not sure if we want to remove it?!
But here is the latest docs http://facebook.github.io/react-native/docs/getting-started.html

Woops, didn't notice that I was looking at an old version. Thanks!

Khaek


Large CPU widget

Large CPU Widget ref #2292

Merged, thanks. Need another file and a fixup for the plist, follows in a second. :)

What's the plist for and where and what needs doing to it... and why is Donald Trump president of the USA.... so many questions, so little time..

plist is for QA purpose, it lists all files that the repo installs:
# make plist

or
# make plist-fix

Ah, understood, Should I have adjusted that or is that down to your good self?

If new files are added or deleted it's ok to push it with the PR, "make upgrade" installs the current git state in the system and does all the sanity checks so it tells you if e.g. plist fails

(of course, that only works in a live system)

I see it...


Remove Python 3.6 support when pip does

We should respect pip's deprecation policy, quote:

Python Support Policy¶
In general, a given Python version is supported until its usage on PyPI falls below 5%. This is at the maintainers’ discretion, in case extraordinary circumstances arise.

pip has bumped to 3.7, so we can as well: #230.


Is there a workaround for preventing pytest from dumping the source of raise_pep_call_exception() to stdout for every @beartype-caused test failure?

        Design
        ----------
        The :mod:`beartype` package actually implements two parallel PEP-compliant
        runtime type-checkers, each complementing the other by providing
        functionality unsuited for the other. These are:

        * The :mod:`beartype._decor._code._pep` submodule, dynamically generating
          optimized PEP-compliant runtime type-checking code embedded in the body
          of the wrapper function wrapping the decorated callable. For both
          efficiency and maintainability, that code only tests whether or not a
          parameter passed to that callable or value returned from that callable
          satisfies a PEP-compliant annotation on that callable; that code does
          *not* raise human-readable exceptions in the event that value fails to
          satisfy that annotation. Instead, that code defers to...
        * This function, performing unoptimized PEP-compliant runtime type-checking
          generically applicable to all wrapper functions. The aforementioned
          code calls this function only in the event that value fails to satisfy
          that annotation, in which case this function then raises a human-readable
          exception after discovering the underlying cause of this type failure by
          recursively traversing that value and annotation. While efficiency is the
          foremost focus of this package, efficiency is irrelevant during exception
          handling -- which typically only occurs under infrequent edge cases.
          Likewise, while raising this exception *would* technically be feasible
          from the aforementioned code, doing so proved sufficiently non-trivial,
          fragile, and ultimately unmaintainable to warrant offloading to this
          function universally callable from all wrapper functions.

        Parameters
        ----------
        func : CallableTypes
            Decorated callable to raise this exception from.
        pith_name : str
            Either:

            * If the object failing to satisfy this hint is a passed parameter, the
              name of this parameter.
            * Else, the magic string ``return`` implying this object to be the
              value returned from this callable.
        pith_value : object
            Passed parameter or returned value failing to satisfy this hint.
        random_int: Optional[int]
            **Pseudo-random integer** (i.e., unsigned 32-bit integer
            pseudo-randomly generated by the parent :func:`beartype.beartype`
            wrapper function in type-checking randomly indexed container items by
            the current call to that function) if that function generated such an
            integer *or* ``None`` otherwise (i.e., if that function generated *no*
            such integer). Note that this parameter critically governs whether this
            exception handler runs in constant or linear time. Specifically, if
            this parameter is:

            * An integer, this handler runs in **constant time.** Since there
              exists a one-to-one relation between this integer and the random
              container item(s) type-checked by the parent
              :func:`beartype.beartype` wrapper function, receiving this integer
              enables this handler to efficiently re-type-check the same random
              container item(s) type-checked by the parent in constant time rather
              type-checking all container items in linear time.
            * ``None``, this handler runs in **linear time.**

            Defaults to ``None``, implying this exception handler runs in linear
            time by default.

        Raises
        ----------
        BeartypeCallHintParamViolation
            If the object failing to satisfy this hint is a parameter.
        BeartypeCallHintReturnViolation
            If the object failing to satisfy this hint is a return value.
        BeartypeDecorHintPepException
            If the type hint annotating this object is *not* PEP-compliant.
        _BeartypeCallHintPepRaiseException
            If the parameter or return value with the passed name is unannotated.
        _BeartypeCallHintPepRaiseDesynchronizationException
            If this pith actually satisfies this hint, implying either:

            * The parent wrapper function generated by the :mod:`beartype.beartype`
              decorator type-checking this pith triggered a false negative by
              erroneously misdetecting this pith as failing this type check.
            * This child helper function re-type-checking this pith triggered a
              false positive by erroneously misdetecting this pith as satisfying
              this type check when in fact this pith fails to do so.
        '''
        assert callable(func), f'{repr(func)} uncallable.'
        assert isinstance(pith_name, str), f'{repr(pith_name)} not string.'
        assert isinstance(random_int, NoneTypeOr[int]), (
            f'{repr(random_int)} neither integer nor "None".')
        # print('''raise_pep_call_exception(
        #     func={!r},
        #     pith_name={!r},
        #     pith_value={!r}',
        # )'''.format(func, pith_name, pith_value))

        # Type of exception to be raised.
        exception_cls: TypeException = None  # type: ignore[assignment]

        # Human-readable label describing this parameter or return value.
        exception_prefix: str = None  # type: ignore[assignment]

        # If the name of this parameter is the magic string implying the passed
        # object to be a return value, set the above local variables appropriately.
        if pith_name == 'return':
            exception_cls = BeartypeCallHintReturnViolation
            exception_prefix = prefix_callable_decorated_return_value(
                func=func, return_value=pith_value)
        # Else, the passed object is a parameter. In this case, set the above local
        # variables appropriately.
        else:
            exception_cls = BeartypeCallHintParamViolation
            exception_prefix = prefix_callable_decorated_arg_value(
                func=func,
                arg_name=pith_name,
                arg_value=pith_value,
            )

        # If this parameter or return value is unannotated, raise an exception.
        #
        # Note that this should *NEVER* occur, as the caller guarantees this
        # parameter or return value to be annotated. Nonetheless, since callers
        # could deface the "__annotations__" dunder dictionary without our
        # knowledge or permission, precautions are warranted.
        if pith_name not in func.__annotations__:
            raise _BeartypeCallHintPepRaiseException(
                f'{exception_prefix}unannotated.')
        # Else, this parameter or return value is annotated.

        # PEP-compliant type hint annotating this parameter or return value.
        hint = func.__annotations__[pith_name]

        # If this is *NOT* the PEP 484-compliant "typing.NoReturn" type hint
        # permitted *ONLY* as a return annotation, this is a standard type hint
        # generally supported by both parameters and return values. In this case...
        if hint is not NoReturn:
            # If type hint is *NOT* a supported type hint, raise an exception.
            die_unless_hint(hint=hint, exception_prefix=exception_prefix)
            # Else, this type hint is supported.

        # Human-readable string describing the failure of this pith to satisfy this
        # hint if this pith fails to satisfy this hint *OR* "None" otherwise (i.e.,
        # if this pith satisfies this hint).
        exception_cause = CauseSleuth(
            func=func,
            pith=pith_value,
            hint=hint,
            cause_indent='',
            exception_prefix=exception_prefix,
            random_int=random_int,
        ).get_cause_or_none()

        # If this pith does *NOT* satisfy this hint...
        if exception_cause:
            # This failure suffixed by a period if *NOT* yet suffixed by a period.
            exception_cause_suffixed = suffix_unless_suffixed(
                text=exception_cause, suffix='.')

            # Raise an exception of the desired class embedding this cause.
>           raise exception_cls(  # type: ignore[misc]
                f'{exception_prefix}violates type hint {repr(hint)}, as '
                f'{exception_cause_suffixed}'
            )
E           beartype.roar.BeartypeCallHintReturnViolation: @beartyped fn() return '' violates type hint <class 'int'>, as '' not instance of int.

conda/envs/anki/lib/python3.9/site-packages/beartype/_decor/_error/errormain.py:301: BeartypeCallHintReturnViolation
=========================== short test summary info ============================
FAILED angry.py::test_fn - beartype.roar.BeartypeCallHintReturnViolation: @be...
============================== 1 failed in 0.04s ===============================

Is there any way of suppressing the bit where it dumps this rather tall function to stdout/stderr?
E           beartype.roar.BeartypeCallHintReturnViolation: @beartyped fn() return '' violates type hint <class 'int'>, as '' not instance of int.

conda/envs/anki/lib/python3.9/site-packages/beartype/_decor/_error/errormain.py:301: BeartypeCallHintReturnViolation
=========================== short test summary info ============================
FAILED angry.py::test_fn - beartype.roar.BeartypeCallHintReturnViolation: @be...
============================== 1 failed in 0.04s ===============================

Occasionally I break something in a project and when I run the tests, I get about 40 of these errors and you know
40 * TALL == VERY_TALL

Perhaps this is not something that beartype should support, but if anyone has got an idea of whether or not this is even possible, please let me know!

Absolutely. Yet another fantastic issue report from England's most infamous poet, as expected. I believe this now makes you 3-0 – the longest winning streak for any @beartype collaborator yet. I congratulate your frightening AI-like big brain. :partying_face:
Luckily for us, pytest (...and many other test frameworks, too) supports selective frame hiding via a quasi-standard __tracebackhide__ function-local attribute. This is why we pytest, people.
In our case, there's still a bit of nuance. We only want to selectively hide expected BeartypeCallHintViolation exceptions rather than other unexpected exceptions and assertions as well. According to pytest documentation on the subject, this light refactoring should get us where we want to go:
# In "beartype._decor._error.errormain":
from beartype.roar import BeartypeCallHintViolation
from operator import methodcaller
...

def raise_pep_call_exception(...) -> None:
    __tracebackhide__ = operator.methodcaller('errisinstance', BeartypeCallHintViolation)
    ...

I don't pretend to understand what's going on there. Nonetheless, I promise to blindly obey that online advice after abolishing perfidious issue #140. It's happening!

E   beartype.roar.BeartypeCallHintParamViolation: @beartyped angry.gn() parameter
good=[0, 1, 2, '3'] violates type hint list[int], as list index 3 item str '3' not instance of int.

<@beartype(angry.gn) at 0x7f4f1b3125f0>:31: BeartypeCallHintParamViolation
=========================== short test summary info ============================
FAILED angry.py::test_fn - beartype.roar.BeartypeCallHintReturnViolation: @be...
FAILED angry.py::test_gn - beartype.roar.BeartypeCallHintParamViolation: @bea...
============================== 2 failed in 0.04s ===============================

Source file:
from beartype import beartype
from beartype.typing import List

@beartype
def fn() -> int:
    return ""

@beartype
def gn(good: List[int], night: bool) -> int:
    return 0

def test_fn():
    fn()

def test_gn():
    gn([0, 1, 2, "3"], True)

Patch used, exactly as you described:
diff --git a/beartype/_decor/_error/errormain.py b/beartype/_decor/_error/errormain.py
index da519b1..e8a77f6 100644
--- a/beartype/_decor/_error/errormain.py
+++ b/beartype/_decor/_error/errormain.py
@@ -66,8 +66,10 @@ This private submodule is *not* intended for importation by downstream callers.
 #  containers in the exact same order as visited by our testing algorithm.

 # ....................{ IMPORTS                            }....................
+import operator
 from beartype.meta import URL_ISSUES
 from beartype.roar._roarexc import (
+    BeartypeCallHintViolation,
     BeartypeCallHintParamViolation,
     BeartypeCallHintReturnViolation,
     _BeartypeCallHintPepRaiseException,
@@ -228,6 +230,8 @@ def raise_pep_call_exception(
           false positive by erroneously misdetecting this pith as satisfying
           this type check when in fact this pith fails to do so.
     '''
+    __tracebackhide__ = operator.methodcaller(
+        'errisinstance', BeartypeCallHintViolation)
     assert callable(func), f'{repr(func)} uncallable.'
     assert isinstance(pith_name, str), f'{repr(pith_name)} not string.'
     assert isinstance(random_int, NoneTypeOr[int]), (

All tests pass, mypy and pyright are happy. Nice work, dude. That was lightning fast!

I... I can't believe it. I myself am speechless. Everybody, look! Something worked!
Allow me bask in the warm afterglow of this precious moment. After I recuperate with an evening of wild and unhinged video gaming, I'll promptly patch that one-liner into the codebase and officially put this issue to rest. Thanks so much for improving the @beartype user experience for everybody, @langfield. You're utterly amazing! :sparkler:

There's another trick you can do which doesn't depend on pytest's specifics, instead just stripping the function from the traceback entirely. Change raise_pep_call_exception() to return the exception instead of actually raising it, then have the generated code do the raising itself.

@TeamSpen210 spitting ancient wisdom, as always. He speaks the utmost truth.
I'm still enamoured with the dark mysticism of __tracebackhide__ = operator.methodcaller('errisinstance', BeartypeCallHintViolation). But... I also share profound concerns about the portability. __tracebackhide__ is one of those weird non-standardized dunder attributes that multiple testing frameworks interpret in completely different ways that inevitably conflict with one another. It probably should have been standardized by a PEP at some point. It wasn't. Thus I feel sad.
Exactly as @TeamSpen210 suggests, we'll (probably) end up resolving this by refactoring raise_pep_call_exception() to explicitly squelch the stack frames associated with BeartypeCallHintViolation exceptions. The excitement is palpable.

Resolved by ce789c8. Unsurprisingly, I did exactly what @TeamSpen210 said. I usually do. Spen knows all. Spen sees all. It's kinda frightening, if I'm being honest.
Thanks so much for your amped-up interest in runtime typing, @langfield, and your drip-feed of wizardly advice, @TeamSpen210. This pulsating heart's for you, BFFLs! :heartpulse:

Note a possibly typo: the commit message references #140 but this is #142.

...nothing slips past @langfield. This is like Big Brother: GitHub Edition all over again, only Big Brother turns out to be a really nice typing collaborator. :hugs: :people_hugging:


Fix kqueue for platform where C's long is i32

This for the master branch.
Updates #946.

@asomers Fixed the overflow.

@asomers I forgot it can only be less than one billion, I've changed the code to your suggestion.


Remove db-specific switch

If you don't like it I can suggest to use pattern matching instead.

I loved it! Thank you!


Descheduler should sort pods by age for PodLifeTime

What version of descheduler are you using?
descheduler version: 0.23.1
Does this issue reproduce with the latest release?
Unknown
Please provide a copy of your descheduler policy config file
deschedulerPolicy:
  evictLocalStoragePods: true
  ignorePvcPods: true
  nodeSelector: ""
  strategies:
    HighNodeUtilization:
      enabled: false
      params:
        nodeFit: true
        nodeResourceUtilizationThresholds:
          thresholds:
            cpu: 40
            memory: 70
            pods: 80
    LowNodeUtilization:
      enabled: false
    PodLifeTime:
      enabled: true
      params:
        labelSelector:
          matchLabels:
            app.umbra.space/deschedule-pod-lifetime: "true"
        podLifeTime:
          maxPodLifeTimeSeconds: 120
    RemoveDuplicates:
      enabled: false
    RemoveFailedPods:
      enabled: false
    RemovePodsHavingTooManyRestarts:
      enabled: false
    RemovePodsViolatingInterPodAntiAffinity:
      enabled: false
    RemovePodsViolatingNodeAffinity:
      enabled: false
    RemovePodsViolatingNodeTaints:
      enabled: false
    RemovePodsViolatingTopologySpreadConstraint:
      enabled: false
kind: Deployment
nodeSelector:
  node.umbra.space/basenode: "true"

What k8s version are you using (kubectl version)?
1.22
What did you do?
Set maxPodLifeTimeSeconds to 120 and deschedulingInterval to 5m.  Using an example of a two replica deployment with a pod disruption budget  minAvailable set to 1.  This will result in descheduler trying to evict both pods because both will always be older than 120s.  One eviction will fail due to the pdb.
The descheduler should sort by the pods by age and evict the oldest one first.  The descheduler seems to always evict the "first" pod as listed in kubectl get pods which sorts alphanumerically.
What did you expect to see?
The descheduler should evict the older pod first.
What did you see instead?
The descheduler always evicts the first pod listed and therefore the second continues to grow in age.

Sounds good.  Thanks.

/assign
happy to take this


map.panInside() does not pan along y axis when "padding" option is set

[x] I've looked at the documentation to make sure the behavior is documented and expected
[x] I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[x] I've searched through the issues to make sure it's not yet reported

Steps to reproduce
Move the view across and down (to somewhere like India or Saudi Arabia in my example below). Click on the map. It only pans in the x direction.
Expected behavior
Pan along both x axis and y axis
Current behavior
Only pans along x axis
Environment

Leaflet version: 1.7.1
Browser (with version): Firefox 83.0
OS/Platform (with version): Ubuntu

Minimal example reproducing the issue
https://plnkr.co/edit/yBVCWWHuPqRywn9z

[x] this example is as simple as possible
[x] this example does not rely on any third party code

Thanks for reporting this, @t3539 . I'm the contributor who originally wrote this function and the associated tests. I've confirmed that when the padding option is provided, the map does not correctly pan the y axis. I will attempt to look at this soon and submit a fix.

Hi @t3539. The parameter is a Point, so you need to provide both x and y values. For example:
map.panInside(latlng, {padding: [500, 500]});
Supplying only one will set the x padding value and leave the y not set, which is why you're experiencing issues.
Padding for panInside behaves like the FitBounds option, which is described here (this is also linked to from the panInside documentation):
https://leafletjs.com/reference-1.7.1.html#fitbounds-options

@t3539 This isn't a Leaflet bug, so could you close this issue, please?

@t3539
I have objections as current implementation is error prone.

In some (though unrelated) parts of documentation we have padding as not point: https://leafletjs.com/reference-1.7.1.html#renderer-padding
panInside docs mention just options without any link.
Perhaps we should link FitBounds options (not sure as maxZoom seems not applicable).

So I propose:

Make documentation easier
Secure the function making sure that passed arguments are properly typed.

@t3539
I have objections as current implementation is error prone.

In some (though unrelated) parts of documentation we have padding as not point: https://leafletjs.com/reference-1.7.1.html#renderer-padding
panInside docs mention just options without any link.
Perhaps we should link FitBounds options (not sure as maxZoom seems not applicable).

So I propose:

Make documentation easier
Secure the function making sure that passed arguments are properly typed.

Thanks for the feedback, @johnd0e. To answer your points in turn:

padding is always a point for map methods, so I think it should remain consistent. Places which differ are related to map creation, not operations on the map itself.
I take your point about the documentation, where there's only a link to FitBounds and not its options parameter. I'll get that updated and sorry for the oversight. I will make a note that panInside only cares about the padding-related parameters, too.

In terms of argument checking, I agree. If only one value is passed, I will set both X and Y to that value instead of assuming only X scrolling was required.
Thanks again :)

Thanks for the feedback, @johnd0e. To answer your points in turn:

padding is always a point for map methods, so I think it should remain consistent. Places which differ are related to map creation, not operations on the map itself.
I take your point about the documentation, where there's only a link to FitBounds and not its options parameter. I'll get that updated and sorry for the oversight. I will make a note that panInside only cares about the padding-related parameters, too.

In terms of argument checking, I agree. If only one value is passed, I will set both X and Y to that value instead of assuming only X scrolling was required.
Thanks again :)


Invoice payment updation not working

With test mode the payment is success. But the full amount is not credit back to invoice. There is some different in amount applying to invoice after the payment.

But in mail i can see payment 1329.79 recived. Also this reflected in IM Dashboard

Feel like some bug.

Did a lot of tested. Look like some issues with the conversion. Why this used? My log is here
Edited Value##
`11/04/2016 06:01:37 pm | Amount converted from 29.49 to 1969.88 for currency code 'USD'.
11/04/2016 06:01:37 pm | Creating Instamojo order for 166
11/04/2016 06:01:37 pm | Instamojo Settings are Client id = XXXXXXXXX | client secret = XXXXXX } Testmode = 1
11/04/2016 06:01:37 pm | Data sending to instamojo for creating order Array
(
[name] => Coregenie Technologies
[email] =><EMAIL_ADDRESS>[phone] => XXXXX
[transaction_id] =><PHONE_NUMBER>-166
[amount] => 1969.88
[currency] => INR
[redirect_url] => http://XXXXXXXXX.com/modules/gateways/callback/instamojo.php
)
11/04/2016 06:01:38 pm | Response from server stdClass Object
(
[order] => stdClass Object
(
[id] => bf23c089e1df48f2be882f17eb61eeef
[transaction_id] =><PHONE_NUMBER>-166
[status] => pending
[currency] => INR
[amount] => 1969.88
[name] => XXXXXXXXX Technologi
[email] =><EMAIL_ADDRESS>[phone] => +XXXXXXXXX
[description] => Instapay
[redirect_url] => http://XXXXXXXXX.com/modules/gateways/callback/instamojo.php
[webhook_url] =>
[created_at] => 2016-11-04T12:31:38.029992Z
[resource_uri] => https://test.instamojo.com/v2/gateway/orders/id:bf23c089e1df48f2be882f17eb61eeef/
)
[payment_options] => stdClass Object
    (
        [payment_url] => https://test.instamojo.com/@bannacoregenie/bf23c089e1df48f2be882f17eb61eeef?embed=form
    )

)`

The conversion is done because we only handle INR payments on Instamojo.
But the default currency define on WHMCS or for a product might not be INR, in that case we try to convert it to INR before redirecting you to Instamojo and after the redirect we convert it back to the currency set for the user.
Could you please share following things:

Your default currency
Exchange rate set for INR
Product's currency

Plus do check logs once again and let us know at which step you're seeing a conversion mismatch.

Its corrected by tweaking currency settings.
Thank You

@banna360 Could you let us know which setting was incorrect. It would help us in rectifying problems faced by future users.

My default currency set as dollar. I renamed it to INR while i setup whmcs that cause issue here
Thanks and Regards,
HASANUL BANNA K
On 9 Nov 2016, 5:47 PM +0530, Ashwini Chaudhary<EMAIL_ADDRESS>wrote:

@banna360 (https://github.com/banna360) Could you let us know which setting was incorrect. It would help us in rectifying problems faced by future users.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (https://github.com/Instamojo/instamojo-whmcs/issues/2#issuecomment-259401812), or mute the thread (https://github.com/notifications/unsubscribe-auth/ADt2SJIeLfMmphJvSYDSisgdQ_SMR2Ppks5q8bnVgaJpZM4Kpd3S).

Hi Ashwini,
First of all, thanks a lot for creating the module.
I have pretty much the same issue as reported by Mr. Banna. But changing the currency configuration would not be an ideal fix in my case.
Let me explain it with an example transaction.

I have issued a sample invoice for INR 10 (for no existing products, just created a new invoice)
I have logged in as customer and paid INR 10 using InstaMojo
INR 10 has been debited from my account, and the same is credited to my Instamojo account
But as per WHMCS invoice, I have only paid INR 0.15 and I have still INR 9.85 pending. (Screenshot - https://cl.ly/kg2u)

My WHMCS setup

The default currency in WHMCS is USD and I want to keep it that way. Because I have more USD paying customers than INR
I have set pricing for USD and INR manually for each product so that it does not need to be converted when being redirected to and from InstaMojo
I will be creating invoices for the products/services that are not in the products list (like the example mentioned above)

Could you please suggest a fix for the issue.
Thank you
Aravind Ajith

Hi do let me know how did you fix that. Facing the same problem. Thanks in advance

Hi Ashwini,
First of all, thanks a lot for creating the module.
I have pretty much the same issue as reported by Mr. Banna. But changing the currency configuration would not be an ideal fix in my case.
Let me explain it with an example transaction.

I have issued a sample invoice for INR 10 (for no existing products, just created a new invoice)
I have logged in as customer and paid INR 10 using InstaMojo
INR 10 has been debited from my account, and the same is credited to my Instamojo account
But as per WHMCS invoice, I have only paid INR 0.15 and I have still INR 9.85 pending. (Screenshot - https://cl.ly/kg2u)

My WHMCS setup

The default currency in WHMCS is USD and I want to keep it that way. Because I have more USD paying customers than INR
I have set pricing for USD and INR manually for each product so that it does not need to be converted when being redirected to and from InstaMojo
I will be creating invoices for the products/services that are not in the products list (like the example mentioned above)

Could you please suggest a fix for the issue.
Thank you
Aravind Ajith
Updated: PS: I am reporting this as a new issue.

Hi do let me know how did you fix that. Facing the same problem. Thanks in advance

Its corrected by tweaking currency settings.
Thank You

Hi do let me know how did you fix that. Facing the same problem. Thanks in advance


move ontology-utils to travis and codecov

The work done for opentargets/platform#202 can be used as an example of how this should be done.

Work in progress on branch af-cleanup as part of other changes.


WARN: Cannot stringify arbitrary non-POJOs

Hi,
I installed and run vuex-orm/vuex-orm-examples-nuxt and I got warnings on terminal for every page refresh:
 WARN  Cannot stringify arbitrary non-POJOs Todo

 WARN  Cannot stringify arbitrary non-POJOs User

I get same warnings in my project, which uses latest Nuxt (v.2.3.2).
Kind Regards,

Hi! Thanks for the report! I have the same warning for my Nuxt project as well.
Currently, Vuex ORM will work so you can ignore warning at the moment. The reason why we're getting this warning is that we've started to store class instance directly to the store. When the store gets hydrated at server side, Nuxt try to serialize the store and fails because there's class instance inside the store (functions can't be serialized). Vuex ORM will re-instantiate the model at client side so it still works.
Now I don't know what is the right way to handle this warning. Maybe it's a bad idea to store class instances to the store and we should instantiate the record each time we fetch them (like we did before). But not sure. I would love to hear some nice idea on this.

@ozum OK thanks! I'll try communicate with Nuxt guys if I can.

Done! This is fixed at Vuex ORM 0.31.3 🎉
https://github.com/vuex-orm/vuex-orm/releases/tag/v0.31.3
Again, thank you @ozum and @willhoyle for finding the solution for this! 👍

Thanks @willhoyle

@kiaking @willhoyle Has this regressed? Missing the toJSON on the model and getting the error. Seems the current version is lacking this change.

Just quickly looked at this, we added the toJSON function to models on version v0.31.3: https://github.com/vuex-orm/vuex-orm/blob/v0.31.3/src/model/Model.ts (search for toJSON, it's at the bottom)
The latest release does not have this function anymore. I'm not sure at what point it was removed. Maybe there's a specific reason it was removed. I'd have to clone the repo and properly search the git history.
We should probably add it back in?

We should probably add it back in?
Yes please!

@brfrth @willhoyle @eyesurewould any chance of a reproducible repo or link?
I can spin up nuxt with Vuex ORM 0.36 without issue. Note, Vuex ORM no longer stores instances, and only POJO, in Vuex so serializing shouldn’t be an issue here.

Getting this error today with "vuex": "^3.6.0" and "@vuex-orm/core": "^0.36.3",

I too am getting this with the latest few versions of Nuxt

Working with Nuxt content module, had this issue.

Maybe this can help someone:
I solved the problem converting the class object to a POJO's at toJSON() function (which is the function devalue library calls). So an example would be:
class User {   toJSON () {     return { ...this } // here I make a POJO's copy of the class instance   } }
It's a clear solution which also makes sense to solve the warning.

I am getting this error too

I tried the above suggestions but it didn't help. After adding into nuxt config file, resolved issue:
experimental: {
    renderJsonPayloads: false,
  },

I tried the above suggestions but it didn't help. After adding into nuxt config file, resolved issue:
experimental: {
    renderJsonPayloads: false,
  },

It disables SSR.


Analysis of Rooted Beings audio guide and podcast series usage

What is the problem to solve?
Did people listen to the Rooted Beings audio guide?
Did people use listen to podcasts in the series, "The Root of the Matter"?
What stage of research is it? (discovery/general usability testing/post release)
general usability testing
What are the objectives?
Was the audio guide used?
How popular was the audio guide?
How popular were the podcasts?
What are the assumptions?
Considerations regarding quality of material/recording are not included in this analysis.
What research technique is required?
GA
SoundCloud

There have been 1,015 page views of Rooted Beings audio guide page and 204 actual audio plays to date. The first date anyone accessed this page was 11 August.
Here’s what the daily numbers look like:

For some context, the Rooted Beings page has had 177,843 page views since the exhibition opened and 37,399 since 11 August.

There were 11 social media posts from 14 July to 19 August using variously Twitter, Instagram and Facebook resulting in 121 link clicks.
Episode 1 of “The Root of the Matter” podcast has now had 20 listens since published on 12 July. None of the other 4 podcasts in this series have been listened to. By way of comparison, the last podcast series published on wellcomecollection.org was “Hello Happiness.” This podcast had 1,919 listens during its first 2 months.


fix for https://github.com/bpftrace/bpftrace/issues/3186

Checklist

[ ] Language changes are updated in man/adoc/bpftrace.adoc
[ ] User-visible and non-trivial changes updated in CHANGELOG.md
[ ] The new behaviour is covered by tests

@samuelnair From the looks of the failures, you need to update the codegen tests and fix the formatting git clang-format upstream/master

@jordalgo Why do i need to update my codegen-tests ? I have not changed anything in the tests and these are all running in the CI.

@jordalgo Why do i need to update my codegen-tests ? I have not changed anything in the tests and these are all running in the CI.

You've updated the code generator itself. This usually influences the generated code, which is what the codegen tests test.


Unsolicited response received on idle HTTP channel

In GitLab by @arcln on May 10, 2019, 15:52

In GitLab by @arcln on May 17, 2019, 20:05
mentioned in commit abd5330e26133c3a51f6b036b92f161ae3c372fc

In GitLab by @arcln on May 17, 2019, 20:08
closed via merge request !8

In GitLab by @arcln on May 17, 2019, 20:08
mentioned in commit 4d76d912448c670150e2807e3798195e3a5d1d9b

In GitLab by @arcln on May 17, 2019, 20:08
closed via commit abd5330e26133c3a51f6b036b92f161ae3c372fc


[AddToken] CAKE on ARB

Network
ARBITRUM_ONE
Token Symbol
CAKE
Token Name
PancakeSwap Token
Decimals
18
Address
0x1b896893dfc86bb67Cf57767298b9073D2c1bA2c
Image URL
https://images2.imgbox.com/06/90/oFIjbJwJ_o.png
Reason

20k holders on Arbitrum
$85k liquidity on ARB PCS
ARB PCS has 9k DAU

I'd support this request


Fixes WSL2 support

Binding to <IP_ADDRESS> makes the services unavailable to Windows when running Doodba under WSL(2).
This is a backport from our internal fork which has diverged slightly due to different needs. Apologies if I've missed something.

This is not a safe default. If you're working in an untrusted network, such as a café or code sprint, anybody could connect to your development environment.
Sorry, we cannot accept this. :man_shrugging:

Yes, perhaps you can find a way to make the service available to Windows without exposing it like this? This seems to be a limitation of WSL anyway...


Metrics: Add read/write function by id

While working on adjusting PreWarming stats to new ts::Metircs (#10463), I found it's helpful having sugar to read & write by id.

It turns out we don't need this. https://github.com/apache/trafficserver/pull/10465#discussion_r1332408210


Is there such a function?

sorry, I have read doc,  but I don't seem to find this function, maybe I read it carelessly.
If I set an option, then other options become unnecessary(the shell will not reminder me type those options if I don't type it). Conversely, if I don't set an option, other options must be set(the shell will reminder me type those options if I don't type it)

@arrowfeng I don't understand what you're asking here, can you fill out this issue template?

Prerequisites

[ ] Are you running the latest v1 or v2 release?
[ ] Did you check the manual for your release?
[ ] Are you reporting to the correct repository?
[ ] Did you perform a Github issue search about this problem?

Description
[Description of the bug or feature]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]

Prerequisites

[ ]  Are you running the latest v1 or v2 release?
v1

[ ]  Did you check the manual for your release?
yes

[ ]  Are you reporting to the correct repository?
yes

[ ]  Did you perform a Github issue search about this problem?
i have check it.

Description
Suppose I have a program based on this repository，it has these options: -a -b -c -f, and I hope -f is mutually exclusive with -a -b -c. That is, if I set -f,  so it should not prompt me to set another options. this program work well. If I don't set -f, so -a and -b as well as -c should be set simultaneously, or this program don't work.

You can check which flags are set yourself, and return errors to the user if mutually exclusive flags are set. There is nothing in the library that will do that for you.

You can check which flags are set yourself, and return errors to the user if mutually exclusive flags are set. There is nothing in the library that will do that for you.

thank you


I cannot update arkos to v1.5 with wifi

arkOS v1.4, the version in GDRIVE of wiki. Every time I want to update through wifi, it says "There was an error with attemping this update " I'm in China, but I have connect internet through VPN. I test the wifi, it can watch video on youtube. I don't know whether it's wifi's problem.Is there any way to update without wifi?Such as download file to sd card and insert to 351p.Thanks your effort to make so good OS.  By the way, can i remap my RightStick to Dpad? Then, I can control view by rightstick. ppsspps cannot read rightstick

The ability to use the right stick in ppsspp was resolved in an update.  Not sure what's wrong with the update on your end.  You can wait for the new image that will be available in a few hours and use that since connecting to github may be a problem for you for updates.

The new 1.5 version is now available.


retain history of burt areas

Retain historical data of burnt areas with the goal to feed this into the map to shade areas recently burnt.

Currently being saved at https://github.com/beyondtracks/nsw-rfs-majorincidents-archive


docs(changelog) add missing entries

Summary
Add missing changelog for:

https://github.com/Kong/kong/pull/8255
https://github.com/Kong/kong/pull/8663
https://github.com/Kong/kong/pull/8914
https://github.com/Kong/kong/pull/8574

Please merge with Rebase.

@mayocream could you resolve the merge conflicts in this PR from earlier merges into master?

@mayocream could you resolve the merge conflicts in this PR from earlier merges into master?

Rebased on latest master branch :)


Loot ESP

Loot ESP is not working for me. I have it toggled on but when I load into a raid I see nothing! Please help! I looked through some other posts and saw people were having issues with weight mods but that is not the case for me!

Please have a look here:
https://github.com/sailro/EscapeFromTarkov-Trainer/issues/503


Alive but startup failed

We send alive reqests (http://localhost:8080/services/visionx/v2/api/alive) also if startup failed with e.g. 404

errorbar now gets displayed instead of endless loading and alive messages are not being sent


Return a diagnostic's Id from /codecheck calls

So that when displaying an error we can show the error code as well.
@DustinCampbell

@srivatsn : Did you close and re-open to try and kick CI? Note that your branch can't be merged without updating it with master.

Yes CI seemed to have timeout running tests. Merged with master now.

Travis OSX builds can be... sluggish during U.S. business hours and generally time out around 45 minutes. If that happens again, let me know and I'll kick that particular build.


fix: Clear cluster if the response from the API has error

Check for value of res.success
If res.success is true, set the correct data to graph
Else set an empty data set to cluster.
Fixes #99

I think a better solution to this issue would be to disable selection for unavailable dates. Do consider that, if not will merge this.

Yup sure. Will do that.

@sibeshkar : Done.

Thanks!


Obtaining actual exposure

Required Info

Camera Model
R200

Firmware Version
<IP_ADDRESS>

Operating System & Version
Debian stretch

Kernel Version (Linux Only)
4.8.0

Build System
Makefile

I'd like to know the actual exposure-time that was used for each image.  The API suggests that this is possible but it's not working for me.
There's an rs::device::get_frame_timestamp() function but not an rs:::frame::get_frame_actual_exposure() function (seems like it would make sense but it's not there).
OK, so by setting up a callback with rs::device::set_frame_callback() I can get an rs::frame structure which has rs::frame::get_frame_metadata().
But the following code indicates that no meta-data is supported:
void frameCallback( const rs::frame &frame )
{
    for ( int metaI=0; metaI < RS_FRAME_METADATA_COUNT; metaI++ )
    {
        rs_frame_metadata meta = (rs_frame_metadata)metaI;
        bool supports = frame.supports_frame_metadata(meta);
        cout<<frame.get_stream_type()<<" supports " << rs_frame_metadata_to_string(meta) << ": " << supports << endl;
    }
}

In all cases (IR/depth/color streams) I get e.g.:
INFRARED supports ACTUAL_EXPOSURE: 0
INFRARED supports ACTUAL_FPS: 0

Is there a way to read the actual exposure?

The answer is generally yes. One nice feature is that the R200 packs this data into the first few bytes of each image.
I see that the actual exposure field for that data you are trying to query is only supported for the fisheye camera of the ZR300 module (https://github.com/IntelRealSense/librealsense/blob/master/src/zr300.cpp#L479)
R200 supports async readback of exposure through a separate UVC control, but from your query above it seems you want the per data. You're in luck (https://github.com/IntelRealSense/librealsense/blob/master/src/ds-private.h#L429) but I don't think this particular data was ever exposed at the API level, so you might have some hacking to do!

Thanks for the reply.
As it turns out the auto exposure isn't giving me much joy [goes unstable under some conditions] so I think I have to implement my own anyway (and if I do my own then I know the exposure without having to read it back).


Discuss Features/info to have on /live !

Edit this message or post your idea.

list of events for the whole hackathon. whole list is rendered, completed events are dimmed, crossed, wtv, and the current events get centered on the screen, by default, when you enter the site. (you can scroll as you like, might snap back to current events after some inactivity)

Whatever you write in here is just for the sake of discussion and brainstorming, it doesn't mean it needs to get done. Hold your horses.

From @casassg:

Facil de canviar els events (if integrated with the backend admin interface better + API access)
Live update de events (un usuari no ha de fer refresh quan modifiquem els events)

separate repo that uses gh pages for autodeploy

Reasons to migrate to separate project: We can setup auto deploy as Github pages (easier to update while hackathon is happening)

Same project could also have auto-deploy if set up. <3

Pages:
Day of
Devpost
Maps
Hardware Lab
Travel info
Live (events)

Desktop notifications (with options for different notifications)

Integrate events locations with Maps

Countdown

Up-> Let's move live to separate project for easier manteinance and to use live.hackupc.com

Also add Rules section. Also more inspiration: http://live.hackjunction.com/

Livestream link (if we have it)


HuggingFaceEmbedding not compatible with ChromaVectorStore / chromadb

After creating embeddings using HuggingFaceEmbeddings, and passing them to ChromaVectorStore, chromadb does a check to see if the passed embeddings area already nested arrays, and if not, it nests them:
https://github.com/chroma-core/chroma/blob/a370684dd032eaf52ad9619c4811449a52cc1e2c/clients/js/src/utils.ts#L7
However, since HuggingFaceEmbeddings returns the embeddings as a Float32Array instead of a normal Array, that check will "fail", and creates a double-nested array, resulting in the Error message: Error: ids, embeddings, metadatas, and documents must all be the same length
Changing https://github.com/run-llama/LlamaIndexTS/blob/24cb48f195338a3a89c405ded7b916313ad06d26/packages/core/src/embeddings/HuggingFaceEmbedding.ts#L42 to return [...output.data];, to return a normal array (like other embeddings like Ollama) seems to fix the issue.

@ThaNarie I've never seen this before. Can you share some code to replicate?
As a reference, the example here uses huggingface embeddings with chroma
https://docs.llamaindex.ai/en/stable/examples/vector_stores/ChromaIndexDemo.html#chroma

Example code:
import { ChromaVectorStore, HuggingFaceEmbedding, HuggingFaceEmbeddingModelType, Ollama, serviceContextFromDefaults, storageContextFromDefaults, VectorStoreIndex, SimpleDirectoryReader } from 'llamaindex';
import fs from 'node:fs/promises';

// storage
const vectorStore = new ChromaVectorStore({ collectionName: 'demo'});
const storageContext = await storageContextFromDefaults({
  vectorStore,
});

// service
const llm = new Ollama({
  model: 'llama2',
});
const embedModel = new HuggingFaceEmbedding({
  modelType: HuggingFaceEmbeddingModelType.XENOVA_ALL_MINILM_L6_V2
});
const serviceContext = serviceContextFromDefaults({
  llm, // this isn't used in this test, but if you don't pass, it complains about OPENAI_API_KEY not set
  embedModel,
  chunkSize: 256,
  chunkOverlap: 20,
});

// documents
const documents = await new SimpleDirectoryReader().loadData({
  directoryPath: './test-data',
  fs, // need to pass this explicitly, since the defaultFs is a SimpleMemoryStorage, which doesn't have readDir implemented
});
console.log(`Found ${documents.length} document chunks to index`);

// embed documents
await VectorStoreIndex.fromDocuments(documents, {
  storageContext,
  serviceContext,
  logProgress: true,
});
console.log(`Storage context successfully generated`);

Make sure you have at least 2 "nodes" being embedded.
Found 3 document chunks to index
Using node parser on documents...
Finished parsing documents.
Getting embedding for node 1/3
Getting embedding for node 2/3
Getting embedding for node 3/3
/Volumes/Projects/ai/llamaindex-server/node_modules/llamaindex/node_modules/chromadb/dist/chromadb.mjs:1790
      throw new Error(
            ^

Error: ids, embeddings, metadatas, and documents must all be the same length
    at Collection.validate (/node_modules/llamaindex/node_modules/chromadb/dist/chromadb.mjs:1790:13)
    at Collection.add (/node_modules/llamaindex/node_modules/chromadb/dist/chromadb.mjs:1828:84)
    at <anonymous> (/node_modules/llamaindex/index.mjs:4452:30)
    at Generator.next (<anonymous>)
    at asyncGeneratorStep$J (/node_modules/llamaindex/index.mjs:4391:28)
    at _next (/node_modules/llamaindex/index.mjs:4409:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@ThaNarie thanks for the bug report! Fixed in https://github.com/run-llama/LlamaIndexTS/pull/482 - please have a look