fix(components): remove scss module import

I somehow doubt that both solutions (the :export and the new hostContext patch) are the right approach to solve the underlying problem (which I don't really understand from context here). Web components should be built context independent and if the context has an influence on how the component is rendered, the context should be responsible of doing the customization while the web component just offers the possibility to customize what's needed through options.
TLDR; no component should change based on context, the context should change the component.

As far as I understand, the solution provided in this PR is doing the same thing as before (with some small updates), just with another technic. @alizedebray please correct me if I'm wrong.

@oliverschuerch Exact. :export cannot be used with the 'dist-custom-elements' output target so I created this PR as a workaround to fix the bug while keeping your initial logic.

I somehow doubt that both solutions (the :export and the new hostContext patch) are the right approach to solve the underlying problem (which I don't really understand from context here).

@gfellerph I completely agree and we should no longer have this issue  if we implement the component tokens right. This PR fixes to build in the meantime, giving us time to come with a better solution.


Document the (* whitebox *) (and related attribute)

There are many black box modules in the tests, which have the (* whitebox *) attribute. For example:
/*
 * `input wire a` should be detected as a clock because of the `(* CLOCK *)`
 * attribute.
 */
(* whitebox *)
module BLOCK(a, b, o);
	(* CLOCK *)
	input wire a;
	input wire b;
	output wire o;
endmodule

I think the documentation should give a brief explanation on why there is a (* whitebox *) attribute, what is the reason to put this there. Perhaps this could be done on it's own page so that we don't repeat it everywhere (in a separate issue/PR).
(Actually, I myself don't know why is that attribute included.)
Originally posted by @daniellimws in https://github.com/SymbiFlow/python-symbiflow-v2x/pull/42#issuecomment-619476842

The (* whitebox *) attributes means that Yosys should treat the object like a black box but is allow to "look inside" when running queries.
 This means for example the inputs and outputs can be left unconnected and Yosys won't assume it can optimize them away.

We should probably heavily link to the Yosys documentation around these attributes, but I do think we want to make sure to have our own information here.


assoc-space vs word2vec

This library looks great! How does it perform against word2vec?
Is it possible to perform arithmetics in the vector space? e.g. v('king') - v('man') + v('woman') => v('queen')
Also, I'm wondering if anyone's tested this against a word association list? e.g. https://github.com/radialpoint/word2vec-mirror/blob/master/questions-words.txt

This library is outdated now. Sorry that I didn't even see your question until now.
For something that is a lot more like word2vec (and outperforms it), see:
https://github.com/LuminosoInsight/conceptnet-numberbatch


Set version defaults with hiera data

Pull Request (PR) description
Use hiera module level data to specify default versions and if a repository should be configured.
This will make adding new OSes easier.

Specifying $manage_package_repo as a  strict boolean would make more sense but the module makes explicit use already of the undef, true, false possibilites.

@traylenator , can you resolve the merge conflicts? then i can merge this

@traylenator , can you resolve the merge conflicts? then i can merge this

Sure - will take a look tomorrow.


Add interfaces for model

This adds an interface for every model, and if a class extends another
class, it will implement all of its interfaces

I'm not really sure if this is the right way to fit this in, and if it got merged in it would require changes to janephp/openapi to type hint on interfaces rather than classes.
Basically the aim is to make it so you can take advantage of subtyping.
A user might create a PartialWidget, then get returned a Widget, both of which would fit the WidgetInterface, that you could set into a WidgetBox, without faffing round with creating new objects.


[AutoPR billing/resource-manager] [Billing RP] Minor EnrollmentAccount API consistency tweaks

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2698

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/1347


Support in piCorePlayer

Have quite a few users that would like to use this card with piCorePlayer.   Being a minimal OS, we only load what we have to.   I’m getting no sound.  Kernel is 4.19.122. Driver loads fine according to dmesg and lsmod.   aplay -l reports the card is seen by Alsa, and all of the mixers are shown in Alsa mixer.   All of the error mixers report OK.
So there must be some soft dependency somewhere?   @AMuszkat Any thoughts?
I did test the board with the latest Raspberry OS, and it does work, so hardware is okay.

Hi Paul,
I'll be glad to help here. Is there any way I can  have acces to the image you are using? or can I compile it myself with any source code so I can have a closer look at it?
Feel free to write me to<EMAIL_ADDRESS>Best,
Ariel

This is our current image.   https://repo.picoreplayer.org/insitu/piCorePlayer6.1.0/piCorePlayer6.1.0.zip
Here is a quick getting started: https://www.picoreplayer.org/main_getting_started.shtml
I don't have any mixers setup in the web interface, but ssh and alsamixer should all work as planned.

Hi Paul,
Is it possible that I don't have access to alsamixer in piCore?
I would like to take a look at the errors labels. It takes my attention that I can not even generate audio with speaker-test.
Best,
Ariel

This is what I get from speaker-test
speaker-test 1.1.9
Playback device is hw:1,0
Stream parameters are 44100Hz, S32_LE, 1 channels
Sine wave rate is 1000.0000Hz
Playback open error: -16,Device or resource busy
is it normal? I suppose other stuff is using the I2S of the BCM?

Squeezelite will start by default, and will tie up the audio device.  You can stop if from the web interface, or just kill the process.
alsamixer is should be availiable from a ssh or console session.

is squeezelite upsampling or working at more than 48KHz of smaple rate? Currently the Merus Amp HAT supports up to 48KHz only

By default squeezelite does not resample.   But I noticed the card did not report supported sample rates, so I was forcing squeezelite to use 48k as the max sample rate.   It's an option on the squeezelite page.

Hi Paul,
I was not able to find anything yet, but I suppose that it is smth around alsa resources....

Hi Paul,
I was not able to find anything yet, but I suppose that it is smth around alsa resources....

There was a user in the LMS forums that made an observation.   He mentioned the Enable pin is being left high.
https://forums.slimdevices.com/showthread.php?111787-ANNOUNCE-piCorePlayer-6-0-0&p=985144&viewfull=1#post985144

Hi Paul,
Could not reproduce this last time. did you have anytime for further investigation on this?

I have never been able to make it work.  I'm not aware of anyone on the forums getting this going either.  It seems like an initialization sequence issue.

Finally figured out what was wrong.  You cannot have the rpi SPI interface enabled with this card.  That should really be in the documentation.
I have it running now.

Nice one @paul-1 ... I was having this same issue and tearing my hair out a little bit until I chanced upon this issue! Definitely agree this should be explicitly mentioned in the docs.

@AMuszkat what was the reasoning behind using pin 24 / GPIO8 for the MSEL0 pin? It blocks SPI CE0 - and also means if you have the SPI interface on the Pi turned on the audio board doesn't work - could this not be wired to another pin? (also, just FYI, the pinout on the above image is reversed - it has even and odd pins on the wrong sides)
In any case, I have raised a PR here - https://github.com/raspberrypi/linux/pull/4027 - so that for any other boards using this chip they can wire the MSEL0 / MSEL1 pins to different GPIOs on the Pi.

Hi @shawaj ,
This will be upgraded on hardware on the next revision of the board. For now ovverriding looks ok to me, or we can even turn off the SPI port from the overlay file.

@AMuszkat ok sounds great. My thought on the overrides for msel0 / msel1 was that then if anyone is using the ma12070 in the future with different pins they can change that but use the same overlay.
I guess the SPI thing in the overlay could be good, but then wouldn't be needed in different/future designs. Maybe could have an override for turning SPI off - i.e. dtoverlay=merus-amp,spi-off or something like that.
What do you think?
Also, @AMuszkat is there any specific reason to have MSEL0 / 1 tied to a GPIO? Can it just be pulled up to 5v without using GPIO? Or is it required that it's a GPIO for some configuration reason?

Hi @shawaj,
Turning off SPI on this specific overlay will be the solution.
Regarding MSEL0 and MSEL1, sometimes they are required to be tied to a GPIO as they define if the amplifier is in BTL / PBTL / 2.1 / 4xSE modes and you want to control the operation mode from software. For example, the merus-amp supports BTL and PBTL modes by just pulling GPIO 8., without the need of hand soldering small smd resistors. The right solution will be to move the GPIO8 to another one.
If you agree I will continue this discussion in #7 and close this issue

Hi @shawaj,
Turning off SPI on this specific overlay will be the solution.
Regarding MSEL0 and MSEL1, sometimes they are required to be tied to a GPIO as they define if the amplifier is in BTL / PBTL / 2.1 / 4xSE modes and you want to control the operation mode from software. For example, the merus-amp supports BTL and PBTL modes by just pulling GPIO 8., without the need of hand soldering small smd resistors. The right solution will be to move the GPIO8 to another one.
If you agree I will continue this discussion in #7 and close this issue

I'm fine with closing.....will tag the rpi pull requests here too.
https://github.com/raspberrypi/linux/pull/4027

I'm fine with closing.....will tag the rpi pull requests here too.
https://github.com/raspberrypi/linux/pull/4027


Add Each() method for validating iterables.

I was really missing the ability to validate on arrays or maps, so I've added the Each() method that was mentioned in https://github.com/go-ozzo/ozzo-validation/issues/55.
I've tried to test is as thoroughly as possible.

Coverage increased (+0.01%) to 99.848% when pulling 489fb953d640810bbd698dfba939e202f5bad767 on petervandenbroek:master into 2f76ea62300c36e72bd56c804484cb6db53b69a5 on go-ozzo:master.

The checks fail because I've used a reflect method called Value.MapRange(), which was added in Go 1.12.
Do you want me to replace the method with something else?

Looks great to me! Thanks!
Could you please update README accordingly? https://github.com/go-ozzo/ozzo-validation#mapsslicesarrays-of-validatables

Updated the README, I hope it's clear enough.

Great work! Thank you for your contribution!

@petervandenbroek seems like InternalError cases are broken. When a return an InternalError in an Each validator, the error isn't an InternalError as the whole result of the struct validation. Do you have time to work on a fix?

I just noticed this problem too @qiangxue. Each.ValidateWithContext and EnsureString (in util.go) return basic errors.New errors that don't implement either validation.Error or validation.InternalError.

Hi, it seems this line https://github.com/go-ozzo/ozzo-validation/blob/master/each.go#L81 means that we end up passing around the value being pointed at rather than the pointer itself, resulting in a copy of it. Which isn't great when it has a mutex on it, like a protobuf object.

Hi, it seems this line https://github.com/go-ozzo/ozzo-validation/blob/master/each.go#L81 means that we end up passing around the value being pointed at rather than the pointer itself, resulting in a copy of it. Which isn't great when it has a mutex on it, like a protobuf object.


Broken links on website

Links to FlutterViewController.h are broken for example.
A more sustainable fix is probably some sort of automated way to check these as part of publishing. :(

There are many things about that page that are out of date.

We can configure automated link checking with html proofer and travis. I can do that as soon as we get the links fixed.
Here are the current issues html proofer reports in platform-services:
- _site/platform-services/index.html
  *  External link https://docs.flutter.io/flutter/services/MojoShell-class.html failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/android/io/flutter/view/FlutterView.java failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterAsyncMessageListener.h failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterMessageListener.h failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterViewController.h failed: 404 No error
  *  External link https://github.com/flutter/flutter/blob/master/examples/hello_services/ios/HelloServices/AppDelegate.m failed: 404 No error
  *  External link https://github.com/flutter/flutter/blob/master/examples/hello_services/ios/HelloServices/LocationProvider.m failed: 404 No error
  *  External link https://github.com/flutter/flutter/tree/master/examples/hello_services/ios/HelloServices failed: 404 No error

Making this bug slightly more general to cover the remaining 18 link issues:
- _site/animations/index.html
  *  External link https://docs.flutter.io/flutter/physics/ScrollSimulation-class.html failed: 404 No error
- _site/assets-and-images/index.html
  *  External link https://docs.flutter.io/flutter/services/ImageResource-class.html failed: 404 No error
  *  External link https://docs.flutter.io/flutter/widgets/AssetVendor-class.html failed: 404 No error
  *  External link https://github.com/flutter/flutter/tree/master/examples/widgets failed: 404 No error
- _site/debugging/index.html
  *  External link https://docs.flutter.io/flutter/material/InkFeatures-class.html failed: 404 No error
  *  External link https://docs.flutter.io/flutter/rendering/RenderObject/debugDescribeSettings.html failed: 404 No error
  *  External link https://docs.flutter.io/flutter/scheduler/Scheduler/addPersistentFrameCallback.html failed: 404 No error
- _site/platform-services/index.html
  *  External link https://docs.flutter.io/flutter/services/MojoShell-class.html failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/android/io/flutter/view/FlutterView.java failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterAsyncMessageListener.h failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterMessageListener.h failed: 404 No error
  *  External link https://github.com/flutter/engine/blob/master/sky/shell/platform/ios/framework/Headers/FlutterViewController.h failed: 404 No error
  *  External link https://github.com/flutter/flutter/blob/master/examples/hello_services/ios/HelloServices/AppDelegate.m failed: 404 No error
  *  External link https://github.com/flutter/flutter/blob/master/examples/hello_services/ios/HelloServices/LocationProvider.m failed: 404 No error
  *  External link https://github.com/flutter/flutter/tree/master/examples/hello_services/ios/HelloServices failed: 404 No error
- _site/rendering/index.html
  *  internally linking to ../../example/rendering/sector_layout.dart, which does not exist (line 577)
     sector_layout.dart
example
- _site/text-input/index.html
  *  External link https://docs.flutter.io/flutter/widgets/RawInputLine-class.html failed: 404 No error
- _site/widgets-intro/index.html
  *  External link https://docs.flutter.io/flutter/material/InputState-class.html failed: 404 No error
htmlproofer 3.4.0 | Error:  HTML-Proofer found 18 failures!

It seems our getting started instructions for website development need some work:
https://github.com/flutter/website/blob/master/README.md
I was able to install some of the various necessary ruby/jekyll/gems bits, but at least one of the gems (gem install yajl-ruby -v '1.2.1') won't compile on Mac 10.11.6, presumably it's pulled in due to our ancient version of jeckyll?

We should be using bundler; then the instructions should be as easy as:
sudo gem install bundler
bundle install
bundle exec jekyll serve

Can you see if that works for you?

https://gist.github.com/eseidelGoogle/5b629b9056fb4c1511bd34d0f4b70c36

Looks like the issue was fixed in yajl-ruby 1.3.0: https://github.com/brianmario/yajl-ruby/pull/165

I can try downgrading my ruby from 2.4.0, I had to upgrade due to something else not being compatible with 2.0.0

OK, that might be it, I'm on 2.3:
$ ruby --version
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]

Attempting to manually force yajl-ruby 1.30 I got:
Bundler could not find compatible versions for gem "yajl-ruby":
  In Gemfile:
    yajl-ruby (= 1.3.0)

    jekyll (= 2.4.0) was resolved to 2.4.0, which depends on
      pygments.rb (~> 0.6.0) was resolved to 0.6.3, which depends on
        yajl-ruby (~> 1.2.0)

2.0 is default on el capitan:
eseidel@eseidel-macbookpro /src/website %ruby -v                                                                   [/src/website]
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]
eseidel@eseidel-macbookpro /src/website %which ruby                                                                [/src/website]
/usr/bin/ruby
And 2.4 is available from brew.  Looks like the way you get 2.3 on mac is via rbenv:
https://gorails.com/setup/osx/10.11-el-capitan

@mit-mit I now have a working setup.  Could you paste the commands you're using to htmlproofer to get the errors?  I tried htmlproofer ._site/ and a few other variants and didn't get the same set of errors you're seeing.

Sure thing, see the PR: https://github.com/flutter/website/pull/340/files#diff-04c6e90faac2675aa89e2176d2eec7d8

I think we did this, yes? Closing. Please reopen if we have more work planned.


Remove refresh login function

The RefreshLoginToken function is only used with a local
broker. Let's remove this extra code path and have developers
refresh their login token manually when necessary.
Partially-fixes #196

Do we want this post TP?

ACK. I'm a proponent of removing code that expects a user/pass combo. It's only been a source of trouble since we moved to ServiceAccounts. If we want to support user impersonation, we should think about the design for that and implement accordingly.

 Remove RefreshLoginToken

2 ACKs on this, merging.


Nexrender-server datafile size problem.

Describe the bug
RangeError: Invalid string length
    at JSON.stringify (<anonymous>)
    at Immediate.save [as _onImmediate] (/home/some/project/node_modules/@ne
xrender/server/src/helpers/database.js:24:35)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)

./nexrender-server -h

<--- Last few GCs --->

[10993:0x41cdaf0]    10412 ms: Mark-sweep 2049.2 (2051.4) -> 2049.2 (2051.4) MB, 4.2 / 0.0 ms  (average mu = 0.958, current mu = 0.009) last resort GC in old space requested
[10993:0x41cdaf0]    10416 ms: Mark-sweep 2049.2 (2051.4) -> 2049.2 (2051.4) MB, 4.0 / 0.0 ms  (average mu = 0.936, current mu = 0.006) last resort GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x18c584d008d1 <JSObject>
    0: builtin exit frame: parse(this=0x18c584d1ec89 <Object map = 0x240bb1a83549>,0x1303bec40119 <Very long string[980291692]>,0x18c584d1ec89 <Object map = 0x240bb1a83549>)

    1: /* anonymous */ [0x113acfbd50f1] [/snapshot/nexrender-server/src/helpers/database.js:0] [bytecode=0x3015e9fb27a9 offset=217](this=0x113acfbd4ca1 <Object map = 0x240bb1a80439>,0x113acfbd4ca1 <Object map = 0x240bb1a804...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: 0x9cc540 node::Abort() [./nexrender-server]
 2: 0x9ce6c0 node::OnFatalError(char const*, char const*) [./nexrender-server]
 3: 0xaeb86e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [./nexrender-server]
 4: 0xaebbe7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [./nexrender-server]
 5: 0xc809c5  [./nexrender-server]
 6: 0xc8fb10 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [./nexrender-server]
 7: 0xc5d924 v8::internal::Factory::NewRawOneByteString(int, v8::internal::AllocationType) [./nexrender-server]
 8: 0xd63cb9 v8::internal::JsonParser<unsigned short>::MakeString(v8::internal::JsonString const&, v8::internal::Handle<v8::internal::String>) [./nexrender-server]
 9: 0xd6619d v8::internal::JsonParser<unsigned short>::ParseJsonValue() [./nexrender-server]
10: 0xd66acf v8::internal::JsonParser<unsigned short>::ParseJson() [./nexrender-server]
11: 0xb8f252  [./nexrender-server]
12: 0xb8f946 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [./nexrender-server]
13: 0x12cbad9  [./nexrender-server]

When ~/nexrender/database.js's size exceeds nodejs (v8)'s heap size or JSON.stringify's length spec, nexrender-server always fail until remove ~/nexrender/database.js file manually.
Information about environment

Which version of nexrender are you using? 1.26.0
What kind of the setup do you have? (server+worker or cli) server + worker
Are you using pre-built binaries or globally installed npm packages? npm
Which kind (and version) of operating system you are running it in? Ubuntu 18.02 LTS
Any additional information that might be helpful

Expected behavior
Use JSONStream or automatically gc database.js
Screenshots

nothing -

I think use db or seperated files for each jobs for efficient management. Nexrender-server is too simple to manage lots of render works (~1000 jobs/daily)

I think use db or seperated files for each jobs for efficient management. Nexrender-server is too simple to manage lots of render works (~1000 jobs/daily)

Yeah, for sure. Seems to me that the simple file-based read/write for database outlived itself. At the very least for projects with high amounts of render jobs.
I think it would be great to add something like a switch allowing the user to choose which database backend he'd like to use, with the current single-file-based one being the default (at least for some time, for adoption purposes). And adding some abstraction layer within nexrender so that other users would be able to contribute by adding their database drives of choice as well. What do you think @benjioh5 ?

@inlife Is there any progress on this issue? What DB would be the first one to be supported?

@ivansenic first thing that would be probably is the interface and basic file-based storage system, as well as legacy single-file database. From my side I might add some basic Mongodb support, SQLite, and maybe even Redis.
But I have to warn you, no work has been started on this issue yet, so to answer your question: no progress yet.


Update DefaultRenderer.js

I was having a problem described in #1055
This should fix it.

This change broke the behavior of my app.
I have a modal with custom animationStyle and with your modification, the modal is not anymore being poped with my animationStyle...


feat: enable docs/v8.x

Prerequisites checklist

[x] I have read the contributing guidelines.

What is the purpose of this pull request?

Updates the redirects file to enable /docs/v8.x/, where we'll have v8.57.0 docs.
What changes did you make? (Give an overview)
Copy-pasted and adjusted the code that handles /docs/head/.
Related Issues
https://github.com/eslint/eslint/issues/18229
Is there anything you'd like reviewers to focus on?

What to check: https://deploy-preview-541--new-eslint.netlify.app/docs/v8.x/ should look normal, except that the version in selectors is empty as this is not an "officially" published docs site yet. When we release the v9.0.0 final tomorrow, v8.57.0 will be selected.

I think it's okay to merge this once approved (i.e., I think merging doesn't have to wait for the v9.0.0 release) so that we can check it live on eslint.org.


Website dropdown is off by 1 or 2

From https://news.ycombinator.com/item?id=11939557#11941327

Fixed by #15. Thanks @nikikante


Get height of all children (getMaxHeight) in collapse-native.js

Modified getMaxHeight method in source nav-collapse.js in order to get
height of all children elements. Compiled default using gulp.
I added a few semicolons and had trailing whitespace automatically disappear using my text editor so there are a few more changes than expected in the source.
The compiled files were not tested so maybe just the lib/collapse-native.js file can be merged?

I committed your change myself, thanks.
PS: don't worry about the min files, I will do that on the next tag release 1.0.0.


Suggested Actions vanish after sending an event

Version
"botframework-webchat": "^4.3.0"
Describe the bug
After sending an event to the bot the suggested actions from the previous conversation, loaded from DirectLine using the conversation ID and WebChat token, disappear. So all the chat history is loaded, including the last suggested actions. But when I send a WEB_CHAT/SEND_EVENT activity to the bot the buttons vanish. This behavior is clear with sending a user message, but is there a point in hiding them after the event which may not be connected with the user actions?
The event is sent as follows:
const store = createStore(
{},
({ dispatch }: any) => (next: any) => (action: any) => {
    if (action.type === 'DIRECT_LINE/CONNECT_FULFILLED') {
        setTimeout(() => {
            const jobId = getJobIdFromRoute();
            dispatch({
                payload: {
                    name: 'webchat/jobcontext',
                    value: {
                        gdprAccepted,
                        jobId: jobId ? jobId : 0
                    }
                },
                type: 'WEB_CHAT/SEND_EVENT'
            });
        }, 1000);
    } else if (action.type === 'DIRECT_LINE/INCOMING_ACTIVITY') {
        if (action.payload.activity.from.role === 'bot') {
            this.setState(() => ({ newMessage: true }));
        }
    }
    return next(action);
});

To Reproduce
Steps to reproduce the behavior:

Retrieve an existing conversation using the ID and the WebChat token as described here - https://github.com/microsoft/BotFramework-WebChat/issues/2116#issuecomment-505177342. Make sure the conversation has suggested actions in the last activity
Initialize the bot so the conversation history is displayed including the suggested actions
Send a WEB_CHAT/SEND_EVENT event to the bot using the Redux store dispatch method as in the code above
See error - the suggested actions disappear

Expected behavior
Suggested actions from the previous conversation, loaded from DirectLine using the conversation ID and WebChat token, are displayed after sending a WEB_CHAT/SEND_EVENT activity to the bot.
[Bug]

Taking a look at the Bot Framework schema, there's nothing to indicate whether the client should or should not make a suggested action disappear if the BOT sends another message after suggested actions is displayed.
However, suggested actions are sent with and tied to an activity, and I don't believe it would make sense or be easy to implement continual showing of the suggested actions when a new activity has come in via the send box. If anything, this would mean removing the suggested actions component and instead of displaying it in the send box, associating it with the activity that it came in with. In such case I believe a regular adaptive or Hero card is sufficient, and changes in this manner would defeat the original intent of suggested actions.
According to this sample

Unlike buttons that appear within rich cards (which remain visible and accessible to the user even after being tapped), buttons that appear within the suggested actions pane will disappear after the user makes a selection. This prevents the user from tapping stale buttons within a conversation and simplifies bot development (since you will not need to account for that scenario)."

To me, associating the suggested action with the activity it comes with (and thereby moving it up the transcript as more messages come in) defeats the purpose of preventing stale action items that the user might click when they are no longer relevant.
TLDR: I think that another activity coming in, whether from the bot or the user, renders the suggested action 'stale'.
@EricDahlvang, @cwhitten, @compulim, do you have other thoughts?

I think @artemvalmus has the point. Event is designed for non-visual and/or non-interactive activities, e.g. telemetry, idle check, etc. And this is not an intention from user, thus, it should not dismiss suggested actions. I believe this is same for the bot too.
Looking at packages/core/src/sagas/clearSuggestedActionsOnPostActivitySaga.js, this is one of the code that will modify suggested actions (the other one is sagas/incomingActivitySaga.js).
The code will clear suggested actions only if the user is posting an activity of type message. It won't clear suggested actions if the user is posting an event activity.
On the other side, in sagas/incomingActivitySaga.js, if the bot is sending any type of activities, we will clear the suggested actions.
@artemvalmus can you check if the suggested actions is caused by the bot, instead of the user?

@compulim  Thank you for taking care of this. Can you maybe tell us when we can expect this change?

@hhasenauer currently there's no date associated with this work item. It's in our Backlog. Customers who are looking for this change should add their +1 here. :)

