setters - falsey values

When using setters with falsey values (e.g. 0) the getter is called instead.  This is fixed by a null comparison to use the setter for anything but null and undefined.

Great, thanks for writing unit tests too!

This is in 1.1.0 and has been published in npm.

Thanks @timrwood!  Still very much enjoying this library.

Glad you like it, thanks for contributing!


Websocket Support

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
It's slightly confusing to determine the validity of my custom CSP rules and whether or not the [Report Only] logs are actually restrictive or not, but I'm attempting to initiate a wss connection and the error is hard to parse yet still appears that the CSP policy is not allowing the initial request.
Describe alternatives you've considered
I've added wss:// rules to the policy but haven't had success. I think these would be important to establish customer messaging or other real-time like updates to the UI.

I use Supabase for the backend of my app. One of the benefits of using Supabase, Firebase, etc. is the ability to watch queries for updates.
It wouldn't be uncommon for two separate users of the same Stripe account to be viewing the same form or data in my app. So if one decides to take action, allowing the other to see that change immediately instead of on refresh/navigation would be a better user experience.


How to pass the post.link property to JavaScript (when it is not available)?

I rephrase the question since it was wrong
I am trying to pass all posts information to a JavaScript variable, but I see that (at least) post.link is not available at that moment
Is there any strategy I could follow to pass all the Timber information?

OLD
Based on this https://github.com/timber/timber/issues/1434 I've seen why I wasn't getting my post.link attribute
However, I was using Timber starter, so I am wondering why isn't it used in the starter (?)
The starter, in index.php
$context['posts'] = new Timber\PostQuery();

Later, in index.twig
  {% for post in posts %}
    {% include ['tease-' ~ post.post_type ~ '.twig', 'tease.twig'] %}
    <script>
    var t = JSON.parse('{{post|json_encode(constant('JSON_HEX_APOS'))|e('js')}}')
    console.log(t)
</script>
  {% endfor %}

There is no link property in the array, probably because it is yet not injected there
If I write {{ post.link }} it appears, so I guess it is injected on demand only?
Then, if in the starter I use
$context['posts'] = Timber::get_posts();

Then the link is already included and present in the javascript object
I image this is on purpose, is it looking for speed?

Hey @kuworking

There is no link property in the array, probably because it is yet not injected there
If I write {{ post.link }} it appears, so I guess it is injected on demand only?

