Write More Test

Description

Currently, there are tests only for Heading and Paragraph in the Elements section and for token sections.
Problems solved

It might happen that the new code may break something.

Additional context

1 test suite per PR
Want to take up?

[Yes|

Can I write tests for button section in elements?

This is a duplicate of #4. Closing.


[!] Failed to decompile original APK file

[!] Failed to decompile original APK file
how to solve this?

Same error I am also facing, could you please let us know how to resolve this issue. I have installed apktool and zipalign but still facing the issue even for a smaller kb apks.

@littleheary @sanjeevpk Depends on the APK. Apktool doesn't work on every APK but it should work on most APKs that come from the legit Google Play Store.

i solved most problems in new issues up check it

@littleheary Try to decompile the APK using Apktool alone. If it fails then you found the root cause. :)

i solved this by choosing a asmall size app like 14 mb pdf reader


Super small update for CONTRIBUTING.md tensorflow/tensorflow

Changing "1" to "2" in "TensorFlow has reached version 2". It's so small but kind of important because "1" sticks out. But because this super small PR would likely consume hours CI testing on CPUs and GPUs, do you think we put this PR on hold and think of the ways to beef it up to make it worth all the compute? Cheers all and happy holidays 🎄

If you can also combine it with a small typo fix I'd take it :D

If you can also combine it with a small typo fix I'd take it :D

Done. Reviewing a PR about a paragraph that mentions reviewing a PR must be a bit like inception:


Support for beacon chain API

Would be nice to have support for the beacon chain / consensus API. For the most part, it's a simple REST API. For real-time events, it uses Server-Sent Events.

@ralexstokes dont you have something that implements this somewhere?

still under construction but we support most of the API here: https://github.com/ralexstokes/beacon-api-client

Yep exactly. Closing.


Missing Ara3D.Utils

Hi, where can i file Ara3D.Utils? Many thank!

You can find it at https://github.com/ara3d/ara3d, however I am in the progress of updating the projects so that all dependencies can be retrieved via Nuget.

You can find it at https://github.com/ara3d/ara3d, however I am in the progress of updating the projects so that all dependencies can be retrieved via Nuget.

HI, thank i got it. And a question, what if i use helix-toolkit to viewer?

HI, thank i got it. And a question, what if i use helix-toolkit to viewer?

I think that is a great idea. I have started building a viewer based on WPF/Helix-toolkit here: https://github.com/ara3d/ara3d/tree/main/labs/Ara3D.Viewer.Wpf
If you aren't familiar with it, take a look at: https://github.com/xBimTeam/XbimWindowsUI.

@RyugaRyuzaki : just updated the readme with a link to the viewer and a screen-shot.


Make it so that users can create their own vocab for the bot.

I think it would be useful if users could make their own vocab the first time before they make saves for the bot. This would require 2 things:

A way to access the chatroom posts.
A way to write to a file.

The first one can be solved by SO-chatbot by Zirak, combined with the modification of the console.log function.
The second one can be done by opening a new window and using document.write.

No clue how to label this as a feature request.

this bookmark kindof shows what I'm thinking of:
javascript:(function(window){ var a=document.createElement("SCRIPT"); a.src="https://rawgithub.com/Zirak/SO-ChatBot/master/master.js"; a.onload=function(){ bot.activateDevMode(); bot.config.pattern="$$"; bot.newwindow=window.open(); bot.users[9107868].is_owner=true; bot.users[1839506].is_owner=false; bot.users[829835].is_owner=false; bot.users[1596138].is_owner=false; }; document.head.appendChild(a);var hj=function(e){ if(e.events!=undefined){for(var i = 0;i<e.events.length;i++){try{bot.newwindow.document.write(e.events[i].content+"<br>")}catch(e){bot.newwindow.document.write(e)}}} }; console.log=hj; })(window);

LunarWatcher do you think it would be better written in JS or Python? I think JS because it would run directly in the browser.

 The Python port is the most extensive one. Lua would be another option (it has a library I can't remember the name of, but since I don't know Lua and TF is still the currently most comprehensive base-ML lib) Python and TF is the best option. Plus, Python and TF has other libraries (i.e. Keras, Tensorlayer (this project uses Tensorlayer), etc) that build on top of TF to add another layer of abstraction and save time by not having to create the layers. Whether or not the bot can run in the browser is of 0 interest. I could create a Flask backend for web events, but there would still be python running in the background which kinda defeats the purpose. I'm not going to re-write the code to allow bookmarklet use. Create a batch script that executes a command that runs the script. I.e.
python <DRIVE>:/<path to>/bot.py

I can add the necessary input as CLI arguments in addition to stdin (as it currently is), but that's as far as I'm gonna go. And finally, custom vocabs are going to be supported with a currently unpushed edit, where the vocab size 45000 is used, which allows slightly above 7000 custom words in the vocab. Requires training data which I will write a scrapper for later (scrapper here refers to collecting conversations, filtering them manually and making it possible to use that to train the bot). Owners are hard-code atm, ranks are added last time I debugged it in chat, chatroom posts are sent through ChatExchange so there's no reason to have console input to send messages (unrelated: the process of creating a system that handles which site to send to is really hard to create. Since there's the site, room and message there are three vars, discord is more or less impossible due to the channel IDs being defined by long. And there's not really any benefit to manually sending messages from the account anyways, so it's not a priority.
TL;DR: Python will be used because JS has no good ML libraries that come close to TF. Bookmarklets aren't going to be supported ATM due to a lacking server callback (Flask) for a potential web frontend. Either way, it runs on python in the background (Flask is basically a python server) so it just adds more memory usage. Custom vocabs are prepared to be pushed atm, but I'm working on figuring out memory issues for low-memory GPU's (optimizing for 2 gigs of VRAM, but maintaining full GPU support is hard)

I don't think you understand. What I am saying is that JS could create a file that creates output similar to the original Dialog files. It would not run a bot under JS, just create a file ready for download.

No it can't. The original input has a changed format, and so does the output. #1 fixes the issues with output once it's fixed, which is going to be soon. The (programming) language doesn't matter

#5

I have an idea. Modify the save before it loads to include new vocab.

The vocab alone is USELESS. You can have a vocab to include every single word in the English (or any other language) and it'll not be enough. The network has to be trained to use them, meaning the issue is importing custom training data for the bot to train on. It'll add words if they're not found, assuming there's still space in the dict. The bot wouldn't be able to use the other words in the vocab because it wouldn't know how to use them.

Won't know how to use them as in it doesn't have experience with the word?

Is there any way to run a speed-training? As in no connection to the network + only in console?

The net doesn't need network for anything but installs. So yeah, you can disconnect from the network when you have the necessary packages

hmm. Combined with a grammar checker that could be powerful.

Grammar checking exists

Yes I know it exists.

What I'm saying is run the bot output through the checker and if it is incorrect grammar then.. Oh you mean in the bot.

cough I'm impressed. You made a language parser with regex.

And these folks said it would be impossible: https://meta.stackoverflow.com/questions/362943/auto-capitalization-of-the-noun-i-on-post-submit

Or at least insanely difficult.

It is insanely difficult. My system will not get everything right. Nor will the Magic Editor (unrelated userscript for SE). But it works enough to get some level of sensibility in the output

Wow. Nobody likes me. (I WILL REMOVE THIS COMMENT)

So, could a method be used to set it to a random training and then remove that random training after the first epoch? So it would start out with  usage, and then get feedback, and then remove the fake usage and replace it with that feedback.

I tell you I'm pretty good with logic. (Even outside of Javascript)

There's no feedback on output atm, the closest you get is filtering future training data before teaching it

So how does it change and adapt?

How does it know whats right or wrong?

I'm sorry for incorrect terminology. I mean the results or the save that is produced by shutting down or an epoch

It doesn't train while it's being chatted with at the moment

So you have to train it in the console?

Well, I have yet to actually manage to install Tensorflow. It's actually quite difficult.

For now, yes. I'm trying to figure out continuous training, but it's not very well documented

... Feed me code for console usage.

... and then feed me code for chat usage.

All you should need to do is use the appropriate methods.
import os
all you need to do is use the os interface to log apropriate commands.

In fact, this could be used to make a firstinstall.py that would install all dependincies of the Chatbot. 😄

import os
os.system("Command you want to execute")

https://docs.python.org/2/library/os.html#os.system

?? Still here? ❔

So what you do is you make it so that the python not only chats but also trains at the same time.

https://github.com/LunarWatcher/NN-chatbot#known-issues
Is there any way to change the dimensions of a save?


Amazon Bedrock Workshop - [Bug] Not able to run NVIDIA's NeMo workshop

Describe the bug
A clear and concise description of what the bug is. This could be anything from:
https://github.com/aws-samples/amazon-bedrock-workshop/blob/main/06_OpenSource_examples/03_NVIDIA_NeMo_Guardrails/01_NVIDIAs_NeMo_OpenSource_Guardrails_with_Amazon_Bedrock_LLM_Development.ipynb
breaking changes
This page refers "Bedrock boto3 setup notebook but it doesn't exist and first cell run breaks the workshop.
To Reproduce
Steps to reproduce the behavior (or some version of this):

Go to 'Setup'
Click on 'Bedrock boto3 setup notebook'
Scroll down to 'First cell' and 'Run'
See "ModuleNotFoundError: No module named 'utils'

Expected behavior
A clear and concise description of what you expected to happen.
Setup notebook Bedrock boto3 setup notebook
Desktop (please complete the following information):

OS: Windows 10
Browser Firefox
Version 15.11.0esr (64-bit)

! Additional context !

Sagemaker Studio Kernel used: Datascience 3.0
Instance used: ml.m5.large
commit link to the workshop if you're not using the latest: Latest-main

@rsgrewal-aws do you know who owns this lab?


[BUG] GetJsonObject does not normalize non-string output

Describe the bug
GetJsonObject on the CPU will first parse the JSON, and then when it goes to output the result it will convert the parsed data back to a JSON string. This results in the new string being normalized. We do not do any of this. Instead we just copy the character range back out. The following bugs can show up because of this.

Unnecessary white space is removed

{ "a" : "A" } becomes {"a":"A"} on the CPU, but { "a" : "A" } on the GPU

Quotes are normalized

{'a':'A"'} becomes {"a":"A\""} on the CPU, but stays as {'a':'A"'} on the GPU

Numbers are normalized