Also have the same issue.

Loading this up for discussion/prioritization in our upcoming milestone

Didn't make the R13 list but we'll keep this on front-burner.


Pass url parameters for where clause value

Get URL to call the api stored in myapi.xml file:
http://IP:PORT/restsql/res/myapi?AnimalName=CAT
the query part of xml file:
select animalId "Id" from animals where animalname = AnimalName
I want to pass value for where clause through url. However I am getting error as "No valid parameters found". How do I pass where clause values through url parameters.

Hello Ankur1000. Drop the where clause from the resource SQL. The framework dynamically generates this for you on each request. Only include the columns you need.
If there are multiple tables needed in the resource, then you use join on clauses or where with join columns.

Hi restsql, I am still getting error which says "No valid parameters found"

Please post your resource definition and your request details.


Preview window option : max-char:80 and min-char:10 option ?

Hello @junegunn ,
I have a small improvement suggestion with the library, I don't know what you think of it.
I have some cases where for the preview window, using percentages is a bit annoying because all depends on what size of window the fzf window is in.
For example, if I run the following :
fzf --preview 'cat' --preview-window 'right:50%:nohidden'
It is a bit bothering that when the terminal is taking the fullscreen, that the preview-window always takes 50% of the width.
In that case, I would prefer to have a larger filtering view.
I think this could be achieved by adding max-char and min-char to the preview-window.
Something in the line of this :
fzf --preview 'cat' --preview-window 'right:50%:nohidden:max-char:80:min-char:10'
This way, a user could say that they want to not have the preview be too big or too small.
What do you think ?