I see that this might be confusing at first. I answered your question in https://stackoverflow.com/a/62323866/1059980, but basically, the thing is this:
When you use {{ post.link }}, you would think that link is a property of the post object, but it’s actually a function. It’s just that in Twig, we don’t necessarily have to write {{ post.link() }}`, it also works without the parentheses.
And functions don’t show up if you dump a post object, so that’s why you won’t see link when you dump post or convert it to JSON.

I image this is on purpose, is it looking for speed?

A lot of functionality is built with functions. If we would request all the data an object can have when loading, this would truly affect performance and make your site slower. By having we functions, you can get data "on demand". So speed is definitely a reason why it’s built like that.
I hope that answers your question.

Absolutely, and sorry for the redundancy, now this makes complete sense :)


[feature] add benchmark

We should add proper benchmark to compare the performance with other parser implementation.
List of alternative parsers:

[ ] libparsebgp
[ ] bgpscanner
[x] bgpdump
[ ] micro bgp suite
[ ] mrt-parser

The same guy who spearheaded bgpscanner also did micro bgp suite, basically as a replacement (at least to my understanding). I found some errors with bgpscanner when it differed from bgpdump that he confirmed and also fixed in micro bgp suite. The last change was many years ago, and given that isolario doesn't even have a website anymore that I can find, I don't think they support this tool (bgpscanner) anymore (I'm not sure the organization even exists).


Removed Node backend

The Node backend has been moved to its own repository.

@shashi-pp Can you recreate the PR from latest master?


fix: dynamic changing readonly state on fields not working

Issue https://github.com/danvick/flutter_form_builder/issues/75

Thanks very much for the help. You're the best :-)


Fix typo in Select docs

The docs mention using SheetContents or Select.SheetContents to insert content into the Adapt, but it should be Adapt.Contents or Select.Adapt.Contents

good catch, thanks


Update design and some content of about us page

Looking good so far!  Can you resolve the merge conflicts so I can merge in?

Resolved. How long do the smartling translations usually take though?
On Sun, Apr 26, 2020 at 4:51 PM Saikat Bhadra<EMAIL_ADDRESS>wrote:

Looking good so far! Can you resolve the merge conflicts so I can merge in?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/findthemasks/findthemasks/pull/721#issuecomment-619644313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHC2HIHTFHORU5AE3TWEA3ROTCHZANCNFSM4MROJTPQ
.


[SD CHANGE] paragraph 17 extra bold character

What is the change request for the SD? Please describe.
At the end of the first line in the paragraph, the "t" in "the" at the end of the line is bold and should not be.
Describe the solution you'd like
fix the formatting

Resolved with migration to asciidoc


save  is inconsistent with with save

save vX - vY does not increment i, but save vX does. Probably it's a good idea to control this behaviour via quirks mode, and make both commands consistent. (increment i after save range instruction)
I found it while figuring out something for quick 4-byte wipe, something better than:
v0 := 0
save v0
save v0
save v0
save v0

I replaced it with
v1 := v0
save v0-v1
save v0-v1

And it stopped working. Spent an hour with breakpoints looking for a bug in my code, but it turned out that emulator just did not increment i, and wiped only two first bytes.
Thanks.

I believe this choice was made intentionally. save vX is an original Chip8 instruction and save vX - vY is an XO-Chip extension. It can be helpful to have access to a version of save and load that do and do not increment i.
You can use save v1 in place of save v0 - v1 to do what you want:
v0 := 0
v1 := v0
save v1
save v1

In this case, i will increase by 2 after each save instruction.

Yes, @jdeeny is correct; it's by design. From the XO-Chip specification:

These instructions also provide another useful function. Unlike normal load and store, they do not postincrement i. The i postincrement is useful in some situations but inconvenient in others. When a postincrement is desired the standard load and store instructions may be used, and when it is not desired a programmer may substitute the ranged version specifying v0 as the minimum range.

That's what I did (save v1). I think it's sort of confusing to have same instruction with different behaviour. What's 'store' instruction? Different name for it looks fine by me. :)


Optimize plugin selector logic.

Improve the performance of PluginSelector

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[x] Update the CHANGES log.

PluginCfg call PluginSelector#select every plugin and every line in skywalking-plugin.def in load function, I move it to PluginCfg#getPluginClassList, then it just need call once.
I tested in my local pc (8C 16G), it can save 200ms + boot time when I exclude 4 plugins by config plugin.exclude_plugins.

Thanks, I will check the codes later.


Vim exits visual mode when loclist is open

When there are some errors and loclist is open, I can't use visual mode for longer than a fraction of a second. It seems as if ale was doing something constantly.
My ale config:
let g:ale_open_list = 1

Steps to reproduce:

Use the above setting
Open any file with some code
Introduce an error to that code (loclist window should show up)
Enter visual mode
Wait a fraction of a second

Expected result:

Vim stays in visual mode

Actual result:

Vim switches to normal mode

Additional notes:

Replace and insert modes seem to work fine. Visual mode is the only problematic mode
The issue occurs only when there are errors in loclist window

me too! @w0rp 😣

Looks like this is cause by these lines:
https://github.com/w0rp/ale/blob/master/plugin/ale.vim#L64
https://github.com/w0rp/ale/blob/d7ed49f84964aebdaa180b553e83943cd85c5d20/autoload/ale/list.vim#L38
Ale is set to trigger on BufEnter (as default).
When ale_open_list is set, after linting is done, lopen is called to open location list. To bring focus back to the original window, wincmd p is called. This is a BufEnter event and triggers ale again. Causing an infinite loop.
Incidentally, wincmd p causes vim to get out of visual mode.

@megapctr  @kaidiren  Setting this in vimrc should temporarily solve the problem.
let g:ale_lint_on_save = 1
let g:ale_lint_on_enter = 0

@w0rp What do you think of changing
https://github.com/w0rp/ale/blob/master/plugin/ale.vim#L64
to just BufRead. May be rename ale_lint_on_enter to ale_lint_on_read then?

It would need some testing to make sure that error checking happens when you look at buffer after changes have been made to it via some other tool, say git checkout, etc. If BufEnter is needed, then some more work will need to be done to handle this edge case.


Provide a complete example of how to deploy a simple script to AWS Lambda

I've been using https://github.com/serverless/serverless and https://github.com/apex/up to deploy things to AWS Lambda and abstract away all the ugly manual config parts.
If you think it's useful, I could provide code examples of how to do this for a simple browserless script. Other things that are probably useful to demonstrate in a minimal way so users don't have to solve the exact same problems over and over again:

you need to babel-ify async code so it can run in Node v6.10 https://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html
how to avoid running into the "package bigger than 250 meg" problem https://docs.aws.amazon.com/lambda/latest/dg/limits.html

This is something that https://github.com/sambaiz/puppeteer-lambda-starter-kit happens to implicitly document quite well

hey,
I'm using up as well to deploy to lambda, this is the principal reason why this repository exists 🙂
In my case, I'm using node v8 as part of the bundle.
Feel free to extend README with the example!

One other issue I’ve noticed is that this package is published to npm with some node lang features that won’t run out of the box on AWS Lambda. This means I would actually need to selectively reach into this package in node_modules (as well as the browserless package) to babelify it in order to use it.
I think the more conventional thing to do is preprocess with Babel before publishing to npm; does that make sense? https://stackoverflow.com/a/32669727


surface HWI errors

Hi. I am a BitBox02 dev. Thanks for releasing support for the BitBox02!
While trying it out, I noticed that errors returned by HWI (e.g. by hwi enumerate) are not visible in the UI. In the case of the BitBox02, one error that could happen looks like this:
hwi enumerate
[{"error": "Could not open client or get fingerprint information: Device not paired yet. Please pair using the BitBoxApp, then close the BitBoxApp and try again.", "code": -12, "type": "bitbox02", "path": "0001:0042:00", "model": "bitbox02_multi", "needs_pin_sent": false, "needs_passphrase_sent": false}]

It would be helpful to show this and other errors to the user so they know what to do to fix it.

Thanks for the report. It should be fixed by d8b7938.

Released in 0.9.8, along with update to HWI 1.2.1


create-react-app error

I implemented the readme example in a create-react-app application I created today and compilation gives me this error :

You should not use < Route > or withRouter() outside a < Router >

this is the component :

import React, { Component } from 'react';
import './App.css';
import {
    BrowserRouter as Router,
    Route,
    Link
} from 'react-router-dom';
import Home from './components/Home';
import Studies from './components/Studies';
import Experiences from './components/Experiences';
import Skills from './components/Skills';
import Hobbies from './components/Hobbies';
import { AnimatedSwitch } from 'react-router-transition';

const App = ({ data }) => (
        <AnimatedSwitch
            atEnter={{ opacity: 0 }}
            atLeave={{ opacity: 0 }}
            atActive={{ opacity: 1 }}
            className="switch-wrapper">

<Link to="/">Accueil</Link>

<Link to="/studies">Etudes</Link>

<Link to="/experiences">Expériences</Link>

<Link to="/skills">Competences</Link>

<Link to="/hobbies">Loisirs</Link>

                <Route exact path="/" render={(props) => (<Home home={data.home} {...props}/>)}/>
                <Route path="/studies" render={(props) => (<Studies studies={data.studies} {...props}/>)}/>
                <Route path="/experiences" render={(props) => (<Experiences experiences={data.experiences} {...props}/>)}/>
                <Route path="/skills" render={(props) => (<Skills skills={data.skills} {...props}/>)}/>
                <Route path="/hobbies" render={(props) => (<Hobbies hobbies={data.hobbies} {...props}/>)}/>

        </AnimatedSwitch>
);
export default App;

Am i missing something?

Wrap your  block with

Wrap your  with </Router

hi @Ctaque!
it looks as though you're missing a <Router> instance in your application tree; in your code, on line four, you are importing BrowserRouter as Router,–you just need to add that to you app. something like this should work:
const App = ({ data }) => (
  <Router>

<Link to="/">Accueil</Link>

<Link to="/studies">Etudes</Link>

<Link to="/experiences">Expériences</Link>

<Link to="/skills">Competences</Link>

<Link to="/hobbies">Loisirs</Link>

      <AnimatedSwitch
        atEnter={{ opacity: 0 }}
        atLeave={{ opacity: 0 }}
        atActive={{ opacity: 1 }}
        className="switch-wrapper"
      >
        <Route exact path="/" render={(props) => (<Home home={data.home} {...props}/>)}/>
        <Route path="/studies" render={(props) => (<Studies studies={data.studies} {...props}/>)}/>
        <Route path="/experiences" render={(props) => (<Experiences experiences={data.experiences} {...props}/>)}/>
        <Route path="/skills" render={(props) => (<Skills skills={data.skills} {...props}/>)}/>
        <Route path="/hobbies" render={(props) => (<Hobbies hobbies={data.hobbies} {...props}/>)}/>
      </AnimatedSwitch>

  </Router>
)

it's also worth pointing out that the only valid children of a Switch are Route instances, so i went ahead and changed that for you as well.
let me know if you run into anything else. :v:

Ok thanks. I was thinking that  was in replacement of , because  is missing in the example in the readme. (I'm new to React)


Complete rename: RpcFuture -> ApiFuture

Fixes test failure caused by merge order conflict.

Thanks!

LGTM

Codecov Report

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

@@            Coverage Diff            @@
##             master    #1106   +/-   ##
=========================================
  Coverage          ?   85.87%
  Complexity        ?     3554
=========================================
  Files             ?      365
  Lines             ?    13932
  Branches          ?     1592
=========================================
  Hits              ?    11964
  Misses            ?     1528
  Partials          ?      440

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 065b7a3...89699c5. Read the comment docs.


New Support Bundle Design

Earlier the support bundle download was a single GET request and it was a blocking call where the request was forwarded to the manager and when the download completes it returns the compressed zip file back to the caller. This was causing timeout if the content is huge.
The detailed design of this feature is described here:
Support bundle could be obtained using 3 HTTP requests:

POST request to Initiate Support Bundle feature
GET request to Query the state of the previous request
POST request to Download the Support Bundle file

Commit ID: 918b224d68cb62dc94c81dba48c595533e2d2cc0
After Review: 305066a2eeb7ba92544c9b643878b0c85df9d5dd

And remove the google drive links from the commit message and PR description.


Flutter debugging stopped working in Intellij

Steps to reproduce

Start intellij Ultimate, Flutter and Dart plugins installed
start your flutter project, set a breakpoint
find that the debugger doesn't stop at your breakpoint

Expected results
Debugger stops at breakpoint
Actual results
debugger does not stop at any breakpoint
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
[✓] Flutter (Channel stable, 3.24.3, on Ubuntu 24.04.1 LTS 6.8.0-45-generic, locale en_US.UTF-8)
• Flutter version 3.24.3 on channel stable at /home/christine/snap/flutter/common/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2663184aa7 (2 weeks ago), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /opt/android
• Platform android-35, build-tools 35.0.0
• ANDROID_HOME = /opt/android
• Java binary at: /home/christine/.local/share/JetBrains/Toolbox/apps/android-studio/jbr/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• clang version 10.0.0-4ubuntu1
• cmake version 3.16.3
• ninja version 1.10.0
• pkg-config version 0.29.1
[✓] Android Studio (version 2024.1)
• Android Studio at /home/christine/.local/share/JetBrains/Toolbox/apps/android-studio
• Flutter plugin version 81.0.2
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.2)
• IntelliJ at /home/christine/.local/share/JetBrains/Toolbox/apps/intellij-idea-ultimate
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] IntelliJ IDEA Ultimate Edition (version 2024.3)
• IntelliJ at /home/christine/.local/share/JetBrains/Toolbox/apps/intellij-idea-ultimate-2
• Flutter plugin version 81.1.3
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] Connected device (2 available)
• Linux (desktop) • linux  • linux-x64      • Ubuntu 24.04.1 LTS 6.8.0-45-generic
• Chrome (web)    • chrome • web-javascript • Google Chrome 129.0.6668.70
[✓] Network resources
• All expected network resources are available.

Hi @xtien
I checked this on IntelliJ IDEA 2024.2.3 (Community Edition) but it can stop at breakpoint as expected.
I see you are using two IntelliJ IDEA Ultimate versions, which version does the issue occur on? And does the issue occur on a simple Flutter project (counter app for eg) or only on your project?

I recommend trying Visual Studio Code (VS Code) as your development environment. It offers a wide range of powerful extensions that can significantly boost your productivity and streamline your workflow as a Flutter developer. If you find it challenging to get started with VS Code, I'm happy to guide you through the setup and demonstrate how you can leverage its features to improve your development experience.
Feel free to reach out if you need any assistance!


Page: Install and Set Up kubectl on Linux, missing content under tab: Red Hat-based distributions

The following tab has missing or duplicate content:
Install using native package management > Red Hat-based distributions

Page related to issue: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/
/language en

/kind bug

The tabs don't seem to be working right in that page.
Fixes are welcome. I am wary to triage this as Accepted though as I'm worried that the bug description is unclear.

In addition to the tab content, there seems to be an issue with the overall page layout, which appears to be disrupted. This might have been unintentionally caused by the changes introduced in https://github.com/kubernetes/website/pull/42022. It's possible that this occurred because the release documentation deadline was approaching, leading us to merge it based on an older Netlify build preview instead of verifying it with the latest Netlify preview build.

I've opened https://github.com/kubernetes/website/pull/42655 to address and rectify this page layout.
/assign

There's a shortcoming around merges and Netlify. The preview from Netlify shows how the branch renders; it doesn't show (merge train style) how the site would look after the merge.

/assign


Traffic Ops database is not locked during Postinstall

This Bug Report affects these Traffic Control components:

Traffic Ops

Current behavior:

We have no mechanism to verify that multiple Traffic Ops instances are not trying to run the TO Postinstall at the same time.
Previously filed in #4984; sort of fixed in #5138 by making create_tables.sql alone idempotent; idempotency is lost as soon as squash_migrations.sh from #6096 is used.
Expected behavior:

When the Postinstall script starts, it should check if a postinstall lock exists in the DB, and if so, wait for it to be cleared. If there is no lock, it should set one and clear it once Postinstall completes (with or without an error).
The cdn_lock table cannot be used because the username and cdn_name are non-nullable foreign keys.
Also, we should be using --single-transaction for all of our psql commands in the Postinstall script and in db/admin.
Steps to reproduce:

Try to run the Traffic Ops Postinstall on the same database from two separate TO instances at the same time.

To be clear, the Postinstall script is designed to be able to be run more than once:
https://github.com/apache/trafficcontrol/blob/9516de39fffa3ddda0346720ef98edabc8efa07e/traffic_ops/install/bin/_postinstall.py#L1113-L1123
https://github.com/apache/trafficcontrol/blob/9516de39fffa3ddda0346720ef98edabc8efa07e/traffic_ops/install/bin/_postinstall.pl#L600-L608
but if the Postinstall script is being run simultaneously, for the first time,. ,on 2 separate Traffic Ops hosts against the same TO DB, the check may still fail to find existing tables.


Add optimization for linearND; Add test for FileIO and JLD2; Change version No. to 0.0.3

Codecov Report

Merging #17 (3f4b443) into master (659bc51) will decrease coverage by 2.03%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
- Coverage   40.34%   38.31%   -2.04%
==========================================
  Files           9        9
  Lines         917      950      +33
==========================================
- Hits          370      364       -6
- Misses        547      586      +39

Impacted Files
Coverage Δ

src/grid/interpolate.jl
64.22% <66.66%> (-12.67%)
:arrow_down:

src/grid/chebyshev.jl
58.82% <0.00%> (-2.95%)
:arrow_down:

src/grid/composite.jl
94.23% <0.00%> (-0.97%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 659bc51...3f4b443. Read the comment docs.


Failed to designate device placement on GPU with tf.device and executed without warning

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04.3
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): tensorflow 2.4.1
Python version: 3.7
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: CUDA Version: 11.2
GPU model and memory: N/A

Describe the current behavior
The operation within a with tf.device('/GPU:0'): context runs on CPU, with no warnings received.
Describe the expected behavior
The operations within a with tf.device context should run in that device.
If the device is not available or the operations are not supported on the particular device, warnings or exceptions are expected.
Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np
tf.debugging.set_log_device_placement(True)

a = np.random.rand(2,2)
b = np.random.rand(2,2)

with tf.device('/GPU:0'):

  x = tf.Variable(a, dtype=tf.bfloat16)
  y = tf.Variable(b, dtype=tf.bfloat16)
  c_GPU = tf.matmul(x, y)

Outputs:
Executing op VarHandleOp in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op AssignVariableOp in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op DestroyResourceOp in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op VarHandleOp in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op AssignVariableOp in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op DestroyResourceOp in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op ReadVariableOp in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op ReadVariableOp in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op MatMul in device /job:localhost/replica:0/task:0/device:CPU:0

If I change the datatype from bfloat16 to float32, the output is expected:
Executing op VarHandleOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op AssignVariableOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op DestroyResourceOp in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op VarHandleOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op AssignVariableOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op DestroyResourceOp in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op ReadVariableOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op ReadVariableOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op MatMul in device /job:localhost/replica:0/task:0/device:GPU:0

@namursag
Please refer to below link, which says about GPUs support for float16 and float32, you may also refer to [link and link1]
(NVIDIA GPUs support using a mix of float16 and float32, while TPUs support a mix of bfloat16 and float32.):
https://www.tensorflow.org/guide/mixed_precision#supported_hardware

@Saduf2019 After I downgrade to 11.0, the output is still the same.

@lugalUrim
Can you please open a new issue with the details of your issue as this issue is for the GPU usage for bfloat16 which is not supported.


Unexpected Session timeouts occur with New-CsOnlineSession - SessionOptions/IdleTimeout not adhereed to

Hello,
I just remembered that it irked me in the Skype variant, though since that one is deprecated, I thought I raise it here:
I create a $SessionOption with the following command:
    $IdleTimeoutInMS = $IdleTimeout * 3600000
    if ($PSBoundParameters.ContainsKey('IdleTimeout')) {
      $SessionOption = New-PSSessionOption -IdleTimeout $IdleTimeoutInMS
    }
    else {
      $SessionOption = New-PSSessionOption -IdleTimeout 14400000
    }

$IdleTimeout is provided with the Command (value between 1 and 8 - representing the number of hours)
When calling New-CsOnlineSession -SessionOption $SessionOption the timeout is applied, however the Session times out regardless after an hour.
I have a feeling that this may not even be an issue with the command as the session, even if created a few minutes ago, sometimes times out unexpectedly (though I still have to test this fully against connection with MicrosoftTeams...)
Thanks,
David
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6804423b-8e08-5916-9355-6bebe8bb08b0
Version Independent ID: aa669763-6470-cc61-ea8d-52aee886f986
Content: MicrosoftTeamsPowerShell Module
Content Source: teams/teams-ps/teams/teams.md
Service: teams-powershell
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

Hello @DEberhardt David, how are you?
We are limited here to documentation issues, for your inquiry to reach the team, I need to suggest https://microsoftteams.uservoice.com/
Thanks!

Done: https://microsoftteams.uservoice.com/forums/555103-public/suggestions/42287602-new-csonlinesession-does-not-adhere-to-sessionopti

Great @DEberhardt David.


Do not filter messages from yourself, friends, or clan members when using chat filter plugin.

Fixes issue #8282. No longer filters messages from yourself, clan members, or friends.
Not a huge fan of how the unit testing is mocked, maybe I should make a separate method for checking local player? Tests are passing, though.

There should be an option to let the filter still affect yourself, friends, and clanmates

This won't work for the chat, only the overhead

Also this works only for overheads and not for chat messages. it should work for both

@Nightfirecat #8775 was merged and references this (and apparently does the same thing), I assume this is a dupe and should be closed?


Is Local File Upload Supported?

I could easily be doing it wrong, because I know the process is different for local files than urls.
Here is a minimized function call of what I'm attempting to do:
$results = $results->upload('../Libraries/54 The Con.m4a', true, 'm4a',$_FILES);
Currently this call just fails with no error message. My best guess is that passing $_FILES is not the correct way to pass the track, but I can't think of any way to pass it otherwise.
I tried unrolling it to the request() function, and I thought from the variable name" $url" it may be assuming a url is being passed. PHP isn't my strongest language though.

Hi, bshaffer!
I hope you're still reading reviews ...
For several days trying to sort out your echonest api library but the result is sad. My attempts to recognize local files fail. Please tell me how to use the upload function.
i've tried:
$ results = $ echonest-> getTrackApi () -> upload ($ dir. '/'. $ file, 'true', 'mp3', $ buckets);
unfortunately does not show errors.

Hello! Unfortunately I have not been keeping this library up-to-date… I'm
not sure why the upload function would fail. Perhaps echo nest has changed
their APIs? If you find out please let us know.
On Friday, April 3, 2015, urii<EMAIL_ADDRESS>wrote:

Hi, bshaffer!
I hope you're still reading reviews ...
For several days trying to sort out your echonest api library but the
result is sad. My attempts to recognize local files fail. Please tell me
how to use the upload function.
i've tried:
$ results = $ echonest-> getTrackApi () -> upload ($ dir. '/'. $ file,
'true', 'mp3', $ buckets);
unfortunately does not show errors.
—
Reply to this email directly or view it on GitHub
https://github.com/bshaffer/php-echonest-api/issues/15#issuecomment-89410210
.

--
Sincerely,
Brent Shaffer
@bshaffer http://twitter.com/bshaffer


domain names as src/detecteable attributes being detected as internal links

seen in some opengraph meta tags
input:
<meta attr="something" content="MySite.com">
current output:
<meta attr="something" content="https://destinationurl.com/MySite.com">
expected output:
<meta attr="something" content="MySite.com">
likely cause is looking for an extension as part of checking string as possible internal link
solutions?

whitelist extensions (prone to missing valid/new file extensions)
blacklist extensions which are known TLDs (better, but seems unnecessary)
?

@thegulshan, looks good so far, no more localhost references or rewriting of urls that shouldn't have been in this:
static-html-output-plugin-91-fix-domains-in-strings.zip

I can confirm, this is resolved.
<meta property="og:site_name" content="Example.com">

w00t! Thanks again for all the testing, @thegulshankumar!

Most welcome! Happy to test more and more to get all these issues sorted fast.


Format verse numbers

this is kind of messy and it doesnt add a new directive, however it does format the verse numbers is they are there

One thing to note is that it keeps the padding for the verse number if you have it or not which is something you may not want . I could add a var to LyricsRender called formatVerseNumber and wrap all of that in an if statement.

Like you said in your comment on my issue
https://github.com/paurakhsharma/flutter_chord/issues/21#issuecomment-1784912255
Adding a new directive would be the ideal solution however this would require me to change 8k songs haha.
Let me know if you can work with this concept

Im aligning stuff better than in the pics, but for our purpose assume they align correctly. If everything aligns correctly does this solution work for you

I am happier with this:

Too much wrong, found a few issues i need to fix.


Modskin Error

How to fix this situation?

I also have the same problem, can I contact the developer to fix or update?

This is a temporary version of 13.13 while waiting for R3nzSkin UPDATE
https://raw.githubusercontent.com/kkk000z/file/main/13-13LOL-MODSKIN.zip

13.13 Update has been released. Please check the releases.


Solita doesnt seem to work on anchor v0.28.0

Solita doesn't seem to work on the latest anchor version 0.28.0 due to a lack of anchor-cli 0.28.0 support rn. Is there anything we can do to solve this issue on our end? Or is the only recourse to wait to anchor-cli v0.28.0 to be released?

Anchor cli 0.28.0 seems to be releases, so closing this here

Closing this here as it seems to be an AVM issue rather than no anchor cli v0.28.0 being released

@tanmaymunjal What was your solution? Tried everything, from building my own anchor bin, ripping out avm, housing a .cargo directory with the anchor binary directly in my SDK folder, etc...


Metrics: Get DASer and Syncer metrics from node

We need to retrieve a lot of custom/new metrics from node that are not defined. Namely:

GetShare metrics
GetByHeight metrics

On going work is available in https://github.com/celestiaorg/celestia-node/pull/1376

Tracked in separate PR


feat(sidecar): commit-boost integration

partially solves #201
Note - This is not e2e tested with commit-boost

Summary by CodeRabbit

New Features

Introduced new configuration options for commit boosting, including an API endpoint and JWT for authentication.
Added a new client type, CommitBoostClient, to the public interface.

Improvements

Enhanced BLS signing functionality with support for different signer types.
Updated the SidecarDriver to streamline the signing process.

Bug Fixes

Simplified error handling in the signature request process.

Chores

Removed unnecessary dependencies to improve project requirements.

@coderabbitai review

@coderabbitai review

Just working on a mock test


fix: checks if files end with newline. closes #13

Fix: checks if files end with newline.
Changes:
alxcheck\main.py:

Added ".md" in line 26 to ensure files with .md extensions are checked for newline.

alxcheck\checks\general.py:

Modified the check_file_ends_with_new_line function. Files should open in binary mode instead of read text mode. Instead using read() to return a single string containing the entire content, readlines() was used to return list of lines.

Thanks for taking your time to contribute to this project @samdoghor

This nice, but can the check for newline in the README.md file be placed somewhere between line 12 and 14

Alright. Will do so.


Update archlinux.plugin.zsh

-alias pacfiles='pacman tFs'
+alias pacfiles='pacman -Fs'
pacman tFs makes no sense. I assume who ever wrote this meant -Fs

I see #5909 was opened long ago. Thanks for bringing this to our attention though!


Include DSE in circleCI parallel job

We should test DSE in circleCI the same way we do with Apache Cassandra, preferably as a parallel job.
Since downloading DSE requires credentials, we'd need to figure out how to manage passwords / secret vars in circleCI.

No longer needed.


Refactor knex Todo formatting to use array/object methods

There's probably a better way to create this formatting. Can we use reduce or something else to do it in a more clean way?

Decided not to worry about this. Project is not focused on this level of optimization. It is first and foremost an sql experiment


Change output of Function Evaluator from syntax to IR type

Load* functions should return Intermediate Representation (IR) types that will bridge between semantic model and json output. Currently we do not have such types so we output syntax. We need to change it once we have IR types.
Originally posted by @majastrz in https://github.com/Azure/bicep/pull/6275#discussion_r855669500

Waiting for #5730


Better behaviour when expected disagreement is 0 for Krippendorff's alpha

Some measures of interannotator agreement, such as Cohen's kappa and Krippendorff's alpha, are not meaningful for cases where all annotators assigned the same label.  In this case the expected disagreement is 0 and, were the measure's usual formula to be calculated, it would produce a division by 0.
When KrippendorffAlphaAgreement is told to calculate Krippendorff's alpha for such cases, calculateAgreement() returns 0.0.  I think this is misleading—a value of 0.0 means that the agreement was successfully calculated, and that it was indistinguishable to a random labelling.  I think that calculateAgreement() should have instead signalled to the user that it could not return a meaningful result with the data it was given.  CohenKappaAgreement correctly handles this case by throwing an exception of type InsufficientDataException—maybe KrippendorffAlphaAgreement should do likewise…?

Hmm… I see now that CohenKappaAgreement is throwing the exception via CodingAgreementMeasure.  So the problematic behaviour described above is probably a consequence of KrippendorffAlphaAgreement not implementing ICodingAgreementMeasure, as mentioned in Issue 17.

Looking at other IAA tools such as ReCal seems to confirm that [Krippendorff's alpha is undefined when the expected disagreement is 0]{http://dfreelon.org/2008/10/24/recal-error-log-entry-1-invariant-values/).  I will push a change that checks getCategoryCount() and throws an exception if it's not 2 or more.


update parts of website

updated few parts of the website. will add everyone's + group report tomorrow

nice:)


Support SSO authentication

User story
As a CLI user, I want to authenticate with API Manager using the configured SSO mechanism.
Additional context
When (SAML-based) SSO is used to log into API Manager, regular users do not have a username and password. In order to use the CLI, everyone needs to create a technical user (~ service account), which is not scalable and potentially insecure, especially if password are stored locally. Ideally, the APIM CLI would support an (interactive?) login with API Manager using the configured SSO mechanism. Similar mechanisms are supported, for instance, by the Amplify Central CLI  and the gcloud CLI.

Hi @davidgeiger, this would be a big change, as the authentication would then have to be stored in an external token, which is a completely different concept than how it is done now.
And the CLI currently uses two users. So the default user (Org-Admin) and if specified an admin account (e.g. service account) which performs all the tasks the default user can't do. The admin account is then stored in the pipeline if necessary.
I am not sure how this can be brought together with the SSO concept. Any thoughts?

@cwiechmann Maybe a simpler alternative (or intermediary) way to see this would be to allow decoupling the login part by providing the session cookie in an environment variable.
This way, in the apim-cli code, changes would be limited to using this env variable if present. On the other hand, the SSO login sequence would still have to be implemented somewhere but it would be a different custom development.
Just my 2 cents here

this. pls. but it can tricky, as org IDP might be enforcing browsers..
we can't issue local accounts to users.
another example, similar as above: other systems (openshift) allow you to issue a token from the ui
but something. pls.

I think the CLI must support a command like: apim auth and perhaps supports then different options:
apim auth login --> Login as it works today, using a standard APIM account based on HTTP-Basic
apim auth loginsso --> Would then behave as the AMPLIFY-CLI
Ultimately the generated Session-ID returned by the API-Manager will be stored in a local config file, no matter which authentication option was used.
But Still the CLI will use, if given, an Admin-Account to create the required Admin-Session.
@emmanuel-galindo, can you please elaborate a bit more on this example?
another example, similar as above: other systems (openshift) allow you to issue a token from the ui

Sounds good to me. I believe both of the above examples (Amplify and gcloud CLI) open a browser window for an interactive OAuth auth code flow. I assume a similar approach could be used to open a browser window for authentication with API Manager's SSO endpoint via a SAML flow. The resulting user authentication token would be a generated session cookie instead of an OAuth JWT.

opening a browser to get the token seems a good to me, and if you have already done for amplify-cli maybe it will avaialble soon?
@cwiechmann in ocp webadmin, you have a way to copy to your clipboard a string similar to:
occlient --token XXX login

@cwiechmann any update on this feature? or is there any plan to include some alternative to having to login with a non-sso api admin in the next releases?

@cwiechmann I just got to "2.2 Create a service account using the Amplify Central UI
" from https://docs.axway.com/bundle/axway-open-docs/page/docs/central/cli_central/cli_install/index.html and remembered about this issue, do you think something like that could be enabled for apim-cli? that would be awesome to have

Same here, this would be an important feature to reduce the number of password-based "service accounts". They may still be required for technical clients that cannot obtain a SAML token, but anyone else - in particular the average org admin - should be able to use the CLI with their SSO identity.
@cwiechmann: Have you considered integrating the API Mgr CLI functionality into the Axway CLI given that it already supports interactive authentication? This would also reduce the number of CLIs that a user has to install. ;) Not sure if there is an efficient way to port or emulate the Java-based codebase.

Unfortunately there was no time at all to work in this. As you may guess it's a major undertaking to implement this.
Making the apim-cli part of the axway-cli looks not feasible to me, as the Axway-CLI is based on node.Js vs. Java for the APIM-CLI.

Haven't thought this through, but perhaps it is feasible to create a simple wrapper around the apim-cli in order to turn it into an Axway CLI extension? A command such as "axway apimgr import" would then trigger the apim-cli (JRE) execution. Assuming that the available (interactive) authentication framework could be adjusted to interact with API Manager, it could pass the obtained SAML assertion as a parameter to the apim-cli. Leveraging the package manager for apim-cli installation also seems interesting.

Any new thoughts on how to approach this? I believe an interactive authentication is crucial to ensure CLI usability with an SSO-enabled distributed setup. Having to request dedicated technical users (with passwords) for each use case introduces security risks and a significant adoption barrier.

Would it help to engage with the Axway CLI team to see if the same logic can be used? The need to create a technical username/password account for each user who wants to use the CLI creates a lot of overhead.

@davidgeiger is there any way to login to the API manager API (port 8075) by not using username/password?
https://apidocs.axway.com/swagger-ui-NEW/index.html?productname=apimanager&productversion=7.7.0&filename=api-manager-V_1_4-oas3.json#/Login/login seems to accept only login and password parameters and sets some cookies to let the API client work.

@saper and @davidgeiger, One option i think of doing IDP initiated SSO - In that case APIM CLI will act as IDP, it accepts username, generate SAML token, sign it and send it API manager to generate user session. The session  will be used by APIM CLI to make subsequent API call to API manager.
What do you think about it?

Hi @rathnapandi. I might have misunderstood but this doesn't seem feasible to me. A user's identity needs to be authenticated by the central identity provider. Otherwise, users can easily impersonate each other.
I believe the approach that was outlined in the previous discussion is a best practice for CLIs (incl. the axway cli): In addition to the existing password-based authentication, offer an interactive SSO option. This opens the API Manager SSO login in a browser window, which will trigger the SAML authentication flow with the IdP via redirects and result in an API Manager session. At this point the browser window can be closed and the session id can be used for all subsequent API calls (@saper).
Implementation is mainly a matter of orchestration since this approach leverages the existing API Manager SSO mechanism and session authentication. As an alternative, it may be worth looking into leveraging the existing axway cli or its authentication framework (as suggested before).
I want to stress the importance of supporting SSO authentication in the CLI again. At this point the average API Manager user can not use the CLI with an SSO-integrated API Manager instance. Every CLI user needs a password-based account, which would negate the benefits of an SSO integration.

Hi @davidgeiger,
I agree with your concerns.
During SSO, API manager generates cookie and CSRF token after successful login and assign roles based on the service-proivder.xml configuration.  The cookie and CSRF token can be used for REST API call. Challenge is how do we know the authentication is complete and how can  we read the cookies from browser?
Amplify CLI uses following process during authentication.  The CLI uses Oauth2 OIDC.

CLI listens on http port (3000) to handle http redirect request
Open nup browser window with redirect URI ( redirect URI refers to host and port used by amplify cli) e.g https://login.axway.com/auth/realms/Broker/protocol/openid-connect/auth?access_type=offline&client_id=xxx&code_challenge=TYhIItr6KCcsFcKJI11fwl1p-C_JsO5hbFJEWQ1dXIk&code_challenge_method=S256&grant_type=authorization_code&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fcallback%2F694F2B75&response_type=code&scope=openid
After successful login IDP redirects to redirect URI
CLI  receives a callback request from IDP and read access token and id token
Use access token for subsequent api calls.

Amplify platform acting as IDP if Amplify tenant is not  configured with SSO, if the tenant is configured with SSO, it will act as IDP broker.
I am thinking of a  hybrid approach.

Create an open-id application on IDP with redirect URI as localhost:port (used by cli)
apim-cl listens on specific port, open browser window for login,  receives ID token as part of redirect request if login is successful.
APIM CLI parses id token and get the user id, organization name, role, email, username etc.. , generates SAML token with user id and other attributes.
Call API manger SSO endpoint (IDP initiated SSO flow) to generate SSO related cookie and CSRF token.
If SSO call is success, API Manager generate session and CSRF token which can be used by APIM cli to make subsequent calls.

Challenge :
SAML attributes are signed by default, to do that we need a private key used by IDP which might be difficult to get an access.
To overcome the above challenge, we can configure additional  profile on service-provider.xml and manage our own private key or ignore the signing validation.

Hi @rathnapandi. I see several challenges with the described hybrid approach. It will not be possible to use private keys of our IdP. More generally, if the CLI issues or signs the SAML assertions, this would require the gateway to trust all CLI instances (run by any user), which is not feasible (risk of impersonation).
Couple of thoughts on other options, although I am not terribly familiar with SAML:

Is it be possible to implement the outlined Amplify CLI flow entirely with SAML? I guess that would require the CLI to dynamically pass a localhost redirect URI to the IdP (instead of the default API Manager SSO endpoint) in order to catch the assertion. I am not sure if this is possible with SAML.
If it is not possible to pass a redirect URI, we could change the static redirect URI (in the IdP config) to a custom endpoint that is backed by an API gateway policy. By default, this policy will simply redirect the client (browser) again to the API Manager SSO endpoint. If the login flow was initiated by the CLI (), however, it would redirect to localhost instead, thus passing the assertion to the CLI. () This information would need to be passed through the entire SAML flow.
As an alternative to SAML, the CLI could use OIDC exclusively to authenticate with API Manager. This would be largely the same flow as with the Amplify CLI. It would require the configuration of account authentication+information policies in API Manager whose behavior is in line with the SAML SSO configuration. I understand there have already been some activities to also enable OIDC as a general SSO option besides SAML, so there might be some synergies.

Re impersonation: If the CLI generates its own SAML assertions that are trusted by API Manager (signed or not), what prevents a user from changing the username in those assertions (e.g., by changing the CLI code)?
I did some more digging into implementing the Amplify CLI behavior with SAML and still think this should be possible.

In a SP-initiated flow, the SP can pass an AssertionConsumerServiceURL in the AuthNRequest. This is the equivalent to OIDC's redirectUri and needs to match the list of allowed ACS URLs on IdP side. See, e.g., here.
The CLI would have to generate a SAML authentication request with an AssertionConsumerServiceURL=localhost parameter, send it to the IdP, retrieve the authentication response, send it to API Manager's SSO endpoint and store the resulting session cookie + CSRF token.
In case some IdPs do not support multiple ACS URLs (not sure about this), it may still be possible to create a second IdP application that has a static localhost ACS URL. I don't know if API Manager will accept corresponding authentication responses, though, as they probably contain another id.

Alternatively, using OIDC instead should already be possible today. It merely requires a client that orchestrates the login flow, which essentially means redirecting unauthenticated users to the IdP where they authenticate and are redirected back to API Manager. IMHO this orchestration is the only part missing in API Manager to support OIDC SSO, but it is not relevant here since the CLI would handle the orchestration. Everything else is already supported and we are doing this in other places:

The CLI can send the access token from the IdP response as a password parameter to the login API.
An IdP-specific account authentication policy validates the token and extracts the relevant user id. This can be done both with self-contained, signed JWTs or through remote validation at the IdP in case of opaque tokens.
If no account for the token's user id exists in KPS, API Manager invokes an account information policy, which extracts or obtains additional information on the user (name etc.) and creates an account.

Finally, using either approach, I am wondering if there isn't an easier way for the CLI process to access the response data from the browser that it launches, i.e., without having to send it to a localhost HTTP port first? To illustrate what I mean: If we were to send an authentication request to the IdP using curl (which would be a bit cumbersome), we would get the authentication response directly as a command output. Are we sure this doesn't work with a graphical browser?

Some challenges with your SAML suggestion.
Some IDP expects SAML login request be signed to establish a trust, which requires certificate exchange.
Okta does not support multiple relaystate URIs

I like the second approach. it would be feasible to implement it.
What kind of authentication request? If you mean saml request, IDP will redirect to the login page if the user does not have valid session. How do we handle user interaction from CLI for login? Am I missing anything?

Agreed, an SP-initiated login with authentication requests generated by the CLI will not work if the IdP expects signed requests. Signing requests does not seem to add any value in this case, however, since the actual user authentication happens at the IdP. If that is a concern handling CLI authentication via a second IdP application without request signatures may be a possibility (if the resulting assertions are accepted by API Manager - see above).
When using an SP-initiated login, the relevant parameter for passing a dynamic redirect URL is the AssertionConsumerServiceURL that can be added to the authentication request (Azure AD docs). AFAIK the RelayState can be used for a similar purpose in IdP-initiated logins but requires some logic on the SP side: The IdP still sends the authentication response to the configured (in this case static) ACS URL and simply passes the RelayState as an additional parameter. I don't think this helps here.
Re the last point: I am not suggesting to use curl to handle the user login. I was merely wondering if there might be a more direct way to read the SAML assertion or access token from the IdP response of a browser window - besides redirecting the IdP response to a localhost port? Since the CLI launches the browser window, it may be able to get the HTTP response values through another means (comparable to the verbose output of a curl command).

Once we launch browser window, we will lose control of request and responses unless we are acting as http proxy to intercept request and response.

Ok. Either way, the approach with a redirect to localhost may work with both options. Any preferences or further relevant points on your end?

SAML login would be straightforward to set up for existing API Manager environments: add a localhost ACS URL to the IdP config. It also requires that authentication request signature validation is disabled or a second app w/o signature validation (to be verified).
OIDC login does not require changes to the SAML setup but requires a redundant implementation of the SSO mapping rules in account authentication + information policies. This increases overall complexity as long as the API Manager UI itself does not support OIDC (at which point OIDC could be used exclusively).

This continues being very relevant for a full SSO experience with API Manager. Please reopen.

unstale

will this be completed? or at least some alternative (ie tokens issues from api manager)
it seems the only way is to build an api on top of all these to obscure these admin accounts, but yet provide tools for developers.  It is a bit of an overhead.

Hi @emmanuel-galindo,
API Manager supports only SAML, but we can extend API manager Identity provider polices (policy can get username, password, add client id, secret to call external IDP for authentication and authorization) to implement SSO

A workaround is CLI can initiate the SSO to IDP by sending SAML sign in request and get the SAML response from IDP, then CLI sends to API manager to get a session token.  This approach requires additional configuration on IDP as well as API manager.


Chat failed to load. Please ensure that the GitHub Copilot Chat extension is up to date

when i log out github copilot chat

vscode version: 1.89

@roblourens you mentioned you knew about this notification but if it's something actually auth related, throw it back to me

This is fixed in Insiders now, we will have a smarter compatibility check

I'm also having this exact error on VS Code 1.89.1, also tried VS code insiders, after installing the extension, it asks to authenticate, after that when I click on the Copilot chat icon on the left side, there is still a button that says Sign in even though it's already signed in. And clicking on the sign in button does absolutely nothing. Please I would appreciate it if there is a fix

Any help here please? I am also having the same issue

If you're having trouble using Chat in Insiders, please open a new issue and include the "GitHub Copilot Chat" output channel log, thanks


Support tts:displayAlign on TTML

Is possible add for support tts:displayAlign on TTML? This style is used for subtitle position.
Sample: https://shaka-player-demo.appspot.com/demo/#asset=https://irtdashreference-i.akamaihd.net/dash/live/901161/bfs/manifestARD.mpd;lang=es;play
Specification: https://www.w3.org/TR/ttaf1-dfxp/#style-attribute-displayAlign

That's a bit of a tricky question.
We use VTT cues to display text: https://w3c.github.io/webvtt/#vttcue and there is nothing in the interface that displayAlign could directly translate to. Looking at the doc I think we could arguably translate it to VttCue.positionAlign, but it's not supported by browsers at this point (hopefully it will be eventually), so it setting it will have no effect :(
We can still do it so it works once browsers implement it, but I'm afraid that's about the best we can do now.
On a related note: we're currently working on separating out text parsing and display logic so people can have custom text displayers, so I can make sure displayAlign is at least parsed if someone wants to use it in their custom display.


ACME tries to contact certificate endpoint using IPv6 if it is not disabled in kernel

Describe the bug:
I'm not entirely sure that this is not a local configuration problem, but I thought I would raise it for others to note if not. In my configuration (versions below), the ACME controller attempts to reach the certificate server using IPv6, even though the interface in CentOS is marked as "ignored" in nmtui. It may be that AAAA records need to be ignored.
Expected behaviour:
Without disabling IPv6, the connection should work as expected.
Steps to reproduce the bug:
Set up ACME with the rfc2136 provider, look at the addresses it tries to reach the server on.
Anything else we need to know?:
The #929 PR may help show some of the addresses. To use it, add --v=6 to the container arguments in the descriptor.
Environment details::

Kubernetes version (e.g. v1.10.2): v1.12.0
Cloud-provider/provisioner (e.g. GKE, kops AWS, etc): Kubeadm
cert-manager version (e.g. v0.4.0): 0.5.0
Install method (e.g. helm or static manifests): helm

/kind bug

We don't do any kind of fancy networking related things in any of our HTTP clients, so this sounds like a misconfiguration on your nodes or similar.
Not sure if there's anything we can do here. If you can provide some additional information, or some way we can reproduce it, that'd be great.
Otherwise we may be best to close this issue as I don't think there's any actionable steps on our part.

Hi @munnerz I had forgotten this was open. And I can't even remember now what it was about.
Generally, more concise logging would help a lot. I know that's a huge ask for developers because the logs are always more than sufficient (by definition) to those who wrote them. That doesn't help solve the issue in the slightest.
On the upside, once things were running, it was a lot easier to avoid blockers. The issues I created a few months ago were a feeble attempt at contributing an easier-to-debug experience before I forgot the problems I had. Can't imagine how I could do that now, oh well.


docs: reorganize README with emphasis on end user documentation

Fixes #265
Summary of changes:

Rewrote the top-level README to cover newer functionality that has been added in the past couple years (model check tools, local dev environment, the create script, etc).
Added screenshots and videos.
Moved the more technical developer/contributor-focused documentation from the top-level README to a new section for contributors in the wiki.
Moved the detailed sde command reference to the cli package README.
Removed the documentation files that were previously in the notes directory; these have been migrated to the wiki.  (I haven't finished rewriting the "making a web app" guide, but there's a placeholder on the wiki that should be OK for now and I'll finish fleshing that page out after this gets merged.)
Added consistent sections (Quick Start, Install, Usage, Documentation) to the READMEs for individual packages.

See the rendered README for this branch here (i.e., what the landing page will look like after this branch is merged):
https://github.com/climateinteractive/SDEverywhere/blob/chris/265-readme/README.md

@ToddFincannonEI: Thanks for the review and ideas.  I pushed a bunch of commits to address your feedback, and comments are inline below.  I'll merge this PR shortly and we can continue to improve the README as things come up.

I love the new introduction. It makes me excited about using SDEverywhere. Getting something to run with one command is a much lower barrier to entry that what we had before. I like the way you separated out the more technical details into the wiki.

Great!

Supported Platforms

Have we run WebAssembly on the server?

Yes, the same WebAssembly blob can run in both browser and in a command-line or server-side Node application.  There are examples that exercise this in a few places, for example, in the integration tests (under tests/integration, like this script).  When model-check tests are run on the command line, that's another example of the WASM code running in a Node process.
Also, the En-ROADS SDK includes a simple example of running the model in a Node application.  Your question makes me realize that we can include some better docs and examples for this use case; we can even make the create script auto-generate a small Node script that runs the model in addition to the web app we already generate.  I'll add it to my list.

Supported File Formats

Is there a published roadmap? We may not want to mention XMILE given the low priority in both our ourgs.

The only roadmap at this point is this post I wrote up on the discussion board, along with the roadmap that's in my head.  I was on the fence about mentioning XMILE for the reason you mention, but thought it might be worth mentioning in case anyone is inspired to help make it a reality.
I changed it to not say "roadmap"; instead it now says that it's not currently supported but is something we'd like to see if anyone wants to help.

This would be a good place to link to the supported Vensim functions in the wiki.

Good idea.  Link added.

It would be helpful to document someplace (probably not here) the compiler error you get when using an unsupported Vensim function. This seems to surprise people, and it looks like SDEverywhere generated bad code. Maybe just issue an SDEverywhere compiler message instead.

Yeah, in the short term we can document this, but I think ideally it would be better if the SDE compiler would fail fast and emit a more useful error message in this case.  I'll file an issue this week.

Features

Live editing and quality checks and comparisons might be our killer feature, since your tools do this better than the vendor tools. Maybe mention it up higher.

Yeah, I wasn't sure the best place for the Features section (since it's a little wordy), but having it up higher makes sense.  I've moved it up to be between "Supported File Formats" and "Core Functionality".

SDEverywhere in Production

You could add EPS to the production apps. Energy Policy Simulator

Great, I meant to ask you directly if it would be OK to include EPS.  I've added a bullet.  Let me know if you'd like to change the wording.

Contributing

We fully handle :EXCEPT: clauses now.

Good catch, I removed mention of EXCEPT clauses.

Should we mention antlr4-vensim?

Sounds good, I added a link to the first bullet about improving the parser.


Resizing multiple linear elements often relatively misaligns them

It's related to some initial unspecified conditions most likely related to roughjs (or how we use the low-level coords coming from roughjs). Meaning, it manifests for the box below, but if you duplicate it (and hence regenerate the shape), chances are it won't reproduce (or reproduce differently).
AFAIK doesn't manifest with non-linear elements, which kinda makes sense because we're not touching roughjs data for those cases.
(Note that when duplicating via ALt, the shape you're dragging isn't the one regenerated)

https://excalidraw.com/?#json=5334617385074688,oOxke10L60t4kkkBC-JUUA
more examples:
https://excalidraw.com/?#json=5549363703054336,-0vFlwxR5g2UB-lT24WnNg
/cc @dai-shi any ideas?
possibly related to https://github.com/excalidraw/excalidraw/issues/2896

Reproduces only for non-0 roughness line elements (not freedraw). Shift-locking makes it much worse.

I'm not sure how much code is changed since when I was working on, but it looks like the issue of calculating bounding box.
(I can only reproduce with either #2896 or pressing on and off SHIFT while dragging.)

Anecdata: I'm a pretty frequent Excalidraw user and many of the library shapes I regularly use have only recently started doing this.


fix: use short option for sha256sum

Some distributions of sha256sum only support the short options. This updates the call to use the short option for broader compatibility. This check is currently broken on our alpine-based images used in some test environments. We may want to switch these alpine-based images to debian as a followup change so that our build images are more similar.

/retest
/assign @nan-yu


Refactor/move common convert code to single place

https://github.com/metanorma/metanorma-iso/issues/267
https://github.com/metanorma/metanorma-build-scripts/issues/3

@opoudjis I have questions about two function:

foreword
introduction

They contain really small difference but it's supported by expected test result, could you please confirm that they both should have different implementation for word & HTML?


Update dependencies, fix building against volk 2.3 when it should be 2.4.1

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


How our customers are supposed to work with default HTTP transport

Now we have two HTTP transport layers working on Windows, WinHTTP and libcurl, and the default one is WinHTTP.
I think the ideal way for beginners to use our storage sdk with default transport layer (which is important, because I don't want to introduce the concept of replaceable transport layer to beginners at the very beginning in case they feel our sdk is over complicated) would be 1. include blob header in their source file 2. specify the library path in Visual Studio project settings. No extra steps should be required.
Now for more advanced users who want to try the non-default libcurl transport, they have to specify one transport layer at build-time, because we don't support runtime switch yet. Now that the build is done, there is only one transport in the binary lib. I think the ideal way for them to use our library is still 1. include the header 2. specify library path.
Above is what I have in my head about how our library should be consumed by customers. I'm not sure if we're on the same page, so feel free to disagree. But I believe the two steps above won't be enough at the moment. Because we have another build time check here in header file. https://github.com/Azure/azure-sdk-for-cpp/blob/1699bb72d5c656965f812468f0ed4e9651f515ac/sdk/core/azure-core/inc/azure/core/http/policy.hpp#L124
If the user doesn't define anything (which is almost always the case for beginners), it will go to the custom transport path, which apparently won't compile.
I want to know if this is an implementation defect or by design behavior. Storage team does have concern if this is by design. The default does not look like default anymore. Because they have to explicitly specify a transport layer before including storage headers. Also it would be inconvenient for the customers who want to try and compare several different transport layers.
My proposal to improve user experience is to move the ifdefs to .cpp file. So the code path is fixed once the build is done. Customers don't need to do anything at runtime to specify a transport layer.

it will go to the custom transport path,

This is not true. The currently expected usage is just like you described. The end-user shouldn't even need to set the library path (we expect them to use vcpkg).  Once they install the SDK (like storage) they can then add the header and create the sdk client they want.
The default transport adapter is defined with a CMake module DefineTransportAdapter.cmake. It makes sure to pick the default adapter depending on the OS and the end-user input.
Let me know if you have any questions about it.
@ahsonkhan  FYI.

@Jinming-Hu the desired end-user scenario you described is how I foresee customers getting started. There might be one extra step of installing dependencies, if they aren't using vcpkg but that is not the mainline beginner-friendly path. As @vhvb1989 described, that is how the SDK is behaving today (or at least the goal is that it should be) and if it isn't, please let us know.

My proposal to improve user experience is to move the ifdefs to .cpp file. So the code path is fixed once the build is done.

@vhvb1989, do you think there is still some value to move this to the source file to create a clearer separation between the API surface, and  the transport-layer specific underlying implementation. I think that's a reasonable suggestion even though the design and behavior already aligns with what @Jinming-Hu is suggesting.

I see, yes, @ahsonkhan , we need it in the /src.
The problem of having it the way we do in headers is that even after installing the SDK , the header will still require the symbol everytime it is included.  This is a bug.

The situation is, users have to define BUILD_TRANSPORT_WINHTTP_ADAPTER or BUILD_TRANSPORT_CURL_ADAPTOR before including storage header to be able to build their application. I think we all agree this isn't how our customers are supposed to do.

Yes, it is a bug.
I think we can use the GetCustomHttpTransport() function (maybe rename it to GetHttpTransport).
Then, on out cpp, we do the #ifdef to define this function and return the transport adapter that we want or do not define the function at all when the end-user want to use custom (so the end user can implement this function on his/her code).

@vhvb1989 Thanks for the acknowledgement. In this case, I'll unassign myself.


Suppress join messages from Mattermost

Which version of matterbridge are you using?
version: 0.11.0-dev 33dffd5
Please describe the expected behavior.
Please add a configurable parameter to suppress join messages from the Mattermost end.
Please describe the actual behavior.
Bot relays messages like "bot: [username] username has joined the channel." to irc/xmpp when a new user logs in to Mattermost.

Fixed in master.
By default join/leave messages from mattermost are now hidden. To enable use showjoinpart=true on the receiving bridge config.


Levi Dedi

Name
Levi Dedi
Profile Image

Country
Uganda
Region
Rhino Camp Refugee Settlement, Arua- WestNile
Organisation
Global Rehabilitation and Transformation Response (GRTR)
Languages

English - good 2.	Arabic - Fluent  3.	Kakwa - Native  4.	Lugbara - good

Skill 1
Hardware & Repair
Qualifications for Skill 1

Diploma in Information Technology
Certificate in computer applications
Computer Maintenance and repair
Hands on repairs like solar repaire and installation
Certificate in building of internet dish made out local materials like mesh wire
Attained trainings on the Askotech skills
Communication Dish (Mobile Cellular booster) developer through open source tech

Skill 2
Web & Software
Qualifications for Skill 2

Certificate in Data collection skills and the ability to research
The knowledge of using Open data collection applications like Kobo-Collect, cam care, and ODK
Creation and management of social media platforms like Facebook, WhatsApp.
Experience in conducting virtual meetings carried out online

Skill 3
Organizational Development
Qualifications for Skill 3
I have 2 years of experience in the following fields

Project monitoring and evaluation with Certificate in project planning and management
Community mobilization in terms of any advocacy projects
Excellent verbal and non-verbal communication skills
Organizing meetings in the organization
Certificate in TOT trainer of the trainee in all the fields
Certificate in pitching. Training organized by rog agency

Skill 4
Community and Moderation
Qualifications for Skill 4

Community mobilization for an activity
Certificate in counseling and guidance
Organizing and facilitating training
Activist in advocating for human rights especially the refugees in knowing their obligations in Uganda

describe yourself
I am Levi Dedi a South Sudanese who became a refugee in Uganda in 2016 after the civil war in South Sudan, I have a passion for helping communities and hence my growth in the use of tech for community transformation, and in that, I have cherished teamwork and the love for football as a part-time hobby,
Currently, I work as the monitoring and evaluation office for Global Rehabilitation and Transformation Response (GRTR)
E-Mail
<EMAIL_ADDRESS>Phone
+256-788263301
WhatsApp
+256-788263301
Website
No response
Telegram
No response
GitHub
No response
LinkedIn
No response
Twitter
No response
Facebook
https://www.facebook.com/toni’s.leviticus
Instagram
No response
Mastodon
No response
WikiFab
No response
Other
No response

I just updated the description of Levi, from a long and unstraight story to something a little straight. @chardso please check it so we can transfer the profile to the next column
@dawaedina27 do you wanna check out his skills if they are correct, or if anyone has proof of a link or photo for his work.
@dutandrewkulang you could come in as well then we transfer the profile @timmwille

And can someone rather help me with a better photo of Levi the photo present is more of a work-on-progress pic this can depict his work, but let him send us some better photos? @Math-TECH-Hub @timmwille @maliarich @dawaedina27

Good description, and truely the pic shows his concentration at work,which is good,but however there is need for another pic showing his face to the viewers, to my own perspective, the next pic should just be send in this comment box,and this particular one reserved somewhere in the lead as it speaks of his work.otherwise good to go.

Hi @romeoplat,
@Math-TECH-Hub can finish his profiling of Levi, request for 1-2 more pics and you select the better option.
Secondly, he's on telegram, why live that space  empty? .. I am sure the same WhatsApp number, works for the telegram :)

Yeah sure.

skill 1 need some editing in spellings

@romeoplat @timmwille This profile is done

@romeoplat @timmwille This profile is done

done in terms of implemented? or are there changes that apply?
I figured some Profiles are done as in "closed" here (also verified) but the issue is still open:
https://github.com/ASKnetCommunity/LEAD/projects/2?card_filter_query=label%3Averified+is%3Aopen

Anyways I have managed to change in a few tweeks like he had 2 profile pics and some grammar and for now I can approve that the profile is verified and good to go

After a long time final closed


Running these functions locally

I saw from another issue that you can't really run these functions locally. What would it take to make that happen? Hard to beat the dev flow of:
go run functions/auth/main.go < event.json

Will probably work on this if it's feasible :-)

The main reason it would be awkward locally is you'd have to build the zip each time, and unzip it each invoke too, so it's super slow. Also only the shimmed ones accept events over stdin so it would be different for python/node which is tricky too.
Ultimately I think there's no replacement for just writing tests and libraries instead :D


Redirect statistics finder to Research and Statistics finder

This will redirect two finders (stats and stats announcements) to the new Research and Statistics finder. The params will be preserved. This will only impact the English locale. At a later date we'll remove all of this code, once we have the translations for the new finders.
Trello: https://trello.com/c/jMeefvQ1/543
These two URLS:

https://www.gov.uk/government/statistics
https://www.gov.uk/government/statistics/announcements

Will redirect to:

https://www.gov.uk/search/research-and-statistics

Has this been signed off by el gran queso?

@sihugh, I'm still awaiting sign off from les grand fromage.

He says hold for now

Thanks, @barrucadu, I've pushed a fix for this. It's on integration now.


chore: Added basic Vale configuration to validate style guide

With this configuration, the user can use Vale CLI to test that in AsciiDoc documents:

Language is compliant with the Red Hat style guide.
AsciiDoc attributes replace "Backstage", "Developer Hub", and "Red Hat Developer Hub".

It does not automate the use of Vale in GitHub actions.
To test the local rules:

Install Vale. See https://redhat-documentation.github.io/vale-at-red-hat/docs/main/user-guide/installing-vale-cli/
Run the tests:

$ vale .vale-styles/DeveloperHub/tests/ --config .vale-styles/DeveloperHub/tests/.vale.ini

 .vale-styles/DeveloperHub/tests/fail.adoc
 1:11  error  Use the AsciiDoc attribute      DeveloperHub.Attributes
              '{product}' rather than
              '{product} Hub'.
 2:9   error  Use the AsciiDoc attribute      DeveloperHub.Attributes
              '{product}' rather than
              'product Hub'.
 3:11  error  Use the AsciiDoc attribute      DeveloperHub.Attributes
              '{product}' rather than
              'Backstage'.
 4:9   error  Use the AsciiDoc attribute      DeveloperHub.Attributes
              '{product-short}' rather than
              'Developer Hub'.
 5:11  error  Use the AsciiDoc attribute      DeveloperHub.Attributes
              '{product}' rather than 'Red
              Hat Developer Hub'.
 6:9   error  Use the AsciiDoc attribute      DeveloperHub.Attributes
              '{product}' rather than 'Red
              Hat Developer Hub'.
 7:11  error  Use the AsciiDoc attribute      DeveloperHub.Attributes
              '{product}' rather than 'Red
              Hat {product}'.

✖ 7 errors, 0 warnings and 0 suggestions in 2 files.

stalled for a month without anyone reviewing it from the docs team? ugh. Merged to unblock @themr0c


Support ChainerX in Variable.addgrad

Required in MNIST data parallel example (#6857)

https://github.com/chainer/chainer/pull/6979 has now been merged.


Add flags to maven to show timestamps during build

Could be helpful to see where time is consuming
the result could be seen in build logs at https://github.com/datafaker-net/datafaker/runs/5303678498?check_suite_focus=true#step:4:7

Just curious, any reason why you needed this?

not right now, I picked from another project.
However it could speed up the process to identify the reason if at some certain point build starts consuming more time

Yeah, good idea. I was actually thinking of making the build fail if it ever takes longer than a minute to build. I'm not sure if that's an option with maven though

not sure about the whole mvn build... At least there are options to fail tests if timeout was reached e.g.
https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#parallelTestsTimeoutForcedInSeconds
and
https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#parallelTestsTimeoutInSeconds


FIX: Use volume for fio

It might make sense to provide a volume for the jobs too. Alternatively we can use command line arguments too.

Looks good, thank you!


Regression in Hugo 0.60.0: Links get incorrectly linkified twice

What version of Hugo are you using (hugo version)?

$ hugo version
Hugo Static Site Generator v0.60.0-F2DEA9B0/extended darwin/amd64 BuildDate: 2019-11-27T10:16:12Z

Does this issue reproduce with the latest release?
Yes.
How to reproduce

Create a new site
$ ./hugo-0.60.0 new site mysite
Congratulations! Your new Hugo site is created in /tmp/mysite.
...
$ cd mysite

Create a content file with two links; one in plain text and one using the []() markup:
$ echo 'Go to [http://www.example.com](www.example.com) or http://www.example.com.' > content/_index.md

Create a trivial layout for the home page:
$ echo '{{ .Content }}' > layouts/index.html

Build the web page
$ hugo

Expected result
The same HTML code was was produced with Hugo v0.59.1 should be generated, i.e. I expect:
$  cat public/index.html

Go to http://www.example.com or http://www.example.com.

Note that both links yield the same HTML.
Observed result
With Hugo 0.60.0, the first link is marked up twice, i.e. I get an extra  element:
$ cat public/index.html

Go to http://www.example.com or http://www.example.com.

Additional notes
The issue can be mitigated somewhat by disabling the markup.goldmark.extensions.linkify option. However, this also disabled linkification of normal links, i..e you get
$ cat public/index.html

Go to http://www.example.com or http://www.example.com.

See https://github.com/gohugoio/hugo/issues/6557


Support for H705D & H705F

Added support for H705D (Permanent Outdoor Lights 2 15m), H705F (Permanent Outdoor Lights 2  45m).
H705E (Permanent Outdoor Lights 2  30m) already existed.

LGTM


Question on token max limit (8,192 vs. 4,096)

Dear @whaleloops ,
In your excellent paper, you mentioned you use the Clinical Longformer from Li et al., 2022. In several places in the paper you mentioned the max token limit is 8,192 tokens, however the Clinical Longformer from Li says the max limit is 4,096 tokens.
Please explain this gap (8,192 vs. 4,096). Thank you.

Good question! You could use the allenai original or our script to change the max token limit, by changing max_pos=4096 to max_pos=16384 (or even more).


Create Named Entity Recognition Skill

This is very important. Can we do this first?

Hi, @tianchiguaixia ! Absolutely, do you have any use case in mind to test it out?

I have many projects that structure the results of text and image OCR.
If using BERT, it is necessary to continuously annotate data for training, which incurs a significant time cost.

The fields extracted between different projects are also different, making it difficult to achieve universality.

If LLM is used, according to the prompts, partial structuring can be achieved, but the accuracy is not as high as after Bert fine-tuning.

The ideal method is to use LLM+system knowledge (existing knowledge) for information extraction and NER
As knowledge (already filled into the system) increases, the model's effectiveness improves
Uploading WeChat_20231108103427.mp4…

https://github.com/HumanSignal/Adala/assets/29837553/d24a50b0-6da4-411a-8e81-f90979f8c2a8

Hello, can you do this NER task first? Approximately when can I try it out

Supporting NER tasks is very important, and there are many application scenarios. Can we support this first?

Hey, @tianchiguaixia , happy to implement that as soon as possible. Any ideas on how to most efficiently match entities from text using LLM?

The entities in the text cannot be matched all at once, and the evaluation criteria are also different. We need to rely on each incoming sample and continuously let the model learn. Make the model smarter and smarter. How to evaluate the quality of learning is to evaluate the data that has been artificially corrected and the data that has been passed in.

This is when I use space_llm and  ChatGPT API to Implementation cases
https://github.com/HumanSignal/Adala/assets/29837553/7128f164-9684-4bda-aa14-9752a2700b59

https://github.com/HumanSignal/Adala/assets/29837553/4798865d-f2fc-4203-ad45-219e645feab2

This is when I use space_llm and ChatGPT API to Implementation cases
Rec.0004.mp4

Hello, may I ask how to input the picture information into ChatGPT? Are you using a multi-modal model to do this?

没有啊。我直接使用的OCR+LLM

没有啊。我直接使用的OCR+LLM

您好，方便我加您个微信吗，想要具体了解下您这边是怎么实现的，感觉您在页面上展示的功能太炫酷了

tianchiguaixia2023

tianchiguaixia2023

您好，您提供的是微信号啊，我这边找不到您，要不麻烦您加我一下
tianhesuo

tianchiguaixia2023

您是不是设置了陌生人不允许添加您的设置

I am interested in tackling the NER skill implementation if the task is still open. I have multiple use cases at work where something like this would be valuable.

Hello guys @Sean-Koval @tianchiguaixia @tianbuwei we are going to implement a simple version of NER skill in https://github.com/HumanSignal/Adala/pull/57 Happy to get your feedback / suggestions on it!

您好，我也在做基于llm的ner任务，我的数据是非结构化的合同文本。llm提取后一些甲乙方标签集效果不是很好，如：甲乙混淆，甲乙方提取到同一个实体等等。方便的话想和您详细讨论一下。

提示词


Intermittent failure when running Postgres tests: undefined method 'name' in clean_versions!

Got this in two iterations while running DB=postgres rake tests.
(re-running, this appears to be a lot more rare than it would originally seem... I'm now at 50 iterations without having hit this again.  First time luck.)
PaperTrailCleanerTest#test_: `clean_versions!` method No options provided should removes the earliest version(s). :
NoMethodError: undefined method `name' for nil:NilClass
    /Users/bronson/paper_trail/test/unit/cleaner_test.rb:34:in `block (4 levels) in <class:PaperTrailCleanerTest>'
    /Users/bronson/paper_trail/test/unit/cleaner_test.rb:34:in `map'
    /Users/bronson/paper_trail/test/unit/cleaner_test.rb:34:in `block (3 levels) in <class:PaperTrailCleanerTest>'
    shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec'
    shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash'
    minitest (5.8.3) lib/minitest/test.rb:108:in `block (3 levels) in run'
    minitest (5.8.3) lib/minitest/test.rb:205:in `capture_exceptions'
    minitest (5.8.3) lib/minitest/test.rb:105:in `block (2 levels) in run'
    minitest (5.8.3) lib/minitest/test.rb:256:in `time_it'
    minitest (5.8.3) lib/minitest/test.rb:104:in `block in run'
    minitest (5.8.3) lib/minitest.rb:334:in `on_signal'
    minitest (5.8.3) lib/minitest/test.rb:276:in `with_info_handler'
    minitest (5.8.3) lib/minitest/test.rb:103:in `run'
    minitest (5.8.3) lib/minitest.rb:781:in `run_one_method'
    minitest (5.8.3) lib/minitest.rb:308:in `run_one_method'
    minitest (5.8.3) lib/minitest.rb:296:in `block (2 levels) in run'
    minitest (5.8.3) lib/minitest.rb:295:in `each'
    minitest (5.8.3) lib/minitest.rb:295:in `block in run'
    minitest (5.8.3) lib/minitest.rb:334:in `on_signal'
    minitest (5.8.3) lib/minitest.rb:321:in `with_info_handler'
    minitest (5.8.3) lib/minitest.rb:294:in `run'
    minitest (5.8.3) lib/minitest.rb:155:in `block in __run'
    minitest (5.8.3) lib/minitest.rb:155:in `map'
    minitest (5.8.3) lib/minitest.rb:155:in `__run'
    minitest (5.8.3) lib/minitest.rb:129:in `run'
    minitest (5.8.3) lib/minitest.rb:56:in `block in autorun'