In the simplest case Spark strips unneeded trailing zeros for floating point numbers.
[100.0,200.000,351.980] on the CPU becomes [100.0,200.0,351.98], but on the GPU it is unchanged
For larger floating point numbers it can be converted to scientific notation, or have the notation normalized.
[12345678900000000000.0] becomes [1.23456789E19] on the CPU, but is unchanged on the GPU.
[1E308] becomes [1.0E308] on the CPU.
But for very large/small float numbers that would not fit in a double, they are turned into "Infinity"/"-Infinity"
[1.0E309,-1E309,1E5000] becomes ["Infinity","-Infinity","Infinity"]
But integer like numbers are not modified [12345678900000000000] just stays the same, even for numbers that are very, very large. i.e. "1" + ("0" * 400)

Unneeded escapes are removed

{"a":"B\'"} becomes {"a":"B'"}. Escaping the ' character is not needed here.
That said we don't need to worry about normalizing nulls, as they are always null and nothing else is allowed, or booleans because true and false are the only ones supported.

Hi @SurajAralihalli, as I confirmed with Chong, assign this issue to you.

This commit will solve items1, item2, item4.
For item3: Numbers are normalized
We need to fix

For floating point numbers I think the rule is the same as double to string in java, if so we can reuse ftos_converter in jni to have an almost bit to bit match with spark.


Estimate Laminar's runtime code size

As suggested in https://github.com/scala-js/scala-js/issues/3556, the source-map-explorer package can be used to estimate the effect of Laminar library code on the output bundle size. Due to dead code elimination optimization in Scala.js, actual numbers depend on user code, but an estimate based e.g. on laminar-examples will provide end users with some reassurance that this library is indeed minimal.

So with Scala 2.12.8, Scala.js 0.6.28, fullOptJS, but before gzipping:

Laminar: 29KB
Airstream: 34KB
Scala DOM Types & Scala DOM Builder: 6KB combined

Components implemented in Laminar are similarly lightweight. In my project I have ~70 UI-related files totaling ~2000 Scala LoC (w/o empty lines or comments) weigh ~50KB. Not all of them use Laminar, but the ones that do don't stand out in size. This is expected because Laminar usage is very straightforward: there is no code generation from macros. As your app grows, the components will grow your bundle size linearly, so it's good that this part is efficient in terms of size.
Overall I'm happy with those numbers. Laminar, all of its dependencies, and components written in it are a small portion of my total bundle size, which for example includes another ~500KB of various Scala and Scala.js library code (collections, scala.js runtime, etc.). But that part is not related to Laminar usage, just standard Scala.js tax for an app of this size.
Laminar:

Airstream:

Unrelatedly, one thing I really didn't like seeing in my app bundle was how much space upickle serializers take. Looks like it's 3+ KB per simple macroRW case class serializer, and that adds up really quickly, especially when you have sealed trait hierarchies of such case classes. But that's only my own problem, Laminar itself doesn't use or require upickle or any other third party libraries.

I'm using Circe for json atm, and it seems to be adding a lot as well (the derived codecs). I was thinking about switching to upickle, but it looks like it's not much better in this regard.

Interesting analysis and results. I'm using Circe as well. Umm....

Just noticed that a bit of examples code made its way into the bundle for some reason, even though it is not referenced anywhere in my project from which I got these stats. Maybe the App in there caused that, not sure. Anyway, moved it from main to test fixtures, so Laminar is 1.8KB slimmer now.


Fuzzy history search for zsh?

As what the title says,
Can this be done with zsh? I kind miss this feature like ctrlp.vim

I use https://github.com/junegunn/fzf#useful-examples and just typ fh at the command line.

Whoah, amazing. Hmm Thank you very much, you can close this issue if you like but this would be helpful plugin for prezto.
:+1:

That's useful, but it says TODO under Zsh.


want to execute multiple feature file through karate tags

HI Team,
I am implementing the karate framework in my project ,currently am facing on how to execute multiple feature file through karate tags
in gradle command
while passing the gradle command Tag var:  -Dkarate.options="--tags classpath:src/test/resources/features/blackduckScan.feature"
getting build failure issue please provide the correct command line

kindly ask these kinds of questions on stack overflow, in fact you will find answers like this: https://stackoverflow.com/search?q=[karate]+tags+command+line


Testing for SBT build

Fixes #273

It seems like the unit test failure here could be a flake?

@foxish it doesn't look like the kind of failure that would be a flake to me:
========================================================================
Running PySpark tests
========================================================================
No handlers could be found for logger "root"
Running PySpark tests. Output is in /home/jenkins/workspace/PR-spark-k8s-unit-tests-SBT-TESTING/python/unit-tests.log
Will test against the following Python executables: ['python']
Will test the following Python modules: ['pyspark-core', 'pyspark-ml', 'pyspark-mllib', 'pyspark-sql', 'pyspark-streaming']
/bin/python: No module named numpy

I think the python install on this box doesn't have numpy

The most recent test failed due to:
[info] KafkaSourceStressSuite:
[error] running /home/jenkins/workspace/PR-spark-k8s-unit-tests-SBT-TESTING/build/sbt -Phadoop-2.7 -Phive -Pyarn -Pmesos -Phive-thriftserver -Pkinesis-asl test ; received return code 143

so I think the Kafka tests might have caused a system OOM (143-128 = 15 which is SIGTERM).  @kimoonkim do you have any metrics on this box to determine if its physical memory was fully committed?

rerun unit tests SBT please

This is probably stale now. Closing in favor of #344.


Variable deposit slider

Features

Update Variable Deposit slider to use better implementation.

@EvanBarbour3

@srleach Just the slider amount on the top. I'd suggest having a  element or a , and have the class hidden-md hidden-lg, so that it will display on smaller devices, leaving a gap. Unless the library has a solution for it

Suggestion is good, but unfortunately not in the principals of modern design. We have media queries to be able to selectively apply rules to content. HTML should be clean, concise and self descriptive. I.e not containing dummy, hidden elements for spacing. That's what the CSS is for 👍

@EvanBarbour3
@media screen and (max-width: 767px) {
            .deposit-slider-container {
                margin-top: 36px;
            }
            .deposit-container {
                padding: 20px 0 50px 0;
            }
        }

👍

@srleach Can see it is working. @wnowicki


'now dev' breaks for django projects that use django channels

now dev does not work for Django projects that use django_channels. It throws a ModuleNotFoundError: No module named '_cffi_backend' error.
Error: https://pastebin.com/3gmbAff5
Steps to reproduce:

Clone the Django project: https://github.com/mo3rfan/now-test
Run now dev
Navigate to http://localhost:3000/admin

Thank you for sharing this issue! We'll be taking a look.
cc @styfle


Remove prefetch configuration

This PR removes serverEnableStoreDataPrefetch configuration, and set it to true by default.

Codecov Report

Merging #1625 into master will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1625      +/-   ##
============================================
+ Coverage     73.39%   73.41%   +0.02%
- Complexity     8530     8531       +1
============================================
  Files           605      605
  Lines         46842    46835       -7
  Branches       5922     5917       -5
============================================
+ Hits          34379    34386       +7
+ Misses        10698    10687      -11
+ Partials       1765     1762       -3

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/com/github/ambry/config/ServerConfig.java
100.00% <ø> (ø)
1.00 <0.00> (ø)

.../main/java/com/github/ambry/cloud/VcrRequests.java
100.00% <ø> (ø)
8.00 <0.00> (ø)

...rc/main/java/com/github/ambry/cloud/VcrServer.java
81.73% <ø> (ø)
9.00 <0.00> (ø)

...va/com/github/ambry/router/CloudRouterFactory.java
89.39% <ø> (ø)
6.00 <0.00> (ø)

...a/com/github/ambry/server/AmbryServerRequests.java
92.28% <ø> (ø)
79.00 <0.00> (ø)

.../github/ambry/messageformat/MessageFormatSend.java
89.47% <100.00%> (-0.30%)
19.00 <1.00> (-5.00)

.../java/com/github/ambry/protocol/AmbryRequests.java
85.81% <100.00%> (-0.03%)
85.00 <1.00> (ø)

...hub/ambry/protocol/CatchupStatusAdminResponse.java
75.00% <0.00%> (-6.25%)
6.00% <0.00%> (-1.00%)

.../main/java/com/github/ambry/router/DecryptJob.java
87.50% <0.00%> (-5.00%)
6.00% <0.00%> (-1.00%)

...java/com/github/ambry/network/SSLTransmission.java
70.15% <0.00%> (-0.93%)
75.00% <0.00%> (ø%)

... and 10 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 c5f2720...5b62456. Read the comment docs.


[WIP] Support SwiftPM

Issue: https://github.com/zhangao0086/DKImagePickerController/issues/652
Added support of Swift Package Manager.
Before merging, needs to update dependency url.

Guys, can you approve and merge? I would like to be able to use the lib with SPM

Thanks for your PR!!! Merged in, update the url later~

I guess the url has not been updated yet? When trying to add this package I currently get error
Package.swift does not exist

^ Same here


want a new color added

I used it because it was very convenient.
However, new colors are not supported.
I'm in trouble because I can't use it recently.
Please add new colors added in the 6/15 update.

Please can the new colours be added on the website, I went onto the project and I can only use the 10 colours when there's now 15.


CoreDNS with multicluster using gateway approach not resolving

I am using the multicluster approach from this commit, already merged on master branch. (docs here) I already have a CoreDNS as the dns for the cluster. So I tried to:

proxy the resolution of global entries from cluster's CoreDNS to the Istio one, which includes the plugin (would be the equivalent to the example of the docs using kube-dns)
proxy the resolution of global entries from cluster's CoreDNS to the plugin directly modifying the Istio's CoreDNS service
deploy the plugin in the same pod as cluster's CoreDNS and use the same configuration as Istio's CoreDNS, adding the necessary permissions for the plugin

None of these scenarios work. The plugin reads the service entries, but CoreDNS is not able to resolve by proxying the request to the proxy.
This is the cluster's CoreDNS config in the third scenario:
    .:53 {
        errors
        health
        kubernetes cluster.local <IP_ADDRESS>/16 <IP_ADDRESS>/16 {
          pods insecure
          upstream
          fallthrough in-addr.arpa ip6.arpa
        }
        proxy global <IP_ADDRESS>:8053 {
          protocol grpc insecure
        }
        prometheus :9153
        proxy . /etc/resolv.conf
        cache 30
    }

Am I missing anyting? Did anyone get this new multicluster approach working? :)

Thank you for the quick answate @rshriram :) This is the service entry I am using.
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: remote-endpoint-for-liveness
  namespace: default
spec:
  endpoints:
  - address: <AWS ELB IP>
     ports:
       http: 15443
  hosts:
  - liveness.testing.global
  location: MESH_INTERNAL
  ports:
  - name: http
    number: 80
    protocol: HTTP
  resolution: STATIC

I forgot to add spec.addresses on the ServiceEntry. Once I added that pods started resolving the DNS, and then through the sidecar proxy I could reach the service on the other cluster.
It works like a charm now :)


