VB.NET Example

Hello,
can you show me a little VB.net example? I was trying to include your crashreporter, but have some errors.
Thanks!

Are you using the binaries from NuGet or the raw code?
What is the error you're receiving?

Hello,
can you show me a little VB.net example? I was trying to include your crashreporter, but have some errors.
Thanks!

I seem to have gotten CrashReporter.Net to work on VB.Net, see Code Example:
Hope it helps!
Imports System.Threading, CrashReporterDotNET
Public Class Form1
    ''' <summary>
    ''' Main entry point of the Program.
    ''' </summary>
    ''' <param name="sender"></param>
    ''' <param name="e"></param>
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        'Listen to Application Crashes and show CrashReporter.Net if one occurrs.
        AddHandler Application.ThreadException, AddressOf ApplicationThreadException
        AddHandler AppDomain.CurrentDomain.UnhandledException, AddressOf CurrentDomainOnUnhandledException
    End Sub

    ''' <summary>
    ''' Show CrashReporter.Net for unhandled exceptions.
    ''' </summary>
    ''' <param name="sender"></param>
    ''' <param name="unhandledExceptionEventArgs"></param>
    Private Shared Sub CurrentDomainOnUnhandledException(sender As Object, unhandledExceptionEventArgs As UnhandledExceptionEventArgs)
        SendReport(DirectCast(unhandledExceptionEventArgs.ExceptionObject, Exception))
        Environment.[Exit](0)
    End Sub

    ''' <summary>
    ''' Show CrashReporter.Net for Application Thread Exceptions.
    ''' </summary>
    ''' <param name="sender"></param>
    ''' <param name="e"></param>
    Private Shared Sub ApplicationThreadException(sender As Object, e As ThreadExceptionEventArgs)
        SendReport(e.Exception)
    End Sub

    ''' <summary>
    ''' Main Sub that calls CrashReporter.Net to send an error report
    ''' Replace<EMAIL_ADDRESS>with your or another Email Address.
    ''' You can hide or show the screenshot Tab by setting ShowScreenshotTab to either True or False.
    ''' If you have a https://drdump.com account, you can set your Application GUID according to your Dr.Dump Application, if not remove the .DrDumpSettings section.
    ''' </summary>
    ''' <param name="exception"></param>
    Public Shared Sub SendReport(exception As Exception)
        Dim reportCrash = New<EMAIL_ADDRESS>With {
        .ShowScreenshotTab = True,
        .DoctorDumpSettings = New DoctorDumpSettings With {
            .ApplicationID = New Guid("00000000-0000-0000-0000-000000000000")
            }
        }
        reportCrash.Send(exception)
    End Sub

    ''' <summary>
    ''' Your average Button or Code that is crashing. In this case it is a Button throwing an exception.
    ''' </summary>
    ''' <param name="sender"></param>
    ''' <param name="e"></param>
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Throw New ApplicationException("This is an error, as well as a Test for CrashReporter.Net")
    End Sub
End Class


Why should it be treated as follows function?

def preprocess_input(x, v2=True):
# scale the raw pixel intensities to the range [0, 1]
x = x.astype('float32')
x = x / 255.0
if v2:
x = x - 0.5
x = x * 2.0
return x
Thank you very much for your work, Looking forward to your reply

What is the purpose of the above processing？


Case insensitive search on username and email

Skygear-server stores username and email with case preserved. It appears that skygear-server perform case sensitive search on username and email for auth and user discovery.
There is an offline discussion about this and we want to support case preserved username and email while having case insensitive search on these two fields.

@rickmak might want to take a look at citext module which stores the field with case preserved but compare case insensitively. This also works nicely with index and unique constraint.
If there is a collation for case insensitive comparison, we can use that instead, but such collation doesn’t seem to exist.


Initialization failing

I'm currently testing combo of<EMAIL_ADDRESS>and<EMAIL_ADDRESS>It looks like neither works as I expect it to work. Maybe I'm doing something wrong. Here are the simplest POC:
Initializing services
import { initialize as initializeMonacoServices } from 'vscode/services';

await initializeMonacoServices({});

This is the result in browser console:

Alternatively I can use following code to initialize standalone services:
import { StandaloneServices } from 'vscode/services';

StandaloneServices.initialize({});

This works without errors (as it have been working in previous versions of @codingame/monaco-vscode-api, but not sure how it now play with initializing the extensions below.
Initializing extensions
import { initialize as initializeVscodeExtensions } from 'vscode/extensions';

await initializeVscodeExtensions();

initializeVscodeExtensions always returns promise that never fulfills. I can see  that the code in https://github.com/CodinGame/monaco-vscode-api/blob/main/demo/src/setup.ts seems to work for this repo demo but I have no idea why simplest imports wouldn't work now.

Managed to solve this by doing the following:
import { initialize as initializeMonacoServices } from 'vscode/services';
import getLanguagesServiceOverride from 'vscode/service-override/languages';

await initializeMonacoServices({});
await initializeVscodeExtensions();

I don't know why, but providing at least one service override solves both the issues. The service intialization is performed without any issues and initialization of extensions returns resolved promise when initialized successfully.

Yeah sorry updated the code

Right, so should we reopen this issue to track it?

A fix was merged, is there still an issue?

No, no more issue, I overlooked the commit.

I've tried 1.81.5 (via<EMAIL_ADDRESS>and i stepped into the codes of its initServices, found that initializeVscodeExtensions still never resolves.


move bzdlabs to full production

This PR updates settings related to api sender bzdlabs to promote them to full production
If you are suggesting a fix for a currently exploitable issue, please disclose the issue to the prime-reportstream team directly outside of GitHub instead of filing a PR, so we may immediately patch the affected systems before a disclosure. See SECURITY.md/Reporting a Vulnerability for more information.
Test Steps:

run ./prime test
run ./gradlew testSmoke
run test file through ./prime data command to check output

Changes

Include a comprehensive list of changes in this PR
(For web UI changes) Include screenshots/video of changes

Checklist
Testing

[x ] Tested locally?
[x ] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[ ] (For Changes to /frontend-react/...) Ran npm run lint:write?
[ ] Added tests?

Process

[ ] Are there licensing issues with any new dependencies introduced?
[ ] Includes a summary of what a code reviewer should test/verify?
[ ] Updated the release notes?
[ ] Database changes are submitted as a separate PR?
[ ] DevOps team has been notified if PR requires ops support?

Linked Issues

Fixes #6640

Specific Security-related subjects a reviewer should pay specific attention to

Does this PR introduce new endpoints?

new endpoint A
new endpoint B

Does this PR include changes in authentication and/or authorization of existing endpoints?
Does this change introduce new dependencies that need vetting?
Does this change require changes to our infrastructure?
Does logging contain sensitive data?
Does this PR include or remove any sensitive information itself?

If you answered 'yes' to any of the questions above, conduct a detailed Review that addresses at least:

What are the potential security threats and mitigations? Please list the STRIDE threats and how they are mitigated

Spoofing (faking authenticity)

Threat T, which could be achieved by A, is mitigated by M

Tampering (influence or sabotage the integrity of information, data, or system)
Repudiation (the ability to dispute the origin or originator of an action)
Information disclosure (data made available to entities who should not have it)
Denial of service (make a resource unavailable)
Elevation of Privilege (reduce restrictions that apply or gain privileges one should not have)

Have you ensured logging does not contain sensitive data?
Have you received any additional approvals needed for this change?

BZDlabs-test-file.csv


(Comparison tool 0.3) As a stakeholder interested in the CEJST score, I want to see an advanced report comparing different versions of the CEJST score to other indices, so that I can understand where different versions of the CEJST score generate results that are very different than another indices.

Description
This is essentially version 0.3 of the comparison tool. (Version 0.2 is #137.) We want to see some basic advanced comparing multiple versions of the CEJST score to multiple known indices. #137 only provides basic analytics.
These other indices have been peer-reviewed and validated through years of academic research; comparing different versions of the CEJST score to them provides a quick way to flag potential outliers in the CEJST score where it may need to be tweaked to provide a more reliable designation of overburdened and underserved communities.
(more details to be added)

This can probably be closed now that we have multiple tickets made to flesh this comparison tool out.


Add logs to non-revertible set

We don't presently support logs that are emitted as part of TX setup or teardown.
To do so, we first need https://github.com/AztecProtocol/aztec-packages/issues/5017 which adds side effect counters to logs.

The sequencer needs to be able to be able to identify contracts deployed in the non-revertible phase of a tx and deploy them still if the app-logic reverts.


Add more Server side SDKs Snippets

Introduction
Awesome Appwrite Snippets is a collection of commonly used Appwrite APIs. It increases your speed of development by eliminating most of the boilerplate code associated with making using Appwrite in your Project.
Your task is to implement add snippets support for more server-side APIs.  You can look at the existing snippets in the coding language (for now JS and Dart) you prefer to see how it works.
Task Summary

[ ] Fork & clone this repository
[ ] create feat-x-api-y-lang-snippet branch where x is the REST-API you are implementing and y is the name of the language
[ ] Write code in the folder /snippets/client where client  is the folder for which snippets you are adding (dart for adding snippets for dart language). If the folder doesn't exist for the language you are creating, create a new folder.
[ ] Name should be in the form of X.code-snippets where X is the REST API (example: Account) in lowercase. Add the snippets. To add snippets refer to the contributing.md guide.
[ ] Test your snippets locally.
[ ] If everything works perfectly, it's time to update the readme section. Look at the readme to see the structure of how it's done. Applicable only for adding snippets for new APIs.
[ ] Make a PR and just wait for the maintainer to review it😎.

If you need any help, reach out to #Maniac_Fighter#3747 on Appwrite Discord server or comment on this issue😉.
  Since there are a lot of snippets to work on, this issue can be assigned to multiple people. You can add snippets in your favorite language🤯. When requesting to be assigned, please mention which language would you like to use.
Assignees table
✅ = Done - This language has already been finished
⚒ = In progress - Someone is already working on this language
❌ = Unassigned yet - This language can be assigned to you
Server Side

REST APIs
Dart
Node.js
Swift
Deno
Python
Ruby
PHP
Kotlin

Client
✅
✅
❌
❌
@pranavajith
❌
❌
✅

Account
✅
❌
❌
❌
@pranavajith
❌
❌
✅

Database
❌
❌
❌
❌
❌
❌
❌
❌

Storage
❌
❌
❌
❌
❌
❌
❌
❌

Teams
❌
❌
❌
❌
❌
❌
❌
✅

Functions
❌
❌
❌
❌
❌
❌
❌
❌

Localizations
❌
❌
❌
❌
❌
❌
❌
❌

Avatars
❌
❌
❌
❌
❌
❌
❌
❌

Health
❌
❌
❌
❌
❌
❌
✅
✅

Users
❌
❌
❌
❌
❌
❌
❌
❌

Happy Contributing ✨

@2002Bishwajeet Hey there 👋 I would love to work on PHP snippets 😇

Hey @Meldiron 👋, Assigned to you. All the best😄

Hey @2002Bishwajeet, wouldn't the dart snippets be similar (or same) compared to the ones in flutter?

Hey @2002Bishwajeet, wouldn't the dart snippets be similar (or same) compared to the ones in flutter?

I agree that some APIs are common with the Flutter Client SDK and Dart Server SDK but there are many more services and APIs are present which isn't present inside the Client SDK so its best to have a separate category for it

Okay so should I firstly make a single PR covering all the cases of Dart Server ones which are overlapping?

Okay so should I firstly make a single PR covering all the cases of Dart Server ones which are overlapping?

Yep, you should follow the similar standard. However, I would recommend you make snippets for a single service in a PR. Lemme know which one you wanna work on and I will assign it to you🙂

Sure I have a raised a PR covering the account API snippet in Dart.

Happy to help out with Kotlin serverside API snippets :)

Hey @2002Bishwajeet
I'd like to take upon this issue.

Hey @pranavajith, assigned to you. Lemme know on which language you wanna work on?

@2002Bishwajeet
Python or node... depending on which is more applicable.

I'm down to learning new languages as well... Would really like to use this opportunity to level up and gain a new skill.

How about you work on making snippets for Client and Account for now in Python? If everything looks good you can work on more snippets as well once you make the PR😉

Sure.. seems great. So I'll unassign myself from the server side issue and you could assign me to the client side?

I meant working on the client and account snippets of the server SDKs only.

Sounds great.. is it cool if I reach out to you on discord, in case of any doubts? Might be easier to communicate there.

yea sure

Looks fine

Hey @pranavajith, lemme know if you are still working on this issue?


Rework swift-format invocation and data processing.

This effectively rewrites the core loop of the linter, enabling new
functionality and performing some micro-optimizations.
The use of child_process.exec is replaced with child_process.spawn.
This allows for the removal of the intermediatary shell process, which
is a micro-optimization in how the process executes.  This removal of
the shell allows this action to now be used on Windows as well as exec
would run the command in a subshell (i.e. %COMSPEC% /c ...) which
prevented us from reading the error messages.
The processing of the lint issue is changed to a regular expression.
The primary motivation for this is to handle the fact that using : as
a delimiter is problematic for Windows where : is the drive separator
in a path string, which is part of the tool's output.  We structure the
processing using the regular expression allowing us to ensure that we
have all the fields and properly handle paths on Windows.  By
destructuring the capture groups we also get a more readable reporting
format string.
We now invoke swift-format via the swift driver rather than directly
invoking the tool.  This is more in line with how the swift driver is
intended to be used to invoke custom subcommands.
Finally, we now report the number of issues detected since we must
manually track whether there was any output on stderr.  The incremental
cost is negligible and allows for a better reporting of the failure.
Fixes: #7, #8

BTW, there is a run at https://github.com/compnerd/swift-win32/runs/2595557383 on Windows that verifies that this actually works well with the changes.


Updated to ES Modules to avoid SystemJS, but errors occur

Problem Description:
I'm trying to migrate my microfrontend setup from SystemJS to ES Modules in a single-spa project. However, after making the change, I encounter errors related to using libraryTarget: 'module' in my Webpack configuration.
One of the main errors I get is:
auto-public-path.js:15 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'meta')
    at __webpack_require__ (bootstrap:22:1)
    at startup:6:1
    at startup:7:1
    at webpackUniversalModuleDefinition (universalModuleDefinition:7:1)
    at universalModuleDefinition:10:2

To fix the initial issue of depending on SystemJS, I modified my Webpack configuration to use ES Modules:
const config = merge(defaultConfig, {
  output: {
    libraryTarget: 'module',
  },
});

This change was necessary because the default libraryTarget was 'system'. However, the error persists, and it seems to be related to compatibility with ES Modules.
My index.js:
Here is the index.js file used to load the microfrontends:
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Root Config</title>
    <meta name="importmap-type" use-injector />

    <meta
      http-equiv="Content-Security-Policy"
      content="default-src 'self' https: localhost:*; script-src 'unsafe-inline' 'unsafe-eval' https: localhost:*; connect-src https: localhost:* ws://localhost:*; style-src 'unsafe-inline' https: http://localhost:9001; object-src 'none';"
    />

    <script type="injector-importmap">
      {
        "imports": {
          "single-spa"<EMAIL_ADDRESS>          "react"<EMAIL_ADDRESS>          "react-dom"<EMAIL_ADDRESS>          "react-router-dom"<EMAIL_ADDRESS>        }
      }
    </script>
    <script<EMAIL_ADDRESS>  </head>
  <body>
    <noscript> You need to enable JavaScript to run this app. </noscript>

    <script>
      window.importMapInjector.initPromise.then(() => {
        import('@app/root-config')
        import('@app/header')
        import('@app/side-menu')
        import('@app/auth')
      });
    </script>
  </body>
</html>

My package.json:
Below are the main dependencies used in the project:
"dependencies": {
  "single-spa": "^6.0.3",
  "single-spa-react": "^4.3.1",
  "single-spa-layout": "^3.0.0",
  "react": "^18.3.1",
  "react-dom": "^18.3.1",
  ...
},
"devDependencies": {
  "webpack": "^5.89.0",
  "webpack-cli": "^4.10.0",
  "webpack-dev-server": "^4.0.0",
  "webpack-merge": "^5.8.0",
  "webpack-config-single-spa-react-ts": "^4.0.0",
  ...
}

Question:
Am I missing any configuration to make ES Modules work properly with single-spa? We are not using SystemJS, but some errors seem related to configurations or dependencies that try to use SystemJS.

@joeldenning  can you help me?

Latest versions of webpack-config-single-spa output to ESM rather than SystemJS format, by default, so there is no need to use webpack-merge to change the output format. See related https://github.com/single-spa/create-single-spa/issues/433


telemetry in vscode

It seems that this feature in not offical yet. Requires vscode 1.75 engine

the command wrapping is somewhat wrong


error: fail to connect tag

Hi,
I seem to be having an issue. I am trying to connect an empty tag with my app, however upon writing to the tag, i get the error: 'fail to connect tag'. This issue only persists with an empty tag. If I write to the tag using a third party app however, the tag gets written. Furthermore, when I then proceed to write using my app, the write is successful.
Upon debugging, I have found that the reason for this error is because, an empty tag contains the techtype: "android.nfc.tech.NdefFormatable". And as a result, the request technology function is not appllicable.
A tag which is not empty however, has the techType "android.nfc.tech.Ndef". This is available with the request techonology function.
I am fairly new to programming in general and would love to get some help on this issue. Is there something I could do to make the tag writable when it is empty with the techtype: "android.nfc.tech.NdefFormatable".
Thanks in advance

So, I managed to find a fix for this.
When I tried to write to an empty tag, I would receive an error. The fix for this was to format the tag first. And so I added a function which did this. Here is the code for formatting for anyone who may need it:
///// ------ Function for formatting tag ------ \\
export const formatTag = (test) => {
test(true)
// (erase tag)
NfcManager.unregisterTagEvent()
.then(() => NfcManager.registerTagEvent())
.then(() => {
NfcManager.requestNdefWrite(null, {format:true})
.then(() => {
console.log('format completed')
test(false)
})})
.catch(err => {
console.log('arrrrir', err);
});
}
This seemed to fix it. Once I scan the tag with this function, I can then write to the tag successfully. Not sure what the issue was but glad its fixed.

can you explain about it a bit more please?
i get an error from your catch "Not even registered"
how and where do you implement this code? and those "test(true)" i guess are for your code use?
thanks

So, this was the code for android. You are right, the test(true) is for my code use to open up a dialogue box.
The original code, to write to a tag is:
///// --- Function for writing tag ANDROID --- \\
export const writeTag = (type, textToWrite, wifiPswrd, test, setName, setPassword) => {
    test(true)
      NfcManager.unregisterTagEvent()
      .then(() => NfcManager.registerTagEvent())
      .then(() => {
        let bytes;
        type == 0 ? bytes = buildUrlPayload(textToWrite)
        : bytes = buildWifiPayload(textToWrite, wifiPswrd)

        NfcManager.requestNdefWrite(bytes).then(() => {
            test(false) , alert('Success! Your tag is now linked'),
        setName ? setName('') : null, setPassword ? setPassword('') : null})
        .catch(err => {
            console.log('arrrrir', err);
            test(false)
            alert('error: ZAP-D_102', err)
          });

      })
      .catch(err => {
        console.log('erro', err);
        test(false)
      });
  }

///// ------------------------------------- \\\
To explain the code a little bit for you, if the type === 0, then I want to write a URL to the tag, else I want to write WiFi details to the tag. This works when the tag is not empty, however when the tag is empty, I receive an error. The code below allows the tag to be formatted or something, and then, the above code wont receive an error.
///// ------ Function for formatting tag ------ \\
export const formatTag = (test) => {
test(true)
// First request (erase tag)
NfcManager.unregisterTagEvent()
.then(() => NfcManager.registerTagEvent())
.then(() => {
NfcManager.requestNdefWrite(null, {format:true})
.then(() => {
alert('format completed')
test(false)
}).catch((err) => {
alert('error: ZAP-D_101', err)
test(false)
})
})
   .catch(err => {
       console.log('arrrrir', err);
       test(false)
     });

}
///// -----------------       ----------------- \\\
Im not sure why you are receiving this error. Im sorry if this doesn't help, as I said, I am fairly new myself and haven't seemed to fully wrap my head around this code. Hopefully someone can jump in and share ther thoughts

Also, this is where the function is being called:
{/* -------- FORMAT TAG -------- */}
<Text style={{all my styles in here}}>
If your having any problems, format the tag using the button below and try
to configure your tag again

  <TouchableHighlight
    style={{ all my styles in here }}
    onPress={() => formatTag(setIsWifiTestRunning)}>
    <Text style={styles.textStyle}>Format</Text>
  </TouchableHighlight>

{/* -------- LINK WITH WIFI -------- */}

If you'd like to configure Your tag link with your wifi, click here

  <TouchableHighlight
    style={{ my styling in here}}
    onPress={() => writeTag(1, wifiName, wifiPassword, setIsWifiTestRunning, setWifiName, setWifiPassword)}>
    <Text style={styles.textStyle}>WIFI</Text>
  </TouchableHighlight>

{/* -------- WRITE TO TAG -------- */}
<Text style={{textAlign:'center', paddingTop:20, paddingBottom:15, width:'75%'}}>
If Nfc is enabled, go ahead and click write and place your tag behind your device

  {!isTestRunning ?
    <TouchableHighlight
    style={{ styles here}}
    onPress={
      Platform.OS === 'android' ?
    () => writeTag(0, 'mywebsite.com/' + username, null, setIsTestRunning)
    : null
  }>
    <Text style={styles.textStyle}>WRITE</Text>
  </TouchableHighlight>
  : null
  }

I took out my styling to make it a lil cleaner

So I also have code which is used when on ios, however, at the time of receiving this empty tag not writing error, I was editing on android. I assumed the issue was also with ios, but I just checked and it seems that this particular error does not occur on ios thankfully.
In case you want the code for ios, here it is:
///// --- Function for writing tag IOS --- \\\
_cleanUp = () => {
NfcManager.cancelTechnologyRequest().catch(() => 0);
}
_testNdef = async (textToWrite) => {
try {
let resp = await NfcManager.requestTechnology(NfcTech.Ndef, {
alertMessage: 'Ready to write some NFC tags!'
});
console.warn(resp);
let ndef = await NfcManager.getNdefMessage();
console.warn(ndef);
let bytes = buildUrlPayload(textToWrite);
await NfcManager.writeNdefMessage(bytes);
console.warn('successfully write ndef');
await NfcManager.setAlertMessageIOS('Your tag is now linked!');
this._cleanUp();
} catch (ex) {
console.warn('ex', ex);
this._cleanUp();
}
}
I am yet to configure a wifi configuration on ios, which is why it looks a little different to my android code

i use the same code for writing from IOS
but it won't let me write on an empty tag (ios14+)
does it work for you?
and thank you for your reply

So I recently updated the version to the latest, and my code no longer worked. Therefore, I downgraded back down to version 2.2.0.
This version allows the code to run successfully. Sorry for the late reply, I hope this helps


'My Peers' window's restructuring

Due to the complexity of Peer details, there is a suggestion to combine some functions and make the window ordered and proper.
It would look like this:

Done in Master.

Done in Prod.


Allow explicit ActionFuncs in HandleAction

Hi there! I'm working with cli and I'm proposing this patch to address the following use case.
Problem
This change is related to this TODO and may help to address it in the long term. Supporting the "new" approach is a good first step toward deprecating the old approach. Let me know what you think!
The TL;DR is, when defining my command-line interface I want to be able to explicitly using the ActionFunc function type, rather than having to spell out func(c *cli.Context) error every time.
The longer version is, I have a "handler" function type and a map of required fields. I want to be able to combine the handler function and the required fields to generate an action function (ActionFunc) which can be attached to the Action field of a cli.Command. In my code, I have something that looks like this:

// Function type for the actual functions that get called to execute a command
type CLICommand func(*cli.Context)

func makeAction(command CLICommand, requiredFields map[string]string) cli.ActionFunc {
  action := func(c *cli.Context) error {
    // TODO: validate the context by ensuring that the requiredFields are present
    // TODO: execute `command`
  }
  return action
}

Without this patch, the code above will raise this error:
ERROR invalid Action type. Must be `func(*Context`)` or `func(*Context) error).  This is an error in the application.  Please contact the distributor of this application if this is not you.See https://github.com/urfave/cli/blob/master/CHANGELOG.md#deprecated-cli-app-action-signature

The alternative would be to change the function signature to
func makeAction(command CLICommand, requiredFields map[string]string) func(*cli.Context) error {

but this is not as clean, in my opinion.
Changes
HandleAction allows functions which have the same signature as
ActionFunc, but real ActionFunc functions are no supported. This
means that if a user application wants to define actions explicitly
using the ActionFunc type, HandleAction won't allow it.
This patch adds support for explicitly typed ActionFunc functions.

Hi @larsbutler,
Thank you for this detailed submission! This was actually also fixed in #568 (and released as 1.19.1); you may just need to update. Please let me know if this is not the case.

@jszwedko Ah, cool. I hadn't noticed that. I just updated and that patch does seem to address my issue. I'll close this one. :)


resolve(null) => resolve(true)

In this project, if a promise is not rejected it is successful so returning null was a bit confusing on the Android side. Now it is more consistent with ios.
const result = await RNIap.initConnection();
Now the result is true

Yeah. I agree. Merged!


Sim_telarry: Estimate computation time & disk storage

Let's do some test runs with different configurations to get some estimates on computation time and disk storage.
Process the different Corsika runs for the following configuration:

5 SSTs (astri+chec-s)

I can't see a way of changing the telescope array geometry in sim_telarray, as I used the baseline 70 SST telescopes for the CORSIKA runs. From my understanding, CORSIKA (or rather, the IACT/ATMO add-on package) takes in the telescope array geometry and models them as a set of spheres and only saves the shower particles that intersect these, so sim_telarray only needs to use these particles in its simulation. It looks like I'll have to do some other CORSIKA runs with the same parameters but with the 5 SST layout and go from there.

I've run sim_telarray on the new CORSIKA outputs from the 5 SSTs, and here's what I've been getting. With how quick the protons are done, I have my doubts things are working as intended, but then again I'm not sure what the ballpark for sim_telarray runtime is. The output files don't seem to have anything that jumps out at me as wrong, either. Worth noting is that all of these are done with 10 array/shower copies, as opposed to 20.

Configuration
Computation time
Disk storage

gamma, 5 SSTs, nshow=1000, max scatter radius = 1500m
06:03
38MB

protons, 5 SSTs, nshow=1000, max scatter radius = 1500m
00:17
1.5MB

protons, 5 SSTs, nshow=1000, max scatter radius = 1500m, viewcone=20
00:07
440KB


Generate image tags like Alpine versions (x.y.z)

According to Alpine Linux website, releases use "x.y.z" pattern. The tags of Docker images are only "x.y".
Why not create the same tags to Alpine versions ?
[1] : https://www.alpinelinux.org/posts/
[2] : https://hub.docker.com/_/alpine/

See comment at https://github.com/gliderlabs/docker-alpine/issues/129#issuecomment-170984246 for a little explanation. Basically, Alpine repositories only track the minor version (x.y). The patch level revisions (.z) are mostly package changes or security updates. Those updates get pushed to the same minor revision repository (x.y). Sometimes, those patch level releases may not even affect the package versions in the Alpine base image (so there isn't any real change).
If there is a good use case for tagging them we can start doing that. But right now, 3.3.0 and 3.3.1 are releases that pull packages from the 3.3 repository, so a 3.3.0 image is the same as 3.3.1, since installing any packages would just be the latest from 3.3.1 release.
Hope this isn't too confusing...

Thanks !


Elvis Ibarra - Sprint-Challenge--User-Interface

Finished the Sprint Challenge and am about to start some Stretch Goals. @sumi419

I love how clean and consistent your code is! Great work on this sprint 🔥


Save stream URL to FN

Need to save the stream host to FN, default is my server.
https://github.com/FujiNetWIFI/fujinet-apps/tree/master/appkey-sample
https://github.com/FujiNetWIFI/fujinet-firmware/wiki/SIO-Command-%24DC-Open-App-Key

v1.2.8


Custom error messages in chain asserts steps

Sometimes in chain asserts fails it’s hard to distinguish which of them was failed. Custom message for each particular verification could make distinguishing more clear.

done in 87477f0


MAP_ANONYMOUS not valid on Yosemite

MAP_ANONYMOUS is not supported on Yosemite, but not a problem on xcode beta3 Sierra. See for details:
https://github.com/leftmike/foment/issues/4

On hello world I get error ( but worked fine on Sierra setup ) will try the other pull.

No more data
Error: Command failed with error 1

Can we only define it when it is not defined?

deleted all haxe and got nightly again now works.

closing changed to only define if required with new pull request.


Not working for some reason ¯_(ツ)_/¯ lol

https://user-images.githubusercontent.com/99416195/153548636-b8b23232-1442-422c-89e6-999173afbc53.mp4
I pasted a video on how it looks(the bad quality is due to reducing size from GitHub not allowing the vid to be higher than 10 mg!( If it doesn't, the video is just me eating with the same vanilla no animation eating, even tho I showed that it was installed maybe the video will help😸)( also yes I did edit it to fast forward my "idiotic slowness?" lol that's the best way to say it I guess)( I added a VHS filter but now it looks like it was filmed from a VHS due to the bad quality although I just added it on the fast forward parts)

Can you send the debug.log. And follow-up, do you have any other mod that might be messing with it (and that includes OptiFine)

I've had the same problem and I solved it by moving up the "Mod Resources" pack in the resource pack menu.

Same problem here, moving the "Mod Resources" pack up solved the problem.
This is my resource pack list:
Alternative+Rain+Sounds+1.19-1.19.2.zip
Create+Simple+Storage+1.1.zip
Create+Style+Modded+Compats+v16.zip
Create_Building_Gadgets_GUI_and_3D_Items.zip
create_redone_stones_V1.1_1.18.2.zip
cubic-sun-moon-v1-5.zip
Onyx-Sans-v3.zip
Icons+-Menu.zip
Visual+Titles.zip
Icons+1.8pre3.zip
Infernal Resources.zip
EducationalPosters.zip
Rainy+Day+(1_18_1).zip
Tool+Belt+Retextured+1.18.x.zip
xalis Display Corner.zip
Quark Programmer Art.zip
Detail-Brush-1.5-1.19.zip
Enhanced+Tools++Armour.zip
Handful_of_Fixes_(1.19.3).zip
HD Bedspread.zip
More_Nether_Roots_(1.19.3).zip
Particles+V.1.2.3.zip
UniqueDark+1.19.2.zip
VanillaTweaks_r115698.zip

It appears to be caused by the "Vanilla Tweaks" resource pack, since moving the "Mod Resources" pack above it, solved the problem.

Closing as there has been no response from the OP. Most issues can indeed be solved by making sure that the Mod Resources pack is at the top.


Port adjust-times to Windows

Switch out getopt for llvm's Commandline API which is cross platform,
and define various constants which aren't normally defined on Windows.
This allows the Windows build to compile again.

This does change the exposed options to use llvm style single - instead of --.  I'm assuming this isn't used anywhere except in the tests?
cc @vlm

@swift-ci please smoke test

Ah, I had to update the XCode build :( Thanks @compnerd for helping me figure out how to have XCode set up the link dependency.
@swift-ci please smoke test

@swift-ci please smoke test

@gmittert Awesome, thanks for doing this!
@dmbryson @ddunbar Do we care about - vs -- or does it not matter?

@jakepetroules we don't care about - vs --.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

Closing in favor https://github.com/apple/swift-llbuild/pull/600 (containing a couple other fixes on top of @gmittert's changes)


Invoice generation

This is done, right @pjurewicz ?

I don't see it deployed to ecommerce.arkademy.dev, but I can certainly see it on localhost:

It is done, including heroku app I went through the whole process on heroku
https://ecommerce.arkademy.dev/invoices/0743f6d6-6c74-4380-90e9-03396ff89a95
https://ecommerce.arkademy.dev/re

s


Using constraints for Mandates: conditions changes the overload set

https://github.com/beman-project/Optional26/blob/bfeb9080c0d9c501965ae857a1decf7ed74686f5/include/Beman/Optional26/optional.hpp#L487-L499
Unless you're really sure it doesn't change semantics, the correct way to implement Mandates: requirements is with a static_assert or other non-SFINAE-able check outside the immediate context.
Using constraints on overloaded functions means that the correct overload might be removed from the overload candidates, and another function gets called. That fails to conform to the requirement that Mandates: makes a program ill-formed.
For example, give a type that is copy constructible but not move constructible, calling std::optional<T>{}.value_or(t) should be ill-formed, because the value_or(U&&) && overload says:

Mandates: is_move_constructible_v<T> && is_convertible_v<U&&, T> is true.

But the way you've implemented it, that overload will not be called because its constraints are not satisfied, so the value_or(U&&) const & overload will get called instead. Calling a different function is not a valid way to implement "ill-formed".

Almost certainly me misreading the spec when I went through applying parts.
One of the reasons I now have a stronger preference towards having requires expressions in the synopsis, so I don't accidentally confuse the two.
I still wish that Contraints that are really truely a static_assert would just have the expression rather than possibly saying that the expression above has value \tcode{true}, or worse \tcode{false}.
https://github.com/cplusplus/draft/blob/motions-2024-06-lwg-12/source/exec.tex#L879-L881

rather than possibly saying that the expression above has value \tcode{true}, or worse \tcode{false}.

That's not what the linked example is saying. It's saying that iff the expression above is well-formed, then the type of that expression is required to satisfy scheduler. If the expression above is not well-formed, we can't require it to satisfy anything. We can only impose a requirement on what get_scheduler(env) does if the query is well-formed in the first place.
As a static assert that would be static_assert( scheduler<decltype((repeat that big expression))> ) in the function body of the CPO's operator().


Aliases: Add more aliases

I assume you see the error.

I think that's all the aliases I can think of @Zarel

Any suggestions?

I wouldn't make it either, specifically.
Honestly, what should really go on is that we should import the PSdex search system.


Upgrade github actions to avoid warning Node.js 12 actions are deprecated.

Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-node@v2, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

Pull requests tp update them will be created automatically by dependabot after https://github.com/abhatt-rh/asciidoc_vscode_snippets/issues/15 done

fixed, no more warnings on latest main pipeline build.


fix: note SPDX for license

Closes #69. Ping @wooorm.

Looks great!
Should Travis be disabled?

I disabled it a couple of minutes ago. Yep.


Refactor the code and use LiteLLM to support API base change.

🚀 Refactor the code and use LiteLLM to support API base change.
🌐 As of now, GPT-4 Vision is expensive to use and GPT-4 usage is high.
Let consumers use their own API base by making the following change:
Example:
import openai

# Set your custom API base URL
openai.api_base = "http://myproxy-gpt.com/chatcompletions"

📈 This change ensures that you will receive more users and encourage more testing.
🧪 People will start testing it more often, which will ultimately contribute to
improving this product. 🛠

Hello @haseeb-heaven, I have created a pull request for this. Let the maintainer check it, and perhaps they will merge it.

Thanks for the quick PR


Update silencer-lib, silencer-plugin to 1.7.15

About this PR
📦 Updates

com.github.ghik:silencer-lib
com.github.ghik:silencer-plugin

from 1.7.12 to 1.7.15
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.ghik" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.ghik" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #284.


Add support for custom tag for incremental builds

This allows to take artifacts from an image with a tag different than the output tag.
The default behavior is still to use the same tags.
This is needed to fix a regression in incremental builds OpenShift: https://github.com/openshift/origin/issues/7708

@bparees @soltysh PTAL

[test]

lgtm, thanks @rhcarvalho
[merge]

@bparees I didn't even get a chance to complain about missing tests and you merged it :disappointed:

@soltysh we have upstream tests for incremental builds.

sorry I missed the tests in the commit, my bad.
@soltysh @bparees ptal again
I'm adding a test for the new config option.

lbtm (looks better to me).
[merge]

lbtm

:smile: that's a new one to my catalogue, thanks @bparees

Thank you!


Cannot add Thumbnails

Hi,
I just started to play with Koillection and I like what I see. But trying to create a collection and add a thumbnail fails for me. I think I am just missing something obvious, but I cannot figure out what I am doing wrong. I am running Koillection in Docker and I can create a  collection, but when adding a thumbnail I get the error: Oops, a critical error occurred :(.
When looking at the logs I see:
{"message":"Uncaught PHP Exception Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException: "The file "tmp/col_63946cb45b827.png" does not exist" at /var/www/koillection/vendor/symfony/http-foundation/File/File.php line 36","context":{"exception":{"class":"Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException","message":"The file "tmp/col_63946cb45b827.png" does not exist","code":0,"file":"/var/www/koillection/vendor/symfony/http-foundation/File/File.php:36"}},"level":500,"level_name":"CRITICAL","channel":"request","datetime":"2022-12-10T11:25:40.375152+00:00","extra":{}}
I get it that it cannot find the thumbnail (I try to add it from the browser on my mac), but how do I add the thumbnail?
Thanks and kind regards

Funny thing is that images added to items does work. No problems there

Hello,
When uploading a thumbnail, it is temporary saved in this folder ./public/tmp/ . For some reasons it looks like it can't be written there.
Are you using Docker to run Koillection ?

Yes, I am using Docker.

It looks like it was related to the rights on the tmp folder. I changed it and now it does work.

Ok great, I'll have a look to the docker image to see how to prevent that


1.19.4 Support

Modify configuration files to support 1.19.4 (it works with basically no changes)
(n.b. You don't seem to have a master branch; I recommend you create a 1.19.4 branch, retarget this PR and then merge)

Resolves #8


PROPOSAL: Bridge of  web API to native layer (OpenGL ES / Bitmap etc.)

Getting RN ready for Augmented Reality
The <canvas /> element of HTML5 has been the entry point for sophisticated 3D & 2D applications written in JS. At the moment, those JS based frameworks are only able to render to react-native by either using a webview or by using third party packages which bridge parts of the <canvas /> web api back to the corresponding native api. I.e. map webGL calls to the native OpenGL ES interface.
Benefit
If the <canvas /> web api would be bridged in full to the mobile platform, a century of rendering frameworks could be used flawlessly to create stunning visual effects. Instrument 3D rendering and Augmented Reality implementations within the react-native toolset by using common, well documented tools. I.e.

Three.js
Babylon.js

in cooperation with

ARKit
ARCOre

avoiding the messaging bottleneck between a webview and the JS thread.
Implementation for End-Users
Augmented Reality: https://blog.expo.io/introducing-expo-ar-mobile-augmented-reality-with-javascript-powered-by-arkit-b0d5a02ff23
Feasibility
That this is possible is shown by third party packages that partially implement the web <canvas /> api achieve common goals. Including facebooks reactART package for 2D rendering.

Bridging of webGL to the native OpenGL ES API:

https://github.com/gre/gl-react/tree/master/packages/gl-react-native
https://github.com/react-community/react-native-webgl
https://github.com/expo/expo/blob/cdbcfa9a323fe71afb12cd8ccdf900103925c8a1/cpp/UEXGL.cpp

2D Implementation (reactART / facebook): https://github.com/facebook/react-native/tree/d20a6e9d2d92bfc6bc81cc828c4008af1c7a7760/Libraries/ART
By Google (three.ar.js for ARCore & ARKit) https://github.com/google-ar/three.ar.js

Why should it be a part of react-native core
A lot of time has been spend on the paradigm "learn once, use everywhere". At the moment this approach has been held up by tying together the very heterogeneous apis of the mobile platforms. And that is great. The next logical step is to make the underlying graphics power of modern devices accessible. The web <canvas /> has done that elegantly on the web — using that api to unleash the native power of mobile graphics would enable incredible user experiences; all with an existing ecosystem of libraries that are already building on top of WebGL.
Compared to the DOM and Device APIs, the Graphics Layer has no volatile API development. We have years of experience in dealing with the web canvas and great frameworks that instrument them well. Satellite implementations by third party packages of the <canvas /> seem like an unnecessary uncertainty for using frameworks and libraries that rely on proper <canvas /> implemention. If the api is done once and well, it will little change in shape in the future. As volatility is often a reason to prefer to have contributions be maintained outside of the core, this seems to not be the issue.
It's a straight implementation. That it is very well possible to bridge the full <canvas /> api to a foreign platform (or back to its OpenGL origin) is very well shown by the maintainers of babylon.js (microsoft), who have created a webgl 2D bridge to be independent of the DOM for node.js chakra:
https://www.eternalcoding.com/?p=1922
I hope we can achieve the same for react-native.
Related Issues / Tickets
https://github.com/facebook/react-native/issues/12119
https://github.com/facebook/react-native/issues/246
Is this a bug report?

[x] No (but it concurrences a full implementation related to ART; therefore here, not on canny)

Have you read the Contributing Guidelines?

[x] Yes

Context
The Problem and this Issue was featured in my talk at the reactday.berlin Conference on Dec. 2, 2017:

Don't think it should be part of the core, especially because it's likely that Facebook some be supporting it and it'll increase the API surface and maintenance overhead if RN, which is already huge. Furthermore, the releases will be tied to React Native releases instead of being independent.
If course if it's officially supported by Facebook, it'll be awesome. But even then I'd really like to see it in a separate repo, like Metro Bundler. If also like to see more UI components moved out of the core, but that's a separate topic.

In the spirit of reducing the surface area for React Native, I agree with @satya164 that this should not be a part of the core.
Is there a reason that this a this cannot be added as a plugin to ReactNative ?


Change :app calendar README and add cfw:org-create-file-source to list of commands

The example in the README to include org files from other sources in the calendar view doesn't really work, because the binding to org-agenda-files is lost e.g. when calendar view is refreshed.
Fortunately, there is the function cfw:org-create-file-source that allows us to list other org files in the content sources.

Thanks!


Adding loading indicator

I know... I know.
It probably won't be useful, since stories are almost instantly loaded ~(here, at least)~ But anyway. Just wanted to contribute:

great timing, I'm about to publish a new version, this will go out right now


Add Maui Tests

Initial PR to test OS compatibility. As this has a mac and android test, I expect things to be weird.

@mmitche or @tkapin Can you review when you have a chance? Thanks!


Add some more attributes to  for testing and accessibility

Is your feature request related to a problem? Please describe.
I'd like to write some tests which use a Modal component. At first, I'd like to close it, but because there are not attributes which can be used for easy selecting modal or its close button is hard to do so.
Describe the solution you'd like
Allow some attribute (id or data-test) which allow me to select modal
Also, I recommend adding some attributes to modal's close button for example (taken from bootstrap Alert):
<button type="button" aria-label="Close">
    ×
  </button>

Closing, dataTest prop added in release 0.12.0. There will be another issue for accessibility issues.


UA Bugfix (EXPOSUREAPP-8155)

Alignment to Android text change.
https://github.com/corona-warn-app/cwa-app-android/pull/3576

I've closed this PR. I want to discuss with my UA colleagues how we are going to handle such text changes in future. Text in Android has been adjusted and it's okay for now.


Behave BDD pylint error (no-name-in-module) on import

Environment data

VS Code version: 1.54.1
Extension version (available under the Extensions sidebar): v2021.2.6369
OS and version: macOS Catalina 10.15.7
Python version (& distribution if applicable, e.g. Anaconda): Python 3.9.1
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: Behave 1.2.6
Relevant/affected Python-related VS Code extensions and their versions: XXX
Value of the python.languageServer setting: Jedi

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
The given, when, then modules for Behave are not flagged as pylint(no-name-in-module) errors
Actual behaviour
No name 'given' in module 'behave'pylint(no-name-in-module) is displayed
Pre-condition:

Install the Behave BDD framework to the root directory
Create a .py file for gherkin style step definitions:

@given('I go to the admin page')
def i_log_in_as(context):
    <code goes here>

Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Install and enable the Python ms-python.python extension for VSCode
in the .py file with the step definitions, add to the imports at the top:
from behave import given, when, then

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

><EMAIL_ADDRESS>~/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/pyvsc-run-isolated.py pylint --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text ~/Desktop/automation/pericles/steps/steps.py
cwd: ~/Desktop/automation/pericles
><EMAIL_ADDRESS>~/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/pyvsc-run-isolated.py pylint --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text ~/Desktop/automation/pericles/steps/steps.py
cwd: ~/Desktop/automation/pericles
##########Linting Output - pylint##########
************* Module steps.steps
4,64,convention,trailing-whitespace:Trailing whitespace
24,0,convention,trailing-whitespace:Trailing whitespace
46,0,convention,trailing-newlines:Trailing newlines
1,0,convention,missing-module-docstring:Missing module docstring
7,0,error,no-name-in-module:No name 'given' in module 'behave'
7,0,error,no-name-in-module:No name 'when' in module 'behave'
7,0,error,no-name-in-module:No name 'then' in module 'behave'
18,0,convention,missing-function-docstring:Missing function or method docstring
18,16,warning,unused-argument:Unused argument 'context'
26,0,convention,missing-function-docstring:Missing function or method docstring
26,23,warning,unused-argument:Unused argument 'context'
26,32,warning,unused-argument:Unused argument 'url'
30,0,convention,missing-function-docstring:Missing function or method docstring
30,23,warning,unused-argument:Unused argument 'context'
30,32,warning,unused-argument:Unused argument 'cta'
36,0,convention,missing-function-docstring:Missing function or method docstring
36,36,warning,unused-argument:Unused argument 'context'
1,0,warning,unused-import:Unused Keys imported from selenium.webdriver.common.keys
5,0,warning,unused-import:Unused ActionChains imported from selenium.webdriver.common.action_chains
8,0,warning,unused-import:Unused import environment
9,0,warning,unused-import:Unused import time
11,0,warning,unused-import:Unused GuestListElements imported from pages.guest_list_page as EL
12,0,warning,unused-import:Unused PrintException imported from printerror
9,0,convention,wrong-import-order:standard import "import time" should be placed before "from selenium.webdriver.common.keys import Keys"

--------------------------------------------------------------------
Your code has been rated at -2.86/10 (previous run: -2.86/10, +0.00)

Error 2021-03-10 12:34:51: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(

Error 2021-03-10 12:34:51: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
  script = jedi.Script(

Error 2021-03-10 12:34:51: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:626: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
  script.goto_definitions(), request["id"]

Error 2021-03-10 12:34:58: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(

Error 2021-03-10 12:34:58: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
  script = jedi.Script(
/Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:626: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
  script.goto_definitions(), request["id"]

Error 2021-03-10 12:35:07: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(

Error 2021-03-10 12:35:07: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
  script = jedi.Script(

Error 2021-03-10 12:35:07: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:626: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
  script.goto_definitions(), request["id"]

Error 2021-03-10 12:35:10: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(

Error 2021-03-10 12:35:10: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
  script = jedi.Script(

Error 2021-03-10 12:35:10: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:626: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
  script.goto_definitions(), request["id"]

Error 2021-03-10 12:35:40: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:603: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).goto instead.
  script.goto_assignments(follow_imports=True), request["id"]

Error 2021-03-10 12:42:14: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:584: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).get_names instead.
  jedi.api.names(

Error 2021-03-10 12:42:14: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(

Error 2021-03-10 12:42:14: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
  script = jedi.Script(

Error 2021-03-10 12:42:14: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:626: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
  script.goto_definitions(), request["id"]

Error 2021-03-10 12:47:17: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:584: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).get_names instead.
  jedi.api.names(

Error 2021-03-10 12:47:19: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(

Error 2021-03-10 12:47:19: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:592: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
  script = jedi.Script(

Error 2021-03-10 12:47:19: stderr jediProxy Error (stderr) /Users/markodelgadillo/.vscode/extensions/ms-python.python-2021.2.636928669/pythonFiles/completion.py:626: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
  script.goto_definitions(), request["id"]

Can you try running pylint from the command line and see if there is different result? If not then this should really be filed on pylint.

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.


Native resolution not listed in DX9-based Call of Duty games

Hi, I've tested all D3D9 based Call of Duty games and they all share a common issue of my native resolution (2560x1440) not being listed. All other resolutions are listed correctly except 2560x1440. I have 3 identical monitors all running the same resolution and orientation, none of which are able to display the proper resolution using DXVK.
Software information
Call of Duty 4: Modern Warfare
Call of Duty: Modern Warfare 2 (2009)
Call of Duty: Modern Warfare 3
Call of Duty: Black Ops
Call of Duty: World at War
System information

GPU: NVIDIA RTX 3060Ti
Driver: 528.02 Game Ready
Wine version: N/A
DXVK version: 2.1

Apitrace file(s)

https://drive.google.com/file/d/1GxkToEi2djISQKg2V-tgqEJ26aUzUOC0/view?usp=share_link

Log files

d3d9.log: https://drive.google.com/file/d/1QVARSu_q1y8ysEExYS1eHQ-lsQXSQm4n/view?usp=share_link

But that's not all DX9 CoDs OP. There CoD2 and Black Ops 2 also.

Black Ops 2 is D3D11 so semantics aside, I too have experienced this issue on a 1440p monitor but does not occur on ultrawide 1440p.

Got the same issue on cod4, 1080p monitor. Can't select native res.

I've just wanted to file exactly that issue myself. The main issue is that D3D9Adapter::CacheModes adds duplicate modes to m_modes. I'm currently not able to properly debug the solution (visual studio issues) but GetMonitorDisplayMode can return the same size+height+width+refreshrate+format multiple times (I've seen the same mode up to 3 times in m_modes).
Example of the first 2 modes being duplicates already:

As to why thats an issue in call of duty games:

They use a D3DDISPLAYMODE array with a capacity of 256. Now depending on the max resolution and the refresh rate of the monitor, it can quickly run out of space. I'm on a 5120x1440 resolution with a max refresh rate of 120hz. That results in just close under 200 modes if m_modes  does not contain any duplicates.
Since EnumAdapterModes returns duplicates, the max resolution the game offers (for me) is 1080p because the game simply stops calling it after 256 iterations. (I would an array with a capacity of around 360 or so to fit all the modes with duplicates)
I've fixed that on my end (nvidia rtx-remix compatibility mod for cod4) by hooking the EnumAdapterModes call to add returned modes to an unordered_set with hash checks to not add any duplicates. I've set the max iterations check to 1024 and write the non-duplicates list back to the games array after the loop.
https://github.com/xoxor4d/iw3xo-dev/blob/3f14546e1fd489f751e5815004b8872f1b541fe0/src/components/modules/rtx.cpp#L397
Game array without dxvk: https://drive.google.com/file/d/16Tg9YiExKBCJMJXhBQzlmt2U1AY8oSoK/view?usp=sharing
Game array with dxvk: https://drive.google.com/file/d/1KjJqpPSaosYClf83AY2_blH5uz9nEkyP/view?usp=sharing

Does latest master help? I just pushed https://github.com/doitsujin/dxvk/commit/1568c263fbec4c8d5f8f9286e0be40af7fdfb9a6

It would be interesting to know what modes you are seeing also, perhaps there are some garbage ones we should filter out.

That indeed fixes the issue 🙌
Here is a list dumped from the game (after fix / before the fix) : https://gist.github.com/xoxor4d/233a223fce08e66e3b1ad1fee0976930


Align before/after with class hierarchy

Order @BeforeMethodWithContext according to class hierarchy: parent
class first; like in other test frameworks. This allows a subclass to
leverage parent class state.
Order @AfterMethodWithContext in a reversed order.

In Trino, this will allow child classes not to invoke io.trino.tests.product.deltalake.BaseTestDeltaLakeS3Storage#setUp explicitly.


Fix ESM export in documentation

A minor change because ESM has export default instead of module.exports

Thanks!


First implementation

Here's a first implementation of ppx_deriving_dyn that derives a to_dyn function from a type definition.
Implementation
It has support for all the base types, records, variants, polymorphic variants, parametrized types and any combination of them.
GADTS and mutually recursive types are not supported yet. I'll add support for those as needed when I'll start using it in dune's codebase.
When looking into the  dune sources to find what regular to_dyn functions looked like I found two different ways to convert constructor with inline record arguments to Dyn.t values.
Consider the following type:
type t =
  | A of {left : int; right: string}

I found occurences of both:
let to_dyn = function
  | A {left; right} ->
    Dyn.variant "A"
      [Dyn.record ["left", Dyn.int left; "right", Dyn.string right]]

or
let to_dyn = function
  | A {left; right} -> Dyn.variant "A" [Dyn.int left; Dyn.string right]

I choose to go for the first as it seemed like the logical choice but please tell me if you feel otherwise.
Testing
It has a basic test suite that runs the ppx on test code and compares the generated code to the reference .expected file. I'd like to add a test suite that actually runs that code and ensures the return values are correct. Do you have any preferred test framework for this?

@rgrinberg could you enable ocaml-ci for this repo? I don't have the access rights to do it myself.

LGTM. I think I enabled CI


About the number of sentences in EMNLP2017 WMT News Dataset

Hi , Thank you for sharing the code. I have a question here :
I saw in your paper you said the EMNLP dataset contains 10000 sentences both training  and test data , but why in the repo the file emnlp_news.txt contains 270,000 sentences.
and how you choose  10000 sentences from it ? I didn't see this part in the code..
Thank you : ) !

Sorry it is a typo in the paper, and actually we use the whole 270,000 sentences in the emnlp_news.txt as our training dataset. We will update the paper. Thanks for pointing it out!

Ok, thank you . And I got another question here:
In the discriminator, why the logits shape is [4096 ,1] ?  I think it should be [64 , 1] .

The fact that logits shape is [4096, 1] is according to Eq. (8) in Section 2.3 where we use S=64 embedded representations and 64 minibatches.


how to use common api response?

In your API you are using models to map api response, How can we have map common api response? for example I have this respse used across all api responses :
{
  "page": 1,
  "results": [
    {
      "poster_path": null,
      "adult": false
   }
  ],
  "total_results": 61,
  "total_pages": 4
}

the results object is where we get arrays of objects.
https://developers.themoviedb.org/3/discover/movie-discover
I tried this : ```
func repositoryEvents(owner: String, repo: String, page: Int) -> Observable<ApiResponse<[Event]>> {
return provider.request(.repositoryEvents(owner: owner, repo: repo, page: page))
.mapObject(ApiResponse.self)
.observeOn(MainScheduler.instance)
}
based on this https://github.com/khoren93/SwiftHub/blob/master/SwiftHub/Networking/Api.swift#L155

but I find myself repeating it over my app. Is there any better way?

I think you need generic object mapping, please check out this example.
https://github.com/tristanhimmelman/ObjectMapper/blob/master/Tests/ObjectMapperTests/GenericObjectsTests.swift


Seeing more peers connected than the max-connections configured

curl -sS http://localhost:26657/net_info | jq -r '.n_peers' gives 180 peers although
max-connections = 100 in the config.toml
This happens after restarting sei service for second time after fresh statesync
Version: 2.0.44beta

the peer amount reported under net_info does not reflect to connected peers. Prometheus reports 83 peers for my node when net_info reports 144. And looking at established TCP connections, it is clear that net_info is wrong. Established connections in my case includes some RPC, prometheus and remote signer sockets, so prometheus appears to be pretty accurate.
$ curl -sS http://localhost:26657/net_info | jq -r '.n_peers'
144
$ curl -sS 0:26660/metrics | grep peers\{
tendermint_p2p_peers{chain_id="atlantic-2"} 83
$ sudo ss -natup|grep ESTA.*seid|wc -l
89

default is 300, if you add all the peers then it will exceed the limit

@theBro-cros-nest net_info reflect all the peers identified by this node, so it does include both healthy and unhealthy peers. Would suggest bump max connections to mitigate this issue


Move RedditSharp to it's own repo/organization?

Hey,
It looks like you might not be maintaining the library anymore based on some of the comments here: https://github.com/SirCmpwn/RedditSharp/commit/c9ad0efaecde8a8a6c10936b4f4eeb72975935cc
Instead of doing a fork, would you be interested in maybe moving the project to it's own organization/repo? It would be nice to have all the history in place plus all the pre-existing links to the project out on the web will still work.
You can add other people to the organization, if they are interested in taking over the project. I know @CrustyJew expressed his interest elsewhere. Thoughts?

You can add other people to the organization, if they are interested in taking over the project.

It's possible to give people write permissions to personal repos so they can push directly without having to send a PR.
The problem with doing that is vetting the people to ensure they won't run things into the ground. Part of the purpose of PRs is to be able to review and approve or reject changes before committing them to main repo.
(Note: I don't speak for @SirCmpwn or the RedditSharp project as a whole)

I'm willing to maintain or help maintain this project, but I think the best way to do it would be to have @SirCmpwn transfer ownership of the repo. They recommended just hard forking it, but that doesn't seem ideal to me but I'm willing to do that if necessary.
Any github fork will reference this project as the parent, and reuploading it to a new repository seems weird and would likely require a rename.
Again, that's fine with me if that's the route we need to go, but it doesn't seem ideal.

@SirTony I made the suggestion to move for a couple of reasons:

The current repo has a lot of SEO juice and is referenced in a ton of blog posts, SO threads, etc. It's going to be nearly impossible for a fork to rank higher, even if it has a ton of activity. There is also a lot of history in the issues and PR's that would be lost with a hard fork.

Also if you keep the repo where it is currently, you would still be relying on @SirCmpwn to maintain the permissions if someone new wants access to the repo (at least I believe that's how GitHub works). It's not clear how much time/effort he will be allocate going forward but with a separate repo, it won't be an issue since other core members will be able to maintain those things. @SirCmpwn can still participate as he is able to.

Fair points, I hadn't considered that.
On Jun 13, 2016 10:28 PM, "Kkloss"<EMAIL_ADDRESS>wrote:

@SirTony https://github.com/SirTony I made the suggestion to move for a
couple of reasons:

The current repo has a lot of SEO juice and is referenced in a ton of
blog posts, SO threads, etc. It's going to be nearly impossible for a fork
to rank higher, even if it has a ton of activity. There is also a lot of
history in the issues and PR's that would be lost with a hard fork.

Also if you keep the repo where it is currently, you would still be
relying on @SirCmpwn https://github.com/SirCmpwn to maintain the
permissions if someone new wants access to the repo (at least I believe
that's how GitHub works). It's not clear how much time/effort he will be
allocate going forward but with a separate repo, it won't be an issue since
other core members will be able to maintain those things. @SirCmpwn
https://github.com/SirCmpwn can still participate as he is able to.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SirCmpwn/RedditSharp/issues/228#issuecomment-225763535,
or mute the thread
https://github.com/notifications/unsubscribe/ABOyCBv0cA3TKdGjs0CW3Yjz6LbCqMgfks5qLhHCgaJpZM4Iz5kN
.

@SirCmpwn I still think it would be best for others if you could transfer ownership of this repository instead of forcing a fork. That way we don't lose people along the way. Are you willing to do that?

@SirCmpwn Thanks for adding me as a contributor so I can continue to maintain it. Can you change the title of the Repo to reflect that it is maintained still, or can you transfer ownership of the repository to me so that I can fully maintain it and you won't need to do anything further in the future.
https://help.github.com/articles/about-repository-transfers/
Thanks!

I think it would be better to transfer it to an organization. It would make future maintainer replacements easier and an owner change wouldn't mean a change in the project URL. Multiple core contributors would also be more easily maintained.

I don't disagree and that's basically what I was planning on doing if the repository is transferred over to me. I believe after a transfer, the redirect occurs automatically, and hopefully the same applies when adding it to an organization.

@SirCmpwn Can I get any follow up to this or any updates on your thoughts?

I've given you access to this repository to author commits directly, merge PRs, and so on. That should be enough. If you don't like it do a hard fork like I initially suggested.

@SirCmpwn I appreciate the commit access, but it doesn't solve the issue of changing the description on the repository to reflect that it is still maintained.
Also, GitHub doesn't really support hard forks very well and we will lose all SEO and such. Is there any particular concern you have with changing ownership of the repository since you are no longer interested in maintaining it?

@SirCmpwn Thanks for changing the repository description to indicate it is still maintained, but is there any reason in particular you aren't wanting to transfer ownership of the repository? It'll prevent issues going forward that I'd need to bug you about (like adding more collaborators if we need them) and it will maintain links and search results so that people can still find the repository easily.

 I'm disgusted with what it's become and I want no part in it.

I'm sorry you don't like Reddit for whatever reason, but this is honestly the most childish thing I think I've seen on here.

Alright, that's enough.


[p50] Desktop requires password twice

Started happening a few days ago, maybe after rebooted?

At some point this stopped happening.


fix: sync lockfile

the lockfile in main is out of sync, failing CI builds, this should bring it up to date

/lgtm

/approve


Inability to render to one json files

Hi gurus!
guys, I'm not a programmer or designer of any kind.
I just learned who to create a basic animation, since all my attempts to order it in a way I need for my project are failed.
Well, I created a source file (in Illustrator), then I created (if I can say so.. ) a composition in AEF (cc2015) and then I tried to render it Bodymovin (4.10.1).
As a result, I'm getting four files in output (one folder with png and second json, the third one is xml and fourth is "data.json".
What my developer asks is one file json... with will comprise everything!!!
Folks, can you explain to a "green" boy what should be done here in order to convert a fille into ONE json file which will be used in Android animation?
Thanks in advance for your help.
The file is attached
Coin.zip

Hi, first of all, you should convert your .ai layers to AE shapes, by right clicking and selecting Convert Layer to Shapes. That will remove the pngs folder.
Second, if you got an xml, you probably checked the AVD format to export. You don't need to check it.
Let me know if it helps


bosh.io not synchronized with bosh releases

The list of bosh releases on bosh.io only contains 257.3 as latest version.
Here on github you can see that there exist releases up to 257.8.
Did bosh.io git stuck or is there a reason why those releases are not shown there?

there is no bosh release 257.8. there is though 3262.8. because bosh repo is used to keep track of stemcells and bosh releases numbering bit weird. plan is to separate this out into two.
Sent from my iPhone

On Aug 26, 2016, at 4:54 AM, Marco Voelz<EMAIL_ADDRESS>wrote:
The list of bosh releases on bosh.io only contains 257.3 as latest version.
Here on github you can see that there exist releases up to 257.8.
Did bosh.io git stuck or is there a reason why those releases are not shown there?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


export WSL2

when I want to use it to export WSL2 ,it say "The action/argument "export" doesn't support WSL2."

Windows version:10.0.19042.1052
lxrunoffline version:3.5.0-msvc

As the error messages says, the export feature doesn't support WSL2 currently. It is pretty hard to implement this as there's no easy way to read the ext4 partition in ext4.vhdx. I have some ideas in my mind but haven't found time to work on this.

As the error messages says, the export feature doesn't support WSL2 currently. It is pretty hard to implement this as there's no easy way to read the ext4 partition in ext4.vhdx. I have some ideas in my mind but haven't found time to work on this.

还是去那个中文issue里说吧


Requirement calculator

This PR builds upon requirement-cleanup. View the diff of changes in this branch.

This is just the start of what I imagine the calculator can be useful for, but it already replaces Question#minimum_level which was broken. So it is useful as is.

Hmm, something is breaking here in a part of the code I don't think I've touched. And it passes for me locally.

Which has something to do with loading fixtures/survey_calculator_survey.rb in the survey_calculator_spec.rb. But I can't see why.

@Floppy do you know status of this?


Pass parameters to service?

Is there a way to pass parameters to the service? Either to the constructor or the initialize-method? The options-object is just options internal to schmervice, right? Is my use-case for passing some initialisation options off base and the intent is to set dependencies/options on the context-object? At least that's how I've solved passing options to the service.
In my opinion it would make sense to pass in an options-object to the registerService(service, initOptions) that would be passed to the initialize() and/or constructor.

If you hand a function or class to registerService(), for convenience schmervice will construct the service using the arguments (server, options).  However, you can also construct the service yourself with whatever arguments you like!
const myService = new MyService(initOptions);
myService[Schmervice.name] = 'myService'; // You could also use Schmervice.withName()

server.registerService(myService);

Would this do the trick for you?

Thanks for your quick reply! That should suffice!


Large Strides for 1x1 Convolutions

When a conv2d operator has a stride greater than the kernel size, the following error is thrown:
ValueError: ('stride must be less than or equal to filter size', 'stride: [2x2] filter: [Dimension(1)xDimension(1)]')
This makes implementing the 1x1 convolutions used to reduce spatial resolution in several papers (MSRA 2015 among others) awkward. Also, a convolution with stride greater than kernel size may be unusual but is it still well defined. Fixing this may be as simple as removing this assertion.
Thanks to everyone who developed TensorFlow, it's a fascinating tool.

I think this has been called 'atrous convolution', at least in the Eigen code.  Does anybody know whether cudnn supports this?  @zheng-xq ?

I don't think Cudnn supports convolutions for stride larger than 1. Not
sure the FFT algorithm they were using would still be correct.
On Tue, Jan 26, 2016 at 10:56 AM, Vijay Vasudevan<EMAIL_ADDRESS>wrote:

I think this has been called 'atrous convolution', at least in the Eigen
code. Does anybody know whether cudnn supports this? @zheng-xq
https://github.com/zheng-xq ?
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/889#issuecomment-175176178
.

I stand corrected. The stride larger than 1 should be supported by Cudnn. I was looking at upscalex instead.

it's not just stride > 1, it's stride > the input patch.  E.g., skipping regions of the input.
@vincentvanhoucke just corrected me: atrous is introducing holes in the input patch, so the input has 'holes'.  So it's different.
I don't know if our eigen (CPU) implementation supports stride > input_patch.  If it does, and cudnn does too, we can remove this assertion.

FYI last week I did try to look at this and cudnn appeared to give different results than I expected (eigen was correct for both CPU and GPU).  Not yet sure whether this is a bug in cudnn or how we were calling it.

The same error is thrown when calling tf.nn.max_pool or tf.nn.avg_pool with stride greater than filter size.

I hit this bug while trying implement ResNet. I'm working around it by using a 2x2 kernel with all but the top-left zeroed out.
https://github.com/ry/tensorflow-resnet/blob/2775805c4c4af3a3a082100c36a2b2f77791df4d/convert.py#L119-L122

@ry I used resize_nearest_neighbour to circumvent that problem: https://github.com/cesarsalgado/tensorflowed/blob/master/models/residual_nets.py#L46

I'm marking this a bug since it really should work. Also contributions welcome. See also the recent duplicate #1815.

@martinwicke I'd like to take a look at fixing it because I'm hitting this still. But I've never hacked on TF before, if you could give a rough outline of what's involved it'd help!

@ry: I wish I could still find my code.  I remember Eigen doing something consistent across GPU and CPU and expected and cudnn doing something different (and seemingly wrong), but I might have introduced a bug.
The best thing to start with is via a test: add a simple test to conv_ops_test.py that exercises say, a 1x1 convolution with input depth 1 and output depth 1 for a 1x3x3x1 input with stride 2 (so you get four values: the corners multiplied by a filter).
If you try to run that, you'll first run into a problem doing conv2d shape inference in python (because it checks for stride < filter) -- remove that and make sure that the shape calculation is correct.
Then you'll probably have to make the same fix in the C++ code (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/ops_util.cc#L41) to remove that check.
Other than that, I don't think there was anything else I had to do to get the calls to run, but that's when I started seeing different output and didn't have time to debug.  It's possible it has something to do with padding or the shape inference difference between us and cudnn.  Happy to help how I can.


NSE hyperparmeters used in paper

Hello
In order to reproduce results, I'd like to know what hyper-parameters you used for producing the various flows using NSE.
Specifically:
For the datasets with viscosities 1e-3, 1e-4, and 1e-5
for each
fourier_2d_time.py
fourier_3d.py
From reading around I only identified modes=12, width=32 for fourier_2d_time.py, and modes=8, width=20 for fourier_3d.py for viscosity=1e-4.
I think these are the most crucial ones (I will just run enough epochs etc. for the rest). I would like to train on 10 and predict 10 next frames (what is constraining the max fourier modes?)
Thanks!

Yes I think it is correct. Sorry for the delayed response.
For fourier_3d.py, the number of mode should be smaller than T/2, so it would be better to predict at least T>=20 frames. For a smaller number of frame, fourier_2d_time.py is better.

Right the time horizon is limiting. I used modes=12, width=32 with fourier_2d_time.py for all cases (these are the hyperparams for visc_1e-4, I suppose that could work with 1e-3, 1e-5 too)


⚠ Samsung has degraded performance

In 33219ba, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1955 ms

Resolved: Samsung performance has improved in 5ec86d0.


Add support for containerd to antrea-eks-node-init.yml

Containerd is available as an alternative to docker since EKS
v1.21. Starting with EKS v1.23, containerd will also be the default
container runtime. Currently antrea-eks-node-init.yml assumes that
docker is always the container runtime, which means that Antrea cannot
be run on EKS clusters using containerd. We fix this by adding support
for containerd.
We also make a couple of improvements to the startup script in
antrea-eks-node-init.yml, to ensuire that it can be run again if the
contents of the script change, which is useful for testing and may
also be useful to roll out patches.
Finally, we update our EKS CI to test with containerd instead of docker,
since containerd will be the default soon.
Fixes #3471
Signed-off-by: Antonin Bas<EMAIL_ADDRESS>

I'm going to run the cloud CI on my branch for testing

Codecov Report

Merging #3840 (ebc43e4) into main (58f17de) will decrease coverage by 18.26%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #3840       +/-   ##
===========================================
- Coverage   62.20%   43.94%   -18.27%
===========================================
  Files         281      215       -66
  Lines       40096    36504     -3592
===========================================
- Hits        24941    16041     -8900
- Misses      13190    19296     +6106
+ Partials     1965     1167      -798

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
43.94% <ø> (+0.03%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.


How to get count of available completion items?

I would like to replicate big IDE style of completion. They automatically expand the completion item, even if not visible, but there must be just one item to be completed.
So far I have this for mapping:
['<C-Space>'] = cmp.mapping(function(fallback)
	if cmp.GETCOUNT() == 1 and cmp.get_selected_entry ~= nil and luasnip.expandable() then
		luasnip.expand()
	elseif not cmp.visible() then
		cmp.complete()
	else
		cmp.select_next_item()
	end
end, {"i", "c"}),
['<Esc>'] = cmp.mapping({i = cmp.mapping.abort(), c = cmp.mapping.close()}),
['<CR>'] = cmp.mapping({
	i = cmp.mapping.confirm({behavior = cmp.ConfirmBehavior.Replace, select = false}),
}),
["<Tab>"] = cmp.mapping(function(fallback)
	if cmp.get_selected_entry() ~= nil then
		cmp.confirm()
	elseif cmp.visible() and luasnip.expandable() then
		luasnip.expand()
	elseif cmp.visible() then
		cmp.select_next_item()
	elseif luasnip.jumpable(1) then
		luasnip.jump(1)
	else
		fallback()
	end
end, {"i", "s"}),
["<S-Tab>"] = cmp.mapping(function(fallback)
	if cmp.visible() then
		cmp.select_prev_item()
	elseif luasnip.jumpable(-1) then
		luasnip.jump(-1)
	else
		fallback()
	end
end, {"i", "s"})

Is there, or could you implement a method that returns boolean (like cmp.multiple()) or item count (like cmp.count())?
BTW thanks for this plugin, couldn't live without it.

Percisely I would like to complete immediately (without displaying the menu) in case there is only one thing to be completed or the first suggestion matches the written text.

I'll add the cmp.get_items().

Could you tell us more about what are you trying to achieve? When should expand_table be called? By the way, I think you need to use pairs instead of ipairs here.

I don't really understand lua, I just needed to find out, what is the text of the first entry and in which variable is it stored.
I want to confirm the selection if only one entry is available, or if the text matches the first entry.
Also, I am not sure how I could get the text that was used to generate the entries.

I have come up with this, which gives me most of the content, I just need to dig through it to understand it better:
function expandTable(table, depth, tabs)

	local tab = ""
	for i = tabs, 1, -1 do tab = tab .. "  " end
	local result = "{\n"
	for key, v in pairs(table) do
		-- prepare json key-value pairs and save them in separate table
		if v ~= nil then
			if type(v) == "table" and depth > 0 then
				v = expandTable(v, depth - 1, tabs + 1)
			elseif type(v) == "boolean" then
				v = tostring(v)
			elseif type(v) == "function" then
				v = "function"
			elseif type(v) ~= "number" and type(v) ~= "string" then
				v = type(v)
			end
			result = result .. string.format("%s  \"%s\":%s", tab, key, v) .. ",\n"
		end
	end
	-- get simple json string
	return result .. tab .. "}"
end

print(expandTable(entries[1], 3, 0))

I have found the value I needed - cmp.get_entries()[1].exact - this tells me whether the text matches the entry. Yet, I need to have the menu displayed.
I understand this is probably a performance optimalization, but is there a way in which I could get an entry at any time?

Good to hear. but It's un-documented API. It can be modified in the future. :)