Feat/event details bug

Issue
Closes issue #110
What is changed / added

parsing date now to avoid extra text from the scraping
parsing imageURL to avoid image url coming out as some random base64 string

Screenshots

https://user-images.githubusercontent.com/43979159/143367252-90756cbf-707b-4bf8-9e56-ee021eea2a0f.mp4

Added @dark7866 since now scraper affects application


Add unit parameter to AvgTimeBetween

Added unit parameter to AvgTimeBetween
This PR adds a unit parameter to AvgTimeBetween primitive, similary to TimeSinceFirst, TimeSinceLast and TimeSincePrevious.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix typo in replaySafeHash docs

Review Error for OKEAMAH @ 2024-09-27 09:33:58 UTC
User must have write permissions to review


I'm getting a BingChatException: 'Success'

I have added BingChat to my project and copied my bing.com's "_U" cookie value, but when I try to run var answer = await client.AskAsync("Whats the weather like?"); I get this error: BingChat.BingChatException: 'Success: .'
How would I go about fixing this?

Looks like a duplicate of #5. The latest version (v0.4.1) may have fixed this problem, you can try it.


Jest setup fails when using this as a Jest preset

Description
My company is using this NPM package in our TVOS and Android TV project. I am setting up Jest testing in a Jest projects solution as our react native package exists inside a monorepo.
React Native version:
From my package.json: "react-native"<EMAIL_ADDRESS>Steps To Reproduce
Below is my jest.config.js
'use strict'
const baseConfig = require('../../jest.config.base');
const { defaults: tsjPreset } = require('ts-jest/presets');
const packageName = "native";

module.exports = {
  ...tsjPreset,
  ...baseConfig,
  globals: {
    'ts-jest': {
      tsConfig: '<rootDir>/tsconfig.json',
      babelConfig: true,
      diagnostics: false,
    },
  },
  roots: [
    './',
  ],
  collectCoverageFrom: [
    'src/**/*.{ts,tsx}',
  ],
  preset: "react-native",
  setupFilesAfterEnv: ["@testing-library/jest-native/extend-expect"],
  moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
  transform: {
    '^.+\\.(js|jsx|ts|tsx)$': 'ts-jest',
  },
  transformIgnorePatterns: [
    "/node_modules/(?!(react-router-native|react-native)/)"
  ],
  testEnvironment: 'jsdom',
  name: packageName,
  displayName: packageName,
  rootDir: './',
};

and my package.json:
{
  "name": "<obscured>",
  "version": "0.3.0",
  "private": true,
  "scripts": {
    "android": "react-native run-android --variant \"localDebug\" --appIdSuffix \"local\"",
    "tvos": "react-native run-ios --simulator \"Apple TV\" --scheme \"jijidemotmdb-tvOS\" --configuration \"Local-Debug\"",
    "start": "react-native start",
    "test": "jest"
  },
  "dependencies": {
    "<obscured>": "0.7.0-mainline.1642674980",
    "<obscured>": "0.7.0-mainline.1642674980",
    "<obscured>": "0.4.1",
    "history": "5.0.0",
    "<obscured>": "0.3.0",
    "lottie-ios": "3.1.8",
    "lottie-react-native": "3.5.0",
    "metro-config": "0.59.0",
    "react": "16.13.1",
    "react-native"<EMAIL_ADDRESS>    "react-native-linear-gradient": "^2.5.6",
    "react-native-svg": "12.1.0",
    "react-native-svg-transformer": "^0.14.3",
    "react-native-video": "5.2.0",
    "react-router": "5.2.0",
    "react-router-native": "5.2.0"
  },
  "devDependencies": {
    "@babel/core": "7.13.15",
    "@babel/plugin-transform-runtime": "^7.17.0",
    "@babel/preset-env": "^7.16.11",
    "@babel/preset-react": "^7.16.7",
    "@babel/preset-typescript": "^7.16.7",
    "@babel/runtime": "7.13.10",
    "@testing-library/jest-native": "^4.0.4",
    "@testing-library/react-native": "^9.0.0",
    "@types/jest": "26.0.22",
    "@types/react": "17.0.3",
    "@types/react-native": "0.63.52",
    "@types/react-native-video": "5.0.10",
    "@types/react-router-native": "5.1.0",
    "@types/react-test-renderer": "17.0.1",
    "babel-jest": "^27.5.1",
    "babel-preset-env": "^1.7.0",
    "babel-preset-react": "^6.24.1",
    "jest": "^27.5.1",
    "jest-svg-transformer": "^1.0.0",
    "metro-react-native-babel-preset": "0.59.0",
    "react-native-typescript-transformer": "1.2.13",
    "react-test-renderer": "16.13.1",
    "ts-jest": "^27.1.3",
    "ts-loader": "^9.2.8",
    "typescript": "4.2.4"
  },
  "resolutions": {
    "react-devtools": "4.13.4"
  },
  "rnpm": {
    "assets": [
      "./assets/fonts/"
    ]
  }
}

And finally my babel.config.js:
module.exports = {
  presets: [
    "@babel/preset-env",
    "@babel/preset-react",
    "@babel/preset-typescript",
    "module:metro-react-native-babel-preset"
  ],
  plugins: [
    [
      "@babel/plugin-transform-runtime",
      {
        "regenerator": true
      }
    ]
  ]
}

