🐞 : Dark mode enhancement

:red_circle: Title : Dark mode enhancement
:red_circle: Bug :
:red_circle: Changes : Game Names are not visible clearly. dark mode requires better choices of color-> preferably bright or lighter colors.
Screenshots 📷

✅ Details to Include When Taking the Issue:
Name : Saumya
Participant Role (Specify the Open Source Program name, e.g., GSSOC, Hacktoberfest, etc.): GSSOC extended, Hacktoberfest,

Happy Contributing! 🚀
Wishing you all the best on your open source journey. Enjoy! 😎

i can do @Iampratyush004


Object equality fixes

Add hash to the Parameter class
Disable validation when doing BaseAWSObject object comparison eq

That seems to address the issues with #2196 @markpeek :+1:


Kang and Schaffer simulation

It seems this is a famous simulation that could be used in the docs.

This is also a famous simulation example that is challenging for double robust estimators, so another candidate for the docs and/or as a test,


change executable file extentions, remove msi, add cmd and com

cmd is another way of naming bat files, com is an old filetype that afaik isn't really used anymore but its still technically treated as a program by windows.  msi on the other hand isn't actually a program, its just an installer package that gets interpreted by msiexec.exe, it would be like saying that deb files are executable on linux.

hi, @OldWorldOrdr, you are right about the msi extension, but it also feels like some kinda widely used executable, how about we still treat the msi as executable?

@zwpaper done, last thing I'm doing before going to bed.

ok that was really the last thing

Codecov Report

Merging #834 (a91ea64) into master (8c62e9e) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head a91ea64 differs from pull request most recent head 21704fe. Consider uploading reports for the commit 21704fe to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master     #834   +/-   ##
=======================================
  Coverage   87.35%   87.35%
=======================================
  Files          45       45
  Lines        4280     4280
=======================================
  Hits         3739     3739
  Misses        541      541

Impacted Files
Coverage Δ

src/meta/filetype.rs
80.55% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Should I add script extensions like py, sh, or lua to the list (when I wake up)

Considering we have bat/cmd and ps1 as executable file extensions, I'll add other scripts too.

I decided to not include stuff that's usually run with someprogram file.whatever rather then file.whatever or ./file.whatever or .\file.whatever, since those kind of programs usually aren't made executable when running on linux, you don't see js files marked as executable most of the time for example.  I added dll files because it seems to be tradition to mark shared libraries as executable in the unix world.

I found something very interesting, https://github.com/rmyorston/busybox-w32 this guy ported busybox to windows, and it can somehow determine executable files from the contents

and its still faster then lsd

if there are a lot of files or the files are really big then its slower the first time, but faster every time after that.

I'm closing this because I found a better way to do it, but I don't know enough rust to make it happen.  The environment variable PATHEXT contains a list of file extensions to expand when run from the shell, so if theres a file called test.exe in the current directory and you run ./test it will run test.exe.  The default value is .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Also I found that lsd doesn't pick up extensions if the case is different, so .exe would be detected but .EXE or .Exe would not

also some stuff that is definitely executable should be added to that list, like PS1, even if it's not in the env variable


--

Checklist

[x] I'm reporting a feature request
[x] I've verified that I'm running youtube-dl version 2020.07.28
[x] I've searched the bugtracker for similar feature requests including closed ones

Description

WRITE DESCRIPTION HERE
I would like to see download errors that actually glitch the video in any way reflected in the return value of youtube-dl.  Even if it's only pass/fail.  I've had 10 unreachable packet errors in a single half hour (20 min) video.  That's sure to hurt the playability!  youtube-dl returned 0.
First, I process each file individually, so I can associate each log file with the correct video.
You people know what errors can glitch the video.  You know what conditions would warrant passing it up to the top level.  The best thing I can do is study all of my log files and make a list of what I assume are serious errors.  Then I will need to add the list to my script file so it can parse each error file after downloading is complete. If found, it would then write to URL to another file.   Which I would run later.  The errors I've discovered so far seem to come and go.
It would save a lot of time and effort if I could just check the return value and write any non-zero return URLs to the retry file.
I guess the likelihood of this being implemented depends on the structure of your error system.  I don't hold out much hope because it would probably mean the modification of every extractor file at the minimum.  But I figure it doesn't hurt to ask.

@dstfw.  What is incomplete about my request?


156 Header banner - status bar

Trello 156 - Home Header Banner
This PR updates the status bar to be a consistent lightNavyBlueColor across all screens. It also fixes #188 (CTAs overlapping with home-line space on iPhone X).
Tester check-list

[ ] Tested on multiple devices / OS versions (Test on the physical device(s) you have access to, otherwise use BrowserStack):

[ ] Galaxy S8 (Android 7.0/8.0)
[ ] Galaxy S7 (Android 6.0)
[ ] iPhone X (iOS 11.x)
[ ] iPhone 8 (11.x)
[ ] iPhone 7 (iOS 10.x)

Optional:

[ ] Google Pixel 2
[ ] Galaxy S8 Plus
[ ] Galaxy S7 Edge
[ ] Galaxy S6
[ ] iPhone 7+
[ ] iPhone 6

Accessibility Testing (If applicable)

[ ] Text-to-Voice (Android: Voice Assistant / iOS: Speak Selection)
[ ] Large Text (=<200%)

The status bar is now the light navy blue colour at all times. The CTA issue for iPhone X is also fixed.


The root Visual of a VisualTarget cannot have a parent.

NotifyIcon.Wpf.TaskbarNotification (.NET 4.0) v<IP_ADDRESS>
I get this exception when attempting to show a dialog window.
There are other people on StackOverflow who have encountered this error as well.
https://stackoverflow.com/q/28833702/2596334

 ExMessage   = The root Visual of a VisualTarget cannot have a parent.
 ExType      = System.ArgumentException
 StackTrace  =    at System.Windows.Media.CompositionTarget.SetRootVisual(Visual visual)
    at System.Windows.Media.CompositionTarget.set_RootVisual(Visual value)
    at System.Windows.Interop.HwndTarget.set_RootVisual(Visual value)
    at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
    at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
    at System.Windows.Controls.Primitives.Popup.SetRootVisualToPopupRoot()
    at System.Windows.Controls.Primitives.Popup.CreateWindow(Boolean asyncCall)
    at System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
    at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
    at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
    at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
    at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
    at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
    at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
    at System.Windows.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)
    at System.Windows.Controls.Primitives.Popup.CreateRootPopup(Popup popup, UIElement child)
    at System.Windows.Controls.ToolTip.HookupParentPopup()
    at System.Windows.Controls.ToolTip.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
    at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
    at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
    at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
    at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
    at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
    at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
    at Hardcodet.Wpf.TaskbarNotification.TaskbarIcon.OnToolTipChange(Boolean visible) in c:\git\OSS\notifyicon-wpf\Hardcodet.NotifyIcon.Wpf\Source\NotifyIconWpf\TaskbarIcon.cs:line 496
    at Hardcodet.Wpf.TaskbarNotification.Interop.WindowMessageSink.ProcessWindowMessage(UInt32 msg, IntPtr wParam, IntPtr lParam) in c:\git\OSS\notifyicon-wpf\Hardcodet.NotifyIcon.Wpf\Source\NotifyIconWpf\Interop\WindowMessageSink.cs:line 296
    at Hardcodet.Wpf.TaskbarNotification.Interop.WindowMessageSink.OnWindowMessageReceived(IntPtr hwnd, UInt32 messageId, IntPtr wparam, IntPtr lparam) in c:\git\OSS\notifyicon-wpf\Hardcodet.NotifyIcon.Wpf\Source\NotifyIconWpf\Interop\WindowMessageSink.cs:line 213
    at MS.Win32.UnsafeNativeMethods.ITfMessagePump.GetMessageW(MSG& msg, IntPtr hwnd, Int32 msgFilterMin, Int32 msgFilterMax, Int32& result)
    at System.Windows.Threading.Dispatcher.GetMessage(MSG& msg, IntPtr hwnd, Int32 minMessage, Int32 maxMessage)
    at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
    at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
    at System.Windows.Window.ShowHelper(Object booleanBox)
    at System.Windows.Window.Show()
    at System.Windows.Window.ShowDialog()

Having determined that this has to do with setting the tooltip before the taskbar icon has loaded properly (there are a lot of assumptions underlying this), I think I've solved this in my application. Instead of setting ToolTipText in XAML, I set it in the Loaded event of the associated window:
        private void Window_Loaded(object sender, System.Windows.RoutedEventArgs e)
        {
            this.TrayIcon.ToolTipText = "Your tooltip";
        }

And then of course you need to do something like:
<Window ...
    Loaded="Window_Loaded">

Note that project Monitorian seems to have the same problem despite not using wpf-notifyicon and having their own wrapper around a WinForms icon instead (see their notify icon code here).

Thank you @samhocevar. It seems that posting my fix was premature, as the "same" error re-appeared in our crash logs a few hours afterwards. So my solution above does not work either.

I am getting this same error - but only occasionally.. Seems like a race condition somewhere


Purge a list of urls, update tests to use webmock

Create a purge(list) method, used by the current and more convenient purge_path and purge_url to make purge requests, but DRYs up the requests, and adds a method that can be used to purge multiple urls in a single API request easily.
This is a breaking change in that the purge_path method is updated to make a single API request.
fixes #4 and #5

I didn't bump the version @kerkero but I will if you want me to, let me know.

Thanks @kookster! great work, I've been neglecting this project for some time as you could see.
Please bump the version as this includes an API change.
I'll publish a new gem version on the next few days.

awesome, thanks @kerkero.
I have many gems I've made getting much less attention, so I appreciate your response.
I think you're right about bumping it - I set it to version 1.0.0 to be consistent with semantic versioning, since this is an API change, not just additive or a bug fix.

found a bug, don't merge yet! @kerkero

There is also an undocumented purge progress method I'm going to add, I see used in the new dashboard - I'll mark is as undocumented (use at your own risk, this may change and is not officially supported)

