Area of a Triangle

Before jumping into Pr first comment for assign.All Problem from Edabit. Link is mandatory to add
Problem statement: Write a function that takes the base and height of a triangle and returns its area.
Problem Link: https://edabit.com/challenge/3CaszbdZYGN4otQD8

Before submitting a PR please Check some details.Check Edabit for problem task

[ ] fileName formet should be in camelcase
example- returnTheNextNumber.py
[ ]  Add label for Problem
[ ]  In file there should be problem statement and link to probelm
example -

'''
    Probem Task : This program will add two numbers
    Problem Link : https://edabit.com/challenge/SFzHtm63XT6EYNHWY
'''
*/
def main():
    return a + b

This repository is vaild for HacktoberFest2020
Read before making PR - How to contribute on Github
Good Luck,

@varshatumburu please assign this problem to me. i would like to contribute for this problem.

@varshatumburu Please assign this task to me.


python-docx save docx

python-docx saving files seems to be only possible when the main process is finished. How can you save them immediately if you can perform the save action?

Closing as stale/inactive.


Reduce bundle size?

Hi @indexzero ,
Just wanted to know if you plan to support tree-shaking or some settings so we can just use what's needed?
For example here actually the composition of winston in my production build (using webpack-bundle-analyzer):

I'm just using the Console transport and as you can see it seems to embed all other stuff.
Thank you,

Hi @DABH ,
Just saw you were managing all last PRs. Could you please give me your thoughts about this issue please?
Thank you,

+1 on this issue. A way to remove dependencies that are not needed on the client would be great.


CameraXBasic Front Camera == Nightvision

When switching to the front facing camera.  I'm illuminated by some IR light coming from the upper right corner of my Pixel 4.  I can put my thumb over it and my face dims.  The picture is B&W, grainy and looks like nightvision.   First time tinkering with the camera on Android so I'm not sure where to look nor how to fix it.

Thanks for submitting this, @tlorens. You are not doing anything wrong, this is a known issue happening in the Pixel 4. CameraX is mistakenly picking the IR camera rather than the RGB one. It doesn't even happen every time! There is a fix for it, and I think it will be available in beta04 version of CameraX library.
I'm closing this out because it's a library issue, not a sample issue. But feel free to reopen if you think that's wrong.


The subgroups cannot be sorted

It would be useful to be able to sort the subgroups dropping the old index, as in:
subgroups = subgroups.sort_values(by="PTOTVAL_div", ascending=False, ignore_index=True).head(10)

However, this breaks then the computation of the Shapley values.  Can this be fixed?
If not we need to document that sorting is not possible somewhere.

Sorry, my mistake.  The bug was elsewhere.


Alternative draft for exposing bundles

The idea of this PR is to demonstrate a way to give enough information to the applications using mendel, without changing the     performance characteristics we have. We are avoiding at all cost calling findTreeForVariations without real need.
If we ever have more than one method that needs it, we will need caching per request or maybe change to a stateful API.
@tufandevrim this is a counter-proposal for #34

BTW, this is the HTML the server outputs with this PR when running in production mode:
<!DOCTYPE html>


Handling for generic validation error

Addresses Issue #278

added handling for GenericValidationResults in CreateConnectorComponent
some numeric inputs require positive int - added POS-INT type and sets a different min value for those on FormInputComponent
fix issue in CreateConnectorComponent, was checking DataOptions instead of RuntimeOptions

Amended the commit to fix issues

removed alert (oops)
fixed problem in Utils which caused RuntimeStep error
I also removed alert on DataOptions and RuntimeOptions step, since I was getting duplicate success messages as shown below on those steps:

Amended the commit to fix issues

removed alert (oops)
fixed problem in Utils which caused RuntimeStep error
I also removed alert on DataOptions and RuntimeOptions step, since I was getting duplicate success messages as shown below on those steps:

Tested locally, Looks good.

Tested locally, Looks good.


(GH-489) Use alternate puppet version

TODO

[x] Update docs with GIF of the feature
[ ] Test cross platform

This commit updates Puppet Editor Services to 0.19.0 as the puppet-version
command line argument feature is required.

Previously the status bar was spread of a few files.  This commit refactors the
Puppet status bar in the vscode into a single feature.  This will enable
changes to the status bar to be made easier in the future.

Previously when the PDK resolver was introduced it only listed the latest Puppet
version.  This commit:

Adds a new property to the PDK resolver which lists all puppet versions
available via the PDK.

Adds a method to be able to search for a PDK instance for a particular Puppet
version.

Updates the TypeScript configuration to use the es2016 libraries so that the
includes method can be used on array prototypes.

Previously Puppet Editor Services (PES) was left to use the latest puppet gem
version. However PES can now be passed a --puppet-version parameter to specify
which puppet version to use. This commit:

Updates the extension settings to allow a user to set the requested version

Updates the configuration to search for the specified puppet version and use
the appropriate PDK instance (specifically Ruby version and Gem cache) for
the ruby settings

Passes this setting through into PES.

Now that the extension is able to query the available puppet versions and
specify a setting to actually use them, the User Interface needs to be updated
to easily helper users to change this.  This commit:

Updates the Puppet Status Bar, so that if a user clicks on the Puppet version
they are presented a list of available options, which the user can select
from.

Adds a new command which can be used to update arbitrary workspace settings.
The version switching menu items call this configuration update feature to
update the 'puppet.editorService.puppet.version' setting as per the user's
request.

The update configuration feature can optionally prompt the user to restart
VSCode if the setting is known to require a restart.

Wohoo!!  working in Ubuntu 18.04 with PDK 1.9.1
Select version

... and restarting


blog: rephrase the article update

This blog post was modified as part of #29740 but IMO the update note doesn't make it clear enough what's going on, so I'm just rephrasing.

/lgtm

/assign @kbarnard10

/unassign @chrisnegus

/approve


[Tests] Introduce tests for Numba limitations

Introduce tests for current numba limitations:

jitclass with Dict
Infer class members from init for jitclass
list.sort
sorted(a, key=lambda)
iterate over tuple
try/except/raise

Added defaultdict test


Could passing generated JS to an optimizer improve Harmony performance?

Tried Closure Compiler. It certainly reduces code size. Not sure performance win will be that meaningful. It can remove dead code, which is nice, but the rewriting when using advanced optimization breaks code that uses require() without using extern features of the compiler. Not sure this all adds up to being worth a new step in the regular release process of harmony.

Not going to pursue JS optimization any further.


Update Air Alarm Sprites

About the PR

Updates the sprites of the air alarms from tg
Media

(This is from the tg pr but they're the same anyway)

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

tweak: Changed the air alarm sprite.

these are gonna look weird directionally since they have perspective, i think the old one is better

I'm pretty sure these were made for /tg/'s wallening... which isn't good, because our walls don't have perspective and probably won't for a long ass time.
Having perspective on wallmounts with our flat walls is probably a bad idea, if our button sprites are anything to go by.


Can you give me some suggestion? How to convert the documents to PDF

as a researcher, I want to share my dar figure with my boss (on slack) for peer review.

No one will be able to get to use the tool if everybody needs to install texture.

Hi @jcolomb eLife and other members of the consortium are looking into this separately - there is no GitHub repo or anything for this work yet and no planned delivery, but it will be open sourced if/when we achieve it.

would a solution for this be

dar -> jats (dont know what to use here)
jats -> pdf (using pandoc)

any suggestions for the first step ?

@jkanche Thanks!
DAR is JATS :-)
It's a strict JATS format

@jkanche
Rename your dar file extension to zip, unzip the file and you will have access to the JATS file and assets.
To convert JATS you can use XSLT conventions to HTML and after that use any libraries to convert HTML to PDF, ex:
Paged.JS
Weasyprint
Pandoc


Create BeagleBoneSWD.py

BeagleBone gpio integration

License back to BSD, I'm not yet really familiar with pull reqest. Hope it works like this. Tell me if it is ok.

Thanks for coming back to this!
Indeed, there were some tricky changes in these latest commits - like inconsistent tab vs spaces. I took freedom to run them thru "expand" command. I also put back your explicit copyright (c) - that's surely ok, as you're the author of that code. I also renamed both files to give a better hint how they different from each other. I also squashed all these changes to a single commit which is here: https://github.com/pfalcon/PySWD/commit/e942fb0d8869cf55eacbe505886505fe4c0d4386  . Let me know if it's ok by you. Note that no code changes were done - only whitespace and "metadata".

Sounds perfect to me ;)
Paul

Le 6 janv. 2015 à 22:32, Paul Sokolovsky<EMAIL_ADDRESS>a écrit :
Thanks for coming back to this!
Indeed, there were some tricky changes in these latest commits - like inconsistent tab vs spaces. I took freedom to run them thru "expand" command. I also put back your explicit copyright (c) - that's surely ok, as you're the author of that code. I also renamed both files to give a better hint how they different from each other. I also squashed all these changes to a single commit which is here: e942fb0 . Let me know if it's ok by you. Note that no code changes were done - only whitespace and "metadata".
—
Reply to this email directly or view it on GitHub.

I just add the RaspberryPi integration, It works really faster than BeagleBone and should be more frequent. If you can merge it would be perfect:)


Draft: Docs note for original_filename with projects

Closes #5098

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Brandon Miller seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Script syntax error

Hello,
You're missing semicolons ;; at the ends of lines 6 & 7 that are preventing the script from running.
while :; do
	case $1 in
		-l|--install-ei-linux) LINUX="true"
		-u|--update-all) UPDATE="true"
		;;
		*) break
	esac
	shift
done

Thanks!

@yosefahab So do you just have to make the following changes?
-l|--install-ei-linux) LINUX="true";;
-u|--update-all) UPDATE="true";;

@jonathanrjpereira Thanks for reporting! I will fix.

should be fixed in c56fbedc6c3d2c8ee03eeb62ff8af0f4d9a77473


add missing streaming.py link

links streaming.py file from examples directory

PR contained error in reference as Harmon758 described.


Github Coverage tracking report implementation for test coverage

