Stop method

How implement method .stop()?

RCT_EXPORT_METHOD(pause)
{
[self.audioPlayer pause];
}
RCT_EXPORT_METHOD(stop)
{
[self.audioPlayer stop];
}

To add to @puntubabu's solution - thank you for this :).
If you then wish to be able to resume the paused sound you will need to add logic to handle this or a specific resume function..
add the following to AudioPlayer.js
  resume() {
    RNAudioPlayer.resume();
  }

and the following to RNAudioPlayer.m
RCT_EXPORT_METHOD(resume)
{
    [self.audioPlayer play]; // yes, play not resume.. the normal intermediary play function has no ability to call play without breaking the existing player, this gets around it.
}

Did you get anywhere with an Android version @puntubabu ?

@MossP I've written this to get resume to work in Android
Here is the RNAudioPlayerModule.java modification:
public void play(String audio) {
    if (audio != null) {
      String fname = audio.toLowerCase();
      int resID = this.reactContext.getResources().getIdentifier(fname, "raw", this.reactContext.getPackageName());
      mp = MediaPlayer.create(this.reactContext, resID);
    }
    mp.start();
  }

MediaPlayer.start()

is used to start and resume audio. If we pass in a filename, then play that file name, else I am assuming that we are resuming paused audio.
http://developer.android.com/reference/android/media/MediaPlayer.html
I modified AudioPlayer.js play method as so:
  play(fileName: string) {
    if (fileName === undefined) {
      RNAudioPlayer.play(null);
    } else {
      fileName = Platform.OS === 'ios' ? fileName : fileName.replace(/\.[^/.]+$/, "");
      RNAudioPlayer.play(fileName);
    }
  }

Ah thanks @puntubabu . That's a better way to handle it then, given that they are both the same.
Strangely the stop and pause functions for iOS also appear to do the same thing as calling play() after a stop or pause both cause the audio to resume from where it was stopped (or paused).


Fix missing "FixedBy"

As I found out, the "FixedBy" is not mandatory set by clair klar.

This one might be important for the clair scanner also, @benno001


Added some documentation for debug parser

Added documentation to explain a little better how to use the debug parser. related to #15

Thanks!


Update MD file on new branch 2017-20-01_05-12-09

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

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


use COM port for input

hello I need the input signal from Port Com
I use ADC in arduino to read input signal then send it to PC
help me to make this edit

https://github.com/srivera1/ECG


Update Reviews.css / resolved font colour of reviews section in dark mode

Can you add a image with the changes in effect?

Can you add a image with the changes in effect?

In testimonials ?
I can try to do that

Can you add a image with the changes in effect?

In testimonials ? I can try to do that

No, just an image here for us to see your changes

Can you add a image with the changes in effect?

In testimonials ? I can try to do that

No, just an image here for us to see your changes

Yes sure
I have changed font colour of review section

please label this pr as gssoc @Ayushhgupta39


issue 805 markers update fixes

This should fix issue #805.
@jessertaylor @tombatossals @elesdoar @cgat
AddMarkers on nesting was correct. But skip and cleanup on nesting was not. Also the internal data-structure of leafletMarkers[object/hash] (nested) has been made to be identical to the external model.

LGTM


[Languages]Securing Localhost URLs using Ngrok and self-signed SSL Certificates in Django

Writing sample(s):
https://www.section.io/engineering-education/authors/phina-kersly/
Proposed title of the article
Securing Localhost URLs using Ngrok and self-signed SSL Certificates in Django
Proposed article introduction
Let us say you are a developer and you need to show your locally running website to someone who is not close to you. One of the best ways is to use Ngrok to expose the local server to the entire internet by a single command.
Nevertheless, that is just one case. A second case comes when working with images stored locally that need to be consumed in some other frontend application. For example, some frontend tools like android studio do not accept images from insecure sites( with HTTP instead of HTTPS). So we need to secure the endpoints we expose to the consumers to solve this.
This article aims at building a custom Django application that exposes endpoints and configures a self-signed SSL =certificate that ensures that the endpoints are secured. Finally, it will direct the reader on how to expose the secured endpoint using Ngrok.
Key takeaways

Wring a custom rest framework application
Exposing endpoints using Ngrok
Securing URLs with Django
Generating a self-signed SSL certificate

Article quality
This article combines Ngrok with the powers of locally self-signed certificates in a single Django application. While developing APIs, we need to consider that the exposed endpoints are secure. This article intends to cover how exactly to do that on Django.
References
Please list links to any published content/research you intend to use to support/guide this article.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Topic approved but please ensure your article is in-depth and unique enough to add value for our readers.


[OTHER]

What would you like to share?
I think using an in-progress label would be great to see status of issue
Additional information
No response

Thank you for the suggestion.
An issue is in progress when it is assigned to someone, so I will close this issue.


Hotfix/icon button ffx

Description

See commit comments

Submitter checklist

[x] Link to JIRA ticket in description, if appropriate.
[x] Change is code complete and matches issue description
[x] Appropriate unit or acceptance tests or explanation to why this change has no tests

Reviewer checklist

[ ] Run the changes and verified the change matches the issue description
[ ] Reviewed the code
[ ] Verified that the appropriate tests have been written or valid explanation given

@reviewbybees

cc @sophistifunk as you have a good memory for the font history. I could have sworn that LatoLatinWeb was being used across the board. It could be that when I restyled the buttons that a font-family was no longer applied directly to button, allowing the normalize reset to sans-serif to take over. So I decided it was approach to negate that on the common form controls. Thoughts?

Uh, there was a problem with IE, I think. Maybe something @imeredith fixed.

Discussed with @imeredith in chat and he was not aware of any issues. I will merge this PR shortly.


Fix rtl issue in support rtl false case

The Rtl issue is not solved in custom view as well; I'm on it


Numerous games crashing on 19.09 exclusively

Describe the bug
Some games that were formerly working without issue on 19.03 are crashing on 19.09 on startup. The games I've tested include a non-steam game via wine (same wine version as the working one on 19.03) and some steam games both with and without proton including the following
non-steam via wine:
-MTG arena  --  crashlog here: https://hastebin.com/xehisacuni.log (l1 "Unhandled exception: divide by zero in 32-bit code")
steam:
-cuphead (proton/wine)  --  stdout here: https://hastebin.com/odipabeyug.log
-ruiner (proton/wine)   --  stdout here: https://hastebin.com/vefuhajixa.log
-total war: warhammer 2 (native, also crashes with proton though)  --  stdout here: https://hastebin.com/xihebanemu.log (l81 "Game crashed with signal SIGFPE(8): Floating-point exception, check your CPU meets minimum requirements.")
To Reproduce
Steps to reproduce the behavior:
-For MTG arena: to install: https://forums.mtgarena.com/forums/threads/58489, `wine msiexec /i on the provided *.msi file. On 19.09 both installing and launching an installed (which can be done on 19.03) client fails.
-For the rest: It's all in steam. I'm sure there are more games than the ones listed above one could test. All proton and some native ones I've tested, that all were and are working fine on 19.03, crash on 19.09.
Expected behavior
The games should launch and run as expected.
Metadata

system: "x86_64-linux"
host os: Linux 4.19.89, NixOS, 19.09.1590.d85e435b7bd (Loris)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3
channels(boogie): ""
channels(root): "nixos-19.09.1590.d85e435b7bd, nixos-unstable-20.03pre200231.7827d3f4497, nixos1609-16.09.1943.25f4906da6, nixos1903-19.03.173651.ca6b6595392, nixos1909-19.09"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: steam? wine? any of their deps?

same wine version as the working one on 19.03

So, if you go back to nixos 19.03, I mean like right now, does it work? Because if it does not, it could be a hardware bug or something else (besides wine) that changed in the 19.09 upgrade.
The first log show pretty clearly (thanks wine) that the crash happens in libvulkan_radeon.so, mesa.
I don't see any relevant error in the other logs, except in total war: warhammer 2, which confirms the same error caused by mesa.
If you can downgrade only mesa and confirm the crash goes away I'd say it's a bug in mesa and should be reported upstream. To do this try installing the 19.03 channel, if you don't have it already:
$ sudo nix-channel --add https://nixos.org/channels/nixos-19.03 nixos-19.03

then import this expression into your configuration.nix and rebuild
{ config, lib, pkgs, }:

with lib;

let

  oldPkgs = import <nixos-19.03> { };

  makePackage = p: pkgs.buildEnv {
    name = "mesa-drivers+txc-${p.mesa.version}";
    paths =
      [ p.mesa.drivers
        p.libtxc_dxtn_s2tc
      ];
  };

in

{
  hardware.opengl.package   = mkDefault (makePackage oldPkgs);
  hardware.opengl.package32 = mkDefault (makePackage oldPkgs.pkgsi686Linux);
}

I have never tried this so I'm not 100% sure this works.

Yes, I'm keeping an older 19.03 generation alive for this purpose. There's also some hardware working on 19.03 which doesn't on 19.09. (https://github.com/NixOS/nixpkgs/issues/75774)
I've done what you suggested (except I learned that the mkDefault function had to be mkForce instead to override the option :) ). It worked! Every game I listed is running fine again on 19.09 with 19.03 channel mesa.

function had to be mkForce

Of course, my bad: I copied the code from the NixOS module and I forgot about priority.

It worked! Every game I listed is running fine again on 19.09 with 19.03 channel mesa.

Very nice! So this pinpoints the issue to mesa. You could also try a newer version from the nixos-unstable channel: maybe it has already been fixed.
I gave a quick look at the mesa issue tracker but I didn't find anything like this bug. I think you should report it in case it hasn't been fixed yet.

Getting mesa from the unstable channel instead of 19.03 indeed also works. So I'll assume it's fixed upstream. :)

If you could leave me a message about what exactly in the logs made you realize this is a mesa problem

Sure, the first lines in the wine traceback shows that the crash happened inside libvulkan_radeon.so:
0xf6d874c8 radv_builtin_cache_path.part+0x4f888() in libvulkan_radeon.so (0xf25042a0)
This is a shared object in mesa. I know that because I worked on the mesa package some time ago.
Also the prefix of the function name radv_ tells me it has something to do with radv, which is the Vulkan driver of AMD GPUs.


stb_vorbis: Increase max alloc buffer size for big Vorbis comments

The previous max worked OK for audio data, but stb_vorbis recently gained support
for Vorbis comments, which can embed up to 2^32-1 bytes of data (e.g. cover art
encoded as base64).
We use 2^30 as max which should be sufficient for most files.
Fixes #41913.

The much bigger decode_mem_size is then also used by the playback, the comment there makes me a bit nervous ...

The much bigger decode_mem_size is then also used by the playback, the comment there makes me a bit nervous ...

It will only be bigger for files that require it, most files will still use a buffer size of less than 1 << 20. The one in #41913 would use 1 << 21. It's unlikely that any file will reach as high as 1 << 30, it's just an upper bound before giving up.
If this becomes an issue, an option would be to patch stb_vorbis to (conditionally) ignore Vorbis comments since we don't care about them.