Full output: https://gist.github.com/bronson/d597d03e7ca80ac82869
Originally reported in #696

Died at iteration 78.  Different error message but also happening in clean_versions! so it's probably related:
ITERATION 78
warning: parser/current is loading parser/ruby22, which recognizes
warning: 2.2.3-compliant syntax, but you are running 2.2.2.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Running RuboCop...
Inspecting 31 files
...............................

31 files inspected, no offenses detected
Run options: --seed 11172

# Running:

..................F.................................................................................................................................................................................................................................................................................................

Finished in 18.820786s, 16.3649 runs/s, 31.5609 assertions/s.

  1) Failure:
PaperTrailCleanerTest#test_: `clean_versions!` method No options provided should removes the earliest version(s).  [/Users/bronson/paper_trail/test/unit/cleaner_test.rb:34]:
--- expected
+++ actual
@@ -1 +1 @@
-["Rosendo Howell", "Dasia Bahringer", "Wilton Dach"]
+["Rosendo Howell", "Queen Gulgowski", "Wilton Dach"]

308 runs, 594 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -I"lib:lib:test"  "/Users/bronson/.rubies/ruby-2.2.2/lib/ruby/2.2.0/rake/rake_test_loader.rb" "test/**/*_test.rb" ]

This is due to Postgresql returning rows in arbitrary order unless specifically ordered. I fixed it in a commit on #689 since I originally thought it was due to AR5. Would you like a separate pull request to address this?

