Able to control lights - just back error messages being spewed.

Describe The Bug:
Initial install - this could be a MQTT config issue etc.
Logs:
Show the Homebridge logs here with the DEBUG flag set, remove any sensitive information.

Updating 'Tasmota 2' ColorTemperature to Error: src must be a string or an object describing the source
    at Template.init (/homebridge/node_modules/homebridge-tasmota/node_modules/nunjucks/src/environment.js:500:13)
    at Template.Obj (/homebridge/node_modules/homebridge-tasmota/node_modules/nunjucks/src/object.js:60:15)
    at new Template (/homebridge/node_modules/homebridge-tasmota/node_modules/nunjucks/src/environment.js:476:18)
    at Object.compile (/homebridge/node_modules/homebridge-tasmota/node_modules/nunjucks/index.js:85:12)
    at tasmotaLightService.parseValue (/homebridge/node_modules/homebridge-tasmota/src/TasmotaService.ts:188:31)
    at tasmotaLightService.statusUpdate (/homebridge/node_modules/homebridge-tasmota/src/tasmotaLightService.ts:153:31)
    at Mqtt.emit (events.js:327:22)
    at MqttClient.<anonymous> (/homebridge/node_modules/homebridge-tasmota/src/lib/Mqtt.ts:70:16)
    at MqttClient.emit (events.js:315:20)
    at MqttClient._handlePublish (/homebridge/node_modules/homebridge-tasmota/node_modules/mqtt/lib/client.js:1277:12)
    at MqttClient._handlePacket (/homebridge/node_modules/homebridge-tasmota/node_modules/mqtt/lib/client.js:410:12)
    at work (/homebridge/node_modules/homebridge-tasmota/node_modules/mqtt/lib/client.js:321:12)
    at Writable.writable._write (/homebridge/node_modules/homebridge-tasmota/node_modules/mqtt/lib/client.js:335:5)
    at doWrite (/homebridge/node_modules/homebridge-tasmota/node_modules/readable-stream/lib/_stream_writable.js:409:139)
    at writeOrBuffer (/homebridge/node_modules/homebridge-tasmota/node_modules/readable-stream/lib/_stream_writable.js:398:5)
    at Writable.write (/homebridge/node_modules/homebridge-tasmota/node_modules/readable-stream/lib/_stream_writable.js:307:11)

Tasmota Device Config:
Please include the Tasmota Module Type / Configuration and Template ( if used )

Screenshots:

Environment:
Tasmota:Service ERROR: Template Parsing error undefined {
  value_json: {
    Time: '2020-11-21T16:39:04',
    Uptime: '0T00:02:04',
    UptimeSec: 124,
    Heap: 30,
    SleepMode: 'Dynamic',
    Sleep: 50,
    LoadAvg: 19,
    MqttCount: 1,
    POWER: 'OFF',
    Dimmer: 100,
    Color: '0,0,0,0,255',
    HSBColor: '0,0,0',
    White: 100,
    CT: 500,
    Channel: [ 0, 0, 0, 0, 100 ],
    Scheme: 0,
    Fade: 'OFF',
    Speed: 1,
    LedTable: 'ON',
    Wifi: {
      AP: 1,
      Channel: 11,
      RSSI: 38,
      Signal: -81,
      LinkCount: 1,
      Downtime: '0T00:00:07'
    }
  }
}