an option would be to patch stb_vorbis to (conditionally) ignore Vorbis comments since we don't care about them.

Are you sure the whole buffer is also required for the audio playback? The size of the test buffer is growing exponentially, that could cause by some audio files a big waste of ram ...

Are you sure the whole buffer is also required for the audio playback? The size of the test buffer is growing exponentially, that could cause by some audio files a big waste of ram ...

It's the same data at playback, so it needs the same alloc buffer size to load it.
But again, this will only affect the rare files that need a high alloc buffer size for one of their elements. Each file has their own decode_mem_size and it's the nearest power of two to the min value that they require.

Cherry-picked for 3.2.3.


Subsequent Builds Fail

All subsequent build attempts are failing for me, requiring a wipe of platforms/plugins directories before a new build will succeed. The error:

ld: library not found for -lPods-appName
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/emulator/appName.app/appName normal i386
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,path-to-workspace/platforms/ios/cordova/build-debug.xcconfig,-project,appName.xcodeproj,ARCHS=i386,-target,I am,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=path-to-workspace/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=path-to-workspace/platforms/ios/build/sharedpch

E.g.

Start with a clean project
ionic state restore
ionic build ios
Note build is successful
ionic build ios
Note build failed

My guess is this has to do with ionic calling .xcodeproj instead of .xcworkspace ...

You are right.  It's an issue with Cordova. Let me look into what if anything I can do about this.

Possible solution: https://gist.github.com/jcayzac/9522678

Yep, that seemed to do the trick.
In file build.js [platforms/ios/cordova/lib/build.js], function getXcodeArgs change (in both device and emulator block):

'-project', projectName + '.xcodeproj', to '-workspace', projectName + '.xcworkspace',

'-target', projectName, to '-scheme', projectName,

Can you make this into a (node, not shell) hook that changes the appropriate lines in build.js?

Should be working now.

xcodebuild: error: The workspace named "appName" does not contain a scheme named "appName". The "-list" option can be used to find the names of the schemes in the workspace.

Okay, to get it working based on your latest changes, I replaced all ".xcodeproj" with ".xcworkspace" and that worked.

In the build.js?  Had you modified the file already?
On Jul 20, 2016 10:05 PM, "Lucas Still"<EMAIL_ADDRESS>wrote:

Okay, to get it working based on your latest changes, I replaced all
".xcodeproj" with ".xcworkspace" and that worked.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/blakgeek/cordova-plugin-cocoapod-support/issues/2#issuecomment-234137065,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAyU3imbyHccVzJHwtO3sG7fQAHBXqLJks5qXtP4gaJpZM4JRPmw
.

I updated to your latest version (which made the two changes noted previously to build.js), but that unfortunately resulted in the aforementioned new error. On top of your two changes, I did a find/replaces in build.js to replace all occurrences of ".xcodeproj" with ".xcworkspace" and that fixed the build.

Ok.  Let me test with Ionic and see if it uses a different build.js.  What
version of Ionic are you using?
On Wed, Jul 20, 2016 at 10:27 PM, Lucas Still<EMAIL_ADDRESS>wrote:

I updated to your latest version (which made the two changes noted
previously to build.js), but that unfortunately resulted in the
aforementioned new error. On top of your two changes, I did a find/replaces
in build.js to replace all occurrences of ".xcodeproj" with ".xcworkspace"
and that fixed the build.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/blakgeek/cordova-plugin-cocoapod-support/issues/2#issuecomment-234139617,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAyU3npdWk_jWw3IzjRwOnbsIZ1mTqjVks5qXtkDgaJpZM4JRPmw
.

  Check out my