ok, good to go @kerkero !
I've been using it all day, so I am pretty darn sure I didn't bang it up!


Compatibility changes for Adjust 4.2.7.

We just fixed some broken tests related to the crashlytics library. Can you merge master into this branch and push again?

Sean, feel free to add your name to the bottom of the README.md file is you like!

Thanks - Just added my name. I think I have that latest commit already. Are you referring to this one:
https://github.com/seanw4/AnalyticsKit/commit/a8d9fbb2c2436c32a319e1a4bbcfdd48eb615a3a

Looks like it's passing. Accepting the PR.


Add TpAddReceiptData capability

This adds the TpAddReceiptData methods to global_state.cpp.
Signed-off-by: Kevin O'Donnell<EMAIL_ADDRESS>

I'd suggest that PR #12 gets approved and merged before this one, and I can rebase this one after.

Closing this due to inactivity.  Please re-open if it is still relevant.


Occasionally long wait in vscode, problem matcher related

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.89.1
OS Version: macOS Sonoma

Steps to Reproduce:

I have this problem where occasionally vscode will lock up for seconds, sometimes quite a while. It's very hard to collect performance sample because of this, but I finally managed to time it right and find something (not sure if it's the culprit but it's clear it's a factor)
problemmatcher.ts get called repeatedly for a considerable amount of time, and that locks up the UI thread or something. function is this one: https://github.com/microsoft/vscode/blob/50f2b2eca8d5c6e19ec95f9d46a59f623e60cac3/src/vs/workbench/contrib/tasks/common/problemMatcher.ts#L494
I lost the trace closing vscode by accident, so this is the beginning of my investigation.

Is there a way to dump statistics related to the amount of problemmatchers being called, and what extensions they originate from?

We don't have such statistics. It might help to disable certain extensions and try to reproduce to narrow it down.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Error when installing firebase. grpc missing

I did a clean create-react-app and after it installing the project all I did was npm install firebase --save
I have Node v.10 installed on my winx64 machine.
I would really appreciate it if someone could give me advice on how to fix this
This is the error I get:
node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.10.1/node-v64-win32-x64-unknown.tar.gz node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v64 ABI, unknown) (falling back to source compile with node-gyp) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19) gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:149:21) gyp ERR! System Windows_NT 10.0.16299 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--library=static_library" "--module=C:\\Users\\Future\\Desktop\\newapp\\node_modules\\grpc\\src\\node\\extension_binary\\node-v64-win32-x64-unknown\\grpc_node.node" "--module_name=grpc_node" "--module_path=C:\\Users\\Future\\Desktop\\newapp\\node_modules\\grpc\\src\\node\\extension_binary\\node-v64-win32-x64-unknown" gyp ERR! cwd C:\Users\Future\Desktop\newapp\node_modules\grpc gyp ERR! node -v v10.0.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --library=static_library --module=C:\Users\Future\Desktop\newapp\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=C:\Users\Future\Desktop\newapp\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\Future\Desktop\newapp\node_modules\grpc\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:947:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:236:5) node-pre-gyp ERR! System Windows_NT 10.0.16299 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Future\\Desktop\\newapp\\node_modules\\grpc\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" "--library=static_library" node-pre-gyp ERR! cwd C:\Users\Future\Desktop\newapp\node_modules\grpc node-pre-gyp ERR! node -v v10.0.0 node-pre-gyp ERR! node-pre-gyp -v v0.7.0 node-pre-gyp ERR! not ok Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --library=static_library --module=C:\Users\Future\Desktop\newapp\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=C:\Users\Future\Desktop\newapp\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown' (1) npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR<EMAIL_ADDRESS>install: node-pre-gyp install --fallback-to-build --library=static_library npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the<EMAIL_ADDRESS>install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR!  C:\Users\Future\AppData\Roaming\npm-cache\_logs\2018-05-06T01_28_46_657Z-debug.log

The error output says Error: Can't find Python executable "python", you can set the PYTHON env variable.
Do you have python installed and have you set the PYTHON env var?

I installed Python 3.6 after I first got the error and I still get it, the env variable was set automatically, now I don't know more about that.

@apaatsio
I installed Python 3.6 after I initially got the error and I still keep getting it, the env variable was set automatically, now I don't know more about that. I have node v10 so I don't think that would be the issue and the react-app is a clean install.

I have fixed the problem, there was an issue with the Node versions, basically a version over 10 doesn't work. LTS v8.11 would be completely fine.

You need Python because node uses gyp to build native extensions, which is in Python.


Access File Metadata

It would be nice if we could access the file metadata and use it in the schema for example creation or modified date.

This can easily be done with the transform function. Here us an example which uses git to get the last modified date from the repository:
https://www.content-collections.dev/docs/transform#get-last-modification-date-from-git
You could also use the filesystem api to get the last modification time.
I will post an example at the beginning of next week.

Here is the sample:
import { defineCollection, defineConfig } from "@content-collections/core";
import path from "node:path";
import fs from "node:fs/promises";

const posts = defineCollection({
  name: "posts",
  directory: "content/posts",
  include: "**/*.md",
  schema: (z) => ({
    title: z.string(),
    summary: z.string(),
  }),
  transform: async (post, { collection }) => {
    const filePath = path.join(collection.directory, post._meta.filePath);
    const { mtimeMs, birthtimeMs } = await fs.stat(filePath);
    return {
      ...post,
      createdAt: new Date(birthtimeMs),
      updatedAt: new Date(mtimeMs),
    };
  },
});

export default defineConfig({
  collections: [posts],
});

If this is not what you are searching for, feel free to reopen the issue.


las: improve coverage

Should increase the coverage by quite a bit.

Current coverage is 97.91%

Merging #64 into master will increase coverage by +3.99% as of 791d903

@@            master     #64   diff @@
======================================
  Files            6       6
  Stmts         2173    2254    +81
  Branches         0       0
  Methods          0       0
======================================
+ Hit           2041    2207   +166
  Partial          0       0
+ Missed         132      47    -85

Review entire Coverage Diff as of 791d903

Powered by Codecov. Updated on successful CI builds.

lets postpone ndslice fixes until Phobos PR. just for forward with las.sum

lets postpone ndslice fixes until Phobos PR. just for forward with las.sum

Sorry for the bad timing.

Please rebase

Please rebase

Oh I thought we fix the problem in the infty test. Rebased.

This branch is out-of-date with the base branch

have not rebased from master

problem in the infty test

what problem?

have not rebased from master

Sorry had a short issue with my git client - should be changed now.

what problem?

I commented out some tests as they have different result for different summation algorithms.

I commented out some tests as they have different result for different summation algorithms.

this is OK

this is OK