Overview
coveralls.io implementation and integration with Github Actions for tracking test coverage of icon-bridge repo.
Coveralls links
Language integration and libraries to use for submitting coverage report(docs.coveralls.io:

Java: https://github.com/trautonen/coveralls-maven-plugin
Solidity smart contracts: https://medium.com/edgefund/testing-and-code-coverage-of-solidity-smart-contracts-660cb6291701
Javascript: https://docs.coveralls.io/javascript

Acceptance Criteria

Github actions to trigger coverage tracking and send report to coveralls
Github repo integration so that report(percentage coverage) is seen from github repo without landing on coveralls dashboard

The coverage report of solidity is not actual on the codecov dashboard. Probable reason is like this issue https://github.com/sc-forks/solidity-coverage/issues/715
@sdpisreddevil


topic feed do not work over https

subj

i tried replacing ws:// with wss:// and it fixed some of it (zk list etc...) but not the feed or graphs / consumer groups. I get a 400 bad request answer from the server but no error in the logs

I actually found that the problem was due to the need to upgrade the connection in nginx (the proxy I use)
So after upgrading the connection to use websocket
WebSocket support (nginx 1.4)
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";

and also making sure the load balancer uses IP affinity
server {
ip_hash;
server    domain.com:port;
}
i can see the feed.
still no luck with the consumer but i think that is a kafka problem


myst parser stripping one backslash from bare align equations

The new mystnb.js mathjax config is working correctly, and myst-generated html for align environments can be displayed without $$ delimters now that processEnvironments is set to true.  There is one problem remaining -- the myst parser treats \\ in bare environments as a single escaped \\ -- specifically these lines which produce this page.  Hand editing to replace the stripped \ produces a page that displays correctly.
To reproduce:  run build_website.sh

and this is perfectly "correct" behaviour from the markdown parser (see here), which is why this parsing of the "bare" math environments needs to be handled at the markdown parser level, and not by mathjax, as discussed in https://github.com/ExecutableBookProject/cli/pull/73#issuecomment-616020781 and #126

BTW its best to open these "example" PR as drafts 😁 https://github.blog/2019-02-14-introducing-draft-pull-requests/

thanks, that's a useful new github feature.  Also, I now see from the the mathjax docs that  processEnvironments is true by default, the mathjax config was a red herring -- this was the actual source of the difference between jupyter/nbconvert/nbsphinx and markdown/myst.


Don't backup an empty server

I've currently been using SimpleBackup and for my Creative server, sometimes it won't be visited for an entire day - SimpleBackup skips the backup for this day.

Sounds good! I will work on this today.

This feature has been implemented and will be available in version 1.0.6.
How it works is as follows:
The plugin will not perform any backups until a player joins. If it does an update while there are no players on the server, it will stop doing subsequent backups until another player joins. This ensures that all changes made in between the last backup and the player leaving are still backed up.


Unwrap macro

This is a PoC of the unwrap! macro discussed in #161, to see how well it works.
Seems to work great, line numbers are printed correctly. The only drawback is the syntax is less nicer than the normal unwrap() since it doesn't read left-to-right.
Ignore the Escape braces in assert expressions. commit, it's included so the unwrap macro can use the escape_expr function.

Thanks for building a PoC.
I tested out locally and I liked that unwrap!(something) prints "something" to the console. core::unwrap doesn't do that in comparison.
My biggest concern, though, is that the macro "turns off" Rust-Analyzer so if I write a long method chain:
unwrap!(x.
    map(|z| z + 1).
    then(something)
)

I don't get type annotations next to each method call or in internal closures.
To work around the issue I would split the chain into its own variable:
let res = x.
    map(|z| z + 1).
    then(something);
unwrap!(res)

But then I won't get the chain expression printed in the panic message (if the unwrap fails) and the reported location will be sort of "off by one line" (but still be more precise than with the .dewrap() approach)

@Dirbaio the team discussed how we'd like to implement this feature and we are OK with a macro implementation so I'll review this PR once you mark it as ready for review.

DOne :D

I don't know what's up with the unused import: crate as defmt from CI. If I remove it it won't build because it's needed.


Move internal API's and stubs to core_private

Is your feature request related to a problem? Please describe.
Currently the *core_internal.h files that define cFE internal APIs are in core_api along with stubs.
Describe the solution you'd like
Move these to core_private since they don't need to be exposed outside of cFE
Describe alternatives you've considered
None
Additional context
Observations related to code review CFS-41, but not directly related to a comment so not marking w/ label.
Requester Info
Jacob Hageman - NASA/GSFC

Closed by #1463 (confirmed in main, not sure why github didn't close issue)


Add DELETE queueing or processing info

Add more details to the DELETE method when the resource is to be processed later.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/best-practices/api-design.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


NPM version is wrong

If you install with NPM, the latest version number is 0.12.0 but inside bootstrap-tour.js says 0.11.0
Just as well, other files say they're 0.12.0 in the top comment area, but are copyright 2012 - 2015 instead of 2012 - 2017 like the actual version 0.12.0 downloaded from GitHub
https://www.npmjs.com/package/bootstrap-tour

Work around for this has been to install from the GitHub repo
npm install https://github.com/sorich87/bootstrap-tour.git --save


Don't give up on ENOTEMPTY error when removing containers

When checkpointing and restoring the same containers multiple times,
docker rm -f  can fail with an error indicating that its root
filesystem could not be removed because it's not empty.  Turns out that
for some unknown reason, hostconfig.json is still in the directory.
This patches calls os.RemoveAll() again if it fails.
The issue may be related to the observation that hostconfig.json
is created several times when a container is started or restored.
Each time the new hostconfig.json overwrites the previous one, so at the
end there's only one hostconfig.json but it was created multiple times!
Signed-off-by: Saied Kazemi<EMAIL_ADDRESS>

Should there be a maximum number of attempts?

Sure, I can add a maximum like 10, but this is really temporary code as we need to find out why hostconfig.json isn't deleted in the first place.


perf: optimizing detection of global overrides #1452

closes #1452

Codecov Report

Merging #2122 (266df22) into master (df4a781) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master     #2122   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          222       222
  Lines         4251      4253    +2
  Branches       937       938    +1
=========================================
+ Hits          4251      4253    +2

Impacted Files
Coverage Δ

...-mocks/src/lib/common/ng-mocks-global-overrides.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

v13.3.0 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.


Support to pass etcd TLS creds to all client jobs

Creates an etcd TLS cluster
Can pass templates/etcd_tls_stub.yml to scripts/generate_deployment_manifest
Requires an etcd certs stub containing etcd certs

Sample etcd_cert.yml looks like
properties:
  etcd:
    ca_cert:
    client_cert:
    client_key:
    peer_ca_cert:
    peer_cert:
    peer_client:
    peer_key:
    peer_require_ssl: true
    server_cert:
    server_key:

#122070663
@evanfarrar @christianang

I'm going to try a different approach. Closing this PR for now.


Ionic subTab load first Previous Tab view

Resources:
Before submitting an issue, please consult our troubleshooting guide (http://ionicframework.com/docs/troubleshooting/) and developer resources (http://ionicframework.com/docs/developer-resources/)
Please make sure you are posting an issue pertaining to the Ionic Framework. If you are having an issue with the Ionic Pro services (Ionic View, Ionic Deploy, etc.) please consult the Ionic Pro support portal (http://support.ionicjs.com)
Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[X] 3.x
[ ] 4.x
I'm submitting a ...  (check one with "x")
[X] bug report
[ ] feature request
Please do not submit support requests or "How to" questions here. Instead, please use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
My homepage (homeTabsPage) consists of a side menu and tabs, one of the pages accessible by the menu (CompetitionTabsPage) is itself composed of tabs. The worry is that when I try to access this second page (competitionTabsPage) via the menu, ionic loads the first view of the previous page (homePage) instead of the first page of the tabs (CompetitionPage)
Expected behavior:

Steps to reproduce:
Create a homePage with tabs and side menu, create a link in the menu to redirect on an other page with tabs. Navigate with nav.setRoot(PAGE)
Related code:

Architecture Code
pages:
- tabs:
-- home-tabs
-- competition-tabs
- articles:
-- home
-rugby:
--competition

Here a picture of url's homePage (HomeTabs) et when I try to access the CompetitionPage (CompetitionTabs)

I've already tried to add "#home" and "#competitionTabs" in home-tabs and competition-tabs but with a ViewChild to preselect the tab without result.
Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.12.0
    ionic (Ionic CLI) : 3.12.0

global packages:

    cordova (Cordova CLI) : 7.0.1

local packages:

    @ionic/app-scripts : 2.1.4
    Cordova Platforms  : none
    Ionic Framework    : ionic-angular 3.6.1

System:

    Android SDK Tools : 25.2.4
    ios-deploy        : 1.9.1
    ios-sim           : 5.0.13
    Node              : v7.5.0
    npm               : 5.4.2
    OS                : macOS High Sierra
    Xcode             : Xcode 9.0 Build version 9A235

Misc:

    backend : pro

For more precision, I load data in the Tab to custom them with a picture, like this :
competition-tabs
@IonicPage({
  //segment: 'competition-tabs/:id'
})
@Component({
  selector: 'page-competition-tabs',
  templateUrl: 'competition-tabs.html'
})
export class CompetitionTabsPage {

  @ViewChild('competitionTabs') tabCompetition: Tabs;

  competitionPageRoot = 'competition'
  competitionRankingPageRoot = 'CompetitionRankingPage'
  competitionResultsPageRoot = 'CompetitionResultsPage'
  competitionCalendarPageRoot = 'CompetitionCalendarPage'

  //  Données
  //name: string;
  modal: boolean;
  competition: any;

  //  Paramètres d'affichage
  competitionHasRanking: boolean;
  competitionHasResults: boolean;
  competitionHasCalendar: boolean;

  /**
   * Constructor
   *
   * @param navCtrl
   * @param navParams
   * @param competitionProvider
   * @param viewCtrl
   */
  constructor(
    public navCtrl: NavController,
    public navParams: NavParams,
    public competitionProvider: CompetitionProvider,
    public viewCtrl: ViewController,
  ) {
    this.modal = this.navParams.get('modal');
  }

  /**
   * Chargement des tabs
   */
  ionViewCanEnter(): Promise <any> {
    return new Promise((resolve, reject) => {
      return this.competitionProvider.get(this.navParams.get('id'), {data: 'infos'}).subscribe((response) => {
          //this.name = response.data.competition.name;
          this.competition = response.competition;

          this.competitionHasRanking = response.competition.has_ranking;
          this.competitionHasResults = response.competition.has_results;
          this.competitionHasCalendar = response.competition.has_calendar;
          resolve();
        },
        error => {
          console.log(error);
          reject();
        });
    });
  }

  /**
   * Petit hack pour placer le logo de la compétition dans les tabs
   */
  ionViewDidEnter() {
    this.tabCompetition.select(0);
    setTimeout(() => {
      let element = document.querySelectorAll('.ion-md-competition-custom');
      let parent = element[0].parentNode;
      element[0].parentNode.removeChild(element[0]);

      let img = document.createElement("img");
      img.setAttribute("class", "tab-icon-custom tab-button-icon icon icon-md");
      img.setAttribute("src", this.competition.fullLogo);
      parent.insertBefore(img, parent.firstChild);
    }, 500)
  }

  /**
   * Fermeture de la modale
   */
  closeCompetition() {
    this.viewCtrl.dismiss();
  }

competition-tabs.html:
<ion-header>
  <ion-navbar hideBackButton="false">
    <ion-buttons start>
      <button ion-button icon-only (click)="closeCompetition()" *ngIf="modal">
        <ion-icon name="close"></ion-icon>
      </button>
    </ion-buttons>
    <button ion-button menuToggle *ngIf="!modal">
      <ion-icon name="menu"></ion-icon>
    </button>
    <ion-title>{{ competition.name }}</ion-title>
  </ion-navbar>
</ion-header>

<ion-tabs #competitionTabs>
    <ion-tab [root]="competitionPageRoot" [rootParams]="{'id': competition.id, 'competition': competition, 'modal': modal}" tabTitle="{{ competition.name }}" tabIcon="competition-custom"  #competitionTabsPage></ion-tab>
    <ion-tab [root]="competitionCalendarPageRoot" [rootParams]="{'id': competition.id, 'competition': competition, 'modal': modal}" tabTitle="Calendrier" tabIcon="calendar" *ngIf="competitionHasCalendar" #competitionTabsCalendarPage></ion-tab>
    <ion-tab [root]="competitionResultsPageRoot" [rootParams]="{'id': competition.id, 'competition': competition, 'modal': modal}" tabTitle="Résultats" tabIcon="stopwatch" *ngIf="competitionHasResults" #competitionTabsResultsPage></ion-tab>
    <ion-tab [root]="competitionRankingPageRoot" [rootParams]="{'id': competition.id, 'competition': competition, 'modal': modal}" tabTitle="Classement" tabIcon="list-box" *ngIf="competitionHasRanking" #competitionTabsRankingPage></ion-tab>
</ion-tabs>

Sorry for the triple post but I would like to add something.
I use nav.setRoot(PAGE) to navigate and obtains the urls in the second post, when I try to use nav.push(PAGE), I obtain these urls :

The page appears correctly after the following path : HomeTabsPage -> CompetitionTabsPage -> HomeTabsPage -> CompetitionTabsPage

Hello! Thank you for opening an issue with us!
This sounds like a duplicate of #12625. Can you verify that?
I will keep them both open even if they are duplicates as I think this adds some really good information, but I just want to make sure I understand your problem correctly.
Thank you for using Ionic


limit of character is exceeded?

Hi!
I'm trying the TTS and I have a question, if you have the lite plan, how i know/detect in code the error when the limit of character is exceeded?
Thanks

Hi @seransaca! If you exceed your limit, the service will throw a 4XX error with a message explaining that you're over your allotted amount.


Assets folder unavailable

I tried to download the assets manually, by zip and cloning with git-lfs but either way, the files were corrupted

Error downloading object: assets/bg_layer1.png (27e7aa0): Smudge error: Error downloading assets/bg_layer1.png (27e7aa05db99aee759f366f42aa1948322987e9d563c9a124924801dece8fb44): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.


trackHandledException not defined - 1.0-beta.9

Hi, this is my first time using ApplicationInsights in Android, but I can't track exceptions.
I can see trackEvent, trackTrace... but not trackHandledException.
I looked also at the source code and didn't find that method. Is that new in this version or what?
I'm using version 1.0-beta.9 and Android Studio
Thanks..

Hi @Hashemalrifai,
as stated in our change log trackHandledException was removed from the feature set of the SDK for 1.0-beta.9.

Closing this as it was intentionally removed from the SDK.


Optional delay before dbinit

While testing the k8s deployment of the encoding service I noticed that sometimes the database isn't provisioned because the init_db job runs before the database has its volumes in order.
This (hack) just adds an optional configurable delay (default to 1s normally and 60 s for k8s)

We can do this. But would it not be easier to just wait a second before calling database.py init?

Agree, I was clearly being lazy.
Even better we could wait until the database appears to be ready - https://medium.com/@xcoulon/initializing-containers-in-order-with-kubernetes-18173b9cc222
I'll see how that turns out and reopen a PR :-)


Add capabilities to manage large data forecasts

Now we can:

store datasets largers than 16MB limit of Mongo documents using GridFS
compute forecast data tilesets to optimize probing
visualize large forecast datasets by using a fixed decimation factor

We should either be able to use tilesets for visualization or at least adapt the decimation factor according to scale and limit data download to the currently visualized bounds.
Can also benefit from https://github.com/weacast/weacast/issues/15 if solved.

Closing in favor of https://github.com/kalisio/kMap/issues/128, weacast should remain focused on offering an API and not advanced visualisation.


added baseDir for caching purposes

fixes https://github.com/rwjblue/ember-cli-template-lint/issues/147
before:

after:

Based on Travis logs, looks like this removed the deprecation warning.
Thank you!

Released in v0.4.12.


Not possible to host on Premium Azure Function

It is not possible to host this on premium azure functions (https://learn.microsoft.com/en-us/azure/azure-functions/functions-premium-plan?tabs=portal)
As we get worse latency using Azure Functions Consumption as compared to when we used jsreport online API we would prefer to use premium azure functions. However the project is not compatible given the following error
`Error: Failed to launch the browser process!
[0817/135715.970021:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md`
How can this de resolved?

Thank you this solved my issue!


Do not use pre-created config.yaml and data.yaml files because of the difficulty of updating.

Is your feature request related to a problem? Please describe.
When I update a program from the git, I have to manually restore the files: config.yaml and data.yaml
Describe the solution you'd like
I recommend not including these files in git. Their existence should be checked when I run the script. If they don't exist, the script should ask for api_hash, api_id and chat_id and create these files from the template.

Thanks for your suggestion, it will be added in the next version


Migrate existing BlockDevices to use new generated UUID format.

This mainly impacts the virtual devices that do not have any existing unique identifiers like serial number or WWN.
The old (legacy) UUID was based on the hostname and path of the block device. As it is susceptible to change on reboot or if the device is moved to a new node, the new UUID format makes use of information stored on the Block devices like Partition ID or Filesystem ID.
This issue is tracked to Migrate existing BlockDevices (from earlier releases) to BlockDevice resource with new UUID.
The approach is to migrate when the device goes into unclaimed state.
This will involve Docs updates and turning the feature gate flag to true by default.

Code changes has been merged in #442


Signature of [Modified] Bessel Functions [of the Second Kind]

From @ecbrown on September 22, 2013 18:32
I am trying to implement a Matern Covariance function, which depends on K_v.  I believe that v may take on non-integer values, e.g v=1/2 is quite significant from a theoretical standpoint.
However, when I supply both arguments as real (nu is a real<lower=0.5> parameter):
Sigma[i,j] <- sigmasq * 1.0/(tgamma(nu)*pow(2.0,nu-1.0) *
pow(sqrt(2.0*nu)*D[i,j]/phi,nu) * modified_bessel_second_kind(nu,
sqrt(2.0*nu)*D[i,j]/phi);

I get a compilation error:
DIAGNOSTIC(S) FROM PARSER:
no matches for function name="modified_bessel_second_kind"
   arg 0 type=real
   arg 1 type=real
available function signatures for modified_bessel_second_kind:
0.  modified_bessel_second_kind(int, real) : real

which seems to make me think that K_v only takes integer v.
Is it possible to make it take two real arguments?
Copied from original issue: stan-dev/stan#231

From @bob-carpenter on September 22, 2013 19:47
See the previous discussion in issue #96 about implementing the Bessel functions.  I think the only thing holding us up might be derivatives for the functions, because the Boost functions are general enough:
http://www.boost.org/doc/libs/1_54_0/libs/math/doc/html/math_toolkit/bessel/mbessel.html
Do you need parameters in that argument or just a real (double) constant?  As is, Stan's language doesn't distinguish between the two, which means every function must be differentialble with respect to its real arguments.
One thing we might consider is allowing functions that take real constants/data only.  Simplest would be to throw run-time errors, but we could make it compile time by refining the function signatures and adding some expression tests in the abstract syntax tree code.

From @ecbrown on September 22, 2013 20:24
http://dlmf.nist.gov/10.38 gives me some hope for an evaluation of analytic derivative w.r.t. real-valued order in an implementable form.  I think this would require the regularized generalized hypergeometric function to be available.
(This is 10 steps beyond my mathematical comfort zone)

From @ecbrown on September 22, 2013 19:56
In order to implement full kriging with the Matern covariance, I would need to have both v and z as real parameters.
It seems like Mathematica can take the symbolic derivative of K_v(z) with respect to z, but it bounces back for the derivative w.r.t. v.  :-(

From @bob-carpenter on September 22, 2013 20:36
They look too tricky for Boost, so I doubt we'll be
able to build them in Stan:
https://groups.google.com/forum/#!msg/boost-list/wOjuIYQuqkM/0l5zogA9e0YJ
The above thread indicates that GSL has them, but we don't want
to depend on GPL-ed code and the thread above indicates they're
rather touchy.

Bob

On 9/22/13 4:24 PM, Eric Brown wrote:

http://dlmf.nist.gov/10.38 gives me some hope for an evaluation of analytic derivative w.r.t. real-valued order in an
implementable form. I think this would require the regularized generalized hypergeometric function to be available.
(This is 10 steps beyond my mathematical comfort zone)
—
Reply to this email directly or view it on GitHub https://github.com/stan-dev/stan/issues/231#issuecomment-24889756.

There is a user-defined function on stan-users for modified Bessel functions with real nu
https://groups.google.com/d/msg/stan-users/sW61HeIT24I/ZH-WuMCSBgAJ
I don't think anyone is planning on putting this into Stan Math.

Not until someone can work out a good algorithm for the derivatives.

Matern with half-integer v = p+1/2 does not need Bessel. In this case the covariance function is a product
of an exponential and a polynomial of order p. See, e.g., Ch 4, p. 85 in GPML http://www.gaussianprocess.org/gpml/chapters/


fix: remove defu from module

Fixes https://github.com/moritzsternemann/vue-plausible/issues/5
Because the configuration has no nested objects, defu has the same result as just using the object spread syntax. So we can remove it and lower the bundle even more.
Order of configuration from least to most priority:

defaultOptions
this.options.plausible
moduleOptions

Looking good. Thanks again!


refactor: rename package to scan-dir

:tada: This PR is included in version 1.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[APIView Python] incorrectly marking async paging as async def

When we pass in autorest generated async paging to apiview, api view shows it as being async def, while it should just be def.
For example, [this](https://github.com/Azure/azure-sdk-for-python/blob/22e3480c70b14119fb908198da3778fe180d9221/sdk/purview/azure-purview-account/azure/purview/account/aio/operations/_resource_set_rules_operations.py#L577
Leads to this apiview

) generated code

This is occurring because the substring "async def" exists in the method body due to an internal function definition that starts with "async def".


ipywidget ToggleButton does not render in ipynb tutorial from MS Learn

Type: Bug
The following code taken from https://learn.microsoft.com/en-us/training/modules/python-create-run-jupyter-notebook/3-exercise-run-notebook renders a solid white line when run.  Same code runs correctly in JupyterLab and renders the button as Learn indicates it should.   Same result in Insiders.
Using Python 3.11
import ipywidgets as widgets

ignition = widgets.ToggleButton(
   value=False,
   description="Start Engine",
   button_style="success",
   tooltip="Engage your Engine",
   icon="rocket",
)

output = widgets.Output()

display(ignition, output)

def on_value_change(change):
   with output:
      if change["new"] == True:
            print("engine started!")
      else:
            print("engine stopped")

ignition.observe(on_value_change, names='value')

VS Code version: Code 1.73.0 (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:34:06.111Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.89GB (1.96GB free)

Process Argv
--crash-reporter-id 1e88bc12-4594-47f3-9055-e626207231db

Screen Reader
no

VM
0%

I'm sorry for not getting back to you on this issue. I belive you are running into a known issue, you might want to try installing IPyWidget==7.7.2
Closing as a duplicate of https://github.com/microsoft/vscode-jupyter/issues
If the above doesn't fix this, please do ping here or feel free to create a new issue and I'll  check this out.


Country colors are incorrect

Country colors are correct in the files, but display improperly.

Initially caused by this commit:
https://github.com/Idhrendur/paradoxGameConverters/commit/1c7df61c2fa7d5b289f1d3e6af58e600aa763d0a
The exact effects were changed by this commit:
https://github.com/Idhrendur/paradoxGameConverters/commit/d40806318d2bcf3da7dea87c3a023514762e0420

Deferring this until after the 0.1 release.

This should be fixed, Ill leave it to you if you think we can close

Yep, I think so. :-)


Show a default value in a dropdown if no option is selected from it

allowEmpty not working properly
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I want to restrict the user from setting the cron value to '*' in a particular dropdown.
Current Behaviour:
If the  user deselects all the values from the dropdown, it sets the value of that dropdown to '*'
https://github.com/xrutayisire/react-js-cron/assets/103552663/4c2b179b-279a-47c8-9798-6edacf7afff2
I don't want the value to become * when user deselects all the values from the hour dropdown, instead set it to some default value (not *).
Here is what I tried to do:
export const CronForWeekly = () => {
  const [value, setValue] = React.useState('0 12 * * 7');

  const filterExpr = (value: string) => {
    const exprArray = value.split(' ');
    const hourIndex = 1;

    if (exprArray[hourIndex] === '*') {
      exprArray[hourIndex] = '12';
    }

    setValue(exprArray.join(' '));
  };

  return (

Cron Value

{value}

      <Cron
        value={value}
        setValue={filterExpr}
        clearButton={false}
        mode='single'
        defaultPeriod='week'
        allowedDropdowns={['hours', 'minutes', 'week-days']}
        clockFormat='12-hour-clock'
        allowClear={false}
        allowEmpty='never'
      />

  );
};

But is not working properly, here is the attached screen record:
Screencast from 2024-06-27 10-56-27.webm
When I click on the default value itself, the expression is fine, but the change dosen't reflect on the drop-down, it still shows every hour in the dropdown

Hi,
I saw two different things in your issue:

[bug] allowEmpty='never' should return an error if cron value equals * * * * *
Clearly there is a bug here, allowEmpty='never' should never allow * * * * * as a cron value, and should return an error.
A fix is needed

[enhancement] Add,  allowEmpty support in dropdownsConfig
Today, you would not have been able to do exactly what you want, with or without the bug. If you want to allowEmpty='never' for specifically one dropdown, it's not possible. Also, I see that you may not only want an error returned but a fallback to a default value. That is not supported.

I don't have the time to work on this library these days, but I would be happy to review a PR that fix the bug and add the new feature you would like.

Note that dropdownsConfig prop first need a fix to prevent an infinite loop: https://github.com/xrutayisire/react-js-cron/issues/67


Feature request: also print timestamp

Similar to the extension Execute Time, I would like to add the timestamp - when the command was run.
I use EIN -- Emacs IPython Notebook which does not support the browser extension.

Hi @sam-s,
Do you mean something like this, where the datetime sting would be the local system time like datetime.datetime.now().isoformat()?
- time: 295 µs
+ time: 295 µs (started: 2020-11-20T12:37:04.659710)

What do you think about this idea in general @cpcloud? Formatting wise there are also multiple possibilities of course.
Also would take into consideration that the operation of getting this datetime string is a good 3-4ms overhead on my system (doubling the amount of time stop() takes).

Hi @ddelange ,
Yes, this is exactly what I want, except that instead of us precision I would prefer a TZ name.
I don't think that overhead is all that important because this feature is mostly interesting for those users whose cells take a lot of time to compute.
Thank you!

I would agree a more human readable format would be fitting here (indeed microseconds seem overkill).
A debatable tradeoff is that timezone names like EST can have vastly different meanings, whereas the numerical form is deterministic and standardised.
This works on both py27 and py3 (in any case datetime.datetime.now() is timezone naive and wouldn't be an option):
>>> from time import strftime
>>> strftime('%Y-%m-%d %H:%M:%S %Z', time.localtime())
'2020-11-20 22:20:45 CET'
>>> strftime('%Y-%m-%d %H:%M:%S%z', time.localtime())
'2020-11-20 22:35:30+0100'

I chose the numerical format (also see the deprecation footnote in python docs for the CET notation). The resulting string can't be parsed by datetime.datetime.fromisoformat due to a missing colon in the timezone (more on this here), but e.g. pendulum.parse picks it up fine.

I think requiring an external package for parsing is not such a good idea, especially since adding a colon to make the built-in parser work is relatively easy (just add the colon).
Thank you!

You're right, more correct to add the colon. New commit added in the PR :)
- time: 5.29 ms (started: 2020-12-15 15:26:06+0100)
+ time: 5.29 ms (started: 2020-12-15 15:26:06 +01:00)


Ability for gitstream to ignore github actions

Is your feature request related to a problem? Please describe.
We have built a github action to automatically merge the main branch into any open PR's to keep PR's up to date. When this action runs, the gitstream automations are run again which prompts email notifications from github as well as to the Slack channel we setup for notifications. This could happen many times on an open PR before it is tested/merged so we have temporarily disabled the gitstream actions to avoid the excessive notifications until a solution is found.
Describe the solution you'd like
A way to prevent the gitstream actions from running when a github action (workflow) makes a change to the PR.
Describe alternatives you've considered
We have tried to define the workflow to prevent gitStream actions from running but have been unsuccessful.
Additional context
Add any other context or screenshots about the feature request here.

Hi @DanielleSparks We have released a new capability called explicit triggers which enables you to specific when gitStream should run, and I believe this should solve your use case. For example, you could configure gitStream to only run when the PR is created or when a new commit is created.
More details here: https://docs.gitstream.cm/execution-model/#explicit-triggers
Let me know if this works for you, or if you still need something different for your use case.


Set up pocket node for gateway kit

Gateway kit requires a pocket node to be able to grab additional information for an app stake as well as other checks. Currently we are relying on an external node not meant for high volume usage. We should run our own node(s) so we aren't dependent on an external party and can scale as needed. Doing this for mainnet and testnet is important as well.

Message out to Nodies on altruist node and this Gateway Kit supporting node

deferred to https://github.com/porters-xyz/product/issues/40


3518 Bug Fix and Response Header to Python equivalents

I'm fairly new to open source contributions, so any feedback is appreciated. This PR

Addresses issue #3518 by iterating over ALL_PROXY last.
Elaborates some of the most commonly used response headers into their corresponding Python equivalents for convenience, namely r.date() and r.last_modified() return datetime objects and r.content_length() and r.age() return ints when possible, None otherwise
Added corresponding tests for the above

Thanks for this @michelsch92!
Some notes. Firstly, I'm afraid to say that #3518 was already resolved by #3527. I'm sorry about that, the timing was just a bit unlucky.
Secondly, the response helpers, I think we don't want to put them into the core requests library itself. Generally speaking we try to keep the surface area of the API down, because the more methods and properties that there are on the object the harder it gets to understand. However, @sigmavirus24 may be interested in having those properties in a headers helper object in the requests-toolbelt.
Unfortunately, that means this patch won't be accepted at this time. This has nothing to do with the quality of your work: altogether it was high quality work, and we'd have been pleased to accept it. Please do keep looking around for ways to contribute, because you're most welcome here!


Add github actions to automatically sort inputs and format code

We want this code to be formatted with isort and black as described in the CONTRIBUTING.md document. It would be nice to automatically enforce this process using github actions. I know there is one for black, I assume the same exists for isort.

I'd like to take this as one of my first issues to tackle. I'll begin by creating the .yaml file for black and getting that to work and looking into how to do it for isort also.

Sounds good


Feat/attribute schema

Description
This PR adds schema publishing and validation to the CLI. It changes the commands from build to build collection and build schema.  Performing a build collection with a schema address will result in the schema validation against the attribute in the dataset config. This does not implement DefaultContentDeclarations, CommonAttributeMapping, or Algorithms specs. This will be done is later when those concepts are fully designed.
A couple of decisions here that may be up for discussion:

The schema used is a generated JSON schema from user inputs. Only type checks are being completed initially, but using complex checks is possible through the library since the underlying JSON schema field is exported.
All keys specified in the schema are required in the collection attributes.
Schema checks are only done during collection publishing, not during retrieval.

Depends on #66
Closes #26
Type of change

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

How Has This Been Tested?

Create a schema-configuration file to define attribute keys and types for corresponding collections: kind: SchemaConfiguration
 apiVersion: client.uor-framework.io/v1alpha1
 schema:
 attributeTypes:
   "animal": string
   "size": number
   "color": string
   "habitat": string
   "mammal": boolean

Build and save the schema:uor-client-go build schema schema-config.yaml localhost:5000/myschema:latest

Push the schema to the remote registry:uor-client-go push localhost:5000/myschema:latest

Create a new directory.
Add the content to be uploaded in the directory (can be files of any content types).
Create a dataset-config.yaml that will failkind: DataSetConfiguration
apiVersion: client.uor-framework.io/v1alpha1
collection:
  schemaAddress: "localhost:5000/myschema:latest"
  files:
    - file: "fish.jpg"
      attributes:
        animal: "fish"
        habitat: "ocean"
        size: "small"
        color: "blue"
        ## this is the wrong value type
        mammal: "false"
    - file: "subdir1/dog.jpg"
      attributes:
        animal: "dog"
        habitat: "house"
        size: "medium"
        color: "brown"
        mammal: true
    - file: "*.jpg"
      attributes:
        custom: "customval"

Build the collectionuor-client-go build collection my-workspace localhost:5000/test/dataset:latest --dsconfig dataset-config.yaml
Error: mammal: invalid type: expected: boolean, got: string

Create a dataset-config.yaml that will passkind: DataSetConfiguration
apiVersion: client.uor-framework.io/v1alpha1
collection:
  schemaAddress: "localhost:5000/myschema:latest"
  files:
    - file: "fish.jpg"
      attributes:
        animal: "fish"
        habitat: "ocean"
        size: "small"
        color: "blue"
        mammal: false
    - file: "subdir1/dog.jpg"
      attributes:
        animal: "dog"
        habitat: "house"
        size: "medium"
        color: "brown"
        mammal: true
    - file: "*.jpg"
      attributes:
        custom: "customval"

Build the collectionuor-client-go build collection my-workspace localhost:5000/test/dataset:latest --dsconfig dataset-config.yaml

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Requires updates to the Getting Started Guide

First of all, this PR is an incredible milestone for UOR. Thank you for your work here.
I tested this in a few ways and found that it works as stated. I would prefer optional attributes exposed in the config, but understand that this is already a very large PR. I added an issue to track this here: https://github.com/uor-framework/uor-client-go/issues/74
LGTM


Improve iteration in UnregisterAllCmds()

The current dev version of REAPER increases the command ID space to over 1G possible entries. In that version, UnregisterAllCmds() takes a noticeable amount of time to run when REAPER is quit. The proposal enumerates over only registered commands, rather than the entire available range.

:white_check_mark: Build sws 693-master completed (commit https://github.com/reaper-oss/sws/commit/8b5f9860fc by @jeremybernstein)

Windows 64-bit

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x64.pdb
build/sws-<IP_ADDRESS>-Windows-x64-8b5f9860.exe

Windows 32-bit

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x86.pdb
build/sws-<IP_ADDRESS>-Windows-x86-8b5f9860.exe

macOS x86 64-bit

build/sws-<IP_ADDRESS>-Darwin-x86_64-8b5f9860.dmg

macOS x86 32-bit

build/sws-<IP_ADDRESS>-Darwin-i386-8b5f9860.dmg

macOS ARM 64-bit

build/sws-<IP_ADDRESS>-Darwin-arm64-8b5f9860.dmg

Linux x86 64-bit

build/sws-<IP_ADDRESS>-Linux-x86_64-8b5f9860.tar.xz

Linux x86 32-bit

build/sws-<IP_ADDRESS>-Linux-i686-8b5f9860.tar.xz

Linux ARM 64-bit

build/sws-<IP_ADDRESS>-Linux-aarch64-8b5f9860.tar.xz

Linux ARM 32-bit

build/sws-<IP_ADDRESS>-Linux-armv7l-8b5f9860.tar.xz


Pending while 'cargo test testy_more_pedersen'

Even changed the code in loop:
 if i == 15 {
            break
        }

to
 if i == 15 {
            break
        }

It halts for several hours in my host with 4G RAM and 1CPU. The other 4 test passed ok.
I wanna to know what's wrong?

This prototype code is no longer used.


Selecting install extension then clicking Readme shows two conflicting dialogs

VSCode Version: 0.10.12-alpha
OS Version: Windows 10

Steps to Reproduce:

F1 -> Install extension
Click install button
Click Readme button
Click out of the command window

Actual:
Two notifications come up. One asking if you would like to install that extension (which you already have) and another that says you need to restart to enable the extension.

Expected:
Only the "restart to enable it." dialog to show up.

Duplicate of #4518


bug

so currently this has been happening to many people including myself. whenever, people do !wk or !wkt they appear on the board when they do it but when someone else does it they don’t appear or I don’t. last.fm account was set and sometimes when I go and use a command it’s not set?

The most common explanation for !gwk not working is that you have been marked as having botted or otherwise inflated scrobbles (imported scrobbles are allowed). If you believe your scrobble count is not botted or otherwise inflated, you should join the Chuu support server  and ask in assistance channel so mods can inspect and confirm if it is a bug or not. You can see !gwk leaderboard including accounts marked as botted by adding the --botted flag when calling it.
As for !wk, the issue should be solved if you do the !serverset command in the server in question. If this does not solve the issue I once again recommend joining the chuu support server and asking in assistance so more steps can be tried.

I think I’ve found the issue thank you though


Problems in CI release workflow

It currently fails when a PR is merged with an empty changeset.
Examples:

PR: https://github.com/FuelLabs/fuels-ts/pull/1694
Failed workflow: https://github.com/FuelLabs/fuels-ts/actions/runs/7725165033/job/21058804783

We can see the same doesn't happen on the Wallet repo:

PR: https://github.com/FuelLabs/fuels-wallet/pull/1069
Successful workflow: https://github.com/FuelLabs/fuels-wallet/actions/runs/7662160626/job/20882925915

@nedsalk Our workflow steps are very similar to those on the wallet repo, so you can also check those to see if you gain any insights — I'm assuming they don't have these issues over there, but I might be wrong since it's a corner case scenario we're dealing with.
@Torres-ssf I remember you did a lot of CI in the past, especially regarding docs and versioning, so if you have any insights on this issue, please feel free to chime in.


TypeError: hoistStatics is not a function

This morning on of my production servers spun up and pulled down the latest version of react-cookie and started giving 500s due to the following error:
/var/app/current/node_modules/react-cookie/cjs/withCookies.js:146
return hoistStatics(ForwardedComponent, WrappedComponent);
^
TypeError: hoistStatics is not a function
at withCookies (/var/app/current/node_modules/react-cookie/cjs/withCookies.js:146:10)
at /var/app/current/dist/common/cookies.js:86:92

We were able to successfully resolve the issue by pinning the version of react-cookie we were depending on to the previous version. We are server-side rendered on Node 12 and use Webpack to bundle our client side files. Let me know what other information you might need to debug the issue.

The issue was most likely introduced in v4.1.0. You can downgrade until it is fixed. I should be able to investigate and have a fix quickly.

Thank you. I agree it was certainly introduced in 4.1.0 and downgrading did indeed fix the issue

This is fixed in v4.1.1.


Set low a pin before bootloading

Hi, on my board to enable the SD card, i need to set low the digital pin 4 (PD4)
there is a way to do this before the bootloader try to access the sd?
Second question, can you provide the configuration of the Makefile for the atmega328p?
Thanks man, i really appreciate your work 👍

Maybe it is easier if you just use https://github.com/zevero/avr_boot/tree/gh-pages
You will find compiled hex files here https://github.com/zevero/avr_boot/tree/gh-pages/avr/bootloaders
In Makefile you only have to change:
MCU_TARGET    = atmega328p
BOOT_ADR = 0x7000
(you need 2k which is at word 0x3800 which is (multiply by 2) byte 0x7000
http://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega328p&LOW=42&HIGH=9B&EXTENDED=FF&LOCKBIT=FF
CS is the same pin 4 on PD4 ... it should be set to low by the boot code ...

Thanks for the help!
But my CS pin is 10 (PB2), the pin 4 (PD4) enable the current on the SD card
By the way i'm using a Seeeduino Stalker

README.md and the makefile both clearly document how to set the SD CS to any pin you like. If you want a much more simple solution just use the Arduino hardware package, which allows you to just select pin 10 from the Tools > SD CS Pin menu and then do Tools > Burn Bootloader. It doesn't get any easier! Installation instructions and other documentation for the hardware package are found here:
https://github.com/zevero/avr_boot/blob/gh-pages/README.md

@per1234  thanks for the help but maybe you didn't understand my problem my CS pin is the pin 10 (PB2) i have another pin for turning on the SD card, the pin 4 (PB4), the bootloader works flawlessly when i set the CS pin on 10 and the pin 4 (PB4) low manually, but i don't want to set this pin manually i hope i can add some code to the bootloader to set it automatically

Thanks for help anyway 👍

I understand now.
The decision of whether to add that feature is up to zevero. It seems like a fairly rare use case since that's not a very common board and the feature can only be enabled on that board by soldering the jumper pads. Maybe you could argue the case by researching whether other boards or shields have this feature and stating whether you would be willing to submit a pull request for the required changes.
It would probably be configured in the makefile something like:
SD_EN = true  # Set the defined SD_EN pin low to enable SD card
SD_EN_PORT    = PORTB # Data Register of the SD enable pin
SD_EN_DDR     = DDRB # Data Direction Register of the SD enable pin
SD_EN_BIT = 4 # Bit of the SD enable pin

I am willing to do the work on the Arduino hardware package to make this feature available via a custom Tools menu in the Arduino IDE if the changes end up being made to the bootloader source and that is considered a desirable feature.

Ok ... i presumed, that with EN you meant CS. Ok your really mean EN.
If you send me a pull-request with a configuration setup as proposed by @per1234 I am happy to add it. Please comment that SD_EN is only needed on boards, where EN is not hardwired, so that other users don't get confused.
Please check if you need some waiting time between pulling down and being able to read from SD.

What about something like this?
SD_EN		= true  	# Setup the enable pin (Needed only on board where is hardwired)
SD_EN_STATE	= LOW		# Set the state of the enable pin
SD_EN_PORT	= PORTB 	# Data Register of the SD enable pin
SD_EN_DDR	= DDRB 		# Data Direction Register of the SD enable pin
SD_EN_BIT	= 4 		# Bit of the SD enable pin

I added also the configuration to set the enable pin to high or to low, because i saw board where the enable pin goes high.
Can i pull request this configuration?
About the code i don't know how to implement this thing, i have no experience in programming bootloader for aduino, so i can only help with the documentation & configuration.
I'm using this bootloader for a school project 👍

Thanks!

I will not have time to setup, program and test ... but I believe you can do it easily once you look into init_leds(), led_power_on(), etc in main.c and asmfunc.S
led_power and led_write are just two pins which are set and unset (hardcoded in spi_pins.h :( )
After looking again into the code I think it may not really be worth the effort to configure everything so verbosely. We could just have SD_EN = true/false and set everything else in spi_pins.h - as done with the other pins...

Hi, I'm using arduino pro mini ATmega 328/P, but port 4 stays HIGH after boot. I am using the bootloader obtained by arduino's IDE. Is this the expected behavior?


add-maxidle-test

@manuel-huez in addition to your PR, I've also added a similar test to idletimeout.
Also, I reversed the if order (for some reason the current format confused me)

@manuel-huez updated PR.


add HOT-RELOAD feature and tests

#260

@apavanello Nice, this looks awesome.  Just to clarify here - all you're enabling for Hot Reload is the queues and the topics themselves, correct?  The other things, Log File/Region/QueueAttributes/etc. those look omitted from StartWatcher.

@apavanello This change looks good, but it looks like it needs a rebase now.  I have been playing with it today and it looks like this conflicts with some of the tests.  I think they're treading on each other's memory addresses.
Anyway - I have a branch locally with some refactoring.  I'll push it when I can if you want to see - though it will be significant, not all particularly related to your code.  Thought, if you could share your k8 use case that would be really helpful - I want to make sure whatever I come up with matches your needs too.
In the meantime, if you want to rebase this and get it working that works too and I'll merge it.  Up to you!  Let me know!

Hello there.
Sorry, I've been working on a new project at work for the past few months, and it's been taking up a lot of my time.
I need to look at the code again because I don't remember some of the details completely. I'll try to do it tonight when I'm done working.
But I can tell you that in the case of fsnotify.Remove, it's for if you want to use goaws in a Kubernetes environment. Kubernetes  doesn't send clear signals of file changes or creation, it only sends a remove when the file state changes in a configmap.

Ah, I can totally understand that alternate project business, story of my life.  😀  I have a sizeable PR that I'll probably want to incorporate anyway, but I'll incorporate whatever you come up with too.  Alternately you can review my code when it's ready.  I'm fleshing out some tests but I think it's nearly ready.  I'll play with the k8 use case to make sure I'm capturing it to.  Thanks for the info!

@apavanello So - I am throwing this out there as a new PR.  The more I got into it, the more I realized it's a major feature. but my PR has your commits in there too.  I want to do a few things on this since operating in this memory space is just hard.
I would say - if you want to take yours over the line, go for it.  I will rebase, if not, I'll do what I can.  Also, if you have the bandwidth to keep an eye on it for your own use cases I'd appreciate it.
https://github.com/Admiral-Piett/goaws/pull/282


None has type NoneType, but expected one of: bytes, unicode

convert from pytorch to caffe with own model,
WARNING: CANNOT FOUND blob<PHONE_NUMBER>57808
Traceback (most recent call last):
File "conver_rgb.py", line 49, in
convert(args)
File "conver_rgb.py", line 42, in convert
pytorch_to_caffe.trans_net(net, input_var, name)
File "/home/wangwenpeng/work/FaceAntiSpoofing_readsense_pytorch_patch/pytorch2caffe_MGN/convert/pytorch_to_caffe.py", line 459, in trans_net
out = net.forward(input_var)
File "convert/patch_attention_net.py", line 58, in forward
logit = logit.view(batch_size, -1)
File "/home/wangwenpeng/work/FaceAntiSpoofing_readsense_pytorch_patch/pytorch2caffe_MGN/convert/pytorch_to_caffe.py", line 297, in _view
bottom=[log.blobs(input)],top=top_blobs)
File "/home/wangwenpeng/work/FaceAntiSpoofing_readsense_pytorch_patch/pytorch2caffe_MGN/Caffe/layer_param.py", line 33, in init
self.bottom.extend(bottom)
TypeError: None has type NoneType, but expected one of: bytes, unicode
Anyone help? seems input blob error, but i show input shape ok before NET_INITTED=True in trans_net(), and error after NET_INITTED=True

hi, I have met same problem, can you tell how to solve it, thank you

Hi ,I also have met this problem,Can you tell me how to solve it. thank you

Haaaaaa ,I also have met this problem.So, what can we do?

please check your pytorch layer, confirm whether the layer you used  is supported in this tool,  some operation need change your writing, such as  change torch.add to torch.add

That's right, I have found some layers that are not supported.
The core reason for this problem is that some layers are not registered and the blobs can not be found.
You must  accurately locating the unsuitable layers/operations, Unfortunately ,This work would be disgusting...

@xingyueye I want to convert a model containing DCN, how should I add DCN layer register on this tools?

@peyer  Sorry, I have no experience in converting DCN and can't give you advice.

Same problem message here...
torch                  1.3.1
torchvision          0.4.2
What I ran is the official example
python example/alexnet_pytorch_to_caffe.py

By switching to python3.6 and related packages, I can run it corectly.
You may just conda env create -f environment.yml. Its content:
name: py36_pytorch041
channels:
  - defaults
dependencies:
  - _libgcc_mutex=0.1=main
  - ca-certificates=2019.10.16=0
  - certifi=2019.9.11=py36_0
  - libedit=3.1.20181209=hc058e9b_0
  - libffi=3.2.1=hd88cf55_4
  - libgcc-ng=9.1.0=hdf63c60_0
  - libstdcxx-ng=9.1.0=hdf63c60_0
  - ncurses=6.1=he6710b0_1
  - openssl=1.1.1d=h7b6447c_3
  - pip=19.3.1=py36_0
  - python=3.6.9=h265db76_0
  - readline=7.0=h7b6447c_5
  - setuptools=41.6.0=py36_0
  - sqlite=3.30.1=h7b6447c_0
  - tk=8.6.8=hbc83047_0
  - wheel=0.33.6=py36_0
  - xz=5.2.4=h14c3975_4
  - zlib=1.2.11=h7b6447c_3
  - pip:
    - cycler==0.10.0
    - decorator==4.4.1
    - imageio==2.6.1
    - kiwisolver==1.1.0
    - matplotlib==3.1.1
    - networkx==2.4
    - numpy==1.17.2
    - opencv-python==<IP_ADDRESS>
    - pillow==6.2.1
    - protobuf==3.10.0
    - pyparsing==2.4.5
    - python-dateutil==2.8.1
    - pywavelets==1.1.1
    - scikit-image==0.15.0
    - scipy==1.3.1
    - six==1.13.0
    - torch==0.4.1
    - torchvision==0.2.1
prefix: /media/data1/hl/software/miniconda3/envs/py36_pytorch041

By switching to python3.6 and related packages, I can run it corectly.
You may just conda env create -f environment.yml. Its content:
name: py36_pytorch041
channels:
  - defaults
dependencies:
  - _libgcc_mutex=0.1=main
  - ca-certificates=2019.10.16=0
  - certifi=2019.9.11=py36_0
  - libedit=3.1.20181209=hc058e9b_0
  - libffi=3.2.1=hd88cf55_4
  - libgcc-ng=9.1.0=hdf63c60_0
  - libstdcxx-ng=9.1.0=hdf63c60_0
  - ncurses=6.1=he6710b0_1
  - openssl=1.1.1d=h7b6447c_3
  - pip=19.3.1=py36_0
  - python=3.6.9=h265db76_0
  - readline=7.0=h7b6447c_5
  - setuptools=41.6.0=py36_0
  - sqlite=3.30.1=h7b6447c_0
  - tk=8.6.8=hbc83047_0
  - wheel=0.33.6=py36_0
  - xz=5.2.4=h14c3975_4
  - zlib=1.2.11=h7b6447c_3
  - pip:
    - cycler==0.10.0
    - decorator==4.4.1
    - imageio==2.6.1
    - kiwisolver==1.1.0
    - matplotlib==3.1.1
    - networkx==2.4
    - numpy==1.17.2
    - opencv-python==<IP_ADDRESS>
    - pillow==6.2.1
    - protobuf==3.10.0
    - pyparsing==2.4.5
    - python-dateutil==2.8.1
    - pywavelets==1.1.1
    - scikit-image==0.15.0
    - scipy==1.3.1
    - six==1.13.0
    - torch==0.4.1
    - torchvision==0.2.1
prefix: /media/data1/hl/software/miniconda3/envs/py36_pytorch041

I created a virtual environment with your environment.yml file, I used python 3.6.0,is there anything else i need to convert the model.

By switching to python3.6 and related packages, I can run it corectly.
You may just conda env create -f environment.yml. Its content:
name: py36_pytorch041
channels:
  - defaults
dependencies:
  - _libgcc_mutex=0.1=main
  - ca-certificates=2019.10.16=0
  - certifi=2019.9.11=py36_0
  - libedit=3.1.20181209=hc058e9b_0
  - libffi=3.2.1=hd88cf55_4
  - libgcc-ng=9.1.0=hdf63c60_0
  - libstdcxx-ng=9.1.0=hdf63c60_0
  - ncurses=6.1=he6710b0_1
  - openssl=1.1.1d=h7b6447c_3
  - pip=19.3.1=py36_0
  - python=3.6.9=h265db76_0
  - readline=7.0=h7b6447c_5
  - setuptools=41.6.0=py36_0
  - sqlite=3.30.1=h7b6447c_0
  - tk=8.6.8=hbc83047_0
  - wheel=0.33.6=py36_0
  - xz=5.2.4=h14c3975_4
  - zlib=1.2.11=h7b6447c_3
  - pip:
    - cycler==0.10.0
    - decorator==4.4.1
    - imageio==2.6.1
    - kiwisolver==1.1.0
    - matplotlib==3.1.1
    - networkx==2.4
    - numpy==1.17.2
    - opencv-python==<IP_ADDRESS>
    - pillow==6.2.1
    - protobuf==3.10.0
    - pyparsing==2.4.5
    - python-dateutil==2.8.1
    - pywavelets==1.1.1
    - scikit-image==0.15.0
    - scipy==1.3.1
    - six==1.13.0
    - torch==0.4.1
    - torchvision==0.2.1
prefix: /media/data1/hl/software/miniconda3/envs/py36_pytorch041

I created a virtual environment with your environment.yml file, I used python 3.6.0,is there anything else i need to convert the model.

I don't use conda but I have the same problem. Want to know how to solve it

convert from pytorch to caffe with own model,
WARNING: CANNOT FOUND blob<PHONE_NUMBER>57808
Traceback (most recent call last):
File "conver_rgb.py", line 49, in
convert(args)
File "conver_rgb.py", line 42, in convert
pytorch_to_caffe.trans_net(net, input_var, name)
File "/home/wangwenpeng/work/FaceAntiSpoofing_readsense_pytorch_patch/pytorch2caffe_MGN/convert/pytorch_to_caffe.py", line 459, in trans_net
out = net.forward(input_var)
File "convert/patch_attention_net.py", line 58, in forward
logit = logit.view(batch_size, -1)
File "/home/wangwenpeng/work/FaceAntiSpoofing_readsense_pytorch_patch/pytorch2caffe_MGN/convert/pytorch_to_caffe.py", line 297, in _view
bottom=[log.blobs(input)],top=top_blobs)
File "/home/wangwenpeng/work/FaceAntiSpoofing_readsense_pytorch_patch/pytorch2caffe_MGN/Caffe/layer_param.py", line 33, in init
self.bottom.extend(bottom)
TypeError: None has type NoneType, but expected one of: bytes, unicode
Anyone help? seems input blob error, but i show input shape ok before NET_INITTED=True in trans_net(), and error after NET_INITTED=True

I met the same problem when using .view(), WARNING: CANNOT FOUND blob<PHONE_NUMBER>87648, should I change view() to something else? want to know how did you solve it

By switching to python3.6 and related packages, I can run it corectly.
You may just conda env create -f environment.yml. Its content:
name: py36_pytorch041
channels:
  - defaults
dependencies:
  - _libgcc_mutex=0.1=main
  - ca-certificates=2019.10.16=0
  - certifi=2019.9.11=py36_0
  - libedit=3.1.20181209=hc058e9b_0
  - libffi=3.2.1=hd88cf55_4
  - libgcc-ng=9.1.0=hdf63c60_0
  - libstdcxx-ng=9.1.0=hdf63c60_0
  - ncurses=6.1=he6710b0_1
  - openssl=1.1.1d=h7b6447c_3
  - pip=19.3.1=py36_0
  - python=3.6.9=h265db76_0
  - readline=7.0=h7b6447c_5
  - setuptools=41.6.0=py36_0
  - sqlite=3.30.1=h7b6447c_0
  - tk=8.6.8=hbc83047_0
  - wheel=0.33.6=py36_0
  - xz=5.2.4=h14c3975_4
  - zlib=1.2.11=h7b6447c_3
  - pip:
    - cycler==0.10.0
    - decorator==4.4.1
    - imageio==2.6.1
    - kiwisolver==1.1.0
    - matplotlib==3.1.1
    - networkx==2.4
    - numpy==1.17.2
    - opencv-python==<IP_ADDRESS>
    - pillow==6.2.1
    - protobuf==3.10.0
    - pyparsing==2.4.5
    - python-dateutil==2.8.1
    - pywavelets==1.1.1
    - scikit-image==0.15.0
    - scipy==1.3.1
    - six==1.13.0
    - torch==0.4.1
    - torchvision==0.2.1
prefix: /media/data1/hl/software/miniconda3/envs/py36_pytorch041

I created a virtual environment with your environment.yml file, I used python 3.6.0,is there anything else i need to convert the model.

If you are using pytorch version above or equal to 1.1. The conda solution wont work. In my conputer pytorch <=1.0.0 works perfectly while I update to 1.3 it gives an identical error shown above.

if bottom != [None]:

torchvision 0.3-0.5 doesn't work, roll backto 0.2
Note: You can use torch==1.4 and torchvision==0.2 sametime.

please check your pytorch layer, confirm whether the layer you used is supported in this tool, some operation need change your writing, such as change torch.add to0 "torch.add"

such as change torch.add to0 "torch.add" ??  some details ?? change torch.add to ????
@cswwp

torchvision 0.3-0.5 doesn't work, roll backto 0.2
Note: You can use torch==1.4 and torchvision==0.2 sametime.

谢谢，这完美的解决了我的问题。

That's right, I have found some layers that are not supported.
The core reason for this problem is that some layers are not registered and the blobs can not be found.
You must accurately locating the unsuitable layers/operations, Unfortunately ,This work would be disgusting...

How do you determine which layer operations are not supported，looking forward to your reply,thank you

torchvision 0.3-0.5 doesn't work, roll backto 0.2
Note: You can use torch==1.4 and torchvision==0.2 sametime.

谢谢，这完美的解决了我的问题。

我torch改成1.4 ，torchvision改成0.2 ，还是报一样的错误....

That's right, I have found some layers that are not supported.
The core reason for this problem is that some layers are not registered and the blobs can not be found.
You must accurately locating the unsuitable layers/operations, Unfortunately ,This work would be disgusting...

How do you determine which layer operations are not supported，looking forward to your reply,thank you

出现这个错误的原因一般是当前层的上一层未做转换，blob未加入列表所致，调试下断点那就能找到.

主要是0.2之后的版本将view改成了flatten操作，以alexnet为例
0.2的实现为
    def forward(self, x):
        x = self.features(x)
        x = x.view(x.size(0), 256 * 6 * 6)
        x = self.classifier(x)
        return x

到了0.5变成了
    def forward(self, x):
        x = self.features(x)
        x = self.avgpool(x)
        x = torch.flatten(x, 1)
        x = self.classifier(x)
        return x

其中的flatten并没有实现，搞清楚原因后解决就简单多了
新建一_flatten函数
def _flatten(raw , input, * args):
    x = raw(input, *args)
    if not NET_INITTED:
        return x
    layer_name=log.add_layer(name='flatten')
    top_blobs=log.add_blobs([x],name='flatten_blob')
    layer=caffe_net.Layer_param(name=layer_name,type='Reshape',
                                bottom=[log.blobs(input)],top=top_blobs)
    start_dim = args[0]
    end_dim = len(x.shape)
    if len(args) > 1:
        end_dim = args[1]
    dims = []
    for i in range(start_dim):
        dims.append(x.shape[i])
    cum = 1
    for i in range(start_dim, end_dim):
        cum = cum * x.shape[i]
    dims.append(cum)
    if end_dim != len(x.shape):
        cum = 1
        for i in range(end_dim, len(x.shape)):
            cum = cum * x.shape[i]
        dims.append(cum)
    layer.param.reshape_param.shape.CopyFrom(caffe_net.pb.BlobShape(dim=dims))
    log.cnet.add_layer(layer)
    return x

然后替换pytorch中的实现，在那一堆torch.max=Rp(torch.max,_max)等骚操作后加上
torch.flatten = Rp(torch.flatten,_flatten)

Still getting that error with torch 1.8, torchvision 0.9

@Ronales 's advice worked for me. Added net.eval() and it worked. Have torch==1.8.1 and torchvision==0.9.1

您的来信已收到，将会尽早做出答复，谢谢！

主要是0.2之后的版本将view改成了flatten操作，以alexnet为例 0.2的实现为
    def forward(self, x):
        x = self.features(x)
        x = x.view(x.size(0), 256 * 6 * 6)
        x = self.classifier(x)
        return x

到了0.5变成了
    def forward(self, x):
        x = self.features(x)
        x = self.avgpool(x)
        x = torch.flatten(x, 1)
        x = self.classifier(x)
        return x

其中的flatten并没有实现，搞清楚原因后解决就简单多了 新建一_flatten函数
def _flatten(raw , input, * args):
    x = raw(input, *args)
    if not NET_INITTED:
        return x
    layer_name=log.add_layer(name='flatten')
    top_blobs=log.add_blobs([x],name='flatten_blob')
    layer=caffe_net.Layer_param(name=layer_name,type='Reshape',
                                bottom=[log.blobs(input)],top=top_blobs)
    start_dim = args[0]
    end_dim = len(x.shape)
    if len(args) > 1:
        end_dim = args[1]
    dims = []
    for i in range(start_dim):
        dims.append(x.shape[i])
    cum = 1
    for i in range(start_dim, end_dim):
        cum = cum * x.shape[i]
    dims.append(cum)
    if end_dim != len(x.shape):
        cum = 1
        for i in range(end_dim, len(x.shape)):
            cum = cum * x.shape[i]
        dims.append(cum)
    layer.param.reshape_param.shape.CopyFrom(caffe_net.pb.BlobShape(dim=dims))
    log.cnet.add_layer(layer)
    return x

然后替换pytorch中的实现，在那一堆torch.max=Rp(torch.max,_max)等骚操作后加上 torch.flatten = Rp(torch.flatten,_flatten)

解决了！！太感谢了

您的来信已收到，将会尽早做出答复，谢谢！


Emmet descending order list is not working

Issue Type: Bug
the descending order list shortcut in emmet is not working.
Expected:
ul>li.item$@-*5

but I get this:
ul>li.item$@-*5

I don't know what's wrong I search through this but this problem was present 2 years ago.
VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T15:06:15.712Z)
OS version: Windows_NT x64 10.0.19041
Extensions (9)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

lit-html
bie
1.11.1

bracket-pair-colorizer
Coe
1.0.61

vscode-html-css
ecm
0.2.3

auto-rename-tag
for
0.1.5

live-html-previewer
hdg
0.3.0

LiveServer
rit
5.6.1

html-preview-vscode
tht
0.2.5

html-css-class-completion
Zig
1.19.0

(4 theme extensions excluded)

This is a duplicate of https://github.com/microsoft/vscode/issues/69168 but it's definitely a popular issue.


When I use the Bazel to compile the image_retraining project ,the error occurred.

Please go to Stack Overflow for help and support. http://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug or feature request.
The form below must be filled out.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g. fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
System Information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow)?:no
OS Platform and Distribution (i.e. Linux Ubuntu 16.0):Linux Ubuntu 16.04.2
TensorFlow installed from (source or binary)?: binary
TensorFlow version (use command below):tensorflow-1.1.0rc1-cp35-cp35m-linux_x86_64.whl
Bazel version (if compiling from source):0.4.5
CUDA/cuDNN version:no
GPU Model and Memory:no
Exact command to reproduce:yes

You can collect some of this information using our environment capture script https://github.com/tensorflow/tensorflow/blob/master/tools/
You can collect the TensorFlow version with
python -c "import tensorflow as tf; print (tf.GIT_VERSION, tf.VERSION)"

Describe the problem clearly
When I use the Bazel to compile the image_retraining project when the error occurred, how to solve, spec.json, head, branch_ref these documents are not in that directory, did you made some change that now cannot compile directory:
wei@wei-TA960:~/myprogramfile/TF-0.12/tensorflow-r0.12-1$ bazel build tensorflow/examples/image_retraining:retrain
ERROR: /home/wei/myprogramfile/TF-0.12/tensorflow-r0.12-1/tensorflow/core/BUILD:1117:1: no such target '//tensorflow/tools/git:gen/spec.json': target 'gen/spec.json' not declared in package 'tensorflow/tools/git' defined by /home/wei/myprogramfile/TF-0.12/tensorflow-r0.12-1/tensorflow/tools/git/BUILD and referenced by '//tensorflow/core:version_info_gen'.
ERROR: /home/wei/myprogramfile/TF-0.12/tensorflow-r0.12-1/tensorflow/core/BUILD:1117:1: no such target '//tensorflow/tools/git:gen/head': target 'gen/head' not declared in package 'tensorflow/tools/git' defined by /home/wei/myprogramfile/TF-0.12/tensorflow-r0.12-1/tensorflow/tools/git/BUILD and referenced by '//tensorflow/core:version_info_gen'.
ERROR: /home/wei/myprogramfile/TF-0.12/tensorflow-r0.12-1/tensorflow/core/BUILD:1117:1: no such target '//tensorflow/tools/git:gen/branch_ref': target 'gen/branch_ref' not declared in package 'tensorflow/tools/git' defined by /home/wei/myprogramfile/TF-0.12/tensorflow-r0.12-1/tensorflow/tools/git/BUILD and referenced by '//tensorflow/core:version_info_gen'.
Source Code / Logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full-traceback. Large logs and files should be attached. Try to reproducible test-case code the bare-minimum necessary to generate the problem

Are you sure you are running 1.1? It looks from the paths that you have 0.12. From the form you said you have installed from binary, but this is a bazel build command?

Looks like you did not run ./configure before building.
Please make sure to run ./configure before running bazel build


docs: load configuration from source

Please make a user-guide for configuration

@b00f Add user guide for configuration.


v0.2.11

Checklist

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

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

allanleal
Member
allanleal commented now
Checklist
Used a personal fork of the feedstock to propose changes
Bumped the build number (if the version is unchanged)
Reset the build number to 0 (if the version changed)
Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender


Add Web Share Target API

Spec: https://wicg.github.io/web-share-target/
https://github.com/WICG/web-share-target/blob/master/docs/explainer.md
https://www.chromestatus.com/feature/5662315307335680
Demo: https://web-share.glitch.me/
https://developers.google.com/web/updates/2018/12/web-share-target

https://caniuse.com/#feat=web-share

+1

Web Share Target is now available on Chrome 71 for Android.


Holding alt to put multiple cursors with full screen and hidden menu also pops down the menu

VSCode Version: 1.2.1
OS Version: Win 10

Steps to Reproduce:

Put the editor in full screen mode.
Hide the menu from view > toggle menu bar.
Hold alt key and put in one or more cursors in the editor.
Release the alt key. The cursors work fine but the menu pops up as well.

It would be nice if code can not show the menu on alt press if one or more cursors were placed on the screen while the key was down. Since the menu only pops up on keyup, I reckon this should be possible. I use this pattern a lot and it's very distracting to have the menu pop up and move the entire window one step down.

Not sure if this is a workbench or editor issue

https://github.com/Microsoft/vscode/issues/10224


Emulation Station Idle Timer Investigation

Description
This PR is adding in a Markdown file that lists what i have found regarding creating shell scripts for emulation station to run.
Fixes # (issue)
Type of change

[x] Documentation (new)

How Has This Been Tested?
I ran the documentation through prettier, vale, and linelint.
Testing Checklist:

[x] Tested in latest Chrome
[x] Tested in latest Safari
[x] Tested in latest Firefox

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] I have requested a review from Phil Williams on the Pull Request

prettier errors need fixing
Run npm run format:check

format:check
prettier --check "**/*.md"

Checking formatting...
[warn] docs/Splashkit/Applications/Arcade Machines/Research & Findings/Emulation Station Script Research.md
[warn] Code style issues found in the above file. Forgot to run Prettier?
Error: Process completed with exit code 1.


How to predict on LUNA16 using trained model?

As per the datamodule/luna.py , the dataset with *.mhd files are to be placed in a folder named 'segs'
But I still can't predict on LUNA16
How to predict ?

i think it may be due to root_path or some other args that you not modified


Scala 2.13 build

Cats and cats effects start to support 2.13. is it possible to provide a preview version for scala 2.13?

v0.20.0-M1 has been released.


Setting the subclass correctly

For some reason, the animations aren't working? I think this might have to do something with one of my view controllers having a navigation controller. I'll see if I can get more info on this issue because it was working perfectly fine before I tampered with one of the view controllers on storyboard.

Hi @HackShitUp, animations should work even when the UIViewController is inside a UINavigationController but only for the first UIViewController on the navigation stack. This way it doesn't interfere with 'swipe to go back' native UIKit functionality.

@marcosgriselli yeah I assumed that a navigation controller has nothing to do with it. But for some reason, none of the animations work. The relationship view controllers recognize the pan gesture, it just doesn't perform the animation. Any suggestions on how to debug this?

@marcosgriselli I also realized that the transition works in the beginning but only when you tap the UITabBar. In other words:
(1) The app launches.
(2) When you tap on any of the UITabBars, the transition performs with the animation.
(3) When you tap or swipe from the transitioned view controller, the transition executes, but the  animtion doesn't.

@HackShitUp It's working for me in the example app. Can you create a demo project with this error?

@marcosgriselli sure, I'll see what I can do. I need to narrow down the scope of this project first, and that may take a while, but thank you!

@marcosgriselli although I didn't include the scope of my own project using SwipeableTabBarController, I created a new one and was able to replicate it:
https://github.com/HackShitUp/SwipeIssue

@HackShitUp I just reviewed the project you were missing setting your UITabBarController class on the storyboard to MasterUI.

@marcosgriselli I realized I submitted the project carelessly without setting the storyboard's class. BUT I did figure out what prevented the animations.
If the relationship view controllers conform to the UITabBarControllerDelegate like so:
override func viewDidLoad() {
    super.viewDidLoad()

    navigationController?.tabBarController?.delegate = self
}

// MARK: - UITabBarControllerDelegate Method
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
// ...
}


Sketch 49 prototype support ?

Any plan to support prototype in sketch 49 ?

@wenerme it may be helpful if you could describe what you'd like Sketch Measure to do with Sketch's prototyping functions? Would you like some kind of automated specification to do with the prototyping?

I hope the exported can keep the link at least, thanks.

@wenerme If you want to display a live prototype online, you may want to try Sketch Cloud - it has pretty good support for Sketch's built-in prototyping features, and it's free. I could be wrong, but the main purpose of Sketch Measure is to export design specifications, and perhaps adding prototyping functions to the generated website may not necessarily fit with this purpose.

Ok, got it, sounds reasonable, you can close this or keep it open see if there others want the same answer.


feat: Make command timeout configurable

Hey there, I'd like to introduce this change in an effort to circunvene agents that have this problem (in my case probably slow disk) that make the containers take longer time to spin up and the hardcoded 120 seconds make a few pvcs not being provisioned when the helper container takes too much time to start.

@jaysonsantos
Thanks for your contribution.
Are you willing to update and resubmit the PR?
The configurable timeout is helpful for some use cases.

@derekbit just rebased it

In general, LGTM.


Add Presto2BQ to python client

LGTM, but I'd like to test that the google-cloud-bigquery-migration upgrade plays nice with the other deps and Python >= 3.7. Can you rebase this or merge in main so I can run this through the nox test we just merged? Thanks.

Merged main in!


Fix up some questionable SQL query string construction

Testing Plan: Ran test-backend.

This looks great to me (thanks for writing this check!).  @mateuszmandera can you give it a review as well since this touches a bunch of code you work on?
The do_delete_messages_by_sender function isn't used by any code run outside manage.py shell, so we have a lot of freedom to tweak exactly how it works.

This is pretty neat :slightly_smiling_face:  Looks good to me, just the one nitpick above.

Merged after applying the tweak from https://github.com/zulip/zulip/pull/14852#discussion_r419355136, thanks @andersk!


Extract IPTC Headline

As noted in the commit message, IPTC Headline (2:105) is the right field for a synopsis of the description, see also the iptc standard.
This pr adds the extraction of the Headline-field to get_iptc_data().

Thanks.


Random CI failure on MacOS: RuntimeWarning: invalid value encountered in reciprocal

This has been failing multiple times this afternoon alone. It seems that the failures are concentrated on macos 3.8 but I'm not 100% sure about it.
https://github.com/dask/dask/pull/7109/checks?check_run_id=1856104314
https://github.com/dask/dask/pull/7177/checks?check_run_id=1856169384
_________________ test_norm_any_slice[True--1-shape3-chunks3] __________________
[gw2] darwin -- Python 3.8.6 /Users/runner/miniconda3/envs/test-environment/bin/python

shape = (4, 5, 2, 3), chunks = (2, 2, 2, 2), norm = -1, keepdims = True

    @pytest.mark.slow
    @pytest.mark.parametrize(
        "shape, chunks",
        [
            [(5,), (2,)],
            [(5, 3), (2, 2)],
            [(4, 5, 3), (2, 2, 2)],
            [(4, 5, 2, 3), (2, 2, 2, 2)],
            [(2, 5, 2, 4, 3), (2, 2, 2, 2, 2)],
        ],
    )
    @pytest.mark.parametrize("norm", [None, 1, -1, np.inf, -np.inf])
    @pytest.mark.parametrize("keepdims", [False, True])
    def test_norm_any_slice(shape, chunks, norm, keepdims):
        a = np.random.random(shape)
        d = da.from_array(a, chunks=chunks)

        for firstaxis in range(len(shape)):
            for secondaxis in range(len(shape)):
                if firstaxis != secondaxis:
                    axis = (firstaxis, secondaxis)
                else:
                    axis = firstaxis
                a_r = np.linalg.norm(a, ord=norm, axis=axis, keepdims=keepdims)
                d_r = da.linalg.norm(d, ord=norm, axis=axis, keepdims=keepdims)
>               assert_eq(a_r, d_r)

dask/array/tests/test_linalg.py:1014:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dask/array/utils.py:264: in assert_eq
    b, bdt, b_meta, b_computed = _get_dt_meta_computed(
dask/array/utils.py:239: in _get_dt_meta_computed
    x = x.compute(scheduler="sync")
dask/base.py:282: in compute
    (result,) = compute(self, traverse=False, **kwargs)
dask/base.py:564: in compute
    results = schedule(dsk, keys, **kwargs)
dask/local.py:528: in get_sync
    return get_async(apply_sync, 1, dsk, keys, **kwargs)
dask/local.py:495: in get_async
    fire_task()
dask/local.py:457: in fire_task
    apply_async(
dask/local.py:517: in apply_sync
    res = func(*args, **kwds)
dask/local.py:227: in execute_task
    result = pack_exception(e, dumps)
dask/local.py:222: in execute_task
    result = _execute_task(task, data)
dask/core.py:121: in _execute_task
    return func(*(_execute_task(a, cache) for a in args))
dask/core.py:121: in <genexpr>
    return func(*(_execute_task(a, cache) for a in args))
dask/core.py:121: in _execute_task
    return func(*(_execute_task(a, cache) for a in args))
dask/core.py:121: in <genexpr>
    return func(*(_execute_task(a, cache) for a in args))
dask/core.py:121: in _execute_task
    return func(*(_execute_task(a, cache) for a in args))
dask/optimization.py:963: in __call__
    return core.get(self.dsk, self.outkey, dict(zip(self.inkeys, args)))
dask/core.py:151: in get
    result = _execute_task(task, cache)
dask/core.py:121: in _execute_task
    return func(*(_execute_task(a, cache) for a in args))
dask/core.py:121: in <genexpr>
    return func(*(_execute_task(a, cache) for a in args))
dask/core.py:115: in _execute_task
    return [_execute_task(a, cache) for a in arg]
dask/core.py:115: in <listcomp>
    return [_execute_task(a, cache) for a in arg]
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

arg = (<built-in function pow>, (<built-in function abs>, '_1'), '_0')
cache = {'_0': -1, '_1': array([[[[0.98560541],
         [0.59956337]],

        [[0.66212237],
         [0.92693976]]],

       [[[0.97698657],
         [0.30799226]],

        [[0.10911509],
         [0.89820523]]]])}
dsk = None

    def _execute_task(arg, cache, dsk=None):
        """Do the actual work of collecting data and executing a function

        Examples
        --------

        >>> cache = {'x': 1, 'y': 2}

        Compute tasks against a cache
        >>> _execute_task((add, 'x', 1), cache)  # Compute task in naive manner
        2
        >>> _execute_task((add, (inc, 'x'), 1), cache)  # Support nested computation
        3

        Also grab data from cache
        >>> _execute_task('x', cache)
        1

        Support nested lists
        >>> list(_execute_task(['x', 'y'], cache))
        [1, 2]

        >>> list(map(list, _execute_task([['x', 'y'], ['y', 'x']], cache)))
        [[1, 2], [2, 1]]

        >>> _execute_task('foo', cache)  # Passes through on non-keys
        'foo'
        """
        if isinstance(arg, list):
            return [_execute_task(a, cache) for a in arg]
        elif istask(arg):
            func, args = arg[0], arg[1:]
            # Note: Don't assign the subtask results to a variable. numpy detects
            # temporaries by their reference count and can execute certain
            # operations in-place.
>           return func(*(_execute_task(a, cache) for a in args))
E           RuntimeWarning: invalid value encountered in reciprocal

This issue is caused by the specific combination of MacOSX AND numpy 1.20 AND conda-forge.
Upstream ticket: https://github.com/conda-forge/numpy-feedstock/issues/228

For reference, in https://github.com/dask/dask/pull/7211 we updated CI to temporarily install NumPy from PyPI for Python 3.8 build on Mac. Let's continue to engage upstream and revert https://github.com/dask/dask/pull/7211 once https://github.com/conda-forge/numpy-feedstock/issues/229 has been resolved

Just to add here this traces back to NumPy issue ( https://github.com/numpy/numpy/issues/18555 ) as mentioned in comment ( https://github.com/conda-forge/numpy-feedstock/issues/229#issuecomment-806625665 ). This was fixed in PR ( https://github.com/numpy/numpy/pull/19926 ) included in NumPy 1.22.0, which was recently released in conda-forge ( https://github.com/conda-forge/numpy-feedstock/pull/251 )

@jrbourbeau could you retest on your macintel please?
conda create -n test -c conda-forge python=3.8 numpy=1.22
conda activate test
python -c "import numpy; numpy.ones(120) ** -1"

Yep, I can confirm python -c "import numpy; numpy.ones(120) ** -1" no longer raises a RuntimeWarning with the setup in https://github.com/dask/dask/issues/7189#issuecomment-1010079448


ekodada logo branding

- Summary

- Test plan

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

👷 Deploy Preview for clever-salmiakki-91ae4e processing.

Name
Link

🔨 Latest commit
53ac128b87ab5669a0102d5ea92c34f8101cb573

🔍 Latest deploy log
https://app.netlify.com/sites/clever-salmiakki-91ae4e/deploys/64a567644b194a0007f8dec1


Setup infra for exhaustive CR testing

Taken shamefully from https://github.com/regehr/llvm-dataflow-research/blob/master/test-xfer.cpp
The PR depends on #530 ; For review purposes, only look the latest commit for now. There are still some changes to be made in testing infra before it's fully ready for review though.

wow, this is a lot of changes, I did not realize this would be so much work!!

thanks for all the code style fixes, yikes!

is my improveKBCR() sound? is it precise?

OK this needs some more work, please try to get it done before you leave or else while you're away

is my improveKBCR() sound? is it precise?

It's unsound. Right now, I don't mark the test as failure if it's imprecise; let's just make sure that it's atleast sound.
Here's the results:
Unsound!! CR KB reduction for CR
Original KB: ????
Original CR: [1,0)
CalculatedCR: [-8,7)
ExhaustiveCR: [1,0)
../unittests/Interpreter/InterpreterTests.cpp:87: Failure
Value of: false
  Actual: false
Expected: true

After fixing the intersect bug that you commented above, here's the new unsoundness results:
Unsound!! CR KB reduction for CR
Original KB: ????
Original CR: [0,-8)
CalculatedCR: [0,7)
ExhaustiveCR: [0,-8)
../unittests/Interpreter/InterpreterTests.cpp:87: Failure
Value of: false
  Actual: false
Expected: true

thanks!