Update Electron to a not EOL version

Electron 18 is end of life so if feasable for this project, a newer Electron version should be used.
Should the Electron versions be with a ^ at the start like the other dependencies so that any electron version from that major version can be used?
Also, what is electron-builder.yaml even for if electron-builder uses what's specified in the package.json anyway?

As sleek is being rewritten in the latest stable dependency versions, this is obsolete. @auroraanna thanks for the PR though, I appreciate it.


Edited todo item is not saved

I use :x to exit vim, but the modified todo item is not reflected in the list.

I cannot reproduce. Any specific steps or content to put in the editor?

While I can't reproduce the bug on my environment, I've noticed this bit in the NamedTemporaryFile documentation (which I use to generate the file that vim will edit) : "Whether the name can be used to open the file a second time, while the named temporary file is still open, varies across platforms". I've replaced it with a custom and simple temporary file function that creates a temporary file in the todo directory. This should work now.


Installation Error

Please consider using one of the issue templates (bug report, feature request).
installing guzzle using composer facing errors like Failed to download phpunit/php-text-template from dist: The zip extension and unzip/7z commands are both missing, skipping. most of the files are getting this type of errors and also failing psr/http-client. I have tried using document from guzzle document webpage.

and

This issue doesn't look to be related to Guzzle. There's nothing we can do here on our side to make a difference here, sorry.


Update coveralls.yaml

closing as this doesn't make sense.  That is just the name and it sends coveralls but change is to state that it does not and further does not even state why this was raised.


munmap

Hi,
You do mmap at https://github.com/VedantParanjape/libcamera-test-app/blob/master/main.cpp#L74
Shouldn't there be a munmap somewhere?

Hey @folkertvanheusden Yes that is a nice catch, I wonder where that should go.
Would like to contribute the fix ? Thanks :)


Change CCM service controller start jitter to only run when controller is ran

What this PR does / why we need it: The start jitter for the service controller was running regardless if the service controller was being ran. This should help startup time for CCM's without the service controller implementation.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

/cc @wlan0 @andrewsykim @luxas @jhorwit2
/area cloudprovider
/sig cluster-lifecycle

cc @prydie


[Bug]-[50]:Scroll is added each time tooltip appears in view mode

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Both horizontal and vertical scrolls appear when tooltip appears at the bottom of a page. Can be replicated by launching the Standup app.
Steps To Reproduce

Launch Standup app and hover over the ratings widget when it's present at the bottom of the page and observe vertical and horizontal scrolls appear when tooltip is displayed

Environment
Production
Version
Cloud