(:
Just out of interest:  "0 of 2 checks passed" - I thought github would prevent you from merging then?

Just out of interest: "0 of 2 checks passed" - I thought github would prevent you from merging then?

I don't know)))


Complex DAG of container set nodes always failed

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
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened/what did you expect to happen?
A complex workflow has below structure.

The outermost layer of the workflow is a dag.
The dag dependencies are quite complicated. (40+ nodes and serveral nodes have more than 5 dependencies)
Each dag node is a container set.
Each container set has a simple DAG. (prepare-inputs -> main -> prepare-outputs)

The workflow below failed every time. When I changed the inner dag from containers to dag or step groups, it would succeed.
Expectation: Container sets works well as dag/step groups when it is used as node nested in the complex workflow.
What happened:

The workflows failed with error info below.&{0x3a297a0 map[namespace:pipeline workflow:pipeline-test-point-simplefied-g5gbq] 2024-04-30 03:46:14.425189512 +0000 UTC m=+158960.631405283 panic <nil> was unable to obtain node for pipeline-test-point-simplefied-g5gbq-2664608158 <nil> <nil> }

The DAG showed in GUI was wrong with  an invalid depencies tree. For example, I and J has the same depenedies but they were connected as if J depended on I, as below.

So far as I tested, DAGs showned in the Argo GUI were wrong even for some very simple container set. I suspected that if the crash were some how connected to such wrong DAG behavior.

Version
latest (3.6.6)
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
  name: pipeline-test-point-simplefied
spec:
  entrypoint: pipeline
  activeDeadlineSeconds: 172800
  arguments:
    parameters:
    - name: runNums
      value: '["006"]'
  templates:
  - name: whalesay # name of the template
    container:
      image: docker/whalesay
      command: [cowsay]
      args: ["hello world"]
      resources: # limit the resources
        limits:
          memory: 32Mi
          cpu: 100m
  - name: whalesay-step-groups
    steps:
    - - name: prepare-inputs
        template: whalesay
    - - name: main
        template: whalesay
    - - name: prepare-outputs
        template: whalesay
  - name: whalesay-dag
    dag:
      tasks:
      - name: prepare-inputs
        template: whalesay
      - name: main
        depends: prepare-inputs
        template: whalesay
      - name: prepare-outputs
        depends: main
        template: whalesay
  - name: whalesay-container-set # name of the template
    containerSet:
      containers:
      - name: prepare-inputs
        image: docker/whalesay
        command: [cowsay]
        args: ["hello world"]
        resources: # limit the resources
          limits:
            memory: 32Mi
            cpu: 100m
      - name: main
        dependencies:
        - prepare-inputs
        image: docker/whalesay
        command: [cowsay]
        args: ["hello world"]
        resources: # limit the resources
          limits:
            memory: 32Mi
            cpu: 100m
      - name: prepare-outputs
        dependencies:
        - main
        image: docker/whalesay
        command: [cowsay]
        args: ["hello world"]
        resources: # limit the resources
          limits:
            memory: 32Mi
            cpu: 100m
  - name: pipeline
    dag:
      tasks:
      - name: A
        template: whalesay-container-set
      - name: B
        depends: A.Succeeded
        template: whalesay-container-set
      - name: C
        depends: B.Succeeded
        when: 'false'
        template: whalesay-container-set
      - name: D
        depends: C.Succeeded
        template: whalesay-container-set
      - name: E
        depends: D.Succeeded
        template: whalesay-container-set
      - name: F
        depends: D.Succeeded
        template: whalesay-container-set
      - name: G
        depends: E.Succeeded && F.Succeeded
        template: whalesay-container-set
      - name: H
        depends: A.Succeeded && G.Omitted
        template: whalesay-container-set
      - name: I
        depends: H.Succeeded
        template: whalesay-container-set
      - name: J
        depends: H.Succeeded
        template: whalesay-container-set
      - name: K
        depends: A.Succeeded && G.Omitted
        template: whalesay-container-set
      - name: L
        depends: B.Succeeded
        template: whalesay-container-set
      - name: M
        depends: B.Succeeded
        template: whalesay-container-set
      - name: N1
        depends: M.Succeeded && G.Omitted
        template: whalesay-container-set
      - name: O
        depends: N1.Succeeded
        template: whalesay-container-set
      - name: P
        depends: O.Succeeded
        template: whalesay-container-set
      - name: Q
        depends: O.Succeeded
        template: whalesay-container-set
        withParam: '{{workflow.parameters.runNums}}'
      - name: R
        depends: O.Succeeded
        template: whalesay-container-set
      - name: T
        depends: R.Succeeded
        template: whalesay-container-set
      - name: S
        depends: O.Succeeded
        template: whalesay-container-set
      - name: U
        depends: O.Succeeded
        template: whalesay-container-set
      - name: V
        depends: O.Succeeded
        template: whalesay-container-set
      - name: W
        depends: M.Succeeded && G.Omitted
        template: whalesay-container-set
      - name: X
        depends: Q.Succeeded
        template: whalesay-container-set
      - name: Y1
        depends: A.Succeeded && G.Omitted
        template: whalesay-container-set
      - name: Z
        depends: Y1.Succeeded && Q.Succeeded && R.Succeeded && V.Succeeded && U.Succeeded && S.Succeeded
        template: whalesay-container-set
      ### SSR
      - name: SSR-A
        depends: A.Succeeded
        template: whalesay-container-set
      - name: SSR-B
        depends: I.Succeeded && J.Succeeded
        template: whalesay-container-set

      - name: SSR-C
        depends: O.Succeeded
        template: whalesay-container-set
      - name: SSR-D
        depends: P.Succeeded
        template: whalesay-container-set
      - name: SSR-E
        depends: P.Succeeded
        template: whalesay-container-set
      - name: SSR-F
        depends: P.Succeeded
        template: whalesay-container-set
      - name: SSR-G
        depends: I.Succeeded && R.Succeeded
        template: whalesay-container-set
      - name: SSR-H
        depends: I.Succeeded && V.Succeeded
        template: whalesay-container-set
      - name: SSR-I
        depends: I.Succeeded && S.Succeeded
        template: whalesay-container-set
      - name: SSR-J
        depends: I.Succeeded && R.Succeeded
        template: whalesay-container-set
      - name: SSR-K
        depends: I.Succeeded && V.Succeeded
        template: whalesay-container-set
      - name: SSR-L
        depends: I.Succeeded && S.Succeeded
        template: whalesay-container-set
      - name: SSR-M
        depends: W.Succeeded
        template: whalesay-container-set
      - name: SSR-N
        depends: W.Succeeded
        template: whalesay-container-set
      - name: SSR-O
        depends: I.Succeeded && Z.Succeeded
        template: whalesay-container-set
      - name: SSR-P
        depends: I.Succeeded && Z.Succeeded
        template: whalesay-container-set
      - name: SSR-Q
        depends: I.Succeeded && Z.Succeeded
        template: whalesay-container-set

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

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

Logs from the workflow controller
controller.log
Logs from in your workflow's wait container
error.log


Exported Textures losing quality?

So i figured out that you are using some external dlls for texture exporting... but i can't find anywhere if they are getting compressed after the conversion to pngs.
I Used another tool Unity Asset Bundle Extractor (which is not open source) and i got very different results.
UABE

uTinyRipper

What's up with that?

Png itself is a compression format. So during the conversion they are getting compressed.
I don't know how it is possible to get such different result for textures. You may upload a file and I will check it.

Alright, i just noticed that the game got auto updated by steam, and they actually changed the quality.. I was trying to strip down the asset file so i can share it (it's huge > 3 gb). So i guess now it makes sense..
what i don't understand though in your code is this...
                        GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.Texture2D, textureExporter);
			GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.Cubemap, textureExporter);
			GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.Sprite, textureExporter);
			GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.Shader, new ShaderAssetExporter());
			GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.TextAsset, new TextAssetExporter());
			GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.AudioClip, new AudioAssetExporter());
			GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.Font, new FontAssetExporter());
			GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.MovieTexture, new MovieTextureAssetExporter());
			EngineAssetExporter engineExporter = new EngineAssetExporter();
			GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.Material, engineExporter);
			GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.Texture2D, engineExporter);
			GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.Mesh, engineExporter);
			GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.Shader, engineExporter);
			GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.Font, engineExporter);
			GameStructure.FileCollection.Exporter.OverrideExporter(ClassIDType.Sprite, engineExporter);

You are Overriding twice some classidtypes ...?
What is this even doing.. i just don't get it. It works as intended i guess since it's exporting everything
but what's going on here?

It creates a stack of exporters. If exporter on top of this stack can't process asset (there are several reasons why it may happens) next one trying to do its job.

If you have more question you can ask them in gitter


Can you release the training logs of deit on imagenet?

As the title implies, it would be great to share the training log of imagenet.

Hi @gaopengcuhk,
Thanks for your suggestion, we will share our training logs.
Best,
Hugo

Hi @gaopengcuhk,
Thanks for your suggestion, we will share our training logs.
Best,
Hugo

Thank you! I was just coming here to ask whether you could share the logs as well :)

Thank you! I was just coming here to ask whether you could share the logs as well :)

Thank you! I was just coming here to ask whether you could share the logs as well :)

Thank you! I was just coming here to ask whether you could share the logs as well :)

Hi, following the comment on https://github.com/facebookresearch/deit/issues/16#issuecomment-756764324, here are the training logs for DeiT-small trained on ImageNet, using both 4 and 16 GPUs
https://gist.github.com/fmassa/0dbd0184a0adb904ef42277b487d8b53
They do not correspond exactly to the models released, but are within random variation.
I'll be sending the training logs for the other models at a later stage

Hi, following the comment on https://github.com/facebookresearch/deit/issues/16#issuecomment-756764324, here are the training logs for DeiT-small trained on ImageNet, using both 4 and 16 GPUs
https://gist.github.com/fmassa/0dbd0184a0adb904ef42277b487d8b53
They do not correspond exactly to the models released, but are within random variation.
I'll be sending the training logs for the other models at a later stage

@fmassa do you mind sharing the log for the base model? When I try to reproduce, the model seems to diverge after the 5-th epoch, but it back to normal after a few epochs. And I can get the same accuracy as you did (81.8%)
Furthermore, when I change the warmup to 10 epochs instead of 5 epochs. The above issue is disappeared; however, there is significant performance degradation. This model only achieves 79.2%.
Do you have insight that simply warmup 5 epochs more can result in such a difference?
Thanks.

@fmassa do you mind sharing the log for the base model? When I try to reproduce, the model seems to diverge after the 5-th epoch, but it back to normal after a few epochs. And I can get the same accuracy as you did (81.8%)
Furthermore, when I change the warmup to 10 epochs instead of 5 epochs. The above issue is disappeared; however, there is significant performance degradation. This model only achieves 79.2%.
Do you have insight that simply warmup 5 epochs more can result in such a difference?
Thanks.

As there is no more activity on this issue, I am closing it. Don't hesitate to reopen it if necessary.


[Feature request]  MathLive for a WYSIWYG math editing experience

I'm wondering if Mathlive could be used to offer a WYSIWYG math editing experience for quarto documents.
quarto-vscode already offers the live preview panel which is great.
A WYSIWYG math editor like the excellent mathlive web component for math input could greatly increase the editing experience for quarto.
Alternatives like this one below exist for other apps (Emacs, Logseq)
https://github.com/casouri/quick-mathlive
https://github.com/hkgnp/darwis-mathlive-plugin
Don't know if the concept is easily transferable to quarto-vscode.
Thanks for considering this feature request :)

Thanks for the feedback! Yes, we'd eventually like to do something like what you outline here.

Thanks @jjallaire for your kind feedback.
I really like the direction taken in the dev of Quarto.
"A Quarto tip a day" is also a wonderful idea to discover this wonderful tool.
Thanks for all :+1:

I just found a good example of the use of mathlive in "Math Editor" which is a  "rich text editor for scientific content"  : https://matheditor.ml and https://github.com/IBastawisi/math-editor

It may inspire some dev in this direction.

Thank you! Yes, I've seen the MathLive stuff and it is very impressive. Will definitely be integrating this at some point!


Running alm.tools on termux (android)

I'm trying to run alm.tools on  my android device using termux. I'am able to install it without any errors, but after starting it, I'm getting the following error:
fileListingWorker worker restarting. Don't know why it stopped with code: 1
CANNOT LINK EXECUTABLE: library "libcares.so" not found
projectServiceWorker worker restarting. Don't know why it stopped with code: 1
CANNOT LINK EXECUTABLE: library "libcares.so" not found
and the errors are repeated until I stop it (through ctrl-c)
Any ideas ?

Suspect chokidar or perhap fsevents doesn't work on termux. If that is indeed the case their install should have failed (better ux) instead of runtime. Typing on my mobile. Will give you steps to narrow down soon 🌹👌🏻

Use the following repro
mkdir foo
cd foo
npm init -y
npm install chokidar --save
node -e "require('chokidar')";

Please report the error to https://github.com/paulmillr/chokidar/issues :rose:
I personally don't have a termux setup :heart:

I have been trying to get this great project to work in Termux on Android as well. I get the same worker issues described above, however chokidar doesn't seem to be the problem.
mkdir foo  cd foo npm init -y npm install chokidar --save node -e "require('chokidar')";
runs fine. Also installing chokidar and running node chokidar-test.js with:
var chokidar = require('chokidar'); chokidar.watch('.', {ignored: /[\/\\]\./}).on('all', (event, path) => {   console.log(event, path); });
correctly executes and logs events to the console.
Any other idea why fileListingWorker and projectServiceWorker might be failing at runtime? It would be amazing to have alm running on an Android tablet. It's the perfect portable device for developing on the go. Right now I'm stuck with vim while traveling, but have been dying for a better editor like alm for some time now.

That moment when my code is the only one experiencing the problem

😄  😢  :rose:

@dontsave using su? (ref https://github.com/termux/termux-app/issues/112#issuecomment-230656521)

@basarat not in su. the error happens as a normal user. su alm just results in alm command not found

@dontsave released with 2.33.0 give it a go! :rose:
/cc @notoriousb1t the attached commit https://github.com/alm-tools/alm/commit/eddbc6715d4d27f3436a0adc5bc4387db738a772 essentially breaks atom support. Some gory memories https://github.com/atom/atom/issues/2887#issuecomment-93887882 :rose:

works great now!


Align "geo" key in metadata and example

See https://github.com/opengeospatial/cdw-geo/pull/4#discussion_r733968435
The metadata description was updated to use "geo", but the example this uses "geoparquet"

Thanks!


fix: boot jobs running in parallel

Fixes #193

/assign ankitm123

@ankitm123 I don't know to fix jenkins-x-pr.yaml, do you know? And by the way: Do you know how it's configured that https://github.com/jx3-gitops-repositories/jx3-github.git is used as the cluster repo?

how to fix jenkins-x-pr.yaml

You can upgrade github checkout actions to v3 (seems like I only did it for release 🤦 ), and it will fix the issue.

Do you know how it's configured that https://github.com/jx3-gitops-repositories/jx3-github.git is used as the cluster repo

No idea, where did u see that?

Do you know how it's configured that https://github.com/jx3-gitops-repositories/jx3-github.git is used as the cluster repo

No idea, where did u see that?

In this output: https://github.com/jenkins-x/jx-git-operator/runs/7591873207?check_suite_focus=true

how to fix jenkins-x-pr.yaml

You can upgrade github checkout actions to v3 (seems like I only did it for release 🤦 ), and it will fix the issue. Check the issue here: https://github.com/jenkins-x/jx/blob/ca7cf32a330c63c46187f9b03280c5a72f96cae0/.github/workflows/jenkins-x/upload-binaries.sh#L3

No, the release uses v2 as well and apparently works: https://github.com/jenkins-x/jx-git-operator/runs/7377621254?check_suite_focus=true

ur right, I confused it with docker checkout, let me take a look.

btw, how are the jobs even running for ur PR? Mine dont run, seems ur not on a fork ...

Ugly hack: #204

/approve


Update .agents index data model

Description
This PR renames the agent.is_connected field to agent.status. It also adds all the core fields from the host schema nested below the agent field in order to facilitate cross index correlation.
Related Issues
Resolves #525, resolves #539

Migrated to #544.


chore!: default to dart sass for sass option of cssPreprocessor

BREAKING CHANGE:
Preset generated before v3.4.0 may contain a "cssPreprocessor": "sass"
field. It now means dart-sass rather than node-sass.
For generators, rootOptions.cssPreprocessor === 'sass' now also means dart sass.

nice, finally get rid of node-sass. :D


how can I set font and selected font in swiftui?

PageView(xx, selectedIndex: $selectedIndex) { x in
Page { state in
Text("custom title ").font(CustomFont)
} content: {
CustomView
}
}
        I figured it out, just use this way


App eventually crash when using google maps flutter

Hello, I´m working on an app that uses the google maps plugin but eventually the app crashes, and in the debug console has an exception message.
Here is the sample code to reproduce the issue:

code sample
main.dart
import 'package:flutter/material.dart';
import 'package:poc_geral/mapa_widget.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Invoke "debug painting" (press "p" in the console, choose the
          // "Toggle Debug Paint" action from the Flutter Inspector in Android
          // Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
          // to see the wireframe for each widget.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[MapaWidget()],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

MapaWidget
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

class MapaWidget extends StatefulWidget {
  final LatLng posicaoInicialMapa;
  final double zoomInicial;
  final Map<MarkerId, Marker>? markers;

  MapaWidget({
    Key? key,
    this.posicaoInicialMapa =
        const LatLng(37.42796133580664, -122.085749655962),
    this.zoomInicial = 18.5446,
    this.markers,
  }) : super(key: key);

  @override
  State<MapaWidget> createState() => _MapaWidgetState();
}

class _MapaWidgetState extends State<MapaWidget> {
  final Completer<GoogleMapController> _controller = Completer();

  LatLngBounds _createBounds(List<LatLng> positions) {
    final southwestLat = positions.map((p) => p.latitude).reduce(
        (value, element) => value < element ? value : element); // smallest
    final southwestLon = positions
        .map((p) => p.longitude)
        .reduce((value, element) => value < element ? value : element);
    final northeastLat = positions.map((p) => p.latitude).reduce(
        (value, element) => value > element ? value : element); // biggest
    final northeastLon = positions
        .map((p) => p.longitude)
        .reduce((value, element) => value > element ? value : element);
    return LatLngBounds(
        southwest: LatLng(southwestLat, southwestLon),
        northeast: LatLng(northeastLat, northeastLon));
  }

  LatLngBounds _bounds(Set<Marker> markers) {
    return _createBounds(markers.map((m) => m.position).toList());
  }

  _onMapCreated(GoogleMapController controller) {
    _controller.complete(controller);
//TODO: Colocamos essa verificação de forma provisória, da forma que está não vai exibir a distãncia da localização do usuário até o restaurante
    if (widget.markers != null &&
        widget.markers!.length > 1 &&
        widget.posicaoInicialMapa.latitude > 0 &&
        widget.posicaoInicialMapa.longitude > 0) {
      try {
        controller.animateCamera(
          CameraUpdate.newLatLngBounds(
            _bounds(Set<Marker>.of(widget.markers!.values)),
            50,
          ),
        );
      } catch (_) {}
    }
  }

  @override
  Widget build(BuildContext context) {
    return GoogleMap(
      mapType: MapType.normal,
      initialCameraPosition: CameraPosition(
        target: widget.posicaoInicialMapa,
        zoom: widget.zoomInicial,
      ),
      onMapCreated: _onMapCreated,
      markers:
          widget.markers != null ? Set<Marker>.of(widget.markers!.values) : {},
      compassEnabled: false,
      mapToolbarEnabled: false,
      myLocationButtonEnabled: false,
      buildingsEnabled: false,
      zoomControlsEnabled: false,
    );
  }
}

Below is the error message when trying to open the map. Note that the map open up but with an error behind.
[  +26 ms] W/ziparchive(24782): Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/0000001d/GoogleCertificates.dm': No such file or
directory
[   +3 ms] W/ziparchive(24782): Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/0000001d/GoogleCertificates.dm': No such file or
directory
[ +117 ms] I/SnapshotHandler(24782): Unable to retrieve flag snapshot for com.google.android.libraries.consentverifier#com.example.poc_geral, using defaults.
[   +8 ms] W/MobStoreFlagStore(24782): Unable to update local snapshot for com.google.android.libraries.consentverifier#com.example.poc_geral, may result in
stale flags.
[   +1 ms] W/MobStoreFlagStore(24782): java.util.concurrent.ExecutionException: java.lang.SecurityException: GoogleCertificatesRslt: not allowed:
pkg=com.example.poc_geral, sha256=[46d835e8c0c1a50229bdb1dfaf47880aaef9ac4289b7638392a045d73d546e25], atk=false, ver=230413047.true (go/gsrlt)
[   +2 ms] W/MobStoreFlagStore(24782):  at ajq.s(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):3)
[   +1 ms] W/MobStoreFlagStore(24782):  at ajq.get(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):2)
[   +3 ms] W/MobStoreFlagStore(24782):  at ala.g(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):2)
[   +2 ms] W/MobStoreFlagStore(24782):  at ys.d(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):1)
[   +1 ms] W/MobStoreFlagStore(24782):  at yu.run(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):0)
[   +1 ms] W/MobStoreFlagStore(24782):  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
[   +1 ms] W/MobStoreFlagStore(24782):  at java.util.concurrent.FutureTask.run(FutureTask.java:264)
[   +2 ms] W/MobStoreFlagStore(24782):  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
[   +1 ms] W/MobStoreFlagStore(24782):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
[        ] W/MobStoreFlagStore(24782):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
[        ] W/MobStoreFlagStore(24782):  at java.lang.Thread.run(Thread.java:1012)
[        ] W/MobStoreFlagStore(24782): Caused by: java.lang.SecurityException: GoogleCertificatesRslt: not allowed: pkg=com.example.poc_geral,
sha256=[46d835e8c0c1a50229bdb1dfaf47880aaef9ac4289b7638392a045d73d546e25], atk=false, ver=230413047.true (go/gsrlt)
[   +1 ms] W/MobStoreFlagStore(24782):  at android.os.Parcel.createExceptionOrNull(Parcel.java:3011)
[   +1 ms] W/MobStoreFlagStore(24782):  at android.os.Parcel.createException(Parcel.java:2995)
[   +1 ms] W/MobStoreFlagStore(24782):  at android.os.Parcel.readException(Parcel.java:2978)
[   +2 ms] W/MobStoreFlagStore(24782):  at android.os.Parcel.readException(Parcel.java:2920)
[   +2 ms] W/MobStoreFlagStore(24782):  at ff.c(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):2)
[   +2 ms] W/MobStoreFlagStore(24782):  at ru.a(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):4)
[   +1 ms] W/MobStoreFlagStore(24782):  at jl.e(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):2)
[   +1 ms] W/MobStoreFlagStore(24782):  at kk.t(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):2)
[   +2 ms] W/MobStoreFlagStore(24782):  at kk.u(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):3)
[   +1 ms] W/MobStoreFlagStore(24782):  at kk.e(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):2)
[   +1 ms] W/MobStoreFlagStore(24782):  at ko.handleMessage(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):69)
[   +7 ms] W/MobStoreFlagStore(24782):  at android.os.Handler.dispatchMessage(Handler.java:102)
[   +1 ms] W/MobStoreFlagStore(24782):  at android.os.Looper.loopOnce(Looper.java:201)
[        ] W/MobStoreFlagStore(24782):  at android.os.Looper.loop(Looper.java:288)
[  +14 ms] W/MobStoreFlagStore(24782):  at android.os.HandlerThread.run(HandlerThread.java:67)