games on www.bggamecentral.com or download them from the App Stores
https://itunes.apple.com/us/artist/henry-lawton/id895605107
[image:
https://play.google.com/store/search?q=pub:BG Games&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1]
https://play.google.com/store/search?q=pub:BG Games&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1
Get it on Google
https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png

node: v6.2.0
cordova: 6.2.0
ionic: 2.0.0-beta.32

And what version of the iOS platform?

4.1.1

Would you mind trying the latest version of the plugin.  It should work completely out of the box now.

That did it - thanks!!

Hmm.. now it seems like the first build never actually completes (I didn't discover this until I reset my platforms and plugins). The build "finishes", ie the command stops without any noticeable errors, but it doesn't say that the build was completely. Also the simulator never launches. However, if I immediately re-run the command, the build launches fine.

@theneverstill I found the issue.  I needed to return a promise because part of the plugin's execution was async.  It's fixed in the latest release.


feat: Add TemporalSchedule API

Adds support for Temporal schedule API

Supports most schedule options with the exception of the following:

CreateScheduleRequest.InitialPatch ("go.temporal.io/api/workflowservice/v1")
SchedulePolicies.KeepOriginalWorkflowId ("go.temporal.io/api/schedule/v1")

This did not appear to work in version 1.23 of Temporal

ScheduleSpec.Calendar ("go.temporal.io/api/schedule/v1")

Instead uses ScheduleSpec.StructuredCalendar

Memo and search attributes are only ever set on creation of schedule not update

Closes: #325
Full spec example:
apiVersion: temporal.io/v1beta1
kind: TemporalSchedule
metadata:
  name: demo
  namespace: demo
spec:
  allowDeletion: true
  namespaceRef:
    name: demo
  schedule:
    action:
      workflow:
        id: Demo
        type: SomeWorkflow
        taskQueue: SomeWorkflowQueue
        inputs:
          field: value
        executionTimeout: 10m
        runTimeout: 1m
        taskTimeout: 10s
        retryPolicy:
          initialInterval: 1s
          backoffCoefficient: 1
          maximumInterval: 2s
          maximumAttempts: 3
          nonRetryableErrorTypes:
            - ErrorType
        memo:
          field: value
        searchAttributes:
          field: value
    spec:
      calendars:
        - second:
            - start: 0
              end: 59
              step: 1
          minute:
            - start: 0
              end: 59
              step: 1
          hour:
            - start: 0
              end: 23
              step: 1
          dayOfMonth:
            - start: 1
              end: 31
              step: 1
          month:
            - start: 1
              end: 12
              step: 1
          year:
            - start: 1
              end: 9999
              step: 1
          dayOfWeek:
            - start: 0
              end: 6
              step: 1
          comment: Example comment
      intervals:
        - every: 1m
          offset:30s
      crons:
        - "* * * * *"
        - "* * * * * *"
        - "* * * * * * *"
      excludeCalendars: [] # Same as calendars
      startAt: "2024-05-13T00:00:00Z"
      endAt: "2024-05-15T00:00:00Z"
      jitter: 5s
      timezoneName: Europe/London
    policy:
      overlap: terminateOther
      catchupWindow: 10m
      pauseOnFailure: true
    state:
      notes: Example note
      paused: false
      limitedActions: false
      remainingActions: 5
  memo:
    field: value
  searchAttributes:
    field: value

 Quality Gate failed
Failed conditions  C Security Rating on New Code (required ≥ A)
See analysis details on SonarCloud
 Catch issues before they fail your Quality Gate with our IDE extension  SonarLint

@alexandrevilain I've reviewed these. Happy to push an update if you think it's worth it but it is complaining about code that follows the pattern of other controllers and manifests

I missed the global review comment but thanks for your awesome work!!

@AdamSendible Fixed the quality check on SonarCloud. It was complaining on example directory.

Awesome !! A last comment on the Select function ;)
Could you then please squash your commits ?

Thanks for the reviews :smile:.
Is it not possible to use GitHub's squash and merge functionality? If not I can do that on my end


won't compile with browserify

I have a project that uses browserify and cortexjs.

your source code apparently uses babelify.
my own project also uses babelify.
browserify will not apply transforms in node_modules unless you will explicitly told it to.

I currently solved the problem by adding to my node_modules/cortexjs/package.json string "browserify":{"transform": ["babelify"]}. Which is obviously bad, when done on my side. Can you please do it on yours?

The transformation is done in the gulpfile. It's been working fine since we switch. What do you mean by "compile". The build/cortex.js file is the compiler file, why do you need to compile anything?

I mean Cortex inside of my project won't compile. Cortex by itself probably compiles just fine.
To reproduce problem we have to do this;
Create file my_code.js
  import Cortex from 'cortexjs';

...then execute...
cd /path/to/my_code.js
npm install cortexjs babelify
browserify my_code.js -t babelify -o bundle.js

And we have plain "class DataWrapper..." in compiled code. Which of course will not work in browser.
But if we change node_modules/cortexjs/package.json like I said above, then everything is fine.

Ah I see, I will fix it by setting the main file to build/cortex.js
I think this makes more sense as how cortex transform its code should not be an external dependency

Then probably there will be another problem. With "require" calls in your compiled code.
Browserify will try to find correspondent modules, and will use them even though they are already compiled in bundle.
You can add derequire step to build process to avoid that.

build/cortex.js is usable in the browser and doesn't have require

https://github.com/mquan/cortex/blob/master/build/cortex.js#L11
Browserify just blindly searches for calls to functions named "require", without figuring out what that "require" actually means.
In this case it will try to find build/pubsub.js and will fail of course.
To test it I tried the same "my_code.js", and modified field "main" in "node_modules/cortexjs/package.json" as you suggested. Yes it fails.


Fix macOS build failure on SDK 10.12 and host crash.

Macro panic() is expand to postfix with panic line number, when passing
a va_list to panic(), the macro can't expand correctly.
Since panic() is now wrapped with hax_panic(), the line number always
points inside hax_panic() which isn't necessary.
Use panic_plain instead.
Before hax logger refine, hax_log_level() incorrectly use printf() for
va_list. However it should use vprintf(). The new hax_log() inherits
from hax_log_level() but doens't fix printf()->vprintf().
Signed-off-by: Colin Xu<EMAIL_ADDRESS>

Ok to verify


Use rayon's par_chunks_mut

In compute_image_parallel, there's no need to collect chunks_mut
into a vector when rayon can iterate par_chunks_mut directly.  The
non-rayon version also doesn't need an intermediate vector.

Thanks!


Update the Gibbs notebook in the book

This is related to #54 to replace the old sampler with the new one. Since the Gibbs notebook requires additional care in replacing the old sampler with the new one, we kept it in a separate issue.
DoD:

[ ] The Gibbs notebook in the book is updated to use the new sampler module instead of the old one
[ ] The Gibbs notebook runs correctly after the change
[ ] The changes are reviewed and merged

Can you review DOD @jakobsj

I think the "correctly" one should be specified / split a tiny bit. For example:
All cells in the notebook run with meaningful output.
Results in the notebook are checked against old samplers version and are meaningful.
Any exercises and suggested solutions are checked and meaningful.


Scroll on mobile is not smooth

testing confirms this is isolated to iOS safari.

Possibly this? https://css-tricks.com/forums/topic/iossafari-web-page-scrolling-issues-fixed/

Fixed on iPhone and Tablet for iOS safari.


Update sites.yml by adding wonger.dev

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[x] This site is not an ultra lightweight site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: wonger.dev
  url: https://wonger.dev/
  size: 49.4
  last_checked: 2023-11-24

GTMetrix Report: https://gtmetrix.com/reports/wonger.dev/wUoVekcP/

Thanks!


Robots.txt not routing

Describe the bug
Hi, thanks for the template, really great stuff. I've got everything working perfectly however the robots.txt doesn't seem accessible either by me or crawlers (google etc).
Error I get locally:

Error I get on live site:

The logs:

TypeError: Cannot read properties of undefined (reading 'body')     at g (/var/task/.next/server/app/[locale]/[authors]/page.js:1:15873)     at eh (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:134786)     at e (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:137671)     at ek (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:138145)     at Array.toJSON (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:135755)     at stringify (<anonymous>)     at eR (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:142219)     at eE (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:142698)     at Timeout._onTimeout (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:135475)     at listOnTimeout (node:internal/timers:581:17) {   digest: '3283440806' }
Expected behavior
Expect to able to see the robots.txt and for indexers to crawl it
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Thanks!

Hi! I'll prob need to update it all to Next 15 + etc. But if you find a solution for this, please make a PR and let me know!


dataset Invalid

In the Secondary structure prediction dataset  ( drive link), the .npy files are empty. (https://drive.google.com/drive/folders/1OgcYHwB-8Y1VawhiT9xxvn22fZLq1N5s).

In the Secondary structure prediction dataset ( drive link), the .npy files are empty. (https://drive.google.com/drive/folders/1OgcYHwB-8Y1VawhiT9xxvn22fZLq1N5s).

Thanks for pointing that out! 😀 We have reupload the data.

The folder at [https://drive.google.com/drive/folders/1fdXWcmC7zW0QN36hn_-IrCVxgQJ-WH-S] only contains 2094 files, which seems inconsistent with the 10814 files mentioned in the paper.


PHP proxy fails to pass back full response

This came about when trying to use the most recent PHP proxy against the basic directions Javascript sample. Swapping out the proxy file with the PHP one on my machine (OSX Mavericks, and then Yosemite) and adding my credentials to the config file. When running the same everytime i would get an "Undefined token error" and after checking the response back from the route service via the proxy, it was always truncated, "dojo.io.script.jsonp_dojoIoScript1._jsonpCallback({"currentVersion":10.3,"layerName":"Route_World","layerType":"esriNAServerRouteLayer","impedance":"TravelTime","restrictions":["Avoid Unpaved Roads","Avoid "
Notice that the full JSON callback is cut off. To narrow down if it was machine specific, I configured a clean Apache instance on my personal Macbook running Yosemite (older hardware model, via 2012) and got the same exact error message when trying to run this sample.
Spoke to @phpmaps and he had an idea what was going on. Created this issue so that the fix he implemented in an updated PHP could be merged into this repo.

The issue appears to be related to older GZIP concerns.  As PHP interrogates GZIP'ed resource responses (looking for 403 failures and errors) it decompresses the data.   I believe in some cases the proxy brokers the response equal to the Content-Length size (of the gzip'ed response) instead of calculating a new Content-Length size based on the decompressed data.  Since one goal is to proxy content according to the original requests and responses - my plan is to clone the ArcGIS Online and Server response and interrogate the other.  If all is good - send the client the cloned response.  Repackaging would be expensive and more code - plus requires the zlib extension which not everyone may have.
http://php.net/manual/en/function.gzcompress.php

@phpmaps - Awesome, thanks so much for digging into this and figuring out the issue.:-)

See #193

I'm running into this one as well with PHP.

@driskull  Have you tried this new proxy.php file awaiting a merge?  I am very hopeful that this fixes the issue.  I suspect that this one line will make a big difference in preventing truncation.
https://github.com/phpmaps/resource-proxy/blob/patch-1/PHP/proxy.php#L576-578

Yes I did and it does work.

Actually, it doesn't work for me. It did for a while but now it isn't.

@driskull  A couple of questions.  Are you testing with this source here https://github.com/phpmaps/resource-proxy/tree/patch-1 ?  Second, what type of server are you using when testing?  Lastly, if you see the problem again, can you post the HTTP Response headers in this thread.
The good news is @bsvensson has yet to merge this in b/ he say duplicate headers which I think were specific to a Windows IIS or Windows Apache environment .  I would make sure you are using this source.
https://github.com/phpmaps/resource-proxy/tree/patch-1

@phpmaps Not sure if the duplicate headers were specific to Windows IIS or Windows APache. Pretty sure I saw it on my end using Apache on my Mac OS.

It seems to be working now. I'll see if i can reproduce it again.

@driskull - make sure it wasn't an issue due to expired-token not being renewed - #146.

I ran into the expired token on .Net version. PHP seems to be working but i'll keep an eye on it.

I'm seeing some weird stuff with this @phpmaps @bsvensson  -
if using a JSAPI app and have it set to esriConfig.defaults.io.alwaysUseProxy = true; instead of urlUtils.addProxyRule({
urlPrefix: ...
I end up getting the proxy duplicated in the request URL header and therefore get a 403 forbidden error saying it can't access this.
eg.
http://heatherg.esri.com/proxy/proxy.php?http://heatherg.esri.com/proxy/proxy.php?http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tilemap/18/109472/71656/8/8
Another weird thing is that the the services.arcgisonline.com URL is set in the proxy config as well. It only bails on the tiled layers.

@phpmaps I'm dreading this but it looks like this problem reared it's nasty head again.
I'm on a brand new machine. Just got it today so no crazy configuration settings or anything. Using default PHP and apache that comes with the Mac OSX. Took the latest version you currently have up and tried using this to proxy app credentials to run the directions sample located here,
everytime I try to run it, I always get the truncated response similar to what I had the first time this popped up,
"dojo.io.script.jsonp_dojoIoScript1._jsonpCallback({"currentVersion":10.3,"layerName":"Route_World","layerType":"esriNAServerRouteLayer","impedance":"TravelTime","restrictions":["Avoid Unpaved Roads","Avoid Private Roads","Driv

Ok.  Good to know and disappointing to hear.  Would you say this issue is intermitent?  Also just to confirm are you still using the code in this pull request and not the master?  Also if it happens again can you post response headers?

I just now realized I think I did a copy and paste from the master for something else I noticed last week so wanted to make sure I was looking at the right stuff. I just grabbed the pull request and now no more truncation. I need to go back though and look at what I was testing last week because I can't remember why i got rid of what you sent me originally. Maybe I thought that the pull request was already merged and that's why I took it from master? I'm going to check as well to see if I get that issue again with duplicating proxy.php? in the request URL. It seemed to only happen if trying to access tiled services. Weird.
Anyway, truncation gone. Thanks for the reminder. Now to test a couple of other things:-) Thanks for the help Doug:-) @phpmaps

The #193 pull request has now been merged in and hopefully fixes the original issue (truncated responses).
@hgonzago - please test using master branch, then close this issue if ok.

Thanks, grabbed from master and everything seems to be working ok. Thanks:-)


Django version update

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 55.81%. Comparing base (f86a5f6) to head (d3ccbc6).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #481   +/-   ##
=======================================
  Coverage   55.81%   55.81%
=======================================
  Files         213      213
  Lines       12515    12515
  Branches     1632     1632
=======================================
  Hits         6985     6985
  Misses       5530     5530

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


LNC failing in prod due to CSP

https://stacker.news/items/520971/r/k00b?commentId=522044

Getting this error:
invalid config: CompileError: Refused to create a WebAssembly object because 'unsafe-eval' or 'wasm-unsafe-eval' is not an allowed source of script in the following Content Security Policy directive:

Mhh, the last time we received CSP reports from stackers because NWC didn't work for them it was a false alarm. It ended up being a missing space. See https://github.com/stackernews/stacker.news/issues/821 and https://github.com/stackernews/stacker.news/pull/845.
But I think the context is different here since in the previous case, it worked with some NWC wallets. If it's CSP here, it should fail for all stackers since even old browsers which don't support CSP Level 3 (strict-dynamic and nonces) should still respect our CSP and fallback to unsafe-inline and thus run into this error.
So would be nice to know if LNC works for anyone in prod

I intended to get mine setup today, but as is my fashion, I gave myself too much to do.


nixpkgs-patched for clevis out of date

rt. When building my system config (which depends on yours for zotero-dev), I get the following error:
       error: hash mismatch in file downloaded from 'https://github.com/NixOS/nixpkgs/pull/257525.patch':
         specified: sha256:0mss1kdkjr1v41yigl43k1k3y18k4m3dabq6dn4w84zf406avyh0
         got:       sha256:17cxw0bbhdhnj9ychxvjin9h5dzip5sfjzl0plkp18w02wi0qcca

I traced it back to https://github.com/camillemndn/nixos-config/blob/1785268b2a2dcde69e6e00fdc6009fe96c0ef035/flake.nix#L119C1-L122 being out of date

rt. When building my system config (which depends on yours for zotero-dev), I get the following error:

       error: hash mismatch in file downloaded from 'https://github.com/NixOS/nixpkgs/pull/257525.patch':

         specified: sha256:0mss1kdkjr1v41yigl43k1k3y18k4m3dabq6dn4w84zf406avyh0

         got:       sha256:17cxw0bbhdhnj9ychxvjin9h5dzip5sfjzl0plkp18w02wi0qcca

I traced it back to https://github.com/camillemndn/nixos-config/blob/1785268b2a2dcde69e6e00fdc6009fe96c0ef035/flake.nix#L119C1-L122 being out of date

Hi, thank you, I think I ought to create a specific flake for Zotero 7 asap

Hi, you can use this now: https://github.com/camillemndn/zotero-nix


Inconsistent versions used for awaitility

There are some version mismatches for the dependency. One part talks about using awaitility 3.1.2 but the finished build files have 4.2.0

I submitted a PR that addresses this issue, along with several others.

Fixed with #34


Failed build

Most likely I'm missing a step but, after doing:
bringing all submodules in
idf.py set-target esp32
idf menu-config [WT32-SC01-Plus,4Mb]
idf.py build

I get the following error:
/Dev/CNC/WT32-SqLn/components/LovyanGFX/src/lgfx/v1/misc/pixelcopy.cpp: In constructor 'lgfx::v1::pixelcopy_t::pixelcopy_t(const void*, lgfx::v1::color_depth_t, lgfx::v1::color_depth_t, bool, const void*, uint32_t)':
/Dev/CNC/WT32-SqLn/components/LovyanGFX/src/lgfx/v1/misc/pixelcopy.cpp:39:25: error: member 'lgfx::v1::pixelcopy_t::<anonymous>' is used uninitialized [-Werror=uninitialized]
   39 |     , src_mask  ( (1 << src_bits) - 1 )
      |                         ^~~~~~~~
/Dev/CNC/WT32-SqLn/components/LovyanGFX/src/lgfx/v1/misc/pixelcopy.cpp:40:25: error: member 'lgfx::v1::pixelcopy_t::<anonymous>' is used uninitialized [-Werror=uninitialized]
   40 |     , dst_mask  ( (1 << dst_bits) - 1 )
      |                         ^~~~~~~~
cc1plus: some warnings being treated as errors
[702/1148] Building CXX object esp-idf/...yanGFX.dir/src/lgfx/v1/LGFXBase.cpp.objninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /Dev/CNC/WT32-SqLn/build/log/idf_py_stderr_output_44835 and /Dev/CNC/WT32-SqLn/build/log/idf_py_stdout_output_44835

Any suggestions?

Did you check the video walkthrough on the steps required available in the readme?

Yes. Followed video exactly

I have a feeling that the Lovyan package has changed and the dependency brings a wrong version

I have a feeling that the Lovyan package has changed and the dependency brings a wrong version

I will check during the weekend 🤞🏼

Wich version if ESP-IDF are you using?
I ran into the same problem using ESP-IDF v5.1-dev-3619-g57b6be22a7
It compiles without errors using the release version ESP-IDF v5.0.1

Always use release branch since main is moving target which has build issues sometimes.


Media Button shows in Game Details even when Trailers is disabled

First off, thank you for making this! I spoke to you briefly on the Playnite Discord regarding this: As of now, unchecking Trailers in DKG Theme Modifier, applying, and saving still shows the Media button in Game Details when it shouldn't. These are the extensions and versions I'm using:
Playnite 9.14
DKG Theme Modifier 2.3.3
Extra Metadata Loader 1.29
Extra Metadata Fullscreen Mode Helper 2.8
Playnite Deck 1.0.0
Please let me know if you need any more information.
Thank you and best regards.

Fixed in v1.0.1, no ETA on release.


Using with RxSwift 2.6.0

Is there version that compatible with RxSwift 2.6.0 and Swift 2.3 ?
Podspec file of the last version has the dependency to RxSwift ~>2.3.1

No.
I'll release the version compatible with RxSwift 3.0.0 + Swift 3.0, and I have no plan to create for RxSwift 2.6.0 + Swift 2.3.


AXFR only gets one record

Using version 0.1.1 (built from commit 99ae50f3736ccffd233f2a6719b06afd00a65b82):
./ptrcheck -v --server <IP_ADDRESS> --zone caboose.org.uk
Connecting to <IP_ADDRESS> port 53 for AXFR of zone caboose.org.uk
Zone contains 1 record
Found 0 unique address (A/AAAA) records

but using dig I get more:
dig -t axfr caboose.org.uk @<IP_ADDRESS>

; <<>> DiG 9.18.28-1~deb12u2-Debian <<>> -t axfr caboose.org.uk @<IP_ADDRESS>
;; global options: +cmd
caboose.org.uk.         3600    IN      SOA     oelph.caboose.org.uk. postmaster.caboose.org.uk.<PHONE_NUMBER> 14400 3600<PHONE_NUMBER>
...
caboose.org.uk.         300     IN      A       <IP_ADDRESS>
caboose.org.uk.         300     IN      AAAA    2001:ba8:1f1:f0e9::2
caboose.org.uk.         3600    IN      MX      10 mail.caboose.org.uk.
caboose.org.uk.         3600    IN      NS      a.authns.bitfolk.co.uk.
caboose.org.uk.         3600    IN      NS      b.authns.bitfolk.com.
caboose.org.uk.         3600    IN      NS      c.authns.bitfolk.com.
...
mail.caboose.org.uk.    300     IN      A       <IP_ADDRESS>
mail.caboose.org.uk.    300     IN      AAAA    2001:ba8:1f1:f0e9::2
oelph.caboose.org.uk.   3600    IN      A       <IP_ADDRESS>
oelph.caboose.org.uk.   3600    IN      AAAA    2001:ba8:1f1:f0e9::2
...
www.caboose.org.uk.     300     IN      A       <IP_ADDRESS>
www.caboose.org.uk.     300     IN      AAAA    2001:ba8:1f1:f0e9::2
caboose.org.uk.         3600    IN      SOA     oelph.caboose.org.uk. postmaster.caboose.org.uk.<PHONE_NUMBER> 14400 3600<PHONE_NUMBER>
;; Query time: 0 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>) (TCP)
;; WHEN: Tue Nov 26 14:40:53 GMT 2024
;; XFR size: 20 records (messages 3, bytes 1267)

