compatibility with beignet

Hi,
I have installed ISSAC and clcaffe (https://github.com/01org/caffe/wiki/clCaffe) with beignet <IP_ADDRESS>
bit throws errors with ISSAC when forwarding alexnet.
./tools/caffe time -model ../models/bvlc_alexnet/deploy.prototxt -gpu 0
ISAAC: unknow Intel CPU ID:      Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz
ISAAC: use SKYLAKE by default.
Device : Intel(R) HD Graphics Bay Trail-TBuild Status = -2
Build Log = stringInput.cl:5827:1: warning: implicit declaration of function 'intel_sub_group_block_read8' is invalid in C99
stringInput.cl:5812:39: note: expanded from macro 'GEMM_NN'
stringInput.cl:5674:50: note: expanded from macro 'SUBGROUP_BLOCK_READ8'
stringInput.cl:5827:1: error: call to 'as_float8' is ambiguous
stringInput.cl:5812:28: note: expanded from macro 'GEMM_NN'
/usr/lib/x86_64-linux-gnu/beignet//include/ocl_as.h:492:21: note: candidate function
/usr/lib/x86_64-linux-gnu/beignet//include/ocl_as.h:502:21: note: candidate function
/usr/lib/x86_64-linux-gnu/beignet//include/ocl_as.h:512:21: note: candidate function
/usr/lib/x86_64-linux-gnu/beignet//include/ocl_as.h:522:21: note: candidate function
/usr/lib/x86_64-linux-gnu/beignet//include/ocl_as.h:533:21: note: candidate function
/usr/lib/x86_64-linux-gnu/beignet//include/ocl_as.h:544:21: note: candidate function
/usr/lib/x86_64-linux-gnu/beignet//include/ocl_as.h:555:21: note: candidate function
/usr/lib/x86_64-linux-gnu/beignet//
terminate called after throwing an instance of 'isaac::exception::ocl::invalid_program_executable'
  what():  OpenCL: Error- invalid program executable
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1516592801" if you are using GNU date ***
PC: @     0x7f5f7765a428 gsignal
*** SIGABRT (@0x3e800004d42) received by PID 19778 (TID 0x7f5f79919ac0) from PID 19778; stack trace: ***
    @     0x7f5f7765a4b0 (unknown)
    @     0x7f5f7765a428 gsignal
    @     0x7f5f7765c02a abort
    @     0x7f5f77c9484d __gnu_cxx::__verbose_terminate_handler()
    @     0x7f5f77c926b6 (unknown)
    @     0x7f5f77c92701 std::terminate()
    @     0x7f5f77c92919 __cxa_throw
    @     0x7f5f755f05de isaac::driver::check()
    @     0x7f5f755f317d isaac::driver::Kernel::Kernel()
    @     0x7f5f756285cb isaac::templates::intelblas_gemm_image::enqueue()
    @     0x7f5f756b3098 isaac::runtime::profiles::value_type::execute()
    @     0x7f5f756be949 isaac::runtime::execute()
    @     0x7f5f75699e6e execute
    @     0x7f5f756aaa86 clblasSgemm
    @     0x7f5f7910f2e5 caffe::greentea_gpu_gemm<>()
    @     0x7f5f78ee4efa caffe::BaseConvolutionLayer<>::forward_gpu_gemm()
    @     0x7f5f78feacaa caffe::ConvolutionLayerSpatial<>::Forward_gpu()
    @     0x7f5f79195cd1 caffe::Net<>::ForwardFromTo()
    @     0x7f5f79195dc7 caffe::Net<>::Forward()
    @     0x5596234ec338 time()
    @     0x5596234e6652 main
    @     0x7f5f77645830 __libc_start_main
    @     0x5596234e70f9 _start
    @                0x0 (unknown)
Aborted (core dumped)

Here is the steps to install beignet
sudo apt-get install beignet

The attachment is my clinfo.
beignet_clinfo.txt
Any suggestion?
thank you

@twmht   I also encountered the same problem，Have you solved it?


Context aware completion

Hey I've been using your emmet language server from a long time I would like to thank you for creating such a great language server for neovim community
I'm a frontend developer and when I am on a react project and writing react code in a js file
I get a little bit annoyed how the language server shows emmet suggestions outside the jsx context
For example this is a navbar.js file
import "../stylesheets/navbar.css";

function navbar() {
  return (
    <>

Thing one

Thing Two

Thing Three

    </>
  );
}
export default navbar;

When my cursor is inside the jsx fragment <> It shows emmet suggestions that is fine
But it also shows emmet suggestions when I'm on the next line after import statement
Isn't there any settings available to achieve context aware completion for emmet?

@HyperAfnan well, in short this is something that I don't know how to solve and sadly doesn't seem to be possible ATM.
https://github.com/neovim/neovim/discussions/29477#discussioncomment-10082909.
This is something that some people already asked for in the past and even I, when I've tried zed (when I saw they were using my language server) I noticed that they had this mechanism implemented. If you ask me, I think there's a at least hacky way of implementing this but is out of my current skill and knowledge about the neovim API.
Will close this for now and maybe revisit this in the future if I find something useful in other projects or future versions of the neovim API.
Good luck!

Damm, I really enjoyed emmet in vscode and when making the switch to nvim I couldn't get emmet-ls into my workflow since it spamms completion in the entire buffer. When I found that there was a new emmet lsp project being actively maintained I got my hopes up from but from https://github.com/neovim/neovim/discussions/29477 it does indeed seem like there isn't much to do about it.
I'm going to try experimenting with filtering completions instead, it could also be interesting if it was possible to turn down the priority of emmet completions unless they fully match. One of my main issues is that as soon as I type "d" anywhere in a reactjavascript buffer, the first (n) suggestions are all emmet for div, dd, dl, dt, dir, del, dfn,..., since tag names are so short, I never find myself needing to complete their name, only expand them.
If anyone else has managed to find a workaround for this issue I'd very much appreciate some pointers ❤

As a quick first effort, sorting any non exact emmet completions to the bottom made the experience a lot better for me.
🔗 If anybody is interested in this, here is the relevant diff in my dotfiles


utility functions for integrating kubernetes yaml support feature,

Fix as code reviewer suggests.

https://github.com/Azure/vscode-kubernetes-tools/issues/42

Close since another pr deprecates this one.


Provide information of whether multiple roles can be specified in getUserListOfRole()

In [1] it doesn't indicate whether multiple roles can be specified. Please indicate that information as the request is having the structure as following where it gives multiple value set accepting impression
  <ser:getUserListOfRole>
         <!--Optional:-->
         <ser:roleName>Engineer</ser:roleName>
      </ser:getUserListOfRole>

[1] https://docs.wso2.com/display/IS540/Managing+Users+and+Roles+with+APIs#ManagingUsersandRoleswithAPIs-getUserListOfRole()

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Flow (maybe?) unable to refine react-redux connect overload when related type is imported

Flow version: 0.107.0
I'm running into this with react-redux using the type definitions in flow-typed. This may be related to https://github.com/facebook/flow/issues/7563 but it is hard to tell. I've also put together a small reproduction that I hope will help to speed this along.
With the example reproduction in https://github.com/loganfsmyth/__bug-flow-react-redux-connect, if you try to connect in certain cases, Flow will report an error unexpectedly. In the case of my reproduction, it seems to at a minimum happen when the component props reference a class that has been imported from another file. If the same class file is pasted directly into the index.js however, Flow reports no typechecking issues.
Expected behavior
Flow should not error, just like if the class declaration were inside the index.js file.
Actual behavior
Flow errors unexpectedly and with no clear way to resolve the issue.

Link to Try-Flow or Github repo: https://github.com/loganfsmyth/__bug-flow-react-redux-connect

In this case, the error is
Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ index.js:32:6

All branches are incompatible:
• Either a call signature declaring the expected parameter / return type is missing in DispatchProps [1] but exists
  in function type [2].
• Or a call signature declaring the expected parameter / return type is missing in DispatchProps [1] but exists in
  function type [3].

    index.js
[1] 22│ type DispatchProps = {|
    23│   doAction: () => void,
    24│ |};
      :
    29│   },
    30│   ({
    31│     doAction: () => {},
    32│   }: DispatchProps)
    33│ );
    34│

    simple-react-redux.js
[2]  6│   | ((dispatch: D, ownProps: OP) => DP)
[3]  7│   | ((dispatch: D, ownProps: OP) => (dispatch: D, ownProps: OP) => DP);

Found 1 error

This issue is likely fixed a while ago.


[Suggestion]Add a config option to let the explosive arrows not explode on blocks

It would be great if this mod can turn on/off the config on what the title says, because it would be quite annoying fill the holes, it just take some of my spare times to fill it.

It would be great if this mod can turn on/off the config on what the title says, because it would be quite annoying fill the holes, it just take some of my spare times to fill it.

(And can you also let this mod compatible with the ProjectE mod so that all of the items from this mod can transmute from the transmutation table?)

It would be great if this mod can turn on/off the config on what the title says, because it would be quite annoying fill the holes, it just take some of my spare times to fill it.