Hi @osmartakashi, kindly share the logs you get when the app crashes.
Please also provide the output of flutter doctor -v as well as the version of google_maps_flutter & google_maps_flutter_android that you're using.
Also, do you experience the crash in release mode or is it only in debug mode, what device(s) do you experience the crash on?
BTW, the error you posted above is being tracked in https://github.com/flutter/flutter/issues/109115

Sorry, here is the flutter doctor -v
[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [Version 10.0.22621.1265], locale pt-BR)
• Flutter version 3.3.10 on channel stable at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 135454af32 (3 months ago), 2022-12-15 07:36:55 -0800
• Engine revision 3316dd8728
• Dart version 2.18.6
• DevTools version 2.15.0
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
• Android SDK at C:\Users\osmar\AppData\Local\Android\sdk
• Platform android-33-ext4, build-tools 33.0.1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[√] VS Code (version 1.75.1)
• VS Code at C:\Users\osmar\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.58.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.1265]
• Chrome (web)      • chrome  • web-javascript • Google Chrome 110.0.5481.178
• Edge (web)        • edge    • web-javascript • Microsoft Edge 110.0.1587.57
[√] HTTP Host Availability
• All required HTTP hosts are available
Here is the version of the plugins:
google_maps_flutter_android-2.4.6
google_maps_flutter-2.2.4

Hi @osmartakashi, can you upgrade to the latest version of flutter to see if you still experience the crash?
Please also provide the full output of flutter run -v with the full crash log. The output may be huge so kindly put it into a .txt or .log file and attach it here.
Thank you

Hello, after upgrade to the latest version of flutter the error persits. I don´t know what to do from now, it´s really frustrating. The app doesn´t crash everytime but only a few times. The error in the log appears all the time, here the same log after upgrade flutter:
I/DynamiteModule(15386): Selected remote version of com.google.android.gms.googlecertificates, version >= 7 2 W/ziparchive(15386): Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/0000002a/GoogleCertificates.dm': No such file or directory I/SnapshotHandler(15386): Unable to retrieve flag snapshot for com.google.android.libraries.consentverifier#br.com.grupotrigo.gurume, using defaults. W/MobStoreFlagStore(15386): Unable to update local snapshot for com.google.android.libraries.consentverifier#br.com.grupotrigo.gurume, may result in stale flags. W/MobStoreFlagStore(15386): java.util.concurrent.ExecutionException: java.lang.SecurityException: GoogleCertificatesRslt: not allowed: pkg=br.com.grupotrigo.gurume, sha256=[b8004b1b920035bc13192198178663fe88e73930c9386349fa1d0a8e233c4ed5], atk=false, ver=230617047.true (go/gsrlt) W/MobStoreFlagStore(15386): 	at ajp.s(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):3) W/MobStoreFlagStore(15386): 	at ajp.get(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):2) W/MobStoreFlagStore(15386): 	at akz.g(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):2) W/MobStoreFlagStore(15386): 	at yr.c(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):1) W/MobStoreFlagStore(15386): 	at yt.run(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):0) W/MobStoreFlagStore(15386): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463) W/MobStoreFlagStore(15386): 	at java.util.concurrent.FutureTask.run(FutureTask.java:264) W/MobStoreFlagStore(15386): 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307) W/MobStoreFlagStore(15386): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) W/MobStoreFlagStore(15386): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637) W/MobStoreFlagStore(15386): 	at java.lang.Thread.run(Thread.java:1012) W/MobStoreFlagStore(15386): Caused by: java.lang.SecurityException: GoogleCertificatesRslt: not allowed: pkg=br.com.grupotrigo.gurume, sha256=[b8004b1b920035bc13192198178663fe88e73930c9386349fa1d0a8e233c4ed5], atk=false, ver=230617047.true (go/gsrlt) W/MobStoreFlagStore(15386): 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3011) W/MobStoreFlagStore(15386): 	at android.os.Parcel.createException(Parcel.java:2995) W/MobStoreFlagStore(15386): 	at android.os.Parcel.readException(Parcel.java:2978) W/MobStoreFlagStore(15386): 	at android.os.Parcel.readException(Parcel.java:2920) W/MobStoreFlagStore(15386): 	at ff.c(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):2) W/MobStoreFlagStore(15386): 	at ru.a(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):4) W/MobStoreFlagStore(15386): 	at jl.e(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(190800-0):2)

Hi @osmartakashi, I may be misunderstanding the definition of crash you're using.
What happens when the app crashes for you?

Does it just log the error you've posted above?
Does the entire application exit?
Does the map become unresponsive?
or something else

Hi @osmartakashi, I may be misunderstanding the definition of crash you're using.
What happens when the app crashes for you?

Does it just log the error you've posted above?
Does the entire application exit?
Does the map become unresponsive?
or something else

Just to clarify, as I mentioned above the app doesn´t crash everytime you use it. It crashes eventually when load the widget called "MapaWidget". Although the app doesn´t crash all the time, the log message is displayed everytime you enter in the screen that uses the "MapaWidget".
When the crash ocurres the app exit suddenly, but the log error is the same.
Please let me know if its clrear now. Thank you!

Yes, it's clearer now.
What device(s) are you experiencing the crash on and how long does it usually take for it to crash? I'm trying to reproduce the issue on my end but so far I haven't been able to

There is not a specific device, I observe that in all pluged devices or emulators the problem ocurres. I atached a video that shows exactly the moment the problem happens.
2023-03-01 14-42-59.zip

Yhh, this is a duplicate of https://github.com/flutter/flutter/issues/109115.
Kindly subscribe to the issue linked above for updates.
Closing from here as duplicate.
Thank you


Stopped working?

I've been happily using this CLI for a few years, and all of a sudden it stopped working... did Imgur change their API?
I tried this with my own client ID, still didn't work. :(

TTPError: Response code 400 (Bad Request)


[Bug report]sslmode issue caused by connstr in "regen" part of Makefile

gen version
0.9.7 (06/09/2020)

OS
macOS 10.14.6

Shell
zsh 5.3 (x86_64-apple-darwin18.0)

Database
~ ❯❯❯ brew info postgresql
postgresql: stable 12.3 (bottled), HEAD

Description

Run gen --sqltype=postgres --connstr=..., it works.

Run make regen with default connstr param,

    --connstr=host=<IP_ADDRESS> \
    port=5432 \
    user=myname \
    password=mypass \
    dbname=mydb \
    sslmode=disable \

it occurred with
Error pinging database: pq: SSL is not enabled on the server

Error in initializing db pq: SSL is not enabled on the server
make: *** [regen] Error 1

change --connstr in Makefile to below and run make regen, it should works well.

    --connstr="host=<IP_ADDRESS> port=5432 user=myname password=mypass dbname=mydb sslmode=disable connect_timeout=10000" \

But --connstr in Makefile had been changed to default format like step 2.
Maybe reason
I'm using zsh with zprezto.
Maybe it only broken in zsh? I don't know.

I confirmed the bug - I believe I will have a fix shortly

This error still showing in v0.9.10
OS: windows 10
psql (PostgreSQL) 12.3


Added ScapeCloud

ScapeCloud is an image upload service for Old School RuneScape. Instead of users images being saved to their local machine, they are uploaded to the cloud ready to be shared. We utilize metadata from the client to provide extra functionality about the image such as: Combat Level, Nearby Players, Total Level, Player Name, Account Type (Ironman), and more.

Can you make the membership of scape-cloud display you as a public member? I see you've contributed to this repo, but I'd like to be sure that you have ownership or write privs for this org.

Can you make the membership of scape-cloud display you as a public member? I see you've contributed to this repo, but I'd like to be sure that you have ownership or write privs for this org.
Done

The code LGTM, though you may want to avoid adding an identical screenshot button to what's present in the main client as it will likely cause confusion for some users.
Thats fair, I will make the change tonight :)

Your warning should also include a mention about taking/uploading screenshots.

Your warning should also include a mention about taking/uploading screenshots.

Good catch! Updated 🤘🏻

LGTM. Did you want to make that screenshot button image change now or later?

LGTM. Did you want to make that screenshot button image change now or later?

I can take a stab at it right now, hopefully it won't take too long.

I do plan on changing it completely, for now I've changed the color to distinguish it a bit from the default. I know this isn't exactly what you meant by change it. I'm not very good at pixel art and would rather submit a bunch of changes at once. Just know this will be one of the top priorities in the next update. 👍


Rewrite BindToClose logic

Use hooks to count how many documents are opening so that documents that are not yet open are closed properly. Remove the IsStudio check so the data is updated correctly in studio play sessions for easier testing.

Another problem: Close could be called while another Close is in progress, which would throw an error.


Windows with unit test changes

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ea3c1f7). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #4   +/-   ##
=========================================
  Coverage          ?   51.32%
=========================================
  Files             ?       15
  Lines             ?      567
  Branches          ?        0
=========================================
  Hits              ?      291
  Misses            ?      254
  Partials          ?       22

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 ea3c1f7...e740a0a. Read the comment docs.


Freehand pointNearTool refactor

Simply refactors the pointNearTool function in the freehand tool so that it takes the same parameter arguments as other tools, for use with the eraser tool and for longer term compatibility.