I see, but I'm not going to rush into a decision as the option has become pretty complicated. For now, consider calculating the absolute width (or height) beforehand in your script and pass it as the size without % suffix. I know this doesn't work well with resizing windows, but then again you can just restart fzf, so yeah 🤓

Oh yes, I see, I didn't think of calculating the size beforehand, good idea.

in my case i want the list of options to have a fixed width on the left, and for the preview window to fill the rest of the space. kinda helps to keep everything clustered together. another potential way to express that could be something like
--preview-window=right:100%-40,<40(hidden)


Problems compiling Chapter 2

Hello,
I'm trying to compile Chapter 2 (Structure from Motion) with OpenCV 3.2 and throws me the following error: "GPUSURFFeatureMatcher.h:10:31: fatal error: opencv2/gpu/gpu.hpp: No such file or directory"
Apparently this code was written for previous versions of OpenCV 3. However the book title indicates the version is OpenCV 3. Even in the description of this repository, it is recommended to use version 3.1.0.
I bought the book mainly for chapter 2. So, there is updated version of chapter 2 which works with OpenCV 3?
Thank you.

I get the same error.  Why is OpenCV2 code in an OpenCV3 book?  ...Frustrating...

Same for chapter 03. Still using opencv2 code.

Also from my experience the chapter 2 example works only using OpenCV2. Even under OpenCV2 it requires some small adaptations.

Hi,
I am closing the issue.
In case the issue still persists, feel free to reopen it.
Thanks


Preparing documentation for release v0.19.0

This is to address #193

I may have added a lot of comments. Some of the parameters really don't seem clear to me, although most of them certainly could be.
Is the explanation of parameters somehow auto-generated?

It is good to have many comments here. It is true that much stuff is rather obscure. I would try to make definitions more clear. In the long run it would be amazing to have examples on the effect of the single parameters.
For example showing the images generated with different parameters, different values, etc.

Mmmm why this one failed?

======================================================================
FAIL: test_draw_satellite (tests.draw_test.TestDraw)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/Mindwerks/worldengine/tests/draw_test.py", line 161, in test_draw_satellite
    self._assert_img_equal("satellite_28070", target)
  File "/home/travis/build/Mindwerks/worldengine/tests/draw_test.py", line 56, in _assert_img_equal
    drawn_image.array[diff[0][0], diff[0][1]]))
AssertionError: Pixels at 0, 0 are different. Blessed [228 228 255 255], drawn [ 24  95 146 255]
----------------------------------------------------------------------
Ran 42 tests in 422.006s

The problem only occurs for one of the Travis-thingies, looks like the code used for the test is not up-to-date - the blessed pixel shows ice (position and colour hint at it), the drawn pixel shows unfrozen ocean (so the icecap-PR is not yet in the code, it seems).

Rebased and restarted the tests, let's see how it goes


headscale exit node

How do I set the egress traffic? I want to send all headscale's client traffic through the headscale relay node I deployed.

Hi, this is a question for discord, not a bug.


Istio injection is not working for modified Deployments.

@emaildanwilson commented on Fri Oct 13 2017
With istio injection running with a setting of disabled I'm experiencing an issue where Deployments which are modified to contain annotations:     sidecar.istio.io/inject: "true" do not get injected with envoy. If they are deleted and recreated then the injection works.
The log shows I1013 20:53:45.569177       1 initializer.go:202] ObjectMeta initializer info extensions/v1beta1, Kind=ReplicaSet central-architecture/mydeployment-62 8804509 policy:"true" status:"" nil
Is this expected?

I can dig in and try to fix this if you agree it's broke and should work.

Copying my response from https://github.com/istio/istio/issues/1130)