I captured the AXFR request from ptrcheck with tcpdump and looking at the response I see that there are two, one with just the SOA record and another with the rest.

Thanks! I am able to reproduce this myself now so I will look more into it.

Let me know if you need any more information.

Out of interest what software is your name server?

It's PowerDNS, version 4.7.3-2.

Happily it seems I was doing it wrong after all!
query method is meant for only a single response. There is a dedicated zone_transfer method which is a proper stream of responses. I was just (un)lucky that almost all AXFR fit in one response so it worked most of the time!
In a test program I've managed to use zone_transfer to AXFR your zone successfully.


Avatar Icon not updating exactly as the facial expressions

Describe the bug
The Avatar icon is not same as that of vrms face when applied the facial expressions
To Reproduce
Steps to reproduce the behavior:

Run the app
apply facial expressions
compare vrm's face and avatar icon

Expected behavior
Both should be same
Screenshots

This is related to this issue :

we shouldn't be able to add multiple facial expressions at once ( or it needs some kind of limiter )

So according to Avaer :

we need to select only the be matching expression from the pre-render
But this is not a high priority issue right now


Installing MariaDB?

The docs mention you can use MariaDB, but I don't see a way to trigger that in config.yml. Can it be done, and is it version 10.10.x+?

See: http://docs.drupalvm.com/en/latest/extras/mariadb/
It will use whatever packages are available via yum, and it's currently only officially supported in CentOS 7 on Drupal VM, though you can use the geerlingguy.mysql role with any supported OS and change the packages list to work with any mariadb packages as long as you have a repo with the packages added via apt/yum.

What version of MariaDB would it be? Do you know?
Still looking for an easy way to install either MySQL 5.7.7+ or MariaDB 10.10+

I don't believe those are in the default package repositories yet.
You could add a post_provision_script that does an upgrade. There's an example shell script that configures solr. https://github.com/geerlingguy/drupal-vm/blob/master/examples/scripts/configure-solr.sh
https://downloads.mariadb.org/mariadb/repositories/

I was kind of hoping it was a var that you could set in config.yml to dictate which version to download. It looks like MySQL 5.7.11 is available for Ubuntu 14.04 for example, but it still installs 5.5.46.
Is there any way to know when it will be available?

@kevinquillen - Currently the geerlingguy.mysql role only uses the core ubuntu repository, not the official MySQL apt repo. Note that my MySQL role is probably in some ways one of the most complex (touch one thing and MySQL has a hissy fit), and also the most widely used—see https://github.com/geerlingguy/ansible-role-mysql/issues
So I would be more than willing to work on a simple way of switching to the official MySQL repo (or using a MariaDB repo instead) if it were made in a backwards compatible way, were as stable as using the general OS repository, and didn't break things too badly...
That would be an upstream issue though, and Drupal VM officially sticks to MySQL (system packages) or MariaDB (only 5.x and only on CentOS at this time). Again—that's all I'm officially willing to support... you may be able to get other things working depending on how you reconfigure stuff or post-provision.

Okay. Don't mean to be a pain about it, because while it looks like a
slight version upgrade, the reason is that 5.7.7 (+ MariaDB 10.10.x)
introduced the JSON data type field. PostgresSQL has supported it since 9.2.
On a VM setup I don't use anymore, I installed Postgres explicitly for the
purpose of developing this module:
https://www.drupal.org/project/jsonb
Although now, I can't work on it. I don't want to use anything but
DrupalVM. I guess yeah, databases are probably the most tedious part. It
looks as if Acquia is still running 5.5 as well, so.
A shortcut to this would be simply installing Postgres 9.2+, is there an
ansible role that could do this within DrupalVM?
On Fri, Feb 12, 2016 at 4:04 PM, Jeff Geerling<EMAIL_ADDRESS>wrote:

@kevinquillen https://github.com/kevinquillen - Currently the
geerlingguy.mysql role only uses the core ubuntu repository, not the
official MySQL apt repo https://dev.mysql.com/downloads/repo/apt/. Note
that my MySQL role is probably in some ways one of the most complex (touch
one thing and MySQL has a hissy fit), and also the most widely used—see
https://github.com/geerlingguy/ansible-role-mysql/issues
So I would be more than willing to work on a simple way of switching to
the official MySQL repo (or using a MariaDB repo instead) if it were made
in a backwards compatible way, were as stable as using the general OS
repository, and didn't break things too badly...
That would be an upstream issue though, and Drupal VM officially sticks to
MySQL (system packages) or MariaDB (only 5.x and only on CentOS at this
time). Again—that's all I'm officially willing to support... you may be
able to get other things working depending on how you reconfigure stuff or
post-provision.
—
Reply to this email directly or view it on GitHub
https://github.com/geerlingguy/drupal-vm/issues/436#issuecomment-183487807
.

@kevinquillen - No problem! Also, see: https://github.com/geerlingguy/drupal-vm/issues/146


Add the ability to seed the random number generator

This can be very useful because it allows the developer predicability for what colors will come out.

Hi Will,
Thanks for this but I agree with @mistic100 and want to avoid introducing a dependency which alters window.Math.
Seeding the color generator seems like a popular feature and I'll play around with a few ideas for implementing it.
Best,
David


🐞 : word is not visible

the word Project is not visible in light mode

@iamrahulmahato plz assign me this issue

I would like to work on this issue


Incorrect example for PostgreSQL Serverless

The current Serverless example for PostgreSQL does not work. It is using Parameter Group aurora5.6 which is for Serverless MySQL 5.6. Instead, it should be using aurora-postgresql10 for PostgreSQL which can be found in AWS Aurora Serverless Documentation
I will be creating a PR and associate it with this Issue.

Fixed in v3.3.0 has been just released.

Fixed in v3.3.0 has been just released.


The chatbot isn't working

The interface is up and running. But, i don't think the API call is going to ChatGPT. There is no error message i can see on the terminal as well. It would be great if someone can help me with this.

No, the frontend isn't connecting to the backend. I couldn't see any log actually.


Support Debian 9

Should we use stretch endpoint instead of jessie on nginx repo?
ref. http://nginx.org/packages/mainline/debian/dists/stretch/

!!1 I'll fix it!


Use Location from the common specs

What's needed?
The Location message defined here should be removed, and instead the one from the common specs should be  used.
Proposed solution
The following should be used from the common specs repo:
// A pair of geographical co-ordinates, representing the location of a place.
message Location {
  // Latitude ranges from -90 (South) to 90 (North)
  float latitude = 1;

   // Longitude ranges from -180 (West) to 180 (East)
   float longitude = 2;
}

Use cases
No response
Alternatives and workarounds
No response
Additional context
No response