Coverage remained the same at 5.983% when pulling fb53857ba07ade617278b1b66ef520530004cade on JamesAPetts:freehand_pointNearToolFix into 18d9d2438f24d69122e2b5e52c46b9dac6a28af2 on cornerstonejs:master.

Looks good to me (but I didn't test it)


Compiler errors on .NET Standard 1.3+ when source importing

We are source importing our JSON.NET and internalizing it in our project. We do this for a few reasons, one mainly is that we don't have to worry about someone else already using a different version of JSON.NET..
When we try and compile using dotnet build using the following (framework target.. please note that there is more stuff than required in the profile below...) we get tons of errors due to the 1.3+ profile has a lot of reflection types that don't exist in 1.0-1.2. I'm using the PORTABLE compiler directive
as that is what you have in your definition.. I changed to DOTNET and it was a bit better but still lots of errors.
Can you guys add a 1.3 framework target to JSON.NET, this would fix this issue as well as allow you to support BigInteger and more with System.Runtime.Numerics.
**P.S., You have a compiler directive defined as NETSTANDARD10 but it's never used and the convention the community is using is NETSTANDARD1_0 :).
"netstandard1.3": {
            "buildOptions": {
                "debugType": "portable",
                "define": [ "PORTABLE", "NETSTANDARD", "NETSTANDARD1_3" ]
            },
            "dependencies": {
                "Microsoft.CSharp": "4.0.1-rc2-24027",
                "Microsoft.Extensions.PlatformAbstractions": "1.0.0-rc2-final",
                "System.Collections": "4.0.11-rc2-24027",
                "System.Collections.Concurrent": "4.0.12-rc2-24027",
                "System.Diagnostics.Debug": "4.0.11-rc2-24027",
                "System.Diagnostics.Process": "4.1.0-rc2-24027",
                "System.Diagnostics.StackTrace": "4.0.1-rc2-24027",
                "System.Diagnostics.TraceSource": "4.0.0-rc2-24027",
                "System.Dynamic.Runtime": "4.0.11-rc2-24027",
                "System.Globalization": "4.0.11-rc2-24027",
                "System.IO": "4.1.0-rc2-24027",
                "System.IO.Compression": "4.1.0-rc2-24027",
                "System.Linq": "4.1.0-rc2-24027",
                "System.Linq.Expressions": "4.0.11-rc2-24027",
                "System.Net.Primitives": "4.0.11-rc2-24027",
                "System.Net.Requests": "4.0.11-rc2-24027",
                "System.ObjectModel": "4.0.12-rc2-24027",
                "System.Reflection": "4.1.0-rc2-24027",
                "System.Reflection.Extensions": "4.0.1-rc2-24027",
                "System.Resources.ResourceManager": "4.0.1-rc2-24027",
                "System.Runtime": "4.1.0-rc2-24027",
                "System.Runtime.Extensions": "4.1.0-rc2-24027",
                "System.Runtime.Serialization.Primitives": "4.1.1-rc2-24027",
                "System.Security.AccessControl": "4.0.0-rc2-24027",
                "System.Text.Encoding": "4.0.11-rc2-24027",
                "System.Text.Encoding.Extensions": "4.0.11-rc2-24027",
                "System.Text.RegularExpressions": "4.0.12-rc2-24027",
                "System.Threading": "4.0.11-rc2-24027",
                "System.Threading.Tasks": "4.0.11-rc2-24027",
                "System.Threading.Timer": "4.0.1-rc2-24027",
                "System.Threading.Thread": "4.0.0-rc2-24027",
                "System.Xml.ReaderWriter": "4.0.11-rc2-24027",
                "System.Xml.XDocument": "4.0.11-rc2-24027",
                "System.Xml.XmlSerializer": "4.0.11-rc2-24027"
            }
        }

I'm going to add a newer profile at some point but it isn't a priority right now.

I'm seriously blocked on this at the moment and I suspect others will be as well..  I'd be more than happy to help spend a little bit of time on this with some guidance...
I referenced a commit that seemed to help but I still have even more errors on .net standard 1.5 that my temp work around didn't fix.. I just want to get to a compiling state.

Here's a direct link to my project with the project.json target framework versions listed if you're interested..
https://github.com/exceptionless/Exceptionless.Net/tree/feature/netstandard/src/Exceptionless.Portable

You have a copy of the source code. You're not seriously blocked.
There will be a newer standard targeted but I want to wait until core is finished and out to figure out which one to target.

@JamesNK I just spent the whole morning adding .net standard directives for each version of the .net standard here (https://github.com/exceptionless/Exceptionless.Net/commit/3302d8ea5a6da7a1b05cac0f1fb761bea1e72183) Could you take a quick look at this and see if this is something you'd be willing to accept as a pull request. If so, I'll work on a pr..
What my changes allow for things to really lightup as you increase the .net standard version  to JSON.NET based on the selected target framework :)

I created a pull request for this.

How is going this?
I'm also stuck by this issue: my core library depends on this one, and cannot target any netstandard :S

I will add a netstandard1.3+ target sometime after .NET Core is RTM.

.NET Core RTMed on 6/27. Can we have this issue re-opened?

Sure.
Stuff to figure out is whether IL emit that is in 1.3 should be supported. Need to find a way to determine whether IL emit is supported on a platform and dynamically switch between it and regular reflection.

@JamesNK have you had a chance to look at my pr? It was pretty complete.

https://github.com/JamesNK/Newtonsoft.Json/pull/927

I've thought about this and right now I'm only interested in a netstandard1.1 build to add BigInteger.


Add generated publish API.

Adding the generated from OpenAPI spec. functions,
interfaces and models.
Adding unit tests for the added functions.
The test checks the correct building URL and request type for the request
by the incoming params.
Resolves: OLPEDGE-2005
Signed-off-by: Oleksii Zubko<EMAIL_ADDRESS>

Codecov Report

Merging #319 into master will increase coverage by 0.2%.
The diff coverage is 95.2%.

@@           Coverage Diff            @@
##           master    #319     +/-   ##
========================================
+ Coverage    87.6%   87.8%   +0.2%
========================================
  Files          56      57      +1
  Lines        1559    1601     +42
  Branches      183     185      +2
========================================
+ Hits         1365    1405     +40
  Misses        121     121
- Partials       73      75      +2

Impacted Files
Coverage Δ

...here/olp-sdk-dataservice-api/lib/publish-api-v2.ts
95.2% <95.2%> (ø)

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 6ba1e1a...61feca9. Read the comment docs.

All parameters are optional?

All parameters are optional?

not all, but some interfaces have optional props. as other generated apis

All parameters are optional?

not all, but some interfaces have optional props. as other generated apis

2checked and updated. Some should be optional, some made required


fix: update noarch: python minimum version syntax to equivalent but more compatible

This PR updates the CFEP-25 noarch: python minimum version syntax to something equivalent, but more broadly compatible with conda-build.

@conda-forge/core This PR is ready for review!
cc @isuruf @ocefpaf @jaimergp @jakirkham @h-vetinari who (I think) were involved in the original discussion of the spec.

Also, I have put in a PR to conda-build that would let us keep the original syntax, but using something more compatible seems better anyways.


Does not work with Laravel 11

When using Laravel 11 and Statamic 5, I get following error:
Interface "Facade\IgnitionContracts\ProvidesSolution" not found

Same error here

The addon checks if antlers runtime is "runtime". With Statanmic 5 all other runtimes were removed, so the check is not needed anymore for Statamic 5.
You can try this workaround: add
'version' => 'runtime',
to
config/statamic/antlers.php
Nevertheless, the addon should receive an update; I might provide a pull request if i have some spare time.

That aside, this package assumes that spatie's ignition page is used by default. That's not the case with L11. Laravel 11 comes with a default error page. Nevertheless, it can easily be swapped with spatie's with a simple install which will subsequently solve the issue. Personally, I don't think this package should be depending on ignition contracts.


vulkan.hpp wont compile by default?

Not sure if this is a vulkan.hpp issue or a MoltenVK issue, but i'm getting this error:
In file included from libs/MoltenVK-<IP_ADDRESS>/include/vulkan/vulkan.hpp:6405:
libs/MoltenVK-<IP_ADDRESS>/include/vulkan/vulkan_structs.hpp:32564:5: error: defaulted definition of copy assignment operator is not constexpr
VULKAN_HPP_CONSTEXPR_14 MetalSurfaceCreateInfoEXT &
^
It complains about this code:
VULKAN_HPP_CONSTEXPR_14 MetalSurfaceCreateInfoEXT &
operator=( MetalSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default;
I'm just removing the VULKAN_HPP_CONSTEXPR_14 usage, is this something that might need to be changed in the generator as well?

This does sound like a vulkan.hpp issue. The VK_EXT_metal_surface extension is by no means specific to MoltenVK--in fact, it was originally proposed by @kvark because he wanted a WSI extension for Metal that wasn't specific to MoltenVK.


Use less strict isObject to allow also es6 classes

Update: This branch is still waiting for me to figure out some way to add more tests, so WIP :(

@villesau yeah have to think about that once we get this PR working

closing in favour of https://github.com/smartlyio/ng-redux/pull/4


Issue found on page 'CREATE MACRO Statement'

Please describe the problem you encountered in the DuckDB documentation and include the "Page URL" link shown below.
Note: only create an issue if you wish to report a problem with the DuckDB documentation. For questions about DuckDB or the use of certain DuckDB features, use GitHub Discussions, Stack Overflow, or Discord.

Page URL: https://duckdb.org/docs/sql/statements/create_macro.html
hi,
when I create a macro with parameter,the parameter has default value is null.
create macro test(c1,c2:=null) as (c2 is null and c1) or (c1 and c2)

when execute:
select test(1=1)

the result is ok
when execute:
select test(1=1,1=1)

the result is fail.throw a exception "Macro function 'test(c1)' requires a single positional argument, but 2 positional arguments were provided."

Hello, this seems related to an issue in the main DuckDB repository: https://github.com/duckdb/duckdb/issues/10539
This should be definitely better documented.


Rare bug where layer switches become disjointed

Not sure how to recreate though

e5b7497a536d5f0f8a71a68d99840fa494924abf
I think this was the cause


Delegate retry to the controller

By default Vault client config is configured to retry twice... we prefer to rely on the reconcile loop.
Can move the vault fix to another PR if you want.

@gusfcarvalho updated with only vault retry client set to 0

/merge


[spi_device/dv] spi_device chip level test using DIF

SPI_device top level test. This test uses DIF lib and spi_agent to test
chip level spi_device by:

Use DIF functions to initialize SPI and PLIC
Fill the TX FIFO with tx_data
Use SPI agent to drive MISO(rx_data) and MOSI data(tx_data from the TX FIFO)
From the SPI interface check if MISO is the correct rx_data
Use DIF functions to check if RX FIFO reads out the expected tx_data
Keep driving MISO and MOSI and check if interrupts are fired correctly. Checked interrupts are: rxf, rxlvl, txlvl, rxoverflow,
txunderflow

Signed-off-by: Cindy Chen<EMAIL_ADDRESS>

Hi @sriyerg, just want to ping to see if you have a chance to take a look at this PR?

This latest force push solved some merge conflicts. @sriyerg please let me know if you have any comments on this PR.

The latest force push update some sw libraries, and update dif_spi_device variable namings.

Is this now blocked on #3568?

Thanks Sam for the reference. Yes, I will modify this PR once #3568 is
merged.
Cindy Chen
On Thu, Oct 15, 2020 at 11:23 AM Sam Elliott<EMAIL_ADDRESS>wrote:

Is this now blocked on #3568
https://github.com/lowRISC/opentitan/pull/3568?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/2783#issuecomment-709508510,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXPOOJIFYGIOAIOID46K73SK44ZPANCNFSM4OWY3ZTA
.

Hey Cindy #3809 has landed - it allows you to randomize the SPI transmit and receive payloads.

Thanks for the info @sriyerg, the latest force push add #3809 support to randomize SPI's rx tx data set. Thanks for implementing this feature. It is very cool and very easy to use!


🐛 BUG: mailgun.js able send email in localhost, but failed in Cloudflare page and it returns Cannot convert object to primitive value

Which Cloudflare product(s) does this pertain to?
Pages
What version(s) of the tool(s) are you using?
3.17.1 [wrangler], 3.8.2 [nuxt], 8.0.6 [mailgun.js]
What version of Node are you using?
21.2.0
What operating system are you using?
Windows
Describe the Bug
I have a issue related to mailgun.js. I tried to send an email locally, and it works perfectly. However, on Cloudflare Page, it returns a status code 500 and an error message: 'Cannot convert object to primitive value.' Could you help me identify which part is causing the issue?
here is my code:
import Mailgun from 'mailgun.js'
import FormData from 'form-data'

export default defineEventHandler(async (event: any) => {
  const mailgun = new Mailgun(FormData)

  const mg = mailgun.client({ username: 'api', key: process.env.MAILGUN_KEY || '' })

  const body = await readBody(event)

  const data = {
    from: `${body.name} <${body.email}>`,
    to: process.env.MAIL_TO,
    subject: body.subject,
    text: body.message,
    html: `<html><body><p>Name : ${body.name}</p><p>Email : ${body.email}</p><p>Phone : ${body.phoneNumber}</p><p>Message : ${body.message}</p></body></html>`
  }

  return mg.messages
    .create(process.env.MAIL_DOMAIN || '', data)
    .then((response: any) => {
      return response
    })
    .catch((err: any) => {
      throw createError({
        statusCode: err
      })
    })
})

and here is my package.json
{
  "name": "nuxt-app",
  "private": true,
  "type": "module",
  "scripts": {
    "build": "NITRO_PRESET=cloudflare-pages nuxt build",
    "dev": "nuxt dev --port=3002",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare",
    "pages:dev": "wrangler pages dev --compatibility-date=2023-11-21 --proxy 3000 -- npm run dev",
    "pages:deploy": "npm run build && wrangler pages deploy ./dist"
  },
  "devDependencies": {
    "@babel/eslint-parser": "^7.23.3",
    "@babel/preset-env": "^7.23.3",
    "@nuxt/devtools": "latest",
    "@nuxtjs/axios": "^5.13.6",
    "@nuxtjs/eslint-config-typescript": "^12.1.0",
    "@nuxtjs/eslint-module": "^4.1.0",
    "@types/js-cookie": "^3.0.6",
    "eslint": "^8.54.0",
    "eslint-plugin-nuxt": "^4.0.0",
    "eslint-plugin-vue": "^9.18.1",
    "eslint-plugin-vuetify": "^2.1.0",
    "form-data": "^4.0.0",
    "js-cookie": "^3.0.5",
    "libphonenumber-js": "^1.10.51",
    "nuxt": "^3.8.2",
    "nuxt-security": "^0.14.4",
    "sass": "^1.69.5",
    "vite-plugin-eslint": "^1.8.1",
    "vite-plugin-vuetify": "^1.0.2",
    "vue": "^3.3.8",
    "vue-router": "^4.2.5",
    "vuetify": "^3.4.3",
    "wrangler": "^3.17.1"
  },
  "dependencies": {
    "@mdi/font": "^7.3.67",
    "@stripe/stripe-js": "^2.2.1",
    "@types/cookie-parser": "^1.4.6",
    "@types/graylog2": "^0.2.5",
    "dotenv": "^16.3.1",
    "graylog2": "^0.2.1",
    "mailgun.js": "^8.0.6",
    "vee-validate": "^4.12.2",
    "vue-recaptcha": "^2.0.3",
    "vuex": "^4.0.2"
  }
}

Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

Currently running in exactly the same issue.
@joelee1992 did you find a solution to this problem?

It depends how you're running it locally: if with nuxt (like younpm run dev/preview), then your Pages app is running in node.js and this could be a node compat issue with Cloudflare's runtime (workerd); if with wrangler pages dev (like npm run pages:dev), then there is some other discrepancy with our local and deployed environments which we'll look to fix.
Can you confirm how you ran it locally please?

Also experiencing with SES


building Ferret/ PyFerret on Mac OSX

Reported by @AnsleyManke on 24 Jul 2012 22:41 UTC
Here are notes for building Ferret v6.8 on Billy's machine:
The machine is called gizo
ssh -X gizo
log in as ansley,
We have some kind of root access, but it turns out that I can create files under /  but not under /usr/local/  I made a directory /netcdf_hdf and installed netcdf_42 and hdf5_188 under that.
The HOSTTYPE is intel-pc, but configure for netcdf and hdf5 detect the build system type as  i386-apple-darwin9.8.0.  I set HOSTTYPE to i386-apple-darwin and created the xgks CUSTOMIZATION file and platform_specific files with that name.
Some c code complained that ssize_t was undefined. Included the following definition in those routines, and put in a -DMAC_SSIZE in the CPP_FLAGS and a definition for ssize_t. This is checked in on the ferret trunk.
Remaining issues with standard Ferret:

threddsbrowser needs building.

Readline auto-completion doesn't work as we'd like. See this report: http://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2012/msg00387.html I see a readline library under /usr/lib and I pointed to that but maybe there's a better one to use.

External functions appear to run but return values of zero.  I released Ferret without any external functions.

netcdf 4.2 and hdf5 5.188 were built under the Users/ansley/netcdf  and Users/ansley/hdf directories and are also installed under /Users/ansley/local
Before running behchmarks:

install Ferret in some local diretory

setenv HOSTTYPE i386-linux-darwin

setenv PATH "/netcdf_hdf/netcdf_42/bin:$PATH" to define ncdump and ncgen.

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1954

Closing this out as it no longer applies.  Have a platform_specific.mk.intel-mac with appropriate configuration.  External functions share the common block memory with ferret, so they are working.


Fix extra args not being passed to jest

Describe the bug
When you try to run npx test-storybook TestName in order to run tests on a specific file - you get the following error:
TypeError: rawArgv2.replace is not a function
    at <anonymous> (node_modules/@storybook/test-runner/node_modules/jest-cli/build/cli/index.js:188:40)
    at Array.map (<anonymous>)
    at buildArgv (node_modules/@storybook/test-runner/node_modules/jest-cli/build/cli/index.js:188:17)
    at Object.run (node_modules/@storybook/test-runner/node_modules/jest-cli/build/cli/index.js:147:18)
    at async executeJestPlaywright (node_modules/@storybook/test-runner/dist/test-storybook.js:128:3)
    at async main (node_modules/@storybook/test-runner/dist/test-storybook.js:272:3)

Expected behavior
Specified test file is executed.

Could someone pretty please take a look at this PR? Right now the only way I know to update the coverage report is to run all of the Storybook tests. This can be very time consuming. Thanks!

Hey @zyulyaev thank you so so much for your contribution! <3

@yannbf and @zyulyaev thank you!!! This is working great :)

Hi there, just curious, why did this go to "next" as a pre-release rather than being released as a bugfix in a version 0.11.1?


python3Packages.pycddl: init at 0.4.0

Description of changes
Python bindings to a Rust crate for parsing and validating "CDDL" schemas
https://gitlab.com/tahoe-lafs/pycddl
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Thanks @fabaff , I've applied your suggested changes that I understood.

Thanks @SuperSandro2000 and @fabaff .  I believe I have addressed all of the review points.

@ofborg build python310Packages.pycddl


Bug with delayed head-method for pandas string columns

What happened:
So I stumbled upon a very random bug. Essentially, when running the head-method with delayed execution on a dask Series with the pandas string type, I stumble upon this error:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-20-a1acb387bb63> in <module>
----> 1 test = dask_df["d"].head(compute=False).values

~/opt/miniconda3/envs/wiyd/lib/python3.8/site-packages/dask/dataframe/core.py in values(self)
   2739         will not work.
   2740         """
-> 2741         return self.map_partitions(methods.values)
   2742
   2743     def _validate_chunks(self, arr, lengths):

~/opt/miniconda3/envs/wiyd/lib/python3.8/site-packages/dask/dataframe/core.py in map_partitions(self, func, *args, **kwargs)
    676         None as the division.
    677         """
--> 678         return map_partitions(func, self, *args, **kwargs)
    679
    680     @insert_meta_param_description(pad=12)

~/opt/miniconda3/envs/wiyd/lib/python3.8/site-packages/dask/dataframe/core.py in map_partitions(func, meta, enforce_metadata, transform_divisions, *args, **kwargs)
   5460
   5461     graph = HighLevelGraph.from_collections(name, dsk, dependencies=dependencies)
-> 5462     return new_dd_object(graph, name, meta, divisions)
   5463
   5464

~/opt/miniconda3/envs/wiyd/lib/python3.8/site-packages/dask/dataframe/core.py in new_dd_object(dsk, name, meta, divisions)
   6499                 for i in range(len(chunks[0])):
   6500                     layer[(name, i) + suffix] = layer.pop((name, i))
-> 6501         return da.Array(dsk, name=name, chunks=chunks, dtype=meta.dtype)
   6502     else:
   6503         return get_parallel_type(meta)(dsk, name, meta, divisions)

~/opt/miniconda3/envs/wiyd/lib/python3.8/site-packages/dask/array/core.py in __new__(cls, dask, name, chunks, dtype, meta, shape)
   1114         self.dask = dask
   1115         self.name = str(name)
-> 1116         meta = meta_from_array(meta, dtype=dtype)
   1117
   1118         if (

~/opt/miniconda3/envs/wiyd/lib/python3.8/site-packages/dask/array/utils.py in meta_from_array(x, ndim, dtype)
     68
     69     if isinstance(x, type):
---> 70         x = x(shape=(0,) * (ndim or 0), dtype=dtype)
     71
     72     if (

TypeError: Cannot interpret 'StringDtype' as a data type

So what fails? (See full example below):
dask_df["d"].head(compute=False).values

Interestingly enough, running the delayed head-method on the whole dataframe works, so there must be a connection to Series with this bug. Also running the above statement without values works fine too:
dask_df.head(compute=False).values
dask_df["d"].head(compute=False)

What you expected to happen:
I would expect the behaviour to not error out and show the values when computed.
Minimal Complete Verifiable Example:
import dask.dataframe as dd
import pandas as pd

df = pd.DataFrame.from_dict(
    {
        "d": ["a", "aa", "v", "aa", "aa", "aa"],
    }
)
df["d"] = df["d"].astype("string")
dask_df = dd.from_pandas(df, npartitions=2)

test = dask_df["d"].head(compute=False).values

Environment:

Dask version: 2021.02.0
Python version: 3.8.6
Operating System: MacOS
Install method (conda, pip, source): pip

Is the .values necessary to trigger the bug? There's another issue with .values causing issues with extension arrays.

Is the .values necessary to trigger the bug? There's another issue with .values causing issues with extension arrays.

Yeah, dask_df["d"].head(compute=False) doesn't error.

So this doesn't have anything to do with head(); in fact, it's just about .values on a delayed Series where the dtype is a pandas extension dtype:
import dask.dataframe as dd
import pandas as pd

s = pd.Series(["foo"], dtype="string")
dd.from_pandas(s, 1).values
# same TypeError: Cannot interpret 'StringDtype' as a data type

When constructing the dask Array's meta object, we're currently assuming the underlying array type is a NumPy array, when in this case, it's actually going to be a pandas StringArray. But unlike pandas, NumPy doesn't know how to handle a StringDtype.
I'll push up a potential fix for this in a moment.

I'm getting a similar error when using a string column as an index for set_index on a DataFrame:
TypeError: Cannot interpret 'StringDtype' as a data type
My code is basically the following:
dataframe = dd.read_csv(file_path, dtype={"colName": "string"}, blocksize=100e6) dataframe.set_index("colName")
And my pip freeze file is the following:
cloudpickle==1.6.0 dask==2021.4.0 docopt==0.6.2 fsspec==0.9.0 locket==0.2.1 numpy==1.20.2 pandas==1.2.3 partd==1.1.0 pycodestyle==2.7.0 python-dateutil==2.8.1 pytz==2021.1 PyYAML==5.4.1 six==1.15.0 toml==0.10.2 toolz==0.11.1
Is this a bug or expected behavior? Changing the index to an object type solved my issue.

I have pd.DataFrame with string columns and am hitting this bug when simply trying to convert it to a dask dataframe:
>>> df = dd.from_pandas(packed_data, npartitions=1).set_index('Reference')
Traceback (most recent call last):
  File "C:\Users\dhirschf\envs\dev\lib\site-packages\IPython\core\magics\execution.py", line 1321, in time
    exec(code, glob, local_ns)
  File "<timed exec>", line 1, in <module>
  File "C:\Users\dhirschf\envs\dev\lib\site-packages\dask\dataframe\core.py", line 4249, in set_index
    **kwargs,
  File "C:\Users\dhirschf\envs\dev\lib\site-packages\dask\dataframe\shuffle.py", line 163, in set_index
    df, index2, repartition, npartitions, upsample, partition_size
  File "C:\Users\dhirschf\envs\dev\lib\site-packages\dask\dataframe\shuffle.py", line 35, in _calculate_divisions
    divisions, sizes, mins, maxes = base.compute(divisions, sizes, mins, maxes)
  File "C:\Users\dhirschf\envs\dev\lib\site-packages\dask\base.py", line 568, in compute
    results = schedule(dsk, keys, **kwargs)
  File "C:\Users\dhirschf\envs\dev\lib\site-packages\dask\threaded.py", line 87, in get
    **kwargs
  File "C:\Users\dhirschf\envs\dev\lib\site-packages\dask\local.py", line 514, in get_async
    raise_exception(exc, tb)
  File "C:\Users\dhirschf\envs\dev\lib\site-packages\dask\local.py", line 325, in reraise
    raise exc
  File "C:\Users\dhirschf\envs\dev\lib\site-packages\dask\local.py", line 223, in execute_task
    result = _execute_task(task, data)
  File "C:\Users\dhirschf\envs\dev\lib\site-packages\dask\core.py", line 121, in _execute_task
    return func(*(_execute_task(a, cache) for a in args))
  File "C:\Users\dhirschf\envs\dev\lib\site-packages\dask\dataframe\partitionquantiles.py", line 416, in percentiles_summary
    elif np.issubdtype(data.dtype, np.integer) and not is_cupy_type(data):
  File "C:\Users\dhirschf\envs\dev\lib\site-packages\numpy\core\numerictypes.py", line 419, in issubdtype
    arg1 = dtype(arg1).type
TypeError: Cannot interpret 'StringDtype' as a data type

In my case it looks like it's casting to numpy with .values here:
https://github.com/dask/dask/blob/758f4e4b97c985fc84fd0b9d5fa0abcf8fda760d/dask/dataframe/partitionquantiles.py#L411

This is similar to what we're discussing in #5720 . The problem appears to be in partitionquantiles.py, which thinks that it is numpy dtypes being used, and not extended Pandas ones.


[Bug]: Update error messages

Bug
Currently User Not Found is the only error message.
Fix
Add unique messages depending on the actual failure.
More descriptive or instructive but still "front end friendly" aka an average user should understand what's happening.
Potential errors + messages (not confirmed):
Server/API failure (400 codes) -> Try Again
No user -> Not Found: <user-name>
No repo -> Not Found: <repo-name>
Open to suggestions of anything that might be useful or informative for the user.

May I have this dance?

@Akidane47 Yes please :) I wasn't expecting anyone to even see these issues so give me a bit to refactor a few things so contributing is more straightforward. I'll assign you when ready, hopefully in the next day or two. Thanks!!

It's ready for you @Akidane47, reach out here if you need anything. Thanks!

My first thought is having two separate search bars or buttons for  searching users and repos? I'm noticing it's having a harder time searching or finding repos than it is with users and it could make the error handling much easier. Style wise I'm not sure how you would want that to look if that's a viable solution. If not, I can just start adding middleware to handle different exceptions and errors

I'd like to keep it as a single search input + single button, that may change in the future as #101 and #103 are implemented but ideally it will keep leveraging delimiters in a way that is compatible with url destructuring so that the input chiefmikey/gitlang results in the path https://gitlang.net/chiefmikey/gitlang and vice versa.
Do you have any examples of repo searches that are giving you issues? Ultimately searching a repo should be easier since it's the same function as searching a user but instead of listing and compiling languages for all of the user's repos it's just pulling results for the one specified repo in search. So if you're seeing anything off with that there may be a bug to look into.
For the error messages, it's probably easiest to implement responses directly in the server routes for repos, languages and the auth, then flow the error handling to send the custom message to the front end.
Example (variable names aren't accurate, just descriptions):
Input: chiefmikey/repo-doesnt-exist
Catch error in languages: if error = no repo => { error: ${repo}: Not Found }
Condition in server router: If response.error => { error: response.error }
Condition in front end query: If response.data.error => { error: response.data.error }
Condition in front end router: If response.error => { data: { error: response.error } }
Condition in front end submit method: If data.error data = { error: data.error }
Condition in front end html: #if data.error <h4>{data.error}</h4>
If you want to stick with middleware I'll need to do a little refactoring, which is no problem and should probably happen anyways. The front end is hosted as static/serverless on github pages hitting a headless api that handles routes for multiple front end apps stuffed into one aws ec2 instance. The gitlang server code is injected into the instance on deployment which has a condition for serving routes based on what apps are currently injected. I'll copy the auth-server koa files into this repo so they can be updated from here and injected with deployment, I'll comment when that's done so you can update your fork.
Thanks in general too for your ideas, it's really helping me think about the current implementation and what info needs to be documented!

Also just fyi when you are ready, I've implemented a beta site that will publish a PR merged with the current production code for live testing at https://beta.gitlang.net to make sure the auth-server authentication and api calls are working properly.