Would you like a separate pull request to address this?

Yes, please, that'd be great!

Closed by #701 (and subsequent improvement from @batter)


Container.foregroundDecoration with BoxDecoration backgroundImage or backgroundColor feels weird.

It feels really odd to do this:
new Container(decoration:new BoxDecoration(backgroundColor:...));
new Container(foregroundDecoration:new BoxDecoration(backgroundColor:...));

I think this would feel better:
new Container(backgroundDecoration:new BoxDecoration(color:...));
new Container(foregroundDecoration:new BoxDecoration(color:...));

or this:
new Container(decoration:new BoxDecoration(backgroundColor:...));
new Container(decoration:new BoxDecoration(foregroundColor:...));

We picked the current names to align with CSS, but they sort of break down here.

fillColor?

On the bright side, now (https://github.com/flutter/flutter/pull/8396) you can say new Container(color: ...). Although ... maybe that should have been new Container(backgroundColor: ...)


modified about us section

Related Issue

Issue number goes here: #201

Proposed Changes

changed image of about us section
changed content of about us section
chaned hover effect of socials as join us button

Checklist

[ ] Documentation of the code
[x ] Add your name to the CONTRIBUTORS file
[x] Testing your code in the local machine

Screenshots

Can you add a 30px bottom margin for the aboutus-image-container class in mobile view?

A few more things:

Add your name/username to the contributors' file
Seems like the DSA article has its line-endings changed. Go through these steps to revert your changes.

i think, i should also add some bottom margin margin in tablet view also , can i proceed ?

@jay-io i think, i should also add some bottom margin margin in tablet view also , can i proceed ?

I have added and changed as per your requirement

@savi001 Sure. You did great, thank you for contributing!


form-related IProp combinators

There is currently no way to set a form's action or method using Halogen.HTML.Indexed.
I can get them in this week, but what should we call action? The name will clash with Halogen.Query.

Probably action is fine, since I'd be surprised if people are importing any of the Halogen.HTML stuff without qualifying the module. I don't think it should conflict anyway, as action is H.action whereas this would be P.action or HP.action using the normal conventions.


[containerapp] 'az containerapp job create': Fix problem of parsing parameters minExecutions and maxExecutions from --yaml

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

General Guidelines

[x] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.

Recommend title:
'az containerapp job create': fix problem of parsing parameters minExecutions and maxExecutions from --yaml

Please fix the conflict.

Hi @zhoxing-ms @yanzhudd
Could you please help review and merge this PR? Thanks.


Fastman92 Limit Adjuster - Crash Window Problem

Hi, with Fastman92 Limit Adjuster; The crash window are not showing in front but playing crash window music.. This problem actually fix by Windowed Mod by @ThirteenAG
But this Hud are not compatible with Windowed Mod, because it's has own Windowed Mod... Can you fix this problem? Same as @ThirteenAG Windowed Mod
See Attention from Mixmods

No, use alt+tab to cycle through your windows.


Prevent the creation of the main tag on Docker Hub

LGTM

@MartelliEnrico can you check from your end if is it still picking up main or not ?

Hi @ritikverma2000, we won't be able to check if the changes work until we merge them.
I personally verified the same changes against one of my repositories and it was working fine (as I wrote in the issue https://github.com/docker/metadata-action/issues/347).


ci: add a deny config

We're lacking the same cargo-deny config we use elsewhere (Lurk, Neptune, etc ...)

Assigning to @samuelburnham because this very probably is a thing that's solved by applying the methods of https://github.com/lurk-lab/lurk-rs/pull/964


added head_only parameter for pbc transport

Implements the head only request on pbc protocol. Solves #134 (CLIENTS-776) (CLIENTS-1039) .

Have to close it due to http protocol errors - some more edges need the additional parameter.
Normal test did not got them because they run on pbc normally.

Was only one edge. Also added support for multiget.

Thanks!

Included in #509