The screen-recording reflects this, watch the scroll bar on the right. There is a new one added if the tooltip appears outside the window bounds.
If the tooltip would appear where there is space (the way selects are handled, above the widget when it would not fit below, this would likely solve this issue
https://images.zenhubusercontent.com/275993885/0f00b2f3-9fd6-4f30-8996-5e147acd277d/screen_recording_2022_04_20_at_9_38_17_am.mov

Stats

Stat
Values

Reach
50

Effort (months)
0.5

Closing coz this is fixed in https://github.com/appsmithorg/appsmith/pull/22030


Ability of put any HTML to App

As you know, lots of Python plotting libraries support to output the result to HTML. Take PyEcharts for example, just use your_graph_obj.render_notebook(), and put the output to App, you got a wonderful graph based on Echarts.
It can let us support more plotting libraries with just a bit work.

Sure I can definitely add a component that lets you insert arbitrary html, pc.html(). I'll try and add this in the next release scheduled for Friday

https://github.com/pynecone-io/pynecone/pull/98


Threads not working 1.0

Using threads in 1.0 doesn't work. For example, this doesn't work (Doesn't crash or anything. no error just doesn't work..):
new Thread(function() {
  ChatLib.command('lobby');
  Thread.sleep(3000); // or some other delay amount
  ChatLib.command('play skyblock');
}).start();

Should be closed in 2c1fde3426cee5e21b9b98fa84e0c88c4a4628e2.


RDP

After following the instructions provided in the below links to extract SSL private key from the server, I have still been unable to decrypt my captured RDP sessions which used TLS 1.1 (and others using TLS 1.2):
https://github.com/FreeRDP/FreeRDP/wiki/Mimikatz and https://github.com/ctxis/RDP-Replay   ...
$ ./rdp_replay -r mypacketcapture.pcap -p myserver.key
RDP SSL MODE Requested by server!!
SSL private key found.
SSL-ERROR: RSA private key decrypt failed
In wireshark, some sessions I see are using TLS 1.1 and other TLS 1.2.... I'm confident that I have obtained the correct SSL private key from the server... Any assistance would be greatly appreciated!

Hello f4lk0r,
What cipher suite is negotiated? This need to be RSA based. Look at the ServerHello message in the SSL stream, and it will tell you. e.g.
Cipher Suite: TLS_RSA_WITH_AES_128_CBC_SHA (0x002f)

If the cipher based on DH (Diffie-Hellman) then it cannot decrypt the session. Use wireshark as a guide. If you add the server's key (SSL preferences) then try to follow SSL stream. If you get a decrypted stream in wireshark, then rdp_replay should also be able to decrypt it.
A while back (2 years?) MS changed defaults so that DH is used where available. This means that this tool is less useful than it would have been, but there's nothing I can do about the crypt.
Steve.

Thank you very much for your response.... Turns out that it is DH...
Cipher Suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 (0xc028)
This is Windows Server 2012 R2 box... is there any way to change the default away from DH so we can decrypt in the future?  I'm not really concerned with the "security" of this particular system..

Google is your friend here, but gpedit.msc might be worth a try. GL.
Steve.


Webcam video does not appear, with no error messages, when using videojs-record with VueJS

The video component looks correct, but when you click it, and after you've given it video permission (chrome, firefox) the area where the video would show up stays black. The record/stop buttons do not show up like they should. There are no errors in the log. The debug output from initialising video.js is:

VIDEOJS: Using video.js 6.6.3 with videojs-record 2.1.0 and recordrtc 5.4.6

Here is the single-file vuejs component code. I've tried to keep it to a minimum. Hope someone has an idea because I can't get it to work.
Thanks.
<template>
  <div data-vjs-player>
    <video id="myVideo"
           class="video-js vjs-default-skin"></video>
  </div>
</template>

<script lang="ts">
import * as V from "vue-property-decorator";
import * as videojs from "video.js";
import * as recordrtc from "recordrtc";
import "webrtc-adapter";
import "videojs-record/dist/css/videojs.record.css";
import "videojs-record/dist/videojs.record.js";

@V.Component({
  name: "cvideorecorder"
})
export default class cVideoRecorder extends V.Vue {
  player: videojs.Player | null = null;

  beforeDestroy() {
    if (!this.player || !this.player!.dispose) return;
    this.player!.dispose();
  }

  mounted() {
    this.player = videojs(
      "myVideo",
      {
        controls: true,fluid: false,
        width: 320, height: 240,
        plugins: {
          record: {
            audio: true, video: true,
            maxLength: 10, debug: true
          }
        }
      },
      function() {
        let v = videojs as any;
        v.log("Using video.js", v.VERSION,"with videojs-record",
        v.getPluginVersion("record"), "and recordrtc", recordrtc.version
        );
      }
    );

    this.player.on("error", function(error: any) {
      console.log(error);
    });
  }
}
</script>
<style scoped></style>

@hmexx I assume you cannot re-create this with any of the demo's at https://github.com/collab-project/videojs-record#examples and it's only happening in your VueJS app?

@hmexx I see you're importing the following (seemingly without a purpose), perhaps these screw up something:
import "videojs-contrib-hls";
import "videojs-flash";

Hi @thijstriemstra
You are right. Those are unnecessary and I've just removed them, with no positive or negative change. I was adding related imports in my desperation to make it work.
The demo's you linked to work fine on my set-up. I've also looked at some React code to see if they do anything special and there's nothing I could find that I've not already taken care of.  I could not find a single mention of VueJS combined with videojs-record on the web.
Thanks for any ideas you might have.

@thijstriemstra I'd get to the bottom of this myself if I had an error message to go on. Quite weird how it's a silent failure. Is there anything I can do on my end to help you point me in the right direction? I have a publicly accessible page with the malfunction component up and running. Would it be useful if I sent you that to inspect the page?
I couldn't find anything weird in there myself.
Thanks!

@hmexx sure, I'll take a look.

@thijstriemstra
Great! I'll leave this up for a few days
http://bit.ly/2GwQ4HP
Oddly enough, I've now noticed that I've moved it to a non-localhost domain, that it does not actually ask for video permission. On my dev environment, the browser already has camera permission, and you can see the camera light go on, but nothing shows up (black video). Maybe the difference between the two can help understand what's going wrong?
Thanks so much.

I've managed to get some kind of error to appear by changing my set-up. Perhaps this could help the investigation. I had the following in my webpack.conf set-up.
 resolve: {
    extensions: ['.ts', '.js', '.vue', '.json'],
    alias: {
      'vue$': 'vue/dist/vue.esm.js',
      '@': resolve('src'),
      'video.js$': 'video.js/dist/video.cjs.js',
      'videojs-contrib-hls': 'videojs-contrib-hls/dist/videojs-contrib-hls'
    }
  },
  plugins: [
    new webpack.ProvidePlugin({
      videojs: 'video.js',
      'window.videojs': 'video.js',
    }),
    new webpack.DefinePlugin({
      'typeof global': JSON.stringify('undefined'),
    }),
  ],

if I replace video.cjs.js with video.es.js I get the following error in the console:
videojs.getComponent is not a function
if I replace video.cjs.js with video.min.js then it goes back to the original behavious (silently failing)

Another potential hint. If you open the webpage I've linked to in Microsoft Edge, then the behaviour is slightly different to chrome. The record button DOES show up after you click the main button. But it's still not functional in any way.

@thijstriemstra
Wait a minute, the react example from your repo does not work either?!
https://collab-project.github.io/videojs-record/examples/react/index.html
The exact same behaviour! This gives me some hope that I'm not going crazy. Let me know if you're seeing the same thing on your end.

Well, I solved it. About 8 hours of pain and suffering … One of those dev days that makes you want to change jobs, lol.
OK, for future reference, and I hope this helps someone, the exact webpack config that is needed is below. What was missing was a line for RecordRTC in there.
  resolve: {
    extensions: ['.ts', '.js', '.vue', '.json'],
    alias: {
      'vue$': 'vue/dist/vue.esm.js',
      '@': resolve('src')
    }
  },
  plugins: [
    new webpack.ProvidePlugin({
      videojs: 'video.js',
      'window.videojs': 'video.js',
      RecordRTC: 'recordrtc', 'window.RecordRTC': 'recordrtc'
    })
  ],

combine this with the code in my OP and you have a working VueJS video recording component.
@thijstriemstra great plugin btw. keep up the good work.

@hmexx you never mentioned you were using webpack... Glad you solved it (react component works afterall I guess, you removed the comment).

Yes the react one works fine. I removed the comment sneakily... I did not want to admit that I forgot plug my webcam back in when I tried the react version!
And you're right, mentioning webpack would have been useful, although I think it would have still been a struggle. I don't think the exact config required, as detailed above, is available all in one place on the web. It's there now though :)
Have a good day.

@hmexx if you want to write a small section in the readme about how to use this plugin with webpack, I think it would be useful.

Hey.
Although I’m no webpack guru by any means im happy to write up a short blurb as to why the above set-up works and why it’s necessary to get video.js and videojs-record working.
I’ll try to do it this weekend.


Set alt attribute for img-based Icons only

Closes #5953
I considered and ultimately decided against following @IvanSanchez's suggestion to create a private _setAlt function in the Icon and DivIcon classes.  Because the alt attribute is only valid for img elements in the context of a marker, we can just do a quick test for the icon's tagName and only set alt if it's an img.  This seemed like a cleaner solution to me than implementing _setAlt for img based Icon subclasses and implementing a no-op _setAlt for non-img based subclasses.

Thank you! Seems like a good fix.


WithoutMiddleware doesn't work on global middleware

Laravel Version: 7.6.1
PHP Version: 7.3.16
Database Driver & Version: N/A

Description:
A recent commit added the option to skip/disable middleware for specific routes, which works for Route Groups and the like, but the implementation  for global middleware doesn't actually check for it yet. I'm willing to look into a fix for this, but wanted to raise an issue first to check if such a fix would be welcome.
Steps To Reproduce:
Require a Auth middleware for all your routes in the App\Http\Kernel, try to call ->withoutMiddleware on login.

I'm not sure if it was intended to skip global middleware. You're free to attempt a pr however.

Heya. I'm gonna re-open this as it indeed seems to be expected to work with global middleware as well. Thanks for reporting.

@driesvints , @dsazup thanks for the feedback, I'd love to work on a PR for this tonight, will keep you both in the loop.

Closing this as the PR was rejected. Please see the explanation by Taylor here: https://github.com/laravel/framework/pull/32404#issuecomment-614808543

@driesvints I am sorry for re opening this issue, but before creating an issue that maybe is not an issue, I would like to quickly as here and depending on your answer, I will create a new issue or not.
I am trying to use withoutMiddleware method, but I was not able to use it in any part when declaring a route... I also done a search on vendor folder for it and did not find it, except for testing purposes... Can you confirm this is somehow not working anymore if it was before ? (I read the documentation and said to use it straight away, but I am even copying the example and when doing php artisan route:list it is giving me a method not found)

btw you can exclude a global middleware like this inside Kernel.php
    public function handle($request)     {         if($request->is('/your/route')){             $index = array_search(SomeMiddleware::class, $this->middleware);             unset($this->middleware[$index]);         }         return parent::handle($request);     }


Selection on Install

Hi.
I was unable to select any options during the installation.

Tried to connect from multiple terminals, but none of them let me choose from the options.

Solved by manually downloading the installer script and executing from there.


chore(ci): replace usage of slash-command-action

Description of the change
xt0rted/slash-command-action uses deprecated Node.js versions- I did try opening a PR to the action to update the Node.js versions used but it has had no traction.
As such, this PR replaces the logic with actions/github-script and create-or-update-comment. Both of these actions are more actively maintained.
Note that this only impacts the bump-version.yml workflow.

Checklist

[ ] Chart version bumped in Chart.yaml according to semver.
[ ] Variables are documented in the values.yaml and added to the README.md. The pre-commit utility can be used to generate the necessary content. Use pre-commit run -a to apply changes.
[ ] JSON Schema template updated and re-generated the raw schema via pre-commit hook.
[ ] List tests pass for Chart using the Chart Testing tool and the ct lint command.

/lgtm

Seems OK but would want to merge this and then run a bump to ensure it works as expected

merged. build succeeded and created 2.16.6 from PR https://github.com/redhat-developer/rhdh-chart/pull/35
just waiting for https://artifacthub.io/packages/helm/rhdh-chart/backstage to refresh with the latest version...


Do not serialize enum as int when it should be string

On this line https://github.com/JamesNK/Newtonsoft.Json/blob/b8e60c773bfbd765b9131694a01569e067b37d99/Src/Newtonsoft.Json/Converters/StringEnumConverter.cs#L99 StringEnumSerializer has a fallback to serialize enum as int when value is unknown
I would argue that when consumer of that message expects string, it should not serialize the value as int - never. I would personally put null there instead
If you agree, I will submit merge request

I like the idea. I was just doing some cleanup so I added it myself. An error will be thrown if AllowIntegerValue on StringEnumConverter is false.
https://github.com/JamesNK/Newtonsoft.Json/commit/7673a18e55c2b30a69ce0cf972b12d8a7c42d5d3#diff-5e0582b968883a35253f261a8d5a67a2


fix typo in readme (shapeProps)

Small typo in the README, shapeProps have to be an object.
{shape: 'circle', shapeProps: r: 10}

=>
{shape: 'circle', shapeProps: {r: 10}}

Coverage remained the same at 96.716% when pulling eac1d233c067dcc0580a46368b5f9bb88f73b745 on JulienMalige:fix/readme into 250a90b38bad4f4ae1b141a1e0e0d19294af3e46 on bkrem:master.

Can't believe I never noticed that, thank you for fixing @JulienMalige!


⚠ 366.ru has degraded performance

In 92859ab, 366.ru (https://366.ru) experienced degraded performance:

HTTP code: 200
Response time: 1952 ms

Resolved: 366.ru performance has improved in 0510f24.


CSS @media in HTML file breaks syntax highlighting

VSCode Version: last one
OS Version: macOS

Hi,
@media into <style></style> breaks the syntax highlighting.

Reproduce with
<html>
<style>
h1 {
  color: red;

}@media only screen {

}
</style>
</html>

This issue was moved to atom/language-css#107


Add timeout-constrained version of execute on RiakClient

This supersedes PR #610 (CLIENTS-922), by adding tests to the original PR.

Special thanks to @bwittwer for the original PR!

@alexmoore please to be fixing your builds :-P
[WARNING] /home/buildbot/masters/riak/java-client-test/build/src/test/java/com/basho/riak/client/core/RiakClientTest.java:[53,90] unchecked cast
  required: com.basho.riak.client.core.RiakFuture<java.lang.String,java.lang.String>
  found:    com.basho.riak.client.core.RiakFuture

What happens when you execute a long-running Riak command, but specify a short timeout? Does the client disregard the value when returned by Riak?

Yep, the command's execution will  throw a TimeoutException(), and unblock the user thread.  The operation will continue to process on Riak && the client's backend/netty threads until it completes in some fashion.

OK I just want to make sure that the data returned from Riak is discarded and not used somehow by a different command.

Other than my concern, :+1:

Nope, it should be discarded once the operation is complete, and the resources returned to the pool. It'll keep running in the background, but we'd need to add operation cancellation in to fix that (another issue).


Updated Free Courses in Hindi - Added a video course on Discrete Mathematics

Added a video course on Discrete Mathematics
What does this PR do?
This PR enhances the repo by adding a resource on Discrete Mathematics
For resources
Description
This is a video resource by TutorialsSpace- Er. Deepak Garg. It has several videos explaining Discrete Mathematics.
Why is this valuable (or not)?
This course comprises of most stuff that I have learned during my own experience with Discrete Maths.
How do we know it's really free?
It's available to watch for free on Youtube.
For book lists, is it a book? For course lists, is it a course? etc.
It is a course.
Checklist:

[ x] Read our contributing guidelines.
[x ] Search for duplicates.
[x ] Include author(s) and platform where appropriate.
[x ] Put lists in alphabetical order, correct spacing.
[x ] Add needed indications (PDF, access notes, under construction).
[x ] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


b2d0e51366dea6843f991f31a457f5456d162678 fails with linkage error on HP-UX

Describe the bug
b2d0e51366dea6843f991f31a457f5456d162678 introduced the usage of dirfd() which is unfortunately not available on HP-UX. Linking fails with unsatisfied symbol. The test in configure.ac compiles only, but does not link:
configure:13760: checking for dirfd
configure:13774: /opt/aCC/bin/aCC -Ae -c -g -I/opt/ports/include conftest.c >&5
"conftest.c", line 149: warning #2223-D: function "dirfd" declared implicitly
  DIR * dir=opendir("dirname"); dirfd(dir);
                                ^

configure:13774: $? = 0
configure:13775: result: yes

but it should be rather:
bash-5.0$ cc -o out test.c
"test.c", line 5: warning #2223-D: function "dirfd" declared implicitly
  DIR * dir=opendir("dirname"); dirfd(dir);
                                ^

ld: Unsatisfied symbol "dirfd" in file test.o
1 error.
bash-5.0$ echo $?
1

Solution
Either one needs to try link the application or do the naive patch I have done:
# if defined(UNIX) && defined(HAVE_FLOCK) && defined(HAVE_DIRFD)
# ifdef __hpux
#define dirfd(x) ((x)->__dd_fd)
#endif
...

Note: flock() is present on HP-UX.
After the patch:
bash-5.0$ ldd src/vim

src/vim:
        libm.so.1 =>    /usr/lib/hpux32/libm.so.1
        libxcurses.so.1 =>      /usr/lib/hpux32/libxcurses.so.1
        libintl.so.10 =>        /opt/ports/lib/hpux32/libintl.so.10
        libc.so.1 =>    /usr/lib/hpux32/libc.so.1
        libiconv.so.8 =>        /opt/ports/lib/hpux32/libiconv.so.8
        libc.so.1 =>    /usr/lib/hpux32/libc.so.1
        libdl.so.1 =>   /usr/lib/hpux32/libdl.so.1
        libc.so.1 =>    /usr/lib/hpux32/libc.so.1
bash-5.0$ file src/vim
src/vim:        ELF-32 executable object file - IA64

Environment (please complete the following information):

Vim version 8.2.1551
OS: HP-UX deblndw0 B.11.31 U ia64 HP-U
Terminal: PuTTY and dtterm

References

https://www.mail-archive.com/search?l=help-cfengine@cfengine.org&q=subject:"Cannot+compile+cfengine\-3.2.0.tar.gz+on+Solaris+10"&o=newest&f=1
https://openqnx.com/phpbbforum/viewtopic.php?f=20&t=4272#p16959
https://womble.decadent.org.uk/readdir_r-advisory.html

Hi @michael-o ,
do you want the feature which the mentioned pull request brought available on HP-UX?
Either way, I propose to use AC_TRY_LINK instead of AC_TRY_COMPILE. It will catch the error and the feature will not be used.

Hi @michael-o ,
do you want the feature which the mentioned pull request brought available on HP-UX?
Either way, I propose to use AC_TRY_LINK instead of AC_TRY_COMPILE. It will catch the error and the feature will not be used.

I won't insist, but I would like to have consistency across platforms since dirfd() is likely to be a macro on other platforms too, it is fairly easy to add this for HP-UX. I checked the FreeBSD libc code and it is just a macro with wrapper call. I see no reason not to support this on HP-UX.

Ok, would you mind trying this
patch if it works on HP-UX?

@zdohnal Going through...

The check now properly fails:
configure:13760: checking for dirfd
configure:13774: /opt/aCC/bin/aCC -Ae -o conftest -g -I/opt/ports/include -L/opt/ports/lib/hpux32 conftest.c -lm -lelf  -lcurses -liconv >&5
"conftest.c", line 149: warning #2223-D: function "dirfd" declared implicitly
  DIR * dir=opendir("dirname"); dirfd(dir);
                                ^

ld: Unsatisfied symbol "dirfd" in file conftest.o
1 error.
...
configure:13779: result: not usable

and vim links correctly. Though I don't understand the hunk in fileio.c. Although you define this macro, it is never used because the function vim_opentempdir() is guarded by defined(HAVE_DIRFD) which is not set now in config.h.

(facepalm) You're right, sorry - another iteration...

Here we go
vim-hpux.patch.txt

This one is incomplete, it ignores:
#ifdef TEMPDIRNAMES
# if defined(UNIX) && defined(HAVE_FLOCK) && defined(HAVE_DIRFD)
EXTERN DIR      *vim_tempdir_dp INIT(= NULL); // File descriptor of temp dir
# endif

from globals.h

Please check now
vim-hpux.patch.txt

@zdohnal Patch works for me now.

@zdohnal @brammool Thank you for the quick turnaround!

@michael-o I'm sorry for the inconvenience which my previous patch brought and thank you @brammool for pushing the changes!


Add FreeStanding as a pre-defined version condition aimed at bare-metal targets

<EMAIL_ADDRESS>I agree, NoSystem should be a platform and not a build failure, and compiler support is trivially add by using a (WARNING: bikeshed approaching) -free-standing or -self-hosted or -bare-metal switch.
Documentation PR here: https://github.com/D-Programming-Language/dlang.org/pull/881
PS: Would it be worth re-ordering reserved and using binary search?  Maybe later...

WARNING: bikeshed approaching

Is this a better -betterC?

I would say no.  -betterC still depends on ie: libc existing.

Why isn't the version called BareMetal?

NoSystem has been lingering around since 2004.

Lingering?

OK, 2007 then :-) http://sourceforge.net/p/dgcc/code/174/

Whatever we choose here shouldn't we use similar nomenclature for the flag and the name? E.g. "FreeStanding" and -free-standing.

@andralex - it may be considered reasonable to assume that.   Shall we take it to the ML to discuss a name that satisfies both conditions of being a recognisable switch and version condition?
version(FreeStanding) just doesn't have the same zing that I can relate with vs. NoSystem.

Versions that are negative should be eschewed in favor of positive ones. I came here to suggest FreeStanding instead, and found @andralex had already done so. FreeStanding is an existing and well known term for this, and is a positive term. I strongly recommend it.
P.S. I always hated betterC, even though it was my idea.

Changed from NoSystem to FreeStanding

LGTM and uses a term I'm already familiar with.


chore(docs): added MapR on docs

Fixes

added MapR query on docs.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.37%. Comparing base (c8b3bc6) to head (346946e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
+ Coverage   71.35%   71.37%   +0.01%
==========================================
  Files          34       34
  Lines        1473     1474       +1
==========================================
+ Hits         1051     1052       +1
  Misses        310      310
  Partials      112      112

Flag
Coverage Δ

Unit-Tests
71.37% <ø> (+0.01%)
:arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Remove html tags from x-axis categories

FYI, some of my charts have html in its x axis categories so I made the following change to my copy of your plugin to remove the html when exporting to csv...
line 166:
old line:  xAxis.categories[row.x],
new line:  $('<div/>').html( xAxis.categories[row.x] ).text(), // strip html from the label
Thanks for the great plugin!

Thanks for the suggestion!
However, we don't want to depend on jQuery in our code base. Also, best practice is to keep your categories clean from markup, and rather add markup in the formatters for axis label, tooltip etc.

I see, that makes sense.  I am making weekend dates in my xaxis categories a different color w/html.  I'll try moving that logic from server side to the client-side formatter.  Thanks


World snapshots

A world may be designed as a escape room, with an initial state that may be modified durin gameplay. To return things to their initial state easily, it would be nice to be able to create a snapshot of a world that you can later deploy. Snaoshots could even be shared with other users.

I have changed the data model to make world snapshoting easy. It now looks like this:

All data that will be snapshoted and restored is stored in reference to a WorldState, not the World itself. These are rooms, world-level custom verbs and user inventories.
Each World has a working WorldState, and can store others as Snapshots.
Inventories now have a separate entity.
Rooms no longer save references to items nor exits. They query the database to find them.


Add Article for Hello World in Solidity

Thanks, @2Clutch! If you have any resources to help me understand smart contracts and whatnot, let me know.

I would recommend,

https://bit.ly/2xqZTrr
https://bit.ly/2wVwQvl
https://bit.ly/2xoOcBe

Hope that helps.

Would you be interested in writing this article? I'm just now experimenting with guest posts (#203), and I figure you're probably more qualified to write this article up. Let me know!
If so, I'll add you to the site.

Yes, most definitely. I will be using the existing articles as a baseline.

Great! Just added you to the site. Thanks for your help.

Quick question. Do you have a limit to how long or how short you would like a blog post to be? I started today and it seems my post will be rather lengthy.
My game plan is start a very technical post and then slowly dumb it down over a couple of revisions. The ultimate objective being anybody reading the post should be able to make sense of it regardless of their prior knowledge.

Typically, my articles in the Hello World Series run about 500 words, but you’re welcome to write as much or as little as you want. Personally, I wouldn’t write much less than 500 words. That said, there’s no upper bound, so feel free to have some fun with it!
I think your plan sounds great, and I appreciate the help!
El jun. 7, 2018, a la(s) 20:13, Maximillian Naza<EMAIL_ADDRESS>escribió:

Quick question. Do you have a limit to how long or how short you would like a blog post to be? I started today and it seems my post will be rather lengthy.
My game plan is start a very technical post and then slowly dumb it down over a couple of revisions. The ultimate objective being anybody reading the post should be able to make sense of it regardless of their prior knowledge.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hey! Sorry, I've been on vacation for about a week. I'm digging back into things a bit. Is your article ready for scheduling?

I just completed it. Could you take a look and potentially provide some feedback? It's currently saved as a draft.

I took a quick pass of the article. It looks great! I changed a couple headings and added a table of contents as well as the last section.
If you're happy with it, let's find a good featured image. I typically use Pixabay. If you find something you like, link it here, and I'll put it in the article.
Then, I'll schedule the article! 💯

Oh, and don't forget to update your profile! That way you can link to things like your GitHub profile.

Just did. Also I've tried uploading the image but it won't load up for some reason. The image is there, but nothing is showing. I left the url in the draft.
I tried to upload it from my computer and also the web using the url. The image is processing fine, but nothing is showing. I left the url of the image in question in the draft. Would appreciate it if you could take a look.

Yeah, no problem! I think your role on the website won't allow you to add the image yourself. I've added it and scheduled the article for June 20th at 10AM.

Blog was officially posted so I am closing the issue.

Thanks for your help! I hope you enjoyed it.
If you're ever interested in writing more or if you'd like to add more code to the repo, let me know.


need way to specify ignore tags in karate-gatling

based on discussion here: https://stackoverflow.com/q/58916688/143475
propose a second optional var-arg for karateFeature()
e.g.
 val delete = scenario("delete").exec(karateFeature("classpath:mock/cats-delete.feature@name=delete"))
val foo = scenario("foo").exec(karateFeature("classpath:mock/foo.feature", "~@ignore"))
val bar = scenario("bar").exec(karateFeature("classpath:mock/bar.feature", "@one,@two", "~@ignore"))

@beloyar777 it will really help us if you can try out the fix. here is the dev guide: https://github.com/intuit/karate/wiki/Developer-Guide
docs: https://github.com/intuit/karate/tree/develop/karate-gatling#ignore-tags

released 0.9.5


Fix package issues

This refs issue #84.
Still i did not figure out how to make PR against an existing issue.
(annoying, i know)

some literature about the lint fix:
https://lintian.debian.org/tags/maintscript-calls-ldconfig.html

Also lint suggest to drop the .sh extension to the configure_robotics_dt script.
which could be addressed if someone is interested

It is bedtime for sure. i almost lost the branch. !
sorry!

sorry I didn't get to this for so long. All excellent suggestions, debian packaging is new to me so I really appreciate it!! merged in cca7d9ef7e3d2c485f23efab4e483f4165496a68


Update README.md

Substitute .addImport(..) with .root_module.addImport(..) as the former seems to be gone as of 0.13.

Good catch, thanks!


Typo in translation file

In file wagtail/admin/locale/ru/LC_MESSAGES/django.po on line 361 should be "Воскресенье" instead of "Воскрксенье"

Note: translations should be submitted to https://www.transifex.com/torchbox/wagtail/ so they can be kept in sync
This is outlined in the README:

We also welcome translations for Wagtail's interface. Translation work should be submitted through Transifex.

Ok I make it! Please update it ASAP

Any updates here?

@toptalo We always fetch new translations from Transifex when preparing a new Wagtail release (and sometimes more frequently, when there have been significant changes to text in the Wagtail code), so the fix will definitely be in the next release.


Permission denied on API calls with valid API key

Having some problems with permissions (using the "demonstration" environment), the code is similar to the cookbook example:
$session = new CurrencyCloud\Session(CURRENCYCLOUD_ENVIRONMENT, CURRENCYCLOUD_USER_ID, CURRENCYCLOUD_API_KEY);
// $session->loginId, $session->apiKey are set
// $session->apiKey set to 'https://devapi.thecurrencycloud.com/v2/'

$currencyCloud = CurrencyCloud\CurrencyCloud::createDefault($session);

$currencyCloud->authenticate()->login(); // $session->authToken set

$currencyCloud->balances()->find();

// CurrencyCloud\Exception\ForbiddenException with message 'Permission denied'
// string(133) "{"error_code":"permission_denied","error_messages":{"base":[{"code":"permission_denied","message":"Permission denied","params":{}}]}}"

Calls to $currencyCloud->rates()->detailed() do succeed so I'm not sure what the problem is.  Any suggestions would be appreciated!

Closing this.  Experiencing the same issue with the API explorer, so the issue is likely not with the SDK.


tests: Improve running test_images.sh locally

This series adds improvements for running test_images.sh locally

KATA_DEV_MODE now really doesn't touch any host config. Users are
required to put the host into the proper state first, namely not
having kata-runtime as the default runtime. Running the script
this way is effectively a build test only, because we don't have
any way to runtime test the generated initrd/images without altering
host config. Still, the build step is 80% of the battle IMO

Improvements to not have the dracut build process leave output lying
around in the osbuilder.git project dir

Debugging improvements, have DEBUG=1 make the script output much
more info.

Some code cleanups and dead code removal

Fixes: #415

ouch! CI is not happy
ERROR: Commit 7acb69130cf0cb1f115d20ddb0446dbc89f1288e: single-line "Signed-off-by" body not permitted

ERROR: checkcommits failed. See the document below for help on formatting

The current travis failure seems to match the same failure for current master, so not sure if my patches are at fault. I will try to dig more today

/test

@Pennyzct so it looks like the ARM CI is not working
Creating rootfs for suse with command: /home/jenkins/workspace/kata-containers-osbuilder-ARM-18.04-PR/go/src/github.com/kata-containers/osbuilder/rootfs-builder/rootfs.sh -o 1.11.0-alpha0-2f506c9e73bf79496eec1aa52a71724a390a4e3e -r /tmp/osbuilder-test.7KP8xJ1/rootfs-osbuilder/suse_rootfs suse
Build timed out (after 15 minutes). Marking the build as aborted.

hmmm, increasing a little bit the timeout to see if it passes that way.


Add a better headless app screenshot

Issue in /src/pages/resources/cron-jobs/lesson1.md
Link: https://developer.adobe.com/app-builder/docs/resources/cron-jobs/lesson1/

Actually on second thought, the screenshot is accurate, it just doesn't go through all the steps (since the wizard summarizes the steps)
So perhaps the screenshot should show the intermediate steps instead of the final screenshot result

yeah, these should probably just be formatted text and not images


Failed to create message template?

Rasa version:
1.7
Rasa SDK version (if used & relevant):
Not relevant
Rasa X version (if used & relevant):
0.25.1
Python version:
3.6
Operating system (windows, osx, ...):
Ubuntu 18.04 LTS
Issue:
In the web UI for RasaX, in the Talk to your Bot section, the bot classifies intents correctly, but does not actually display any response templates. No custom action server is running, this is the most minimal setup using the Rasa init project.
Error (including full traceback):
/build/lib/python3.6/site-packages/rasa/core/processor.py:98:` UserWarning: No policy ensemble or domain set. Skipping action prediction and execution.
  "No policy ensemble or domain set. Skipping action prediction "
2020-02-18 15:40:14 ERROR    rasa.core.actions.action  - Couldn't create message for template 'utter_greet'.
2020-02-19 07:11:13 ERROR    rasa.core.actions.action  - Couldn't create message for template 'utter_goodbye'.
2020-02-19 07:11:32 ERROR    rasa.core.actions.action  - Couldn't create message for template 'utter_greet'.
2020-02-19 08:15:30 ERROR    rasa.core.actions.action  - Couldn't create message for template 'utter_greet'.
2020-02-19 08:15:40 ERROR    rasa.core.actions.action  - Couldn't create message for template 'utter_goodbye'.
2020-02-19 08:15:41 ERROR    rasa.core.actions.action  - Couldn't create message for template 'utter_goodbye'.
2020-02-19 08:15:42 ERROR    rasa.core.actions.action  - Couldn't create message for template 'utter_goodbye'.
2020-02-19 08:15:43 ERROR    rasa.core.actions.action  - Couldn't create message for template 'utter_goodbye'.
2020-02-19 08:23:43 ERROR    rasa.core.actions.action  - Couldn't create message for template 'utter_greet'.

Command or request that led to error:
-- Any message in the Talk to your Bot section
Content of configuration file (config.yml) (if relevant):
Not relevant, probably
Content of domain file (domain.yml) (if relevant):
Not relevant, probably

/home/kriti/anaconda3/envs/rasa_bot/lib/python3.7/site-packages/rasa/core/domain.py:959: UserWarning: Utterance 'utter_goodbye' is listed as an action in the domain file, but there is no matching utterance template. Please check your domain.
I was getting this error while training so it was giving me the same error as yours then I upgraded the rasa version from 1.6 to 1.7 then it started working for me. No that userwarning. It has something to do with domain.py.
I am getting this template error in 1.6 but works fine for 1.7 version.

Thanks for the issue, @TyDunn will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

Hi @ActuallyAcey. Thetemplates key was renamed to responses in rasa 1.7. You can get the warning to go away by updating your domain.yml. You can read more about it in the changelog and docs.
Let me know if this does not solve your issues.

Aaah, okay, I will give it a look tomorrow.

@TyDunn @ninjakx While upgrading my Rasa version from 1.6 to 1.7 (a remnant of me fixing another issue by hardcoding the 1.6 into the docker-compose file) got rid of the error, the actual issue appeared to be that docker was pulling the demo app for Rasa X instead of the standard(?) image. Either way, issue is resolved for me.
For anyone reading in the future, I can only offer the advice of checking your docker-compose.yml and tinkering with it (specifically the RASA_VERSION values).


[Tracking] 'Build, Deploy, and Run a Machine Learning Model (using Watson Studio)' tutorial

use this issue to track all issues for Build, Deploy, and Run a Machine Learning Model (using Watson Studio).

after Exercise: Create Project, the project overview looks like this for me:

for Exercise: Build and Save a Model
step 10: After the last notebook cell is finished and the model is stored, click File > Stop Kernel
should we also mention the Shutdown button in the popup window?


Qbits lm-eval  incorrect behaviour

@zhewang1-intc

2024-06-08 10:02:19 WARNING qlinear_qbits.py L27: qlinear_qbits should be used with Intel Extension for Transformers.
this warning should only activate when using cpu,

fixed


Not so elegant way to distribute shared objects inside RPM  - kNN plugin installer

Hello Guys,
after v 1.6.0 installation started hanging I have checked the RPM and it shocked me little bit.
This is not so elegant and "enterprise friendly" way to distribute - especially -  shared objects.
Why don't you distribute it as standalone package as other components?
 RPM_OS=linux
 RPM_PACKAGE_NAME=opendistroforelasticsearch
 RPM_PACKAGE_VERSION=1.6.0
 RPM_PACKAGE_RELEASE=1

echo "Fetching kNN library"
FILE=/usr/lib/libKNNIndexV1_7_3_6.so
if [ -f "$FILE" ]
then
    echo "$FILE exist: removing $FILE"
    sudo rm $FILE
fi
FILE=/libKNNIndexV1_7_3_6.zip
if [ -f "$FILE" ]
then
    echo "$FILE exist: removing $FILE"
    sudo rm $FILE
fi
wget https://d3g5vo6xdbdb9a.cloudfront.net/downloads/k-NN-lib/libKNNIndexV1_7_3_6.zip \
&& unzip libKNNIndexV1_7_3_6.zip \
&& mv libKNNIndexV1_7_3_6.so /usr/lib \
&& rm libKNNIndexV1_7_3_6.zip

Hey @cr0ssmind ,
Thanks for flagging the issue.
Could you please elaborate more on hanging issue?
Was it due to k-NN plugin download part?
Were you able to finally run the odfe-1.6.0?

Dear @rishabh6788 ,
there was everything fine with the download url.
The issue here is security related that the odfe-16.0 installer uses an external wget (from a closed enterprise network point of view) download inside a signed rpm:
wget https://d3g5vo6xdbdb9a.cloudfront.net/downloads/k-NN-lib/libKNNIndexV1_7_3_6.zip
and there is no warranty for integrity ( eg. hash calculation ) so it can be a potential attack vector.
My question is here: why don't you distribute this libKNNIndexV1_7_3_6.so inside the RPM?
If somebody synchronyze the odfe rpm repository inwards an enterprise repository ( that is secured with firewall ) they can't install it because the installer wants to download the .zip file from that external source.

This issue prevents us from upgrading Opendistro, as our Elasticsearch hosts don't have internet access. I am not sure why, but in our case the lack of internet access also caused yum to hang, leading to a corrupted yum transaction as it had to be terminated mid-installation
Even if you ignore the part where a noarch package installs architecture-dependent files, downloading stuff from the internet is not something you should do in RPM scripts for any reason. You don't even verify the download in any way.

Hi all,
Thanks for your patience, we are working on to address this issue and will try to provide you a workaround.

Hi @cr0ssmind @oranenj - Thanks for flagging the issue. We're aware of this and are looking at the best way to solve this. We welcome any improvements you may have.

@weicongs-amazon @vamshin can you provide more details

Hi @oranenj @cr0ssmind our team is working on fix the issue. In the meanwhile, one workaround you probably can try with:
 #Get all needed rpms
 sudo curl https://d3g5vo6xdbdb9a.cloudfront.net/yum/opendistroforelasticsearch-artifacts.repo -o /etc/yum.repos.d/opendistroforelasticsearch-artifacts.repo
 sudo yum install --downloadonly --downloaddir=opendistro-rpms opendistroforelasticsearch-1.7.0
 cd opendistro-rpms
 #Remove the opendistroforelasticsearch rpm
 sudo rm -rf opendistroforelasticsearch-1.7.0.rpm

 #Get the libKNNIndexV1_7_3_6.so lib file
 wget https://d3g5vo6xdbdb9a.cloudfront.net/downloads/k-NN-lib/libKNNIndexV1_7_3_6.zip
 unzip libKNNIndexV1_7_3_6.zip

 #copy the rpms and lib file to servers of your cluster
 #install odfe
 sudo yum localinstall -y *.rpm
 #mv the libKNNIndexV1_7_3_6.so lib file to /usr/lib
 sudo mv libKNNIndexV1_7_3_6.so /usr/lib/
 sudo systemctl start elasticsearch.service

The key idea is that remove opendistroforelasticsearch-x.x.x.rpm and install the other RPMs and libKNNIndexV1_7_3_6 manually.

same issue with #120. close this one. pls leave your comments in #120 if you still have issues, thankis


7.0.0 Pre-release Myget Feed

Do you plan to start publishing pre-release builds to https://www.myget.org/gallery/elasticsearch-net for the v7 release?
I would like to start contributing to downstream projects like https://github.com/bcuff/elasticsearch-net-aws and this is much easier if a myget feed is available.
The changes made in https://github.com/elastic/elasticsearch-net/pull/3648/commits/32e2b5c02d1bd6f6b85216c095cb013c5ca3014a open up the option of using DelegatingHandlers so we can inject middleware on requests for metric and tracing (Aws XRay)

@williamdenton prelease builds are being pushed:

for successful CI builds to Appveyor: https://ci.appveyor.com/nuget/elasticsearch-net
for milestone prerelease builds to nuget: https://www.nuget.org/packages/NEST. For example 7.0.0-alpha2

I'm blind. Thank you


Are PT or PTH files available to be used with conventional model loaders like in ComfyUI?

As the title says. The PKL files could theoretically be converted to PT or PTH and used in other workflows such as ComfyUI if a node could be created to interface with the cmd-line.

Hi, thank you for your interests.
Unfortunately, I am not familiar with ComfyUI.
In fact, the suffix is set arbitrarily, either 'pkl' or 'pt'. Information that might be useful to you is that all checkpoints are saved in the standard way in pytorch, for example:
https://github.com/zzh-tech/InterpAny-Clearer/blob/7ba1ba8ff940391b62c6448b4461417ef82b3975/models/DI-RIFE/model/RIFE_sdi_recur.py#L71C13-L77C70

Hi, thank you for your interests. Unfortunately, I am not familiar with ComfyUI. In fact, the suffix is set arbitrarily, either 'pkl' or 'pt'. Information that might be useful to you is that all checkpoints are saved in the standard way in pytorch, for example: https://github.com/zzh-tech/InterpAny-Clearer/blob/7ba1ba8ff940391b62c6448b4461417ef82b3975/models/DI-RIFE/model/RIFE_sdi_recur.py#L71C13-L77C70

Interesting, yes thanks you for that! It means I could potentially put the models in there if nothing "special" is needed, I will experiment! Thanks again!


solved issue #549(resize function error)

Issue #549 fixed.
Issue is due to changing id of div everytime we play game(without reloading).

Oh thanks mate. I will check now...

@sarthak-g there is a new error coming
see here..

Kindly fix this error as well...

@sarthak-g there is a new error coming
see here..

Kindly fix this error as well...

This error arises if you call the resize function....

@s-mag  error arises because you are trying to call resize method when the game is not started.
Note: resize method is only for resizing canvas(battlefield) when game is started.

@s-mag error arises because you are trying to call resize method when the game is not started.
Note: resize method is only for resizing canvas(battlefield) when game is started.

Oh I see nvm
Thanks....

But the old issue has not been resolved if you change modes 5-6 times the old error comes again in infinite loop.....

No need to work on this issue I have fixed it..
Thanks

@sarthak-g No need to work on this issue I have fixed it..
Thanks

Your function doesn't resize at all.

@sarthak-g But the old issue has not been resolved if you change modes 5-6 times the old error comes again in infinite loop..... without calling the resize function.

I have tried more than 5-6 times with changing modes everytime, it is working fine.

The code worked fine...
But I altered it a little bit because I am adding fullscreen buttons and calling the resize function which was causing an error.

You can't remove that part of code

The code worked fine...
But I altered it a little bit because I am adding fullscreen buttons and calling the resize function which was causing an error.

Your alteration doesn't resize properly.The part you removed is to make sure that keyboard does not overlap with canvas.

Ohk. Then I should create a zoom function for the fullscreen issue.
Thanks.

It works. Good job @sarthak-g and @s-mag.


Refactor crf code to support constrained decoding

Fixes tensorflow/addons#607

We can have a common function for creating filtered_inputs used in
crf_multitag_sequence_score
This function can be reused to modify the input to crf_decode to
support constrained decoding.

cc @Squadrick

Hi @Squadrick I have added the tests and made the necessary fixes.

@napsternxg Thanks for the update.
I'd like to wait until #697 is merged before we proceed with this. I'll wrap that up in a day or two.

https://github.com/tensorflow/addons/pull/800 has been merged so I think this is ready for review/merge after fixing merge conflicts.

@seanpmorgan I have fixed the merge conflicts.

This PR has become messed up because of the merging with master. I am not aware of how to do this cleanly. I will close this one and reopen a new PR.


Incorrect references to AWS policy documents

The data role duplicates the listing of AWS Policy documents for Cloudbreak, and is incorrect.
The policy documents URL should be moved to common and referred to in both other roles.

Incorrect: https://github.com/cloudera-labs/cloudera.exe/blob/03e4223e85fb3469a63ee8ebbf32adcb2f1993e0/roles/data/vars/main.yml#L17
Correct, but should be moved: https://github.com/cloudera-labs/cloudera.exe/blob/03e4223e85fb3469a63ee8ebbf32adcb2f1993e0/roles/platform/vars/main.yml#L18


define decorators to keep track of type information for After and If

@annzhukovets @KOHbDS do you think this would make your work easier?


Creating/modifying users

I've got my opentaxii service working well within our product within atomic.   I'm creating 2 default users (one admin and one with just read access), with opentaxii-sync-data using an input file based on the examples.
What I'm looking for is a way to modify (e.g. change the password), or add/delete additional users without having to essentially re-create the whole input file and re-running sync-data.   I'm using postgress running in a different docker container (not using compose), and I thought I'd go and try to see what the schema looks like for auth, however (and i'm utterly clueless with respects to postgress), when I do a /dt when using the authdb, i get "no relationships found", so clearly I don't understand the persistence api.
There used to be a command /usr/bin/opentaxii-create-account command, but that appears to be gone.
Any suggestions/pointers
(i'd prefer to not have to re-start the http server, but if that is necessary I can do that)

@sbade1 there is no out-of-the-box management interface in OpenTAXII that would allow you to do that. You would need to change user account directly in the database. I'm not sure why you can't see the tables in your database. You can find model definitions for Auth and Persistence APIs implementation in models.py files in the repo

thanks  i'll take a look..

clearly my lack of postgres knowledge strikes.    once i found a cheat sheet (I was using "use auth", which is not the correct command to connect to the db which is "\c auth")  and now I can dump the table


Create alternate graph version with prefixes as categories; fix build issues

Note the NEAT config is still pointing at a static URL containing:

merged graph nodes
merged graph edges
merged graph nodes with prefixcats
embeddings of the merged graph

This is a temporary step to account for volatility in NEAT code - in the longer term, the graph_path should point to the most recent build while the embedding_file_name will be a new path (i.e., not a file to be retrieved) as the graph will be new.
The prefixcats nodefile is produced during the Jenkins build.


Add few missing fields in observable.ttl

When generating data classes from development branch, we noticed a few missing fields
Here is the list of observable

[ ] URLVisitFacet has urlTransitionType field which is missing sh:datatype vocabulary:URLTransitionTypeVocab ;
[ ] byteStringValue missing rdfs:range xsd:string ;
[ ] destinationFlags missing rdfs:range xsd:string ;
[ ] lastTimeContacted missing rdfs:range xsd:dateTime ;

This should have been part of the UCO issues, Migrated this issue to https://github.com/ucoProject/UCO/issues/329


error if i dont use input element

Hello,
Since i'm using angular2 material, it doesnt use regular input field so i have to use <md-input ...>
but as soon i click on the input i see the following error.
            <md-input auto-complete
                    [(ngModel)]="myData"
                    placeholder="Enter Address(min. 2 chars)"
                    [source]="googleGeoCode"
                    display-property-name="formatted_address"
                    path-to-data="results"
                    [ngModelOptions]="{standalone: true}"
                    min-chars="2"></md-input> {{model4 | json}}

EXCEPTION: TypeError: Cannot read property 'instance' of undefinedBrowserDomAdapter.logError @ browser_adapter.js:85BrowserDomAdapter.logGroup @ browser_adapter.js:95ExceptionHandler.call @ exception_handler.js:66next @ application_ref.js:348schedulerFn @ async.js:89SafeSubscriber.__tryOrUnsub @ Subscriber.js:225SafeSubscriber.next @ Subscriber.js:174Subscriber._next @ Subscriber.js:124Subscriber.next @ Subscriber.js:88Subject._finalNext @ Subject.js:128Subject._next @ Subject.js:120Subject.next @ Subject.js:77EventEmitter.emit @ async.js:77onError @ ng_zone.js:124onHandleError @ ng_zone_impl.js:75ZoneDelegate.handleError @ zone.js:336Zone.runTask @ zone.js:268ZoneTask.invoke @ zone.js:433
browser_adapter.js:85 STACKTRACE:BrowserDomAdapter.logError @ browser_adapter.js:85ExceptionHandler.call @ exception_handler.js:68next @ application_ref.js:348schedulerFn @ async.js:89SafeSubscriber.__tryOrUnsub @ Subscriber.js:225SafeSubscriber.next @ Subscriber.js:174Subscriber._next @ Subscriber.js:124Subscriber.next @ Subscriber.js:88Subject._finalNext @ Subject.js:128Subject._next @ Subject.js:120Subject.next @ Subject.js:77EventEmitter.emit @ async.js:77onError @ ng_zone.js:124onHandleError @ ng_zone_impl.js:75ZoneDelegate.handleError @ zone.js:336Zone.runTask @ zone.js:268ZoneTask.invoke @ zone.js:433
browser_adapter.js:85 TypeError: Cannot read property 'instance' of undefined
    at AutoCompleteDirective.styleAutoCompleteDropdown (http://localhost:3000/main.bundle.js:1816:47)
    at ZoneDelegate.invokeTask (http://localhost:3000/polyfills.bundle.js:16485:38)
    at Object.onInvokeTask (http://localhost:3000/vendor.bundle.js:47232:41)
    at ZoneDelegate.invokeTask (http://localhost:3000/polyfills.bundle.js:16484:43)
    at Zone.runTask (http://localhost:3000/polyfills.bundle.js:16385:48)
    at ZoneTask.invoke (http://localhost:3000/polyfills.bundle.js:16553:34)
  -------------   Elapsed: 19 ms; At: Thu Sep 01 2016 01:03:40 GMT-0500 (CDT)   -------------
    at Object.onScheduleTask (http://localhost:3000/polyfills.bundle.js:16058:23)
    at ZoneDelegate.scheduleTask (http://localhost:3000/polyfills.bundle.js:16462:50)
    at Zone.scheduleMacroTask (http://localhost:3000/polyfills.bundle.js:16402:40)
    at http://localhost:3000/polyfills.bundle.js:17461:30
    at setTimeout (eval at createNamedFn (http://localhost:3000/polyfills.bundle.js:1:0), <anonymous>:3:37)
    at AutoCompleteDirective.showAutoCompleteDropdown (http://localhost:3000/main.bundle.js:1875:9)
    at DebugAppView._View_Signup2._handle_click_11_1 (Signup.ngfactory.js:1998:49)
    at http://localhost:3000/vendor.bundle.js:65392:24
    at http://localhost:3000/vendor.bundle.js:21964:36
    at http://localhost:3000/vendor.bundle.js:33352:111
    at ZoneDelegate.invoke (http://localhost:3000/polyfills.bundle.js:16452:29)
    at Object.onInvoke (http://localhost:3000/vendor.bundle.js:47241:41)
    at ZoneDelegate.invoke (http://localhost:3000/polyfills.bundle.js:16451:35)
    at Zone.runGuarded (http://localhost:3000/polyfills.bundle.js:16359:48)
    at NgZoneImpl.runInnerGuarded (http://localhost:3000/vendor.bundle.js:47274:78)
    at NgZone.runGuarded (http://localhost:3000/vendor.bundle.js:31929:73)
    at HTMLElement.outsideHandler (http://localhost:3000/vendor.bundle.js:33352:79)
    at ZoneDelegate.invokeTask (http://localhost:3000/polyfills.bundle.js:16485:38)
    at Zone.runTask (http://localhost:3000/polyfills.bundle.js:16385:48)
    at HTMLElement.ZoneTask.invoke (http://localhost:3000/polyfills.bundle.js:16553:34)

Are you using RC5?
If so, please create a plunker, so that I can debug it.

@allenhwkim hello,
i couldnt make the plunker but i've pushed the project on github.
can you please take a look at src/app/signup/
# install the repo with npm
npm install

# start the server
npm start

# use Hot Module Replacement
npm run server:dev:hmr

@allenhwkim
the error is at
styleAutoCompleteDropdown= () => {
    let component = this.componentRef.instance;

when i use <md-input auto-complete,  this.componentRef.instance is undefined

Thanks I will take a look at it when I get home

Just curious, could you add some reference of having benefit of using formControlName?

Ill try that in a bit, just got out of office...

@allenhwkim just added
 <md-input ng2-auto-complete
                   formControlName="myData"

but same issue, Cannot read property 'instance'

@allenhwkim any luck? sorry to bother you again with this.

There is some racing condition between hideAutoCompleteDropdown and showAutoCompleteDropdown
This does not happen without material design. My guess is there is some animation going on and it makes hiding autocomplete dropdown happens not immediately, but asynchronously
If you change the code to have setTimeout after hiding it, it seems working.
Could you try this, and make PR if works fine?
  showAutoCompleteDropdown() {
    document.addEventListener('click', this.hideAutoCompleteDropdown);
    this.hideAutoCompleteDropdown();
    setTimeout(() => {

      let factory = this.resolver.resolveComponentFactory(AutoCompleteComponent);

      this.componentRef = this.viewContainerRef.createComponent(factory);
      this.acEl = this.componentRef.location.nativeElement;
      let component = this.componentRef.instance;

  console.log('xxxxxxxxxxxxxxxxxxxxx', this.componentRef);

      component.listFormatter = this.listFormatter;
      //component.prefillFunc = this.prefillFunc;
      component.pathToData = this.pathToData;
      component.minChars = this.minChars;
      component.valuePropertyName = this.valuePropertyName || 'id';
      component.displayPropertyName = this.displayPropertyName || 'value';
      component.source = this.source;
      component.placeholder = this.placeholder;
      component.valueSelected.subscribe(this.selectNewValue);

      this.acEl.style.display = 'none';
      setTimeout(this.styleAutoCompleteDropdown);
    });
  }

okay that helps a little initially, so it has the material style initially, but when i click on it, i see the <input field which i assume is being called from the component itself. so on click old input + new md-input are visible.
secondly the css does not seem to work from the page. im trying to give it full width and it doesnt just effect.

@allenhwkim i dont understand why another input comes on top of the orignal input field defined in template. Is there a way to just get the values from orignal instead of placing a new dropdown input on top of it? that will help totally avoid the input css as well.

@kodeine this is by design.
The value you enter for autocomplete should be different from the value that actually that you have.
e.g. Your original value abc should not be changed when you autocomplete it with a then type ESC to cancel your action.

Looked into how material design works.
md-input has its own input within it.
This ng2-auto-complete is designed to be located immediately after input tag. However because of md-input is only exposed, it's not possible to add this directive right after input tag.

I will look into some solution to resolve this, but it needs some time.
styling is not an issue for this. It's conflict between two designs; md-input and ng2-auto-complete.

To solve this, I have to move auto-complete tag right after input tag, not md-input, but I am not sure it's possible or not at this moment. Needs some trials for it.

@allenhwkim thanks a lot for trying and debugging this. i hope we can find some solution.

Made change for material design.

Closing this for inactivity. Please create another issue if not resolved with the recent release.


The language code for Spanish is es not sp

In src/data/lang.

Hmm, it still exports sp and imports as sp_lang.


[Proposal] AzureStorageResource should implement IResourceWithConnectionString

Currently, AzureStorageResource (through AddAzureStorage()) enables references to (and connection strings for) only to its individual storage components (i.e. blobs, queues, tables). Some libraries, however, require a connection string that contains all three component endpoints.
I propose AzureStorageResource implement IResourceWithConnectionString which then allows it to be directly referenced by other resources.  In that case, it returns a single connection string with the endpoints for all three components.
Current behavior:
var storage = builder.AddAzureStorage("storage");

var blobs = storage.AddBlobs("blobs");

builder.AddProject<Projects.DaprServiceA>("servicea")
       .WithReference(blobs);  // Injects a blob-specific connection string called "blobs" into the configuration

Desired behavior:
var storage = builder.AddAzureStorage("storage");

builder.AddProject<Projects.DaprServiceA>("servicea")
       .WithReference(storage);  // Injects a general connection string called "storage" into the configuration

I propose AzureStorageResource implement IResourceWithConnectionString which then allows it to be directly referenced by other resources. In that case, it returns a single connection string with the endpoints for all three components.

Does the azure sdk support this?

@davidfowl See: https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.storage.cloudstorageaccount.parse?view=azure-dotnet

In the Blobs component we just pass the ConnectionString directly into the BlobServiceClient:
https://github.com/dotnet/aspire/blob/835daf90ab61092d83c13aa8538fe56a018b8c3d/src/Components/Aspire.Azure.Storage.Blobs/AspireBlobStorageExtensions.cs#L72-L80

@davidfowl See: https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.storage.cloudstorageaccount.parse?view=azure-dotnet
In my case, I'm using the connection string with the Durable Task framework, specifically its Azure Storage backend, which requires a single connection string with all component endpoints (as it uses blobs, queues, and tables).

Isn't this the legacy track 1 storage framework?

Isn't this the legacy track 1 storage framework?

Indeed it is - the track 2 .NET Frameworks are all in the Azure. namespace, not Microsoft.Azure.

I suppose, given that, I can see the argument for not supporting a combined connection string.  Unfortunately, updating Azure storage libraries isn't something under my control, so I'll have to use a workaround.

I've got a reasonable workaround, so yes.


[BUG]

General information

OS: Windows 10 Pro VM running in libvirt.
Hypervisor: Hyper-V
Did you run crc setup before starting it (Yes/No)? No at the CLI. Installed via Podman Desktop extensions.
Running CRC on: VM

CRC version
2.18

CRC status
# Put `crc status --log-level debug` output here

CRC config
# Put `crc config view` output here

Host Operating System
# Put the output of `cat /etc/os-release` in case of Linux
# put the output of `sw_vers` in case of Mac
# Put the output of `systeminfo` in case of Windows

Steps to reproduce

Install Podman Desktop
Install the OpenShift Local extension for Podman Desktop
Initialize a MicroShift instance
crc console is opening the file explorer

Expected
Opens the MicrShift console in the default web browser (or an error message if MicroShift does not support this feature)
Actual
Opens the Windows file explorer
Logs
Before gather the logs try following if that fix your issue
$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug

Please consider posting the output of crc start --log-level debug  on http://gist.github.com/ and post the link in the issue.

@anjannath I will test this, but can you also?


Issue in notes.go for MongoDB Repository: Package Name Appears Instead of Base Name

Description:
After generating the application using the gomicro framework, there's an issue within the notes.go file at the repository level for MongoDB. The file is displaying the package name instead of the expected base name. This inconsistency affects the generated documentation and leads to confusion during development.

@anil7620 Could you please specify where the issue is in repository?
Is it the naming convention followed in imports for internal references or the database name?

@anil7620 Could you please specify where the issue is in repository?
Is it the naming convention followed in imports for internal references or the database name?


[Bug] Custom CSS font stops working sometimes

I'm using custom css font by importing google font. But sometimes, the app reverts to basic font, I've experienced this twice. I'm guessing it has something to do with my internet connection since it always happens when I'm opening the app and I'm not connected to the net.
It doesn't always happen though, I've only encountered it twice, and can be fixed by turning on internet connection and restarting the app.

Google fonts are served from Google's servers. They will not work without internet connection.


Motivational Quote Generator

Project title
Motivational Quote Generator
Project Description
In this project, I'll create an app that displays random famous quotes each time a button is clicked. The user can display a quote from a famous athlete, politician, or historical figure:
Stack:
And in order to tick the check box just but x inside them for example - [x] like this. Please delete options that are not relevant.

[x] Html
[x] CSS
[x] JavaScript
[x] ReactJS

@khushi-purwar please assign this new issue to me and kindly add a level label

/assign


Small update to galaxy-intro-short slides

Reduce size of UseGalaxy.* servers image
Move number of public servers to list
Briefly explain what a workflow is (in speaker's notes)
Replace Gitter with Matrix

Thanks @nsoranzo


left_sidebar: Show Direct Messages controls on DM area hover.

DM heading-row controls are shown whenever the mouse hovers over any of the DMs area.
Additionally, the order of the DM heading-row controls are reversed in an experimental commit, putting the New DM control to the right, beside the unread count (if any).
CZO discussion

Screenshots and screen captures:

I deployed this on chat.zulip.org yesterday and it seems successful there and not risky, so merged, thanks @karlstolley!


Map markers

Is there any way to add markers to the map?

Your request seems similary to this issue https://github.com/VictorCazanave/react-svg-map/issues/30
If it's not the case, please explain with more details what you want do to.

Your request seems similary to this issue #30 If it's not the case, please explain with more details what you want do to.

No they aren't similar. He asked for labels and I asked for markers. They're different things.

I think you missed the 2nd part of my comment:

If it's not the case, please explain with more details what you want do to.


Login & Reset pages

Please review the login and reset view pages

Brill! good job adding the new router and organising the page!


[QUESTION] Title goes here

Error Message Handling
Hi, when downloading the chat messages for multiple videos with a loop, there might be an error message indicating the VOD isn't available and the loop will stop. Is there anyway to ignore such errors with an argument?

You should be able to catch these errors with a try - except block.
Can you provide the code you used and I can try assist?


use proper generic parameter, fixes #278

GWT version (2.8.2) is now the default for new libgdx projects and it seams to complain about generic stuff.
This code is closed libgdx Array which was modified before GWT migration see this commit
I didn't deeply tested Ashley with GWT 2.8.2, i only compiled a project using Ashley with this fix and run my project (calling new Engine and new ImmutableArray just to be sure). All worked fine so far and i'm pretty confident with this fix.
Maybe #278 people could try it :

clone ashley locally
pull this PR
install locally : gradlew install
use ashley 1.7.4 in your project
build and run your HTML module

This worked for me as well!
Exact commands I ran:
git clone https://github.com/libgdx/ashley.git
cd ashley/
git fetch origin pull/279/head:fix/gwt-generic
git checkout fix/gwt-generic
./gradlew install # Had to manually download gradle
./gradlew install

Then edit the build.gradle in the root project and update the ashleyVersion = '1.7.4'
Then it should work!
I did run ./gradlew uploadArchives as well but don't think that impacted any thing.

@dsaltares could you please merge this small patch as it appears to be the only issue that breaks compatibility with the latest GWT version.

Sorry for the delay folks. I am not actively maintaining this project anymore. Thanks for the PR!

Hi, I get an IOException after gradlew install:
java.io.IOException: Server returned HTTP response code: 403 for URL: http://services.gradle.org/distributions/gradle-5.4-all.zip
does someone know how to fix?

I'm using gradle 6.5.1, depending on ashley 1.7.4, but the error still exists.
Here is what I tried.
First I uploaded archive to maven local (see Ashley readme: working from source, 1.7.4), and it almost working, except gradle can't find pom file.
So I download 1.7.3 from maven central and changed the version number brutally.  It works - Compiled successfully with warnings, but war file is not deployed and tested.
        gdxVersion = '1.9.11'
        roboVMVersion = '2.3.8'
        box2DLightsVersion = '1.4'
        ashleyVersion = '1.7.4'
        aiVersion = '1.8.0'

@ NoahGels
My gradle repository connection is very slow, if not impossible. I'v always download zip and use local repo.
see here: https://stackoverflow.com/questions/39696159/how-to-stop-gradle-from-downloading-every-time

Failed to resolve: com.badlogicgames.ashley:ashley:1.7.4 Where I can find 1.7.4?

You mus "working from sources", see link of readme of Ashley.
https://github.com/libgdx/ashley/wiki/Getting-started-with-Ashley#working-from-sources


Clearer errors on patch original method not found

this is making things less clear for me :P

@amazingalek I agree that the code is more confusing now. The problem is that GetAnyMethod doesn't always throw an error when a method is not found, some times it returns null. So the try / catch and the null check both serve as a way to check if the method was found. I'm not sure how to improve it...


Add version of bwip-js (google code) used to README

Just for make things clear

This project is using the bwip-js version 0.5. (I've just commented that in the Readme.)

awesome!

Thanks a lot.


Serial Window not resizing when window resizes

CircuitPython Version
CircuitPython 8.1.0

Workflow(s)
BLE, USB, WEB
Browser(s)
Chrome Version 114.0.5735.133

Console Log
No response
Steps

Load the editor
Make sure the serial tab is showing (along with the editor)
Resize the window
Notice the panes don't resize

Description

Editor by itself resizes fine
Serial window by itself grows fine, but stays too big when window is shrunk
If both panes are visible, hiding the Serial tab causes a correct resize
Moving the divider also causes a correct resize
If only serial is visible, showing both temporarily fixes it, but problem shows back up when it is hidden

Additional information
No response

I'm pretty sure the issue is that a page resize does not trigger the updatePageLayout() function.

Reopening as this has made an appearance again.


Update VMR build scripting to suggest correct branches to use when building

Update the VMR build scripting to improve UX. For instance:

If a non-source-only build is attempted from a source-only branch (e.g. look for some file that wouldn't exist in the source-only branch), print a helpful message to the user.

As mentioned offline, I don't think we should be going that route. I think it's important to make it possible to source-build from the "main"  branch.

Going with a different solution in #4088


Improve breadcrumbs

[x] Changes have been thoroughly tested to not break existing functionality.
[x] New functionality has been documented or existing documentation has been updated to reflect changes.
[x] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Brings back focus outline for accessibility
Adds CSS hook classes
Adds support for registering Htmlable icons

Merging this in already as the only relevant change is the Htmlable type, which we've discussed before, @danharrin.


bugfix: [CircleCI] uses 'github' as a default VCS

I've noticed that Vue.js https://github.com/vuejs/vue uses this badge https://img.shields.io/circleci/project/vuejs/vue/dev.svg which currently returns "build | project not found".
It seems that we missed this case in refactoring CircleCI service https://github.com/badges/shields/pull/1927/files#diff-78c12f5adc1848d13b1c6f07055d996eL126
This PR contains a fix for this case and a corresponding service test.

Messages

:book:

:sparkles: Thanks for your contribution to Shields, @platan!

  Generated by :no_entry_sign: dangerJS


Desactivate swipe between tabs

Hi everyone,
On certain conditions I would like to deactivate the swipe gesture that allows to move between the tabs (to avoid to interfere with a slider I put in one of the tabs).
Do you guys know how to deactivate the swipe gesture recognizer ? Or even better, how to handle both gesture at the same time, for example by using the gesture speed (slow: move slider, fast: change tab)
Thanks !

Hi @Yungbubu. Thanks for your interest!
I've created a PR. Please, check it out. Is it what you need? Scrolling is based on UIScrollView so it won't be easy enough

Works like a charm!
Thanks a lot guys for your awesome work and your reactivity.

Great! I'll merge the change to the master, so you'll be able to install it via cocoapods

Perfect! Thanks again

Please, update to 1.0.5

Works perferct with Cocoapods, Thanks !

You are welcome 😉


cloud architecture diagram for this code?

Very interested in this project, starting to review the code, but would appreciate having a cloud architecture diagram (something like https://github.com/oracle-quickstart/oci-cis-landingzone-quickstart#diagram) that gives details of what this baseline creates to compare with the code.  Probably a documentation opportunity that would be added to https://docs.oracle.com/en-us/iaas/Content/cloud-adoption-framework/landing-zone.htm.

Thanks for your suggestion! We're actually working on that and will post the architecture diagram soon.


Establish semantic convention for "file" attributes and ensure they are followed in this library

I think we should look into standardizing file related attribute names as Otel semantic conventions.

Originally posted by @tigrannajaryan in https://github.com/open-telemetry/opentelemetry-log-collection/pull/189#discussion_r652832722

@djaglowski does https://github.com/open-telemetry/opentelemetry-log-collection/pull/189 fully resolve this or there is more todo?

@djaglowski are the conventions for this one already merged?


Changing C# codegen to happen synch.

Fixes #630 by making the c# codegen calls synchronous (as it turns out, codegen is not threadsafe, see https://github.com/microsoft/qsharp-compiler/issues/1393).
I also moved the codegen to happen after we're building the manifests, as that can happen concurrently.

/azp run

/azp run

/azp run


Instance: Avoid deleting existing storage volume on conflict during create

This PR improves the revert situation when creating instances such that if the storage pool volume create fails we do not trigger a full instance delete. This is so that if the pool volume creation failed due to an existing conflicting volume, the revert step won't then delete that existing volume (as it would if we triggered an instance delete action).
Instead this PR moves to passing around a top-level reverter which can be used to add more nuanced specific reversion steps rather than using the blunt tool of instance.Delete().
Fixes #8861

Testsuite passed


Parallelize Training

Looks like right now we are calling each training process in sequence, Rasa has the ability to parallelize these so we should investigate launching all at once. Though I don't know how Rasa handles it when it doesn't have more training processes available so we'll need to look into that.

@dcalvom did our discussion this morning about number of threads and number of training process mean that this is already setup in our API for parallelizing, but something's not right on the Rasa side?

Looks like all of our training sequences use async.waterfall, which wouldn't try to parallelize. Do we need waterfall or can we async.parallel?

Before the change of version of Rasa it was working as you said (paralleled) so it was async parallel. Now I'm using waterfall or series. Is just matter of change that.


Prepare for new release of Bitbucket

Workflow links: https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/2587560619, https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/2587561929.

This issue will be addressed in #213 .


[tensorflow] Generate top level stack variables to hold array elements when decoding _allocateUninitialized.

When it comes to literal arrays that have some element(s) constructed in place rather than copied from a top level value, ConstExprEvaluator fails to decode such arrays, because the decoder requires every element to correspond to a top level value.
This patches tries to add stack variables to temporarily hold those element values and then store into the array. The code after this transformation can thus be properly handled by the decoder.
Resolves SR-8399.

@dan-zheng Hi Dan, would you help review this, please?

@swift-ci Please test tensorflow

Thank you for the review, Dan!
swift-ci failed in a SourceKit test, which seems to be irrelevant to this PR. I cannot reproduce this failure locally. Should we wait for a while and fire a test again?

@swift-ci Please test tensorflow

@dingobye, thank you for attempting the fix! I wonder if we could instead enhance ConstExprEvaluator to const-eval SIL code below (in particular the SignedInteger<>.init<A>(_:) call), so that an array like [4, Int32(1)] gets "canonicalized" into [4, 1].
This will also help with other use cases of const-eval, such as #assert. (https://github.com/apple/swift/blob/tensorflow/test/SILOptimizer/pound_assert.swift).
+@lattner for Chris' input.
  // function_ref _allocateUninitializedArray<A>(_:)
  %25 = function_ref @$Ss27_allocateUninitializedArrayySayxG_BptBwlF : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer) // user: %26
  %26 = apply %25<Int32>(%24) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer) // users: %30, %27, %29
  %27 = tuple_extract %26 : $(Array<Int32>, Builtin.RawPointer), 0 // users: %47, %28
  retain_value %27 : $Array<Int32>                // id: %28
  %29 = tuple_extract %26 : $(Array<Int32>, Builtin.RawPointer), 1 // user: %31
  release_value %26 : $(Array<Int32>, Builtin.RawPointer) // id: %30
  %31 = pointer_to_address %29 : $Builtin.RawPointer to [strict] $*Int32 // users: %34, %36
  %32 = integer_literal $Builtin.Int32, 4         // user: %33
  %33 = struct $Int32 (%32 : $Builtin.Int32)      // user: %34
  store %33 to %31 : $*Int32                      // id: %34
  %35 = integer_literal $Builtin.Word, 1          // user: %36
  %36 = index_addr %31 : $*Int32, %35 : $Builtin.Word // user: %44
  %37 = metatype $@thin Int32.Type
  %38 = metatype $@thick Int32.Type               // user: %44
  %39 = integer_literal $Builtin.Int64, 1         // user: %40
  %40 = struct $Int (%39 : $Builtin.Int64)        // user: %42
  %41 = alloc_stack $Int                          // users: %42, %45, %44
  store %40 to %41 : $*Int                        // id: %42
  // function_ref SignedInteger<>.init<A>(_:)
  %43 = function_ref @$SSZss17FixedWidthIntegerRzrlEyxqd__cSzRd__lufC : $@convention(method) <τ_0_0 where τ_0_0 : FixedWidthInteger, τ_0_0 : SignedInteger><τ_1_0 where τ_1_0 : BinaryInteger> (@in τ_1_0, @thick τ_0_0.Type) -> @out τ_0_0 // user: %44
  %44 = apply %43<Int32, Int>(%36, %41, %38) : $@convention(method) <τ_0_0 where τ_0_0 : FixedWidthInteger, τ_0_0 : SignedInteger><τ_1_0 where τ_1_0 : BinaryInteger> (@in τ_1_0, @thick τ_0_0.Type) -> @out τ_0_0
  dealloc_stack %41 : $*Int                       // id: %45

Oh interesting, thank you for tackling this.  I'm sorry to say this, but I have yet-another preferred way to fix this.  :-)  First, here's a slightly reduced testcase:
@inline(never)
func printTensor(_ x : Tensor<Float>) {
  print(x)
}
public func SR8399() {
  let x = Tensor<Float>(ones: [2, 2])
  let y = x.reshaped(toShape: Tensor<Int32>([4, Int32(1)]))
  printTensor(y)
}

The basic structural issue is that we've got more complex ways to initialize the array elements.  In this case, it is due to in-place initialization, but we're also not handling copy_addr and other things that can initialize values in decodeAllocUninitializedArray.
Instead of canonicalizing the array, I'd suggest just having decodeAllocUninitializedArray return information about the structure of the IR back to the client to handle.  decodeAllocUninitializedArray is used by both deabstraction of input lists (which only cares about the simple case) and by constexpr, which has more general logic that can already handle copy_addr and in-place init.
The specific change I'm imagining is that we change decodeAllocUninitializedArray to return a list of instruction*'s that initialize the elements (or just the address itself), replacing the 'SmallVectorImpl &elements' argument.
The deabstraction client would just check for stores and fail on other cases.  The constexpr case would call computeSingleStoreAddressValue on it.
Does this make sense.  If you'd like, I can take care of this, but if you'd prefer to tackle it I'm totally +1 on that.  Thank you again for working on this @dingobye !

Thank you Mingsheng and Chris for the suggestions!
As for @mhong , it would be nice to be able to statically evaluate SignedInteger<>.init<A>(_:). For this issue, the root cause seems not to be SignedInteger<>.init<A>(_:) itself but the address where it takes effects. Consider the following code:
  let x = Tensor<Float>(ones: [2, 2])
  let idx = Int32(1)
  let y = x.reshaped(toShape: Tensor<Int32>([4, idx]))

The SIL is something like:
%idx = alloc $Int32
call SignedInteger<>.init(%idx, ...)    // It writes to the stack variable rather than the 2nd elem's address in array
%top_level_value = load %idx
store %top_level_value to %addr_of_2nd_elem

Though it involves SignedInteger<>.init<A>(_:) as well, , ConstExprEvaluator  can handle this case because the element value corresponds is directly set by store and thus can be linked to a top level value.
As for @lattner , it definitely makes sense. It helps keep the IR unchanged in decoder. I would like to follow your advice and give it a try myself :-)

Awesome, lemme know if you get stuck and I'm happy to help!  Thanks again!

I updated the code as per Chris' suggestions. The results of decodeAllocUninitializedArray is a list of Operand*, which can serve for both element address and initialiser purposes. I am not so happy with the parameter name elementsAtInit, though.

Yes, pls feel free to replace print with _hostOp. Thanks for the clean-up work!

Thanks, I'll take a look first thing tomorrow morning!

Thank you Chris! Please take your time.

@swift-ci please test tensorflow

Sorry for the delay, taking a look now.

Thank you for the comments, Chris! I updated the code as you suggested.

@swift-ci please test tensorflow

@swift-ci please test tensorflow

Awesome, thank you again!


[CP Staging] Revert "Merge pull request #52917 from JKobrynski/patchReactNativeRenderHTML

This reverts commit 01c2b1b7b204d5b8dff4f44b223f9035fd603639, reversing changes made to d86024e6688326b5c3040a3c752e0b00265389de.

Explanation of Change

Straight revert to solve deploy blocker
Fixed Issues

$ https://github.com/Expensify/App/issues/54301
PROPOSAL: https://github.com/Expensify/App/issues/54301#issuecomment-2551842327
Tests

Open a chat report.
Send a link (google.com).
Send a heading markdown.
Verify link is underlined.
Verify heading text is bold.

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Open a chat report.
Send a link (google.com).
Send a heading markdown.
Verify link is underlined.
Verify heading text is bold.

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I used JaimeGPT to get English > Spanish translation. I then posted it in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.ts or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

@amyevans CP already requested for https://github.com/Expensify/App/pull/54309 😄

Closing in favor of https://github.com/Expensify/App/pull/54309


Disappearing config settings

During a recorded demo, I had an issue where config settings (through the VS Code extension) appeared to be set then magically removed. On the recorded demo, I then tried to set with the portal, just to move on to the next step of the demo, and those also didn't seem to work.
I don't know if the service had a hickup or how else the settings could be removed. If you want to see the internal-only video, please let me know.

as part of this tutorial - https://docs.microsoft.com/en-us/azure/search/tutorial-javascript-deploy-static-web-app

I have this issue too

@stemixreal Are you using the VS Code extension or the portal to create these settings?

Hi @anthonychu, using the portal.
I added a setting for a storage endpoint. Saved it. It wasn't displayed. Refreshed, added again plus a couple of other attempts but all without success. I thought it might be something I'd missed so I just carried on with values in json config files thinking I'll sort it out when I have a chance.
Other setting already existed for App Insights & signalr, etc.

@stemixreal If possible, can you share the name of the setting that you had trouble with? We've identified a couple of places where there may be issues with settings, but I want to see if yours falls into any of the existing categories:

One is from VS Code, attempting to add an app setting to a static web app that don't have functions silently fails https://github.com/microsoft/vscode-azurestaticwebapps/issues/239
Some app settings names are currently blocked but we don't surface the error #78
Sometimes the app settings save button is greyed out #314

@anthonychu  I'm pretty sure it was the AzureWebJobStorage setting.

Hi @anthonychu , ah I see. AzureWebJobsStorage  isn't allowed. Did I miss a document somewhere?
Not really a issue for me though. I was adding it to try to fix a problem I had in App Insights with errors along the lines of "no backing storage" . Without knowing how to fix it I was trying different things to get it working or at least remove the error, logging to app insights works as far as I can see. Possibly I do lose some logged messages but again that isn't so important for me as I'm only interested in number of visits and registrations.
The save button not being enabled has been happening for a while but clicking elsewhere or showing the value fixes that.

@craigshoemaker I think we should get the restricted app settings from @annaji-msft and add it to the API docs.

This is still happening to me. Only the last setting sticks.

This seems to be partially related to the following issue #374
I can't see that any of the settings listed by @diberry is mentioned in the constraints, is there perhaps more prefixes that should be added to the list of constraints @anthonychu?

The prefixes that @diberry is using should be blocked. I think the issue was something else.


Subscriptions path have to end with /?

Describe the bug
I had a problem with subscriptions using GraphiQL with custom paths:
app.UseWebSockets()
	.UseGraphQL("/graphql")
	.UseGraphiQL("/graphql")

Subscriptions isn't working, BUT if i setup UseGraphQL(options) manually and add to SubscriptionPath / to the end all start working:
app.UseWebSockets()
	.UseGraphQL(new QueryMiddlewareOptions
	{
		Path = "/graphql",
		SubscriptionPath = "/graphql/"
	})
	.UseGraphiQL("/graphql")

The problem is that SubscriptionMiddleware.IsValidPath is checking for equality of string and context.Request.Path ends with /
To Reproduce
Steps to reproduce the behavior:

Create project, add subscriptions
Configure custom path for graphql api
Raise subscription

Expected behavior
.UseGraphQL("/graphql") is working with subscriptions
Desktop (please complete the following information):

OS: [e.g. iOS]
Version [e.g. 22]

Additional context

We have this on our list already. We will deprecate GraphiQL in favor of Playground. But playground at the moment has the same problem. We are already tracking this on our 11 backlog so I am closing this one.

#1630


Update to Cadence v1.0.0-preview.28

Description
Automatically update to:

onflow/cadence v1.0.0-preview.28
onflow/flow-go-sdk v1.0.0-preview.28
onflow/flow-go 26cb8ee404367dd294198c60092305b3f5fd22e5

@turbolent i wonder why its downgrading some things, is it because im giving it the wrong flow-go commit reference? 26cb8ee404367dd294198c60092305b3f5fd22e5

gonna try it again with 4656ff2384409535461abd3e24ad9a2ce128dab7

Yeah, need at least 4656ff2, i.e. what updated flow-go to that Cadence release (in https://github.com/onflow/flow-go/pull/5930)