Issue 621 cwl schema

Fix for issue #621
This was due to the cwltool module having an open-ended dependency on the schema-salad module.  I made a incompatible change to schema-salad which broke cwltool which was pulling in the latest version.
cwltool now pins a specific version of schema salad, but this means toil needs to pin a new version of cwltool.
Also includes a small fix to the cwltoil main method.

Weird pickling error in tests:
http://jenkins.cgcloud.info/job/toil-pull-requests/721/testReport/src.toil.test.cwl.cwlTest/CWLTest/test_run_revsort/

@hannes-ucsc this seems to be fixed now, also pinned schema salad version so it won't start failing due to future updates.

Thanks, Peter! If at all possible, and for a small PR like this one, I'd like to see commits squashed, and rebased onto latest master instead of merged from master.


Created requirements file for audio and speech

Created requirements file for audio and speech for ASR,Audio effects,Diarization

How can modify the CLA as i have wrong entry in it.I will be solely individual work

how can i modify the CLA .It is not letting me modify it.

Wrong CLA closing PR


Update ChromeController to 0.3.11

Needed for Python 3.8

@fake-name Also see https://github.com/fake-name/xA-Scraper/pull/79


feat(providers): detect VERCEL and VERCEL_ENV

🔗 Linked issue

Resolves #54.
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

not applicable

Thanks!


Rewrite PowerShell script to be cross-platform

[x] Make the script work on linux and osx
[x] Harmonize with sh installer
[x] Update tests

Reason? Because powershell supports cross-platform, and this script has no obvious label that it cannot cross-platform (I planned to use this script on linux at the beginning).
As for the rate limit of the Github API,
I think that normal users are unlikely to trigger this limit.


TryFunction not working or present?

In the post https://github.com/Microsoft/AL/issues/270 I found a closed question about the TryFunction attribute.
Now the december release is available and I try the following code:
pageextension 50100 CustomerListExt extends "Customer List"
{
    trigger OnOpenPage();
    begin
        // Test the TryFunction
        if not TryFunctionTest then
          Message('TryFunction got the error')
        else
          Message('no Error');
    end;

    [TryFunction]
    local procedure TryFunctionTest(): Boolean;
    var Stm: InStream;
        Txt: Text;
    begin
        // this should raise an error :)
        Stm.ReadText(Txt, 500);
        exit(True);
    end;
}

The result is not handled as expected:

What would be the right way, to use the concept of Try-Functions?

It is on our backlog, but nothing has been worked on yet to replace it, given that its primary usage scenario was AL based .net exception handling.

My personal "primary usage scenario" is to run various TESTFIELDs on many  (customized) document lines at runtime. Failed lines are marked in red for faster recognition, restoring to standard as soon as the user has fixed the line data. The code called by the TryFunction is also used when trying to release the document --> throw the actual error message.
In order to use repeatable code with and without error message, the TryFunction is very useful.

Tried to use it today to catch an error on the new Json types. Would be nice if this worked.

@StanislawStempin what is the current status?
Will we get TryFunctions or not?
If yes - when can we expect the TryFunctions?

We are currently working on it. TryFunctions will ship in the next major release of Business Central in Fall 2018.

TryFunctions shipped with Business Central Fall 2018. Please let us know if you encounter scenarios in which it doesn't behave as it used to.

Will this also work for NAV2018, coding in Extension v2.0?
I am current on build: 0.12.28462 and have hard time to figure out the statement for adding [TryFynction] to my procedure. Is there any excamples to review?

Hi, am current on build 0.12.28462 and try to use the [TryFunction]. I have entrede the try procedure similar to Megel's example: [TryFunction] local procedure TryAsciiExportSalesHeader().
The issue happens when i call my procedure within a IF-THEN: if TryAsciiExportSalesHeader then begin. VSC markes it With "problems" With statement: Cannot implicitly convert type 'None' to 'Boolean' [AL0122]

@svwfr, this is not supported in NAV 2018

Now I have tried the [TryFunction] with the NAV2018 CU14 (build 27667), AL Language 0.13.82793  (Compiler version <IP_ADDRESS>59) and supricly no compilation error as I explored with AL Language 0.12.28462.  Is it supported for NAV2018 now?
Though, it does not work as intended as the orginial error is breaking the the code sequence and not my local code after call the TRY function. I did the same test within C/SIDE with success, as my local message was returned and not the orginial error-message.
The call I hoped to do a "try" for was:
Customer.CheckBlockedCustOnDoc(Customer,SalesHeader."Document Type",true,true);


Minor typo in line 15, page 364, Section <IP_ADDRESS>, version 2023-04-01

There is a superflous "q" at the end of line.

fixed


SyntaxError: Unexpected token '('

Hi i wanted to try out your module but i cant seem to get it up.
My index.js contains:
const { pterosocket } = require('pterosocket')

const origin = "domain"; // your panel's domain
const api_key = "key"; //the api-key generated
const server_no = "num"; //the number of the server

const socket = new pterosocket(origin, api_key, server_no);

socket.on("start", ()=>{
    console.log("Connected!")
    socket.writeCommand("say console connected!");
})

and i cant run it. when i use node index.js i get this:
PS E:\js-ptero-console-output> node index.js
E:\js-ptero-console-output\node_modules\pterosocket\src\pterosocket.js:31
    async #authLogin(token = ""){
                    ^

SyntaxError: Unexpected token '('
    at wrapSafe (internal/modules/cjs/loader.js:1053:16)
    at Module._compile (internal/modules/cjs/loader.js:1101:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (E:\VBA_PROJECTS\Git\andzejsp\js-ptero-console-output\node_modules\pterosocket\index.js:1:25)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
PS E:\js-ptero-console-output>

What am i doing wrong?

I'll look into it asap.

Ok, so I tested it again (checking if they changed the api) and it works fine. Please give more details about your setup: how you installed the class, system you are using, and so on.
try running this command, and let me know the result
node --version
Last node version is 18.7.0. If you have a very old version that could explain the problems you are having.

Hi, i have the last node version v18.7.0.

Ok, i think it was my fault. When i tested last time i had the older version of node, then i updated to the new one but i didnt close the VSCODE terminal so i was on the old version and it gave me the same error. Now everything seems to work. :) Sorry for wasting your time.

np :>


I had downloaded and just set up Sparrow... old version needed update in order to receive BTC from a crypto exchange...

Not a problem - more of a problem and the fix that I found solved the problem...
I downloaded and just set up Sparrow for the first time (using with a hardware wallet).  I did a test transfer of some BTC from a crypto exchange to my Sparrow wallet.  Waited for what seemed like a long time - over an hour, and did not see the BTC coming into Sparrow... There were some error messages in the log file, but I wasn't sure what they meant, tried to google them, but couldn't find the exact error messages... Found something that told me to toggle the switch in the lower right hand corner, that had been turned off... When I turned it ON, it started to connect to a Electrum server, and it didn't connect, but it told me that there was a new version of Sparrow available (I was using 1.5.6 and the new version is 1.6.2).  I downloaded the newer version, and when it fired up, it connected to the Electrum Server right away (didn't have to toggle the switch in the lower right hand corner), and it found the BTC from the crypto exchange, that I hadn't seen before.  So, not sure whatALL was the initial problem with the older version of Sparrow, but for me, downloading the new version seemed to fix the problem.

Thanks for the feedback. What probably happened was that your previous install had selected a public server that wasn't responding at the time. The new version switched to a new public server. The version update in the status bar is actually unrelated to the server comms.
Anyway, glad it's working.


Golang API: how to use engine.RenderWithClient in with Strict enabled

The Strict bool flag is public in the engine.Engine struct, but client *rest.Client is not.  The RenderWithClient func sets the client, but does not provide an opportunity (as far as I can see) to enable Strict.
Perhaps I am missing something?  Or can we change the struct to make the client reference public?
Thanks!

https://github.com/helm/helm/blob/5b42157335d6e52551d246f233dd66972d5fda09/pkg/engine/engine.go#L40
You should be able to instantiate an e := Engine{Strict: true, config: config} then call e.Render(chrt, values). That will enable the Strict flag.

Or can we change the struct to make the client reference public?

Can you clarify further what this would accomplish?

If the code is within the engine package, you can set config, but as a consumer of the package, I cannot:
cfg, _ := i.settings.RESTClientGetter().ToRESTConfig()
e := engine.Engine{
	Strict: true,
	config: cfg,
}

This gets me...
apps/tugboat-controller/pkg/helm/helm.go:113:3: cannot refer to unexported field 'config' in struct literal of type engine.Engine

Or am I overlooking a Go fundamental?

Ah yes. Good point.
Feel free to file a PR to help expose this parameter. I'd imagine the simplest would be a function called NewWithClient(config *rest.Config) to instantiate an Engine with a rest config.

Fantastic, thank you.  I will send off a PR later today or tomorrow.

PR is still ready for review.

PR is still ready for review.


Adapt to new version of Surelog

Signed-off-by: Kamil Rakoczy<EMAIL_ADDRESS>

Superseded by: https://github.com/chipsalliance/yosys-f4pga-plugins/pull/279. Closing.


Add a 2.2.2 devfile version and set https endpoint to Spring Boot stack

What does this PR do?:
Add a 2.2.2 devfile version and set https endpoint to Spring Boot stack.
Which issue(s) this PR fixes:

Fix outdated "schemaVersion" attribute
Fix "Application is not available" error when launch Spring Boot application using Dev Spaces 3.12.0 / Eclipse Che Next"

Note: It was necessary to truncate the endpoint name to handle the maximum endpoint name length limitation of 15 characters.
PR acceptance criteria:

[x] Contributing guide
Have you read the devfile registry contributing guide and followed its instructions?
[ ] Test automation
Does this repository's tests pass with your changes?
[x] Documentation
Does any documentation need to be updated with your changes?
[x] Check Tools Provider
Have you tested the changes with existing tools, i.e. Odo, Che, Console? (See devfile registry contributing guide on how to test changes)

How to test changes / Special notes to the reviewer:

/ok-to-test

/ok-to-test

FYI: "v4.13-images", "v4.13-registry-test" tests above had failed because of known chectl deployment issue https://github.com/eclipse-che/che/issues/22921


Remove outdated overview.rb files and clean up synth a bit

GAPIC stopped generating these overview.rb files, but synth isn't removing them from the repos. Removing them manually for now, but later we'll need to find a longer-term solution for how to remove files that GAPIC is no longer generating. Also did some cleanup in synth scripts, using newer synthtool features instead of implementing them directly in the script.

Unsubscribe
On Tuesday, September 11, 2018, Daniel Azuma<EMAIL_ADDRESS>wrote:

GAPIC stopped generating these overview.rb files, but synth isn't removing
them from the repos. Removing them manually for now, but later we'll need
to find a longer-term solution for how to remove files that GAPIC is no
longer generating. Also did some cleanup in synth scripts, using newer
synthtool features instead of implementing them directly in the script.
You can view, comment on, or merge this pull request online at:
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429
Commit Summary

Remove outdated overview.rb files and clean up synth a bit

File Changes

D google-cloud-asset/lib/google/cloud/asset/v1beta1/doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-0
(80)
M google-cloud-asset/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-1
(15)
D google-cloud-bigquery-data_transfer/lib/google/cloud/
bigquery/data_transfer/v1/doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-2
(105)
M google-cloud-bigquery-data_transfer/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-3
(15)
D google-cloud-container/lib/google/cloud/container/v1/doc/
overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-4
(92)
M google-cloud-container/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-5
(15)
D google-cloud-dataproc/lib/google/cloud/dataproc/v1/doc/
overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-6
(103)
M google-cloud-dataproc/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-7
(15)
D google-cloud-dialogflow/lib/google/cloud/dialogflow/v2/
doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-8
(81)
M google-cloud-dialogflow/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-9
(15)
D google-cloud-dlp/lib/google/cloud/dlp/v2/doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-10
(82)
M google-cloud-dlp/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-11
(15)
D google-cloud-kms/lib/google/cloud/kms/v1/doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-12
(81)
M google-cloud-kms/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-13
(32)
D google-cloud-language/lib/google/cloud/language/v1/doc/
overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-14
(94)
D google-cloud-language/lib/google/cloud/language/v1beta2/
doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-15
(94)
M google-cloud-language/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-16
(15)
D google-cloud-monitoring/lib/google/cloud/monitoring/v3/
doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-17
(104)
M google-cloud-monitoring/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-18
(31)
D google-cloud-os_login/lib/google/cloud/os_login/v1/doc/
overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-19
(80)
D google-cloud-os_login/lib/google/cloud/os_login/v1beta/
doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-20
(80)
M google-cloud-os_login/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-21
(31)
D google-cloud-redis/lib/google/cloud/redis/v1beta1/doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-22
(81)
M google-cloud-redis/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-23
(31)
D google-cloud-speech/lib/google/cloud/speech/v1/doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-24
(99)
D google-cloud-speech/lib/google/cloud/speech/v1p1beta1/
doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-25
(99)
M google-cloud-speech/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-26
(20)
D google-cloud-tasks/lib/google/cloud/tasks/v2beta2/doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-27
(80)
M google-cloud-tasks/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-28
(15)
D google-cloud-text_to_speech/lib/google/cloud/text_to_
speech/v1/doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-29
(81)
M google-cloud-text_to_speech/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-30
(16)
D google-cloud-video_intelligence/lib/google/cloud/
video_intelligence/v1/doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-31
(118)
D google-cloud-video_intelligence/lib/google/cloud/
video_intelligence/v1beta1/doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-32
(80)
D google-cloud-video_intelligence/lib/google/cloud/
video_intelligence/v1beta2/doc/overview.rb
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-33
(80)
M google-cloud-video_intelligence/synth.py
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429/files#diff-34
(16)

Patch Links:

https://github.com/GoogleCloudPlatform/google-
cloud-ruby/pull/2429.patch
https://github.com/GoogleCloudPlatform/google-
cloud-ruby/pull/2429.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-ruby/pull/2429, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AouGpHEBaeVjVmybF25sYbiIvYugkXr6ks5uaF_4gaJpZM4Wkenn
.


SSLContext when using aiohttp

Greetings,
I'm in the need of passing an SSLContext to the request. As far as I can see, aiohttp's ClientSession doesn't expect any ssl-related parameter and I see no other way than passing it to the actual request/post call.
Is there an alternative that doesn't require altering jsonrpcclient's code?
Thank you!

Merged :)


Add copy-n-paste line for adding incubator repo

It would be nice for the README to have a copy-and-paste line for doing helm repo add incubator....

Refers to #225


Interactive R Exception - RTVS

That's the first time a open de VS 2017. I've installed VS 2017 just with 3 of the resources: Data Science and Analytical Applications, Python development and Node.js development. I am using Windows 10 - 64 bits. I've reinstalled the VS 2017 so many times, and the error keeps occurring. Help, please?
Exception:
System.ArgumentException: O pacote não tem um ProvideToolWindowAttribute para a janela de ferramentas c2582843-58c9-4fe7-b4bd-864c17ad7ce2
Nome do parâmetro: toolWindowType
em Microsoft.VisualStudio.Shell.Package.ThrowNoMatchingToolWindowAttribute(Object toolWindowType, String paramName)
em Microsoft.VisualStudio.Shell.Package.GetToolWindowAttribute(Guid toolWindowType)
em Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id)
em System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
em Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()
ActivityLog.xml:
Construction of frame content failed. Frame identifier: ST:0:0:{c2582843-58c9-4fe7-b4bd-864c17ad7ce2} Frame caption: R Interativo - R 3.5.0 Exception details: System.ArgumentException: O pacote não tem um ProvideToolWindowAttribute para a janela de ferramentas c2582843-58c9-4fe7-b4bd-864c17ad7ce2 Nome do parâmetro: toolWindowType em Microsoft.VisualStudio.Shell.Package.ThrowNoMatchingToolWindowAttribute(Object toolWindowType, String paramName) em Microsoft.VisualStudio.Shell.Package.GetToolWindowAttribute(Guid toolWindowType) em Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id) em System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) em Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()
Sorry for my bad English, guys!
Danilo Abreu

I suspect RTVS may not yet be compatible with R 3.5, which changes a lot of the internals. Try it with 3.4.x.

I've already tried it on my other notebook, which has Windows 7 and R 3.4... got the same exception :(

Same as #4310

Could you locate and send us your privateregistry.bin which should be in
C:\Users\[USER_NAME]\AppData\Local\Microsoft\VisualStudio\15.0_??????
mikhaila AT microsoft
Thanks

Just letting all know we found the problem and we will try and get the fix into the nearest VS update.

Closing, expected in 15.7.3 and 15.8.3

15.7.3 is live


Foundation js produces "uncaught exception: Syntax error, unrecognized expression: after" on DELETE method

I am using Rails 3.1 + Devise,
I have a sign out link that uses DELETE (as specified in devise)
<%= link_to('Logout', destroy_user_session_path, {:method=>'delete', :class => "small round white button"} ) %>
After including  //= require foundation in my application.js, that link has stopped to work properly giving

the following js error:
Syntax error, unrecognized expression: after

and rails routing error:
No route matches [GET] "/users/sign_out"

I believe that jquery_ujs.js (also included in application.js) is responsible of "transforming" the request in a DELETE request, so I guess that foundation.js is not letting it make its work...

Sorry, this is only happening in an 'old' Firefox (3.6).
Using custom tag in my forms also raises that error when clicking on a combo-box
In Chrome 15 everything it's OK.

I'm seeing something similar to this on Chrome 16. Still debugging though.

See if this commit fixes it https://github.com/zurb/foundation/commit/3b879329369c1f3525ec282fb117f161ce2126f0

How do I build this or tell the zurb-foundation gem to include it?
On Fri, Jan 6, 2012 at 2:09 PM, Ajay Kumar G <
<EMAIL_ADDRESS>
wrote:

See if this commit fixes it
https://github.com/zurb/foundation/commit/3b879329369c1f3525ec282fb117f161ce2126f0

Reply to this email directly or view it on GitHub:
https://github.com/zurb/foundation-rails/issues/17#issuecomment-3389125

fork foundation-rails update app.js with the fix
Use forked foundation-rails gem in your application until a new release is made

I can confirm that the issue as been fix in the latest commit

Thank you Alex!

I still seem to be getting the error as of 79372c12f2. Can you share some more info about your setup @alexcp? At the moment I'm on 3.2.0 and just pulling vendor/assets/javascripts/foundation/app.js into my project with jquery_ujs is enough to trigger the problem. I'll try it out on a blank app to see if I can demonstrate it.

I was getting the "Syntax Error" when testing with ie6 - ie7, it was caused by a deprecated jQuery command. This problem is now fixed.


Update ChatUtil from core:invalid #2987

fixes #2987

Fixed by https://github.com/SpongePowered/Sponge/commit/ae3b757134cadfe8ac0802bff194ff527ea2e77d

Fixed by https://github.com/SpongePowered/Sponge/commit/ae3b757134cadfe8ac0802bff194ff527ea2e77d


Don't do printf format checks on OS/X

OS/X give spurious errors about the type not matching the format for our
own BIO_printf() function. Checking for this gets turned on by "-Wformat"
from "--strict-warnings". We override this in Travis for OS/X with
"-Wno-format".
[extended tests]
WIP until I see whether this approach works.

Note that there are no extended tests performed on MacOS X. And if osx is in loop, all the osx tests there are are performed.

Taken this out of WIP. Tests are still running on travis but all of the OS/X ones have passed (and all the others so far) - so this looks like a workable solution.

I dislike this change...  not so much as a Travis fix, but it doesn't feel like it's enough, as the warning will hit everyone who wants a warning free build (whatever way they do it), who will have to remember to do a -Wno-format when they configure.
Someone mentioned elsewhere that we could modify bio.h so __bio_h__attr__ keeps the empty definition for Xcode, and we'd be fine.  I would consider that a bug fix, and therefore perfectly legitimate for 1.1.1.

BTW, commit message is a little bit misleading, because warning is always issued, it's part of -Wall and we do compile with wall. Then second Travis osx build has -Werror, and only 3rd one --strict-warnings.

Just in case for reference, platforms in question are [customarily] identified by defined(__APPLE__) && defined(__MACH__). But one can consider defined(__APPLE__) sufficient. Second term is used to distinguish post-MacOS 9 systems, but we don't support anything prior MacOS X anyway...

See #5303 for an alternative approach.

#5302 has been merged, so this can get closed, yeah?

I agree that this is not enough, but a separate PR to add -Wno-format into Configure for our strict-warnings makes sense.

I general -Wno-format?  No thank you, what would be the point of that, unless we see the format checking disagree with BIO_printf everywhere, but when that happens, we can remove the __bio_h__attr__ business entirely...

Yes, I see that you came up with a better solution and merged it already.  Thanks.


Issue where some portrait images are being converted to landscape when loaded.

May be related to how they were converted to portrait (originally a landscape image), or not really portrait images - perhaps being auto-rotated/orientated when viewed by certain software.

Current image orientation is correct based on raw image, but embedded EXIF metadata is being ignored.


[WIP] Allow setting macros at the command line