@tiyash-basu-frequenz I think we discussed that we might want to add the country code here as well, right?
// A pair of geographical co-ordinates, representing the location of a place.
message Location {
  // Latitude ranges from -90 (South) to 90 (North)
  float latitude = 1;

   // Longitude ranges from -180 (West) to 180 (East)
   float longitude = 2;

+   // Country ISO 3166-1 Alpha 2
+   string country_code = 3;
}

@stefan-brus-frequenz FYI

I think we discussed that we might want to add the country code here as well, right?

Yep, this PR was just intended to move the existing definition, but I can add another commit here to add the country code.

Was addressed in https://github.com/frequenz-floss/frequenz-api-microgrid/pull/99


clarify compatibility with ufw

We are wondering, is corridor (as a host firewall #3) compatible with ufw? Has this been tested? Is that discouraged?
Please clarify. Then documentation will perhaps recommend to uninstall ufw first. (And I'd add a Conflicts: for Debian packaging. (#10))

I've never tried ufw.

I wonder if combination with ufw should be discouraged then?
I think unless one is intimate how ufw works, with its instructions on how it can be combined with other iptables rules, ufw is a recipe for disaster. It might either break what ufw is doing, or what corridor is doing, or even both.
ufw documentation on combining ufw with other iptables rules at https://wiki.ubuntu.com/UncomplicatedFirewall#Advanced_Functionality tells me, corridor and ufw cannot be easily combined.
//cc @HulaHoopWhonix


Fix doc for customized objective/metric

Follow-up to #4598. The example training log was not being displayed because of a syntax issue.

Before:

After:

@hcho3 What's the version of sphinx used in server?  I displayed the doc fine with 2.1.2:

I need to match my version with the one on server.

@trivialfis It turns out that ReadTheDocs was using an old version of Sphinx (1.8.1). Let me go ahead and change that to latest version (2.1.2).

See #4609


WIP: ESM Baseline

Done:

Update model parameters to reflect ESM++ vocab_size https://huggingface.co/Synthyra/ESMplusplus_large/blob/main/modeling_esm_plusplus.py#L868-L874
Remove causal mask

Questions:

What is the max sequence length we should consider when validating? 2048?
Other than validation loss, what eval metrics do you recommend (to run at end of training)

Remaining:

validate with dataset

When you're ready with the dataloader, I can merge it into my branch. Happy to help on the data side.

Wrong repo


Any plans for serde support

Hi, I’m trying to build an Ansible alternative on top of rcl. One thing that would be nice is to be able to serde_rcl::from_value(value) which will tell which part of the file didn’t match the type.

I’m trying to build an Ansible alternative on top of rcl

Cool!

One thing that would be nice is to be able to serde_rcl::from_value(value) which will tell which part of the file didn’t match the type.

Yes, I agree. I do have plans to make deserialization into Rust structs nicer, currently it’s not very ergonomic. I ran into this myself in #41, for now I do deserialization there like this: https://github.com/ruuda/rcl/pull/41/files#diff-e699e5fa1bf29e0fdd266cc76a2f808fb429b0ee90d7167f732a7b28b4ce3706R72-R162.
I’m not yet sure what the best way to go about it is. One way is to traverse the Rust type definition and generate a deserializer that emits errors like above, but possibly nicer would be to generate an RCL type. Currently the top-level expression can be anything, but if a particular type is expected, then the typechecker can highlight the spans in the source code that don’t match the type (as opposed to evaluating first and then checking that the value fits the type, which loses information about where in the source file the value came from).
I don’t have a timeline for deserialization support, at this point some other features have higher priority for me.

Thanks for the insight.
I ended up putting Span into Value as a quick hack, and manually traverse down the Value.
The error reporting in rcl is really good.


Miscellaneous improvements on outputhost

Don't always refresh the CG during load. This was resulting
in one metadata cg extent call for every ReceiveMessageBatch call.
Convert spammy logs to metrics.
When the notify from controller is received, make sure to just
refresh the CG instead of loading completely.

Changes Unknown when pulling 757f448ededf277013ff104310744d384d8405de on output_misc_perf into ** on master**.

Changes Unknown when pulling 624c2b57d8555777e8fa9d27447c6938160e269e on output_misc_perf into ** on master**.

Changes Unknown when pulling 624c2b57d8555777e8fa9d27447c6938160e269e on output_misc_perf into ** on master**.


Add volume events

Coverage decreased (-0.08%) to 71.689% when pulling 0fd05e763f254d2fbf08771f3f262437b7a055d8 on eatonphil:add-volume-events into<PHONE_NUMBER>e833c0ebc670cf6610c88b32dbc36f on linode:master.

Coverage decreased (-0.08%) to 71.689% when pulling bf4fbfe17844b03ced209262bddec913bcd4fe47 on eatonphil:add-volume-events into dea7bfcff37f9bef811f9270fb4c17626ce537bc on linode:master.

Coverage decreased (-0.08%) to 71.689% when pulling a88e0138cc1af8fa1ae1511d1b7476086ac0efe8 on eatonphil:add-volume-events into 1714e33026a2e74087b3cb959080e660e40852b6 on linode:master.

Coverage decreased (-0.08%) to 71.689% when pulling 33054bfea71177f1c41230dcc4ec4a7d97c59d75 on eatonphil:add-volume-events into 8e3265a2c919fdfae35e42e6b36028b83b4253c4 on linode:master.

Thank you!


Updating README.md with Georgian's website

Just casually sliding in here. Thanks for the awesome boilerplate!

Closing all example blogs PR for now. Will be cleaning things up and migrating to a v2 version with react server components based on the app dir structure. Happy to accept new additions after that.


How to create a WherePredicate with a type parameter?

The docs for WherePredicate mention:

A single predicate in a where clause: T: Deserialize<'de>.

Let's assume I want to define this example. This is clearly a predicate on a type, so, I look into PredicateType. Hmm, there the example is a different one:

for<'c> Foo<'c>: Trait<'c>

Let's hope I don't need to specify the for and the 'c. I can probably omit this by leaving the lifetimes field empty. On we go. I want to add a predicate to T, so I should add T in PredicateType. However, the bounded_ty field has type Type. My T, which I would get, e.g., from the params of a Generics, is a TypeParam! How do I get a Type from that?
It seems to me that maybe the type of PredicateType is a bit wrong. It doesn't have a field for type variables. If it would, I could get the Ident from a TypeParam. I clearly can't resolve the type variable at this stage, since we're not doing type checking.

Also, the docs for Type are very confusing: The examples are often with type variables, but I can't find a way to construct a type variable.

The best way to figure out the answer to this kind of thing is by looking at what syntax tree the parser produces.
// [dependencies]
// quote = "1"
// syn = { version = "2", features = ["extra-traits", "full"] }

use quote::quote;

fn main() {
    let tokens = quote! {
        fn f() where T: Deserialize<'de> {}
    };
    let item: syn::Item = syn::parse2(tokens).unwrap();
    println!("{:#?}", item);
}

The best way to figure out the answer to this kind of thing is by looking at what syntax tree the parser produces.
// [dependencies]
// quote = "1"
// syn = { version = "2", features = ["extra-traits", "full"] }

use quote::quote;

fn main() {
    let tokens = quote! {
        fn f() where T: Deserialize<'de> {}
    };
    let item: syn::Item = syn::parse2(tokens).unwrap();
    println!("{:#?}", item);
}


Under which license is this library provided?

Hello, I tried to find information regarding the license under which the library could be used, but failed unfortunately.  Could you please provide a short statement regarding this? Without a proper license statement (ideally in the source) it is impossible to reuse (opensource wise and commercially). My preference, if I may add, would be a none viral license like ASL2 or BSD, of course.
Thanks,
Mirko

Hi,
Would you be able to select a licence in github so there's an official licence against this repo? I'm investigating using this, but can't really use it unless there's an explicit licence specified that we can track back to.
Thanks.

I have now added the ASL2 license to the project, thank you everyone for your input on this.

Awesome, thanks for the quick response!


Feature/clean docker build

Use a minimal docker file that just runs our install.sh script to build the main CI container.

@parijatm @soneryaldiz This is ready to merge. Please review.

@parijatm @soneryaldiz This is ready to merge. Please review.


Added sample demonstrating how to connect session with Blazor and WebForms

[x] You've read the Contributor Guide and Code of Conduct.
[x] You've included unit tests for your change, where applicable.
[x] You've included inline docs for your change, where applicable.
[x] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

PR Title
Added sample demonstrating how to connect session with Blazor and WebForms
PR Description
Added sample demonstrating how to connect session with Blazor and WebForms
The only issue I have found is that I get an exception that breaks navigation. This occurs when I navigate from an InteractveServer page (Counter) to a static page (Home, Weather). I'm not sure if this is a different issue.
Addresses #382

@dotnet-policy-service agree

How is this different from this sample: https://github.com/dotnet/systemweb-adapters/tree/main/samples/WebFormsToBlazor

My sample demonstrates sharing session data between Blazor and WebForms with HttpContext added in NET 8. The other sample demonstrates forwarding and displaying Blazor components in WebForms in NET 7. If it would make more sense to combine the two samples, I can do that. I just didn't want to jam everything into one sample.

Yeah, let's have a one stop-shop for the the blazor/webforms sample. Both are helpful things to show, but it would be greato show how they may complement each other two (and verify that they do!)

Ok, I will combine them and update the PR on Monday.

@twsouthwick It looks like Blazor components in WebForms needs Blazor Interactive Server. I don't think I can combine the two unless System.Web.Adapters supports Blazor Interactive Server. As soon as blaozr.server.js loads, I can no longer navigate.

I think we want to figure out why that's happening then. We should be playing nicely with blazor, and if there are issues those should be addressed. If there are limitations that we can't work around, those should be addressed.

It hangs in RemoteAppSessionStateManager when requesting from Counter (page with Interactive Server) to another page (using static rendering). The request gets to GetSessionDataAsync and hangs at the backchannel request. I set a breakpoint inside PostMapRequestHandler on the framework side and the request exits this event, so I am not sure where this could be holding up.
If it doesn't succeed, it is because the request hits the 100 second timeout.
If it works and finishes before the timeout (rare, but I have reproduced it a few times), I get a status code 400 from SetOrReleaseSessionState, but everything seems to be working fine until you repeat it by going from interactive server to another page.
The current sample that I added can easily reproduce it.

After further investigation (and gaining a better understanding of what his happening on both the blazor side and systemweb.adapters side), it looks like SessionLoadMiddleware is deadlocking on the blazor server request. When  page is requested using InteractiveServer the following 3 requests come through the middelware

GET: /counter
POST: /_blazor/negotiate
CONNECT: /_blazor

I am assuming 2 and 3 are from establishing the SignalR connection with Blazor interactive SSR. When request 3 (Connect) comes through, it will stay open until Blazor sends a disconnect request. Since it stays open, the session is not properly committed and will stay in the heartbeat loop on the framework side.
There is probably a better way to do this, but to temporarily fix it, I am adding the following:
In UseSystemWebAdapters:
        app.UseWhen(
            (context) => context.Request.Method != HttpMethods.Connect,
            (builder) => builder.UseMiddleware<SessionLoadMiddleware>());

@twsouthwick

Hi @pockets3407 @twsouthwick is the Issue #382 is resolved?  and your new sample is ready to try?

@twsouthwick Do you have any preference on my suggested fix to get this working with blazor server? Do you want me to open another pull request for it that is separate from the sample?

I manually added a workaround to the sample, so System.WebAdapters can be used with SignalR.
System.WebAdapters middleware can be ignored when there is a Connect request or the request is coming from Blazor SignalR. I decided to use the former, because I thought HttpMethods.IsConnect() would be more optimized than checking if the path contains "_blazor", but both are shown in the sample. This will be the workaround I will use when 1.4 is released.
@twsouthwick The sample is ready waiting to be approved.
@erpardeepkaushik Feel free to use the sample on my branch. I am not sure when it will be committed to the repo.

@pockets3407 I tried the samples but due to preview versions unable to run the solution.  I will wait for your release version.

This is a peculiar PR. Neither app has any authentication. Given the technology gaps here, a solid example of shared session also would do well to demonstrate it in a real context, i.e. with authenticated views involved.

@pockets3407 sorry for the delay. I've been cleaning up the samples and once #530 is merged, we can take a look at bringing this in. That change should simplify what is needed for a sample. Can you rebase against that branch?

@twsouthwick Yes, I can do that. Just let me know when it is merged.

It is merged now. Ping me when it's ready and I'll review it. Sorry again for the delay


Pending: BeginSendRequest timeouts, web

Currently trying to get something that always fails.

    	[HttpGet]
		public void IndexAsync(IndexViewModel model)
		{
			AsyncManager.OutstandingOperations.Increment();
			AsyncManager.Parameters["pingMessage"] = model.PingMessage;

			_logger.Info(string.Format("message {0}", model.PingMessage));

			Guid requestId = CombGuid.Generate();
			string ipAddress = Request.ServerVariables["REMOTE_ADDR"];

    		_bus.GetEndpoint(new Uri("rabbitmq://localhost/PingServer"))
				.BeginSendRequest(new Ping(requestId),
					_bus,
					y => AsyncManager.OutstandingOperations.Decrement(),
					null, x =>
					{
						x.Handle<Pong>(
							msg => AsyncManager.Sync(() => AsyncManager.Parameters["e"] = msg));
						x.HandleTimeout(TimeSpan.FromSeconds(10),
										() => AsyncManager.Sync(() => AsyncManager.Parameters["timeout"] = true));
					});
		}

		public ActionResult IndexCompleted(string username, Pong e, string returnUrl, bool timeout,
										   IEnumerable<Tuple<string, string>> errors)
		{
			if (timeout)
			{
				ModelState.AddModelError("timeout",
										 "Unfortunately the ping service didn't have the good grace to respond on time "
										 + "- unfortunately we seem to be overloaded right now, please try again right now...");

				TempData["ModelState"] = ModelState;
				return RedirectToAction("Timeout");
			}

			return RedirectToAction("Success");
		}

And the endpoint just does:
class PingHandler
		: Consumes<Ping>.All
	{
		private static int _counter;

		public void Consume(Ping message)
		{
			Console.WriteLine(string.Format("Got ping#{0}|{1}", Interlocked.Increment(ref _counter), message.CorrelationId));
			Bus.Instance.Context(x => x.Respond(new Pong(message.CorrelationId)));
		}
	}

In PongClient, > HttpApplication:
protected void Application_Start()
{
	AreaRegistration.RegisterAllAreas();

	RegisterRoutes(RouteTable.Routes);

	BasicConfigurator.Configure();

	Bus.Initialize(sbc =>
		{
			sbc.ReceiveFrom(_endpoint);
			sbc.UseRabbitMqRouting();
		});
}

In PingServer, Program:
private void ConfigureWindsor(string endpoint)
{
	_windsor = new WindsorContainer();
	_windsor.AddFacility<TypedFactoryFacility>();
	_windsor.Register(Component.For<PingHandler>().LifeStyle.Transient);

	Bus.Initialize(sbc =>
		{
			sbc.ReceiveFrom(endpoint);
			sbc.UseRabbitMqRouting();
			sbc.Subscribe(s => s.LoadFrom(_windsor));
		});
}

RabbitMQ has guest/guest admin password but there's no incoming binding to the PongClient queue.

Pong and Ping are CorrelatedBy

We had a problem but can't really isolate. Closing this issue.


Code coverage statistics

the metrics should be automatically generated with a nice dashboard
find a solution, maybe with available GitHub Actions

Notice that here has been added SonarCloud.
See: https://sonarcloud.io/organizations/arturwincenciak/projects


Color constants in visual shader can't be changed.

Godot version:
3.1 alpha 9eb4d4a
OS/device including version:
Windows 10 64bit
Issue description:
The color constant node is always white and can't be changed. The console is also spammed with these errors when trying to set the color.

Steps to reproduce:
Create a visual shader on a mesh, create a color constant and try to change the color.

Can confirm, the Constant Color node will remain white no matter what, actually this issue can be found with all nodes, you cannot edit them inside the visual editor, it only works if a shader parameter appears under the inspector, and even then it doesn't always save properly.
I asked a related question here:
https://godotengine.org/qa/32554/how-do-i-save-apply-a-visual-shader-in-godot-3-1-alpha


Add local font selection for supported browsers

Chromium browsers recently got the ability to browse local fonts. We should provide a way to choose between the Google Fonts list and local fonts, but gray that out with an explanation telling the user to use a Chromium browser for unsupported browsers.

https://developer.mozilla.org/en-US/docs/Web/API/Local_Font_Access_API
https://developer.chrome.com/en/blog/how-boxysvg-uses-the-local-font-access-api/
https://developer.chrome.com/articles/local-fonts/

Hello, I'm really looking forward to solving the issue.
If you can throw some light on what to do I would help.
Thank you

Sure @AmreetKumarkhuntia, tomorrow I can respond with a few tips outlining how to approach this. But if you're new to the code, I also recommend joining our code contributors introductory workshop on the Discord server at 17:00 GMT so you can get a feel for the code base as a whole, and the process of contributing.

Hey! Just leaving a comment to ask to be assigned this issue as per Discord. Thanks!

I've unassigned you from the issue @HarmanHans - if you want to continue then please just leave a comment. If you're stuck then feel free to submit a draft PR with any code changes you have so far. Thanks for your interest in helping to contribute to this project.


UI Scaling is wrong sometimes

Sometimes when a new hunt is logged, the left panel is wider than the right panel.
The left panel should be a fixed width, and the right should resize with the window

Closing and restarting the app seems to resolve it.

Pretty sure this is all better now.


Wifi-1064 : Client events patches fix

Wifi-1064 : Client event patch fixed
Signed-off-by: Ammad Rehmat<EMAIL_ADDRESS>

merged into pending, Thanks !


Add JVM tunning flags in the start scripts for dropwizard

It is a big endeavor to attempt fine tuning the JVM arguments.
But some basic stuff will not harm. Use the other Java projects for reference. But note that some of them are using outdated or currently default settings.

The command to get the current settings is:
grep -rn --include="*.sh" "^java"

-r is a recursive search in the files hierarchy
n tells grep to report the line number in the file if there is a match
--include="*.sh" tells grep to look only in files with .sh extention
"^java" tells grep to search for match only at the beginning of a text line

The projects with JVM tunning options:

[ ] frameworks/Java/jetty/setup.sh:8:java
[ ]

-jar jetty-example-0.1-jar-with-dependencies.jar

Last time I've checked -XX:+UseNUMA check was not enabled by default. The Physical machines are NUMA. So enabling explicitly should help. How much? I can't be sure - don't have access to NUMA machine. Also it seems that this could help on the cloud instances in Azure: they are using Azure D3v2 which is using Intel® Xeon® Processor E5-2673 v2. It is possible to use 2 physical processors in one server (read the specs). So this instances are NUMA if the servers have 2 physical CPUs.

The following are relatively conservative options for the JVM.

JAVA_OPTS="-Xms1G -Xmx1G -Xss320k -XX:+UseNUMA -XX:+UseParallelGC -XX:+AggressiveOpts"
-server $JAVA_OPTS

Request 1 and only 1GB of RAM, adjust call-stack size to 320 kibibytes (kilobytes by the old rulse, thanks to HDD marketing departments), enable NUMA architecture support which helps the GC threads to be local on the CPU for which RAM area they are responsible for cleaning, enable additional bytecode optimizations which are experimental and not enabled by default for the current JVM release version.
Notes about resin:
The current TFB configuration is available in the following two files:

resin.properties
resin.xml

However the option jvm-mode: -server is not described in the documentation. So the -server declaration is moved to jvm-args. Also the requested RAM is decreased to 1GB. Applications are free to change these options in their resin.xml. Also obsolete setting about the perm-gen memory is removed.

Pull request submitted for Dropwizard, Jetty, Resin and Undertow. 2652.


Customized environment variables not available for extensions when VS Code is not launched via terminal

Steps to reproduce:

Add customized environment variables to shell configuration (e.g., add export FOO=BAR to ~/.zshrc)
Open a new shell instance and launch VS Code via code
Open VS Code developer console
Enter process.env.FOO and see "BAR" in the output
Quit VS Code and relaunch VS Code via Spotlight or Launchpad
Repeat Step 3 and 4 but see undefined as result this time.

Related issue: https://github.com/Microsoft/vscode/issues/31800. The "terminal.integrated.shellArgs" config can resolve this issue for the integrated terminal, but the customized environment variables are still not available for extensions.
VS Code version: Code 1.31.1 (1b8e8302e405050205e69b59abb3559592bb9e60, 2019-02-12T02:16:38.656Z)
OS version: Darwin x64 18.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.06GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (21)

Extension
Author (truncated)
Version

gitignore
cod
0.6.0

gitlens
eam
9.5.1

vscode-pull-request-github
Git
0.4.0

latex-workshop
Jam
6.0.0

solidity
Jua
0.0.49

vscode-language-pack-zh-hans
MS-
1.31.4

python
ms-
2019.2.5433

azure-account
ms-
0.8.0

cpptools
ms-
0.21.0

csharp
ms-
1.17.1

vscode-typescript-tslint-plugin
ms-
1.0.0

java
red
0.40.0

vscode-icons
rob
8.2.0

rust
rus
0.5.3

vscode-leetcode
she
0.11.0

code-spell-checker
str
1.6.10

vscode-lldb
vad
1.2.1

vscodeintellicode
Vis
1.1.3

azure-iot-edge
vsc
1.10.0

azure-iot-toolkit
vsc
2.3.0

vscode-java-debug
vsc
0.16.0

(1 theme extensions excluded)

After step 5, what is the value of process.env.SHELL? Also, what does getLazyEnv().then(r => console.log(r)) return?

When using extension LeetCode, I also encountered this problem. When sign in leetcode, it pops up "LeetCode extension needs Node.js installed in environment path".
if I start vscode from macOS's Dock, it will pop up this error. But if I start vscode from zsh shell, it works.
p.s.
I have added export PATH="/usr/local/opt/node@10/bin:$PATH" to .zshrc file. So I am sure  the node is in environment path, but vscode extension can't find it.


changed existing_entities list into set datastructure for performance…

… improvement
existing_entities list accumulates multiple duplicate elements when edges are build using the add_edge method of the Graph class.  Sets do not take duplicates.
Attached you can see the difference.
existing_entities_list_vs_set.txt

The duplication of elements has been fixed by  https://github.com/jamesscottbrown/pyyed/pull/33 / https://github.com/jamesscottbrown/pyyed/pull/36.


no doc/environment.yml

in contributing to documentation there is a reference to doc/environment.yml that is not there.
I added this (auto-generated) in #173

Ah good catch. The environment used for building the docs has been relocated in ci/requirements/doc.yml, we should probably change the path in the contributing guide instead.


pocket_updater keeps running when showing --help or --version

When running pocket_updater with --help or --version, it keeps running instead of exiting
$ ./pocket_updater --help
pocket_updater 1.0.0
Copyright (C) 2022 pocket_updater

  -u, --update    Automatically download newest core list without asking.

  -p, --path      Absolute path to install location

  -a, --all       Extract all release assets, instead of just ones containing openFPGA cores.

  --help          Display this help screen.

  --version       Display version information.

Analogue Pocket Core Updater v2.0.1
Checking for updates...
Download master cores list file from github? (This will overwrite your current file) [y/n]: (default is y)

$ ./pocket_updater --version
pocket_updater 1.0.0
Analogue Pocket Core Updater v2.0.1
Checking for updates...
Download master cores list file from github? (This will overwrite your current file) [y/n]: (default is y)

Also its printing two versions

thanks! i'll clean this up next time i get a chance to sit down and work on it

this should be fixed in the next release soon

resolved in 2.1.0


Refactor documentation to achieve improved quality

[DG] Updated UML diagrams for clearer explanation of FilterCommand
[DG] Fix bugs and typos
[UG] Update FilterCommand with latest screenshot and enhance explanation

fixes #514

Codecov Report

Merging #549 (b0a6981) into master (a5f1eee) will increase coverage by 1.16%.
The diff coverage is 51.93%.

@@             Coverage Diff              @@
##             master     #549      +/-   ##
============================================
+ Coverage     59.88%   61.04%   +1.16%
- Complexity      541      620      +79
============================================
  Files           100      104       +4
  Lines          2064     2236     +172
  Branches        222      257      +35
============================================
+ Hits           1236     1365     +129
- Misses          736      755      +19
- Partials         92      116      +24

Impacted Files
Coverage Δ

...n/java/seedu/programmer/commons/core/Messages.java
0.00% <ø> (ø)

...main/java/seedu/programmer/logic/LogicManager.java
39.47% <0.00%> (-7.41%)
:arrow_down:

...grammer/logic/commands/DashboardCommandResult.java
100.00% <ø> (+100.00%)
:arrow_up:

...ogrammer/logic/commands/DownloadCommandResult.java
100.00% <ø> (ø)

...u/programmer/logic/commands/ShowCommandResult.java
36.36% <ø> (+3.03%)
:arrow_up:

...programmer/logic/commands/UploadCommandResult.java
100.00% <ø> (+100.00%)
:arrow_up:

...edu/programmer/logic/parser/EditCommandParser.java
61.11% <0.00%> (-3.60%)
:arrow_down:

src/main/java/seedu/programmer/model/Model.java
100.00% <ø> (ø)

...n/java/seedu/programmer/model/student/ClassId.java
85.71% <ø> (+28.57%)
:arrow_up:

...ain/java/seedu/programmer/model/student/Email.java
80.00% <ø> (ø)

... and 57 more

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 ffbdba5...b0a6981. Read the comment docs.


UI - "MaxListenersExceededWarning" error encountered after which we UI becomes unresponsive.

Electron build from commit id - e8c58e5aca2
Steps to reproduce the problem:
PreReq - Have few assistant and chat threads

Create an assistant.
Chat this this assistant and say a thread called thread1 gets crrated.
Delete this assistant.
Now select the thread that was created from step2.
This will result in the thread not loading and being stuck which is tracked in https://github.com/gptscript-ai/desktop/issues/96.
When "loading script" is presented , Wait for 10 - 15 secs and then click on any other thread.
Once the this is thread is loaded , go back to the thread1 from step2 .This will again result in being stuck in "loading script".
Following steps  6 and 7 couple of times , will result in even threads (that are from existing assistants) get struck in "loading script" state.

Once we reach this state, clicking on any other threads for about 10 times results in the following error seen and UI becomes completely unresponsive.
(node:34653) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 interrupt listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(Use `Assistant Studio --trace-warnings ...` to show where the warning was created)
(node:34653) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 addTool listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(node:34653) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 removeTool listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit

@sangee2004 I believe this has been addressed.

The workflow mentioned in the issue does not  reproduce any more when testing with 0.10.0-rc1 builds since access threads relating to deleted assistants are not stuck in loading state which was tracked in https://github.com/gptscript-ai/desktop/issues/96.
Closing this issue.


amazon-s3-gst-plugin: upgrade

patch still required: https://github.com/amzn/amazon-s3-gst-plugin/issues/38


samples: Make API inputs clear

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

My two cents, is that I like using allowing keys to be implicit, if the variable name matches the key name.
But, I understand if this tripped up a customer because it's too magic?

I see this error way too often, because it doesn't explicitly expose the request inputs because of the magic ✨


formtastic integration test

this creates an integration test to verify #1188 works

[x] create new rails project
[x] add formtastic
[x] install formtastic
[x] run tests
[x] generate form
[x] test form

wdyt @justinfrench ? I think it is a nice way to verify the rails integration works correctly.

Awesome idea!


whitespace changes only

Testing whether travis works.

tst_remote.sh is failing in various builds. @WardF I can't get any PRs to pass Travis. ;-(

See if the remote test server is up by putting the url:
<IP_ADDRESS>:8080/dts
into your web browser.

Well I put that into my web browser and a page of links comes up. Is that what is supposed to happen?
However, the test is clearly not working reliably. Every travis run is failing on a different test from the time before. It's just sometimes tst_remote fails, and sometimes it succeeds. Probably it is timing out because all the tests are hitting it at the same time.

Yes, that page of links is what you should see.
Can you do two things?

put "set -x" into tst_remote.sh
get travis to dump the test-suite.log file?

I'll take a look as well on the travis logs and see if I can sort out if it is an infrastructure issue.

It looks like an intermittent failure, I've restarted the two tests which failed.  Lets see what happens now.  I'll be reviewing PR's today and will go through all the automated testing and looking for one-offs.

When you say intermittent, do you mean that it is sometimes
failing to find the server, or are some specific datasets failing?

@DennisHeimbigner correct.  Restarting the 2 tests that failed resulted in successes.  I'll play whack-a-mole while we resolve this.

Closing instead of merging, but all checks have passed.


several problems with new ver

Traceback (most recent call last):
File "/home/Binance-volatility-trading-bot-main/helpers/handle_creds.py", line 19, in test_api_key
client.get_account()
File "/usr/local/lib/python3.9/dist-packages/binance/client.py", line 1767, in get_account
return self._get('account', True, data=params)
File "/usr/local/lib/python3.9/dist-packages/binance/client.py", line 237, in _get
return self._request_api('get', path, signed, version, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/binance/client.py", line 202, in _request_api
return self._request(method, uri, signed, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/binance/client.py", line 197, in _request
return self._handle_response()
File "/usr/local/lib/python3.9/dist-packages/binance/client.py", line 230, in _handle_response
raise BinanceAPIException(self.response)
binance.exceptions.BinanceAPIException: APIError(code=-1021): Timestamp for this request is outside of the recvWindow.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/Binance-volatility-trading-bot-main/bot.py", line 524, in
api_ready, msg = test_api_key(client, BinanceAPIException)
File "/home/Binance-volatility-trading-bot-main/helpers/handle_creds.py", line 39, in test_api_key
msg += e
TypeError: can only concatenate str (not "BinanceAPIException") to str

Your linux version seems not up to date. We are not using the test API.


Updated documentation for AtomsCollection.clear()

Maybe we should have Lydia accept your PR's. It's good practice to have two
people looking---one requests, the other merges.
Gus Hart
Professor, Physics and Astronomy
http://msg.byu.edu
Dean, Physical and Mathematical Sciences
http://cpms.byu.edu
On Sat, Sep 5, 2020 at 8:14 PM jayspendlove<EMAIL_ADDRESS>wrote:

Merged #24 https://github.com/msg-byu/pyrelate/pull/24 into master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/msg-byu/pyrelate/pull/24#event-3733459402, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3UNGDEMIT6K27GULMMPJ3SELV7PANCNFSM4Q3WKOAA
.


ETCD Snapshot is not taken when 2 client is reachable

Hi,
In our cluster we have 3 ETCD  endpoints available.
One of the ETCD endpoint is not reachable due to firewall issue.
out of 3, 2  ETCD endpoint is reachable. But etcd operator is not taking the snapshot. It is expecting all the mentioned endpoint to be available.
Following is the error message
time="2019-04-02T08:59:13Z" level=info msg="getMaxRev: endpoint https://<IP_ADDRESS>:2379 revision (11959285)"
time="2019-04-02T08:59:13Z" level=info msg="getMaxRev: endpoint https://<IP_ADDRESS>:2379 revision (11959285)"
time="2019-04-02T08:59:13Z" level=error msg="error syncing etcd backup (tcl-cluster/example-etcd-backup-vj2c5): failed to save snapshot (create etcd client failed: failed to get etcd client with maximum kv store revision: failed to create etcd client for endpoint (https://<IP_ADDRESS>:2379): dial tcp <IP_ADDRESS>:2379: connect: no route to host\n)" pkg=controller

Is it Possible to take the snapshot atleat any one of the etcd endpoint is available rather than expecting all the etcd endpoint to be available and reachable?
Request you to provide your valuable feedback.
Thanks,
Kannan V

Is it Possible to take the snapshot atleat any one of the etcd endpoint is available rather than expecting all the etcd endpoint to be available and reachable?

@kannanvr I think this is reasonable as the limitation from etcd is that the cluster is quorate. So you would need 2 of 3 in this case. A single running node means you have lost quorum. In which case, a proper snapshot via API is not possible. Would you like to help us dig into this?

@kannanvr I think this is related to #2030. Here is what is happening:

Even though the endpoint is unavailable, it is being published because of the bug I mentioned above.
In an unfortunate event, the svc load balancer picked the unavailable endpoint to restore the backup and it failed.

Because of the dependency on the service load balancer, this bug might be hard to reproduce as well.
You can try the following workaround.

Delete the etcd-operator momentarily.
Edit the etcd-cluster-client service and remove annotation that says service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
Run the backup operator again and see if this works.

IMO once #2063 lands, this issue should go away, unless I am missing something.

@hexfusion @alaypatel07 , Thanks for your guidance.
I think #2063 solves the problem for me...


[REQUEST] Command Doc Err

The Commands Git add and commit and push and Git add all commit and push show the same Default key binding: Cmd-Shift-A P. In fact, the Default key binding of Git add and commit and push is Cmd-Shift-A q.
Both Github README and Atom DOC need fix.

Fixed just now. The next release will update it in atom.


fix: [M3-7038] - Add Firewall and Linode Configuration success toast notifications

Description 📝
The Firewall and Linode Configuration toast notifications did not have a success message, causing no toast notifications when an action was successful.
Major Changes 🔄

Added success notifications for

Firewall notifications (enable, disable, create, delete, device add, device remove)
Linode configurations (create, delete)

Updated toast notification messages for consistency

Preview 📷

Before

After

How to test 🧪
*** Note: The toast notifications take a couple seconds to pop up.
Navigate to the firewall landing page (/firewalls) and ensure:

[ ] Creating a Firewall triggers a successful toast notification
[ ] Disabling a Firewall triggers a successful toast notification
[ ] Enabling a Firewall triggers a successful toast notification
[ ] Deleting a Firewall triggers a successful toast notification

Navigate to the linodes tab within any firewall details page (/firewalls/[firewall_ID]/linodes) and ensure:

[ ] Adding a Linode triggers a successful toast notification
[ ] Deleting a Linode triggers a successful toast notification

Navigate to the config tab within any linode details page (/linodes/[linode_id]/configurations) and ensure:

[ ] Adding a Linode configuration triggers a successful toast notification
[ ] Deleting a Linode configuration triggers a successful toast notification

@bnussman-akamai ah yeah that makes sense, they're based on event polling. Agree 💯

Awesome, will change that over now.

 Banks left a comment pointing out that the changes conflict with the feature branch.
So the functionality will be added shortly once the feature branch is merged.


Blog: Landing page

"See More" link shouldn’t be on this page, right?
No filter will be included in Blog for launch
Quotes only appear on homepage

Are announcements supposed to appear only on homepage? If so, will remove from all other pages.
Will remove filter from blog.
Will remove quotes from other pages.

Yes for launch announcements only appear only on homepage. Down the road they may appear on Community pages (a.k.a. Information For pages)

Filter removed from blog; announcements and quotes now shown only on homepage.

Still seeing filter on Blog

Should be fixed.


HOLDING AN ACTION

Could cause issues with powers that use END each phase.

GM_Champion (he/him) (UTC-5) — Today at 9:07 AM
Probably.  If you can read Lua code, the HERO Mod for Tabletop Simulator solved this, supporting holding a half phase or full phase as needed.
Lua --> Javascript not directly compatible, but you could write pseudo-code based on Lua solution, then code js from scratch.

HOLDING AN ACTION
A character may choose not to act when his DEX indicates that
his Phase begins. He may wait until a lower DEX or until some
event occurs (“I wait until he strikes;” “I wait until he comes
around the corner”). This is known as Holding an Action.
A character may Hold his Action until a later Segment.
However, he can never use a Held Action to take two Actions in
one Segment – he loses any Held Action when the next Segment
in which he has a Phase begins. A character who Holds his
Action on Segment 12 still gets his Post-Segment 12 Recovery
(page 18), and may use his Held Action in the next Turn on


Fix cocotb on Python 3.7

Fix the following error on Python 3.7:
Traceback (most recent call last):
  File "/run/media/andy/Data/Autocopter/fpga/rectification/cocotb/cocotb/__init__.py", line 68, in <module>
    log.setLevel(_default_log)
  File "/usr/lib/python3.7/logging/__init__.py", line 1308, in setLevel
    self.manager._clear_cache()
  File "/usr/lib/python3.7/logging/__init__.py", line 1267, in _clear_cache
    logger._cache.clear()
AttributeError: 'SimBaseLog' object has no attribute '_cache'

I think that cocotb 3.7 is going to run afoul of https://www.python.org/dev/peps/pep-0479/, which makes raising StopIteration subclasses within generators illegal. #640 ought to fix this.

Edit: extracted to #649


Disable the js auto-rewrite

Mailing List thread:
https://groups.google.com/d/msg/liftweb/urqpaxe-0U8/204X5JzqDQAJ
This PR removes the auto-rewriting we do for minified JS files.
In previous versions of Lift we would minify the JS files in advance using YUI compressor. This fell by the wayside with the recent sbt upgrades due to compatibility issues. Newer solutions, e.g. sbt-web, seem to favor doing the minification on the build of the final web artifact and combining everything into a single file so I've had some difficulty getting it to play nice with our existing JS files.
In an effort to get a working Lift build again, I've favored disabling the automatic rewrite until we can revisit the issue in more depth.

I think we have tests that make sure the rewrites are in place, so you'll need to .pendingUntilFixed those or something.
I wish there was a quick, straightforward way to fix this, but I think it would involve gluing the sbt-web minification stuff with the resourceManaged magic that the YUI compressor plugin does… Pretty yakky, and probably time-consuming. I'm okay with sticking to this solution until someone has time to do a proper pass.

Since this is super easy to do with Node, I wrote a quick npm script to minify the js files. Your call whether we want to use it or not, but I figured this was better than removing the minified files, if only until someone wants to continue fighting sbt.
#1979

Commented on the other PR as well, but I think once we have the npmsh bits wired into the package task for the webkit build then we're good to go. I don't want to introduce a change that requires me to remember extra steps during the release process because... I'm very likely to forget them.


Can't add composite index using Laravel Migrations

Laravel Version: 5.4
PHP Version: 7.0.22
Database Driver & Version: MySQL &  5.7.19-0ubuntu<IP_ADDRESS>

Description:
I tried to add a composite index into MySQL using Laravel migration but it doesn't work and says
1071 Specified key was too long; max key length is 3072 bytes (SQL: alter    table company_anncadd indexannc_info(company_name, annc, info))
This was my syntax for adding it
$table->index(['company_name', 'annc', 'info'], 'annc_info');
I added this line in AppServiceProvider in boot method
Schema::defaultStringLength(191);
But still, it didn't solve anything.
I also added this in database.php in config
'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'engine' => 'InnoDB ROW_FORMAT=DYNAMIC',
The error only happens when I try adding the composite index. Apart from that, whenever I tried auth, it worked or I try adding just an index to a column, it works fine.
I am not able to get what's happening. I have tried whatever I could find.
Please help.
Thanks in advance.

Check StackOverflow: https://stackoverflow.com/questions/8746207/1071-specified-key-was-too-long-max-key-length-is-1000-bytes
Closing since it's not an issue in laravel.


frontend: refactor map state

follow up cleanup ticket after #334 and #306.

move mapstore into new dir '/features/mapstore'
create 'store modules' for each feature dependent state e.g. history

Does this issue have overlap to #213?


Fix individual test disabling when run from the UI

When the UI sends the device test modules to the start command, it does not include the individual tests, only the test module so it overrides individual test configuration.  This PR merges these options properly when run from the UI.  It also handles the disabled state for the report.

@jhughesbiot I have removed the disabled test result for now as this is not rendered correctly in the UI or the PDF. We can schedule to add this for version 1.3.3 (I have left it in the code but commented it out)


in binaries and other files, change "version" for "date"

having several versions for each script/file/function is confusing for the user (because of the SCT version). Better to use the date.
Example:
replace:
sct_crop_image - Version 0.3
Author : Benjamin De Leener - NeuroPoly lab <www.neuropoly.info>

by:
sct_crop_image
Author : Benjamin De Leener - NeuroPoly lab <www.neuropoly.info>
modified: 2015-03-24

fixed for sct_crop_image. Need to be done for all the binary script

by the way: now use www.neuro.polymtl.ca  ;-)


IOS build with nativescript angular 2 doesn't work

When Nativescript angular2 app with https://github.com/NativeScript/nativescript-angular and  GoogleMaps cocoapods is built and  deployed on IOS simulator an exception is thrown like in below screenshot.
Also can you tell us how we can set Google API key for IOS in main app.ts typescript file, currently if added in app.ts it give compile time error?

I can not say for the error but. You just simply create a js file on app folder lik app/app.js and put this code...
"use strict";
var application = require("application");
if(application.ios) {
  GMSServices.provideAPIKey("PUT_API_KEY_HERE");
}
application.start({ moduleName: "pages/home/home" });

I dont think we use the above JS file for Angular 2 version of Nativescript. We require/import nativescript-angular/application instead of application. When I use the above code I get the error Cannot find name 'GMSServices'.

Usually when you can't find GMSServices, that means the iOS Google Maps pod didn't get installed.  Make sure you have cocoapods installed.

Actually this is first error when build is started,  without this line
build succeeds with google map cocoapods installed properly and When app is
run it gives exception too that API key shall be set.
On May 31, 2016 6:32 PM, "dapriett"<EMAIL_ADDRESS>wrote:

Usually when you can't find GMSServices, that means the iOS Google Maps
pod didn't get installed. Make sure you have cocoapods
https://guides.cocoapods.org/using/getting-started.html#getting-started
installed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dapriett/nativescript-google-maps-sdk/issues/31#issuecomment-222681240,
or mute the thread
https://github.com/notifications/unsubscribe/ABwtdm1OHeWJ7QdOfcdVu06wYLoDXd9sks5qHDFcgaJpZM4ImcTs
.

I have installed cocoapods. See below:
gem which cocoapods /Users/deepak/.gem/ruby/2.0.0/gems/cocoapods-1.0.0/lib/cocoapods.rb

Faced same issue.
Newbie to Angular and Typescript, so not sure where the issue is but  workaround I am using is export GMSServices in JS module and definition file "d.ts".  My 2 cents that there is a issue in typings.

@ravindrakw Can you share the code snippet that worked for you. Just the bits you where talking about above. Thanks :)

I have done something like this
GMSServiceKey.d.ts
declare function GMSServiceKey(): void; export = GMSServiceKey;
GMSServiceKey.js
module.exports = function () {         GMSServices.provideAPIKey("YOUR KEY"); };
in app.component.ts
import GMSServiceKey = require('./GMSServiceKey');
and
if (application.ios) {    GMSServiceKey(); }

I also realised we need to register the Element in PaschalCase MapView instead of camelCase mapView:
registerElement("MapView", () => require("nativescript-google-maps-sdk").MapView);

Here's a stackoverflow reference, in case anyone else is having issues:  http://stackoverflow.com/questions/36443476/wiring-up-google-maps-nativescript-plugin-with-angular-2

I did the steps ravindrakw mentioned and that fixed my issue. Thank you guys

Even simpler - in your main.ts file, add
import * as platform from "platform";
declare var GMSServices: any;

// before calling .boostrap
if( platform.isIOS ) {
    GMSServices.provideAPIKey("YOUR KEY");
}