Are you modifying the sidecar.istio.io/inject annotation after the deployment is created? k8s initializers only run when deployments are created.

I'm not sure this problem is easily solvable while we're using initializers for automatic injection. However, this may be solvable when add support for mutating webhooks.
ref https://github.com/istio/pilot/issues/1474

I think this is a corner case and we can document as a 0.2 limitation, given we are planning to switch to mutating webhooks also.

Thank you, that makes sense.
I can workaround this for now by changing our deployment process.

Issue moved to istio/istio #1382 via ZenHub


Logo shape

[x ] This is a question about using the theme.
[ ] This is a feature request or enhancement.
[ ] I believe this to be a bug with the theme.

[ ] I am using the latest version of the theme.
[ ] I have updated all gems with bundle update.
[ ] I have tested locally with bundle exec jekyll build.

Environment information

So Simple version:
Jekyll version:
GitHub Pages hosted site: yes/no
Operating system(s):

Expected behavior

Thank you for your theme.  I was wondering if there is a way to change the shape of the logo so its not rounded.  Thank you much!
Steps to reproduce the behavior

Are you comfortable writing CSS?
The .site-logo-img styles can be found here for you to override the border-radius properties which round the shape.
border-radius: 0; would remove it give you a the default square shape.

Thank you!


Missing (some) API calls

Some API calls are missing
https://labs.ig.com/rest-trading-api-reference
/history/activity/{fromDate}/{toDate}
/history/transactions/{transactionType}/{fromDate}/{toDate}
/markets?epics={epicsList}

Consolidating with #162


Investigate ML and/or AI to assist with the generation of a new project

ideas:

based on the existing projects/subject/skills use ML to help generate new SkillTree projects
utilize AI to generate a project after collecting some basic information from users

😎
https://docs.servicenow.com/bundle/xanadu-intelligent-experiences/page/administer/generative-ai-controller/concept/generative-ai-controller.html

This one
https://patents.google.com/patent/US4194514A/en


AGProxyFilter::processHttpResponseBody: AGProxyFilter.cpp:744 assertion (0) failed

https://sentry.adguard.com/adg/adguard-android-rs/issues/6656/

Duplicate of #406


Windows is always default Boot Device in New Version with Icon Support

Nice Work n-d-k.
To me it turns out now, that Windows is always the default boot device, even with selected macOS in System Preferences->Startup Disk. I have set Windows in Misc->Entries->Hidden to YES, but the Windows Icon appears anyway. With the previous version (without Icons) it worked like expected. I just got the two macOS disks and the whole rest (Windows, Recoverys, Shell and Reset Nvram) appeared only after pressing the space key.  Do you have any Suggestions?

If in your config.plist, you have AllowSetDefault ON, then you can use Ctrl + Index number or Ctrl + Enter on selected entry to set the always default to that entry.
By default, all hidden custom entries, recovery, tools and reset Nvram will not show up until pressing spacebar, it's how it work in previous text boot picker and in this new UI boot picker as well.  There wasn't anything change beside rendering list of icons instead of list of text entries.

Oh, i see. Thank you for answering. I was able to fix my Problem by doing Nvram Reset. I guess it was my fault, because i'm playing around with bcfg earlier. I Apologize for my dumb.


[Doc] add VLLM_TARGET_DEVICE=neuron to documentation for neuron

Updating the neuron documentation to add the VLLM_TARGET_DEVICE=neuron for building the neuron wheel

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

Actually, while this is good for clarity, this should not be required, since vLLM has a mechanism to detect neuron devices. @omrishiv Did you find any problem in installation when the env variable is not set?

@WoosukKwon when I built this using a docker container, I was getting a cu wheel if I didn't specify the VLLM_TARGET_DEVICE

@omrishiv Thanks. It's weird. Did vLLM work in the docker container after building with the env variable?


🔊 Improve Sentry breadcrumbs

Codecov Report
Attention: Patch coverage is 9.09091% with 10 lines in your changes missing coverage. Please review.

Project coverage is 28.44%. Comparing base (a75ab72) to head (db7822d).

Files with missing lines
Patch %
Lines

src/marktplaats/bot.rs
0.00%
3 Missing :warning:

src/telegram.rs
0.00%
3 Missing :warning:

src/logging.rs
0.00%
2 Missing :warning:

src/telegram/bot.rs
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
+ Coverage   28.31%   28.44%   +0.12%
==========================================
  Files          22       22
  Lines         883      879       -4
  Branches      883      879       -4
==========================================
  Hits          250      250
+ Misses        577      573       -4
  Partials       56       56

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


LightGBM on Spark Bad Allocation memory error

I'm trying to run lightgbm on a small dataset. I'm using this command: : pyspark --packages com.microsoft.ml.spark:mmlspark_2.11:0.15.dev2+1.g11ad24d --repositories https://mmlspark.azureedge.net/maven  to launch my notebook.
I'm trying other linear and bagging algorithms as well, like Logistic regression and Random Forest from the PySpark module, they seem to run fine, but sometimes I'm getting ball_alloc memory error when I'm trying to run Lightgbm on the same dataset. Its happening sometimes, not everytime, suppose I execute the cell for 3 times, I get a memory error in the second time and also the dataset is very small, ~2000 rows in the .csv file.
What may be the problem, because I don't even notice significant changes in the memory usage through my Resource monitor.
P.S. I'm using Windows 10

@debadridtt sorry to hear about the trouble you are having.  If the dataset is not confidential, would you be able to share the dataset and a code snippet that reproduces the error?  I can try to debug and take a look into it.

@debadridtt sorry to hear about the trouble you are having. If the dataset is not confidential, would you be able to share the dataset and a code snippet that reproduces the error? I can try to debug and take a look into it.

Hi, can you please go through the code I have posted on Stackexhange: https://datascience.stackexchange.com/questions/45144/pyspark-v-pandas-dataframe-memory-issue

@debadridtt sorry to hear about the trouble you are having. If the dataset is not confidential, would you be able to share the dataset and a code snippet that reproduces the error? I can try to debug and take a look into it.

I'm running PySpark v2.2.0

@imatiach-msft  @debadridtt
is this problem solved? I have exactly the same issue. The following is the log.
Py4JJavaError: An error occurred while calling o1248.fit.
: org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 93.0 failed 1 times, most recent failure: Lost task 0.0 in stage 93.0 (TID 132, localhost, executor driver): java.lang.Exception: Dataset create call failed in LightGBM with error: bad allocation
at com.microsoft.ml.spark.LightGBMUtils$.validate(LightGBMUtils.scala:29)
at com.microsoft.ml.spark.LightGBMUtils$.generateSparseDataset(LightGBMUtils.scala:380)
at com.microsoft.ml.spark.TrainUtils$.translate(TrainUtils.scala:62)
at com.microsoft.ml.spark.TrainUtils$.trainLightGBM(TrainUtils.scala:219)
at com.microsoft.ml.spark.LightGBMRegressor$$anonfun$3.apply(LightGBMRegressor.scala:90)
at com.microsoft.ml.spark.LightGBMRegressor$$anonfun$3.apply(LightGBMRegressor.scala:90)
at org.apache.spark.sql.execution.MapPartitionsExec$$anonfun$5.apply(objects.scala:188)
at org.apache.spark.sql.execution.MapPartitionsExec$$anonfun$5.apply(objects.scala:185)
I am working on local windows10. I am using pyspark. I pip installed mmlspark-0.15.dev2+1.g11ad24d-py2.py3-none-any.whl. I --packages pyspark --packages Azure:mmlspark:0.16.  I used spark.ml. classification.LogisticRegression for compare and it is ok. And stuck at lightgbm. My dataset is only 300k.

@longyunshen
I think we may have failed to create the dataset due to an out of memory error:
https://github.com/Azure/mmlspark/blob/0b84a230d1556ced87be9139dd798237711c1158/src/lightgbm/src/main/scala/LightGBMUtils.scala#L343
how large is your cluster?  If you have 300k rows * (assuming) 1000 cols * 8 bytes per col + some additional data it would be around 3 GB total in memory, which doesn't seem a lot for spark but may be enough to go out of memory on a local machine.  Have you tried downsampling the data?

@imatiach-msft
There is no cluster on my local windows10. My dataset is 300kB as a .gz file. If extracted, around 1.5 MB. The dataset is 45000 rows by 17 columns. So I think it has nothing to do with dataset itself.  The following is the code I ran on spyder in windows.
import findspark
findspark.init()
import pyspark
spark = pyspark.sql.SparkSession.builder.appName("MyApp")
.config("spark.jars.packages", "Azure:mmlspark:0.16")
.getOrCreate()
from mmlspark import LightGBMRegressor
lgb = LightGBMRegressor(alpha=0.3,learningRate=0.3,numIterations=100,numLeaves=31)
import pyspark.sql.types as typ
labels=[
('INFANT_ALIVE_AT_REPORT', typ.IntegerType()),
('BIRTH_PLACE', typ.StringType()),
('MOTHER_AGE_YEARS', typ.IntegerType()),
('FATHER_COMBINED_AGE', typ.IntegerType()),
('CIG_BEFORE', typ.IntegerType()),
('CIG_1_TRI', typ.IntegerType()),
('CIG_2_TRI', typ.IntegerType()),
('CIG_3_TRI', typ.IntegerType()),
('MOTHER_HEIGHT_IN', typ.IntegerType()),
('MOTHER_PRE_WEIGHT', typ.IntegerType()),
('MOTHER_DELIVERY_WEIGHT', typ.IntegerType()),
('MOTHER_WEIGHT_GAIN', typ.IntegerType()),
('DIABETES_PRE', typ.IntegerType()),
('DIABETES_GEST', typ.IntegerType()),
('HYP_TENS_PRE', typ.IntegerType()),
('HYP_TENS_GEST', typ.IntegerType()),
('PREV_BIRTH_PRETERM', typ.IntegerType())
]
schema=typ.StructType([typ.StructField(e[0], e[1], False) for e in labels])
births=spark.read.csv('births_transformed.csv.gz',
header=True,
schema=schema)
import pyspark.ml.feature as ft
births=births
.withColumn('BIRTH_PLACE_INT', births['BIRTH_PLACE']
.cast(typ.IntegerType()))
encoder=ft.OneHotEncoder(
inputCol='BIRTH_PLACE_INT',
outputCol='BIRTH_PLACE_VEC')
featuresCreator=ft.VectorAssembler(
inputCols=[col[0] for col in labels[2:]] +
[encoder.getOutputCol()],
outputCol='features'
)
#import logistic regression for compare
import pyspark.ml.classification as cl
logistic = cl.LogisticRegression(
maxIter=10,
regParam=0.01,
labelCol='INFANT_ALIVE_AT_REPORT')
from pyspark.ml import Pipeline
pipeline = Pipeline(stages=[
encoder,
featuresCreator,
logistic
])
births_train, births_test=births
.randomSplit([0.7, 0.3], seed=666)
model = pipeline.fit(births_train)
test_model = model.transform(births_test)
import pyspark.ml.evaluation as ev
evaluator = ev.BinaryClassificationEvaluator(
rawPredictionCol='probability',
labelCol='INFANT_ALIVE_AT_REPORT')
print(evaluator.evaluate(test_model,
{evaluator.metricName: 'areaUnderROC'}))
print(evaluator.evaluate(test_model,
{evaluator.metricName: 'areaUnderPR'}))
from mmlspark import LightGBMRegressor
lgb = LightGBMRegressor(alpha=0.3,learningRate=0.3,numIterations=100,numLeaves=31,labelCol='INFANT_ALIVE_AT_REPORT')
from pyspark.ml import Pipeline
pipeline = Pipeline(stages=[
encoder,
featuresCreator,
lgb])
model = pipeline.fit(births_train)  # IT IS STUCK HERE!!!!!!!
test_model = model.transform(births_test)
import pyspark.ml.evaluation as ev
evaluator = ev.BinaryClassificationEvaluator(
rawPredictionCol='probability',
labelCol='INFANT_ALIVE_AT_REPORT')
print(evaluator.evaluate(test_model,
{evaluator.metricName: 'areaUnderROC'}))
print(evaluator.evaluate(test_model,
{evaluator.metricName: 'areaUnderPR'}))