(And can you also let this mod compatible with the ProjectE mod so that all of the items from this mod can transmute from the transmutation table?

added in 5.4.2 (not the projecte stuff, not gonna bother with that)


Generated category pages contain broken markdown links

What version are you using?
n/a
What did you do?
View https://soroban.stellar.org/docs/category/getting-started
What did you expect to see?
Regular text.
What did you see instead?
Unrendered markdown links:
📄 Setup
Soroban contracts are small programs written in the [Rust] programming language.

📄 1. Hello World
Once you've [Setup] your development environment, you're ready to create your first Soroban contract.

📄 2. Storing Data
The [increment example] demonstrates how to write a simple contract that stores data, with a single function that increments an internal counter and returns the value.

📄 3. Deploy to a Local Network
If you have Docker installed, you can run a local standalone network with the [Stellar Quickstart] Docker image.

📄 4. Connect Freighter Wallet
Signing Transactions with Freighter

📄 5. Deploy to Futurenet
If you have Docker installed, you can run a local node with the [Stellar Quickstart] Docker image that joins the [Futurenet] network,

These text snippets appear to be automatically pulled from their respective pages, but the markdown has not been interpreted.
This looks pretty bad, and is on pages that are immediately encountered by devs.
I poked at docusaurus but don't understand it well enough to fix.

I think this can be worked around by inlining the markdown links e.g.
Soroban contracts are small programs written in the [Rust](https://www.rust-lang.org/) programming language.

docusaurus will then strip the links before rendering them into the category page.
I'll take a pass at these and see if I can fix.

Because these page descriptions are just taken from the first line of text in their respective pages, the are sometimes not very good descriptions when displayed on the category page.
e.g. the "Connect Freighter Wallet" page's description is "Signing Transactions With Freighter" because that just happens to be the first line in that page.
So just fixing these unrendered links won't fully fix the reading experience here.
I am trying to understand if there is some page frontmatter that docusaurus can pull these descriptions from, but am not seeing it yet.

Setting the "description" frontmatter changes the what is displayed on the category pages.
I'll try adding a description to all the affected pages.


how to solve char set problem

i want to show chinese label

Hi @ofttryaj please provide an example of a label you are trying to use and the result you are getting at the moment.

@endroid
$qrCode = new QrCode();
$qrCode
->setText("http://www.baidu.com")
->setSize(150)
->setPadding(10)
->setErrorCorrection('high')
->setForegroundColor(array('r' => 0, 'g' => 0, 'b' => 0, 'a' => 0))
->setBackgroundColor(array('r' => 255, 'g' => 255, 'b' => 255, 'a' => 0))
->setLabel('这是一个搜索引擎')
->setLabelFontSize(12)
->render();

@endroid
When I set the label_font_path font, the font support Chinese, not garbled, thank you

Hi @endroid  I want to add my logo in the two-dimensional code. how to do?

Hi @ofttryaj for now there is no support in the library for adding a logo as its main focus is generation of QR codes. This means you'll have to use some other library if you want to add one. GD and ImageMagick have some easy to use functions that allow you to watermark your generated QR code with with a logo. Good luck!

Nice to see you have the Chinese label working though!


Site Request Stitcher

http://www.stitcher.com/podcast/the-talking-machines/e/40789481?autoplay=true

[generic] 40789481?autoplay=true: Requesting header
[generic] 40789481?autoplay=true: Downloading webpage
[generic] 40789481?autoplay=true: Extracting information
[generic] 40789481?autoplay=true: Requesting header
[generic] 40789481?autoplay=true: Downloading webpage
[generic] 40789481?autoplay=true: Extracting information
[Error] ytdl for => [debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-f', u'worst', u'-i', u'--verbose', u'--restrict-f
ilenames', u'--youtube-skip-dash-manifest', u'-o', u'..\..\..\yo0\M\yodl\y
outube-dl\%(extractor)s\%(title)s-%(id)s.%(ext)s', u'--', u'http://www.stitche
r.com/podcast/the-talking-machines/e/40789481?autoplay=true']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2015.10.13
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-56800-gad8fbdd, ffprobe N-56800-gad8fbdd
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
ERROR: Unsupported URL: http://www.stitcher.com/podcast/the-talking-machines/e/4
0789481?autoplay=true
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 1240, in _real_extract
File "youtube_dl\utils.pyo", line 1656, in parse_xml
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: not well-formed (invalid token): line 4, column 407
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 660, in extract_info
File "youtube_dl\extractor\common.pyo", line 290, in extract
File "youtube_dl\extractor\generic.pyo", line 1838, in _real_extract
UnsupportedError: Unsupported URL: http://www.stitcher.com/podcast/the-talking-m
achines/e/40789481?autoplay=true

Added support here #7228

The test url and the following still works in my Chrome browser.(py version is actually 3.2)
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-f', u'worst', u'-i', u'--verbose', u'--restrict-f
ilenames', u'--youtube-skip-dash-manifest', u'-o', u'..\..\..\yo0\M\yodl\y
outube-dl\%(extractor)s\%(title)s-%(id)s.%(ext)s', u'--', u'http://www.stitche
r.com/podcast/this-week-in-tech/e/40891040?autoplay=true']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2015.10.24
[debug] Python version 2.7.10 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-56800-gad8fbdd, ffprobe N-56800-gad8fbdd
[debug] Proxy map: {}
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 1598, in process_info
File "youtube_dl\YoutubeDL.pyo", line 1540, in dl
File "youtube_dl\downloader\common.pyo", line 342, in download
File "youtube_dl\downloader\http.pyo", line 60, in real_download
File "youtube_dl\YoutubeDL.pyo", line 1873, in urlopen
File "urllib2.pyo", line 437, in open
File "urllib2.pyo", line 550, in http_response
File "urllib2.pyo", line 475, in error
File "urllib2.pyo", line 409, in _call_chain
File "urllib2.pyo", line 558, in http_error_default
HTTPError: HTTP Error 404: Not Found

@canamcy will be fixed in the next version. To get it work now you can remove -f worst from command line. Next time open a new issue.

Thank you. Will do.
On Sun, Oct 25, 2015 at 1:18 PM, Sergey M<EMAIL_ADDRESS>wrote:

@canamcy https://github.com/canamcy will be fixed in the next version.
To get it work now you can remove -f worst from command line. Next time
open a new issue.
—
Reply to this email directly or view it on GitHub
https://github.com/rg3/youtube-dl/issues/7162#issuecomment-150946258.

Hm, Stitcher seems to be broken again:
youtube-dl -f worst https://www.stitcher.com/podcast/stitcher/unladylike
[generic] unladylike: Requesting header
WARNING: Falling back on generic information extractor.
[generic] unladylike: Downloading webpage
[generic] unladylike: Extracting information
ERROR: Unsupported URL: https://www.stitcher.com/podcast/stitcher/unladylike

I'm in the same boat as @Wurzelmann
Seems that Stitcher seems to be broken again as I am getting an unsupported URL error when trying to download a podcast.


No default value for license, despite being set in project starter

This is particularly confusing because there is a default value set in the ocw-course projects
Steps to Reproduce

Add a new resource to a course by syncing it from gdrive
Edit the resource
Save the resource without changing anything

Expected Behavior

The resource should save and the drawer should close

Actual Behavior

validation error: License is a required field

Related Issues
There's a similar issue with the default value for draft
I presume this is a bug on ocw-studio, because it appears that a default value is set in the course starter, at https://github.com/mitodl/ocw-hugo-projects/blob/540afebbe9b18a826ea79ee10817920e910674b1/ocw-course/ocw-studio.yaml#L175

There's a similar issue with the default setting for draft on resources. @MAbdurrehman12 thought it might have something to do with the way resources are created via google drive: https://github.com/mitodl/ocw-hugo-projects/pull/174#issuecomment-1126026752

The default in the theme just affects the ui form in ocw-studio and is why you can't edit and save a resource without setting the license and draft value. License and draft are currently not set when resources are created from google drive and were not set for resources that were imported from legacy ocw. We need to update the code to set it when creating resources through the gdrive process and add a backpopulate command for existing resources

The default in the theme just affects the ui

And the default is only used for creating new resources, not updating existing resources (e.g., updating resources created by gdrive).

@pdpinch or @abeglova Re

License and draft are currently not set when resources are created from google drive and were not set for resources that were imported from legacy ocw. We need to update the code to set it when creating resources through the gdrive process and add a backpopulate command for existing resources

Does the legacy data have license information that should be imported, or should we use the default license (https://creativecommons.org/licenses/by-nc-sa/4.0/) for all legacy content?

Does the legacy data have license information that should be imported, or should we use the default license (https://creativecommons.org/licenses/by-nc-sa/4.0/) for all legacy content?

There is no license information in the legacy data. We should assume that all legacy data is https://creativecommons.org/licenses/by-nc-sa/4.0/

This is going out in https://github.com/mitodl/ocw-studio/pull/1401

Reopening... still working on the "backpopulate" portion. New resources have license set, though.

@ChristopherChudzicki did you run the management command to backpopulate this?

@pdpinch They've been updated in the database, but I think a management command needs to be run for them to sync with github. If they aren't used in the hugo themes, then we can probably skip that. I think that sync might happen automatically as part of the next mass publish, but I am not sure.

This is mainly a convenience for the course author, so they don't have to explicitly set a value every time they click save in the resource drawer. I don't see a need to push it all out to github at this time.


Index crowdloan data

Take a look at the pallet and the wiki. We want to cover all the data if possible.
A very vague overview is:
Slot auctions get created, people initiate crowdloans (using a parachain ID), users contribute DOT or Kusama tokens, the winner for each slot (chosen by candle auction) gets a parachain.

I think this is already done yeh, @bdmason

Sorry for the late reply! Yeah it is


More complex DBus tests

In this initial stage only signals containing very simple arguments are tested: When supports checks on compound arguments, and these should be tested in future releases.

This issue is closed by commit 153cb9a7c1b62b20d5462b453aab04d23aeb3df6.


feat: allow for step status reporting to SCM as its own context

Ref: https://github.com/go-vela/community/issues/576
Also fixes bug noted in https://github.com/go-vela/community/issues/958 by setting the ground work to not report on the pull_request context when the action type is non-standard (opened, reopened, synchronize). Solving bugs with features!
This also lays some groundwork for potential usage of the checks API whenever Vela implements GitHub App integration
Server PR, in draft form, which may be more of interest: https://github.com/go-vela/server/pull/1090

do we need to account for people setting report_as to the same value? i can see that happen when folks use templates in particular maybe?

Yeah I think that's a good point. Might be worth adding some validation in the compiler.


winget for windows installation

Hey
currently I see all these installers at https://github.com/casey/just?tab=readme-ov-file#cross-platform
https://github.com/microsoft/winget-cli
But no winget. For example:
winget install -e --id Rust.Just

it works very well and is pretty well supported by the MS team. It does not seem like a dead thing at all, despite what some say on Reddit etc.
I have been using it to Bootstrap Windows boxes for a few months now, and its been highly reliable.

Thanks for the issue! Are you sure the package name is Rust.Just? I see it under Casey.Just.

Nice! Whoops, I actually forgot that it's already in the readme:
https://github.com/casey/just/?tab=readme-ov-file#windows
Under Windows Package Manager.


Race condition around ingesting aspect

I think there's a race condition in the current ingestion implementation that would cause a version to be lost in the version history during an aspect update; it goes something like:
Thread A and Thread B both want to update the metadata of the aspect with key (urn=u0, aspect=a0, version=0)

urn
aspect
version
metadata

u0
a0
0
m0

Thread A reads (urn=u0, aspect=a0, version=0, metadata=m0) into memory
Thread B reads (urn=u0, aspect=a0, version=0, metadata=m0) into memory
Thread A reads the highest version existing in DB (0) in preparation to make backup (1)
Thread A writes the original aspect into version=1

urn
aspect
version
metadata

u0
a0
0
m0

u0
a0
1
m0

Thread A writes her new metadata into version=0

urn
aspect
version
metadata

u0
a0
0
mA

u0
a0
1
m0

Thread B reads the highest version existing in DB (1) in preparation to make backup (2)
Thread B writes the original aspect into version=2

urn
aspect
version
metadata

u0
a0
0
mA

u0
a0
1
m0

u0
a0
2
m0

Thread B writes his new metadata into version=0

urn
aspect
version
metadata

u0
a0
0
mB

u0
a0
1
m0

u0
a0
2
m0

The issue can be solved by issuing a FOR UPDATE in the SELECT at the beginning of the transaction (e.g. see https://stackoverflow.com/a/6068392), although I haven't done any testing on what performance implications this will have; alternatively if all the versions are fetched in one read (to determine both the most recent version and number of versions), the retry logic will kick in on the thread that failed to write the backup.
There's a snippet which broadly emulates how the current EbeanEntityService.ingestAspectToLocalDB method works which can be used to reproduce this (and a fix for it) which I can try to provide for this too.
UPDATE: This is a manifestation of the lost update phenomena which the repeatable read isolation level would protect against; although it's noted in https://datahubproject.io/docs/advanced/aspect-versioning/#transaction-isolation-1 that MySQL should default to this level for transactions, it looks like ebean defaults to read committed isolation level (rationale given here https://archive-avaje-org.github.io/transiso.html) so the fix would be to pass in TxIsolation.REPEATABLE_READ to ebeanServer.beginTransaction in the EbeanAspectDao.

Is this still an issue? If not, will close it in a few days due to inactivity.

Ah this was addressed in this PR: https://github.com/datahub-project/datahub/pull/3285 - happy to close!


main.ts should not add ".ts" extension when import typescript files

Version
3.0.0-alpha.13
Reproduction link
https://github.com/vuejs/vue-cli/blob/dev/packages/%40vue/cli-plugin-typescript/lib/convertImports.js
Steps to reproduce
when choose typescript and tslint config in vue-cli-dev, the tslint will check import statements cannot have ".ts" extension.  you should remove ".ts" extension in default main.ts file when users choose vue-router or vuex config and auto generate import statements.
What is expected?
This bug should be fixed
What is actually happening?
cannot pass tslint default checking.

none

Duplicate of #871


array function push, splice doesn't trigger state change and redraw

let subnodes = van.state([]);
...
button({
                innerHTML: '+',
                onclick: () =>
                    {subnodes.push(key + '.' + (subnodes.length + 1))}
            }),

if I do above, it doesn't trigger any change
if I change onclick to
onclick: () =>
                    {subnodes.val = [...subnodes.val, (key + '.' + (subnodes.val.length + 1))]}

it works as expected.
same issue/behavior with subnodes.val.splice
any insight why push/splice doesn't work?

This is intended behavior. VanJS uses reference equality check to determine whether a state has changed. If you call push or splice method, the reference to the underlying array won't change, which won't trigger a DOM update. If you want the DOM tree to be updated on the mutation of an array, you can take a look at vanX.list in VanX extension.


Clean the jelly, ditch the views

Current coverage is 68.30%

Merging #2 into master will not affect coverage as of a87dc7d

@@            master     #2   diff @@
=====================================
  Files            8      8
  Stmts          142    142
  Branches        11     11
  Methods          0      0
=====================================
  Hit             97     97
  Partial          3      3
  Missed          42     42

Review entire Coverage Diff as of a87dc7d

Powered by Codecov. Updated on successful CI builds.


Reactivity bug on profile page

This bug occurs when moving from some user's profile directly to my profile
Fix with:

passing computed ref to useProfile composable
watch username computed ref and fetch profile on trigger

Fixed https://github.com/mutoe/vue3-realworld-example-app/commit/e3a04416eaef8eaf36865adf866d448426f5d636


Tab to search on caniuse.com has stopped working

The search manifest xml is still online and linked from the document, but I can't use "tab to search" from Chrome anymore.
It works on most other sites (e.g. youtube), but I found it stopped working for some (one where I actually implemented it myself), so maybe Chrome changed some rules around it?

Sounds like a change made on Chrome's side, in fact it doesn't seem to work for me for youtube either (hitting tab cycles through the dropdown).
Let me know if there's something obvious caniuse.com is doing wrong, else I'll close this ticket.

Hmm, I managed to fix it by enabling it in settings, based on this answer.

go to chrome://settings/searchEngines
scroll down to inactive sites, you should see youtube.com
activate it.

It was disabled with a long list of other sites. I'm not sure how it got there though, I use it all the time and didn't disable anything.
Seems like there's nothing wrong with the site in the end.


test[Bug]

Bug Description
test
Steps to Reproduce
test
Expected Behavior
test
Screenshots
test
Deployment Method

[ ] Docker
[X] Vercel
[ ] Server

Desktop OS
No response
Desktop Browser
No response
Desktop Browser Version
No response
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
test

？？？


Rename databases and object stores in LA client-side storage article examples...

https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Client-side_storage
...e.g. database and object store are both called "notes" in the first example, which could lead to confusion in devtools or other places.
See https://github.com/mdn/learning-area/issues/122 for original report.

See original report for updates.


Cannot place app icon on horizontal surface

It seems that my own built app cannot detect horizontal surface, but the app get from AppLab works correctly in the same room setting.

need double confirm with the settings,


Any forword plain to support llama.cpp

Feature request  / 功能建议
Llama.cpp provides a simple way to deploy models on server and desktop environment. Looking forward to llama.cpp support.
Motivation / 动机

Your contribution / 您的贡献

You could refer to issue #44, which has been replied from the Official team in Chinese.
Here is the translation of the original Chinese text:
"The model architecture that supports GLM4 and GLM4V is different from llama. Therefore, the code of llama.cpp needs to be modified and a PR needs to be merged. This will take some time. Thank you for your attention."


RUMBLE Reconnection needed on PS2 when rumble is activated in web interface

After turning on the Rumble feature in the web configuration interface:
When I turn the PS2 on, then sync a previously paired Dualshock 3 controller, it syncs correctly (first led on the DS3 controller turns on and the blue light on the ESP32 stop flashing and turns off) but no input is registered.
I have to reset the ESP32, and drop all existing connections (left button, and right button twice on the ESP32) and sync the controller again for it to work.
Simple enough workaround, but it might indicate an issue somewhere that needs to be corrected, thought I'd bring it up :)

EDIT: Test have been done with DS4 and DS5, with identical behavior. Tests also shows that simply unconnecting and connecting the ESP32 back on the wired adaptor solves the issue, in a similar fashion as a ESP32 reset using the buttons.

I completely rewrote the rumble support, so maybe this beta can help
https://github.com/darthcloud/BlueRetro/actions/runs/9286878322

Fixed in v24.10:
https://github.com/darthcloud/BlueRetro/releases/tag/v24.10


The EDID hack seems to do more harm than good

the EDID hack sets the max display resolution to around 1080p and won't let you play games at 1440p. I had to unload the EDID to unlock the resolution and didn't encounter the problem you describe.
Otherwise this hack works incredibly well! Moonlight + this is by far the best streaming solution out of everything I tried, way better than both steam remote play and Parsec.
My server is Google Cloud, N1 4vcore 15GB /w T4 (+ GRID) running Windows Server 2019 datacenter in europe-west3-b

Thanks for reporting, I will try to look for a better solution.


Stuck in every 10 minutes

Hi,
Recently I've found that my Emacs is stuck in every 10 minutes precisely.
When it shows this symptom, there were ycmd messages in YCMD that seems to be a sort of keep alive messages.
Can you imagine why ycmd causes Emacs stuck? What could be the solution for this??
Please let me know how to improve this or what I have to do to solve this.
PS. I'm running on Emacs 25.1, Ubuntu 14.04
and here're my config for ycmd.
  (use-package ycmd :ensure t)
  (use-package company-ycmd
                  :ensure t
                  :config
                  (if (eq (is-this-old) nil)
                      (progn
                          (require 'ycmd-eldoc)
                          (add-hook 'ycmd-mode-hook 'ycmd-eldoc-setup)
                          (setq ycmd-default-tags-file-name "TAGS") ;; TODO what if it is "tags"???
                          (eval-after-load "company-ycmd-autoloads"
                          '(progn (company-ycmd-setup)))

                          (eval-after-load "ycmd"
                          '(progn
                              (set-variable 'ycmd-server-command '("python2"))
                              (add-to-list 'ycmd-server-command (expand-file-name "~/.emacs.d/bin/ycmd/ycmd") t)
                              (set-variable 'ycmd-global-config
                                          (expand-file-name "~/.emacs.d/bin/ycmd/cpp/ycm/.ycm_extra_conf.py"))
                              (set-variable 'ycmd-extra-conf-whitelist '("~/"))
			      (set-variable 'ycmd-extra-conf-handler 'load)
                              ;; (set-variable 'ycmd-tag-files 'auto) ;; this makes too many candidates by tags
                              (add-hook 'c-mode-common-hook
                                          (lambda ()
                                              (if (eq global-ycmd-mode nil)
                                                  (ycmd-mode))
                                              (if (eq global-company-mode nil)
                                                  (company-mode))
                                          )
                              )
                                  ))
                          )
                  )
  )

Hi,
Thanks for the report.
Could you try to modify this line: https://github.com/abingham/emacs-ycmd/blob/master/ycmd.el#L910
and set sync to nil

@windrg Did you try the change from my previous post?

Yes, I did. But it shows the same symptom still.
Here're the output when it is set to nil.
2016-11-12 13:55:59,758 - DEBUG - Global extra conf not loaded or no function YcmCorePreload
serving on http://<IP_ADDRESS>:47973
2016-11-12 14:05:59,792 - DEBUG - Keeping subservers alive
2016-11-12 14:15:59,889 - DEBUG - Keeping subservers alive
2016-11-12 14:25:59,989 - DEBUG - Keeping subservers alive
2016-11-12 14:36:00,059 - DEBUG - Keeping subservers alive
2016-11-12 14:46:00,075 - DEBUG - Keeping subservers alive
2016-11-12 14:56:00,172 - DEBUG - Keeping subservers alive
2016-11-12 15:06:00,242 - DEBUG - Keeping subservers alive
2016-11-12 15:16:00,330 - DEBUG - Keeping subservers alive
2016-11-12 15:26:00,370 - DEBUG - Keeping subservers alive
2016-11-12 15:36:00,454 - DEBUG - Keeping subservers alive
2016-11-12 15:46:00,525 - DEBUG - Keeping subservers alive
2016-11-12 15:56:00,608 - DEBUG - Keeping subservers alive
2016-11-12 16:06:00,708 - DEBUG - Keeping subservers alive
2016-11-12 16:16:00,769 - DEBUG - Keeping subservers alive
2016-11-12 16:26:00,870 - DEBUG - Keeping subservers alive
2016-11-12 16:36:00,902 - DEBUG - Keeping subservers alive
2016-11-12 16:46:00,979 - DEBUG - Keeping subservers alive
2016-11-12 16:56:00,878 - INFO - Shutting down server due to inactivity
2016-11-12 16:56:00,983 - DEBUG - Global extra conf not loaded or no function VimClose
2016-11-12 16:56:00,986 - DEBUG - Global extra conf not loaded or no function Shutdow
```n

REQUEST [error] Error (error) while connecting to http://<IP_ADDRESS>:47973/healthy.
REQUEST [error] Error (error) while connecting to http://<IP_ADDRESS>:47973/event_notification. [2 times]
REQUEST [error] Error (error) while connecting to http://<IP_ADDRESS>:47973/completions.
Reverting buffer ‘scsc’.
REQUEST [error] Error (error) while connecting to http://<IP_ADDRESS>:47973/event_notification.
REQUEST [error] Error (error) while connecting to http://<IP_ADDRESS>:47973/completions.
Auto-saving...
REQUEST [error] Error (error) while connecting to http://<IP_ADDRESS>:47973/healthy. [2 times]
Quit
REQUEST [error] Error (error) while connecting to http://<IP_ADDRESS>:47973/event_notification.
REQUEST [error] Error (error) while connecting to http://<IP_ADDRESS>:47973/completions. [2 times]
deferred error : (wrong-type-argument number-or-marker-p nil)
REQUEST [error] Error (error) while connecting to http://<IP_ADDRESS>:47973/completions. [2 times]
Mark set [2 times]
Auto-saving...done
Saving file /home/cysh/.emacs.d/ycmderr.txt...
Wrote /home/cysh/.emacs.d/ycmderr.txt
etu/update-tags-for-file: Args out of range: "/home/cysh/.emacs.d/ycmderr.txt", 55, nil
REQUEST [error] Error (error) while connecting to http://<IP_ADDRESS>:47973/healthy.
REQUEST [error] Error (error) while connecting to http://<IP_ADDRESS>:47973/completions.
Mark set
Quit
Text is read-only

@ptrv Are we just not recovering from a server shutdown properly?

@abingham I am not sure what's going on here. In the latest version of emacs-ycmd we do not send requests at all when the server is not running. I tried to simulate a server shutdown due to inactivity by setting the timeouts accordingly. For me after a shutdown I everything is fine (except requests are not sent anymore because the server is not up, but this is by intention)
Also the server log indicates that there is no keepalive call to the server at all (no line saying INFO - Received health request)
@windrg Are you using the latest emacs-ycmd version?
@abingham I think we need some sort of ycmd-version function that can be called to verify the used emacs-version We get a lot of reports with outdated emacs-ycmd packages.

@ptrv Here are what I'm using, based on ELPA.
company-ycmd-20161026.2337
flycheck-ycmd-20160913.130
ycmd-20161114.20
Using these w/ the temporal fix you told, it doesn't seem to occur again.
Well, however I'm not so sure as I couldn't have enough time to do tests on that. Let me have some more time on it.
Thanks.
PS : On the canonical version on elpa, it occurs absolutely

Here are what I'm using, based on ELPA.

You mean MELPA (https://melpa.org)? The emacs-ycmd package is not in Gnu Elpa.
Can you post the the output of M-x ycmd-version RET?

@ptrv, here it is.
emacs-ycmd version: 0.9.2snapshot (package: 20161114.20)

@windrg Ok, you're on the latest version. And the issue still exists?

@ptrv, I need more time to do tests. I will give you a feedback soon.

Ok, no problem.
Anyways, the temporary fix I suggested in the beginning of this thread is already included in the latest version.

it happens again on the version 0.9.2 still.

We need a clear reproduction for this since I cannot reproduce it.
Can it be that ycmd server is idle for a long time and shuts down? The shutdown is a blocking call. So that might block your Emacs?

@ptrv, well. Is there any way to get those logs??

Can you just save the content of the *ycmd-server* buffer? Or what logs do you mean?


Create your own experiences article

Write an article about your own professional experiences to put into the resume

###Experience
####B-TREE DATA STRUCTURE
C#, WPF, Git

A WPF desktop app to store, write, delete and edit information in key-value format, implementing B-Tree data structure - one of the most common database structures.

####PUBLIC TRANSPORTATION DATABASE
PostgreSQL

A university coursework - database system to main public transportation workflow. Developed different functional abilities for drivers, transport route administrators and passengers


Rewrite GUI code to QML and add BatteryChecker

I have replaced old GUI code files(mainwindow.cpp, speedometer.cpp, ...) with QML.
Also, I have added BatteryChecker which receives printed message from python program and emit a signal to update UI.

I have added SpeedUpdateManager class which has CanReceiver and Filter as members so that CanReceiver class is now only responsible for receiving CAN messages.

Some of the comments on the old comments have been taken into account.  Fixed a possible error with the dimension of the received and transmitted data. There was a flaw related to the order of bytes transmitted and received in a floating-point number for computers with different architectures (use memcpy).
A good idea has been applied for additional smoothing when multiplying 2 different filters. It is possible to optimize the implementation of the SMA filter, but this does not lead to a significant gain in performance. It requires the application of a filter to the battery charge indication and general optimization of the battery charge indication code.


Unit-test TCP_IP.c file

Description

Test Steps

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Approved


Make requests run in parallel wherever possible

I came a couple places where we're awaiting requests in sequence instead of doing them in parallel, so I took a pass over all of the actions to fix wherever I could find that we were doing it unnecessarily. There were also a few unnecessary awaits that I got rid of where we were awaiting on a value that had already been resolved (which is a noop)
Test Information
This PR was tested on: iOS Simulator

You have some build failures

@hmhealey eslint errors
/home/ubuntu/workspace/mattermost-redux-pr/src/github.com/mattermost/mattermost-redux/src/actions/channels.js
411:62  error  Missing semicolon  semi
✖ 1 problem (1 error, 0 warnings)

There's 15 failing tests in the build

@hmhealey what happened with this one?

It's blocked on issues with the tests not working in parallel. My changes exposed some tests that were throwing exceptions but still passed, so I was looking at if there was a good way to catch those.
I wasn't finding anything good that we could do, so I'll probably just fix the ones I found and move on.

Marking this as Awaiting PR since we don't have a DO NOT MERGE label here, and I don't want this merged until 4.5 is cut

Alright I branched for 4.5, this is safe to merge when you want


Executing spark while "play run" is failing

This is a tricky one (again), because looks like it's only happening when running in Dev mode (like run).
Hence, it's still hard to debug or develop things involving spark execution thus (Spark, SparkInfo, Sql, and c°)... Which is sad.
So the symptom is that there is a mismatch while writing/reading Tasks  by the closure serializer (as far as the current investigation discovered). The problem occurs for scala.Option, scala.None$. The serialiazed (Java) is reporting bad serial uid, but the show ids (see below) are for Option and None.type → that's normal. Although, the written bytes should only refer the characters None$ and never Option.
No idea, how this happens now, however, I guess that the Option field in Task is metrics.
[error] o.a.s.e.Executor - Exception in task 1.0 in stage 0.0 (TID 1)
java.io.InvalidClassException: scala.Option; local class incompatible: stream classdesc serialVersionUID = -2062608324514658839, local class serialVersionUID =<PHONE_NUMBER>987135632
	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:617) ~[na:1.7.0_72]
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1622) ~[na:1.7.0_72]
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517) ~[na:1.7.0_72]
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1622) ~[na:1.7.0_72]
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517) ~[na:1.7.0_72]
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771) ~[na:1.7.0_72]
[error] o.a.s.s.TaskSetManager - Task 7 in stage 0.0 failed 1 times; aborting job

Almost there, in https://github.com/andypetrella/spark-notebook/tree/remote-process-fix.
In this branch, I can work with spark when running play in dev mode. (The problem now is probably some config because akka always wants to listen on 2552 for all system it creates.)


Unknown error after authentication and on token-refresh

In order to experiment with that cool addon you develop, I've written a simple spring-boot app that behaves similar to the server which the dummy application provides.
Everything works fine but every time the token gets refreshed I get console errors just saying undefined.
It occurs both in firefox and chrome.
I played with it for a couple of hours and now I'm sure the problem does not sit in the backend.
Thought maybe it might be a good idea to test with "third-party" servers to harden ember-simple-auth-jwt a bit.
I've published the backend here.
To reproduce the error, take the ember-simple-auth-jwt dummy app and configure as follows:
serverTokenEndpoint: http://localhost:8080/token-auth
serverRefreshTokenEndpoint: http://localhost:8080/token-refresh
Credentials are the same, log in and enjoy ;-)
The protected resource currently has a different location but to reproduce the error you won't need it.
The error occurs in version 0.0.2 and 0.1.

 Can you post the full response for an auth and refresh call?
It's been a while since I've touched Java; let's see if we can figure this out without me having to do all that set up on my machine :)

I simply deployed the app to make things easier.
serverTokenEndpoint: 'http://<IP_ADDRESS>:8080/api/token-auth',
serverRefreshTokenEndpoint: 'http://<IP_ADDRESS>:8080/api/token-refresh'
In routes/secret.js:
resolve(Ember.$.ajax('http://<IP_ADDRESS>:8080/api/secret-stuff', {

Cool, thanks! So all the calls with your backend are working ok.
What's happening is that when we try to access the /api/secret-route endpoint, it's hitting http://localhost:4200/api/secret-stuff instead of your server, and that returns a 401 unauthorized response. I'm assuming that the JWT secret key on your server is different .
So the add-on itself is ok, it's more just an issue with the dummy app and it being non-obvious which fields need to be replaced when using a 3rd party server. I'll add a config to make this easier. Thanks for reporting :)

I still get one of these every 30 seconds after login.

My bad, I misunderstood your issue, in your first comment you hadn't mentioned that you updated the base URL for api/secret-stuff, so I mistakenly concluded that this was your problem. Taking a look again!

This is very helpful, thank you, there are a couple of bug in the library:

[ ] #13; nothing happens if we think the token is invalid, the library just carries on as if everything is fine.
[ ] #14; validation needs to be updated so that the typ claim in the JWT header is not treated as required, per JWT spec.

Should be good to go now!


Hotfix/0.13.1

This hotfix addresses the issue found in issue #72. The sed regex will now match an http or https proxy protocol.

Thanks for the quick response to this issue, you're awesome. I have tested this and all looks good to me.

@simonluijk, this was merged into master and tagged rel-0.13.1. I also tagged latest and 0.13.1 on DockerHub.
Thanks again for the bug report. Please let me know if you run into any issues.


Issue 276 fix

Issue #276
Removing redundant call of callLambda within init function as it returns nothing and callLambda is anyway called within handleRequest. Also fixed misleading error message in TestMain function.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for providing the corrections.


Update jsonrpc to stable

Finally!

ACK d919b02 -- trivial, and it's been 2weeks

ACK d919b02 -- trivial, and it's been 2weeks


Multiple issues

Portals work in multiple worlds
There is no way to list portals in game besides looking at the config
There should be a player tag for commands by the server

hi, thank you for reporting the issues. These issues should be fixed now and updated readme so you can understand how to create portal.


Format of timestamp

Hi,
thanks for this nice pluging. I'm having trouble though entering a timestamp (leaving it empty, ie. "now") is working. Which timestamp format should I use?
Thanks for your help!
Kind regards,
Dietmar

Never mind, I've figured it out by looking at the code (as I should have in the first place...). Anyways, our company would be interested in have a few additions implemented (paid/donation). In order of our priority:

turn timestamp-field into a datetime-picker
clicking on any point in a graph on the current screen should fill the timestamp-field
delete annotations - probably more a feature request for Grafana?

Would you be interested to implement this for us?
Kind regards,
Dietmar

Never mind, just noticed all this is going to be implemented in Grafana 4.4.
Thanks anyways.

Hi!
Sorry for lateness.
The timestamp format is the same of influxDB: Unix nanoseconds timestamp. E.g.:<PHONE_NUMBER>000000000
Here more about future Grafana annotations support and difference between this plugin.
Bye

Hi,
thanks for your valuable feedback! As we'll have our events in InfluxDB, we'll definitely going to continue using your plugin. On that score - are you planning to implement  some of the features I've mentioned (datetime-picker for example)?
Cheers,
Dietmar

From: Niccolò<EMAIL_ADDRESS>Sent: Thursday, June 8, 2017 11:45 AM
To: novalabs/grafana-annotations-panel
Cc: cray74; State change
Subject: Re: [novalabs/grafana-annotations-panel] Format of timestamp (#1)
Hi!
Sorry for lateness.
The timestamp format is the same of influxDB: Unix nanoseconds timestamp. E.g.:<PHONE_NUMBER>000000000
Herehttps://github.com/grafana/grafana-plugin-repository/pull/112#issuecomment-301893439 more about future Grafana annotations support and difference between this plugin.
Bye
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/novalabs/grafana-annotations-panel/issues/1#issuecomment-307054480, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACnJ3iGo1YcXLh5Yzax-_Fbpvrhu62tnks5sB8LEgaJpZM4NxblA.


To many redirects OIDC

I encountered an issue with redirecting to the login page when attempting to implement custom user fields and integrate OpenID support in Superset. It may seem like a trivial issue, but I have limited experience, and I'm not sure how to resolve this problem. Below is the code of my implementation:
`
from flask import redirect, request, flash
from flask_appbuilder import expose
from flask_appbuilder.security.manager import AUTH_OID
from sqlalchemy import Column, String
from werkzeug.security import generate_password_hash
from superset.security import SupersetSecurityManager
from flask_oidc import OpenIDConnect
from flask_appbuilder.security.views import AuthOIDView
from flask_login import login_user, logout_user
from flask_appbuilder.security.sqla.models import User
from urllib.parse import quote
import logging
from sqlalchemy.exc import SQLAlchemyError
logger = logging.getLogger()
Custom User class
class CustomUser(User):
tablename = 'ab_user'
main_inn = Column(String(12))
head_inn = Column(String(12))
OIDC Security Manager
class OIDCSecurityManager(SupersetSecurityManager):
user_model = CustomUser
def __init__(self, appbuilder):
    super(OIDCSecurityManager, self).__init__(appbuilder)
    if self.auth_type == AUTH_OID:
        self.oid = OpenIDConnect(self.appbuilder.get_app)
    self.authoidview = AuthOIDCView

def add_user(self, username, first_name, last_name, email, role, password='',
             main_inn="", head_inn=""):
    user = self.find_user(username=username)
    if user:
        logger.error(f"User with username {username} already exists.")
        return user

    user = self.user_model()
    user.first_name = first_name
    user.last_name = last_name
    user.username = username
    user.email = email
    user.password = generate_password_hash(password)
    user.main_inn = main_inn
    user.head_inn = head_inn
    user.roles = role if isinstance(role, list) else [role]

    try:
        self.get_session.add(user)
        self.get_session.commit()
    except SQLAlchemyError as e:
        self.get_session.rollback()
        logger.error(f"Error adding user: {e}")
        raise

    return user

AuthOIDCView
class AuthOIDCView(AuthOIDView):
@expose('/login/', methods=['GET', 'POST'])
def login(self):
    sm = self.appbuilder.sm
    oidc = sm.oid

    @oidc.require_login
    def handle_login():
        try:
            info = oidc.user_getinfo([
                'preferred_username', 'given_name', 'family_name', 'email',
                'roles', 'inn', 'headINNName'
            ])
            user = sm.find_user(info.get('email'))
            if user is None:
                # Query roles from Superset and filter based on OIDC roles
                superset_roles = sm.get_all_roles()
                user_roles = [role for role in superset_roles if
                              role.name in info.get('roles', [])]

                # If no roles are found, assign a default role
                if not user_roles:
                    default_role = sm.find_role(sm.auth_user_registration_role)
                    user_roles = [default_role] if default_role else []

                # Create the user with the roles
                user = sm.add_user(
                    username=info.get('preferred_username'),
                    first_name=info.get('given_name'),
                    last_name=info.get('family_name'),
                    email=info.get('email'),
                    role=user_roles,
                    main_inn=info.get('inn'),
                    head_inn=info.get('headINNName')
                )
            # Check if the user exists and is active
            if user and user.is_active:
                login_user(user, remember=False)
                return redirect('/welcome/superset')
            else:
                flash('Your account is not active', 'warning')
                return redirect('/login/')
        except Exception as e:
            logger.error(f'OIDC login failed: {e}')
            flash('Authentication failed', 'danger')
            return redirect('/login/')

    return handle_login()

@expose('/logout/', methods=['GET', 'POST'])
def logout(self):
    logout_user()
    oidc = self.appbuilder.sm.oid
    oidc.logout()
    redirect_url = request.url_root.strip('/')
    issuer = oidc.client_secrets.get('issuer')
    if issuer:
        return redirect(
            f"{issuer}/protocol/openid-connect/logout?redirect_uri={quote(redirect_url)}")
    flash('Failed to log out', 'warning')
    return redirect('/')

And here are some logs:superset_app            | Loaded your LOCAL configuration at [/app/docker/pythonpath_dev/superset_config.py]
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:24 +0000] "GET /health HTTP/1.1" 200 2 "-" "curl/7.88.1"
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:27 +0000] "GET / HTTP/1.1" 302 223 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:27,943:WARNING:root:Class 'werkzeug.local.LocalProxy' is not mapped
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:27 +0000] "GET /superset/welcome/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:27 +0000] "GET /login/ HTTP/1.1" 302 1283 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:28 +0000] "GET / HTTP/1.1" 302 223 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:28,802:WARNING:root:Class 'werkzeug.local.LocalProxy' is not mapped
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:28 +0000] "GET /superset/welcome/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:28 +0000] "GET /login/ HTTP/1.1" 302 1283 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,136:INFO:oauth2client.client:Successfully retrieved access token
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /oidc_callback?state=eyJjc3JmX3Rva2VuIjogIlpTZEZnelhJUHdUXzZGOTVqaVE0eG1zWUhYZkpqOS1hIiwgImRlc3RpbmF0aW9uIjogImV5SmhiR2NpT2lKSVV6VXhNaUo5LkltaDBkSEE2THk5c2IyTmhiR2h2YzNRNk9EQTRPQzlzYjJkcGJpOGkuckVPcjVLSVcteGZQWnZSVWZNRzVzOTQ4NHBiaWtlTXFOYWhNbVB5dlZaMjhnb3VuT1J5TmR0MXJoM2NzRTRCUGlKNXByY04yOHZJbDViYngxNkx2elEifQ%3D%3D&session_state=5c15a0ad-d504-4386-bbb9-d60b17d49a18&code=c55bf75b-bdec-4683-afb8-055d2d4bffe8.5c15a0ad-d504-4386-bbb9-d60b17d49a18.9296707e-863b-4b70-92f5-b397b38e1db1 HTTP/1.1" 302 243 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,146:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,153:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,159:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,165:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,172:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,179:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,186:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,193:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,199:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,205:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,212:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,218:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,224:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,230:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,237:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,243:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,250:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:31,256:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:31 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:32,304:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:32 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:32,310:ERROR:root:User with username testinn already exists.
superset_app            | <IP_ADDRESS> - - [07/Nov/2023:17:39:32 +0000] "GET /login/ HTTP/1.1" 302 201 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
superset_app            | 2023-11-07 17:39:32,316:ERROR:root:User with username testinn already exists.
`

@daniilvohromeev Hi, I've encountered the same problem, have you managed to solve it?

Hi. Yes, now this problem seems to be my own foolishness. It was about the
user attribute 'active'. I made some edits in the logging and found out
that this value is not being set for the user. Because of this and the
recursive structure of the solution, there were infinite calls to the
endpoint /login. Essentially, the user is authenticated and the session
information is stored in cookies, but the logic in Superset wasn't handling
the 'active' parameter
пн, 20 нояб. 2023 г. в 08:35, Nex Zhu @.***>:

@daniilvohromeev https://github.com/daniilvohromeev Hi, I've
encountered the same problem, have you managed to solve it?
—
Reply to this email directly, view it on GitHub
https://github.com/apache/superset/issues/25895#issuecomment-1818258985,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO3VCPXPH5B5OQEKGYJOVQTYFLT3JAVCNFSM6AAAAAA7BTSZOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJYGI2TQOJYGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@daniilvohromeev Hi, I've encountered the same problem, have you managed to solve it?

Hi. Yes, now this problem seems to be my own foolishness. It was about the
user attribute 'active'. I made some edits in the logging and found out
that this value is not being set for the user. Because of this and the
recursive structure of the solution, there were infinite calls to the
endpoint /login. Essentially, the user is authenticated and the session
information is stored in cookies, but the logic in Superset wasn't handling
the 'active' parameter

@daniilvohromeev I think my case is different but thanks!


fix(curriculum): update hotel feedback form

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[ ] I have tested these changes either locally on my machine, or GitPod.

Closes #56098

Updated the 66a96127422411756204bc1b.md file in hotel feedback form.

My apologies. I have made the necessary changes.

Thanks.

Hi @trulyabdullah. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝

Hi @gikf
Thank you a lot. I was really nervous this time since I was contributing to such a large codebase even though the change was very small.
I am looking forward to making more good contributions in the future.
Thanks for merging the PR.


DOC: add notes section to events_from_annotations docstring

Hopefully addresses an issue that came up on the mailing list, about how to handle raw formats that encode integer events as strings.

Thanks @drammock


new app update messed up the authentication

Please watch this video, it is an endless loop of doing nothing!
https://www.dropbox.com/s/7q3ua4cfkmnidgw/coinbase.mov?dl=0

Yep seconded. Seeing this too! Please fix.

we have same problem!

They just released an update to the iOS app (which I'm assuming is where the break is, not the SDK). Has anyone have this resolved for them?

Is there any update to this?

Nop, they are busy counting the money.

Hey all, I want to apologies for the lack of response here. We truly appreciate each of your contributions to this issue.
Unfortunately, we are deprecating the SDK, and as such will be discontinuing support.
Happy New Year to each of you!

Hey all, I want to apologies for the lack of response here. We truly appreciate each of your contributions to this issue.
Unfortunately, we are deprecating the SDK, and as such will be discontinuing support.
Happy New Year to each of you!


⚠ Bofrost.fr has degraded performance

In 2adaec5, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 908 ms

Resolved: Bofrost.fr performance has improved in 71cfb7b.


beforeSave validation error when updating instance

Reference for issue

Hello, there is a glitch with my Travis configuration right now, that's why the sscce did not run, sorry about that, I will fix soon

Hello, there was a mistake in my Travis CI configuration, I have just fixed it and triggered a rerun for you. Sorry for the inconvenience.


Implement Factory for Creating Optimizely::Project instances to Avoid Passing in a Large Number of Positional Arguments

The constructor for Optimizely::Project expects 10 positional arguments. This is pretty unwieldy because it's hard for a caller to remember which argument is which. It also requires a bunch of nil values to be passed in if only some of the non-default values are desired.
It would be helpful to introduce a factory that takes in keyword arguments as input and constructs the Project instance. Since there are probably existing callers, we can't remove the constructor with positional arguments.

It can't be removed, but the existing constructor can be "uplifted".
Moving the constructor to use keyward args would solve this as well as avoid needing a factory:
consider an #initialize signature:
    def initialize(
      x_datafile = nil,
      x_event_dispatcher = nil,
      x_logger = nil,
      x_error_handler = nil,
      x_skip_json_validation = false,
      x_user_profile_service = nil,
      x_sdk_key = nil,
      x_config_manager = nil,
      x_notification_center = nil,
      x_event_processor = nil,
      datafile: x_datafile,
      event_dispatcher: x_event_dispatcher,
      logger: x_logger,
      error_handler: x_error_handler,
      skip_json_validation: x_skip_json_validation,
      user_profile_service: x_user_profile_service,
      sdk_key: x_sdk_key,
      config_manager: x_config_manager,
      notification_center: x_notification_center,
      event_processor: x_event_processor,
      **opts
    )

To clarify what is happening: all the positional-arg variable names would be renamed with some (ideally consistent) prefix or suffix. This allows the existing variable names to be used as the keys in the keywarg form. Secondly, the default value for all the keywargs is set to the value provided by the positional argument. So positional-arg invocations continue to work (their values get assigned automatically to the keywarg vars). And lastly, because all the positional args are already optional, users would be able to invoke the constructor with only the keywarg style. That allows callers to only specify values for the parameters the wish, without the need for a bevy of nil placeholders. The rest of the body of the method remains untouched and its default logic can continue. (Though ideally, a future release would move the defaults into the method signature itself and out of the body. As well as eventually removing the old positional-arg style.)

Created internal ticket for review: FSSDK-9382

This has been addressed. #342


Always run validation inside the training loop epoch

What does this PR do?
The current training epoch structure follows the following pattern:
(max_epochs=1, limit_train_batches=1, limit_val_batches=1)
'on_fit_start',
    # training
    'on_train_start',
        'on_epoch_start',
        'on_train_epoch_start',
            'on_train_batch_start',
            'on_train_batch_end',
        'on_train_epoch_end',
        'on_epoch_end',
        # intra-training validation
        'on_validation_start',
            'on_epoch_start',
            'on_validation_epoch_start',
                'on_validation_batch_start',
                'on_validation_batch_end',
            'on_validation_epoch_end',
            'on_epoch_end',
        'on_validation_end',
    'on_train_end',
'on_fit_end',

Pros:

Clear distinction between on_train_epoch_end and on_train_end.

This means when validation is run at the end of the epoch (the classic loop structure), validation is considered to be out of the training scope. This is inconsistent with the pattern when validation is run in the middle of the epoch:
'on_fit_start',
    # training
    'on_train_start',
        'on_epoch_start',
        'on_train_epoch_start',
            'on_train_batch_start',
            'on_train_batch_end',
            # intra-training validation
            'on_validation_start',
                'on_epoch_start',
                'on_validation_epoch_start',
                    'on_validation_batch_start',
                    'on_validation_batch_end',
                'on_validation_epoch_end',
                'on_epoch_end',
            'on_validation_end',
        'on_train_epoch_end',
        'on_epoch_end',
    'on_train_end',
'on_fit_end',

This PR changes the code so the later pattern is always used.
Pros:

Consistent

Cons:

Both training and validation dataloaders are in memory
Messes up existing timing code
Cannot checkpoint or early-stop on metrics logged on_train_epoch_end or inside training_step via self.log(..., on_epoch=True). This is a breaking change. EarlyStopping users can set check_on_train_epoch_end=True to avoid the error.

Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Hello @carmocca! Thanks for opening this PR.

In the file pytorch_lightning/trainer/training_loop.py:

Line 522:17: W503 line break before binary operator

Do see the Hitchhiker's guide to code style

Two questions to the cons you mentioned around the loader logic ...

I haven't checked if this is happening but what if your batches are huge and you keep the last train batch in GPU while you run validation? This is what I was referring to.


MLX: workaround for torch.BFloat16Tensor + get rid of Python generator in mamba_lm_mlx.MambaLM.generate for UTF-8 multibyte characters like CJK, Thai and etc.

MLX: workaround for torch.BFloat16Tensor
MLX: get rid of Python generator in mamba_lm_mlx.MambaLM.generate for UTF-8 multibyte characters like CJK, Thai and etc.

This PR has code changes for issue #6.

Thank you !


fix using same type code multiple times, check for all error cases explicity

This fixes ros2/system_tests#13 for both rmw connext implemenations. Additionally it check for all error cases explicitly and reports them via the return code and the rwm error string.
Please review and double check that I have not missed any cases which need to be checked.

These error strings don't automatically provide backtrace functionality.  Do we want to inject the implementation name into the error string to accelerate finding the source code for the error?

Enhancing rmw_set_error_string to include e.g. filename, line number sounds like a help feature. I guess this would go into rmw.

That's a good idea we can change rmw_set_error_string to be rmw_set_error_state(char * file, int line, char * message) and then add something like this to rmw:
#define RMW_SET_ERROR_STRING(message) rmw_set_error_state(__FILE__, __LINE__, (message));

+1 for the current changes. I opened ros2/rmw#16 for the enhancement.

Pending my suggestion of using print to stderr and exit for default switch statements, it lgtm. This is a great improvement, thanks @dirk-thomas.

+1

I will go ahead with the merge then.
Anybody volunteering to work on a similar PR for rmw_opensplice?

If I end up working on https://github.com/ros2/rmw/issues/16 I'd update opensplice along with necessary changes to connext. Maybe after tomorrow's meeting I'll spend some time on that.


Is dynamic fixed point int16 quantization supported for QAT?

Symmetric int16 quantization is now supported by TinyNN. Any chance support fixed point int16 quantization for QAT?

@steven0129 Sorry, I didn't quite get what you want.

TFLite seems not to support dynamic fixed point int16. So this issue can be closed.

@steven0129 Yeah, dynamic int16 quantization is not supported yet in TFLite. Once it is supported, it is really easy to get it supported in TinyNN.

@peterjc123 Got it! Many thanks.


exit + stay connected = endless loop

I have a script that runs on connect that ends with exit. I accidentally tapped stay connected and didn't realize it until I ran the script. It ran the script continuously! I use connectbot for home automation and this could have catastrophic results.
Shouldn't it run only ONCE when the profile is first run and not again when "stay connected" reconnects automatically?

It's difficult to know what someone will run. Maybe it's a tail -f to read a log? If I disable being able to reconnect when a command is entered, someone else will complain.

You are right, running only once per profile session wouldn't work well for monitoring. My concern is safeguarding against unintentional script looping that may cause damage in home automation. Perhaps require two steps to setup "stay connected"?
Relabel toggle "stay connected" to "reconnect on disconnect" for ease of association.
Add textbox labeled "reconnect count" that is disabled unless "reconnect on disconnect" is toggled on.
Textbox defaults to zero or empty and leaving it as such causes "reconnect on disconnect" to toggle off.
Negative number is infinite reconnects.


feat(runtime-dom): optimize function overload

Improve addEventListener and removeEventListener overload.

First of all, we really appreciate your interest in contributing. However, I don't think this PR provides meaningful improvements to the code. In fact, I'd argue that it made it more complex for no real benefits.

Thank you for your suggestion.


Remove version: Google.Chrome.Canary version 128.0.6550.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://dl.google.com/release2/chrome/aci75hxjpd25qrmxrqy6q76cd6uq_128.0.6550.0/128.0.6550.0_chrome_installer.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 912)


Add is_current field to genome_release and genome_dataset

And add release_type field to release table, with possible values of 'nightly_build', 'partial', 'integrated'.

Rationale/waffle behind this update: Linking+genomes+and+releases

Schema diagram in Lucid has been updated with these changes.

I thought we said the naming convention would serve this purpose:
* 20220508 == Nightly
* xxx.x == Partial
* xxx == Integrated?

When I thought about it some more, I decided explicit types would be better; for example, what if vectorbase want integrated release numbers with full stops in them? what if we want to change our naming conventions in a year or two's time? Also, the code/data is more readable/maintainable I think, e.g. if the api request asks for 'partial' releases, we can just pass that straight through as a query parameter, rather than working out a mapping from a release_type to a pattern and then doing something like release_type LIKE '\d{8}'; likewise the results, we can just include that field in the output, rather than parsing the release number and adding a field.


Remove lodash as dependency

So that viewer (& the website) will have less to load.
It should help mobile users a bit!

Fix #131


src/lib/amazon-connect-websocket-manager.js  needs newline at EOF

makefile/compiled javascript corrupted because missing newline.

This should be fix in the new coming release.

I'll close this as we have merged the temporary fix in the websocket manager file to fix the issue at present, and the issue has been permanently fixed for all our future releases.


F1

Codecov Report

Merging #4 (99efb73) into main (1936c17) will decrease coverage by 13.15%.
The diff coverage is n/a.

Changes have been made to critical files, which contain lines commonly executed in production. Learn more
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main       #4       +/-   ##
===========================================
- Coverage   97.14%   84.00%   -13.15%
===========================================
  Files           2        2
  Lines          35       25       -10
===========================================
- Hits           34       21       -13
- Misses          1        4        +3

Impacted Files
Coverage Δ

app/test_calculator.py
100.00% <ø> (ø)

app/calculator.py Critical
63.63% <0.00%> (-27.28%)
:arrow_down:

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


check_account_age key incorrect for AWS accounts

The check for AWS account age uses the account ID as the key:
https://github.com/panther-labs/panther-analysis/blob/e45530f8261cf404e3bbdfb7e770ba3f608a19cf/rules/aws_cloudtrail_rules/aws_console_login_without_mfa.py#L55
However when a new account is created, the key is "new_account - " + account_id:
https://github.com/panther-labs/panther-analysis/blob/e45530f8261cf404e3bbdfb7e770ba3f608a19cf/rules/indicator_creation_rules/new_aws_account_logging.py#L33

Fixed by https://github.com/panther-labs/panther-analysis/pull/1237


ENH: scipy.signal.sos2tf(sos)

Is your feature request related to a problem? Please describe.
I saw a gap in the scipy.signal.sos2tf(sos) function.
In the sos2tf function, there is no option for setting the overall system gain G, and I suggest adding another optional argument, ‘G’, specified as a real array that multiplies the coefficients b.
I will be more than happy to implement it
Describe the solution you'd like.
returns the transfer function coefficients of a discrete-time system described in second-order section form by SOS with gain G
Describe alternatives you've considered.
No response
Additional context (e.g. screenshots, GIFs)
No response

See also https://github.com/scipy/scipy/issues/17789 , which is loosely related.
I'm not sure this is that useful: it's not difficult to do already (sos2zpk, adjust k, zpk2sos), and introduces asymmetry (we aren't going to add a gain output to, say, tf2sos).


Support PyTorch/Tensorflow Models

I think this will become a very useful feature in the future.

cc @rbharath @miaecle if y'all at deepchem are interested

+1. Could be a useful feature for hyperparameter searching!

Going to try an example with this library: https://github.com/dnouri/skorch


update wiki submodule and badge branches

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion;
Review the contributing guidelines for this repository; remember in particular:

do not modify code without testing for regression
provide simple unit tests to test the changes
the PR must not fail unit testing
if you're adding/updating documentation of an endpoint, make sure you add/update the necessary parameters to the (template) configuration files in the ensembl-rest_private repo

Description
Updates now that release/102 is live - wiki submodule updated to latest wiki version, and build version updated for Travis + Coveralls badges
Use case
Keeps version information synced for this branch
Benefits
Keeps version information synced for this branch
Possible Drawbacks
None
Testing
N/A
Changelog
N/A

Coverage decreased (-0.002%) to 44.405% when pulling 95a4c5676d044bc87b2b9b82353381c817f85163 on update/102_live_updates into f4558d9b6f9af1acde878653aca55cc68421e47c on release/102.


Build community platform

Eventually need a platform for community. Although forums are the past, it'd be good to have a reddit/stackoverflow like system where ranking would be the main way to rank the answers to specific topics/questions.
Failing that, having slack/discord/etc... whatever is best according to the Zeitgeist may also suffice.

https://github.com/nopara73/LongevityWorldCup/issues/33

https://github.com/nopara73/LongevityWorldCup/issues/120


231 Update contributing guide with torchscript infer example

Fixes #231 .
Description
This PR adds an instruction of using torchscript model to do validation or inference. It also updates the brats_mri_segmentation bundle for reference.
Status
Ready
Please ensure all the checkboxes:

[x] Codeformat tests passed locally by running ./runtests.sh --codeformat.
[ ] In-line docstrings updated.
[ ] Update version and changelog in metadata.json if changing an existing bundle.
[ ] Please ensure the naming rules in config files meet our requirements (please refer to: CONTRIBUTING.md).
[ ] Ensure versions of packages such as monai, pytorch and numpy are correct in metadata.json.
[ ] Descriptions should be consistent with the content, such as eval_metrics of the provided weights and TorchScript modules.
[ ] Files larger than 25MB are excluded and replaced by providing download links in large_file.yml.
[ ] Avoid using path that contains personal information within config files (such as use /home/your_name/ for "bundle_root").

/build

Hi @yiheng-wang-nv ,
I would suggest to only change the contribution guide, let's don't change the Brats bundle so far.
What do you think?
Thanks.

Hi @yiheng-wang-nv ,
I would suggest to only change the contribution guide, let's don't change the Brats bundle so far. What do you think?
Thanks.

Hi Nic, sure, let me revert the changes of the brats bundle.

/build

/build


[docs] Created a draft version of README.md

Added content to introduce the demo installation method so that users can experience the project.

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


dev: make DojoMetadata to handle metadata specific to dojo easier

Fixes: #697

lets also add some tests to check that we can properly deserialize the toml::Value into DojoMetadata

( formatting scripts are running for me without any changes, not sure why its failing here )


Fix travis

Trying to fix the build issues from #7 which itself is trying to fix #6

@reset, I'm sure this isn't a high priority for the berkshelf team since most people using berkshelf are using git, but I was wondering if there's a chance this could get merged and maybe a new version released.


feat: Safe-DS stubs also contain docstring information.

Summary of Changes
Added docstring information support for all docstring types, excluding attribute information for Epydoc docstrings.
The following is included:

[X] Module docstring
[X] Class parameter docstrings
[X] Class attribute docstrings
[x] docstrings for @property methods
[X] Function parameter docstrings
[X] Function result docstrings

@lars-reimann I don't understand why the tests fail here. The tests run without fail on my Windows machine (Python3.12) and on an Ubuntu VM (Python3.11). I didn't change anything important connected to the test__get_api that fails, since I mainly worked in the stub generator and the docstring test files and not the API part. I only changed one line in the test itself after it started failing here on github, hoping this line would fix it, but it was sadly to no avail.

@Masara It should work now. Test IDs were not unique, which seems to lead to non-deterministic behavior for the snapshot tests.

:tada: This PR is included in version 0.2.0 :tada:
The release is available on:

v0.2.0
GitHub release

Your semantic-release bot :package::rocket:


CMake: Improve dependency searching

Description
This PR brings a set of changes that should help searching for dependencies. Feedback is greatly appreciated!
Here is a summary of the changes.
1. Matching the name with upstream
FluidSynth exports the target FluidSynth::libfluidsynth.
In the exported config, the casing of find_dependency(MPG123) should be mpg123, and opusfile::opusfile should be OpusFile::opusfile.
2. Add @PACKAGE_INIT@ to the config template
While the config file was already configured using the configure_package_config_file helper, it did not have a<EMAIL_ADDRESS>When expanded, it provides the set_and_check and check_required_components macros, as well as setting PACKAGE_PREFIX_DIR to the correct directory.
3. Correct INTERFACE_LINK_FLAGS
This property does not seem to exist. The INTERFACE_LINK_OPTIONS property seems to be what was wanted (doc).
4. Get help from pkg-config when available
While a user can manually set for a dependency the Foo_COMPILE_OPTIONS, Foo_LINK_LIBRARIES, and Foo_LINK_OPTIONS to provide the usage requirements, we can use pkg-config when available to pre-fill these cache variables.
This works as follows:

call find_package(PkgConfig QUIET), we want the search to be quiet as this is just optional help
search for the module pkg_check_modules(PC_FOO QUIET foo), similarly we want the search to be quiet. Note that it is not necessary to guard this call with PKG_CONFIG_FOUND, if pkg-config is not found this call will simply be ignored.
use the get_flags_from_pkg_config("${Foo_LIBRARY}" "PC_FOO" "_foo") helper to get the appropriate set of flags. We use the library suffix to infer whether we should take the static or dynamic flags and prefix them with _foo.
Use these variables to initialise the Foo_COMPILE_OPTIONS, Foo_LINK_LIBRARIES, Foo_LINK_OPTIONS, and Foo_LINK_DIRECTORIES cache variables. If pkg-config is unavailable they will simply be empty as they currently are.

For this to work better, the policy CMP0099 is set to NEW. This covers this very specific use case:

Have libogg installed in a non-standard directory such as /opt/my_libs
Build libflac statically with this custom libogg.
Build SDL_mixer statically with examples.
Build fails due to ogg not found

While FLAC::FLAC's INTERFACE_LINK_DIRECTORIES will be properly set /opt/my_libs, this will not be propagated unless CMP0099 is set to NEW
5. Add logic when vcpkg or conan is used
When either vcpkg or conan is used:

Turn off vendored libraries by default
Set CMAKE_FIND_PACKAGE_PREFER_CONFIG to ON

The latter option makes CMake prioritise using *-config.cmake/*Config.cmake over the find modules. Both package managers install the upstream CMake config when available, which will commonly include the usage requirements.
6. Add alternative names for libraries
Most notably on Windows, static builds of libraries may have a different name from their shared counterpart. For example, a static build of FluidSynth on Windows will produce libfluidsynth.lib which would not be found.

Testing
The changes were tested on:

macOS

Using shared libraries provided by Homebrew
Using static libraries provided by vcpkg

Windows

Using the x64-windows triplet on vcpkg
Using the x64-windows-static triplet on vcpkg

3DS Hombrew
Platform such as this one that only support static linking and which do not have vcpkg support benefit a lot from the help provided by pkg-config. Previously, making a build with libFLAC, tremor, and opusfile would be a dependency nightmare for linking, but with these changes, the linking process is now trivial. I expect a similar situation for PSP and PSVita Homebrew.

All patches look good to me, apart from 8da1b011ed6033d347bf5eef937bde5329de0887
I'd prefer to not have any packaging specific code in the cmake build script.
Instead, the vcpkg and conan-center-index build recipes should be updated to pass:
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON -DSDL3MIXER_VENDORED=OFF to cmake.
What do you think?

Also, what do you think about the current vendored_default logic? Would it surprise people that the cmake script, by default vendors its dependencies on Android and MSVC, but not on other platforms?

I think that is a good default, when using MSVC or an Android toolchain, there is no "default" package manager to grab the dependencies from, usually the user will have to compile them from source. Whereas on both Linux and macOS, it is pretty much guaranteed to have a package manager that provides development libraries.

All patches look good to me, apart from 8da1b01 I'd prefer to not have any packaging specific code in the cmake build script. Instead, the vcpkg and conan-center-index build recipes should be updated to pass: -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON -DSDL3MIXER_VENDORED=OFF to cmake.
What do you think?

While editing the upstream build scripts to include both options would work for the most part, users still need to manually specify CMAKE_FIND_PACKAGE_PREFER_CONFIG when:

They use conan/vcpkg to only provide the dependencies, not using the upstream build scripts
They consume the library afterwards (whether it was built from the build script or manually)

This commit was aiming to fix this comment specifically about considering vcpkg and conan to determine the defaults:
# FIXME: consider a package manager such as conan/vcpkg instead of vendoring

But I can understand if you think that is not a satisfying solution. Let me know if you want me to revert the commit 👍

I'm open to enabling CMAKE_FIND_PACKAGE_PREFER_CONFIG unconditionally, and treat our own FindXXX.cmake modules as backup.

What do you think about the following:

keep the vendored handling as it is now, and require the package maintainers to pass -DSDL3MIXER_VENDORED=FALSE
set CMAKE_FIND_PACKAGE_PREFER_CONFIG to true unconditionally in the cmake script.

Sounds good to me, I will push the changes shortly 👍


chore: consider perallocating

Codecov Report
Patch coverage is 100.00% of modified lines.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files Changed
Coverage

pkg/tracing/tracing.go
100.00%

:loudspeaker: Thoughts on this report? Let us know!.


If external secondary instance has .geojson extension, use id as default value ref and title as default label ref

The select_one_from_file spec is being expanded to include parsing geojson files. If the file specified for a select_one_from_file has extension geojson, the value ref should default to id and the label ref should default to title. These should be possible to override in the regular way (https://github.com/XLSForm/pyxform/pull/577).
More on ODK forum.

@lindsay-stevens if you have a chance to look at this in the next week or two that would be great since it interacts with your recent changes from #577. Otherwise I'll take a look then.

@lindsay-stevens I'm starting on this now.


add scala epfl license header

copy header from original file - https://github.com/scala/scala-collection-compat/blob/main/compat/src/main/scala-2.13/scala/collection/compat/package.scala

@pjfanning Is this done, you have marked it as a draft?

@mdedetrich this is probably better than what is there at the moment so feel free to merge it. I suspect there are further improvements that can be made.


Fallback for format types. fm: 'avif'

When fm: 'avif' is set, browsers like Safari won't be able to display the image.
Is there a way to fallback to original image format through the loader or is this a limitation of the Next's loader?

We'll look into this. Out of curiosity have you tried adding webp as a second format in your next config file?
images: {
    formats: ['image/avif', 'image/webp'],
},

@dsbrianwebster  Using the formats option in next config will not help in this case. I found this loader interesting mostly because solves an issue with the default next image when deployed in Netlify (performance), but not having the ability to fallback seems a no go.

@petewins @pauloamgomes I think that the answer to this issue is somewhat multi-layered.
Next.js Image component docs note that the Accept header that the browser sends along with a request determines what potential formats it can load. The problem with using Contentful's Image API is that there's no indication in their docs that it considers this header, and therefore isn't "smart enough" to determine what image to send to the browser.
There's also the issue that we're explicitly setting what the image is being converted to via the API: fm=avif. We wouldn't be able to get around this for SSG because the final image URL would presumably get rendered at build time.
All that said, I think the issue is both that Contentful's API isn't smart enough, and you're explicitly telling them what to serve you.
Some suggestions:
If you're going the explicit route, I would suggest using the webp format as there's wider support for it than avif currently.
In the (unlikely) event you're able to move to a different image provider, you could use one that's smart enough to serve you the correct image based on headers. I think Imgix works.
Closing this issue barring any new ideas/PR considerations.

Thanks for the explanation @devjmetivier
Using webp seems an acceptable option for now, I also played with the ability to detect if the browser can accept avif(e.g. https://stackoverflow.com/a/69927596)  and pass it on via the fm parameter.