```* **Tasmota Version**:
* **Plugin Version**: 0.0.72
* **Homebridge Version**: v1.2.3

* OS - OS | Alpine Linux  (3.12.1)
* Node - v14.15.0
* NPM- v6.14.8
* **Operating System**:  rpi - container
<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->

Thanks for this, but need your Tasmota device config so I can duplicate it in one of my devices to see what is triggering the error.

@NorthernMan54 - seeing a load of these errors on newly tasmotized (tuya-convert) lights.
How can I send you my config backup ?

Just include it here

Here you go - attaching a couple of devices where I see this:
Archive.zip

I am not sure if it is related, but I am seeing a difference in the template I applied when I type Template
e.g. this is the template I use:
https://templates.blakadder.com/winpro_next.html
{"NAME":"WIPROBatten","GPIO":[0,0,0,0,0,37,0,0,0,47,0,0,0],"FLAG":1,"BASE":18}
the result I see on the console is:
10:43:18 CMD: template
10:43:18 MQT: stat/Junaaid/RESULT = {"NAME":"WIPROBatten","GPIO":[0,0,0,0,0,416,0,0,0,449,0,0,0,4704],"FLAG":0,"BASE":18}

Further, the errors recur every 5 minutes. Which matches the teleperiod specified in Tasmota.

If you update to the latest (.77) it should now be resolved.

PS I have never seen DMP files before and couldn't open them.
To troubleshoot the issue I used your supplied template on a test device I have ( the link to the Tasmota device page was very useful ), and was able to recreate your error messages.  Then resolving was just a few minutes of coding.

Thats great! Just updated - will let you know in 5-10 min if I see any errors. Thanks again for the immediate response.

Ok - State does not trigger any errors now - all seems good. Thank you!

Oops - spoke too soon. Still seeing the error
16/12/2020, 22:37:50 [Tasmota] Updating 'Green' ColorTemperature to Error: src must be a string or an object describing the source
at Template.init (/hoobs/node_modules/nunjucks/src/environment.js:500:13)
at Template.Obj (/hoobs/node_modules/nunjucks/src/object.js:60:15)
at new Template (/hoobs/node_modules/nunjucks/src/environment.js:476:18)
at Object.compile (/hoobs/node_modules/nunjucks/index.js:85:12)
at tasmotaLightService.parseValue (/hoobs/node_modules/homebridge-tasmota/dist/TasmotaService.js:149:47)
at tasmotaLightService.statusUpdate (/hoobs/node_modules/homebridge-tasmota/dist/tasmotaLightService.js:113:39)
at Mqtt.emit (events.js:327:22)
at MqttClient. (/hoobs/node_modules/homebridge-tasmota/dist/lib/Mqtt.js:66:26)
at MqttClient.emit (events.js:315:20)
at MqttClient._handlePublish (/hoobs/node_modules/mqtt/lib/client.js:1277:12)
at MqttClient._handlePacket (/hoobs/node_modules/mqtt/lib/client.js:410:12)
at work (/hoobs/node_modules/mqtt/lib/client.js:321:12)
at Writable.writable._write (/hoobs/node_modules/mqtt/lib/client.js:335:5)
at doWrite (/hoobs/node_modules/readable-stream/lib/_stream_writable.js:409:139)
at writeOrBuffer (/hoobs/node_modules/readable-stream/lib/_stream_writable.js:398:5)
at Writable.write (/hoobs/node_modules/readable-stream/lib/_stream_writable.js:307:11)

PS I have never seen DMP files before and couldn't open them.
To troubleshoot the issue I used your supplied template on a test device I have ( the link to the Tasmota device page was very useful ), and was able to recreate your error messages. Then resolving was just a few minutes of coding.

Sorry about that - used decode_config this time - hope this helps
green.txt

Hold on @NorthernMan54 - I may have seen some old errors. I just restarted - let me look at the log for a while and let you know

Yes - I can confirm that I goofed up with the old log entries. Looks to be fine after the update. Thank you!

Not sure what that decode_config file is either....
Anyway glad to hear that that it is working

Thank you for this fix!


Add the contributers list in readme .

Hey @phyBrackets! On a second thought, it might not be the best idea to add a contributors section in the README. This repo is frequently forked and reused, but users do not always update the README file.  Having this template's contributors appear on other projects' front page might confuse the users of those other projects.

Because this is a template, the README file will end up in all users' instantiated repo. I would prefer not to clutter those repos with the names of the template contributors (who could be misunderstood to be the contributors to those other repos).


Issue synthesizing longer utterances

Copied from email correspondence with @jzhu709:

I'm having problems with the output the model produces for long sentences. The model seems to be able to synthesise individual words mostly fine, but in sentences with even more than just four words it deteriorates significantly or the sound just cuts off sometimes. Do you know what could be the problem? Maybe some parameter I'm missing needs to be changed?

I recommend the following:

Trim silence in the recordings
When aligning with MFA, make sure that your language's writing system doesn't use any characters that MFA interprets as punctuation - for example some languages might use ' as a glottal stop. In this case, you need to tell MFA to not process ' as punctuation
When aligning with MFA, pay attention to any warnings that exist and remove any utterances that are poorly aligned. I also recommend doing some sanity checks with the resulting TextGrids, by viewing them in Praat to make sure they look accurate.
Calculate the speaking rate on your data (characters/second or words/second) and remove extreme outliers

Please post here with any updates you have and whether any of the above suggestions help fix your issue with longer utterances.

Also, I'm noticing that we don't explicitly mention that you have to potentially write your own raw-text preprocessor for your language in synthesize.py to replace the default preprocess function that exists there. When you synthesize, it should print out what the Raw Text Sequence and Phoneme Sequence are for the text you're synthesizing. If those don't look right, you might have to adjust that function as well which could be contributing to your issue.

The raw text and phoneme sequences seem to look right so that shouldn't be a problem.
Not sure if this is the right place to ask, but I just wanted to double check if I should be enabling transformer.spe_features to true in model.yaml and preprocessing.use_spe_features to true as well in preprocess.yaml. In our email conversation you recommended to set them to false, but I read your documentation as well as this reply https://github.com/roedoejet/FastSpeech2/issues/4#issuecomment-1326803315 which suggests that I should be setting them to true since I'm using your g2p library with IPA instead of Arpabet. Would I be correct to set them to true instead?
Thanks for all the help.

I think I've managed to create a decent quality voice using the system! Unfortunately my output still has some static noise, but I think that might just be due to my recording data not being the highest quality since many recordings themselves had noise/static. If there is a way to fix the noise other than getting better data let me know! (but probably not 😢 )
I'm not really sure how it fixed this issue with long sentences, but here is what I changed (and didn't change):

I didn't trim the silences since my audio data had a large spread of volumes and there wasn't an easy automatic command to remove silences to an appropriate level
Fixed the MFA TextGrid alignments by using the --no_textgrid_cleanup option when training the aligner which stops characters being mistaken as punctuation
Resampled the audio to 22050 Hz
Kept use_energy_predictor set to true (for some reason it produces rubbish for me when using my own language but it does work for LJSpeech/english to a good quality)

Thank you so much for the effort and work you have put into helping me and maintaining this project! (can close the issue now unless you have an idea on fixing the noise?)

Good to know. Here are some suggestions:

I didn't trim the silences since my audio data had a large spread of volumes and there wasn't an easy automatic command to remove silences to an appropriate level

Normalize your audio first. Something like sox −−norm=−3 in.wav out.wav. You can also use percentages. Maybe just try removing silence at the beginning and end (sox in.wav out.wav silence 1 0.1 0.1% reverse silence 1 0.1 0.1% reverse) instead before running through MFA.

Kept use_energy_predictor set to true (for some reason it produces rubbish for me when using my own language but it does work for LJSpeech/english to a good quality)

Interesting!
For de-noising, I can recommend RNNoise. There are other models with more sophisticated neural architectures like https://github.com/haoheliu/voicefixer, but I actually still find that RNNoise just works better and more reliably for TTS. Your silence removal and even your alignments might run better after you de-noise this way.
Second, as a long-term plan to reduce some of the artifacts you could fine-tune the universal hifi-gan checkpoint you are using with the outputs from your FastSpeech2 model. This should remove some of the metallic artifacts from the synthesis.
I'll close this issue though - good luck @jzhu709 and congratulations for persevering :)


Dio crashes for flutter version 3.13.x

Package
dio
Version
5.2.1+1
Operating-System
iOS
Output of flutter doctor -v
[!] Flutter (Channel [user-branch], 3.13.4, on macOS 13.0.1 22A400 darwin-arm64,
    locale en-IN)
    ! Flutter version 3.13.4 on channel [user-branch] at
      /Users/prajapati.c001/development/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an
      official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions
      at https://flutter.dev/docs/get-started/install.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss
      this error.
    • Framework revision 367f9ea16b (5 days ago), 2023-09-12 23:27:53 -0500
    • Engine revision 9064459a8b
    • Dart version 3.1.2
    • DevTools version 2.25.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/prajapati.c001/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = /Users/prajapati.c001/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.79.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (3 available)
    • testers’s iPhone (mobile) • 00008110-001565341E78401E • ios            •
      iOS 16.6.1 20G81
    • macOS (desktop)           • macos                     • darwin-arm64   •
      macOS 13.0.1 22A400 darwin-arm64
    • Chrome (web)              • chrome                    • web-javascript •
      Google Chrome 116.0.5845.187

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Dart Version
3.1.2
Steps to Reproduce

Implement log interceptor for your app
send requests to multiple endpoints that return long responses
Wait for log "lost connection to device"

This  "lost connection to device" won't happen if you build using Xcode.
OR when you change package code
Cause:
https://github.com/cfug/dio/blob/main/dio/lib/src/interceptors/log.dart#L138C19
Fix:
// Note you need to import debugPrint. import 'package:flutter/foundation.dart' show debugPrint;
debugPrint(object.toString());

Expected Result
The log interceptor shouldn't fail, and the device shouldn't lose connection.
Actual Result
Can't paste whole logs because of company policy,

This  "lost connection to device" won't happen if you build using Xcode.
OR when you change package code
Cause:
https://github.com/cfug/dio/blob/main/dio/lib/src/interceptors/log.dart#L138C19
Fix:
// Note you need to import debugPrint. import 'package:flutter/foundation.dart' show debugPrint;
debugPrint(object.toString());

We cannot take further actions until a minimal reproducible example is provided.

I can't provide minimal code as I can't test it on a real iOS device with a minimal code app (we aren't allowed to create new app and install it on iPhone which requires new code signing certi and provision)

So native log regarding the crashing might be helpful in this case.

@AlexV525 Sorry man on the native as well we have no error, no error is there in any logs, it just shows
lost connection to the device
Exited.

If so, I suspect someone calls exit. You might add a breakpoint to see if it's true.

You can construct your LogInterceptor with a custom logging function.
LogInterceptor(logPrint: (o) => debugPrint(o.toString()))

We can not import debugPrint into dio since it is not part of the Dart SDK.

@AlexV525 I'll check
@kuhnroyal Yep, that's what we are doing since 3.13.x release! thanks!

Closing as https://github.com/cfug/dio/issues/1970#issuecomment-1723215033.


restore names when negative sign is in between words

Negative signs inside a label are removed.  This was previous behavior that was regressed
https://github.com/mark-nicepants/figma2flutter/issues/41

@apackin please review


autoUpdate output in glasskube describe --output=[yaml|json] should be a boolean

Is your feature request related to a problem? Please describe.
JSON/YAML output to glasskube describe has been added in #717. The field autoUpdate is a string "Enabled" or "Disabled", but it should actually be a boolean true/false instead.
Describe the solution you'd like
autoUpdate should be a boolean.
Describe alternatives you've considered
Additional context
https://github.com/glasskube/glasskube/pull/717#discussion_r1629411787

Hi @christophenne, it'd be great if you could assign this issue to me, but as my PR #773 is still in review you may prefer that it's merged before I can work on another issue...


Institutions finale

Radically simplifies institutions to a single dataframe, with tests.
@davidmcclure please tell me if this looks more like what you want.
Still need to finish up testing match code.

This looks great. I just pushed a commit that clears a couple of flake8 errors in the corpus jobs that I missed before. We've still got a couple of style errors in the institutions modules:
./bin/scrape_wikidata.py:124:80: E501 line too long (87 > 79 characters)
./bin/scrape_wikidata.py:126:80: E501 line too long (90 > 79 characters)
./osp_pipeline/institutions/ipeds.py:1:1: F401 'urllib.request' imported but unused
./osp_pipeline/institutions/ipeds.py:2:1: F401 'zipfile' imported but unused
./osp_pipeline/institutions/ipeds.py:3:1: F401 'os' imported but unused
./osp_pipeline/institutions/match_institutions.py:74:80: E501 line too long (86 > 79 characters)
./osp_pipeline/institutions/match_institutions.py:75:80: E501 line too long (85 > 79 characters)
./osp_pipeline/institutions/match_institutions.py:85:80: E501 line too long (142 > 79 characters)
./osp_pipeline/institutions/match_institutions.py:86:80: E501 line too long (105 > 79 characters)
./osp_pipeline/institutions/match_institutions.py:87:80: E501 line too long (103 > 79 characters)
./osp_pipeline/institutions/match_institutions.py:90:80: E501 line too long (95 > 79 characters)
./osp_pipeline/institutions/match_institutions.py:91:80: E501 line too long (105 > 79 characters)
./osp_pipeline/institutions/match_institutions.py:92:80: E501 line too long (104 > 79 characters)
./osp_pipeline/institutions/match_institutions.py:234:80: E501 line too long (83 > 79 characters)
./osp_pipeline/institutions/match_institutions.py:258:80: E501 line too long (98 > 79 characters)
./tests/osp_pipeline/institutions/test_institution.py:65:1: E302 expected 2 blank lines, found 1
./tests/osp_pipeline/institutions/test_institution.py:70:1: E302 expected 2 blank lines, found 1
./tests/osp_pipeline/institutions/test_institution.py:102:1: W391 blank line at end of file

Can we resolve these? Again, if there are places where it's not possible to fix the line lengths because of scalar strings / weird Spark constructs, we can explicitly set # noqa: <rule> at the end of the line to suppress the error, though let's try to avoid that if possible.
The integration tests for the ETL look excellent. I think all that's left is testing the matching logic, and then this is done.

Ok, this fixes all flake8s except for match_institutions.py which I'll rewrite elsewhere. @davidmcclure , GTG?


Error upgrading to v 4.17

I have a project based on this repo.  It has been working fine with v 4.16.  I wanted to upgrade to v 4.17.  I changed the package.json to 4.17 for the webpack-plugin and the types.  I also updated the web workers per this page:  https://github.com/Esri/arcgis-webpack-plugin#usage
When I run npm install I get a strange shell window that says templates are not found in ...AppData\Local\Temp\pacote-git-template\git-clone-d24dlb2d although the install completes.  When I run ng serve the application won't start.  I get a TypeError:
TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined    at Function.from (buffer.js:313:9)
When I switch back to 4.16 and do npm install and ng serve it works again as expected.  Is v 4.17 ready to use with webpack and angular?

I haven't seen that error before. What's the pathname for buffer.js? Is that a JS API module?
I'll run some tests on my end.

@nbabel I didn't see the same issues you reported but I also wasn't able to run the webpack sample using 4.17. I'll need to investigate further. Here's a screenshot of the errors I'm seeing:

Okay, the problem I'm seeing is when you upgrade the webpack plugin you also need to set the DEFAULT_WORKER_URL to the same base version of the plugin. So once I did the following then the app worked for me:

const DEFAULT_WORKER_URL = "https://js.arcgis.com/4.17/";

Thanks @andygup, I have set the DEFAULT_WORKER_URL to the same as the base version of the plugin, but it's still not working.
Here is the full warning I get in a shell window when I run npm install:
warning: templates not found in C:\Users\NBabel\AppData\Local\Temp\pacote-git-template-tmp\git-clone-0c79d1e2
Here is the full error I'm getting from ng serve:
95% emitting index-html-webpack-pluginbuffer.js:313
  throw new ERR_INVALID_ARG_TYPE(
  ^

TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at Function.from (buffer.js:313:9)
    at writeOut (C:\Projects\WFDSS\NextGen\repo\code\UI_NextGen\node_modules\webpack\lib\Compiler.js:413:27)
    at Immediate._onImmediate (C:\Projects\WFDSS\NextGen\repo\code\UI_NextGen\node_modules\memory-fs\lib\MemoryFileSystem.js:288:4)
    at processImmediate (internal/timers.js:456:21) {
  code: 'ERR_INVALID_ARG_TYPE'
}

The only thing I'm changing in my package.json file is
"dependencies": {       "@types/arcgis-js-api": "4.17.0",   }
"devDependencies": {       "@arcgis/webpack-plugin": "4.17",    }
I'm using node v12.16.0 if that makes any difference.

@nbabel thanks. You might try this in your webpack config:

 node: {
 process: false,
 global: false,
 Buffer: false,
 setImmediate: false,
 fs: 'empty',
 },

Unfortunately, that had no effect.  This is my webpack.config file without those changes:
const ArcGISPlugin = require("@arcgis/webpack-plugin");
const LiveReloadPlugin = require('webpack-livereload-plugin');
const options = {
  protocol: 'http',
  port: 35730,
  hostname: 'localhost',
  // appendScriptTag: true,
  delay: 0,

};

module.exports = {
  plugins: [
    new ArcGISPlugin(),
    new LiveReloadPlugin(options)
  ],
  node: {
    process: false,
    global: false,
    fs: "empty"
  }
};

Gotcha. I have a some questions:

Make sure you are running the latest version of the webpack-plugin: npm install @arcgis/webpack-plugin@latest. Your version should 4.17.5
Can you paste your package.json file here?
What is index-html-webpack-pluginbuffer.js? It's in the error message you posted. It's sounds like a webpack file but I did a quick search for it and didn't find anything obvious.
And buffer.js Is that the buffer module from node.js or one of yours? Just double checking.

at Function.from (buffer.js:313:9)

Can you create a stackblitz app that reproduces this issue?

Closing as inactive. Feel free to provide follow-up info, if needed.

Just getting back to this.  It appears using version 4.17.5 has done the trick.  I'm not getting the errors I was before and the map and layers are loading correctly. However, there is a warning in the console:  Failed to create Worker.  Fallback to execute module in main thread.
It has a message of: Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'https://js.arcgis.com/4.17.5/dojo/dojo-lite.js' failed to load.  Is dojo-lite.js not included with 4.17.5 anymore?
Everything appears to be working, so I guess it isn't needed?

Good deal. That message is a performance degradation warning because the workers aren't configured correctly.
You might try out @arcgis/core which will go into beta in the week or two: https://www.npmjs.com/package/@arcgis/core. That build uses native ES modules (rather than AMD), won't need to configure webpack and the workers code is embedded.
More info here: https://github.com/Esri/feedback-js-api-next/tree/master/esm-samples/jsapi-angular-cli


Uncaught ReferenceError: PIXI is not defined

I'm trying to start working on a new game using Angular2 for my front-end and Phaser as my game engine, the language of my choice is Typescript. I am also using Webpack and it's "webpack-dev-server" for hot file reloading during my development.
When I tried to insert some Phaser code into my "Angular2" infrastructure I got some errors:

On the browser console I have an error message "Uncaught ReferenceError: PIXI is not defined".
While running Webpack I get a warning:
"WARNING in ./~/phaser/build/phaser.js
Critical dependencies:
53:397-404 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
@ ./~/phaser/build/phaser.js 53:397-404".

Maybe these two are not related, the first one doesn't allow me to continue using Phaser and it looks like some kind of an internal bug (considering how user unfriendly the error message is).
I've downloaded Phaser typings for using it's Typescript API, and I'm trying to import Phaser like this:
import * as Phaser from 'phaser';
I am attaching some screens for you to take a look at. Hope, you can help  :)

Put before you import phaser:
import 'pixi.js/bin/pixi.js';
import 'p2';

Ok, now I've found instructions (Phaser Github) on how to use Phaser with Webpack and pixi & p2 dependencies.
But it doesn't quite work, because now I get "Uncaught ReferenceError: p2 is not defined" instead of the old one.
I tried to add p2 and Phaser to loaders as well:
{ test: /p2.js/, loader: "script" }, { test: /phaser-split.js/, loader: "script" }
It looks like global variables Phaser, PIXI and p2 are defined now. But I get the errors on the screen below:

The webpack documentation might be outdated. This should work however using webpack expose loader.
Webpack config:
var phaserModulePath = path.join(__dirname, '/node_modules/phaser/');

module.exports = {
    ...
    module: {
        loaders: [
            { test: /pixi\.js/, loader: 'expose?PIXI' },
            { test: /phaser-split\.js$/, loader: 'expose?Phaser' },
            { test: /p2\.js/, loader: 'expose?p2' },
        ]
    },
    resolve: {
        alias: {
            'phaser': path.join(phaserModulePath, 'build/custom/phaser-split.js'),
            'pixi': path.join(phaserModulePath, 'build/custom/pixi.js'),
            'p2': path.join(phaserModulePath, 'build/custom/p2.js')

        }
    }
    ...
}

Closing this as a solution has been given. If someone wants to update the Phaser CE readme then please go ahead.

I got the same error in my console. also all required dependencies which have been said are included in bundle file.

What's the argument for having a non-standard install like this as the default ? Broken out of the box requiring special webpack config doesn't feel very user friendly.

Because Phaser 2 was never written with modules, to be modular, or with any kind of bundler in mind (it copied three.js). So when someone wants to try and shoehorn it into webpack, this is how it needs to be done.
Phaser 3 is 100% modular and is built with webpack as standard.

Webpack 2:
rules: [
  {
    test: /pixi\.js/,
    use: [{
      loader: 'expose-loader',
      options: 'PIXI',
    }],
  },
  {
    test: /phaser-split\.js$/,
    use: [{
      loader: 'expose-loader',
      options: 'Phaser',
    }],
  },
  {
    test: /p2\.js/,
    use: [{
      loader: 'expose-loader',
      options: 'p2',
    }],
  },
],

To overcome this error I updated the "scripts" in .angular-cli.json to have the following
"scripts": [
        "../node_modules/phaser-ce/build/custom/pixi.js",
        "../node_modules/phaser-ce/build/custom/p2.js",
        "../node_modules/phaser-ce/build/custom/phaser-split.js"
      ],

Slight elaboration on @nexiuhm's solution for Webpack 2/3/4:
First, install expose-loader: npm i expose-loader --save
Then, modify webpack config:
const phaserModulePath = path.join(__dirname, '/node_modules/phaser/');

module.exports = {
    ...
    module: {
        rules: [
            { test: /pixi\.js/, loader: 'expose?PIXI' },
            { test: /phaser-split\.js$/, loader: 'expose?Phaser' },
            { test: /p2\.js/, loader: 'expose?p2' },
        ]
    },
    resolve: {
        alias: {
            'phaser': path.join(phaserModulePath, 'build/custom/phaser-split.js'),
            'pixi': path.join(phaserModulePath, 'build/custom/pixi.js'),
            'p2': path.join(phaserModulePath, 'build/custom/p2.js'),
        }
    }
    ...
}

Finally, in your ES6 module where you use Phaser, import all three of p2, pixi and phaser (otherwise you still might see "PIXI is not defined"):
import 'pixi';
import 'p2';
import Phaser from 'phaser';

const game = new Phaser.Game(...);

ESlint and/or your IDE might complain that it's unable to resolve path to module p2 and pixi (as they are not real dependencies in package.json), but al least it works.


feat: implement forecast

Fully implement weather forecast, closes #4

User can now select the day after fetching data.
Little roadmap for this PR:

[ ] Show information on selected date
[ ] Give user opportunity to go back to day selection
[ ] Also give the user the opportunity to go back to "After Location Fetch" screen
[ ] Also implement this for non-forecast options

User can now go back to day selection and detailed current will be shown on forecast.


[Feature] GitHub API integration with resource submission form

Problem
Follow up to the issue #9
Description
The alternative solution that has been suggested is to allow users to submit a pull request (PR) if they want to contribute a resource.
However, this can be a problem for non-tech-savvy users who may not be familiar with the GitHub platform. Therefore, we should consider using the GitHub API to link our custom-made form with GitHub and simplify the process for the users.
By using the GitHub API, we can authenticate users and create a pull request directly from our custom form. This will enable our users to submit their resources seamlessly without having to navigate through the GitHub platform. I think that this will improve the user experience and encourage more contributions to our resources.
Implementation

[x] I would be interested in implementing this feature.

I don't think it's a good idea to have people create a GitHub account for submitting a resource.

@asrvd I don't think there is any other feasible and efficient way to authenticate user.

You don't need to authenticate them :)

According to me, There should be some kind of authentication otherwise it will increase the risk of spams. As you suggested, The automated bot account, which is also great but we need to use Captcha's, spam filters, etc.

I like the idea, but agree authentication is a barrier. If there was a way to do so and prevent spam it might be a solid route to go forward.
Converting to a discussion for now.


Color code problems

Hey there, love your mod and I plan on using it in my modpack, but there is a problem with the color code support in the JSON code. Every time I put in a section sign (§), there is always a weird symbol that appears. The picture below shows my current setup b4 I figured out the color option in the code. (P.S. look in the lower left corner to see bug)

As much as I like the mod itself, which is absolutely great, but with the color code being broken is really a pain in the (you know what this supposed to be), and I really hope you can release a patch fix for 1.7.10 so I can finish this modpack and submit it.
Cheers,
ZombieHDGaming

And also, the ColorHover feature in the JSON code is unusable as every time I try to use that code, it gives an error saying that it's not compatible with the mod and it is a real pain as I just want normal colors for my text when I hover over them.

And also, the ColorHover feature in the JSON code is unusable as every time I try to use that code, it gives an error saying that it's not compatible with the mod and it is a real pain as I just want normal colors for my text when I hover over them.

First of all, don't report stuff as if you KNOW that it is broken. Everything you describe works perfectly fine for me
If you get that symbol you might wanna change the Encoding you are saving the file in, i sometimes had problems with that.
For the hoverTextColor property of texts, it sounds like you just messed up the json. If you are sure that you did it correct post the error log please.

First of all, don't report stuff as if you KNOW that it is broken. Everything you describe works perfectly fine for me
If you get that symbol you might wanna change the Encoding you are saving the file in, i sometimes had problems with that.
For the hoverTextColor property of texts, it sounds like you just messed up the json. If you are sure that you did it correct post the error log please.

How might you suggest changing the encoding for not getting the symbol? I'm sry but I'm a noob with JSON as I'm using an online editor. And I'm using MultiMC for my modpack and it doesn't give me specifics with the hoverTextColor. If you can help, I'll gladly post my config for you to look at, and possibly make corrections or suggestions.

How might you suggest changing the encoding for not getting the symbol? I'm sry but I'm a noob with JSON as I'm using an online editor. And I'm using MultiMC for my modpack and it doesn't give me specifics with the hoverTextColor. If you can help, I'll gladly post my config for you to look at, and possibly make corrections or suggestions.

I don't know how to change the encoding in your online editor :P, can't you open up the config file in notepad++ or something?
And MultiMC has the console window right? Does it not print anything there? And if not where are you getting the "it's not compatible with the mod" from?
Yes please post your config file.

I don't know how to change the encoding in your online editor :P, can't you open up the config file in notepad++ or something?
And MultiMC has the console window right? Does it not print anything there? And if not where are you getting the "it's not compatible with the mod" from?
Yes please post your config file.

I tried to open the JSON config with Notepad but my computer denied it and wouldn't allow me to, so that was my next option.
HoverColor Problem:
{
"images": {
"title": {
"image": "custommainmenu:textures/gui/minecraft.png",
"posX": -137,
"posY": 30,
"width": 512,
"height": 512,
"alignment": "top_center"
}
},
"buttons": {
"singleplayer": {
"text": "menu.singleplayer",
"posX": -225,
"posY": 48,
"width": 200,
"height": 20
},
"multiplayer": {
"text": "menu.multiplayer",
"posX": 24,
"posY": 48,
"width": 200,
"height": 20
},
"mods": {
"text": "fml.menu.mods",
"posX": -100,
"posY": 72,
"width": 200,
"height": 20
},
"options": {
"text": "menu.options",
"posX": -100,
"posY": 96,
"width": 98,
"height": 20
},
"quit": {
"text": "menu.quit",
"posX": 2,
"posY": 96,
"width": 98,
"height": 20
},
"language": {
"text": "",
"posX": -11,
"posY": 48,
"width": 20,
"height": 20
},
"refresh": {
"text": "",
"posX": -154,
"posY": 132,
"width": 20,
"height": 20
}
},
"texts": {
"Developer Info": {
"text": "Developed by ZombieHDGaming",
"posX": 2,
"posY": -20,
"color": 65280,
"hoverColor": 65280
"alignment": "bottom_left"
},
"Mechanical OverDrive": {
"text": "Mechanical OverDrive",
"posX": 2,
"posY": -30,
"color": 16753920,
"hoverColor": 16753920
"alignment": "bottom_left"
}
},
"other": {
"splash-text": {
"posX": 90,
"posY": 70,
"color": -256,
"alignment": "top_center"
},
"panorama": {
"images": "minecraft:textures/gui/title/background/panorama_%c.png",
"blur": true,
"gradient": true
}
}
}
I believe I already figured this one out but you can still check and
Color Code Problem:
{
"images": {
"title": {
"image": "custommainmenu:textures/gui/minecraft.png",
"posX": -137,
"posY": 30,
"width": 512,
"height": 512,
"alignment": "top_center"
}
},
"buttons": {
"singleplayer": {
"text": "menu.singleplayer",
"posX": -225,
"posY": 48,
"width": 200,
"height": 20
},
"multiplayer": {
"text": "menu.multiplayer",
"posX": 24,
"posY": 48,
"width": 200,
"height": 20
},
"mods": {
"text": "fml.menu.mods",
"posX": -100,
"posY": 72,
"width": 200,
"height": 20
},
"options": {
"text": "menu.options",
"posX": -100,
"posY": 96,
"width": 98,
"height": 20
},
"quit": {
"text": "menu.quit",
"posX": 2,
"posY": 96,
"width": 98,
"height": 20
},
"language": {
"text": "",
"posX": -11,
"posY": 48,
"width": 20,
"height": 20
},
"refresh": {
"text": "",
"posX": -154,
"posY": 132,
"width": 20,
"height": 20
}
},
"texts": {
"Developer Info": {
"text": "§bDeveloped by §aZombieHDGaming",
"posX": 2,
"posY": -20,
"color": -1,
"hoverColor": -1,
"alignment": "bottom_left"
},
"Mechanical OverDrive": {
"text": "§6Mechanical OverDrive",
"posX": 2,
"posY": -30,
"color": -1,
"hoverColor": -1,
"alignment": "bottom_left"
}
},
"other": {
"splash-text": {
"posX": 90,
"posY": 70,
"color": -256,
"alignment": "top_center"
},
"panorama": {
"images": "minecraft:textures/gui/title/background/panorama_%c.png",
"blur": true,
"gradient": true
}
}
}
these are 2 different JSON configs but that was because I had to update the mod but anyway, the § problem is honestly the only huge problem I have

I tried to open the JSON config with Notepad but my computer denied it and wouldn't allow me to, so that was my next option.
HoverColor Problem:
{
"images": {
"title": {
"image": "custommainmenu:textures/gui/minecraft.png",
"posX": -137,
"posY": 30,
"width": 512,
"height": 512,
"alignment": "top_center"
}
},
"buttons": {
"singleplayer": {
"text": "menu.singleplayer",
"posX": -225,
"posY": 48,
"width": 200,
"height": 20
},
"multiplayer": {
"text": "menu.multiplayer",
"posX": 24,
"posY": 48,
"width": 200,
"height": 20
},
"mods": {
"text": "fml.menu.mods",
"posX": -100,
"posY": 72,
"width": 200,
"height": 20
},
"options": {
"text": "menu.options",
"posX": -100,
"posY": 96,
"width": 98,
"height": 20
},
"quit": {
"text": "menu.quit",
"posX": 2,
"posY": 96,
"width": 98,
"height": 20
},
"language": {
"text": "",
"posX": -11,
"posY": 48,
"width": 20,
"height": 20
},
"refresh": {
"text": "",
"posX": -154,
"posY": 132,
"width": 20,
"height": 20
}
},
"texts": {
"Developer Info": {
"text": "Developed by ZombieHDGaming",
"posX": 2,
"posY": -20,
"color": 65280,
"hoverColor": 65280
"alignment": "bottom_left"
},
"Mechanical OverDrive": {
"text": "Mechanical OverDrive",
"posX": 2,
"posY": -30,
"color": 16753920,
"hoverColor": 16753920
"alignment": "bottom_left"
}
},
"other": {
"splash-text": {
"posX": 90,
"posY": 70,
"color": -256,
"alignment": "top_center"
},
"panorama": {
"images": "minecraft:textures/gui/title/background/panorama_%c.png",
"blur": true,
"gradient": true
}
}
}
I believe I already figured this one out but you can still check and
Color Code Problem:
{
"images": {
"title": {
"image": "custommainmenu:textures/gui/minecraft.png",
"posX": -137,
"posY": 30,
"width": 512,
"height": 512,
"alignment": "top_center"
}
},
"buttons": {
"singleplayer": {
"text": "menu.singleplayer",
"posX": -225,
"posY": 48,
"width": 200,
"height": 20
},
"multiplayer": {
"text": "menu.multiplayer",
"posX": 24,
"posY": 48,
"width": 200,
"height": 20
},
"mods": {
"text": "fml.menu.mods",
"posX": -100,
"posY": 72,
"width": 200,
"height": 20
},
"options": {
"text": "menu.options",
"posX": -100,
"posY": 96,
"width": 98,
"height": 20
},
"quit": {
"text": "menu.quit",
"posX": 2,
"posY": 96,
"width": 98,
"height": 20
},
"language": {
"text": "",
"posX": -11,
"posY": 48,
"width": 20,
"height": 20
},
"refresh": {
"text": "",
"posX": -154,
"posY": 132,
"width": 20,
"height": 20
}
},
"texts": {
"Developer Info": {
"text": "§bDeveloped by §aZombieHDGaming",
"posX": 2,
"posY": -20,
"color": -1,
"hoverColor": -1,
"alignment": "bottom_left"
},
"Mechanical OverDrive": {
"text": "§6Mechanical OverDrive",
"posX": 2,
"posY": -30,
"color": -1,
"hoverColor": -1,
"alignment": "bottom_left"
}
},
"other": {
"splash-text": {
"posX": 90,
"posY": 70,
"color": -256,
"alignment": "top_center"
},
"panorama": {
"images": "minecraft:textures/gui/title/background/panorama_%c.png",
"blur": true,
"gradient": true
}
}
}
these are 2 different JSON configs but that was because I had to update the mod but anyway, the § problem is honestly the only huge problem I have

And MultiMC does have the console window but the launcher just spits back, "[20:23:52] [Client thread/ERROR] [CustomMainMenu]: Error while loading new config file, trying to keep the old one loaded." and this happens when the code is incorrect most of the time.

And MultiMC does have the console window but the launcher just spits back, "[20:23:52] [Client thread/ERROR] [CustomMainMenu]: Error while loading new config file, trying to keep the old one loaded." and this happens when the code is incorrect most of the time.

So yeah, for the first config file you were missing a comma behind the hoverColor settings.
And like i said, it works fine when i save that file in ASCII instead of UTF8. And i don't see why you shouldn't be able to open the file.

So yeah, for the first config file you were missing a comma behind the hoverColor settings.
And like i said, it works fine when i save that file in ASCII instead of UTF8. And i don't see why you shouldn't be able to open the file.

Well, yea my computer finally worked after like 4 days and it opened the config.  Again, noob with JSON.

Well, yea my computer finally worked after like 4 days and it opened the config.  Again, noob with JSON.

It has nothing to do with json, download notepad++ and open the json file with that. On the top you should see a Encoding section, select ASCII there. The weird symbols should then become visible, delete them and save the file and it should work.

It has nothing to do with json, download notepad++ and open the json file with that. On the top you should see a Encoding section, select ASCII there. The weird symbols should then become visible, delete them and save the file and it should work.

Ok, never mind. I got the fix to the mod by testing before you sent your msg, but thanks for your help anyway Lumien. I'll make sure you are on the alpha testing list for the modpack once I get it on the ATLauncher, and you will have contributor's rights to the modpack. So just shoot me a msg if you need the name for the pack.

Ok, never mind. I got the fix to the mod by testing before you sent your msg, but thanks for your help anyway Lumien. I'll make sure you are on the alpha testing list for the modpack once I get it on the ATLauncher, and you will have contributor's rights to the modpack. So just shoot me a msg if you need the name for the pack.

kk :)

kk :)

Wait! I have a question bout the mod. Is there any way to display how many mods are active in FML using a text? I'm just asking as I saw Bacon_Donut use this mod for his Sky Factory 2 modpack and he had a number of active mods in the pack under the pack name

Wait! I have a question bout the mod. Is there any way to display how many mods are active in FML using a text? I'm just asking as I saw Bacon_Donut use this mod for his Sky Factory 2 modpack and he had a number of active mods in the pack under the pack name

I mean you can add custom texts so you can just add the number of mods in the pack.
You can also move the default fml text if you want.

I mean you can add custom texts so you can just add the number of mods in the pack.
You can also move the default fml text if you want.

Yeah, but the default FML text is big and it's just not a good place holder if you get my drift

Yeah, but the default FML text is big and it's just not a good place holder if you get my drift

I will at place holder strings at some point that will allow you to use certain values like active mods etc. in your custom texts.

I will at place holder strings at some point that will allow you to use certain values like active mods etc. in your custom texts.

That sounds great, I can't wait to see that added. I will definitely use this in my other modpacks that I'm making.

That sounds great, I can't wait to see that added. I will definitely use this in my other modpacks that I'm making.


global: remove dependency on flask-login

This part should be refactored so that Invenio-I18N does not depend on Flask-Login/Invenio-Accounts

Am I right, that the issue is/was the current_user in this method
https://github.com/inveniosoftware/invenio-i18n/blob/287849c1dd52904cbb7c7da4e6da469b603a2dfe/invenio_i18n/selectors.py#L54-L65
Is this issue still an issue?
I think @rekt-hard was currently mentioning/working on language preferences for v12 - is this related?

afaik, in previous versions, the locale was set on the user directly (hence the language_user_key which could be configured). Currently, the locale is stored in the user_preferences.
In general, I am not sure if the whole part regarding the user shall be removed or we should just refactor it to make it work with the current implementation.

Can we figure out, who needs to be involved to get a decision here?
@rekt-hard @lnielsen

discussed with @lnielsen

we close it and see whether it pops up again.


Close cx on error

In general, this makes invoking an executable more robust by closing the context if the executable throws an exception.

In particular, this fixes the issue where cd hangs when using an unknown file system name (e.g. cd foo:)

@ussuri

LGTM


✨Add Visitor Counter feature done ! #59

Hello, PR
Add new feature - #59
Add Visitor Counter feature done properly -

@Akshat111111 PA merge my PR with level 3 & gssoc-ext tag, If you check other projects, they are also giving level 3 for this..

You can check my code also...
Thank you 🙏🏻

@Akshat111111 done, merge my PR with level 3 & gssoc-ext tag, If you check other projects, they are also giving level 3 for this..

You can check my code also...
Thank you 🙏🏻

@Akshat111111 please merge my PR, otherwise I can't able to do another task..

@Akshat111111 please merge my PR, otherwise I can't able to do another task..

@Akshat111111 please merge my PR, otherwise I can't able to do another task..

@Akshat111111 please merge my PR, otherwise I can't able to do another task..

@Akshat111111

@Akshat111111 ?? today is the last day please merge my PR with level 3 ..

Nice implemented

@Akshat111111 sir please add level 3, i add this new feature,  If you check other projects, they are also giving level 3 for this..


Allow plugins to bring new Vm vendor_types

Currently every provider plugin that refreshes a VM has to add a line to the core VmOrTemplate.VENDOR_TYPES constant array which is obviously not very pluggable.
Not requiring that all vendor types be in this list and allowing subclasses to override #vendor_display with their own constant we can allow plugins to work without modifying core
https://github.com/ManageIQ/manageiq/issues/19440

@Fryguy I updated this to remove the validate inclusion so that provider plugins can override the #vendor_display method without having to add anything to core and updated the provider generator to set this.

I was thinking about this more and I think we have to keep vendor unfortunately, as automate code and API calls likely use this value and I'm concerned about breaking them.

Yeah this isn't dropping the vendor column, but dropping the requirement that all vendors be in this core array for the purpose of vendor_display

I guess my  concern is that without the validation, we can't ensure that a set of known values are brought (previously the PR had plugins bringing a known vendor and vendor_display value - i.e. it forced them to pick a value for both)

Okay I'll put the PR back the way it was originally then

Hm using leaf_subclasses doesn't seem to be playing well constant autoloading

Going to need to investigate a different approach to this


crash

flutter_10.log

Steps to Reproduce

...
...
...

Logs
Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter --no-color create --template app --description A new Flutter application. --org com.example flutter_appz
exception
FileSystemException: FileSystemException: Cannot open file, path = 'C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.4\plugins\flutter\bin\cache\lockfile' (OS Error: Access is denied.
, errno = 5)
#0      _File.open.<anonymous closure> (dart:io/file_impl.dart:364:9)
#1      _rootRunUnary (dart:async/zone.dart:1132:38)
#2      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#3      _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#4      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#5      Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#6      Future._completeWithValue (dart:async/future_impl.dart:483:5)
#7      Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7)
#8      _rootRun (dart:async/zone.dart:1124:13)
#9      _CustomZone.run (dart:async/zone.dart:1021:19)
#10     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#13     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#14     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

flutter doctor
[✓] Flutter (Channel master, v1.2.2-pre.6, on Microsoft Windows [Version 6.3.9600], locale en-IN)
    • Flutter version 1.2.2-pre.6 at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.4\plugins\flutter
    • Framework revision cb1c7a3664 (3 days ago), 2019-02-15 11:03:57 -0500
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\kruti\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 3.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 33.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[!] VS Code
    • VS Code at C:\Users\kruti\AppData\Local\Programs\Microsoft VS Code
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Lenovo A7020a48 • ? • android-arm64 • Android 6.0 (API 23)

! Doctor found issues in 1 category.

It looks like you have something preventing you from accessing an IDE file.  Are you able to reproduce this consistently?
I'm not sure about how IntelliJ works with this, but I suspect you want your plugin stored somewhere outside of %PROGRAMFILES%, as I believe that requires administrative access.  Otherwise, try running IntelliJ as admin.

Also - I edited the log into your issue, but in the future please paste the actual log test rather than uplaoding the log file.  It makes it easier to address and triage your issue.  Thanks!

This sounds like you installed Flutter into C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.4\plugins\flutter which is not supported because C:\Program Files requires elevated privileges as mentioned above. Also installing Flutter into the IDE install directory doesn't seem like a good idea.
See also https://flutter.io/docs/get-started/install/windows#get-the-flutter-sdk

do not install Flutter in a directory like C:\Program Files\ that requires elevated privileges


restore button if there's not pool data

Fixes #1356 .

Changes proposed in this PR:

restore button if pool data is missing

#1357

yes, most probably for #1357 it's enough checking these deps or just comment/remove these 2 lines - tried it, it works, but it's not the most clean solution.
I found another bug thought. Fixed assets are having issues when trying to buy.

but it's not the most clean solution.

yup, I would question putting a price loading spinner on the button in the first place, should be on the price as that's what's loading but not sure yet about best solution.
And that looks like a bug indeed, would be great to add this in a new issue unless you can quickly solve it in here with some optional chaining

Nope, this seems to be related to a query that is returning no information about the pool. Without this information the order call fails, it happens only for the fixed price asset. This bug actually made me go back to check my solution, and I found that this is what was actually causing the issue with the loader. I will continue solving the issue on this PR

why are we buying from a pool when asset's price schema is fixed rate?

why are we buying from a pool when asset's price schema is fixed rate?

Yes. We had an issue with the logic, now should be fine.


App crashes from playing Video first and then playing Audio module

While playing video if i click around to an audio module the app will crash.

https://github.com/jajablinky/ArTape-2.0/assets/110640544/ba6db169-ed01-4a97-82cc-0b2f445f0215
Example, with errors


small conversion updates

Codecov Report

Merging #3 into master will increase coverage by 0.14%.
The diff coverage is 73.33%.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   70.44%   70.58%   +0.14%
==========================================
  Files           8        8
  Lines         450      459       +9
==========================================
+ Hits          317      324       +7
- Misses        133      135       +2

Impacted Files
Coverage Δ

src/convert.jl
58.06% <73.33%> (+8.06%)
:arrow_up:

Continue to review full report at Codecov.

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


ProcessInfoTests.testOperatingSystemIsAtLeastVersion should not run on visionOS

visionOS's version number is indeed lower than 5.
resolves: rdar://134731230

@swift-ci please test


should call Less() fewer times when iterating

when calling DescendRange methods, an iteration is performed.
All items between [lessOrEqual, greaterThan ) are iterated.
Suppose there're n items in the range, I though Less function is called log(n) times.
However, Less is called more than n times as a matter of
if stop != nil && !n.items[i].Less(stop) {
				return hit, false
			}

Why make comparisons this way? I though if parent node can decide all its children are in the range,  most Less(stop) call can be optimized out.
Are there anything wrong with this idea?

@caterchong I have submitted a PR base on your idea.


Extended OpenStack APIs (esp. a Glance API)

This is work done to integrate son-emu with OpenSource MANO (OSM) by using the project groups OpenStack APIs.
Therefore I tweaked some minor things and added additional endpoints OSM wants to have.
(also contains some other upstream changes: a quick and dirty dashboard for demos that polls the emulator's REST api)

Any idea where this "address already in use" error in the monitoring API comes from? Anything else using similar ports?

our monitoring api uses port 3000 hardcoded. yours is using keystone port - 2000 which is 3000 as well. So changing the ports of your monitoring will fix this, or you merge your monitoring api with ours (seems cleaner)

mhm. I think it is a leftover from some other merges. I don't use the monitoring. ... The reason to not fix it to 3000 is that you might have multiple PoPs and thus multiple monitoring APIs running, right? ... However, I guess I found the main bug in b3b9c58  ... Tests work out now.

The monitoring api querying always involve either a concrete docker container name or a datacenter + stack + vnf_name
that is why we fixed the port and only have one running instance.

Ok, but how do you ensure that it is not started multiple times? E.g. when I added the OpenStackApiEndpoint to multiple PoPs, the start method in openstack_api_endpoint.py is executed multiple times?!

the first instance of the openstackapi endpoint will instantiate a singleton called manage.
all openstack endpoints have a reference to manage and manage has a reference to all of them.
manage instantiates the single instances we need. namely the chaining api and the monitoring api

Yeah, but this means the monitor line (25) of openstack_api_endpoint.py should completely be removed, right?

yes line 25 should be removed!

Done. I think it was removed and I re-introduced it during the merge :D Sorry for that.

I'm getting this error everytime I shutdown son-emu, also I can not instantiate new containers.
I have updated containernet as well as moved on to the newer docker-py version.
containernet>
INFO:root:stopping pushgateway container
Traceback (most recent call last):
File "simple_heat_restapi.py", line 83, in
main()
File "simple_heat_restapi.py", line 79, in main
create_topology1()
File "simple_heat_restapi.py", line 74, in create_topology1
net.stop()
File "/home/xschlef/sf_xschlef/son-emu/src/emuvim/dcemulator/net.py", line 290, in stop
self.monitor_agent.stop()
File "/home/xschlef/sf_xschlef/son-emu/src/emuvim/dcemulator/monitoring.py", line 520, in stop
self._stop_container('pushgateway')
File "/home/xschlef/sf_xschlef/son-emu/src/emuvim/dcemulator/monitoring.py", line 539, in _stop_container
container.remove(force=True)
File "/usr/local/lib/python2.7/dist-packages/docker/models/containers.py", line 259, in remove
return self.client.api.remove_container(self.id, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/docker/utils/decorators.py", line 21, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/docker/api/container.py", line 940, in remove_container
self._raise_for_status(res)
File "/usr/local/lib/python2.7/dist-packages/docker/api/client.py", line 212, in _raise_for_status
raise create_api_error_from_http_exception(e)
File "/usr/local/lib/python2.7/dist-packages/docker/errors.py", line 30, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.APIError: 500 Server Error: Internal Server Error for url: http+docker://localunixsocket/v1.24/containers/e7cf408666af2b711fd9c2a8650abd26c037c217a2865774347dd656b99fbc49?force=True&link=False&v=False ("Unable to remove filesystem for e7cf408666af2b711fd9c2a8650abd26c037c217a2865774347dd656b99fbc49: remove /var/lib/docker/containers/e7cf408666af2b711fd9c2a8650abd26c037c217a2865774347dd656b99fbc49/shm: device or resource busy")
Also when running the unittests I'm getting an error in the monitoring api:
ERROR:root:emuvim.api.heat.openstack_dummies.monitoring_dummy_api: Error getting monitoring information.
[Errno 2] No such file or directory: u'/sys/fs/cgroup/memory/docker/22256709946e682a10eceb920158e92c03ec40b4e564b64518832d8caee12b06/memory.usage_in_bytes'
Traceback (most recent call last):
File "/home/xschlef/sf_xschlef/son-emu/src/emuvim/api/heat/openstack_dummies/monitoring_dummy_api.py", line 114, in get
out_dict.update(DockerUtil.docker_mem(docker_id))
File "/home/xschlef/sf_xschlef/son-emu/src/emuvim/api/heat/docker_util.py", line 93, in docker_mem
out_dict['MEM_used'] = docker_mem_used(container_id)
File "/home/xschlef/sf_xschlef/son-emu/src/emuvim/api/heat/docker_util.py", line 52, in docker_mem_used
with open('/sys/fs/cgroup/memory/docker/' + container_id + '/memory.usage_in_bytes', 'r') as f:
IOError: [Errno 2] No such file or directory: u'/sys/fs/cgroup/memory/docker/22256709946e682a10eceb920158e92c03ec40b4e564b64518832d8caee12b06/memory.usage_in_bytes'
this suggests that I have missed a critical component to update, as travis is not picking up on this error.

The first error seems to be related to the monitoring implementation done by IMEC. Have you disabled the monitoring flag in your test topology?
For example: net = DCNetwork(controller=RemoteController, monitor=False, enable_learning=True)?
The second error is strange. Don't have it on my dev machine and also not in travis. Not sure who of you is responsible for your monitoring implementation?

@xschlef Regarding the first error. How do you shutdown the emulator? It was not by typing exit, right?

I shut it down with ctrl + d, so the equivalent of typing exit.
The second error is present in the main branch as well. This problem occurs because I am using debian that seems to use another structure for the docker cgroup. (maybe because kernel/systemd is older)

I will merge this PR next week, so we can update our development VMs accordingly.


fix: Disable viewport indicators in CrosshairsTool by default

Context

Changes & Results

Testing

Checklist
PR

[] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[] My code has been well-documented (function documentation, inline comments,
etc.)

[] I have run the yarn build:update-api to update the API documentation, and have
committed the changes to this PR. (Read more here https://www.cornerstonejs.org/docs/contribute/update-api)

Public Documentation Updates

[] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[] "OS:
[] "Node version:
[] "Browser:

why add debugger in file
"packages\tools\src\tools\CrosshairsTool.ts"
at line 1436,
how can disable it when develop

@lmj01 my bad, we should remove it


Avoid assigning to arguments in selection_class

Avoid assigning to arguments so that Chrome can optimize selection_class.
I noticed in the Chrome profiler gives a warning about not being able to optimize selection_class because it assigns to the name and value function parameters.

So, I created local variables for it to assign to. Doing this resolves the warning, and presumably Chrome can then optimize selection_class. (In my case, there was a slight, but not significant, performance improvement.)

Related mbostock/d3#2686. Probably worth doing a more exhaustive review for other methods.

Good point – there's places in selection-append.js and selection-attr.js that do the param assignment thing. I can try to update them all. Would it be best to do one big PR for all of the ones in this repo?


🚀 Feature: Add Sync with Meilisearch for Java

Appwrite Functions allow you to extend and customize your Appwrite server functionality by executing your custom code. 🤩 You can learn more at our official Appwrite Functions docs.
Your task is to implement the Sync with Meilisearch function in Java. You can look at the existing Appwrite Functions Templates in another coding language.
Your function should behave and be implemented similarly to existing Sync with Meilisearch Node.js template.
Tasks summary:

[ ] Fork & clone Appwrite's templates repository
[ ] Create a branch feat-implement-sync-with-meilisearch-java
[ ] Write code for the function in folder java/sync-with-meilisearch/.
[ ] Test the function using Appwrite, provide a video.
[ ] Write a README.md explaining what the function does, how to use it, and customize it. Here is an example.
[ ] Submit a pull request to our templates repository

If you need any help, contact us on our Discord server.
Are you ready to work on this issue? 🤔 Let us know, and we will assign it to you 😊
Happy Appwriting!

Hi, I would like to work on this issue.

hi @GLADI8R  , you've been assigned to the issue. You may start working on it. :-) Please keep us updated every 3 days so we know you are still working on it, so the issue doesn't get reassigned :)
happy coding 😃

If it is not done, please assign me to this

If it is not done, please assign me to this

Hi, we assign issues on first-come first-serve basis, if we do not have an update from Danish, we will assign it to you!

Hi, I'm still working on this issue.
Update till now: understood the appwrite console, CLiI, and the nodejs code.
Stuck setting up the Java-17 environment in CLI. Included runtime of java-17.0 in .env of appwrite but java option is not visible during appwrite init function.

Update till now: Working on the code right now and resolving the build errors.

Assign the issue  to me if the issue didn't get sorted or either of them didn't respond

Hi @Haimantika @gewenyu99, I've been stuck on getting documents list. Have posted this on support channel on discord, but no replies from anyone on how to fix it. What should I do?

@GLADI8R What's the issue with document list?

I followed the kotlin sdk docs and on using the function databases.listDocuments({params}), the error says no such function as listDocuments().
Using kotlin-sdk v4.0.0 on self-hosted appwrite cli v4.1.0

Can I see your code?

import com.meilisearch.sdk.Config;
import com.meilisearch.sdk.Index;

import io.openruntimes.java.RuntimeContext;
import io.openruntimes.java.RuntimeOutput;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Arrays;

import java.nio.file.Files;
import java.nio.file.Path;

import io.appwrite.Client;
import io.appwrite.services.Databases;
import io.appwrite.Query;
import io.appwrite.models.DocumentList;
import io.appwrite.models.Document;

public class Main {
    String[] envStrings = {
            "APPWRITE_API_KEY",
            "APPWRITE_DATABASE_ID",
            "APPWRITE_COLLECTION_ID",
            "MEILISEARCH_ENDPOINT",
            "MEILISEARCH_INDEX_NAME",
            "MEILISEARCH_ADMIN_API_KEY",
            "MEILISEARCH_SEARCH_API_KEY"
    };
    List<String> envList = Arrays.asList(envStrings);

    final String regex = "\\{\\{([^\\}]+)\\}\\}";

    private void throwIfMissing(Map<String, String> env) throws Exception {
        List<String> missing = new ArrayList<>();

        for(String e: envList) {
            if (!env.containsKey(e) || env.get(e).isEmpty()) {
                missing.add(e);
            }
        }

        if (missing.size() > 0) {
            throw new Exception("Missing values in .env");
        }
    }

    private String interpolate(String template, Map<String, String> vars) {
        for(String key: vars.keySet()) {
            template = template.replaceAll("\\{\\{([^\\}]+)\\}\\}", vars.get(key));
        }

        return template;
    }

    private String getStaticFile(String filename) {
        return Files.readString(Path.of(filename));
    }

    /**
     * @param context
     * @return
     * @throws Exception
     */
    public RuntimeOutput main(RuntimeContext context) throws Exception {

        throwIfMissing(System.getenv());

        if (context.getReq().getMethod().equals("GET")) {
            Map<String, String> conf = new HashMap<String, String> ();
            conf.put("MEILISEARCH_ENDPOINT", System.getenv("MEILISEARCH_ENDPOINT"));
            conf.put("MEILISEARCH_INDEX_NAME", System.getenv("MEILISEARCH_INDEX_NAME"));
            conf.put("MEILISEARCH_SEARCH_API_KEY", System.getenv("MEILISEARCH_SEARCH_API_KEY"));

            String html = interpolate(getStaticFile("index.html"), conf);

            Map<String, String> headers = new HashMap<String, String> ();
            headers.put("Content-Type", "text/html; charset=utf-8");

            return context.getRes().send(html, 200, headers);
        }

        Client client = new Client();
        client
                .setEndpoint(System.getenv("APPWRITE_ENDPOINT").toString())
                .setProject(System.getenv("APPWRITE_FUNCTION_PROJECT_ID").toString())
                .setKey(System.getenv("APPWRITE_API_KEY").toString());

        Databases databases = new Databases(client);

        // meilisearch client
        Config meilisearchConfig = new Config(
                System.getenv("MEILISEARCH_ENDPOINT").toString(),
                System.getenv("MEILISEARCH_ADMIN_API_KEY").toString()
        );
        com.meilisearch.sdk.Client meilisearch = new com.meilisearch.sdk.Client(meilisearchConfig);

        Index index = meilisearch.index(System.getenv("MEILISEARCH_INDEX_NAME"));

        String cursor = null;

        do {
            List<String> queries = new ArrayList<String>();

            if(cursor != null && queries.size()<100) {
                queries.add(cursor);
            }

            List<Document<Map<String, Object>>> documents = databases.listDocuments(
                    System.getenv("APPWRITE_DATABASE_ID").toString(),
                    System.getenv("APPWRITE_COLLECTION_ID").toString(),
                    queries
            ).toMap().get("documents");

            if(documents.size() > 0) {
                cursor = documents.get(documents.size() - 1).id.toString();
            } else {
                context.log("No more documents found.");
                cursor = null;
                break;
            }

            context.log("Syncing chunk of " + documents.size() + " documents ...");
            index.addDocuments(documents.toString(), "id");

        } while(cursor != null);

        return context.getRes().send("Sync finished", 200);
    }
}

I can't reproduce this problem @GLADI8R, how are you deploying the function, what are your build commands?

I'm using self-hosted appwrite cli. I did appwrite deploy function and the build logs show that no method listDocuments.
The parameters and imports are same as mentioned in sdk-for-kotlin.

@GLADI8R what build commands did you configure to install Appwrite as a dependency in the function?

generated the starter function using appwrite init project then the function.
Inside deps.gradle, I have:
dependencies {
    implementation 'io.appwrite:sdk-for-kotlin:4.0.0'
    implementation 'com.meilisearch.sdk:meilisearch-java:0.11.2'
}

generated the starter function using appwrite init project then the function. Inside deps.gradle, I have:
dependencies {
    implementation 'io.appwrite:sdk-for-kotlin:4.0.0'
    implementation 'com.meilisearch.sdk:meilisearch-java:0.11.2'
}

Can I see the build commands you configured in your Appwrite Console?

No commands are displayed and I haven't used any build commands. Just deployed the function...

@GLADI8R In that case, no dependencies, including the Appwrite SDK is installed. Remember to run a install command for which ever dependency manager you're using!

I don't think I need any build commands because the dependencies are already in deps.gradle file and on deploying the function, gradle runs perfectly. The only issue is that the relevant class methods are not recognized

No commands are displayed and I haven't used any build commands. Just deployed the function...

What version of Appwrite are you using?
Does the starter function work for you?

I don't think I need any build commands because the dependencies are already in deps.gradle file and on deploying the function, gradle runs perfectly. The only issue is that the relevant class methods are not recognized. method signature here: https://github.com/appwrite/sdk-for-kotlin/blob/main/src/main/kotlin/io/appwrite/services/Databases.kt

What's wrong with the method signature?

Using appwrite v1.4.3. I made changes in the starter template generated in appwrite init function.
When using databases.listDocuments(), logs show method not applicable.

Using appwrite v1.4.3. I made changes in the starter template generated in appwrite init function. When using databases.listDocuments(), logs show method not applicable.

Hi, if you are still stuck in this, would request you to open a support thread in our Discord server

Did you find a solution for this?

Closing issue due to inactivity and hacktoberfest being over, thank you for taking the time to be part of hacktoberfest this year :)


Fix panda service exception when app is in background

This fixes the socket closed exception that occurs whenever switching between apps (candash in background) by not trying to send bye when already disconnected.
It also reduces the chance of the gauges flickering when coming across transient socket timeouts due to a weak signal or laggy canserver. It does this by shortening the timeout duration, but allowing for multiple timeouts (3) before it clears the carstate data.
Note that while the panda service will stay connected to the canserver for a short time while the app is in the background, the canserver would eventually disconnect candash because it won't see heartbeats while candash is in the background. If you rejoin candash after this, it reconnects very quickly without clearing data.
Test plan

while candash is open, stop canserver abruptly, ensure the car data clears after 3 seconds (3 timeouts at 1 second each)
while canserver is running, switch between candash and other apps, ensuring that the gauges don't blank out when resuming candash

tested within a single heartbeat duration, canserver stays connected
tested longer than a single heartbeat duration, canserver disconnects, but quickly reconnects once switching back to candash

switched between panda service and mock service multiple times, ensuring no odd behavior.

Works great, thanks for figuring out the zeroconf bug!


chore: shift random version to module

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This PR is included in version 2.0.1 :tada:


Update doc on tmp dir (java.io.tmpdir) best practice

Update doc on tmp dir (java.io.tmpdir) best practice
Description
We have had issue where our /mnt/tmp is an NFS mount. This can causes the intermediate persist of our streaming ingestion task to be extremely slow. Update the docs to cautious other users on setting tmp dir (aka java.io.tmpdir) to NFS mount and the importance of having good read and write speed to this dir.
This PR has:

[x] been self-reviewed.
[x] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

The Travis CI job completed successfully but its status is not updated on this PR for some reason


Adding Issues Templates for Contributor

Fixes #33 I'have created a 3 types of issues templates

BUG-Report
Feat-Report
Custom-Report

Now for every contributor he/she wants to create an issue then it have 3 choices of issues.
@BamaCharanChhandogi Please review it and merge with labels:)

@BamaCharanChhandogi ??

@sanjay-kv @MastanSayyad please review it

@BamaCharanChhandogi Program manager this side, .md/markdown/docs/workflows changes can only have level 1 no matter how many files or how many lines have changes
Please reduce the levels fromlevel 2 to level 1
also please add me as a collaborator, we are currently reviewing the lederboard so we need access to the projects to change the levels

ok


test prow build

Signed-off-by: Chris Ahl<EMAIL_ADDRESS>Part of issue https://issues.redhat.com/browse/CMCS-162

/test sonar-pre-submit


The graphql schema should be in the Graph protocol definition

Currently, we are providing a schema for the graphql queries on the apps/box. Query and Mutation types are defined in this schema.
From a protocol designing point of view, this schema should be standardized within the Graph protocol so that each peer using the protocol can ensure the query is aligned with the standard schema.
We should:

move schema definition for graphql (currently at apps/box/src/graph/gql-engine/schema.ts) to Graph protocol directory
change handlers to validate the schema

@mehdibalouchi
For making it more language agnostic, we can extract the typeDef which is GQL and move it to protocol


Possible to change the domain allowed for L_0 attacks since they behave more like L_inf?

Hope you are well. Thanks for your great work on this github repo for your paper on Sparse RS attacks. I am a PhD student at UCSB working with my group, we were using your framework to numerically validate our L-0 robust classifier. Before we were using the pointwise attack, but indeed your implementation is much faster, but I am having one issue.
How can I easily change the domain allowed for your attack?
From the paper, as well as what I see in the code, you are bounding the actual perturbations to be between [0,1]. In the paper it says they are bounded to the domain of the input data, but this is clearly not the case since if I input normalized MNIST data (which has a domain of roughly [-2.8,2.8]) the attacked pixels generated with sparse_rs are all either 0 or 1.
We would like to utilize your framework for our paper, but it seems like the attacks are rather weak if they are bounded this way, since they are basically L_inf bounded as well. Am I missing something in my implementation, or is this expected and I should scale my image domain to be between [0,1] to utilize your attack? Clearly all computer generated L_0 attacks will be L_inf bounded, but I would at least like to control this amount without having to retrain models that work on the [0,1] domain.

Hi,
glad that you find our attack useful!
The current implementation assumes that the network takes input in [0, 1]^d. I think the easiest way to adapt it to normalized inputs is to include the normalization in the forward pass. An option we used for the ImageNet models is here, and another example here.
In this way you create a model which takes input in [0, 1]^d, so that the attack exploits completely the input domain, and then applies internally the normalization.
Let me know if this works!

Yes thank you!
I was not sure if this was intended, but you cleared it up.
Quick question:
It seems like you scale your dateset so that the input domain's  MIN/MAX map to 0/1. Is there any reason for this other than to be consistent with other benchmarks? My intuition here is that if you mapped the MIN/MAX to 0/Beta, where Beta<1, the attack would be stronger. Of course the new adversarial images cannot be visualized without clipping, but they are still L_0 bounded.

We produce inputs in [0, 1]^d so that they belong to the image domain. We use such values since those are quite general, used by many models. In general. the attacks is agnostic of those values: the ideas is to perturb some pixel as much as possible, that is to one of the extremes of the interval [a, b] of the values that pixel can take. In our case a=0 and b=1, but others are possible.
Perturbing an image outside the valid domain would generate a stronger attack, since one would remove some constraints, but also inputs which are not supposed to be classified by the model since those are not images.

Thanks again!
I was able to get what I want out of the framework, the attacks work much better now.
Just FYI, if anyone ever has trouble with this:

It was a bit unclear at first that you were re-mapping the network inputs (by adding the mapping to your pre-trained network class) to [0,1] before applying the attack, since the network is generally trained with other domains. (you cleared this up)
I also had to change one line of code in rs_attack.py (~line 328) since it seems like it assumed all data had 3-channels of color (and I only needed 1):
assert old_clr.shape == (3, 1), print(old_clr.shape,old_clr)
was changed to
assert old_clr.shape == (1, 1), print(old_clr.shape,old_clr)


Improve performance of reference definition list parsing

Fixes https://github.com/markdown-it/markdown-it/issues/996
Looks like the reference definitions cannot interrupted by any of the elements if I read the spec correctly.
None of the tests fail.
By removing the redundant termination logic checks the speed of parsing long list of reference definitions improves dramatically.
~2.5x on the benchmark included in this repo, but in our example where we have 1000 definitions it's almost 20x!
benchmark before
./benchmark/benchmark.mjs block-ref-list
Selected samples: (1 of 28)
 > block-ref-list

Sample: block-ref-list.md (782 bytes)
 > commonmark-reference x 29,907 ops/sec ±0.24% (96 runs sampled)
 > current x 6,429 ops/sec ±0.23% (98 runs sampled)
 > current-commonmark x 7,261 ops/sec ±0.13% (98 runs sampled)
 > markdown-it-2.2.1-commonmark x 36,093 ops/sec ±0.20% (94 runs sampled)
 > marked x 55,087 ops/sec ±2.06% (99 runs sampled)

benchmark after
./benchmark/benchmark.mjs block-ref-list
Selected samples: (1 of 28)
 > block-ref-list

Sample: block-ref-list.md (782 bytes)
 > commonmark-reference x 29,025 ops/sec ±0.50% (94 runs sampled)
 > current x 15,550 ops/sec ±0.35% (94 runs sampled)
 > current-commonmark x 16,762 ops/sec ±0.63% (95 runs sampled)
 > markdown-it-2.2.1-commonmark x 35,562 ops/sec ±0.23% (91 runs sampled)
 > marked x 55,408 ops/sec ±0.18% (98 runs sampled)

oh, it looks like it can be improved more by removing the redundant code in the reference parsing.
I'll adjust it later today.

Here's a test which would have different behavior:
[foo]: /url 'title
 - - -
'

[foo]

It was <hr>, now it's a reference link.

Superseded by https://github.com/markdown-it/markdown-it/pull/1004


Support node API

This is a higher-level API that basically treats mpack data as a bunch of untyped nodes.
We might want to consider writing our own API instead of bindings to the C API. That could more in line with idiomatic Zig (tagged unions....)
This is lower priority for me personally because my data tends to be in a fixed schema, or quickly converted into some other form.
As mentioned in the README, this is less important than it is in C because Zig has better error handling and type-reflection.

I don't want to try and implement struct deserialization with type reflection (at least not anytime soon).
This makes this node API more important.


libnbd: init at 1.7.2

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Looks good, cross-compilation (aarch64) also seems to work properly:
nix build https://github.com/AndersonTorres/nixpkgs/archive/new-libnbd.zip#pkgsCross.aarch64-multiplatform.libnbd


Error

node_modules\league-connect\dist\authentication.js:95
throw new ClientNotFoundError();
^
ClientNotFoundError: league client process could not be located
My region: VN

Vietnam doesn't use the same LCU as the other servers.


Game broken

When attempting to access this at https://teradyne-dev-workshops.github.io/github-games-rogermow, I am getting a 404. This could be caused by a couple of things:

GitHub Pages needs to be enabled on the  branch. You can fix this in the repository settings.
The index.html file is incorrectly named inde.html. We will fix this together in class.

Can you fix the first bullet, please?

fix resolve


Add Rust backtrace to Travis

Let's hope it works.

Coverage remained the same at 80.294% when pulling ee3cf4db4287ef713a7ed495508200e0e73e23fd on rzumer:travis_backtrace into c15bc85d87a141bc20cd45808386feac25259b8c on xiph:master.


Demo not working anymore?

Hi,
It seems that demo aren't working. It seems everything went well but we receive a 401 Unauthorized when the image is requested.

Busy with some deadlines. Stay tuned within a month : )

Nice!
btw I managed to make it works locally.

Same!  Would love to use the demo.

Will back in two weeks : )

Thank you.  I made a Colab version, would you like me to create a pull request and add it?
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, March 25, 2020 7:20 PM, Wu Huikai<EMAIL_ADDRESS>wrote:

Will back in two weeks : )
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

@Tylersuard Feel free to create a pull request : ) Thanks for your contribution.

@Titoine @Tylersuard Demo is back online now : )


File Upload Problem

Did you test uploading file?
I can't find any example of file uploading, and it doesn't work for me.
Please help me.

Sorry I haven't worked on this repo for quite a while. And since Copy is closing down, I don't think working on it will give any benefit
https://techlib.barracuda.com/Copy/EndOfLife


Select2 4.0.0, ngHandsontable 0.7.0-beta1 and Handsontable 0.17 support

Note: Not backwards-compatible with 3.5.2 due to changed select2 api.
Includes the commits from #12 and #13

Any chance this can be merged anytime soon?

@trebuchetty Rebased the files on latest master and verified that it works with Handsontable 0.19


Game Mo-eumjip 188 Hap (Korea) (v1.1) (Unl).sms graphic glithes

first few screens have graphic glitches

This is a multicart with custom mapper hardware that is described here (different multicart that uses the same mapper):
https://www.smspower.org/forums/17892-Korean128128In1CartridgeLikelyPirateMissingOriginalLabel#110366
It's kind of surprising that it works at all without properly emulating this mapper.


Devices removed from Govee App are not removed from HA

I had three Govee devices in the Govee Home Android app. I removed two from the app, but they still show up in HA, even after reloading the Govee integration and also restarting HA completely.
HA: 2022.3.8
HACS-Govee: 0.2.2 (was an issue in earlier version already)

I have this same problem, trying to figure out how to delete an old device. I deleted it from the Govee app but it didn't go away, I was able to delete it's entity but can't figure out how to get rid of the device...

Same problem here.

Also same problem...


Make sure that the test elements don't appear on the page

On IE11 they appeared as white boxes

Thank you for this PR. I've been rearchitecting this code to be compatible with IE, handle some edge cases in other browsers, and detect if the font is already loaded before onfontready runs. Thus, the code you added will not be applicable to the newer version. For now, I will leave this PR as an example to others of what to do to add IE11 support.

Could this be pulled in in the meanwhile?

I have merged it. I'm also almost done with the rewrite. Compatible all the way to IE6 (with a modern version for IE9 and up). Also makes fewer assumptions about load order and attempts to short-circuit the tests earlier.


solution explorer reflect open file and change as selected file changes like vs code's explorer

please add some of vs code's explorer to c# solution explorer
https://github.com/user-attachments/assets/9f05b576-80fe-4ede-8ab6-f0c031619fd2

tracked on the devkit side here - https://github.com/microsoft/vscode-dotnettools/issues/613


⚠ Geosearch has degraded performance

In a1426fc, Geosearch ($SITE_URL_GEOSEARCH) experienced degraded performance:

HTTP code: 200
Response time: 3377 ms

Resolved: Geosearch performance has improved in 3bca6a6 after 6 minutes.


Cannot get debugging to work for any language (Python / Javascript)

I am currently running Coder through a docker container on my local machine and I would like to debug Python in it.
Here are the steps I took:

Installed the ms-python Python extension through the marketplace.
Installed the Python language through the terminal in the IDE via apt-get command.
Click on "Start without Debugging" or "Debugging" for a simple Hello World program.

The IDE throws an errors as below:
"events.js:183
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE <IP_ADDRESS>:8443
at u.setupListenHandle [as _listen2] (net.js:1360:14)
at listenInCluster (net.js:1401:12)
at doListen (net.js:1510:7)
at _combinedTickCallback (internal/process/next_tick.js:142:11)
at process._tickCallback (internal/process/next_tick.js:181:9)events.js:183
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE <IP_ADDRESS>:8443
at u.setupListenHandle [as _listen2] (net.js:1360:14)
at listenInCluster (net.js:1401:12)
at doListen (net.js:1510:7)
at _combinedTickCallback (internal/process/next_tick.js:142:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
"
The same error occurs with Javascript as well.

Interesting. Seems to be attempting to bind on port 8443. Can you try running code-server on a different port?

@kylecarbs Still getting the same error even though I am running it on port 9000 locally.
Here's the docker run command:
docker run -p <IP_ADDRESS>:9000:8443 -v "/Users/rdave/ide:/root/project" codercom/code-server code-server --allow-http --no-auth

does it happen if you used <IP_ADDRESS> instead of <IP_ADDRESS>? @rohan-dave

Run binary on my Mac and Linux, debug Python work fine, but debug node.js and golang not working. Both work fine with local vscode, but nothing get from code-server.

I also cant get Node.js to debug in editor. I've tried on 3 different servers now (Debian 8, Ubuntu 16.10, Ubuntu 18.04) and all three just wont debug.
There is no error message given in terminal either. It just pops up the small debug control panel for a second then the panel disappears and nothing happens.
I can run node --inspect in the built in terminal but cant attach to vscode even with Debug > Node: Auto Attach enabled in settings.
I dont know if this might apply to this issue but I do get this error pretty much immediately after starting code-server on all three servers, even on a fresh setup with no projects opened:
ERROR SHARED stderr {"data":"Uncaught Exception:  Error: Unexpected end of JSON input\n\nSyntaxError: Unexpected end of JSON input\n    at JSON.parse (<anonymous>)\n    at pfs_1.readFile.then.contents (eval at exports.requireModule (/home/{{USR}}/vscode/code-server-1.32.0-245-linux-x64/code-server:468:27660), <anonymous>:77277:45)\n    at <anonymous>\n    at Timeout.setTimeout [as _onTimeout] (eval at exports.requireModule (/home/{{USR}}/vscode/code-server-1.32.0-245-linux-x64/code-server:468:27660), <anonymous>:52540:31)\n    at ontimeout (timers.js:498:11)\n    at tryOnTimeout (timers.js:323:5)\n    at Timer.listOnTimeout (timers.js:290:5)\n"}
#121

I've noticed this behavior as well. I changed the running port of code-server to 8440 and while this removes the Error: listen EADDRINUSE <IP_ADDRESS>:8443 errors observed earlier, now I just get an infinitely running blue bar sliding left to right at the top of the Debug sidebar.
Other aspects such as code completion work and I can run dlv (for context, this is Go) from the terminal. There doesn't appear to be any output regarding errors that I can find.

Fixed with the latest release 1.32.0-310!

@kylecarbs New release does not work.

Hm. Will investigate.

Realted: https://github.com/codercom/code-server/issues/301. Found the issue. Fix will come out shortly.

Fixed with the latest release.


[Feature Request] Add Option Data services Dependency graph

Hi there,
Terraform Version
Terraform v0.12.24

provider.github v2.4.0

Affected Resource(s)

github_repository

hi @abilous-ti, looks like this will be a side-effect of #444.  enabling vulnerability alerts will also enable the dependency graph (referenced here: https://developer.github.com/v3/repos/#enable-vulnerability-alerts)

I confirm it does @abilous-ti. Nonetheless, we still lack an input to configure Dependabot security updates (#588) and access to alerts.


Upgrade to @prismicio/richtext 2.0.1

We should think of updating to @prismicio/richtext and it's companion @prismicio/types to get rid of the custom types. That way we can use the official type dictionary and the latest code of the richtext parser.

I agree!
Thanks a lot for your contributions. I don't maintain a lot the package because I don't use it currently. But I keep an eye on it to maintain it thanks to you ;)

No worries. I am just contributing because I need it in a project. Might be contributing less after the project goes into maintance mode 😉.


Top menu: Add link to view current user's profile

This fixes #853.

Future-proofing when #856 gets available for no-admin users.

:+1 except for this one issue that I raised.

@chrismedrela I went with your suggestion + I slightly optimized person.is_admin for superusers.


Use sniffer plugin to disable jdk 8 API

With current setup we enforce jdk 7 for building project. It will undoubtedly compile fine with jdk 8 but the idea behind enforcing 7 was to not depend on 8 entirely as some API in jdk 8 will not compile with java
With sniffer we can ensure that code does not include any API which are not included in java 7 even though it's compiled by jdk 8
Thoughts? @chrismattmann
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>animal-sniffer-maven-plugin</artifactId>
                <version>1.7</version>
                <executions>
                    <execution>
                        <id>signature-check</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <signature>
                        <groupId>org.codehaus.mojo.signature</groupId>
                        <artifactId>java17</artifactId>
                        <version>1.0</version>
                    </signature>
                </configuration>
            </plugin>

Yes @smadha please add this


default_story: 'stories/glulxercise.ulx',

Hi, in the play-remote*.html files, I think this line:
default_story: 'stories/glulxercise.ulx',
should be changed to this:
default_story: 'stories/glulxercise.ulx.js',
so they work out of the box
Thanks, I'm making a game that will use Quixe, so I'm motivated to help

It does work out of the box -- e.g., http://eblong.com/zarf/glulx/quixe/quixe/play-remote-full.html .
It fails when run off a file: URL in Chrome. I think Chrome's security limitations are probably correct, but running play-remote.html as distributed isn't the normal thing to do anyway -- it's really there only for testing and as a demo.


split interfaces and implementation

This should make it easier to maintain the dependencies, less changes.
I currently have Dapplo.Owin depend on Dapplo.Config just for IIniSection, which needs Dapplo.Utils and Dapplo.InterfaceImpl

And Dapplo.Addons depends on Dapplo.Config, just for the IConfigProvider interface!