@longyunshen I see, it sounds like there is some error in the native code then.  Is the dataset you are using confidential?  Wondering if I can reproduce this issue locally.

@imatiach-msft we are testing our Recommenders repo on Windows DSVM and we have the similar error. FYI, the notebook works well on Linux DSVM.
To reproduce the error, please run staging/notebooks/02_model/mmlspark_lightgbm_criteo.ipynb on Windows.

java.lang.Exception: Dataset create call failed in LightGBM with error: bad allocation
at com.microsoft.ml.spark.LightGBMUtils$.validate(LightGBMUtils.scala:29)
at com.microsoft.ml.spark.LightGBMUtils$.generateSparseDataset(LightGBMUtils.scala:380)
at com.microsoft.ml.spark.TrainUtils$.translate(TrainUtils.scala:62)
at com.microsoft.ml.spark.TrainUtils$.trainLightGBM(TrainUtils.scala:219)
at com.microsoft.ml.spark.LightGBMClassifier$$anonfun$3.apply(LightGBMClassifier.scala:83)
at com.microsoft.ml.spark.LightGBMClassifier$$anonfun$3.apply(LightGBMClassifier.scala:83)
at org.apache.spark.sql.execution.MapPartitionsExec$$anonfun$5.apply(objects.scala:188)
at org.apache.spark.sql.execution.MapPartitionsExec$$anonfun$5.apply(objects.scala:185)
at org.apache.spark.rdd.RDD$$anonfun$mapPartitionsInternal$1$$anonfun$apply$24.apply(RDD.scala:836)
at org.apache.spark.rdd.RDD$$anonfun$mapPartitionsInternal$1$$anonfun$apply$24.apply(RDD.scala:836)
at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:324)
at org.apache.spark.rdd.RDD.iterator(RDD.scala:288)
at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:324)
at org.apache.spark.rdd.RDD.iterator(RDD.scala:288)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
at org.apache.spark.scheduler.Task.run(Task.scala:121)
at org.apache.spark.executor.Executor$TaskRunner$$anonfun$10.apply(Executor.scala:402)
at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1360)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:408)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

the bug on windows should be fixed now on latest master (available with next release)


How will it work with continious integration?

Based on in the instuctions, the app needs to be started with npm start before we can run the tests with npm run e2e.  What would be the best way to get this 2 step process to work with continuous integration?

You could serve it, if tests ok continue, if tests fail roll back!
npm start is just a way to serve the application on a webserver..
On 1 Mar 2017 22:34, "Marin Petkov"<EMAIL_ADDRESS>wrote:
Based on in the instuctions, the app needs to be started with npm start
before we can run the tests with npm run e2e. What would be the best way
to get this 2 step process to work with continuous integration?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/samvloeberghs/protractor-gherkin-cucumberjs-angular2/issues/52,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOIwgSj5KL_ck6pDko0KEcG0E2GjX3Kks5rheRigaJpZM4MQO1v
.

Ah so it has to be deployed before it is tested...  That is unfortunate.  I am curious, how come when I use protractor, without cucumber, I am able to test it fine without serving the app?

how can you test a webapplication if you're not serving it..?  That doesn't make any sense

Sorry I used poor choice of words.  Basically what I was trying to say that by using protarcator as is, the framework was able to serve and test the app without me having to first serve the application.  However when I changed protractor to use cucumber it looks like I have to add another step to serve the app first.  It looks like this is standard so I will just have to edit my build process to accommodate.

@mpetkov no problemo! :) Can you point me to a reference that documents how you can use protractor to test an application that is not served? I've been using protractor for 3+ years and I'm a little but surprised by that. Never used it like that before..

Alright, after double checking my build tasks I found the issue and fixed it.  Yes, the app absolutely has to be served to be tested but the serving and testing could be combined into one gulp task which will serve the app, test it, and close it.  Here is how mgechecv did it for his seed using express:
https://github.com/mgechev/angular-seed/blob/master/tools/tasks/seed/e2e.ts


404-page is broken

Hello, KServe team!
I found a bug about 404-page!

Expected Behavior
When we try to access a wrong URL path, a 404-page show properly
Actual Behavior
The 404-page is broken, which does not read assets (JS, CSS, Images).

Steps to Reproduce the Problem

Access this inappropriate URL: https://kserve.github.io/website/0.7/admin/

Thanks!

I found a relative issue of mkdocs: https://github.com/mkdocs/mkdocs/pull/1039

An error page can be served from any location and therefore it is
impossable to pre-build an error page with correct relative URLs.
With absolute URLs, the error pages will properly link to other
pages in the nav as well as media files (css, js, images, etc) from
the template regardless of the actual URL the file is served from.

However, to continue to support environments where the docs root is a subdir
of the server root, all other pages must continue to use relative URLs.
The site_url is used to determine the server root when building
absolute URLs for the error page to ensure those URLs continue to work
in that type of environment.

And I also found that our site_url is https://kserve.io/docs, I think that we must replace it https://kserve.io/website!
https://github.com/kserve/website/blob/main/mkdocs.yml#L78


convert_to_records.py don't write all values into .tfrecords file

Hi,
at first i suppose there is a typing mistake in line 56 (dat.shape[0], num_examples) i think it should be (images.shape[0],num_examples). the second thing was that this code did'nt wrote me the depth values into .tfrecords file. I need to pass them as _bytes_feature(str(depth)) after that the value was written into .tfrecords file.

Thanks, we'll fix the typo.
The format of tfrecords is not a human-readable string: most likely the depth value is encoded as a field in a binary serialized protocol buffer.
How are you trying to consume the output of tfrecords?

I tried the fully connected reader example but it fails. I have string Labels so i have to change this code for string Labels. After that i tried to read the .tfrecords File with the read an decode function but with out success. Acctually I'am a little bit disapointed of tensorflow but i will try it again this weekend.

If you don't provide us enough information to help you (or why you are disappointed) we can't really help you.  Please feel free to re-open the bug when you have more information that we can use to help you with.


ESP32-C6

Hardware
ESP32
Firmware version
V2.3.0
Application version
V2.3.0
What happened? What did you expect to happen?
ESP32-C6 does not display SSID after flashing.
If I have understood this correctly, I have to use the SomfyController.onboard.esp32.bin.zip for this.
How to reproduce it (step by step)
I have now tried it via Arduino 1.8 and via the FlashDownloadTool.
In Arduino i can't compile it: "'conn_types_t' does not name a type" in the "Network.h" file
I use a ESP32-C6 with Wroom-1 Chip

Logs
*************************** START ****************************
START TIME:<PHONE_NUMBER>35
CONNECT BAUD: 115200
set state: ESP_DL_SYNC
serial port opened
-----------
baud:115200
root baud:115200
-------------
===============BAUD : 115200===============CALL DEVICE SYNC
connecting...
mac l: 0xca5740e4
mac h: 0xfe404c
get mac res: 1
get flash id : 0x00172085
manufacturer_id: 0x85
device_id: 0x2017

Leaving...
com closed
Use time: 4 s
Download result: PASS
*************************** END ****************************

Ok, found the closed Issue #381
I will close the issue myself:-)


how to set session-id in JmsTemplate

As title.
solve:
https://github.com/Azure/azure-sdk-for-java/issues/21531
update the configure-spring-boot-starter-java-app-with-azure-service-bus.md

Need we create PRs to the repo https://github.com/MicrosoftDocs/azure-dev-docs-pr?

close for move this pr to the doc-pr repo.


doc: update name/link to *.ts

Since these files are already TypeScript

Thank you!  I'd been trying to search for files when I remember, but I forgot these.


Automate sbt sonatypeReleaseAll [skip ci]

I'm not 100% sure if this is correct, but it's worth a shot.


Adds V1 conversion library

This allows us to port old storage to zipkin2 packaged code while still
being able to read v1 structs.
Note: this intentionally ignores unsupported Binary Annotation types
such as I64. In doing so, the code is less difficult to maintain.
See #2047

due to the likelihood of classpath mismatch and the relatively small size of this library, I will fold it into the main zipkin jar. This also simplifies format detection, having all formats in one place.

ok rewrote under the zipkin2 library and backported tests. Will do more integration experiments tomorrow.
PS the jar is still <200KiB, so I don't feel so bad :P
$ du -k  /Users/acole/oss/zipkin/zipkin2/target/zipkin-2.8.5-SNAPSHOT.jar
196	/Users/acole/oss/zipkin/zipkin2/target/zipkin-2.8.5-SNAPSHOT.jar


permissions to upen support case got misleading information