Now running Jest results in the following error:
Test suite failed to run

    ReferenceError: <obscured>packages/native/node_modules/react-native/jest/setup.js: The module factory of `jest.mock()` is not allowed to reference any out-of-scope variables.

    Note: This is a precaution to guard against uninitialized mock variables. If it is ensured that the mock is required lazily, variable names prefixed with `mock` (case insensitive) are permitted.

      91 | })
      92 |     .mock('../Libraries/Components/TextInput/TextInput', function () {
    > 93 |     return mockComponent('../Libraries/Components/TextInput/TextInput', __assign(__assign({}, MockNativeMethods), { isFocused: jest.fn(), clear: jest.fn(), getNativeRef: jest.fn() }));
         |                                                                         ^^^^^^^^
      94 | })
      95 |     .mock('../Libraries/Modal/Modal', function () {
      96 |     return mockComponent('../Libraries/Modal/Modal');

      at File.buildCodeFrameError (node_modules/@babel/core/lib/transformation/file/file.js:240:12)
      at NodePath.buildCodeFrameError (node_modules/@babel/traverse/lib/path/index.js:139:21)

Maybe the react-native-tvos Jest setup script doesn't work with the current version of Jest?
I've tried downgrading all my Jest related packages but I can only go so far back before a ts-jest preset no longer exists or similar errors.
If someone has a working Jest setup with this package, I would love to see an example jest config and other required files/packages as i'm just doing the initial setup so i'm not married to any of the extra components here.

@JackAlexRose thanks for the bug report. Is this something that can be reproduced with a new project created with a TS template, e.g.
react-native init TestApp --template=react-native-typescript-template-tv

Alternatively, do you have a demo project that reproduces this error?
Do you see this error in RN core 0.67 release, or 0.68 release candidates?

Your react-test-renderer version is too low for your react version I think


Add a team of agents

How do you want to recibe the data?
{
    "id": "agent-4771",
    "name": "Cmdr. Frank 'Wet Sox' Baroud | SEAL Frogman",
    "description": "First on deck and last off it, Cmdr. Frank Baroud is a third generation SEAL and second combat diver ever to receive The Navy Cross medal; 'Goggles' was the first. Count on Baroud to solve the most complicated underwater and ground based conflict situations, like the time he defused several IED's which were planted in a network of flooded caves beneath a US embassy. Baroud chalks it up to his impeccable attention to detail, because after all, when your life depends on the equipment you're wearing, a simple mistake may be the last one you make. His uncompromising attention to detail earned him the nickname 'Wet Sox'.\\n\\nDouble check it. Then triple check it. Then check it again.",
    "rarity": {
        "id": "rarity_ancient_character",
        "name": "Master",
        "color": "#eb4b4b"
    },
    "collections": [
        {
            "id": "collection-set-op11-characters",
            "name": "Operation Riptide Agents",
            "image": "https://raw.githubusercontent.com/steamdatabase/gametracking-csgo/108f1682bf7eeb1420caaf2357da88b614a7e1b0/csgo/pak01_dir/resource/flash/econ/set_icons/set_op11_characters.png"
        }
    ],
    "image": "https://steamcdn-a.akamaihd.net/apps/730/icons/econ/characters/customplayer_ctm_diver_variantb.8991b3d936d3b2577e842d07038cc86381046b7f.png",

    "used_by": ["counter-terrorists"]
},

Something like this?

I don't think it's that important, the main thing is to be able to understand which team the agent is for

I guess you could do something like this
{
    "id": "agent-4771",
    "name": "Cmdr. Frank 'Wet Sox' Baroud | SEAL Frogman",
    "description": "First on deck and last off it, Cmdr. Frank Baroud is a third generation SEAL and second combat diver ever to receive The Navy Cross medal; 'Goggles' was the first. Count on Baroud to solve the most complicated underwater and ground based conflict situations, like the time he defused several IED's which were planted in a network of flooded caves beneath a US embassy. Baroud chalks it up to his impeccable attention to detail, because after all, when your life depends on the equipment you're wearing, a simple mistake may be the last one you make. His uncompromising attention to detail earned him the nickname 'Wet Sox'.\\n\\nDouble check it. Then triple check it. Then check it again.",
    "rarity": {
        "id": "rarity_ancient_character",
        "name": "Master",
        "color": "#eb4b4b"
    },
    "collections": [
        {
            "id": "collection-set-op11-characters",
            "name": "Operation Riptide Agents",
            "image": "https://raw.githubusercontent.com/steamdatabase/gametracking-csgo/108f1682bf7eeb1420caaf2357da88b614a7e1b0/csgo/pak01_dir/resource/flash/econ/set_icons/set_op11_characters.png"
        }
    ],
    "image": "https://steamcdn-a.akamaihd.net/apps/730/icons/econ/characters/customplayer_ctm_diver_variantb.8991b3d936d3b2577e842d07038cc86381046b7f.png",

    "team": "ct" ( ct | tt )
},

Understood. I suppose there aren't any agents that can be used in both, correct?

Understood. I suppose there aren't any agents that can be used in both, correct?

Yep iirc

Added, it will return the id and the name translated.
{
    "team": {
        "id": "counter-terrorists",
        "name": "Counter-Terrorist"
    },
}

Will be deployed tomorrow.


Implement Space function push down #5113

What problem does this PR solve?
Issue Number: close #5113
Problem Summary: Implement Space function push down #5113
Related PR:https://github.com/pingcap/tidb/pull/35753
What is changed and how it works?
Check List
Tests

[x] Unit test
[x] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

Support to pushdown space to TiFlash

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-unit-test

/run-all-test

/run-all-tests

/run-all-tests

/run-all-tests

/run-integration-test

/run-all-tests

/run-all-tests

/run-build

/run-all-tests

/run-all-test

/run-build

/run-all-tests

/run-build

/run-integration-test

/run-integration-test

/run-build

/run-integration-test

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/merge


Run half-precision models on Android

Is it possible to run half-precision (float16) graphs on Android (arm64-v8a/AArch64 supports half-precision)? If so, what would be the approach to do that? Trying to run a float16 graph gives an exception saying that only INT32 and Float32 ops are supported.
Thank you in advance,

@andrewharp do you know how far we are from that?

@petewarden can correct me if I'm off base here, but I don't believe float16 support is something we're currently targeting.
Most of our attention on mobile is focused on quantized 8bit support, which should give you even better size gains and possibly performance as well. Support for quantizing graphs can be found in the transform_graph tool.

@andrewharp thank you for the feedback. I am familiar with the 8bit quantization tool. Unfortunately, it results in a major drop in performance in my case. Probably because the network uses a custom activation (not ReLU, but something similar to ELU) while the quantization tool is (I believe) optimized for the ReLU activation. Also, I would like to use a higher precision than 8-bit for my problem, hence my interest in the half-precision support.
But since Eigen supports half-precision, I believe half-precision support would be relatively easier to integrate than 8bit quantization since it does not require any fancy op mapping.

From the description of the quantize_weights transform:

Even though there are no prerequesites, it is advisable to run fold_batch_norms or fold_old_batch_norms, because rounding variances down to zero may cause significant loss of precision.

Could it be that your loss in precision is (similar to) this kind of numerical hiccup?

@Androbin Thank you for the feedback but I don't use batch normalization. I think the main problem with the quantization tool is that the activation should be ReLU (the rounding option works fine though).

@hicham-eyeem As this is an issue involving a custom op we don't really have the bandwidth to investigate right now, but if you want to propose a general solution in a PR we'd be happy to take a look.

(Triaging issues.) Since @andrewharp from the TF Mobile team is willing to take a look at PRs, I'm marking this as contributions welcome.

@andrewharp thank you, I hope I will have time to take a look at it. I remember I have also tried to decompose ELU as a sum of ReLU and masked exp(input) - 1 , still produced the same results, so I think the problem comes from the exp function on quantized values.

I got the same problem. Is there any solution?

Hi @hicham-eyeem ! Does above PR resolve this issue?

@hicham-eyeem,
Could you please take a look at this PR and confirm whether the PR resolves the issue. Thank you!


Update set-the-caller-id-for-a-user.md

Please merge the changes to have accurate and precise information rather than just addition of lines.

Please merge the changes.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@CarolynRowe PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Remove hive metastore dependency on table client

Proto definitions for hive metastore

Proto definitions are based off of the hive metastore definitions at https://github.com/apache/hive/blob/master/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift. They may be subject to change.

CatalogMasterClient interface replaces the Hive thrift object types with Alluxio proto object types.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5376/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5378/
Test PASSed.

alluxio-bot, merge this please


Change CompletionItem API so that some items can be marked by a class name

Feature request
We are experimenting with a completion provider to help people find useful methods of .Net classes on try.dot.net, which embeds the Monaco editor. Each time completion is required, up to 5 CompletionItems are put at the top of the dropdown.
It would be great if CompletionItem can take in another string property, which will then be appended to the div's list of class names (right now it has "monaco-list-row" or "monaco-list-row focused"). This way, try.dot.net can change these CompletionItems' appearance in its css.
First time submitting feature request - please let me know if more information would be helpful.

Why can you not use detail or documentation for this? Can you attach a mockup of want you want?

Thanks jrieken - a mockup of what we would like to see:

Basically we want to be able to style some completion items differently so they are distinguishable at a glance, since they are out of the alphabetical order and may confuse the user otherwise.
My idea for how to do this is, let CompletionItem take another string input, e.g. 'recommended', and then put that string as a part of the 's class, so now this completion item will have class 'monaco-list-row recommended'. The website that embeds the Monaco editor, i.e. try.dot.net, can modify its css to give  with class 'monaco-list-row recommended' a different color.
Let me know and I'll be happy to clarify!

Basically we want to be able to style some completion items differently so they are distinguishable at a glance, since they are out of the alphabetical order and may confuse the user otherwise.

Tricky because provider only own the initial sorting and as soon as something is typed, completion items are re-order based on how well they match that text.

My idea for how to do this is, let CompletionItem take another string input, e.g. 'recommended', and then put that string as a part of the div's class

That's nothing we can do for VS Code because extensions have no control/access of/to css-styles et al. Ideally, there is a solution that works for both... Having a color would fit into our model (of color customisations) but this still needs some thinking

Thanks jrieken. I guess customize individual completion items is tricky here. I'll log an issue in the Monaco repo to see if they can do anything there...

n issue in the Monaco repo to see if they can do anything there?

Nah, it's the same code and people ;-)


Avoid slow type checks against promises on outbound buffer's progress

Motivation:
ChannelOutboundBuffer's progress perform expensive type checks that can reduce scalability or just performing wasteful operations over common Netty types. This behaviour pop-up in few real-cases, but sadly it cannot be captured easily by java profilers due to https://github.com/jvm-profiling-tools/async-profiler/issues/673
Modification:
Prefer direct class checks for void promises and guarding Netty types by using concrete class type checks over interface type checks, that will be left to user-defined promises instead.
Result:
Faster type checks for Netty types and faster outbound buffer progress's performance.

@vietj as well: I have no idea if vert-x does impl it's own promises that can hit the slowest path here (the interface type check)

@normanmaurer do you know how frequently can happen for promises types to hit the very last type check and fail (because not ChannelProgressivePromise`?)  i.e.
https://github.com/netty/netty/blob/404580c31ca80a43b321af9279f4e0d079cc1059/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java#L257-L259
I don't want to harm any other possible case here, but, as reported in the comment, I'm ofteen seeing this pop-up in real world assembly profiling, due to the super-slow path check of void promises (mostly).

This is a part (I've added some notes to help the reader) related this issue; in this case was happening with void promises (very common hot path on Netty 4.1):
           │  0x00007f1260410945: mov    0x20(%rsi),%rcx     ; reading it the secondary super cache field of VoidChannelPromise's Klass into rcx
  0.02%    │  0x00007f1260410949: movabs $0x80011abe0,%rdi   ;   {metadata('io/netty/channel/ChannelProgressivePromise')}
           │  0x00007f1260410953: cmp    %rdi,%rcx	     ; comparing it against ChannelProgressivePromise (and failing, because ssc contains only implemented types
           │  0x00007f1260410956: je     0x00007f1260410a84  ; never happen here
  0.02%    │  0x00007f126041095c: movabs $0x80011abe0,%rax   ;   {metadata('io/netty/channel/ChannelProgressivePromise')}
           │  0x00007f1260410966: push   %rax		     ; breaking java profiler by modifying the stack frame size :"( by pushing on the stack ChannelProgressivePromise
  0.00%    │  0x00007f1260410967: mov    %rax,%rax
           │  0x00007f126041096a: mov    0x28(%rsi),%rdi     ; reading the secondary supers field of VoidChannelPromise's Klass
  0.03%    │  0x00007f126041096e: mov    (%rdi),%ecx
  0.02%    │  0x00007f1260410970: add    $0x8,%rdi
  0.00%    │  0x00007f1260410974: test   %rax,%rax
  0.18%    │  0x00007f1260410977: repnz scas %es:(%rdi),%rax ; perform O(N) search on secondary supers field of VoidChannelPromise to find ChannelProgressivePromise
  0.81%    │  0x00007f126041097a: pop    %rax	             ; skidding here: this poor instruction took all the blame of the CPU cycle's cost :"(
  0.21%   ╭│  0x00007f126041097b: jne    0x00007f1260410985
          ││  0x00007f1260410981: mov    %rax,0x20(%rsi)     ; saving ChannelProgressivePromise into ssc's of VoidChannelPromise: this cannot happen, is not an implemented type
  0.00%   ↘│  0x00007f1260410985: je     0x00007f1260410a84  ;*instanceof {reexecute=0 rethrow=0 return_oop=0}
           │                                                 ; - io.netty.channel.ChannelOutboundBuffer::progress@45 (line 246)
           │                                                 ; - io.netty.channel.ChannelOutboundBuffer::removeBytes@73 (line 349)
           │                                                 ; - io.netty.channel.epoll.AbstractEpollStreamChannel::writeBytesMultiple@87 (line 305)
           │                                                 ; - io.netty.channel.epoll.AbstractEpollStreamChannel::doWriteMultiple@45 (line 510)
           │                                                 ; - io.netty.channel.epoll.AbstractEpollStreamChannel::doWrite@31 (line 422)

Ready to go @normanmaurer !

Thanks a lot!


chore(main): release 0.7.8

:robot: I have created a release beep boop
0.7.8 (2022-09-23)
Bug Fixes

IHP: Set default values for checkbox & use checked={} (3cd4e94)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BLSQ/openhexa-frontend/releases/tag/0.7.8 :sunflower:


[FLINK-4595] Close FileOutputStream in ParameterTool

https://issues.apache.org/jira/browse/FLINK-4595

+1, will merge it later on.


Doesn't work anymore.

Looks like your FB page is not available anymore:
https://m.me/Struck-1543353992649814
The m.me page isn’t working
m.me is currently unable to handle this request.
HTTP ERROR 500

Thanks for reporting this, I unfortunately was on vacation and lost my Struck.io domain before I could renew it so I've pretty much let that Facebook page go. I'll find something new to put it under for user testing. Thanks again.


CI: stop asserting local binderhub version match remote version

Closes #1200 by no longer asserting the remote test environment will have the binderhub version according to versioneer which use git commits to decide its version, compared to the built image.
The image would rebuild if binderhub the Python package had changed at all, but it wouldn't if something unrelated has been committed. The _version.py script doesn't care about this though, and decides the binderhub package is even newer than the image and observes a version mismatch.
Due to this, I suggest we stop asserting this. I don't see this assertion to be helpful to make unless we tighten down the test to only be relevant in a few cases, and that doesn't seem to be helpful enough to motivate it. Due to this, I'll go ahead and remove this assertion from the /about test.

It would be good to add a modified version of this assertion back. The test didn't mean to check that the versions were the same but that the version appears in the page. I think using the local version was an easy way to check that the expected text appears. A bit more tricky to do if we don't know what version will appear but it would be good to keep testing that a vresion is displayed.

I agree @betatim, i felt i overstepped, and added it back in https://github.com/jupyterhub/binderhub/pull/1203/files


[ZEPPELIN-4321] Rework Zeppelin with Latest Angular

What is this PR for?
The old version of zeppelin was written with AngularJS, there exist many issues related to the zeppelin-web and could not resolve due to the low version of AngularJS.
So we rework the zeppelin-web with the latest Angular (8.0).
What type of PR is it?
Feature
Todos
Pages

Name
Route
Module
UI

Home
/
HomeModule
Y

Login
/login
LoginModule
Y

Job Manager
/jobmanager
JobManagerModule
Y

Interpreter Setting
/interpreter
InterpreterModule
Y

Notebook
/notebook/{id}
NotebookModule
Y

Notebook Repos
/notebookRepos

Credential
/credential

Helium
/helium

WIP

Configuration
/configuration

Notebook Features

Feature
Note
Status

Files System
Create/ Rename/ Import etc.
Y

Toolbar Actions
The top toolbar actions
Y

Paragraph Features

Feature
Note
Status

Grid layout and resizable

Y

Code Editor

Y

Actions
The Corresponding actions of the drop-down menu in the setting button
Y

Actions(hot-keys)
Support hot-keys for the actions
WIP

Publishable
publish paragraphs

Stream

Result Display

Type
Status

Dynamic Form
Y

Text
Y

Html
Y

Table
Y

Network

Table Visualization

Type
State

Line Chart
Y

Bard Chart
Y

Pie Chart
Y

Area Chart
Y

Scatter Chart
Y

Helium Visualization

Type
Note
Status

Prototype
To verify the implementable prototype
Y

Publish Dependencies
Just like zeppelin-vis
WIP

Example Projects

Y

Development Documents

WIP

What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-4321
https://issues.apache.org/jira/browse/ZEPPELIN-4215
How should this be tested?
Prerequisites

Node.js version 10.9.0 or later or use creationix/nvm.
NPM package manager (which is installed with Node.js by default).
Angular CLI version 8.3.0 or later.

Install
$ cd zeppelin-frontend
$ npm install

Install dependencies in the project directory.
Start Zeppelin server
Run Zeppelin server on http://localhost:8080.
If you are using a custom port instead of the default(http://localhost:8080) or other network address, you can create .env file in the project directory and set SERVER_PROXY.
.env
SERVER_PROXY=http://localhost:8080

Development server
$ npm start

Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Build
Run npm build to build the project. The build artifacts will be stored in the dist/ directory.
Screenshots (if appropriate)
Login

Home

Interpreter

Job Manager

Dynamic Form

Frontend API(latest Angular)

** Visualization**

Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? Maybe
Does this needs documentation? YES

@hsuanxyz Could you add apache license header ?

@zjffdu Ok, I will add a tslint rule that will automatically be added the license header when each time commit.

Thanks @hsuanxyz In the PR description, the Note column in table should be renamed to Description

@hsuanxyz why is the network visualization not implemented?

@conker84 We plan to continue development after this PR review is done. All tasks in the list will be completed.

@zjffdu

In the PR description, the Note column in table should be renamed to Description

Done

Does package-lock.json need to be committed ?

Added

I have added the pom.xml configuration file, now build and test will run in CI. We will add more tests after the project is relatively stable.

I have merged it, could you close this PR ? @hsuanxyz

I have merged it, could you close this PR ?

@zjffdu Thank your.


Packages named test* should be allowed

What version of dep are you using (dep version)?
dep:
 version     : devel
 build date  :
 git hash    :
 go version  : go1.9.4
 go compiler : gc
 platform    : darwin/amd64

What dep command did you run?
dep init -v

What did you expect to see?
I expect it to vendorize my package
What did you see instead?
Getting direct dependencies...
Checked 0 directories for packages.
Found 0 direct dependencies.
init failed: validation of solve parameters failed: validateParams: at least one package must be present in the PackageTree

Here's the repo:
testdata

The Go tool treats directories named testdata specially. From https://golang.org/cmd/go/#hdr-Test_packages

The go tool will ignore a directory named "testdata", making it available
to hold ancillary data needed by the tests.

In fact, I am able to go get github.com/magicalbanana/testdata, but unable to run go test within the directory.


AsyncEvents in EventSink

Added publishAsync to EventSink interface and corresponding implementation in  NatsEvetnSink default implementation.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


WordPress works only for / path with ingress.enabled=true

Fixes #748

@omegazeng Please do a check if this PR works for you. I made the pathType configurable. Default value is still the Kubernetes default "ImplementationSpecific"


Add tags for every new version of node

In order to use this image in production we need version tags.

Why is this not being addressed? Seems like a trivial change.

@adam-beck: node.js (along with a whole bunch of other important bases) are actually covered in the Docker Hub by official images, e.g. https://registry.hub.docker.com/_/node/, which are carefully maintained, tagged etc.
The "dockerfile" project, while often high up on the the Google results, contains mostly abandonware by comparison.

the official image is based on Debian, which may or may not be what you need...

Btw, this image was updated a month ago, so not being tagged may not be as much being abandonware as much as being lame :)

@manast: not picking on this repo in particular, just my general observation of things under github.com/dockerfile, feel free to disagree. :)

@manast how exactly tagging works?

@nomadster you need to read docker images documentation, its quite basic stuff: https://docs.docker.com/userguide/dockerimages/

Oh seems pretty simple and legit. Let's see if I can find some time later to add this on the PR I've made (#7).

:+1:


[FLINK-1528][Gelly] Added Local Clustering Coefficient Example

Hi!
I closed https://github.com/apache/flink/pull/400 and created this instead, because the commit history was messed up.
I have the following exception when running LocalClusteringCoefficientExample
Exception in thread "main" org.apache.flink.api.common.functions.InvalidTypesException:
Type of TypeVariable 'K' in 'class flink.graphs.library.LocalClusteringCoefficient
$NeighborhoodEdgesFunction' could not be determined.
This is most likely a type erasure problem. The type extraction currently supports types
with generic variables only in cases where all variables in the return type can be deduced
from the input type(s).

I have no idea how to fix this though. This is @vasia's old reply:

The problem is here:
DataSet<Tuple2<K, HashSet<K>>> neighborhoods = input.reduceOnEdges(new NeighborhoodEdgesFunction<K>(), EdgeDirection.OUT);

and we try to get the return type Tuple2<K, HashSet<K>> like this:
public TypeInformation<T> getProducedType() {
     return TypeExtractor.createTypeInfo(EdgesFunction.class, function.getClass(), 2, null, null);
}

Anyone have an idea? Is it because of the nested type parameter in Tuple2<K, HashSet<K>> ?

Also, I tried propagating an additional parameter Q extends HashSet<K>, but it didn't help.
Does anybody know what's wrong here?
Thanks in advance!

Does anyone have an idea about this? Is there a way to pass the HashSet<K> type?
In any case, even if not, I think it doesn't matter in this case.
I believe we shouldn't add this as a library method, as it is a quite naive implementation of local clustering coefficient. I'd prefer if we try to keep the library methods as efficient as possible.
However, I would definitely add this as an example, since it very nicely demonstrates how to use neighborhood methods and joinWithVertices (which are missing from the other examples).
So, I would suggest we change this to an example that uses a sample dataset, with e.g. Long ids and also allows file input. What do you think @balidani?

Hi!
I agree. I will change the example then :)

I made the changes @vasia suggested

Hi @balidani! Thanks for the example :))
I'm a bit confused about the directed / undirected case. I tried testing with both a directed and an undirected input and both my tests failed.. See here are the test cases I tried.
I suppose the directed case doesn't work because you only consider the out-neighbors, when you should count all. And for the undirected case, I think that the division by 2 you're making is giving a wrong result, because you're not counting edges, just out-neighbors neighbors.

Hi @vasia! I fixed the algorithm, now it will convert all edges to a pair of edges and call distinct on the edge set. This gives the correct results now. Thanks!

Hi @balidani! I think it's still a bit confusing how this example works.
As far as I understand, you expect a directed graph as input, but then you convert it to an undirected one and compute the clustering coefficient of the undirected graph, right?
We should either document this behavior clearly in the example description or compute the result for the input we expect. I personally prefer the second :-)
Also, take a look in the other examples and write a short usage description in the beginning of the example, including the input format that you expect when args are provided.
Let me know if you have questions! Thanks!

Hey @balidani!
Would you like to finish this up?
It's not really urgent, but it's almost finished and it'd be a pity to abandon :)
Someone else could also take over of course. Just let us know!

Yeah, I should definitely finish this! I'll take a look tonight, sorry about that :)

Any progress on this pull request, or should it be closed?

@balidani,
I think it'd be better if you close this PR. I don't think we'll add another example after #1000 is merged. I can take over and probably reuse some of your code to add a local clustering coefficient library method. Would that be OK? Thanks!

@vasia yes, I'm sorry about not finishing it, but I just did not have the time lately.
Cheers!

Thats' fine :) Thanks for the fast response!


Use Machine Learning to Extract Information from Documents with Swagger UI

Tutorial URL: https://developers.sap.com/tutorials/cp-aibus-dox-swagger-ui.html
Please specify the step you are referring to: Step 6: See extracted fields
Screenshot   should be updated for parameter values.Since in actual execution got 3 parameter values.
Expected Result:

Actual Result:

Labels to be added:
Landscape label: trail1, trial2
Scenario label: SCPTest-docinfo

This is resolved. @MichaelCzcz please close


Gh mirror

Armin, I hope you don't actually merge this. Why not just take the whole BB branch as is? Then it's a true "mirror". You can keep the old commits alive by tagging or branching them.

This is rather for having a shortcut to circle-ci to see when it goes green :) Once we mirrored all the small repos, we can mirror bitbucket to github master


Add launch index in flavor.Prepare call

For stateful groups (pets) we have always assumed that members have stable, fixed, IP addresses which are used as logical identifiers.  This works ok for platforms that support assigning IP addresses during instance creation.  However, on some platforms, assigning IP addresses is not possible and our assumption breaks down:  the original flavor.Prepare actually has no information or context as to which one of the stateful set is being created -- because we would not know in advance what our logical ids are and therefore the AllocationMethods:LogicalIDs will be empty.
This PR adds an Index object to provide this missing context so that the plugin can still have a sense of which one of the group members it is trying to create.  When the Index is known, we can use a combination of metadata, request reverse proxy, for the instance to know who it is and be able to query additional contextual information like indexing into a list of provisioned IP addresses for that group, etc.   A good analogy of this is the launch-index metadata in AWS.. for an instance launched in an autoscaling group it is possible to determine the instance's own launch index via  curl http://<IP_ADDRESS>/latest/meta-data/ami-launch-index.   Passing this information from the group to the flavor plugin allows the flavor plugin to prepare the instance with this information -- for example -- via user data and write that information to a file on disk, etc.
For the moment, only the Flavor plugin SPI has been modified to including this new index.
Closes #252
Signed-off-by: David Chung<EMAIL_ADDRESS>

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "launch-index" git@github.com:chungers/infrakit.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842353908224
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


config: fix update empty stat for eds

Description:
Fixes incorrect increment of update_empty stat for EDS when resource list contain does contain a particular cluster
Risk Level: Low
Testing: Automated tests
Docs Changes: N/A
Release Notes: N/A
Fixes https://github.com/envoyproxy/envoy/issues/4241

@htuch added the additional test. PTAL.

@htuch removed the block constructs. PTAL


Add OmniMIDI <IP_ADDRESS>

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Although the package is innosetup installer, parameters /VERYSILENT /SILENT are not fully effective.
There is always a popup window to prompt success message in the end.

Although the package is innosetup installer, parameters /VERYSILENT /SILENT are not fully effective.
There is always a popup window to prompt success message in the end.

Try /verysilent /suppressmsgboxes ?

Sadly, sometimes a developer doesn't add a silent install option, or doesn't ensure it's fully silent.

/azp run

@gdm257 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree

Automatic Validation ended with:

2024-07-31 17:15:15.448   Function name: idpReportError

(Automated response - build 887.)

Automatic Validation ended with:

2024-07-31 17:15:15.448   Function name: idpReportError

(Automated response - build 887.)
Edit:
Hi @gdm257,
Is there an installer switch to bypass this Information box?

Hi @stephengillie,
Unfortunately, there is no switch available to bypass the information box for this installer. The /VERYSILENT, /SILENT, and /SUPPRESSMSGBOXES options are not effective in this case.


Group similar ops to a single op with parameters

Rename opcodes & add new ones based on the table below:
text_contains             => in[Text]
array_contains            => in[Array]
list_contains             => in[List]
table_contains_key        => in[Table]
set_contains              => in[Set]

argv_get                  => at[argv]
array_get                 => at[Array]
list_get                  => at[List]
table_get                 => at[Table]
text_get_byte             => at[byte]
text_get_codepoint        => at[codepoint]
                          => at[Ascii]

array_set                 => set_at[Array]
list_set                  => set_at[List]
table_set                 => set_at[Table]

text_byte_find            => find[byte]
text_codepoint_find       => find[codepoint]
                          => find[Ascii]
                          => find[List]

text_get_byte_to_int      => ord_at[byte]
text_get_codepoint_to_int => ord_at[codepoint]
                          => ord_at[Ascii]
text_byte_to_int          => ord[byte]
codepoint_to_int          => ord[codepoint]
                          => ord[Ascii]
int_to_text_byte          => char[byte]
int_to_codepoint          => char[codepoint]
                          => char[Ascii]
text_replace              => replace

println                   => println[Text]
println_int               => println[Int]

eq                        => eq[Int]
                          => eq[Text]
neq                       => neq[Int]
                          => neq[Text]

concat                    => concat[Text]
                          => concat[List]
list_push                 => push
                          => append

list_length               => length[List]
                          => length[byte]
                          => length[codepoint]
                          => length[Ascii]

text_byte_reversed        => reversed[byte]
text_codepoint_reversed   => reversed[codepoint]
                          => reversed[Ascii]
                          => reversed[List]

text_get_byte_slice       => slice[byte]
text_get_codepoint_slice  => slice[codepoint]
                          => slice[Ascii]
                          => slice[List]

Probably also add a ...[codeunit] version for each ...[byte] & ...[codepoint] for langs like javascript.
Add symbol alias @ for at and in for in.
If the bracket starts with an uppercase, the opcode is listed on the frontend without the bracket. The bracket is inserted as a first step in typechecking.
If $t:Text, then length $t; is resolved to length[Ascii] $t; which is valid when $t:Ascii but is a type error when it is not, forcing the user to type length[byte] $t; or  length[codepoint] $t; instead.
Allow set_at $collection $index $value; to be written as ($collection @ $index) <- $value;.

Generate a markdown documentation of opcodes on build such as

OpCode
Alias
Input
Output

at
@
0..oo(Array T1 T2) T2(List T1) 0..oo(Table T1 T2) T1(Ascii T1) T1
TextT1T1T2(Ascii 1..1)

at[codepoint]

(Text T1) T1
(Text 1..1)

at[byte]

(Text T1) T1
(Text 1..1)


[Snyk] Security upgrade adm-zip from 0.4.7 to 0.4.11

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):

package.json
package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Arbitrary File Write via Archive Extraction (Zip Slip) npm:adm-zip:20180415
  1000

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
:white_check_mark: license/snyk check is complete. No issues have been found. (View Details)


emoji version

which emoji version is used?
I'm missing some.
e.g. ping_pong, woman_playing_water_polo
life doesn't make any sense without WOMAN_PLAYING_WATER_POLO! :)

it's currently using the macOS 10.12, emoji 4.0, unicode 9.0 emoji
i'll be updating it after iOS 11 comes out


Add contrastive loss

Proposed changes
This pull request adds support for computing contrastive loss between input vector pairs in the loss modules.
Test ground truth values are verified by TensorFlow and a PyTorch function.
TensorFlow Implementation: https://www.tensorflow.org/addons/api_docs/python/tfa/losses/ContrastiveLoss
Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING document
[x] I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have updated the necessary documentation (if needed)

Hello @awni can you please review this PR, I accidentally forgot to add reviewers.

Hi @vishal-14069 thanks for the contribution. We already decided in #324 not to add a contrastive loss as:

It's not that hard to implement
It's likely people want to specialize it to different use cases

FYI for the future if you are unsure whether to make a contribution, feel free to check the issues and/or start an issue / discussion first.

Thanks for the review @Stealeristaken. Yes @awni makes sense, I will do that from now on. Thank you!


Fix to test failing in my local environment.

Codecov Report

Merging #34 (a188823) into main (fedccb2) will not change coverage.
The diff coverage is n/a.

: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           @@
##             main      #34   +/-   ##
=======================================
  Coverage   79.08%   79.08%
=======================================
  Files           6        6
  Lines         373      373
=======================================
  Hits          295      295
  Misses         78       78

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Closing pull request because of merge conflicts. Trying again in a minute =]


the value of hidden_states in modeling_llama.py line 689 is NAN!!

Hello, when I ran your program, I found the value of hidden_states in modeling_llama.py line 689 is NAN!!
I triggered this bug when running playground.py. I used the official parameters for all settings. Just because my video memory is only 24GB, I set low_source=True in minigpt4.

I tried to use the 8-bit weights of MiniGPT-4, and I also got NaN values in hidden_states. I think our current fine-tuned weight (LoRA weight) does not support mixing with 8-bit pretrained weights.
In my local test, the model uses 23229 MB VRAM. Maybe your GPU can directly load it.

I got it, thank you so much.


DB Snapshot Not Found Error

Throws DB Snapshot not found error even though snapshot is available.
[ERROR] DBSnapshotNotFoundFault: An error occurred (DBSnapshotNotFound) when calling the StartExportTask operation: Could not find snapshot with name rds:org-dev-pg-shared-euc1-2021-05-23-03-36
Traceback (most recent call last):
  File "/var/task/main.py", line 44, in handler
    response = boto3.client("rds").start_export_task(
  File "/var/runtime/botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/var/runtime/botocore/client.py", line 676, in _make_api_call
    raise error_class(parsed_response, operation_name)

I found the reason for the issue. I will update after fixing it locally.

Hi @ajmalblp. Were you able to solve the issue, or do you need further help?

Hi @michaelmoussa , I was working with Amazon Aurora and the code needs minor modification to work as expected.
I have made the necessary changes and created a pull request #12.


Player char is flipping???

Describe your problem here.
i don't know why or how but custom chars are being forced to face to the right. how can i fix this??
https://github.com/user-attachments/assets/2fcda40d-7c66-49f1-bf41-7ec0a6041677
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

toggle this in character editor

flip X just makes them face right all the way

Fixing Your Player and Icon:
Player is Facing Left:
Check if "Flip X" is on. If it is, turn it off.
Icon is Facing Wrong Way:
Open the icon sheet in paint.NET.
Make the icon face the right direction.
Still need help?
Let me know, and I'll figure it out.
(im changing on how I reply or comment to people in GitHub or I will not do it lol)

Check if any other mod might be causing a conflict, also try checking if you're messing with any sprite's flipX on your stage/lua scripts


Decouple linking to shlwapi from BUILD_TESTING

🦟 Bug fix
Fixing test failures discussed in https://github.com/gazebosim/sdformat/pull/1414#issuecomment-2297021793.
Summary
The windows builds were broken with -DBUILD_TESTING=OFF (see https://github.com/gazebosim/sdformat/pull/1414#issuecomment-2297021793), so move the target_link_libraries call outside the if (BUILD_TESTING) logical block.
Checklist

[X] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[X] codecheck passed (See contributing)
[X] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

testing with gz-sensors8 using a custom gazebodistro branch (see https://github.com/gazebo-tooling/gazebodistro/commit/e76248c03a75dfc412344b18484ee7cdcdd572ca)

 https://build.osrfoundation.org/view/gz-harmonic/job/gz_sensors-8-win/74/

Thanks for catching this error, my bad!


[Bug]: persistentOutput with output streaming

Replication of the Problem
import { Listr } from "listr2";
import { $ } from "execa";

const $$ = $({ shell: true });

const tasks = new Listr([{
	title: "echoes 1 2 3",
	task: async () => $$`echo 1 && sleep 1 && echo 2 && sleep 1 && echo 3`.stdout,
	options: {
		persistentOutput: true,
	},
}]);

await tasks.run();

Problem
When streaming output with persistentOutput: true, new chunks/lines overwrite existing output. I'd expect each new line to append, rather than replace. Is this the intended behavior?
Environment

OS
 MacOS 13.3.1

Node.js
 v18.16.1

Terminal
 iTerm2 3.4.19, zsh

listr2
 v6.6.1

Log Output
Expected:
✔ echoes 1 2 3
  › 1
  › 2
  › 3

Actual:
✔ echoes 1 2 3
  › 3

Preflight

[X] Read/Search existing issues and the provided documentation.
[X] Be sure to not open an issue in the looking for contributions section.
[X] Checking the latest version of the software to confirm it has not been fixed already.

hey @tommy-mitchell,
yes, indeed this is the intended behavior to just show the latest logs.
persistentOutput enables it to retain the last output for normal output.
You can also give a try to bottomBar option described here since that is able to handle multiple lines, but it displays it after the tasks. Currently this same mechanism is not supported for normal data output since it usually breaks the rendering.


As aa administrator, I want to deploy the ui from a release and be able to change the back-end API urls

Motivation
...so that I can actually use the release package
Additional Details

The js files are minified and it is not easily editable.
Acceptance Criteria
Given a release package, e.g. https://github.com/NASA-PDS/pds-doi-ui/releases/tag/v0.3.0
When I perform the deployment procedure, see https://github.com/NASA-PDS/pds-doi-ui/releases/tag/v0.3.0
Then I expect to be able to edit a configuration file where I can set the back-end API url
Engineering Details

@jordanpadams @eddiesarevalo The ticket does not need to be urgently processed since the deployment procedure will work by using git clone before this ticket is solved

Note @eddiesarevalo that would also help to have a single string to update in the configuration, since now Config.js is:
const Config = {
api:{
reserveUrl: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois',
getDoiByLidvidUrl: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois/',
getDoiByDoiUrl: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois',
getDoiByPds4LabelUrl: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois',
releaseDoiUrl: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois/',
baseUrl: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois/'
}
}
which is a lot a redundant string. Coud you also update that as part of this ticket ?
Thanks,
Thomas

@eddiesarevalo think we can squeeze this into the work you are already doing?

Note @eddiesarevalo that would also help to have a single string to update in the configuration, since now Config.js is: const Config = { api:{ reserveUrl: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois', getDoiByLidvidUrl: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois/', getDoiByDoiUrl: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois', getDoiByPds4LabelUrl: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois', releaseDoiUrl: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois/', baseUrl: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.1/dois/' } }
which is a lot a redundant string. Coud you also update that as part of this ticket ?
Thanks,
Thomas

These two are different. I'm not sure if they will change in the future:
getDoiByIdentifier: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.2/doi',
releaseDoiUrl: 'http://localhost:8085/PDS_APIs/pds_doi_api/0.2/doi/',

Hi @eddiesarevalo ,
I don't think we should have different configuration.
The difference is getDoiByIdentifier is followed by ?parameter=value... and releaseDoiUrl is followed by '/'
but the base url should be the same. Does that work ?


Unable to view pdfs

I am displayed chafa: Failed to open '/tmp/vimg/pdf-name.pdf.png': No such file or directory when hovering over a pdf.
I have pdftoppm installed from poppler the standard repos.
/tmp/vimg/pdf-name.pdf.png.png exists, and is the correct file, but the name has an extra .png.
Is anybody else getting this issue?
Here is my telescope setup function:
      require("telescope").setup {
        extensions = {
          media_files = {
            filetypes = { "png", "jpg", "mp4", "mkv", "webm", "webp", "pdf", "epub" },
            find_cmd = "rg",
          },

solution already proposed


Add default_value to Settings FieldSchema

WHY are these changes introduced?
closes https://github.com/Shopify/checkout-web/issues/36347

WHAT is this pull request doing?

TL;DR - UiExtensions have the ability to parse fields marked as required  so long as they have a "default_value. But only required` exists on the schema. This would have gone unnoticed as the CheckoutUiExtension CLI settings schema allowed any key to be passed: https://github.com/Shopify/cli/blob/a3dd9e5eb2a91b7fdf255feb33deac777fb76ee0/packages/app/src/cli/models/extensions/extension-specifications/checkout_ui_extension.ts#L10-L14
However in core we validate this, so including required necessitates including default_value. These keys were not explicitly defined, and the feature has not rolled out , so my guess is this is simply an understandable oversight.
Because the default value can be any type of allowed metafield type (bool, string, date, etc) the type is set to any.
How to test your changes?

Either roll the checkout_ui_extensions_settings_expanded_definitions flag to 100% or apply it to your app from the partners internal.
Deploy a ui_extension with a settings such as
[extensions.settings]
[[extensions.settings.fields]]
key = "banner_title"
type = "single_line_text_field"
name = "banner_title"
required = true
default_value = "Whatever"

It's probably best to have core on sb/jk/cleanup-configuration-definitions-rebased but the current main should behave the same. Currently default_value is removed from the config as it's uploaded to core, and the following message appears:

On this branch the extension should deploy fine, as the default value is provided alongside the required key. Removing the the default value should throw the core invalidation again.
A default value can be added without it being required.

We detected some changes at either packages/*/src or packages/cli-kit/assets/cli-ruby/** and there are no updates in the .changeset. If the changes are user-facing, run "pnpm changeset add" to track your changes and include them in the next release CHANGELOG.

This isn't being rolled any time soon, but it is fully baked into core. We'll update the partner facing things when we decide to roll it out.
Note: It's actually been a feature for a long time.


Please remove nat-outgoing from crd.projectcalico.org_ippools.yaml

Some tooling to generate Jsonnet from CRDs breaks on the ippools CRD due to the nat-outgoing key, which has been deprecated.  Can this be removed?  I believe this wold unblock ippools handling and allow jsonnet users to manage those resources.
https://github.com/jsonnet-libs/calico-libsonnet

Is the problem that the field is marked as deprecated? Or is it something else?
Removing that field might break old clusters that existed prior to the new field, so I'm hesitant to remove it outright.

I'm not sure, but I believe it may be due to the hyphen in the name, or perhaps that if the name is normalized with natOutgoing, then there would be one less than len() in the array.
I was noticing this from a comment someone left in the automation from a while ago and figured that if the deprecation had been in place long enough, it might be safe to remove.  But you all will know more about that in terms of when to feel comfortable removing a deprecation.

Removing that field might break old clusters that existed prior to the new field, so I'm hesitant to remove it outright.

I discussed with Casey.  The worry is that anyone who created an ippool using the version that introduced that field and then didn't touch it again ever wouldn't have had this fixed up.
Perhaps we need some upgrade code in calico-kubecontrollers to spot if this field is in use and if so move the value to the new field.  We'd also need to implement an upgrade policy (specifying how many calico releases its OK to skip) to ensure that users will go through a version with the migration code in it.  Only after that could we remove the field.

Jsonnet is a programming language for programming json output, generally speaking.  One common use case is to use it like Helm, but more expressive to create the necessary kubernetes resources which are then diff'ed and applied to clusters.  Some automation that the community uses takes the CRDs that you all produce, and uses them to generate libraries that can be used in these jsonnet programs to produce output.
https://jsonnet-libs.github.io/calico-libsonnet/3.20/crd/v1/
What is missing from there is the ippools, which only really matters when you init a new cluster, which happens from time to time in a dev context.
So to give an example, I use the resources above in a little jsonnet to configure calico on my clusters.
local calico = import 'calico.libsonnet';
local k = import 'ksonnet-util/kausal.libsonnet';

{
  local bgpConfiguration = calico.crd.v1.bgpConfiguration,
  local bgpPeer = calico.crd.v1.bgpPeer,

  bgp_configuration:
    bgpConfiguration.new('default')
    + bgpConfiguration.spec.withAsNumber(4279719999)
    + bgpConfiguration.spec.withServiceClusterIPs([
      { cidr: '<IP_ADDRESS>/16' },
      { cidr: 'fccb::/112' },
    ])
    + bgpConfiguration.spec.withServiceExternalIPs([
      { cidr: '<IP_ADDRESS>/28' },
      { cidr: 'fccc::/120' },
    ])
    + bgpConfiguration.spec.withNodeToNodeMeshEnabled(false),

It gets pretty neat because you can avoid repeating yourself and make functions etc like so.
  not_me_peer(name, as, ip4, ip6)::
    bgpPeer.new('%s-inet4' % name)
    + bgpPeer.spec.withAsNumber(as)
    + bgpPeer.spec.withPeerIP(ip4)
    + bgpPeer.spec.withNodeSelector("kubernetes.io/hostname != '%s'" % name)

    + bgpPeer.new('%s-inet6' % name)
    + bgpPeer.spec.withAsNumber(as)
    + bgpPeer.spec.withPeerIP(ip6)
    + bgpPeer.spec.withNodeSelector("kubernetes.io/hostname != '%s'" % name),

Anyway, that's jsonnet -> yaml -> cluster.  So in a new cluster context, there is one ippoool resource that needs to be applied outside of the automation that jsonnet provides.  I'm glossing over some details, because the rabbit hole is deep.
I do understand though about not wanting to break existing users.  Not sure what the upgrade cadence is for your general use case, but I've worked with network engineers long enough to know how they feel about upgrades sometimes :)

I also recognize that if you add code to tell if users have upgraded, they probably need to upgrade for you to see that, but perhaps you had something else in mind.  Always tough to know when users upgrade, but deprecations are useful to let folks know that they should be upgrading, at least for those users who are paying attention.


Development: Refactor naming of course enrollment on server side

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) database calls.
[x] I followed the coding and design guidelines.
[x] I documented the Java code using JavaDoc style.

Client

[x] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data.
[x] I followed the coding and design guidelines.
[x] I documented the TypeScript code using JSDoc style.

Motivation and Context

Resolves #6562. Sub-issue of #6351.
Description
This PR refactors the naming of course enrollment from registration/register to enrollment/enroll on the server side.
The PR contains minor changes to the client (due to renamed endpoints & DTOs).
This PR does not include changes to the database. These cause breaking changes and should be separated into a separate PR.
Steps for Testing

Prerequisites:

1 Administrator
1 Instructor
2 Students (e.g. Alice & Bob)

Log in as an Administrator
Create a course that allows students to enroll in

pick a start date before today
pick an end date after today
choose a student group that Alice & Bob are NOT part of
make sure the Instructor is an Instructor of this course

Log in as Alice and check if the course is available in the enrollment list (base-url.local/courses/register)
Enroll in the course and check if you see the correct enrollment confirmation message
Make sure Alice has access to the course
Log in as the Instructor
Edit the course and DISABLE self-enrollment
Log in as Bob
Check that the course is NOT available in the enrollment list (base-url.local/courses/register)
Log in as the Instructor
Edit the course and ENABLE self-enrollment
Log in as Bob and check if the course is available in the enrollment list (base-url.local/courses/register)
Enroll in the course and check if you see the correct enrollment confirmation message
Make sure Bob has access to the course

Review Progress

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage

Tested the testing step manually on ts1. The steps work as expected. But when I log in with Alice again after doing all the steps, the course is displayed on the enrollment list again even though she should already be enrolled in the course.

I myself could not reproduce this locally, nor anyone during the testing session on ts2. I will wait for ts1 and check if I can reproduce it there.


Compatibility with std::string_view?

std::string_view is slated for C++17 and there is already support for a std::experimental::string_view.
http://en.cppreference.com/w/cpp/experimental/basic_string_view
In addition, many projects have their own implementation of string_view.
I noticed your StringRef class contains a method called c_str(). If you are following the STL paradigm, the existance of this method means that your StringRef class has an invariant that must always reference a null terminated string and therefore the formatting functions require the format string to be null terminated.
Is this the case?
If not, I would suggest renaming StringRef::c_str() to StringRef::data(). I'd also add whether or not null termination is required on the format string to the documentation.
If you are planning to support non-null terminated format strings, a constructor accepting a std::experimental::string_view (conditionally enabled with the __cpp_lib_experimental_string_view macro) with also help people using string_view use your library.

Thanks for the suggestion. Replacing StringRef::c_str() to StringRef::data() is already on my TODO list (#100). I'll add a note regarding std::experimental::string_view there.


Cursor is missing when adding input field as child to sprite

Hi,
awesome library. Really curcial when needing an input field within phaser. However as soon as I add this inputfield as child to another sprite (background) the cursor disappears. I cannot provide any code since this is from a clients project but if you need a MWE let me know.
best regards
dasheck0

Hey, thanks for your interest in this project. As for your issue:

The cursor is updated within Phaser's update loop, this calls the update function for all Phaser objects in the tree. By using addChild() you are going into PIXI territory and you loose the ability for using update(). You can manually resolve this by calling update() yourself on the InputField object.(https://github.com/orange-games/phaser-input/issues/4)

I hope this helps you fixing it :)


Error on installation

I'm on eOS Freya and I get this after running the install command:
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  3186  100  3186    0     0   2504      0  0:00:01  0:00:01 --:--:--  2502
Installing dependencies . . .
Reading package lists... Done
Building dependency tree
Reading state information... Done
gtk2-engines-pixbuf is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
bash: line 37: canal: readonly variable
bash: line 38: syntax error near unexpected token )' bash: line 38:     [Ss]* )'
Am I doing something wrong?!

Am I doing something wrong?!

Nope. Just an error in the script. @vinctux - deal with it, man :)

Yes, it's a syntax error bug, as it seems. Will be fixed :)

I'm getting this error too.

Any update on this, guys?

@vinctux is working on this. For now, you can simply
cd /usr/share/themes
git clone https://github.com/eOS-themes/Xenite.git

Your commands couldn't work. First run this sudo chmod 777 -R /usr/share/themes/ to get permissions to do anything in this folder. Next you can run @crutchcorn commands.

Gah. Whatever @Defman21 ;)

Well it worked this way, but at this point there are too many issues with the theme to make it my default one. For example, the "tray" icons all seem to be the same size, except for the bluetooth icon, that one is huge. And yes, I'm using the post-install icon theme :) Also, the text (when clicking on that icon) is almost white on white, really hard to read...
Oh, and about the icons, I want them to be "identical", like in Numix circle, they're all in circles. But the Files icon is the plain old Finder icon, different from the others. And the settings icon is also different.

This is not our icons. For this stuff you can ask about it for original developer. For other issues - you can file a bug if you sure it's our problem, not an eos distro problem. (Like that: https://github.com/eOS-themes/Xenite/issues/62)

UPDATE: The development of the project has been discontinued (until eOS Loki 0.4 is out), anyway: if I find some spare time, I'll fix the scripts. But until then, the manual method is the "official" and only supported one.

Since I've merged some pull requests that might fix the issue I want someone to test the installation process and report about any errors occurs during the process.

The scripts should be fixed now. Give it another try ;)

I forgot about this theme is existing :D

Yes, a year moved by :D


english translation

can you please add english translation? maybe using google translate

Do you mean a translation of the book into English? That would be a lot of work (even with Google Translate). I am busy with other things recently. If you mean a translation of the README file into English, I guess that I can do it.

I will translate the book into English manually when I have much more spare time.


Add to config to expose enableServiceLinks in pod spec

RCO portion of issue
OpenLiberty/open-liberty-operator#487

@leochr I've added the description as requested. This is now ready for review.


Split core.js into logical files

I believe this would make development much more straightforward and it could still be bundled back into one file for the production version (although I don't think it's worth getting into task runners).
First thought was all the storage functions.
Thoughts?

This is something I've considered, but am loathe to ask people to run (seemingly) complex scripts to merge all the JavaScript files into a single cohesive file. Loading several JavaScript files would not be too much to ask, perhaps it would be better to go that route initially.
If the functions are going to be split out, then this may also be the most opportune time to move to a proper OOP model rather than simple procedural.

That's part of the motivation but I think it will ease the development by splitting things into manageable (logical, hopefully) chunks.

I believe this is being done as we go. Closing ticket for now, but let's try to keep the number of files to something manageable.


(feature request) read_edif

The other day I was working with some .edif files and realized that yosys has no read_edif command. I'm not sure if that is even possible or if there are any limitations, but at least that would be super helpful for visualizing the design with show. Don't know if that'd make it possible to use yosys for .edif → .blif conversion, but that'd be very cool, right?
To clarify, I'm talking about using yosys with .edif files that were generated by other software.

Is it possible this was addressed with https://github.com/YosysHQ/yosys/pull/3499 ? It sounds like Yosys can be compiled with support for Verific, but if my understanding is correct, verific is not free? Are the necessary parts of it free?

No, that is unfortunately very not free.


Speedup and fix bug for dgl_csr_sampling op

Description
This pr speedup and fix the bug for dgl_csr_sampling operator
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

in general, it looks good. please change GetUniformSample and GetNonUniformSample to make it more readable.

@aksnzhy Can you please address the review comments so that we can move forward with this PR?
@mxnet-label-bot Update [pr-awaiting-response, Operator]

@aksnzhy Thanks for working on this. Can you address comments and rebase this PR?


Libraqm Errors on Xenial Install

I attempted to install the script on xenial and ran into some issues with libraqm-dev and libraqm0 not being available and the script fails. Is there a workaround for this or is IM on Xenial a no-go at this point?
################################################
Welcome to IMEI - ImageMagick Easy Install 6.0.2
################################################

Detected OS     : Ubuntu 16.04.7 LTS
Detected Arch   : x86_64
Detected Cores  : 16

Used web client : curl

Work Dir        : /usr/local/src/imei
Build Dir       : /usr/local
Log File        : /var/log/imei.log

Force Build     : no
CI Build        : no
Signature Check : yes

#####################
Installation Process
#####################

Installing dependencies       [FAILURE]

Please check /var/log/imei.log for details.
I checked the logs and had this:
cat /var/log/imei.log
Verified OK
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
Reading package lists...
Building dependency tree...
Reading state information...
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
E: Unable to locate package libraqm-dev
E: Unable to locate package libraqm0

I kept plugging away at dependency errors and have it down to one that I don't know to do with. I would search on apt-browse.org for the latest version number or the log file would give it to me. I would then look for PPA on launchpad that had the correct version. I think I added 3 altogether.
But currently it is telling me that  libgs-dev and libpng12-0-dev are the problem. But it seems to me that they are currently installed with the latest version available.
libpng12-dev is already the newest version (1.2.54-1ubuntu1.1)
libgs-dev is already the newest version (9.26~dfsg+0-0ubuntu<IP_ADDRESS>)

The three PPA's that I added:
sudo add-apt-repository ppa:litenstein/libicu60-xenial
sudo add-apt-repository ppa:savoury1/fonts
sudo add-apt-repository ppa:savoury1/gtk-xenial

Is this a situation where I am just not going to get it to work on an EOL OS?
cat /var/log/imei.log
Verified OK
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:5.3.1-1ubuntu1).
g++ set to manually installed.
libjpeg-dev is already the newest version (8c-2ubuntu8).
libjpeg-dev set to manually installed.
make is already the newest version (4.1-6).
make set to manually installed.
pkg-config is already the newest version (0.29.1-0ubuntu1).
yasm is already the newest version (1.3.0-2).
ghostscript is already the newest version (9.26~dfsg+0-0ubuntu<IP_ADDRESS>).
ghostscript set to manually installed.
libbrotli-dev is already the newest version (1.0.3-1ubuntu1~16.04.2).
libbrotli-dev set to manually installed.
libgs-dev is already the newest version (9.26~dfsg+0-0ubuntu<IP_ADDRESS>).
libtiff5-dev is already the newest version (4.0.6-1ubuntu0.8).
libtiff5-dev set to manually installed.
perl is already the newest version (5.22.1-9ubuntu0.9).
perl set to manually installed.
ffmpeg is already the newest version (7:2.8.17-0ubuntu0.1).
libraqm0 is already the newest version (0.7.0-4~16.04.sav0).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgs-dev : Depends: libpng12-0-dev
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
E: Unable to correct problems, you have held broken packages


Don't actually create docs before clonign repo

Sorry, getting things right on travis is often an iterative process as local env is always different.

whoops


ACAPS area covered

For ACAPS: if admin_level == 'other' and area_covered == 'blank', admin level = 'national'.

Done in #78.


<EMAIL_ADDRESS>hash check failed

Scoop Configuration

{
    "lastupdate":  "2022-06-20T20:24:35.7257291+02:00",
    "SCOOP_REPO":  "https://github.com/lukesampson/scoop",
    "SCOOP_BRANCH":  "master",
    "aria2-enabled":  false,
    "aria2-warning-enabled":  false
}

App:         extras/signal
URL:         https://updates.signal.org/desktop/signal-desktop-win-5.46.0.exe#/dl.7z
First bytes: 4D 5A 90 00 03 00 00 00
Expected:    02c1615f7ffd16513122d425fde1c34e253b9ffeecd438b8ba66a6fdb26f65e324d367f9bd31e7fd0af41aedec3498df5f2bff6a5b3049e331e40c2bec24be1b
Actual:      1df4ba518cfe3eafbbd0e37b5687d4696ed1d711a4c3dbfcfbba1e0502f4a55377a81143b8a80b69aaa18063242dd55c19deda201b81dac341f05d99479a36ea

Should fix the Upstream Bug here: https://github.com/signalapp/Signal-Desktop/issues/5980

@b-reich, are you still getting this hash when downloading latest? I've just downloaded signal-desktop-win-5.46.0.exe and it has the originally expected 02c... hash and installs version <IP_ADDRESS>-public-windows, whereas the hash you've requested is assumedly for version <IP_ADDRESS>-public-windows (based on the VirusTotal links you posted in signalapp/Signal-Desktop#5980). It's entirely possible that the CDN issue still isn't fixed.

i'm still getting the same issue

I think the Maintainer doesnt understand the Problem. Fell free to provide more infos there.

It's working for me as of this moment, so I'm sadly not able to give more info


debug/pe: Missing IMAGE_FILE_MACHINE_ARM64 machine magic constant

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.8.3 linux/amd64 but also checked tip.golang.org/pkg/debug/pe
What did you do?
Tried to load a arm64 linux kernel image to inspect the PE header (used to UEFI) using pe.Open()
see https://play.golang.org/p/FFjD3r8M6N
What did you expect to see?
Loads fine
What did you see instead?
Could not open file: Unrecognised COFF file header machine value of 0xaa64.

At least one of the problems is that the IMAGE_FILE_MACHINE_ARM64 that was added with Revision 10 of the "Microsoft Portable Executable and Common Object File Format Specification" (also known pecoff.docx), constant is not defined.

At least one of the problems is that the IMAGE_FILE_MACHINE_ARM64 that was added with Revision 10

I think it is OK to add IMAGE_FILE_MACHINE_ARM64 and use it in debug/pe.
@mattimo is there way to test this new code? Is there a simple way to create arm64 PE object file?
Alex


Fix Rails Turbo support

Fixes issues:
https://github.com/themesberg/flowbite/issues/697
https://github.com/themesberg/flowbite/issues/698
BRAKING CHANGES:
data-modal-toggle will not work without data-modal-target anymore.

Hey @WozniakMac,
Thanks for the PR! Couple of problems from my side:

why did we remove the data-modal-toggle attribute?
so what I see is that you've created another local instance manager: my issue here is that we should keep all instances, as much as possible under the main Instance Manager from instances.ts as possible
what are the implications of the PR for the main vanilla version and other frameworks? This is in fact one of the trickiest things about the Flowbite JS

Cheers,
Zoltan

@zoltanszogyenyi Thanks for review!

data-drawer-toggle stays but will work exactly this same as data-drawer-show and data-drawer-hide. It was working also without data-modal-target what was inconsistent. I did it just to simplify things. From now all modals will need to have data-modal-target because it will be tag that initialise modal.
The reason for local instance manager is to make sure it adds hide show event listeners only to those modals that was initialise in current initModals run. If you run initModals again it will it will create modals and add event listeners only to new html tags that were added to the page. If you have better better ideas how to make sure we don't create modal objects and event listeners on every run I'll be happy to change it. For event listeners we always check if it exists in Instance Manager. That was the issue because it Old and New modals will be there.
It shouldn't impact vanilla because if you run it once it works as before. Other frameworks may benefit from this if they update html on fly.

Basically I'm trying to solve 3 things here:

Make sure we initialise modals and event listeners only once if you run initModals multiple times.
Make sure we initialise modals and event listeners for added html if you run initModals again.
Reset all instances on turbo:load because it swaps the whole body with new one.

I can revert changes to data-drawer-toggle if you want to maintain backwards compatibility with 1.6


Improve file blacklist

Hi @bcremer !
I updated the file blacklist to include some theme related configs.
Cheers!
Hendrik

Looks good to me. Thank you @soebbing.


Enable the use of two distinct usernames for outbound SIP REGISTER

Some PBX systems require additional SIP credentials for registration. One of these cases is where on top of the usual Domain/Username/Password triplet, the system uses a separate authentication username to be used in the authentication digest.
This means that for jambonz to register as an extension to that system, it would need to use the "standard" username in all SIP headers but when generating the Auth Digest, use the provided auth username instead.
Example:
-Username: 702
-Password: XXXXXX
-Auth Username: myauthuser
Should result in a request where all header fields use the Username (702) but the Digest is generated with the Auth Username (myauthuser)

Currently in Jambonz we can specify Username/Password for authenticating oubound calls - and that user/pass is used throughout all the fields in the SIP REGISTER request. The only additional field we can tweak at the moment (0.8.3) is the SIP From user.

This only changes the SIP From header but the other fields still use the Username/Password specified in the authentication of outbound calls. The mix of usernames in the headers does not result in a successful registration.

Agree this makes sense.  I think we should also change the labels in the webapp as well to reflect this:

change "Username" to "Auth username"
change "SIP from user" to "Username (if different from auth username)"

Start working on this

closed as PRs merged


Extra reminders for missed pending expenses

User story
As a Collective admin, I want to be reminded of pending expenses I need to approve if I missed the initial notification or an expense was edited and need re-approval.
Best solution for this problem
A reminder after a week.
If there are pending expenses and the Collective balance is enough to pay at lease one of them, in addition to the notification we already send out when the expense is first submitted, there's another notification on day 7 sent to the Collective admins.

Subject: Expense pending on [Collective]: [Amount] for [exp title]

This expense has been pending for 7 days. Please approve it if you would like it to be processed for payment.

Then paste in the content from the existing day 1 expense submitted notification.
Priority
Metabase says there are 1,587 pending expenses right now.
Not sure if that's low or high so either P2 or P4.

Metabase says there are 1,587 pending expenses right now.

Looking into this as I had a related issue: discounting the current month it looks like we have something in the realm of 4% pending expenses over 30 days old, 3% over 60 days, 2% over 90 days and it drops from there.
For me this kinda seems like an acceptable level so I'd say this is quite. alow priority.

A quick thing could be to always display Pending Expenses first for Collective admins, so they don't end up lost in the list.

@poohlaga how would you feel about this solution? Wondering about including this as a quick fix but it would require that we run though all pending expenses and reject those that are out of date.

I don't think it is needed anymore. Seems like this was opened before the rules were put in place for needing receipts which I am sure was a lot of the reason reminders were needed. IMHO close this one but ping @alanna unless there is a use case I am missing.

This isn't about Virtual Cards @poohlaga - it's about pending expenses

For example at Gift Collective, we regularly go through our Collectives' pending expenses and find some every week where the admin just forgot to hit the approve button so they're not getting paid. Especially if we're focusing on supporting Collectives to use their money, I think this is an easy and worthwhile improvement.

Ah, @poohlaga and I were thinking this was for hosts - but I understand, this is for Collective admins. Makes sense.


incompatible with mod_ruid2

I am running Apache 2.4 with mod_ruid2 and mod_pagespeed. I think the problem
is mod_ruid2 because users run their own processes. So mod_pagespeed is trying
to acces the folder(s) as a user instead of apache.

[code]
ls -ld /var/cache/mod_pagespeed
drwxr-xr-x 44 apache apache 4096 Mar  5 00:22 /var/cache/mod_pagespeed
[/code]

[code][Tue Mar 05 00:28:10.928752 2013] [pagespeed:error] [pid 8813]
[mod_pagespeed <IP_ADDRESS>-2258 @8813] Failed to mkdir
/var/cache/mod_pagespeed/FtoZvGwwZ5ZVhZcMP-V9.outputlock: Permission denied
[Tue Mar 05 00:28:10.928780 2013] [pagespeed:error] [pid 8813] [mod_pagespeed
<IP_ADDRESS>-2258 @8813] Failed to mkdir
/var/cache/mod_pagespeed/fnFvXkOcs0MEl7oV4FzE.outputlock: Permission
denied[/code]

Changing permission to 777 didn't help. How to solve this issue?

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 4 Mar 2013 at 11:51

cPanel documents that mod_ruid2 isn't compatible with mod_cache or the other normal apache caching modules for the same reason we're not: the permissions for cache files.  So we should probably just say we're not
compatible with mod_ruid2.
@jmarantz did describe two workarounds above though:

If you have mod_ruid2 configured on a per-VirtualHost basis, define
a separate FileCachePath for each VirtualHost, or
Use https://developers.google.com/speed/pagespeed/module/system#memcached
instead of the File Cache

Wanted to capture this from ernexus:
"We are getting those errors very often (sometimes even few seconds apart for same users):
Failed to read cache clean timestamp /home/user/tmp/mod_pagespeed/!clean!time!. Doing an extra cache clean to be safe.
We do not get any other major errors, some "Fetch timed out" from time to time. My guess it could be due the overload of cache cleans."

Note additional details in https://github.com/pagespeed/mod_pagespeed/issues/1323, like !clean!time!

Any news? Is there any plans to fix the issue in near future?

No plans to fix this, currently.  See my comment above https://github.com/pagespeed/mod_pagespeed/issues/635#issuecomment-171962790
The most reliable workaround would be to run PageSpeed on a separate server in front of your mod-ruid2 server, as a reverse proxy.  Something like nginx + ngx_pagespeed with proxy_pass.

I that case we are going to compile our own version with possible fix.

Cool; keep us posted!

We managed to solve the file reading problem by compiling modified version of Pagespeed. We have changed the default permissions from 600 to 644 for !clean!time! and other temp files. It is not the best solution (would be better to fix owners), but it works in server with mod_ruid2.

ernexus -- we were discussing a code-change for lock-file permissions, but we think this will still have problems because the cache garbage-collector won't be able to delete files owned by another user.
In the other bug I suggested having a separate and disjoint FileCachePath per vhost.  Did you every try that?  I really think that's the way to go.

Yes, we are currently using separate FileCachePath for each user. But the owners were still wrong, because of the mod_ruid2 (it takes the last owner of the Apache process it could be anyone). We applied new folder creation rule for every user cache folder with ACL for 777, but the new files were still 600. So after the mod, files now 644. Because the folders have 777 i believe it can be purged. We are not getting any more errors after the modification.
It would be better to get proper owner, but we couldn't manage to get it working. Sorry i am not that familiar with Pagespeed code and programming language.

I'm running Centos 7 and Cpanel/WHM, and mod_ruid2 is enabled by default. I can get pagespeed to work if I disable mod_ruid2 and enable mod_suphp. I'm running a relatively small server so I just wanted to make sure there wasn't a big problem with that. I've read that mod_suphp is at "end of life," I just hope I'm not doing something that will affect me in the future. Any suggestions?