Waiting on #305 merged. The error type for impl TryFrom<&str> for Vec<Token> should be changed to LexError when #306 is merged done. Needs to remove the unwrap() in main (-D 'a=`' will cause a crash) done.

Ok, so it looks like gcc and clang allow -D to be an arbitrary string that's only lexed if the macro appears in the program? I don't know if I like that, it makes it really hard to fit into the existing code.
$ run_gcc -D'a=`'
a
<command-line>:0:3: error: stray ‘`’ in program
<stdin>:1:1: note: in expansion of macro ‘a’

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@5f7edbc). Click here to learn what that means.
The diff coverage is 33.33%.

@@            Coverage Diff            @@
##             master     #307   +/-   ##
=========================================
  Coverage          ?   79.22%
=========================================
  Files             ?       26
  Lines             ?     6911
  Branches          ?        0
=========================================
  Hits              ?     5475
  Misses            ?     1436
  Partials          ?        0

Impacted Files
Coverage Δ

src/lex/mod.rs
87.47% <ø> (ø)

src/main.rs
18.12% <0%> (ø)

tests/utils/mod.rs
84.93% <100%> (ø)

src/data/lex.rs
68.45% <100%> (ø)

src/lex/cpp.rs
81.48% <46.42%> (ø)

src/lib.rs
56.2% <50%> (ø)

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 5f7edbc...0015331. Read the comment docs.

r? @pythondude325


Resize Texture2D DirectX 11 c++

Hello,
Is it possible to resize a texture2D obtained from AcquireNextFrame function ?
I would like to decrease the resolution of the image using DirectX11.
Thanks

The easiest way to do the resize is to just create a new texture that is the size you want with the option to bind as both a shader resource view and as a render target. Then render to that new texture a full-screen quad (using SpriteBatch) of the original image. This leverages the GPU to do the resizing.
Alternatively, if you need a CPU solution the DirectXTex library supports a number of resizing options.

Hello Walbourn,
Thank you for your help.
Can you please show me some code ? I need the pixel buffer resized after applying SpriteBatch resizing.
Here is my code :
if (gRealTexture == nullptr) {     D3D11_TEXTURE2D_DESC description; 			texture2D->GetDesc(&description); 			description.BindFlags = 0; 			description.CPUAccessFlags = D3D11_CPU_ACCESS_READ | D3D11_CPU_ACCESS_WRITE; 			description.Usage = D3D11_USAGE_STAGING; 			description.MiscFlags = 0; 			hr = gDevice->CreateTexture2D(&description, NULL, &gRealTexture); 			if (FAILED(hr)) { 				if (gRealTexture) { 					gRealTexture->Release(); 					gRealTexture = nullptr; 				} 				return NULL; 			} 		}
this is the texture I have from AcquireNextFrame I can map it and get pixel buffer data. (1920x1080x4)
Now before get the pixel buffer I would like to resize the realTexture.
Here is the texture I created (1280x720)
if (gScaledTexture == nullptr) { 			D3D11_TEXTURE2D_DESC description; 			description.BindFlags = D3D11_BIND_RENDER_TARGET | D3D11_BIND_SHADER_RESOURCE; 			description.CPUAccessFlags = 0; 			description.Usage = D3D11_USAGE_DEFAULT; 			description.MiscFlags = 0; 			description.Width = 1280; 			description.Height = 720; 			hr = gDevice->CreateTexture2D(&description, NULL, &gScaledTexture); 			if (FAILED(hr)) { 				if (gRealTexture) { 					gRealTexture->Release(); 					gRealTexture = nullptr; 				} 				return NULL; 			} 		}
how to use SpriteBatch to copy the RealTexture into the ScaledTexture ?
Thank you I'm totally stuck...

SpriteBatch can only render to textures that are something other than USAGE_STAGING. If you need to read back the texture from the GPU to the CPU, then you'd use CopyResource to get it from a USAGE_DEFAULT to a USAGE_STAGING texture. Note that CopyResource will not do resizing, so you need to make sure you've already done the resize on the GPU before copying it.

The texture with USAGE_STAGING is the texture I get from AcquireNextFrame. I can copy resource on a texture with USAGE_DEFAULT with the same resolution. But how to reduce resolution after that ?
Can you please show me a sample code with SpriteBatch  and D3D11Texture2D ?
Thank you very much for your help.

Oh okk so I should check with DirectXTex.
Please can you tell me which function in particular should I use for my case ?
Thanks

I don't understand your usage case in detail here, but you can find docs on the DirectXTex Resize function here.

For those who have the same question...
I followed the first advice of @walbourn and created a simple app to do this: https://github.com/kmaki565/ResizeGfx
Also integrated it to a screen recorder solution: https://github.com/sskodje/ScreenRecorderLib/pull/136


Table headers are difficult to read on Linux using a dark theme

The header text is a light grey on white background, making it very difficult to read. Screenshot taken in Linux (Kubuntu 20.10).

Added a check, so Windows will have a specified header style sheet and other platforms will have default headers.


Add description to Fab button

Short description of the problem:
No description on fab button.
What behavior are you expecting?
New inputs in fabbutton to specify a description.
The idea would be to have the same as messenger (facebook) when click on +.
Because here Fabs can only contains logo which need to be really explicit (social etc)
With a little text content close to each button we could have a description
Steps to reproduce:

Ionic blank page
Insert fab

Which Ionic Version? 1.x or 2.x
2

Hello, thanks for using Ionic! I am going to close this issue as a duplicate of https://github.com/driftyco/ionic/issues/8425.


Enable Following Users

Sub-tasks:

Expand the User schema in server/mongodb/models/User.js to include following and follower string arrays.

Create a follow and unfollow function in server/mongodb/actions/User.js that accepts two parameters, the first being the current user id, and the second being the user to follow / unfollow.

Create API routes in pages/api for following and unfollowing a user by calling the previously made functions.

For more info:

Task Two: Create a follow user function and an unfollow user function. This first parameter is the current user (id), and the second parameter is the user (id) to follow or unfollow. To accomplish this, find the current user and update their profile using Mongoose. Here is some relevant information: https://stackoverflow.com/questions/41501939/how-to-update-a-array-value-in-mongoose


Kitty missing from terminfo database

Related to #218 , but for https://github.com/kovidgoyal/kitty

I'll see if I can find time to get to this.

Still an issue. Micro depends on this project's terminfo database, and refuses to start up in kitty without the presence of its terminfo.

Sorry, this sort of fell thru the cracks.  I hope to work on this stuff (along with other larger changes) this weekend.

No worries! Hope your weekend is productive :)
On Fri, Sep 21, 2018 at 12:16 AM, gdamore<EMAIL_ADDRESS>wrote:

Sorry, this sort of fell thru the cracks. I hope to work on this stuff (along with other larger changes) this weekend.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

So looking at kitty it looks like $TERM is xterm-kitty.  Can you confirm that?

Yep, can confirm.
On Sun, Sep 23, 2018 at 11:00 PM, gdamore<EMAIL_ADDRESS>wrote:

So looking at kitty it looks like $TERM is xterm-kitty. Can you confirm that?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm going to add this to the terminfo database, but it won't be precompiled.   I think kitty is still somewhat niche to be prebuilt into the binaries.  But at least this will let folks make forward progress.

I'm going to add this to the terminfo database, but it won't be precompiled. I think kitty is still somewhat niche to be prebuilt into the binaries. But at least this will let folks make forward progress.

Thanks for having added it! Now that it has been included, I think it is useful to write down the procedure to make the terminfo entry available, following the instruction in README.adoc. You must download the file containing the terminfo escape codes for kitty from tcell's repository, gunzip it and save as ~/.tcelldb:
curl -L 'https://github.com/gdamore/tcell/raw/061f3f89b01ffb73e0b6a6812de029714fda9e81/terminfo/database/98/98d2a8a0.gz' | gunzip > $HOME/.tcelldb

Kitty is very popular among people who use TUI-based applications and want a performant modern terminal that supports truecolor and does GPU rendering. I just had to trace the issue back from a project that uses a library that uses tcell to here, just to make it run. This is silly. It's not 2018 anymore.
On a related note, why fail to run when you can't find the entry? Surely you can match on xterm* and use that. Complain, but degrade gracefully.

2018 isn't that far in the past. :-). There was this whole pandemic thing in the middle too.
As to degrading, we could possibly add a special case for xterm-* that treats all xterm "variants" specially.  This would very much be a special case usable probably only by kitty users.  Maybe better to just pre-compile kitty definitions into the database.
As to degrading generally, most curses style applications look for $TERM in terminfo, and if they don't find one, they do the same thing -- just abort, usually with a message like "I know nothing about your terminal."  You can't generally assume a terminal is compatible with xterm or any other (although some lazy application developers do just that when they hard code xterm sequences in their program, and then their programs don't work properly on true vt100 or hpterm or some other terminals that don't implement the precise same escape codes.)
So for kitty in particular, it is actually built in by default these days.  It is possible to build tcell in such a way as to only include a much more limited set of terminal types, or even to include specific named ones, but that requires building with a different tag and it takes some effort to achieve.  I don't know of anyone who's actually done this, but if you were building for an embedded web app or something where you only needed a single terminal type, you could do this.

So for kitty in particular, it is actually built in by default these days.

I ran into this problem yesterday. I built an application that uses tview, that in turn uses tcell from github master with go build. I'm unfamiliar with the intricacies of go's build process so it's theoretically possible this used an old version of tcell somehow, but it didn't work for me.
NB: same problem with alacritty, which sets $TERM=alacritty. Also very popular.

2018 isn't that far in the past. :-). There was this whole pandemic thing in the middle too.

It wasn't meant as disparagement of your work ethic, that would be absurd on my part. Sorry it came across that way. My point was that several modern truecolor/GPU terminals like kitty and alacritty are now mature and popular among people who are likely to run TUI applications in a way they weren't in 2018. I am puzzled why shipping an additional 1k in assets is a problem.

As to degrading, we could possibly add a special case for xterm-* that treats all xterm "variants" specially. This would very much be a special case usable probably only by kitty users. Maybe better to just pre-compile kitty definitions into the database.

Yes, shipping whatever you need for kitty and alacritty is a good idea. They really are very, very popular.
Handing xterm-* and rxvt-* by gracefully degrading to xterm and rxvt if you can't strictly match them is the right thing to do. No, it would not only be usable by kitty users. Both xterm and rxvt have a great many forks/patchsets with all manner of enhancements for true color support, unicode and so on and setting $TERM to, say, xterm-truecolor, xterm-24bit, rxvt-unicode-truecolor and so on is very, very common. This common practice is why kitty uses xterm-kitty. Since you've introduced a second source of truth besides system terminfo/termcap, are shipping it and can't reasonably keep up with all variants, degrading gracefully and usefully ought to be done to ensure client code runs on as many terminals as possible.

As to degrading generally, most curses style applications look for $TERM in terminfo, and if they don't find one, they do the same thing -- just abort, usually with a message like "I know nothing about your terminal."

That's obviously different. If the user is using a terminal without the appropriate terminfo entry, that's on them (and whoever ships a terminal without terminfo) and they know to fix it and have multiple options to do it. What you're currently doing is requiring users to somehow guess that the application they're running uses your library and that your library ships with its own terminal capabilities db instead of using system terminfo and that there's a wiki page on github somewhere that describes how to install some more entries that may or may not cover their terminal of choice or they have to manually set $TERM when launching the application. You see how this is a bad user experience, right?
This is a fantastic library. Lots of people have used to create all sorts of interesting things, whether directly or by using a downstream library like tview. The way you currently handle $TERM is producing a bad user experience. I understand reading system terminfo is a lot of work. Relatively low-effort workarounds are, however, within reach. Gracefully degrading, as discussed, is one. Even a better error message like "Using internal terminfo database, can't find a match for your terminal. Try setting $TERM to something common or try updating the internal database thusly:..." would be an improvement.

It's an app that uses tview. Looking at tview, it does:
import "github.com/gdamore/tcell/v2"

Since that's a 404, I'm not sure how that works at all. Though if it does, presumably it would use v2.

Scratch that. I'm still not sure how the above import can work, but looking at the .mod file in the application itself, it does indeed use an old version of both tview and tcell. So most of the issues in this ticket are presumably resolved by using master or latest-release. Sorry for the confusion. I still maintain that error message ought to be better though ;)

I'll look into the error message.


v3.5: Archive Workflows button missing from UI

Pre-requisites

[X] I have double-checked my configuration
[X] I have tested with the :latest image tag (i.e. quay.io/argoproj/workflow-controller:latest) and can confirm the issue still exists on :latest. If not, I have explained why, in detail, in my description below.
[X] I have searched existing issues and could not find a match for this bug
[X] I'd like to contribute the fix myself (see contributing guide)

What happened? What did you expect to happen?
After we upgrade our argo to v3.5.8 , we are not seeing archive button on the UI.

Version(s)
v3.5.8
Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
removed by agilgur5: this contained a Helm configuration with a lot of defaults and not a Workflow

Logs from the workflow controller
kubectl logs -n argo deploy/workflow-controller | grep ${workflow}

no error in logs

Logs from in your workflow's wait container
kubectl logs -n argo -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded

no error in logs

Duplicate of https://github.com/argoproj/argo-workflows/discussions/12545, https://github.com/argoproj/argo-workflows/discussions/13126#discussioncomment-9643345, https://github.com/argoproj/argo-workflows/issues/13356, etc
Please also see the note in the "Upgrading Guide" of the docs, as added in #13371


kong:2.3.0-alpine failed to load go plugin

I just tried to upgrade kong from kong:2.2.1-alpine to very latest 2.3.0, but it failed to load go plugin, which works great in 2.2.1.
the go plugin dir is defined as  -e "KONG_GO_PLUGINS_DIR=/home/kong/go-plugins".
Is there any chance this is a bug in 2.3.0 ?
thanks

thanks for the report!
much of this code has changed in 2.3, because we want to support multiple languages, but Kong should detect when you're using the Golang style configuration and adapt accordingly.  We also added visibility via log messages on the whole process.   can you check the logs to see where it failed?

thanks for the report!
much of this code has changed in 2.3, because we want to support multiple languages, but Kong should detect when you're using the Golang style configuration and adapt accordingly.  We also added visibility via log messages on the whole process.   can you check the logs to see where it failed?

kong keeps restarting, with below logs(the golang plugin name here is "iag")
2021/01/14 03:27:54 [error] 1#0: init_by_lua error: /usr/local/share/lua/5.1/kong/init.lua:489: error loading plugin schemas: on plugin 'iag': iag plugin is enabled but not installed;
no plugin found
stack traceback:
[C]: in function 'assert'
/usr/local/share/lua/5.1/kong/init.lua:489: in function 'init'
init_by_lua:3: in main chunk

kong keeps restarting, with below logs(the golang plugin name here is "iag")
2021/01/14 03:27:54 [error] 1#0: init_by_lua error: /usr/local/share/lua/5.1/kong/init.lua:489: error loading plugin schemas: on plugin 'iag': iag plugin is enabled but not installed;
no plugin found
stack traceback:
[C]: in function 'assert'
/usr/local/share/lua/5.1/kong/init.lua:489: in function 'init'
init_by_lua:3: in main chunk

seems like the go-pluginserver doesn't load your plugin.  have you compiled both the plugin and pluginserver recently?  i usually do both any time i have to do either.  it's the easiest way to be sure they're using the exact same version of the compiler and libraries.

seems like the go-pluginserver doesn't load your plugin.  have you compiled both the plugin and pluginserver recently?  i usually do both any time i have to do either.  it's the easiest way to be sure they're using the exact same version of the compiler and libraries.

Yes. I've compiled both the plugin and pluginserver with same go version.
The only difference is that the built-in plugin server with kong is built with go 1.13, but I rebuilt both the plugin and plugin-server with go 1.14(I did the same thing with kong 2.2.1)

Yes. I've compiled both the plugin and pluginserver with same go version.
The only difference is that the built-in plugin server with kong is built with go 1.13, but I rebuilt both the plugin and plugin-server with go 1.14(I did the same thing with kong 2.2.1)

I can't reproduce your issue.  It still seems like Kong isn't running the go-pluginserver to ask for your plugin.
Your setup should work as expected, unless something else is wrong, like the exact path to the pluginserver (the default is /usr/loca/bin) or something like that.   Also note that Kong 2.3.0 allows for a different kind of configuration, but detects when you're using the old one and adapts accordingly.  Under the new style, you can now compile your plugin as a standalone executable and no longer use the go-pluginserver.  The documentation explaining all this will be posted soon.

I can't reproduce your issue.  It still seems like Kong isn't running the go-pluginserver to ask for your plugin.
Your setup should work as expected, unless something else is wrong, like the exact path to the pluginserver (the default is /usr/loca/bin) or something like that.   Also note that Kong 2.3.0 allows for a different kind of configuration, but detects when you're using the old one and adapts accordingly.  Under the new style, you can now compile your plugin as a standalone executable and no longer use the go-pluginserver.  The documentation explaining all this will be posted soon.

I can't reproduce your issue. It still seems like Kong isn't running the go-pluginserver to ask for your plugin.
Your setup should work as expected, unless something else is wrong, like the exact path to the pluginserver (the default is /usr/loca/bin) or something like that. Also note that Kong 2.3.0 allows for a different kind of configuration, but detects when you're using the old one and adapts accordingly. Under the new style, you can now compile your plugin as a standalone executable and no longer use the go-pluginserver. The documentation explaining all this will be posted soon.

I confirm  the embedded standalone process works (alpine-2.3.1)
Thanks

I can't reproduce your issue. It still seems like Kong isn't running the go-pluginserver to ask for your plugin.
Your setup should work as expected, unless something else is wrong, like the exact path to the pluginserver (the default is /usr/loca/bin) or something like that. Also note that Kong 2.3.0 allows for a different kind of configuration, but detects when you're using the old one and adapts accordingly. Under the new style, you can now compile your plugin as a standalone executable and no longer use the go-pluginserver. The documentation explaining all this will be posted soon.

I confirm  the embedded standalone process works (alpine-2.3.1)
Thanks

Great news, thank for the letting us know.
Just to confirm, you were running kong and the go-pluginserver in an alpine container?  maybe you compiled both under a non-alpine system?  If so, that could've been the problem: dynamically-linked Go programs are not so self-contained as other "normal" Go programs.  In particular, Alpine Linux uses musl instead of glibc,  That's one of the (many) reasons for the new standalone plugin option: they become "normal" Go executables, with all the portability Go developers expect.

Great news, thank for the letting us know.
Just to confirm, you were running kong and the go-pluginserver in an alpine container?  maybe you compiled both under a non-alpine system?  If so, that could've been the problem: dynamically-linked Go programs are not so self-contained as other "normal" Go programs.  In particular, Alpine Linux uses musl instead of glibc,  That's one of the (many) reasons for the new standalone plugin option: they become "normal" Go executables, with all the portability Go developers expect.

Great news, thank for the letting us know.
Just to confirm, you were running kong and the go-pluginserver in an alpine container? maybe you compiled both under a non-alpine system? If so, that could've been the problem: dynamically-linked Go programs are not so self-contained as other "normal" Go programs. In particular, Alpine Linux uses musl instead of glibc, That's one of the (many) reasons for the new standalone plugin option: they become "normal" Go executables, with all the portability Go developers expect.

Yes, in 2.2.x, both the plugin .so and kong/go-pluginserver is a alpine version

Great news, thank for the letting us know.
Just to confirm, you were running kong and the go-pluginserver in an alpine container? maybe you compiled both under a non-alpine system? If so, that could've been the problem: dynamically-linked Go programs are not so self-contained as other "normal" Go programs. In particular, Alpine Linux uses musl instead of glibc, That's one of the (many) reasons for the new standalone plugin option: they become "normal" Go executables, with all the portability Go developers expect.

Yes, in 2.2.x, both the plugin .so and kong/go-pluginserver is a alpine version


sqlalchemy dependency should be pinned to < 1.4

First of all, thank you for the useful library! Let's get to business:
Using python 3.8.5, when installing birdseye==0.8.4, all succeeds. Given the following test class:
class Foo(object):
    @eye
    def bar(self, baz):
        x = range(5)
        print(baz)

When running this, because the sqlalchemy dependency is not pinned to be below <1.4, an exception is thrown spawning from db.py:194 with:
'Engine' object has no attribute 'exec_driver_sql'
When debugging the problem, I did:
In [1]: import sqlalchemy

In [2]: sqlalchemy.__version__
Out[2]: '1.4.2'

I know SQLAlchemy just released a big update with v1.4.0, so I tried:
❯❯❯ pyenv exec pip install 'sqlalchemy<1.4'
Collecting sqlalchemy<1.4
  Downloading SQLAlchemy-1.3.23-cp38-cp38-macosx_10_14_x86_64.whl (1.2 MB)
     |████████████████████████████████| 1.2 MB 4.9 MB/s
Installing collected packages: sqlalchemy
  Attempting uninstall: sqlalchemy
    Found existing installation: SQLAlchemy 1.4.2
    Uninstalling SQLAlchemy-1.4.2:
      Successfully uninstalled SQLAlchemy-1.4.2
Successfully installed sqlalchemy-1.3.23

and that fixed the problem.

Thanks! It's already a top priority for me to fix birdseye so that it works with sqlalchemy 1.4.

No problem, just wanted to report it here in case someone else runs into and it confuses them. You can close this issue if you want.


move to uwsgi

Is your feature request related to a problem? Please describe.
flask runner are not the recommended solution for production
Describe the solution you'd like
move to uwsgi, see here:
https://github.com/hellt/nginx-uwsgi-flask-alpine-docker/blob/master/python3/Dockerfile
Additional context
Hopefully this make ql container more performing

See also Flask deployment options over here:

https://flask.palletsprojects.com/en/1.1.x/deploying/#deployment

Notice what the docs say about using the built-in server for prod workloads

Flask’s built-in server is not suitable for production

oh dear :-)

you get the exact same message everytime quantumleap starts...

In the end we decided to use Gunicorn instead of uWSGI. Since we now have implemented the necessary Gunicorn plumbing (#357), I'm closing this issue.


docs: Improve Quickstart Guide

Without these changes, the Quickstart Guide fails to work.
I followed the Quickstart Guide as amended here, and now it all works. Fixes #2331.

Excuse the delay. I've merged your pull request as 0614a59b0f35344987062133cfab67520e88e3b8.
Cheers,
Digitalcraftsman


json log file with an array of json log - parse

Thank you so much for creating such a wonderful tool. I have json log files with an array of json log in them - for ex:
[  {   "time": "23/Oct/2023:21:11:39 +0000",   "source_ip": "xxx.yy.zz.",   "source_port": 52170,   "destination_ip": "xx.yy.zz.pp",   "destination_port": 443,   "protocol": "https",   "http_method": "GET",   "host": "host.com",   "request": "GET / HTTP/1.1",   "directory": "/",   "user_agent": "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36",   "accept_language": "en",   "x-forwarded-for": "-",   "referrer": "-",   "cookie": "-",   "request_time": "0.074",   "response_code": 302,   "http_bytes_in": 230,   "http_bytes_out": 839,  }, { ... }, { ... }, { ... } ]
How can I parse such a file? is there a way to specifyc log format for an array of json? Or I will need to manually spit out json line by line and pass to goaccess for generating report? Thank you for your help.

I tried this way
find . -name "*.json.gz" -exec gunzip -c {} \; | jq -c '.[]' | docker run --interactive --rm --env LANG=$LANG allinurl/goaccess --date-spec=hr --real-os --agent-list --output html --log-format=--log-format='{"http_method": "%m", "request": "%U", "protocol": "%H", "response_code": "%s","referrer":  "%R", "user_agent": "%u", "request_time": "%T"}' --date-format=%d/%b/%Y --time-format=%T - > report.html
This throws error:
[SETTING UP STORAGE -] {0} @ {0/s}
==1== GoAccess - version 1.7.2 - Apr  1 2023 00:44:06
==1== Config file: /etc/goaccess/goaccess.conf
==1== https://goaccess.io -<EMAIL_ADDRESS>==1== Released under the MIT License.
==1==
==1== FILE: -
==1== Parsed 10 lines producing the following errors:
==1==
==1== Token '+0000' doesn't match specifier '%m'
==1== Token '+0000' doesn't match specifier '%m'
==1== Token '+0000' doesn't match specifier '%m'
==1== Token '+0000' doesn't match specifier '%m'
==1== Token '+0000' doesn't match specifier '%m'
==1== Token '+0000' doesn't match specifier '%m'
==1== Token '+0000' doesn't match specifier '%m'
==1== Token '+0000' doesn't match specifier '%m'
==1== Token 'tRNHFlSkFyZzJoaGN2WVh6OVpXb0lnRWgvbHF0Sk54b2ZZMnQ4bWc5TER1UVhEcFgwU09DbW9tL2Jka0Mzb1JVUE5SditKVjdhS0VGaG5DODV6ZVdxcVMvWlZqcjJoZnFiT1c2TDFaaU9CNnVuRHc4eFRMZTZOWWNXWGxVT0ZkMGg0Zm54MzUyTjNoVWs2aEloOC9pVVkrUDc4QXhSTTRlTjRPYTdHdz09; _ga=GA1.2.925074475.1683821571; OptanonConsent=isGpcEnabled=0&datestamp=Mon+Oct+23+2023+15%3A59%3A20+GMT-0500+(Central+Daylight+Time)&version=202304.1.0&isIABGlobal=false&hosts=&consentId=66d79815-5717-4889-bb8f-cb19388de7da&interactionCount=1&landingPath=NotLandingPage&groups=C0001%3A1%2CC0002%3A1%2CC0003%3A1%2CC0004%3A1&AwaitingReconsent=false&geolocation=US%3BNE&browserGpcFlag=0; _ga_YGG4CDX0K1=GS1.1.16980947<IP_ADDRESS>80947<IP_ADDRESS>; AWSALB=FmgAA5D5n7cWCl5ANeBQmwMQ7L4/kMJCLHnB/ofh/m7nBLdln+1f1Onq024Q0Le9z3cpmYbe0XhrYQ0/bdGug1QlTsh30I8yMMaLFkcfVg2csIRaE/K2z2gMQc9F; AWSALBCORS=FmgAA5D5n7cWCl5ANeBQmwMQ7L4/kMJCLHnB/ofh/m7nBLdln+1f1Onq024Q0Le9z3cpmYbe0XhrYQ0/bdGug1QlTsh30I8yMMaLFkcfVg2csIRaE/K2z2gMQc9F' doesn't match specifier '%m'
==1== Token '+0000' doesn't match specifier '%m'
==1==
==1== Format Errors - Verify your log/date/time format
any pointers here pls? It seem date time format is invalid?

I was able to resolve with some workarounds -

First I need to convert JSON formatted log file to file with json payload in single lines vs multiline.
Then I used below log format to analyse the log-
--log-format='{"time": "%d:%t %^", "source_ip": "%h", "source_port": "%e", "destination_ip": "%h", "destination_port": "%e", "protocol": "%e", "http_method": "%m", "request": "%U", "response_code": "%s","referrer":  "%R", "user_agent": "%u", "request_time": "%T"}' --date-format=%d/%b/%Y --time-format=%T

Great to hear it's up and running! By the way, just a heads up, GoAccess doesn't support JSON multiline entries. If you run into any more snags, don't hesitate to drop a few lines from your log here, and I'll give it a peek. For now, let's consider this one closed


Validation message are now text/plain

Validation messages so far have been of type Content-Type: application/json, resembling something like this:
$ http post api.mydomain.com/hello
HTTP/1.1 400 Bad Request
connection: close
content-length: 59
content-type: text/plain
date: Thu, 08 Sep 2022 07:48:54 GMT
server: envoy

{
	"message": "Request body has an error: value is required but missing"
}

Now it looks like this:
$ http post api.mydomain.com/hello
HTTP/1.1 400 Bad Request
connection: close
content-length: 59
content-type: text/plain
date: Thu, 08 Sep 2022 07:48:54 GMT
server: envoy

request body has an error: value is required but missing |

Which even broke the more detailed error message:
$ http post api.mydomain.com/hello namee="abdallah"
HTTP/1.1 400 Bad Request
connection: close
content-length: 295
content-type: text/plain
date: Thu, 08 Sep 2022 07:47:47 GMT
server: envoy

request body has an error: doesn't match the schema: Error at "/name": property "name" is missing
Schema:
  {
    "properties": {
      "name": {
        "type": "string"
      }
    },
    "required": [
      "name"
    ],
    "type": "object"
  }

Value:
  {
    "namee": "abdallah"
  }
 |  |

and for the other use case this
# curl -v -X POST $(kusk ip)/validated   -H "Content-Type: application/json" | jq
*   Trying <IP_ADDRESS>:80...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 80 (#0)
> POST /validated HTTP/1.1
> Host: <IP_ADDRESS>
> User-Agent: curl/7.81.0
> Accept: */*
> Content-Type: application/json
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 400 Bad Request
< content-type: applictaion/json
< content-length: 71
< date: Mon, 12 Sep 2022 15:07:33 GMT
< server: envoy
< connection: close
<
{ [71 bytes data]
100    71  100    71    0     0  14101      0 --:--:-- --:--:-- --:--:-- 17750
* Closing connection 0
{
  "error": "request body has an error: value is required but missing | "
}

@jasmingacic do you think we can have another look at this please? Validation is still off with it.


Backup containers [feature request]

I dig the dockerui project...
Can you make a feature to somehow make backups/snapshots of running and idle containers?

Right now the general idea is that dockerui supports things in the docker API and does not add more on top of it.  Things like this would have to be added to the Docker API before dockerui can support these types of feature requests.

@crosbymichael :+1: But I think if I'm understanding the question correctly, this functionality already exists with the commit button. You can commit a container to a new image. I don't think the UI has export functionality yet but you should be able to take a snapshot.

@crosbymichael Ah okay. I am very new to to Docker and know nothing of Docker API. I figured it would be possible since it was a docker commandline option. But I guess my request can be seen as a "user story" :) Thanks for responding!

Like @kevana said, if you are talking a out commit/export or load/save then yes, that could be something to support because they already exist in the docker API

@thomasfrivold Hope you've been discovering Docker :)
Care to give more details about this new feature?


Fix highlighting for multiline type annotation

This fork add coloration to multiline type annotations. Changing

to

This PR was superseded by #159 and should be closed.


Add support for a horizontal rule in Markdown

When converting .md files to .html, add support for a horizontal rule in Markdown. The Markdown --- should get converted to an <hr> tag.

Closed by https://github.com/kliu57/go-go-web/commit/121a46142250562bb368b4d552d1ceeda0567bf8


grpc c++ addMetadata doesn't supports colon character in key name

I'm working on a Linux C++ service implementing distributed tracing with Jaeger and need to propagate the request id in my gRPC calls.
Jaeger uses the header key "guid:x-request-id" for that purpose, the problem is that the colon character is considered invalid.
const std::string GUID_X_REQUEST_ID = "guid:x-request-id";
context.AddMetadata(GUID_X_REQUEST_ID, xRequestId);
followers-srv-web    | E0509 14:15:18.650934960      28 call.cc:935]                validate_metadata: {"created":"@1525875318.650921365","description":"Illegal header key","file":"src/core/lib/surface/validate_metadata.cc","file_line":43,"offset":4,"raw_bytes":"67 75 69 64 3a 78 2d 72 65 71 75 65 73 74 2d 69 64 'guid:x-request-id'"} followers-srv-web    | E0509 14:15:18.651030842      28 channel_cc.cc:131]          assertion failed: GRPC_CALL_OK == grpc_call_start_batch(call->call(), cops, nops, ops, nullptr)
Am I missing something? Is there some way to encode the character or validate_metadata.cc should be updated?
Thanks

You could maybe change the key to something that doesn't have a colon. You have full control over what key and value to use.

Well, I can set the name I like, that doesn't means it will work with Jaeger, as that key was defined by them.
Also HTTP/2 now allows the use of colon in pseudo headers so this would be a bug.
Here is the RFC https://http2.github.io/http2-spec/#PseudoHeaderFields

HTTP/2 uses special pseudo-header fields beginning with ':' character

Those are pseudo-header fields which need the first character to be ':'


API: Formula: Typo in formula 31034, cost item 1: 30133 instead of 31033

Environment
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.107 Safari/537.36
URL
https://penguin-stats.io/PenguinStats/api/v2/formula
Steps to reproduce

Download JSON file at URL.
Search for recipe for item 31034 -> first cost item id is 30133.
Try https://penguin-stats.io/PenguinStats/api/v2/items/30133 -> 404 not found

What is expected?
All cost items exist.
What is actually happening?
Item can not be found.

Probably a typo. I think the correct id should be 31033.

Additionally, there is a formula for an item 31035 that can not be found:
https://penguin-stats.io/PenguinStats/api/v2/items/31035

@AlvISsReimu ping on this?

Fixed in https://github.com/penguin-statistics/backend-next/issues/50

Can confirm this is fixed in https://github.com/penguin-statistics/backend-next/issues/50. Closing.


User configurable content filter and removal of response length limit

Running up against the "Oops, your response got filtered..." error message quite a lot today, on the latest Insiders build and extension versions, and have reviewed open issues from over the course of the last two weeks reporting variations of the same. My specific issue appears to be response filtered because of response length, which has already been reported several times as a bug. So I've put some thought into feature requests instead which would address these issues.
What I would like is more transparency into and control over the content filter, by enabling inspection of the default content filter rules under Copilot settings on GitHub, the ability to configure and selectively disable groups of them for my account as a whole, and ideally, override those settings at the system, user, and project level within VSCode.
It doesn't really make sense to lump response length limits, which are a technical limitation, with content filters, which are intended to be for some degree of user safety from the system generating known dangerous code or offensive content. It would make more sense to fully differentiate between response length limits and content filters, in settings as well as the interface. The current error message isn't meaningful because it's too overloaded.
Ultimately, as Copilot is a paid service and as part of the private beta for Copilot Chat we're meant to be stress-testing it, I would prefer no limit to response length at all within the token limits of GPT-4, and in such extreme cases, some sort of predictive analysis of a prompt included as part of its context, where Copilot Chat responds as unable to answer followed by a meaningful explanation of why the response length is expected to be too long, rather than answering in the affirmative only to be cut off.
A middle-of-the-road solution is also possible, if Copilot Chat supported a sequence of responses in messages for a single prompt, to give users the experience of no arbitrary limit to response length while keeping each logical block of the response to a manageable size for the sake of token limits.
In summary, I would like:

predictive analysis of prompts for including expected response size as part of context
error messages replaced by Copilot Chat clearly explaining why it is unable to answer
response length limit distinguished from content filter rules
inspection and configuration of content filter rules, at account, system, user, and project levels
ultimate removal of response length limit, which could be implemented on top of predictive prompt analysis to generate a sequence of responses per prompt

Thanks for creating this issue! We figured it's covering the same as another one we already have: https://github.com/microsoft/vscode-copilot-release/issues/2625. Please refer to that one for updates and discussions. Feel free to open a new issue if you think this is a different problem.


feat: login/logout support

[x] Authentication
[x] Authorization
[x] Session reloading (auth token expired)
[x] Tests

:tada: This PR is included in version 1.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


paperspace deployment

Using paperspace automation deployment script

@anjleeg-gcai can you make sure that your changes to have BERT on Pod 4 are included in here?
@rahult-graphcore can you put a link to which YAML deployment file was used to generate this release?

@rahult-graphcore can you put a link to which YAML deployment file was used to generate this release?

https://github.com/graphcore/paperspace-automation/blob/update-PT-deployment-config/releases/3.0.0/deploy-pytorch-paperspace.yaml


feat(appeals-service): add env variable ALLOW_TESTING_OVERRIDES

Add ALLOW_TESTING_OVERRIDES to allow custom testing code to be used in non prod environment

Used the precommit hooks for automatic readme generation but the subsequent checkov process gave failures on existing code, so ended up committing with no-verify, not sure what the current process is regarding this?


[tool_crash] FileSystemException: Cannot open file, OS Error: No such file or directory, errno = 2

Command
flutter test test/main_test.dart

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot open file, OS Error: No such file or directory, errno = 2
#0      _File.open.<anonymous closure> (dart:io/file_impl.dart:356:9)
#1      _rootRunUnary (dart:async/zone.dart:1434:47)
#2      _CustomZone.runUnary (dart:async/zone.dart:1335:19)
<asynchronous suspension>
#3      ForwardingFile.writeAsBytes (package:file/src/forwarding/forwarding_file.dart:112:12)
<asynchronous suspension>
#4      ErrorHandlingFile.writeAsBytes.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:208:24)
<asynchronous suspension>
#5      _run (package:flutter_tools/src/base/error_handling_io.dart:567:12)
<asynchronous suspension>
#6      writeBundle.<anonymous closure> (package:flutter_tools/src/bundle_builder.dart:164:9)
<asynchronous suspension>
#7      Future.wait.<anonymous closure> (dart:async/future.dart:521:21)
<asynchronous suspension>
#8      writeBundle (package:flutter_tools/src/bundle_builder.dart:153:3)
<asynchronous suspension>
#9      TestCommand._buildTestAsset (package:flutter_tools/src/commands/test.dart:483:7)
<asynchronous suspension>
#10     TestCommand.runCommand (package:flutter_tools/src/commands/test.dart:324:7)
<asynchronous suspension>
#11     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1183:27)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#13     CommandRunner.runCommand (package:args/command_runner.dart:209:13)

[✓] Flutter (Channel stable, 3.0.5, on macOS 12.6.3 21G419 darwin-x64, locale en)
    • Flutter version 3.0.5 at /Users/runner/work/1/a/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (8 months ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/runner/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • ANDROID_HOME = /Users/runner/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/runner/Library/Android/sdk
    • Java binary at: /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/8.0.362-9/x64/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b09)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode_14.2.app/Contents/Developer
    • CocoaPods version 1.12.0

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

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.6.3 21G419 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 110.0.5481.177

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

Flutter Application Metadata
Type: malformed
Version: 0.0.1
Material: false
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: null
Creation framework version: null
Plugins
appsflyer_sdk-6.8.2
camera-0.9.7+1
camera_web-0.2.1+6
connectivity_plus-2.2.2
connectivity_plus_linux-1.3.1
connectivity_plus_macos-1.2.6
connectivity_plus_web-1.2.5
connectivity_plus_windows-1.2.2
src
device_info-2.0.3
device_info_plus-4.0.0
device_info_plus_linux-2.1.1
device_info_plus_macos-2.2.3
device_info_plus_web-2.1.0
device_info_plus_windows-2.1.1
file_picker
firebase_analytics-10.1.0
firebase_analytics_web-0.5.1+8
firebase_core-2.4.1
firebase_core_web-2.2.2
firebase_crashlytics-3.0.9
firebase_remote_config-3.0.9
firebase_remote_config_web-1.1.18
flutter_image_compress-1.1.0
flutter_inappwebview-5.7.2+3
flutter_plugin_android_lifecycle-2.0.9
flutter_secure_storage-5.0.2
flutter_secure_storage_linux-1.1.3
flutter_secure_storage_macos-1.1.2
flutter_secure_storage_web-1.1.1
flutter_secure_storage_windows-1.1.3
fluttertoast-8.0.9
image_cropper-1.5.1
image_picker-0.8.6+1
image_picker_android-0.8.6+1
image_picker_for_web-2.1.12
image_picker_ios-0.8.6+9
image_picker_web-2.1.1
mixpanel_flutter-1.5.0
native_widgets
package_info_plus-1.4.2
package_info_plus_linux-1.0.5
package_info_plus_macos-1.3.0
package_info_plus_web-1.0.6
package_info_plus_windows-1.0.5
path_provider-2.0.9
path_provider_android-2.0.24
path_provider_ios-2.0.11
path_provider_linux-2.1.10
path_provider_macos-2.0.7
path_provider_windows-2.0.7
pdf_render-1.1.0
pdfx-2.3.0
permission_handler-10.2.0
permission_handler_android-10.2.0
permission_handler_apple-9.0.7
permission_handler_windows-0.1.2
restart_app-1.1.0
sentry_flutter-6.20.1
shared_preferences-2.0.15
shared_preferences_android-2.0.17
shared_preferences_ios-2.1.1
shared_preferences_linux-2.1.5
shared_preferences_macos-2.0.5
shared_preferences_web-2.0.6
shared_preferences_windows-2.1.5
sms_autofill-2.3.0
sqflite-2.0.3+1
url_launcher-6.1.6
url_launcher_android-6.0.25
url_launcher_ios-6.0.18
url_launcher_linux-3.0.4
url_launcher_macos-3.0.4
url_launcher_web-2.0.11
url_launcher_windows-3.0.5
video_player-2.3.0
video_player_android-2.4.2
video_player_avfoundation-2.3.9
video_player_web-2.0.15
wallet_ui_native_plugin
web_import_js_library
webview_flutter-2.8.0
webview_flutter_android-2.10.4
webview_flutter_wkwebview-2.9.5

Closing this as a duplicate of https://github.com/flutter/flutter/issues/96167.
Kindly subscribe to the issue linked above for updates.
Thank you


Permuting variables

Types of changes

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

Motivation and Context / Related issue

One of the biggest sources of poor experimental result is running optimization tests
on a single objective function.
The worst and most classical case is when the optimum is at zero and experimenters did not carefully translate.
A simple solution consists in translating the objective function.
However, for real-world objective functions, we can not translate.
What we can reasonably do, maybe, is to symmetrize parametrization:
if there is a variable which is a power between 10 MW and 20 MW, we replace x by 30-x ==> same domain, same geometry of the objective function.
For diversity, we can do it with probability 50% for each variable.
This PR is here for that.
How Has This Been Tested (if it applies)

Checklist

[x] The documentation is up-to-date with the changes I made.
[x] I have read the CONTRIBUTING document and completed the CLA (see CLA).
[x] All tests passed, and additional code has been covered with new tests.

We accept p.Array(shape=(10,)), but not p.Instrumentation(p.Array(shape=(10,)))
This just means that I'm not an instrumentation wizard --- I should.