[Enter feedback here]
in Prerequistes section, it indicates that "Roles that include the action microsoft.office365.supportTickets/allEntities/allTasks can submit a case."
But only with this permission(for example, security operator has the premission "microsoft.office365.supportTickets/allEntities/allTasks"), premier ticket could not be logged.
Only with Service Support Administrator OR Helpdesk Administrator role can premier ticket be logged.
Suggested to remove the statement "Roles that include the action microsoft.office365.supportTickets/allEntities/allTasks can submit a case."

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: ceca7593-5fc2-7088-d2c3-90bacbbbed9a
Version Independent ID: 7af76ee9-424d-1809-c8b9-d074c95f9b2f
Content: Contact Microsoft Defender for Endpoint support
Content Source: microsoft-365/security/defender-endpoint/contact-support.md
Service: microsoft-365-security
Sub-service: mde
GitHub Login: @mjcaparas
Microsoft Alias: macapara

@IDCheryl Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/13216
Once the author approves, the changes will be live.
Thanks
Sri


Move replace_right_cell out of the errors conditional

https://bugzilla.redhat.com/show_bug.cgi?id=1310895

@gmcculloug @AparnaKarve - Please review

@miq-bot add_label bug

@syncrou  - just made a similar fix - but had not yet added specs
https://github.com/ManageIQ/manageiq/pull/6993
I think the replace_right_cell can be removed rather than taken out of the conditional

@miq_bot add_label ui

@lgalis - I just tested pulling out replace_right_cell - and the render never happens for me. Which seems correct because of the custom render call in replace_right_cell.  Are you seeing something different?

@syncrou- you are right, just looked again- the replace_right_cell was in a loop - you have moved it out of the loop - there are 2 error messages ( not sure why ) - thus the double render that exposed this issue.
The changes look good, also tested them in the UI - I will close my PR.

@syncrou Visually the changes looked OK to me. Thanks for the fix and the accompanying spec.
Thanks @lgalis for testing it in the UI.

@lgalis  @AparnaKarve Thanks!


[GHSA-qj66-m88j-hmgj] Microsoft Security Advisory CVE-2024-43483 | .NET Denial of Service Vulnerability

Updates

Affected products
CVSS v3
Description

Comments
updating correct nuget package from System.Runtime.Caching to Microsoft.Extensions.Caching.Memory

Hi there @rbhanda! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


Documentation or guidance on calculations input

Good day GridProtectionAlliance!
I am in search if any for documentation on usage of the query calculation input. I am not seeing much on release notes, if calculations has changed. Something has changed for sure though.
This worked in 2.1, but not in 3.1, but now it does work in 4.0.0:

In 2.1 we were able to use attribute(s) in the calculation but now that doesn't seem to work without specifying an attribute. Is this possible to do perhaps a different way?

Another 2.1 feature was the available functions, is this feature now gone?:

Thank you!

This worked in 2.1, but not in 3.1, but now it does work in 4.0.0:

I understand no action is needed here

In 2.1 we were able to use attribute(s) in the calculation but now that doesn't seem to work without specifying an attribute. Is this possible to do perhaps a different way?

Can you open a specific issue for this?

Another 2.1 feature was the available functions, is this feature now gone?:

No. That was not removed in 4.0. What error do you see in the console.log?

For TagAvg I see these errors:

See https://github.com/GridProtectionAlliance/osisoftpi-grafana/issues/121


[BUG]: Reopen - CoE Components (Template Catalog)

Describe the bug
This is in reference to issue #225 which should not be closed until the components are removed from the CoE Starter Kit or fixed in a way they work with other tenants.
Currently the CoE Components are included in "/SharePoint Setup/CoE Components.zip". This is a weird location for Power Apps components to begin with. The documentation still talks about the components: https://docs.microsoft.com/en-us/power-platform/guidance/coe/modify-components#controls-provided-in-the-template-catalog-app
To Reproduce
See ticket #225
Expected behavior
Import components without issue or remove components from the download. Also move components out of "SharePoint Setup"

I have removed the reference locally to the section you reference. Thanks I had missed that. Once we re-release the documentation this reference will be hidden as well.

Great!
Additionally to the documentation it would be great to remove the components from the download for now as well. Otherwise this confuses users as to what those "Components" are.

The latest version of the download and documentation are now live, the reference for components has been removed for now in the documentation and also from the download. We will add it back in once this feature is working!


Please use Visitor.getInstance to instantiate Visitor

Hello,
I am trying to use this plugin and got the following error:
Please use Visitor.getInstance to instantiate Visitor
Digging around on google a bit, I found this documentation:
https://marketing.adobe.com/resources/help/en_US/mcvid/mcvid_getinstance.html
It looks like it's trying to use an outdated way of instantiating the connection to Omniture.
Is there anybody who can help me with this?
I'm pasting the documented URLs into the player plugins section of the CMS and the rest of my code matches how the documentation says to use this plugin.
Thanks.

Sorry, but we are not actively maintaining this repository. It should have been archived years ago, but it wasn't!


Music doesn't play in Sound message (Facebook Messages)

Closing this since this project is kind of dead.


Fix iOS support

This pull request fixes iOS support for cross-compiling by making the target allow using the macOS configuration, which works flawlessly on iOS and macOS.

Added a better way to fix it now, this should also allow it to work for both watchOS and tvOS. Yes it is possible to run pueue on there :)
I'd appreciate if you could make the same patches on the main repo too if possible, else i'll open another PR.

Haha :D
Good to know that this works on those targets as well :)
I'll adjust this on the Pueue repository as well!

I just added proper cross-platform/-target tests on master.
Could you rebase on/merge master and uncomment the lines regarding aarch64-apple-ios in .github/workflows/test.yml?
That way I can properly check, whether stuff builds or not :)

Yeah sure, i'll do that when i get home tonight

No pressure :) Take your time!

Sorry, forgot about this due to other stuff but i'll get it done soon 😅

I just added a proper gitignore for OS and FS stuff on master :)

Sorry I had been slightly inactive due to a lot of work, thanks a lot for this!


Fix broken link to the lightly-plasma repository

Fixed a broken link in README.

Hi, thanks for the fix, I wrote that last bit manually and didn't catch it. Thanks, I'll merge this now.


CLI support for graph transformation 'pipelines'

I'm aiming to generate protein graphs in bulk in order to then perform unsupervised clustering on them.  I would also like to repeat this process on several different proteomes.
I would also like to apply several intermediate steps (e.g. select subgraph of radius r for each graph; select subgraph of threshold rsa)
So far, I have seen that ProteinGraphDataset retrieves PDB files from a list of ids (either UniProt or PDB accession codes) and downloads from PDB or AF2, and the 'intermediate steps' can be achieved by supplying functions to the graph_transformation_funcs parameter.
However, I would like to use a subset of a proteome (list of IDs) and an already existing set of .pdb files in a directory (as opposed to downloading them again).  Would it be possible for a more elegant solution to exist in a similar fashion to the existing command line interface?
I was thinking that some sort of 'pipeline' could be written as a CLI command, perhaps by providing

path to file containing list of protein IDs
Path to directory containing structures (also where new ones will be downloaded if required)
which database to use if UniProt IDs used (e.g. swissprot or AF2)
path to config.yml file for graph construction
path to graph_processing.yml file detailing a list of functions to apply (e.g. subgraph selection)
output path for graphs (can specify format, e.g. nx.Graph or pyg)

This is just my naive idea for now, I haven't fleshed out exactly how it would work; but maybe a way to describe 'transformations' in a processing.yml file in a similar way to the ProteinGraphConfig parser?
I think a framework that allows people to script pipelines (like the one I am trying to make) from the command line would allow for ease of experimentation and simplicity, compared to making it all in python using the low-level functions.
Would appreciate any thoughts on this!

Sure, I've already built something like this for my own use case so would be happy to figure out an elegant way to make it generalisable and add it to the graphein CLI.  Will let you know if I'm stuck!


Update rxjsObservableConfig for rxjs 6

Need some discussion before merging:

There were rxjs4ObservableConfig.js and rxjsObservableConfig.js (for rxjs 5) before. This PR upgrade rxjsObservableConfig.js directly to adopt rxjs 6, but it's a breaking change. We might want to create separate files for both rxjs 5 and rxjs 6.

Rxjs used to polyfill Symbol.observable, but it has been removed since https://github.com/ReactiveX/rxjs/pull/3387. We might need to add a notice about polyfill Symbol.observable to the doc.

What are u think to split library on 2, ie recompose and recompose-rx(-observable, -blabla) and move all the streaming parts out of the recompose library.
Also I think we can move on https://github.com/facebook/react/tree/master/packages/create-subscription to support async in the future

It would be a good idea to separate them. But I'm thinking about keeping the es-observable parts remain in Recompose and move only those 3rd-party-config files into other libraries. The reason for me to separate them is to have better version controlling.
And yes, I think we need to introduce create-subscription to handle streaming events.

RxJS 6 has been out for awhile now. Is this PR good to merge? Re. the suggestion of moving 3rd-party-config files into other libraries, perhaps keep that idea to a separate PR, so we can unblock this one?

For those people waiting for this PR, there is a simple configuration possible to get recompose working with<EMAIL_ADDRESS>import { from } from 'rxjs';

setObservableConfig({
  fromESObservable: from,
});


Add reference counting to DeviceBase

Adds reference counting to the device and deletes itself when it reaches 0
D3D12 backend waits for GPU execution to complete when destroyed

LGTM!


OSM Notes ignore user credentials

It seems that creating new OSM Note always do it as anonymous, even when username/password for Notes is entered in preferences
(OSMBugs 0.9.1 from f-droid)

It will be created as anonymous and be solved with username.
See this test note:
http://www.openstreetmap.org/note/440977

I can confirm username is applied on close, but not on create or comment.
It would be great if it also worked on create/comment. (for example, I mostly quickly update or create notes in the field on mobile phone, and later on desktop use http://my-notes.osm-hr.org/ to find notes I worked on to fix them in JOSM - if they are marked as from anonymous, I can't find them)


python312Packages.pubnub: 7.4.3 -> 7.4.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.pubnub is: Python-based APIs for PubNub
meta.homepage for python312Packages.pubnub is: https://github.com/pubnub/python
meta.changelog for python312Packages.pubnub is: https://github.com/pubnub/python/releases/tag/v7.4.4
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 7.4.4 with grep in /nix/store/jh4awr637iigk1nysp9c349vix1if4ni-python3.12-pubnub-7.4.4
found 7.4.4 in filename of file in /nix/store/jh4awr637iigk1nysp9c349vix1if4ni-python3.12-pubnub-7.4.4

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.august
python311Packages.pubnub
python311Packages.pubnubsub-handler
python311Packages.yalexs
python312Packages.pubnub
python312Packages.pubnubsub-handler
python312Packages.yalexs

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jh4awr637iigk1nysp9c349vix1if4ni-python3.12-pubnub-7.4.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.pubnub https://github.com/r-ryantm/nixpkgs/archive/ec1f6857a12475f620e374bb3042d4881abfbc78.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/ec1f6857a12475f620e374bb3042d4881abfbc78#python312Packages.pubnub

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jh4awr637iigk1nysp9c349vix1if4ni-python3.12-pubnub-7.4.4
ls -la /nix/store/jh4awr637iigk1nysp9c349vix1if4ni-python3.12-pubnub-7.4.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

13 packages built:

home-assistant-component-tests.august
python311Packages.pubnub
python311Packages.pubnub.dist
python311Packages.pubnubsub-handler
python311Packages.pubnubsub-handler.dist
python311Packages.yalexs
python311Packages.yalexs.dist
python312Packages.pubnub
python312Packages.pubnub.dist
python312Packages.pubnubsub-handler
python312Packages.pubnubsub-handler.dist
python312Packages.yalexs
python312Packages.yalexs.dist

Maintainer pings
cc @fabaff for testing.

Result of nixpkgs-review pr 303270 run on x86_64-linux 1

13 packages built:

home-assistant-component-tests.august
python311Packages.pubnub
python311Packages.pubnub.dist
python311Packages.pubnubsub-handler
python311Packages.pubnubsub-handler.dist
python311Packages.yalexs
python311Packages.yalexs.dist
python312Packages.pubnub
python312Packages.pubnub.dist
python312Packages.pubnubsub-handler
python312Packages.pubnubsub-handler.dist
python312Packages.yalexs
python312Packages.yalexs.dist


FIX: fix keyboard layout variants in hypland/language module

I noticed an issue where my English (US intl., with deadkeys) layout did not show up properly in the hyprland/language module, did some debugging and this fixed it.

nvm I just realized there is already an open pull request for this #3406 so I guess I'll close this for now.
That pr doesn't seem to be getting a lot of attention, but it is a lot better of a fix than this one.


added title and linked contact_us page in footer

Related Issue or bug

added title and linked contact_us page in footer

Fixes: #318
Describe the changes you've made
A clear and concise description of what you have done to successfully close your assigned issue. Any new files? or anything you feel to let us know!
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
A clear and concise description of it.
Checklist:

[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Screenshots

Original
Updated

original screenshot
updated screenshot

Delete account link is not showing when clicked on user name

Can I also make change for this in this same issue itself ?

Delete account link is not showing when clicked on user name

@swapnilsparsh Can I also make change for this in this same issue itself ?

Ok


set base URL in the container image

This container image is in a transitional state now that the node integration is deprecated in favor of the SPA deployment model.
This does not change how the node integration behaves in Docker or Kubernetes. Only the SPA build's base URL is updated with this change. This allows the existing SPA build to be used wherever this image is deployed, most notably by the ziti-controller image, e.g. https://github.com/openziti/ziti/blob/605fe4e5c36c7c898894a4a524603897b81e04e8/dist/docker-images/ziti-controller/Dockerfile#L5.
This image will be refactored once more when the node integration is decommissioned to remove the node integration, preserving only the SPA build.

This adjustment fixes a problem when the SPA deployment from this image is used.
The symptom is that the SPA rewrites the URL in the browser's address bar from /zac/login to /login, but /login is not a valid URL because prefix /zac is required to reach the SPA assets served by the controller's web binding.

@rgallettonf -- please drop a comment here if you are ok with the version changing

@rgallettonf -- please drop a comment here if you are ok with the version changing

This doesn't create the release. If we adopt a changelog, then the releaser must ensure the changelog is accurate when they release.

@rgallettonf -- please drop a comment here if you are ok with the version changing

This doesn't create the release. If we adopt a changelog, then the releaser must ensure the changelog is accurate when they release.

link to the discussion thread about adding a changelog: #334 (comment)
Looks good to me


Hidden bar

Here's the hidden bar feature.

Is it possible to hook this up to obey hidesBottomBarWhenPushed on the current UIViewController ?

@RamonGilabert such team-work ✋


Add SQL training

W3Schools is a great resource for basic (and not so) SQL queries and what is it all about. Without overwhelming theory.
https://www.w3schools.com/sql/
I'd place it under the CSS section since one I/O device is the web, another can be CLI, and the other is for sure the database. It's better to have some understanding of it.
Besides, it makes you think on a declarative language which is how we want Laravel to be, it forms your brain into asking the computer what do you need instead of trying to make the computer do something.

I agree that SQL is valuable knowledge. But I wonder if it is in the scope of onramp.
Since we use Eloquent as ORM which abstracts a lot of SQL and we would only go for raw SQL when we need to do more complicated stuff.
I'm not against it, don't get me wrong. But at the moment I'm not sure where this would fit.
Maybe we can have some kind of 'extra' or 'advanced' topics where SQL would fit.

I think it might make the most sense to have a basic intro to how relational databases work, rather than knowing how to write raw SQL?

That would make sense, a global overview how a database works.
Also, we're targeting devs coming from WP right? Wouldn't they already know SQL/database concepts?

Nope, we're targeting three tracks:

People who are learning coding for the first time
Frontend devs and recent frontend bootcamp grads
WordPress devs

Closing now that we have the SQL and Databases module.
@nicorafales Thank you for this suggestion! We would be happy to hear if you have ideas for resources you would like to see in this module 😄.


Optional include of config/laminas-cli.php or something similar

Feature Request

Q
A

New Feature
yes

RFC
yes

BC Break
no

Summary
For some of the logic of console commands it would be good and safe to be able to include an additional config file to override module options.
In my specific case I use console command to clean caches and in case some of the module listener caches are horribly invalid, my command would break. By including additional config file, I could implement a safety net by including following lines, which would prevent those caches to be loaded even if they are enabled globally.
return [
    'module_listener_options' => [
        'config_cache_enabled' => false,
        'module_map_cache_enabled' => false,
    ],
];

There's a way to do this as of 1.1.0.
As of 1.1.0, you can specify the --container global option and point it at an alternate file that will return your PSR-11 container. So, as an example, you could do something like this:
<?php // in config/clear-cache-container.php

use Laminas\Mvc\Service\ServiceManagerConfig;
use Laminas\ServiceManager\ServiceManager;
use Laminas\Stdlib\ArrayUtils;

$config        = require __DIR__ . '/application.config.php';
$devConfig = __DIR__ . '/development.config.php';
if (file_exists($devConfig)) {
    $devConfig = include $devConfig;
    $config        = ArrayUtils::merge($config, $devConfig);
}

$config['modules_listener_options'] => [
    'config_cache_enabled' => false,
    'module_map_cache_enabled' => false,
];

$container = new ServiceManager();
(new ServiceManagerConfig($config['service_manager'] ?? []))->configureServiceManager($container);
$container->setService('ApplicationConfig', $config);
$container->get('ModuleManager')->loadModules();

return $container;

Then, when calling laminas-cli for such operations, pass the location of this file:
$ ./vendor/bin/laminas-cli --container ./config/clear-cache-container.php {command...}

The example must be added to the documentation.

A small correction to above code, that I successfully implemented in my project. Thx for the help!
<?php // in config/clear-cache-container.php

use Laminas\Mvc\Service\ServiceManagerConfig;
use Laminas\ServiceManager\ServiceManager;
use Laminas\Stdlib\ArrayUtils;

$config = require __DIR__ . '/application.config.php';
$devConfig = __DIR__ . '/development.config.php';
if (file_exists($devConfig)) {
    $devConfig = include $devConfig;
    $config = ArrayUtils::merge($config, $devConfig);
}

$configDisableCaches = [
    'modules_listener_options' => [
        'config_cache_enabled' => false,
        'module_map_cache_enabled' => false,
    ]
];
$config = ArrayUtils::merge($config, $configDisableCaches);

$container = new ServiceManager();
(new ServiceManagerConfig($config['service_manager'] ?? []))->configureServiceManager($container);
$container->setService('ApplicationConfig', $config);
$container->get('ModuleManager')->loadModules();

return $container;
`


Missing required GCS remote state configuration prefix

Describe the bug
Missing required GCS remote state configuration prefix

is thrown for a GCS configuration argument that is optional upstream.
To Reproduce
Try to apply the following configuration
remote_state {
  backend = "gcs"

  generate = {
    path = "backend.tf"
    if_exists = "overwrite_terragrunt"
  }

  config = {
    project  = "my-project"
    bucket   = "terraform-state"
    location = "US-CENTRAL1"
  }
}

Expected behavior
prefix is optional, therefore no error should occur.
Versions

Terragrunt version: terragrunt version v0.48.5
Terraform version: Terraform v1.5.4
Environment details (Ubuntu 20.04, Windows 10, etc.): Darwin Alexeys-MacBook-Pro.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 arm64

Fix released in https://github.com/gruntwork-io/terragrunt/releases/tag/v0.50.10


[SUPPORT]Best way to ingest a large number of tables

Dear,
We're new to Hudi and we would like to know which the best way is to ingest a large number of tables. For example, in the production environment, we have about 70 mysql databases with >1000 tables in total. We'd prefer them all to be ingested with continuous mode in the spirit of data lake.

option 1, deltastreamer : each table requires a single deltastreamer, so it consumes too much resource. (Is it possible to submit multiple deltastreamer into 1 spark context?)
option 2, multitabledeltastreamer: it doesn't support MOR yet, which is our preferred format.
option 3, write our own data ingestion logic with java-client, but it takes some time.

Do you have any suggestions?
Thanks,

cc @pratyakshsharma  Any particular reason we don't support MOR in HoodieMultiTableDeltaStreamer. What will it take to support it?
cc @n3nash , any better way than option 3 that you could suggest?

We made a few POC and found:

java-client didn't support MOR either so we would not use it.
Multitabledeltastreamer did not work correctly in continuous mode. It did work somehow for MOR in single-run mode, but we preferred not to use it as the doc said MOR was not supported. Plus, multitabledeltastreamer runs ingestions in serial mode, not in parallel mode.

For the moment, we will stick to delta streamers, and launch them regularly (every 5-10 minutes) to process change data from Debezium or Golden Gate. Let's see what will happen for 1000 tables.
However, I don't think it's optimized, as

1 delta streamer needs at least 1 spark executor, with usually 2GB memory. Most of our tables have only a very small amount of change data (<1MB) during a 5-10 minutes' period. We might need a large Hadoop cluster with enough memory for data ingestion, transformation and PrestoSQL.
We use spark on Yarn, so it takes 10 seconds to create a Yarn delta streamer application, which we think is not optimized either.

Our final thought:
Is it possible to write a long-running spark application, which listens to multiple data change topics, and writes change data in parallel to Hadoop hoodie tables via pyspark data frame?

@ziudu : I understand you have 1000 tables on the source side. And does each of this map to separate hudi tables? I am trying to understand if you are looking at multi-writer on the hudi end or just ingestion from 1000 source tables to 1000 hudi tables sort of.

@codope As part of the first release, it was decided to implement this for only COW and later on extend the support for MOR as well which is not started as of yet. Would you like to take that up?

@nsivabalan Yes, we have 1000 tables, and each of them map to separate hudi table. 1000 db tables -> 1000 hudi tables.
We're writing a custom spark application with scala, which listens to a number of topics and writes to a number of hudi tables. Something similar to
https://github.com/apache/hudi/issues/2175
The testing result is satisfactory so far and we need to do some performance testing later on. I just want to know if it is the recommended way.

@ziudu : Here is a suggestion. can you get started with Multi-table detlastreamer using COW. We will provide you support. Also, if you plan to build something on your own using java-client, it would be better to invest in adding MOR support to Multi-table deltastreamer and so community at large will benefit.
Also, I don't see any technical blocker as such to support MOR w/ deltastreamer, just that we did not have much resources.

I tried MOR with multi table deltastreamer and it worked(one time sync)
May be we can start with MOR table type and you can schedule multi-table deltastreamer once every 5 or 10 mins. Should achieve what you are looking for. In the mean time, we can try to see how to add continuous mode support in multi-table deltastreamer.

I went through the attached code as well https://github.com/apache/hudi/issues/2175 and it looks reasonable. Let us know how it goes.

@ziudu : Is there any update? Anything worked for you, anything that did not work ?

@ziudu this has come up a few times now. Do you mind sharing what you decided to do?

sorry for the late reply.
we used 4-node Hadoop cluster for testing, each node is an ESXi virtual machines<EMAIL_ADDRESS>32GB, HDD virtual disk),
We tested several different ways for the initial load:

The fastest way is to load the data in Hive format, and then convert them to Hudi format. We used DataX to extract data from DB and load it into Hadoop. The speed is 80K record per second, the conversion is slower, around 30K per second. But it is very easy to parallelize and easy to manage. We tested 2 DataX instances, the load speed is 150K per second(linear!).  I think the speed is limited only by the hardware configuration. Since the result is already satisfactory, we didn't test further.

We tested streaming upsert with a scala application, the speed is 3K per second. This speed is largely enough for a micro service application's continuous ingestion process.

We tested bulk insert, but it is even slower than upsert (1.5K per second).

So what we are doing now is :
A. Write an application to scan database metadata and store them into Linkedin Datahub.
B. Write an application to generate various configuration files for dataX, kafka, debezium etc from Linkedin Datahub and automatize the initial load and continuous ingestion process.
C. Write a scala application which could subscribe to a range of topics and ingest data.
D. We've chosen method 1 for initial load for the moment. It is not beautiful but it's fast.
We haven't tested the scala application's performance if there are lots of tables (e.g. > 1000) in a single DB.
We haven't tested Deltastreamer in Hudi 0.9 yet.

@Kavin88 Gonna close this as this is not a hudi-specific problem; it's a general orchestration decision problem for running large number of spark applications. You can look into apache livy that can help manage spark applications. if you run spark on kubernetes, then k8s helps with the orchestration


No profile

Describe the bug
I no longer have or can access my profile drive in "My Drives"
To Reproduce
Following the steps at https://docs.beakerbrowser.com/beginner/changing-a-drive-title-or-thumbnail

From Site Info button
Click on 'tools'
Select 'Drive properties'
Change title
Not sure what else I did
a) I noticed the problem when trying to add myself to the directory, the modal window was empty, no profile to select
b) The Profile/Avatar at the top left of the browser is gone, and there is no Profile drive in "My Drives"

Expected behavior
I expect bugs, soon fixed :-)
Screenshots

Desktop:

OS: macOS 10.14.6
Beaker Browser 1.0.0-prerelease.1

Version Electron: 9.0.0-beta.24
Chromium: 83.0.4103.45
Node: 12.14.1
Hyperdrive: 10.10.2
API: 0
Daemon: 1.13.2
Client: 1.14.3
Schema: 1.9.0
Fuse Native:
Fuse:

Additional context
Awesome project! keep it up <3

Well, I just noticed Beaker remained open after quitting.

Force quit.
Restarted Beaker
Profile appears
Rejoice

Perhaps a message clarifying a restart of Beaker would be appropriate on Profile Drive Title change


dashboard - full screen graph view

design and build a component creating a full screen view of a graph

@aaron-wu1 I would like to work on this. Please assign


[ci skip] adding user @swryan

Hi! This is the friendly automated conda-forge-webservice.
I've added user @swryan as instructed in #5.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #5

Thanks! Looks like @sanbales didn't accept the invitation back then.

great.. thanks!

My apologies, I missed the invite and didn't realize it was on me to merge the PR.  I just went through my inbox and accepted it.  Will try to do better next time.
And @swryan : Thanks for dymos!  We are big fans of it at Georgia Tech!

no problem!


[Feature Request] Support run kyuubi-server in the foreground

Is your feature request related to a problem? Please describe.
Currently, we can use kyuubi start to run kyuubi-server at background, so we can't manage it's lifecycle by supervision systems like supervisord, systemd.
Describe the solution you'd like
New command kyuubi run to run kyuubi-server in frontend. It's actually what Trino (formerly PrestoSQL) does. https://trino.io/docs/current/installation/deployment.html#running-trino
Describe alternatives you've considered
N/A
Additional context
N/A

LGTM

LGTM


(feat) Add new prometheus-operator versions

Add new prometheus-operator versions.
See https://github.com/prometheus-operator/prometheus-operator/releases

/cc @Duologic


Problem with fonts on "eu-noth-1"

I've deployed lambda instance with layers on "eu-west-1":
  layers:
    - arn:aws:lambda:eu-west-1:347599033421:layer:wkhtmltopdf-0_12_6:1
    - arn:aws:lambda:eu-west-1:347599033421:layer:amazon_linux_fonts:1

And generated PDF looks good.
But on "eu-north-1" the same lambda instance with layers:
  layers:
    - arn:aws:lambda:eu-north-1:347599033421:layer:wkhtmltopdf-0_12_6:1
    - arn:aws:lambda:eu-north-1:347599033421:layer:amazon_linux_fonts:1

And generated PDF has a problem with fonts – each character looks like a square. E.g:

@brandonlim-hs can you help me please? do you have any idea??

Hi @PEKTOP, just confirming if you have added the environment variable FONTCONFIG_PATH=/opt/etc/fonts?

Hi @PEKTOP, just confirming if you have added the environment variable FONTCONFIG_PATH=/opt/etc/fonts?

Thank you! It was my mistake that I forgot about the environment variable – Everything is ok now 😊


Update Composer dependencies (2020-09-04-00-12)

Visual regression test passed!
View the visual regression test report


Update hooks-state.md

import React, { useState } from 'react';
missing React in string 14

May be i am stupid...


feat: added tests to shortener controller

Add basic test cases to our shortener controller
Change printWidth in prettier config to be 100.

Cool!!! Thanks


Doesn't appear in Package Control

I had to install manually.

I don't control Package Control, you're better off asking them.

Ah okay, womp womp.


Issue toNumber() function round up when number is too big (v9.1.1)

I have a issue with toNumber() function.
I try with BigNumber version:
"bignumber.js": "9.1.1",
https://codesandbox.io/s/bignumber-js-forked-sewfsh?file=/src/index.js:0-780
999999999999998400000000000000000000 -<PHONE_NUMBER>0000000000
Expect Result:<PHONE_NUMBER>99998370000000000000000000
With toNumber(), same it Rounding Up result:
9.999999999999984e+35
(from 37 -> 40)

This is normal. Your number is way beyond Number.MAX_SAFE_INTEGER.
Use toString instead of toNumber.
Incidentally, JavaScript numbers also exhibit binary floating-point rounding artefacts, which is why we need libraries like bignumber.js in the first place.

@shuckster thanks


Upgrade Kujaku library version to 0.6.2

Pull Request Test Coverage Report for Build 1190

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+10.7%) to 32.035%

Totals

Change from base Build 1188:
10.7%

Covered Lines:
1513

Relevant Lines:
4723

💛  - Coveralls


Agents of Edgewatch integration please

Hi,
First I want to thank you for investing your time into this.
Could you please integrate support for the Agents of Edgewatch PDFs? I would greatly appreciate it.
Cheers

Hi,
Thanks for your message :)
AoE is a very good campaign. I'm currently running it (we just completed book 2), and yes, i would like to integrate the support for AoE.
However:

I don't have the english pdf, I have the translated hardcover books. It would cost 120$ to get them.

A single AP book is around 1.5 to 2 weeks of work. So that's about 9  to 12 weeks for the whole campaign. I have to reduce greatly the time needed for an AP book before doing this. Once i completed a list of tools, maybe i will import AP. But i will surely start with Strength of Thousand since i have the PDFs for that one. ( thanks Humble Bundle ... )

There is a FAQ on the pathfinder foundry discord about importing Agents with a foundry v9 version and the pdf2foundry module,  then migrate the world to v10. I fear i can't do nothing more than giving you this advice at this current time.
Things may be different in a few months ...

pdf2foundry has been imported to v10 and support agents of edgewatch


Fix indentation issues

Signed-off-by: Gowtham Suresh Kumar<EMAIL_ADDRESS>

Seems like this fixes the indentation problem, but it fails on the issue resolved by #217. Sort of a catch 22. I took the changes from this PR and merged them into #217.

Thanks @keldonin. Closing this PR.