Adding the Pays de la Loire "E-lyco" ENT to ent.py

Hello, is it possible to add the Pays de la Loire ENT called "e-lyco"?
https://www.e-lyco.fr/

Hi, I have a script to start with but I don't know what happens once you log in to Educonnect, it's different for each school and I have no way of knowing but if this script can help you:
import requests
from bs4 import BeautifulSoup

headers = {
    'connection': 'keep-alive',
    'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0'}

url = "https://cas3.e-lyco.fr/discovery/WAYF?entityID=https%3A%2F%2Fcas3.e-lyco.fr%2Fshibboleth&returnX=https%3A%2F%2Fcas3.e-lyco.fr%2FShibboleth.sso%2FLogin%3FSAMLDS%3D1%26target%3Dss%253Amem%253Ad86ff322023918a01f987190fc64e21517c4e1b9090d559300864c2af1f7dab2&returnIDParam=entityID&action=selection&origin=https%3A%2F%2Feduconnect.education.gouv.fr%2Fidp"

session = requests.session()
response = session.get(url)
print(response.url)
ent_login = response.url

# Login payload

payload = {
"j_username": "username",
"j_password": "password",
"_eventId_proceed": ""
}
# Send user:pass to the ENT

cookies = requests.utils.cookiejar_from_dict(requests.utils.dict_from_cookiejar(session.cookies))
response = session.post(ent_login, headers=headers, data=payload, cookies=cookies)

The execution of this script returns the redirection page before accessing pronote, but now, as i'm kinda bad at python I would love to know if someone knows how to use the last request session and send the form params for login. After the login, the returned html is:
`

   Note: Since your browser does not
            support JavaScript, you must press the Continue button once to proceed.

`
(I changed the values because idk if it can be used to access my account)

Update: I managed to authentificate with the POST fields shown before. Now I get the final "Successfully authentificated!" from e-lyco!
print("Connecting with SOs")
soup = BeautifulSoup(response.content, 'html.parser')

RelayState=soup.find("input", {"name": "RelayState"})
print(RelayState["value"])

SAMLresp=soup.find("input", {"name": "SAMLResponse"})
print(SAMLresp["value"])
payload = {
"RelayState": RelayState["value"],
"SAMLResponse": SAMLresp["value"],
}
print("Posting to the redirection handler")
response = session.post("https://cas3.e-lyco.fr/Shibboleth.sso/SAML2/POST", headers=headers, data=payload, cookies=cookies)
print(response.content)
print("Going to pronote with the authentificated session")
response = session.get("<pronote>.index-education.net/pronote/eleve.html", headers=headers, cookies=cookies)
print(response.content)

And boom! Successfully authentificated on pronote!
Thanks for helping me!


Bug 2132733: Display raw-capacity for non-standard deployments

@SanjalKatiyar Please review

/test odf-console-e2e-aws

PR is merged, but we still need acks on the BZ and get target release set to 4.13.0
BZ is still in POST state...


typo on eqn 1.21 (missing 1/N term)

in Chapter 1, pg 9, and in equation 1.21, I think you did not divide by N in this equation.
The definition of NLL which is given in equation 1.14 shows that there will be a factor of 1/N
if we consider that into account then equation 1.21 should be divided by N.

I think that + (plus) should be changed to ⋅ (times) in equation 1.21 because the log(sqrt(1/(2πσ²)) remains as a scaling factor to the final expression.


Inconsistent EOL-Style

When I commit a minified css file to Subversion is refuses to do it because of "Inconsistent EOL-Style". Is it something that could be solved?

Hi - why are you committing the minified files to svn in the first place?
That's not the normal practice in my experience - you commit your source files to source control, no need for the build output to go there also.
Also, can you provide any more info about this - where does it think the line endings are inconsistent?
Is it a minified file created from one single source or multiple sources?
What options are you using?
It would be useful if you could provide a minimal project that reproduces this behaviour

Closing due to lack of response from the reporter


getPrevious does not work for Array changes

First, thank your for your great work! I'm currently trying to integrate this library into my new web app – and trying to get my head around the concept/usage and the types. I do have a few issues understanding, but one thing at a time. I'm using React.
I have an Array of items that can be rearranged by the user. I use state.onChange and its getPrevious() function to look for certain changes. If I deal with content changes (e.g. strings), getPrevious() works as expected, giving me the state as it was before the change. However, when changing the order of Array items, the result of getPrevious() and the current state are the same.
I have created a Sandbox example. To verify the issue, please click the Up and Down buttons to rearrange the items, and check the Console logs; before/after should be different, but are equal.

I think I found the cause of the problem myself. In my example, in line 70 I get() the array, then modify it direcly, then set() it. If I make a copy of the array that I get from get() (e.g. const items = [...obs.list.get()]), it works as expected. By modifying the array in my code (lines 72-73), I seem to modify directly what's in the state. I guess I can close this issue myself, but it still leads to #41 as I'm still struggling a bit to understand how one is supposed to modify an array properly.

Hmm yes, this can be improved. It does save a copy of the original array before applying the change so we should be able to pipe that through to getPrevious. I'll reopen this because it should be fixable.

Digging into this a bit further I realize I hadn't originally looked closely enough at your example. As you said, since get() returns the original array, modifying it modifies the array in state, so when you call set you're setting it to what it already is.
I don't think there's anything to fix there since we don't want to be cloning on get() so I think we just need to clarify it in the docs, unless you think there's a potential improvement to be made? So I'll close this issue and work on improving the docs for https://github.com/LegendApp/legend-state/issues/41.

As far as I remember, the Redux docs were very clear that objects/arrays should always be copied before merging changes into the state or even before using/modifying them. It would probably make sense to stress that in the docs here too. Maybe get() and peek() should even return a Readonly type?


Gradle plugin approval

I recently changed the group of a Gradle plugin I wrote, from org.asarkar.gradle to com.asarkar.gradle. It's been pending approval for several days now.
https://plugins.gradle.org/plugin/com.asarkar.gradle.build-time-tracker
https://github.com/asarkar/build-time-tracker

Duplicate of https://github.com/gradle/plugin-portal-requests/issues/57


View All Stories Placement for All Layouts

Update the styling for View all stories option in the following manner

[x] For Box and Circle Carousel - Top right corner above stories, in a sticky manner
[x] For Grid and List - Towards the end after all stories, center aligned

View all stories look per view has been updated as mentioned in the description.


loadurl into imageview makes imageView not centered

When I load an image from a URL into a ImageView it resets the position and makes my centered imageview not centered.
My imageView is centered by this:
android:layout_width="match_parent"
android:layout_height="match_parent"

Image:

Could you post the full axml and also your loading code?

I just added some new properties into ImageViewAsync on Android (ScaleToFit and BottomAlign). Maybe the latest changes will solve the issue you are facing.
Please keep me updated.

Closed due to inactivity


Firebase without analytics dependency

[READ] Guidelines
When filing a feature request please make sure the issue title starts with "FR:".
A good feature request ideally

is either immediately obvious (i.e. "Add Sign in with Apple support"), or
starts with a use case that is not achievable with the existing Firebase API and
includes an API proposal that would make the use case possible. The proposed API
change does not need to be very specific.

Once you've read this section, please delete it and fill out the rest of the template.
Feature proposal

Firebase Component: Core (Auth, Core, Database, Firestore, Messaging, Storage, etc)

Describe your use case and/or feature request here.
FirebaseCore without analytics dependency. Is it possible to have FirebaseCore without analytics being included
Podfile.lock

Firebase/Core (6.13.0):

Firebase/CoreOnly
FirebaseAnalytics (= 6.1.6)

Our app is being rejected for having an google analytics SDK, we have to remove all analytics.

Remove Firebase/Core from the Podfile to exclude the FirebaseAnalytics pod.
If you'd like to share more details about the app rejection, we'll share with the Analytics team to investigate a solution that would let you keep Analytics capabilities in the app.

In this case you can use the Firebase/CoreOnly subspec or depend on FirebaseCore directly.

Is it possible this has to do with Apple Arcade? My understanding is that those apps have strict prohibitions on analytics of any kind.

Kids section app

The app rejection is this: remove idfa functionality, remove the code from the implementation, not just disable use of idfa
Are there any recommendations without removing FirebaseCore and using directly  Firebase/CoreOnly subspec

Adding FirebaseCore (or Firebase/CoreOnly) to the Podfile is a no-op.  All the other Firebase pods will pull it in as a dependency.

You could use the direct podspecs for each pod, right?

The current recommendation is to specify the pods desired via the Firebase pod - like pod Firebase/Messaging.   There is typically no reason to specify FirebaseCore.

Hey guys,
Thanks, as morganchen12 mentioned to just simply replace dependencies Core to CoreOnly worked.
Required I forked https://github.com/invertase/react-native-firebase/ and changed each package pod spec to CoreOnly. Seems to work. Analytics pod was removed succesfully.


zh: update deploy-a-dm-cluster-using-binary for 2.0

What is changed, added or deleted? (Required)
zh: update deploy-a-dm-cluster-using-binary.md for 2.0

Which TiDB Data Migration (DM) version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v2.0 changes for now)
[ ] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s):
preview: https://github.com/GMHDBJD/docs-dm/blob/deploy-a-dm-cluster-using-binary-2.0/zh/deploy-a-dm-cluster-using-binary.md

@yikeke PTAL. Thanks


PERL-782 - Test maxTimeMS is an accepted option...

Add maxTimeMS option to IndexView's create_one, create_many, drop_one and drop_all.
API Changes:

Last value of create_many is now an optional hash reference with global options.
create_one received an additional maxTimeMS option.
drop_one and drop_all now accept an options hash reference with maxTimeMS.

Coverage increased (+0.005%) to 79.829% when pulling 658436e185a4cc76aa3289d423f17b91b2119834 on shadow-dot-cat:phaylon/PERL-782 into 9360ce5d6f933443d41538e8b98940a8eefc3dcb on mongodb:master.

Fixed and rebased in PR 157.


getting_started, jupyter_notebooks, python_environment proofread

Looks good to me -
Two comments:

In RTD there's a blank input box at the bottom of the Getting Started / Asyncio Integration
I would change the title of "The factors and primes example" to "Factors and Primes Example" to fit with the naming scheme of the other subsections

Also - the first 18 numbers in the factors and primes example would fit better (box 5)

As mentioned in the pull request:

getting_started.rst:: WARNING: unusable reference target found: appendix.html#writing-the-sd-card-image
getting_started.rst:: WARNING: unusable reference target found: appendix.html#assign-your-laptop-pc-a-static-ip-address
getting_started.rst:: WARNING: unusable reference target found: faqs.html


Stringable interface breakes backwards compatibility with Laravel version before 7.0

Ziggy version
v1.4.6
Laravel version
v5.8
Description
PHP: 7.3.13
Using Stringable interface makes Laravel before 7.0 being unsupported. Downgrading to 1.4.3 gets ziggy to work.
Ziggy call and context
$./artisan ziggy:generate
makes
Whoops\Run::handleError("Interface 'Stringable' not found", "/var/www/passport/vendor/tightenco/ziggy/src/Output/File.php")

Ziggy configuration
Without configuration

Route definition
No need

Thanks. Most versions between 5.5 and 7 actually do work, but you may need to update your dependencies. See https://github.com/tighten/ziggy/actions/runs/2254637719
I'm going to update our version constraint or add a dependency this week to ensure this is polyfilled correctly wherever possible.

@bakerkretzmar excuxe me, I meet the issue with newest version ~1.6.2, 1.6.0
{"message":"Interface 'Stringable' not found","context":{"exception":{"class":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Interface 'Stringable' not found","code":1,"file":"/var/app/current/vendor/tightenco/ziggy/src/Output/Script.php:8"}},

Could you support this case?


Use latest version of jellyfish-logger

This major version of the logger no longer handles uncaught exceptions, which would result in mangled and unreadable log messages.
Change-type: patch
Signed-off-by: Lucian Buzzo<EMAIL_ADDRESS>

@balena-ci retest

Closing in favor of https://github.com/product-os/jellyfish-queue/pull/1174#pullrequestreview-893809969


chore: add a const for the default jx namespace

This replaces the old jx requirement for namespace, if folks did try changing the namespace in a jx-requirements.yml file it is highly likely to fail

/approve


Fix REST#modify_guild_channel_positions

This endpoint doesn't work as written. I've renamed it to match the intended endpoint, and added a struct to pass as an argument.
It may be helpful to add an abstraction that lets you move channels around in the most basic manner, as it's kind of a pain. Would this be acceptable? If so I'll do this in another PR. This one at least makes the endpoint usable.

However, it seems that this works except for one case - when wanting to remove a channel from a category.
With this patch, you cannot send "parent_id": null because null values are not emitted. We also cannot do emit_null: true for parent_id because the key must be absent if we are not changing the channels parent, as the null value means "remove the parent". Additionally, only one channels category can be changed at a time with this endpoint.
The only solution I can think of is to have ModifyGuildChannelPositionPayload that doesn't have parent_id and ModifyGuildChannelPositionWithParentPayload that does have it. Does that sound like the thing to do?

So null is treated differently to absent. We should abstract it into an Enum to represent the absent and null behaviours instead of overriding nil and write a custom converter.

Alrighty, I implemented the enum REST::MaybeField (taking better name suggestions..)
As I mentioned in chat, I don't see this as being possible with a converter since the key is always written first, so I've removed the JSON.mapping and written def to_json(builder : JSON::Builder) which will be called when it is serialized from within a collection (Array(ModifyGuildChannelPositionPayload)) that will start the document.

Updated with ChannelParent, etc.
If this is going to be the "style" going forward (and we're going to have many of these enums) I figured it would be best to keep them in enums.cr instead of mixed in with the structs and REST call methods.

github web merge conflict resolver: never again


Use the base64 encoding for &[u8

I'm newbie rust user.
I want to use a serializing function of base64 encoding for &[u8].
Once I try to use a base64-serde module with checking with
https://github.com/serde-rs/serde/issues/661, however I cannot handle this module with
for &[u8] field member.
Could you give me any advice?

I've pushed a test https://github.com/marshallpierce/base64-serde/commit/67eeacd7b2e7031fe81211823b756743cca427cb showing how to serialize a &[u8].

Re-open if you're having problems.

OK, feel free to open a PR if you get something figured out that you think would be generally useful.


Have your cake and eat it too?

Folks - has there been discussion of allowing the server to serve both OCI images and helm charts in the same server instance? I have not yet dug into the code to see if thats easy/medium or hard... Thank you

That already works! Just create a bundle with the create bundle subcommand which now creates a single bundle containing both images and helm charts (check out the flags) and serve bundle still serve everything from that single bundle.
Alternatively create two separate bundles and specify both bundles to the the serve bundle command (which accepts multiple bundles).
Let me know if that works for you?

ahhh. I had done ./mindthegap serve bundle --bundle *.tar with:
ls -1 *.tar
helm.tar
images.tar

But:
 ✓ Creating temporary directory
 ✓ Unarchiving image bundle "helm.tar"
 ✓ Parsing Helm charts bundle config
 ✓ Creating Docker registry
Listening on <IP_ADDRESS>:46295

Then:
crane catalog localhost:46295

Says:
charts/cert-manager

But this works fine:
./mindthegap serve bundle --bundle helm.tar,images.tar

Thanks!

That's interesting that the first incantation didn't throw an error for extra args 🤷♂
But happy you you it working!


Documentation

Need to complete the "Quick Start" and "API" section.
I can merge it when it is complete if that is ok? :wink:
closes: https://github.com/nodkz/graphql-compose/issues/6

Let I bring some clarifications about graphql-compose and its plugins.
graphql-compose - type manipulator, schema builder

allow easily edit GraphQL types (add/remove fields)
provide an easy way for creating relations between types via Resolvers (one time describe outputType, args and resolve method and then use them as you wish).
provide converter from OutputType to InputType
provide projection parser from AST

lack in tests, due changing API in past
graphql-compose-connection - resolver constructor (TypeTC -> TypeTC + 1 resolver)

It is connection resolver constructor, that use findMany and countresolvers which creates for you RelayConnectionType.
adds sort and filter to args (no one library does not realize this complex logic. It store sort and filter values in cursor). How it works described here

Well tested with mocha and chai.
graphql-compose-mongoose - model converter (MongooseModel -> TypeTC)

It's mongoose model converter, that using graphql-compose for building one main type ObjectType (graphql-compose helps to convert ObjectType to InputObject)
Create commonly used Resolvers with a bunch of so-called subtypes (filter, args, sorts, inputs). For providing build relations in your schema with graphql-compose.
Internally used graphql-compose-connection for creating connection resolvers. Also it checks indexes on your mongoose fields and adds them to sort arg.

Well tested with mocha and chai.
graphql-compose-relay - type converter (TypeTC -> TypeTC prepared for Relay)

adds Node interface to wrapped Type
adds id field or wrap existed in MainType, for providing global uniq id via base64(typeName:id)
adds node field to rootQuery that resolves objects by it's global id
traverse by mutation resolvers and change its outputTypes adds clientMutationId, wraps resolver to pass clientMutationId from args to the OutputType
traverse by all resolvers and move all args into one input arg, for Relay compatibility

Well tested with mocha and chai.
Immediate goal

Obtain better filtering customization (https://github.com/nodkz/graphql-compose/issues/3)

In future

Add DataLoader wrapper for findById resolvers.
Some better API for building schema with restrictions in graphql-compose
Somehow implement subscriptions

PS. 3 days later, I'm going on vacation for 2-3 weeks. So I'll try be online via mobile, to answer on easy questions but can not provide answers with code examples. So if you have hard questions, feel free to open issues in this couple of days (from Friday I will be via mobile).

@nodkz dont you think this text about the plugins should be put into the respective plugins?
when there are 20 plugins the page will be quite long with all this text :wink:

I think for the first time it should be. When number of plugins will be more we always can remove its descriptions.

Also in 0.0.24 I fixed projection option for fieldConfig.
Like addRelation has projection:
AddressTC.addRelation(
  'country',
  () => ({
    resolver: CountryTC.getResolver('findById').wrapResolve(next => resolveParams => {
       return resolveParams.source.country_id ? next(resolveParams) : null,
    }),
    args: {
       _id: (source) => source.country_id,
    },
    projection: { country_id: true }, // if requested `country` fields, also request `country_id` from Address document
  })
);

Same way you may create additional fields to type with projection option (to standard GraphQL field config I added projection param):
UserSchema = mongoose.Schema({
  firstName: String,
  lastName: String,
});

UserTC.addField(
  'fullName',
  {
    type: GraphQLString,
    resolver: (source) => `${source.firstName} ${source.lastName}`,
    projection: { firstName: true, lastName: true },
  })
);

Now with GraphQL query
{
  user {
    fullName
  }
}

You will get UserName UserLastname. If you do not provide projection result will be undefined undefined.

About ResolverWiddleware:
I think to remove them at all. They have complex API. And I never used them in my app.

About code coverage:
I was pleasantly surprised that all plugins have a code coverage more than 90%. graphql-compose has only 40% (right now it well tested in our private app). I can write tests only in the next month. So I think not show a coverage badge until it becomes not less 70-80 percents.

Also forgot to point, that graphql-compose-mongoose support a mongoose.Schema.Types.Mixed type with input args and output types (you may get or set any JSON object to field/arg). Examples with query, with mutation

graphql-compose-mongoose loves indexes on fields or compound indexes (with several fields). If it founds indexed fields, it automaticaly adds them to sort arg in resolvers. It's better than add fields explicitly via options of composeWithMongoose(Model, opts).

About naming of imports, I think better namimg is:

import composeWithMongoose from 'graphql-compose-mongoose';
import composeWithRelay from 'graphql-compose-relay';
import composeWithConnection from 'graphql-compose-connection';

GraphQL-compose hoisting problem friendly and based on practical experience of the construction of complex schemas.

I recommend defining mongoose schemas/models separately, one per file. Do not mix several models in one file. Define TypeComposer, right after mongoose model definitions in same file.
Eg.
export const CountrySchema = new mongoose.Schema({
  code: String,
  // ...
});
export const Country = mongoose.model('Country', CountrySchema);

export const CountryTC = composeWithMongoose(Country);
// ... some other stuff for defining graphql type via TypeComposer, eg. relations, restrictions

The main idea that mongoose model and graphql type should be described fully in one place/file and provides clear import in other files. Eg import { CountrySchema, Country, CountryTC } from './country';. You always may obtain mongoose schema, model, or type composer. Also this rule helps to modify your code in future (eg. found some type via GraphiQL, so you clearly understand that all this type defined in one particular file. I had bad experience when define type in several files).
More examples of defining schemas with relations can be found here in folder models.
By this convention, constructed addRelation method which uses arrow function. This is done on purpose to solve hoisting problem (when 2 models import each other). Without arrow function we get empty value when importing ModelTC. Of cource I can simplify this method (add variant without arrow function), but when in future you will extend ModelTC, you may run up on cross-referenced models (directly, or via intermediate model files) and it error is difficult to diagnose.
PS.  If I have something to remember, then I'll write with my "outstanding" English 😝

I'll try to find time at the end of the week, review and merge your changes.
If you have some additionals, please add them.
Thanks.
PS. I'm back from vacation. Right now I focused on our internal product changes but definitely find time for OSS.

👍 great to have you back. hope you had a great vacation 😉
I have some more additions, in both API and the Quick Start guide.
I will try to complete them tomorrow.

Awesome! Will wait. 👍
PS. 2 weeks, 6 flights, 1700km by car. It was very active vacation 😉
And I so happy to come back to my workplace 😂

@nodkz i think that is it..
There is alot of improvements that can be done, but there will always be that 😉
Please look throu it and see if you have any adjustments, i guess it could be a good idea to publish them after that and let others and us update them continually

Sorry, but I delay accepting this PR.
On the previous week, I improve TypeComposer: https://github.com/nodkz/graphql-compose/issues/22.
Today improve type creation: v0.2.0
And right now I want to make breaking changes in the Resolver: https://github.com/nodkz/graphql-compose/issues/23.

I will update the docs for the lastest update.
Have alot of things to do right now and are away for 1 week.
Will look into it when i get back, but feel free to look into the docs in the meanwhile 😉

Firstly I should integrate searching in our internal project. And test how it is to work with current API.
Right now I found some features (api sugar) that definitely should be added before publishing docs (cause it reduce app code).

Sorry for the delay here, my pockets are completely full atm.
I still have this in mind, but i just need more time 😉

Don't worry! Same things. 😉

Guys, this PR is extremely useful in comparison to current docs. As a user, I'd suggest merging it and doing all necessary improvements later.

@ikari-pl indeed, let move it

Couple minutes ago finished to review and actualize current documentations.
@stoffern @ikari-pl  please review it if u have couple minutes.
@stoffern thanks a lot for awesome work 👍👍👍


Fix propagation of properties in mashup parameters

This fixes propagation of INFOTABLE and JSON properties from mashup parameters into this widget

This could potentially cause issues with other property types, keep an eye out 🤞

This is exactly the same logic as used in BMCollectionView for global properties and I've never had issues with that.


Fix the appearance of 'is between' rule on switch node edit dialog

Problem
Second input form of "is between" rule on switch node edit dialog is lacked.

How to reproduce

Open edit dialog of switch node.
Change a rule to "is between".

Coverage remained the same at 86.046% when pulling bbd979e38e5d027bcacc6708f2b1272a84652609 on Kazuki-Nakanishi:switch-between into 170d6b28f8f76e09ffb508b1942a868273be6052 on node-red:master.

Thanks!


make 404 redirect to home page

thanks

@tbodt

oh no what have you done

tagged tbodt to get his two cents

bad

sad


Copy link from editor, paste to other side, link url lost

Describe the bug
Copy link from editor, paste to whatever side (except editor), link url will lost
To Reproduce
https://ui.toast.com/tui-editor

copy the editor link
paste here:
Editor
Desktop (please complete the following information):

OS: windows
Browser chrome
Version latest

@cary-hu
It's not the bug.
The WYSIWYG contents is normally pasted only in the area where the contenteditable is activated.
In the plain text area, only text is pasted.

got that, thank you


[BUG] pnpm sb dev -p 6006 -Error: Failed to load static files, no such directory

Describe the bug
clone nextui
run pnpm run dev

Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
same as title
Expected behavior
same as title
Screenshots or Videos
No response
Operating System Version
macos
Browser
Chrome

Try tunning only the pnpm sb, the dev one works fine to me though

It's still not working., Are there any other commands that need to be executed before running pnpm sb?
Also, I'm running install without any parameters, could this be the cause?


Dynamax support

Stations
Battle Level + Pokemon

TODO:

webhook definition
Prometheus dashboard update?!

Either drop table station and decrease schema_migrations.version so migration can be applied from scratch, or execute manually, no guarantee :)
ALTER TABLE `station`
ADD COLUMN `total_stationed_pokemon`  SMALLINT unsigned DEFAULT NULL,
ADD COLUMN `stationed_pokemon`            TEXT DEFAULT NULL;

full GMO entry of stations for later reference:
stations {
            id "a2266dbb66a94c45969ab32a8c44a2e4.23"
            lat x.xxxx
            lng x.xxxx
            name "XXX XXX XXX"
            start_time_ms<PHONE_NUMBER>000
            end_time_ms<PHONE_NUMBER>000
            is_bread_battle_available true

            battle_details {
                bread_battle_seed -8441647197908165682
                battle_spawn_ms<PHONE_NUMBER>000
                battle_window_start_ms<PHONE_NUMBER>000
                battle_window_end_ms<PHONE_NUMBER>000
                battle_level BreadBattleLevel.BREAD_BATTLE_LEVEL_1:1

                battle_pokemon {
                    pokemon_id HoloPokemonId.SKWOVET:819
                    stamina 1700
                    max_stamina 1700
                    move1 HoloPokemonMove.BULLET_SEED_FAST:271
                    move2 HoloPokemonMove.CRUNCH:279
                    individual_attack 15
                    individual_defense 15
                    individual_stamina 15
                    cp_multiplier 0.15000000596046448

                    pokemon_display {
                        display_id 819
                        bread_mode_enum Modifier.BREAD_MODE:1
                    }
                }

                reward_pokemon {
                    pokemon_id HoloPokemonId.SKWOVET:819
                    stamina 1700
                    max_stamina 1700
                    move1 HoloPokemonMove.BULLET_SEED_FAST:271
                    move2 HoloPokemonMove.CRUNCH:279
                    individual_attack 15
                    individual_defense 15
                    individual_stamina 15
                    cp_multiplier 0.15000000596046448

                    pokemon_display {
                        display_id 819
                        bread_mode_enum Modifier.BREAD_MODE:1
                    }
                }
            }
        }

whoever pulling latest commit either drop migration or execute:
ALTER TABLE `station`
ADD COLUMN `battle_start`             INT UNSIGNED,
ADD COLUMN `battle_end`               INT UNSIGNED;

yeah for now this should be good. tested it and we process the columns like we want them :)
if gigantamax is ever introduced this might just be a visual change on the bread_mode_modifier in the PokemonDisplay of the battle pokemon. there are no fields in the general station proto which indicates if dynamax or gigantamax, it's just visible in the PokemonDisplay, see here


embree: 3.13.5 -> 4.3.1

Description of changes
https://github.com/embree/embree/blob/master/CHANGELOG.md
cc @hodapp @gebner
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

5 packages failed to build:

blender
blender-hip
openusd
python311Packages.openusd
python312Packages.openusd

1 package built:

embree

I think we can focus on #299049


Make FQDN could handle DNS resp fragment

Describe what you are trying to solve
Our current FQDN feature couldn't handle the case when the DNS response is too large (over MTU) and get fragmented. It most likely happens in dual-stack. Open this issue to track this enhancement.
Describe the solution you have in mind
Implement our own DNS parser.

Close this as it has been addressed by PR #4732


Fix up vendor regex for bootstrap

The current regex for detecting if bootstrap is vendored is too broad and overly complicated (uses lookahead). I believe the intent is only to match bootstrap files (not entire directories), but I've written a few more test to demonstrate what should and should not be detected as vendored here.
The current regex looks like this:
(^|/)bootstrap([^/.]*)(?=\.).*\.(js|css|less|scss|styl)$
As written, this would be considered vendored:

bootstrap-1.4/misc/other/reset.css

But this would not:

bootstrap/misc/other/reset.css

I don't believe that's correct or intended. This vendor rule should target bootstrap artifacts specifically (not entire directories). Some history in https://github.com/github-linguist/linguist/pull/5745 and https://github.com/github-linguist/linguist/pull/5957.
The proposal is to only match on the filename (and allow filenames that include .).
Checklist:

[x] I am adding new or changing current functionality

[x] I have added or updated the tests for the new or changed functionality.

Pinging you for review @Alhadis as our resident regex guru 🙇♂ (no rush)

That's true! Looking at the links that @jorendorff posted though, there is a real mix of original js/css content nested inside directories named bootstrap (example) and  twbs source that's just copied/vendored into another repo (example).
I ended up proposing this change in part because the lookahead in this regex isn't very portable to linguist clones that are using different regex engines (and it's the only vendor regex that uses that lookahead). In investigating and writing some tests it then also seemed like the current regex was making some arbitrary choices as documented in the main PR description. I'm open to some further discussion here on how to best detect what is actually vendored twbs vs. what is code in a subdirectory of bootstrap. Any other ideas?

the lookahead in this regex isn't very portable to Linguist clones that are using different regex engines

In that case, I'd replace (?=\.).* with (?:(?:\.).*)?. It effectively achieves the same effect.

I'm open to some further discussion here on how to best detect what is actually vendored twbs vs. what is code in a subdirectory of bootstrap. Any other ideas?

Unfortunately, no. It's impossible to distinguish vendored components from original (or heavily-modified) ones. There's really not much we can do, other than encourage authors to manually unvendor files on a case-by-case basis.

In that case, I'd replace (?=\.).* with (?:(?:\.).*)?. It effectively achieves the same effect.

We came up with replacing (?=\.).* with (\..*)?\. which I believe is the same as well. How does that look?

Ugh, did I really write (?:\.)? 😞 (I need sleep…) Obviously that should've been (?:\..*)?, which is functionally equivalent to your solution, save for the use of a non-capturing group to reduce memory footprint (?:…) instead of (…).

How does that look?

I think it's fine. 👍 I was about to suggest you use (?:…) instead of (…), but since most of the patterns defined in vendor.yml use ordinary capturing groups, it's not worth the inconsistency.

@lildude and @Alhadis, I don't have write permissions so I'm going to let you all press the merge button here. This is good to go now, right?


fixes FHIR-29335 - why unsolicited responses?

Rather than specifying now how the activities which require multiple responses will be defined, I recommend leaving it TBD since there is a straightforward way (by using a combination of int: responseNumber and bool: responseLastMessage fields, or something similar).
Since there are no activities in the Activity Catalog that currently require this capability, I propose we leave it undefined until it's needed.

I've updated this PR to apply the changes made to the proposal to:

Remove references to EHR-initiated messages
Remove references to multiple responses (for a single request)
Explicitly call out that today the SMW spec defines 1 request :: 0..1 response, where App makes request and EHR gives a response
Add a note to implementers indicating that a future revision of the SMW spec may introduce these features, and encouraging implementers to design with this in mind

See notes


Possible leak on auth.ipp

Hi package maintainers;
By using valgrind, for some debugging purposes; I was able to discover something interesting.
Valgrind reports me a couple of warnings of "Leak but still reachable":

A lots are related to:

Following

I'm using

Hi @SpiritSaint,
Thanks for the report. Could you please attach the full valgrind output for your run?
Please also include:

Compiler version
Operating system
Compiler flags (debug or release mode?)

Thanks,
Ruben.

I've been trying to reproduce this with the info I have and I haven't been able to. Valgrind reports everything clean. This may have been caused by an old openssl version allocating but not freeing some global state required for hashing. I can't confirm without version numbers.


Missing command in setup step

Step 2.
Inside the note, after a cloning a Nerdpack the user needs to run
nr1 nerdpack:uuid -gf before running nr1 nerdpack:serve

nr1 nerdpack:serve
nr1 nerdpack:uuid -gf


CNN Architectures

Implementation of the following CNN Architectures:

[x] LeNet5

[x] AlexNet

[x] VGG

[x] ResNets

[ ] Inception

[ ] FCN

[ ] UNet

Should be pushed into dl folder with respective folder name along with requirements.txt file.

Do we have to implement these architectures in pure python?

Do we have to implement these architectures in pure python?

Hey @Saptashrungi, I am sorry. Didn't get you. Pure python as in?

Assign LeNet5 to me

Assigning LeNet5 to @AmanSingh0-0. Make sure to add a requirements.txt file as well in the respective folder.

Hi,i would like to work on AlexNet
please assign Alexnet to me

Assigning AlexNet to @pranshulnarang.

Do we have to implement these architectures in pure python?

Hey @Saptashrungi, I am sorry. Didn't get you. Pure python as in?

From scratch, without use of tensorflow and keras

If they are allowed I would like to work on resnets

Oh yes. Feel free to use any of the frameworks. Just make sure to add a requiremnts.txt file in the respective folder.
Assigning Resnets to @Saptashrungi.

i would like to work on FCN
please assign it to me

Assigning FCN to @pranshulnarang.

@geekquad  can i work on UNet?

Sure @LakhanMardi. Go ahead!

Sure @LakhanMardi. Go ahead!

UNet #448

Sure @LakhanMardi. Go ahead!

UNet #448


[WIP] Major refactoring

Q
A

Bug Fix?
yes

New Feature?
yes

BC Breaks?
yes

Deprecations?
no

Fixed Tickets

License
MIT

Note: Because I didn't want to expose internal methods using a public API I decided to bump the minimum PHP version to 5.4. Doctrine ORM announced to drop support for PHP 5.3 as well, so for this package its acceptable.
Todo:

[x] Add more extensive tests for FieldConfigBuilder.
[x] Test using WhereBuilder::setField()

9.62
▲   + 3.23
Nice :smile:

FieldConfigBuilder::getFields() is getting a bit to complex :thought_balloon:

9.24, not as good as it was but still better then the current score :)


Best event for keeping a list of current calls

Hey,
I am trying to write an application that will keep a listing of any active call on the PBX and their current status.  Ideally i am looking for data points like:  Source, Destination, Inbound/outbound, call duration, etc...
is there an even or 2 that better lend themselves to keeping this in memory list?

I do this in my setup, for billing purposes. If you need to track it through SIP attended and blind transfers, local channels and all sorts of things it's a relatively large amount of state modelling.
You can start by listening for NewState events of the type Ring, Ringing and Up to see when channels are formed and bridged. You can detect when a call ends by listening for the Hangup event.
When running AsterNET in debugging mode, you can see a list of all events that gets fired from Asterisk in the output console in VS.NET.

Yeah, NewState and NewChannel are going to be key to modelling call state to start with. The more complex you want to model that information, the more events you'll want to bring into your model.
https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerEvent_Newchannel
https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerEvent_Newstate
Hope that helps.

Thanks for the info.  Those were the 2 events I was eyeing up.  Since a call seems to be made of 2+ channels, I was trying to come up with a way to merge both sides (channels) of a call into a single record for the end users.   I am going to attempt to use the Bridge event to merge the data from the 2 channels into a single object..  Thanks for the guidance!!!


wireshark: use cmake and move to gtk3/qt5

Motivation for this change
A few changes:

autotools -> cmake. This alone brought to light a few missing required dependencies.
use gtk3 instead of gtk2 (the GTK UI is deprecated though)
use qt5 instead of qt4
add support for SSH
use .desktop files from upstream instead of creating our own manually

Ref: #18559
Cc: @aske
During nox-review, ostinato fails, but that is currently broken anyway.
Things done

[X] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] Linux

[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

Applied to master (887590e1d260bb5fba8ca1c5861d69b5987723ab). Thanks!


Haxe inline functions still generate as C++ functions

For example 😅
inline function foo() {}

function main() {
    foo();
}

Will still generate a
void _Main::Main_Fields_::foo() {

}

I only noticed this because I am generating a wrapper for which I don't know the header for, but it is guaranteed that the header is included at the call site. So, I was trying to use inline to get around that.

Sorry for the delay, I think this might be a thing with Haxe. While I could fix, that would make it less consistent with the Haxe static targets. For example, I tested this code on Haxe/C# and it doesn't inline. Let me check out how the other targets handle inline and I'll get back to this when I can, but there is a fix you can use right now!
The good news is you can force inlining by adding "extern". (inline extern function foo() { ... }), and this should work!
class Test {
  static function main() {
    bla();
  }

  inline static function bla() {
		trace("bla");
  }
}

public static void main() {
		unchecked {
			global::haxe.Log.trace.__hx_invoke2_o(default(double), ((global::haxe.lang.Function) (new global::haxe.lang.Closure(typeof(global::Test), "bla", 4897623)) ), default(double), new global::haxe.lang.DynamicObject(new int[]{302979532,<PHONE_NUMBER>,<PHONE_NUMBER>}, new object[]{"bla", "Test", "src/Test.hx"}, new int[]{1981972957}, new double[]{((double) (7) )}));
		}
	}

	public static void bla() {
		unchecked {
			global::haxe.Log.trace.__hx_invoke2_o(default(double), ((global::haxe.lang.Function) (new global::haxe.lang.Closure(typeof(global::Test), "bla", 4897623)) ), default(double), new global::haxe.lang.DynamicObject(new int[]{302979532,<PHONE_NUMBER>,<PHONE_NUMBER>}, new object[]{"bla", "Test", "src/Test.hx"}, new int[]{1981972957}, new double[]{((double) (7) )}));
		}
	}

Sorry for the delay

Not at all, I appreciate all the time and effort you've already put into this project.

For example, I tested this code on Haxe/C# and it doesn't inline.

Curious.

The good news is you can force inlining by adding "extern".

Thank you! That's exactly what I needed. 😁

Reflecting back on this now, it may have something to do with reflection.


Implement Destination Unreachable for ICMPv6

Co-authored-by: @Adenylatcyclase
Description
Fixes # (issue) - if applicable
Type of change

[ ] Bug fix
[x] New feature
[ ] New protocol
[ ] Breaking change
[ ] Documentation update

Checklist

[x] Associated tests
[x] Associated documentation

We based it on Time Exceeded, pretty much copy pasted and renamed identifiers. 😁
This should tick one box off #105

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

@plumenator very cool to see this. Before @drunkirishcoder and I give it a good review, can you rebase and bring in the latest changes from the main branch?

Done!

Thanks @plumenator @Adenylatcyclase. We'll take a gander this week.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


🍒[cxx-interop] Re-enable a test for borrowing const ref

Explanation: This enables a test that previously got disabled. It was failing in non-executable CI job because it was missing // REQUIRES: executable_test.
Scope: Only changes a test.
Risk: Low.
Issue: rdar://111065819
Original PR: https://github.com/apple/swift/pull/73942

@swift-ci please test

@swift-ci please test macOS

@swift-ci please test macOS

@swift-ci please test macOS

@swift-ci please test macOS


Cancelling the ClickInventoryEvent when removing from a furnace does not stop experience creation

I cancel the ClickInventoryEvent if a player is removing from a certain container, and when this happens to be from the resulting box of a furnace, the removal is cancelled but the experience is still created. This leads to issues where players can infinitely create experience. I can stop the spawning of the experience by listening to that as a work around, but I feel this should be handled in Sponge to prevent general unauthorized experience creation.

I'm not exactly sure but it seems the experience is spawned before the ClickInventoryEvent is even fired.

Confirmed. The XP orb is not being captured.
Test code:
package jbyoshi.sponge.test;

import org.spongepowered.api.event.Listener;
import org.spongepowered.api.event.item.inventory.ClickInventoryEvent;
import org.spongepowered.api.item.ItemTypes;
import org.spongepowered.api.item.inventory.transaction.SlotTransaction;
import org.spongepowered.api.plugin.Plugin;

@Plugin(id = "testspongecommon1193")
public class TestSpongeCommon1193 {

    @Listener
    public void onClickInventory(ClickInventoryEvent event) {
        if (event.getTargetInventory().getClass().getName().endsWith(".ContainerFurnace")) {
            for (SlotTransaction transaction : event.getTransactions()) {
                if (transaction.getOriginal().getType() == ItemTypes.GLASS) {
                    event.setCancelled(true);
                    break;
                }
            }
        }
    }
}

To test, smelt some sand and try to remove the glass.


wip support compressed files

So i still have a lot of cleanup on this to do. But in summary, the compressed formats weren't working with our scan providers, even after adding in the support. I was still getting some errors with the encoding. So I started looking in to what datafusion already provides. In doing this, I realized almost all of our object store table providers (with the exception of http) can be replaced with datafusions providers via the ListingTable.
There's a bit of finessing to get them wired up correctly, but I think going this route can dramatically simplify parts of the codebase & give us much less code to maintain.

most of the sources are working now. a few left to resolve

Scheme
Glob
Compression
Complete

HTTP

✅

HTTP
✔

N/A

HTTP

✔
✅

HTTP
✔
✔
N/A

File

✅

File
✔

✅

File

✔
✅

File
✔
✔
✅

GS

✅

GS
✔

✅

GS

✔
✅

GS
✔
✔
❌

S3

❌

S3
✔

❌

S3

✔
❌

S3
✔
✔
❌

Pinging @vrongmeal.
There's changes here super familiar with, will need help on making sure this works for us.

@vrongmeal I can't figure out why the parquet readers aren't working anymore? it seems like they are trying to do some extra work that the csv & json readers arent. Did you run into this with the original implementation?

I did remove the old parquet reader factory since we were using the default registry. Didn't face any issues with it. What's the issue you're facing right now?

I am guessing, introducing a custom registry breaks the parquet stuff. We did configure parquet reader because of the same.

closing in favor of #1490


Update data-factory-compute-linked-services.md: minor fixes

Fixed multiplication sign previously interpreted as italics; 2) Fixed pointy brackets to include backslash in both cases; 3) added outlook.com as an example

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@marktab : Thanks for your contribution to the Azure documentation! The author, @sharonlo101, has been notified to review your proposed change.

#sign-off


Add Additional Audio Location Methods

Add support for the following audio location methods:

Within [configurable distance] of radar site
Issued by WFO

It would be great if it could support customization of maps, radar site, and data sources

The soft may be developed with the intention to facilitate adding diverse external datasets such as meteorological datasets for other areas of the globe. Can you create a data-driven abstract ingest system where integrating new datasets becomes an administrative rather than software programming task?

I began working on the radar site radius, and I have a few questions on some details:

Should the radius option be included for tracked and fixed? It involves minimal extra code, and I can see the usefulness in having it.
Which radar site should be used? Should it be the current radar site, the default radar site, have its own setting, or be a combination thereof?
How should units be handled with the radius setting? I do not see any other settings that are have units to base my code off. Should a method for handling this be made which can be used for future settings? Should the value be stored as a standard unit, and be converted for display/updating, or should it be stored with the unit, and converted upon use?
How should the distance be calculated? Currently the distance to an alert is calculated as the distance to the centroid of the alert. This works well for longer distances, but may not be intuitive for short distances. Before I realized this was already being done, I made a function which uses the distance from the point to the closest point in the area. This works well for short and long distances. In particular, it returns 0 if the point is inside the alert area, so setting a radius of 0 is the same as being inside the alert.

I currently have it set up for radar site, tracked, and fixed, using the current radar site, using meters as the units, and using my distance function. If you want to see what I have so far, I can create a pull request, or you can see it at the link bellow. My functions for distance calculation is in scwx-qt/source/scwx/qt/util/geographic_lib.cpp. I have not updated the test data yet.
https://github.com/AdenKoperczak/supercell-wx/tree/audio_location_methods

I began working on the radar site radius, and I have a few questions on some details:

Should the radius option be included for tracked and fixed? It involves minimal extra code, and I can see the usefulness in having it.

Having it for tracked and fixed is beneficial, although this might use different logic. Fixed/track currently uses a "within polygon" algorithm, and I don't want to break that.

Which radar site should be used? Should it be the current radar site, the default radar site, have its own setting, or be a combination thereof?

I had intended it to be a new setting for the currently selected radar site, although I'm open to more than one additional setting.

How should units be handled with the radius setting? I do not see any other settings that are have units to base my code off. Should a method for handling this be made which can be used for future settings? Should the value be stored as a standard unit, and be converted for display/updating, or should it be stored with the unit, and converted upon use?

I would suggest at a minimum store as a standard unit value. For calculations and display, you can look at the use of the units library. I would not be opposed to some common method to handle configurable unit conversion for display in settings, but don't think it's necessary, since it's not something that is being displayed on the map or status bar.

How should the distance be calculated? Currently the distance to an alert is calculated as the distance to the centroid of the alert. This works well for longer distances, but may not be intuitive for short distances. Before I realized this was already being done, I made a function which uses the distance from the point to the closest point in the area. This works well for short and long distances. In particular, it returns 0 if the point is inside the alert area, so setting a radius of 0 is the same as being inside the alert.

This might be tricky. I've used a combination of geographic library algorithms and public domain resources for this. For fixed/track, if radius is implemented, I think it needs to be "within polygon" or "distance from nearest edge". If it's just distance from a radar site, I think the centroid is just fine.

I currently have it set up for radar site, tracked, and fixed, using the current radar site, using meters as the units, and using my distance function. If you want to see what I have so far, I can create a pull request, or you can see it at the link bellow. My functions for distance calculation is in scwx-qt/source/scwx/qt/util/geographic_lib.cpp. I have not updated the test data yet.
https://github.com/AdenKoperczak/supercell-wx/tree/audio_location_methods

Thanks! I probably won't have a chance to review until next weekend. I have test data separated into a separate repository (I don't know if this was the best design choice for contributions), but I can certainly accept submissions on that repository too.

* Issued by WFO

FYI, I did not implement this, so maybe it should be added as another issue.


trace: warning: optionsDocBook is deprecated since 23.11 and will be removed in 24.05 in home-manager switch

https://github.com/nix-community/home-manager/issues/4273
https://github.com/nix-community/home-manager/pull/4215#issue-1795264518

I don't track this


[Bug] decision_support.py does not work to generate alternative solutions

Running the decision_support.py produces an error.
Expected Behavior
Expect similar behaviour to the tutorial video on sertalp's channel, producing several alternative solutions.
Current Behavior
Throws an error. First related to updated CSV format, but after changing the [5] in line 25 to a [6], a new error comes up:
FileNotFoundError: [Errno 2] No such file or directory: 'tmp/ds_h1_GZ2WX.mps'

Code likely left a bit behind/not maintained.
Steps to Reproduce
You will likely have to change horizon first (in main function).

cd src
python .\decision_support.py

Context
Generating alternative solutions is a very useful and powerful feature in the optimizer, and makes it easier to use it as a guiding tool instead of a machine that gives out only one answer.

Thanks for reporting @digernes I will have a look at it. Code is not maintained a while, that is right. Either it needs a touch up or we can merge it with multi_period codes for simplicity.

Update on this, have not made any progress yet, but it is the next item in the list.

I have started moving key functionality of decision_support to multi_period_dev and currently offer a way to produce alternative solutions. Feel free to open a new issue if there is a specific parameter you want to use.


replace react hot loader

https://github.com/gaearon/react-transform-boilerplate

Blocker https://github.com/gaearon/react-transform-webpack-hmr/issues/2


Parse error on latest phar located at http://get.sensiolabs.org/sami.phar

Wasn't sure of where else to put this issue but the latest phar file is causing a parse error.
http://get.sensiolabs.org/sami.phar
Parse error: syntax error, unexpected '.' in phar:///usr/bin/sami/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1549
PHP 5.5.9-1ubuntu4.20 (cli) (built: Oct  3 2016 13:00:37)

Sami 4.0 is only compatible with PHP 7+. If you want PHP 5.5 support, you need to download http://get.sensiolabs.org/sami-v3.3.0.phar

Would be nice if this would be stated somewhere out of the composer.json. Just pulled from the default location and wondered what went wrong.
http://symfony.com/projects/sami is outdated, too.


Broken on nightly at some point between Sep 18 and Sep 23.

At some point between the last time I built godot-rust (9/18) and now, either godot-rust or rustc broke each other. Here is a stacktrace of it being built in rustc 1.39.0-nightly (1dd188489 2019-09-22)
   Compiling gdnative-bindings v0.1.0 (https://github.com/GodotNativeTools/godot-rust#5cc1cf4d)
error[E0277]: arrays only have std trait implementations for lengths 0..=32
   --> /home/benxu/projects/game-tech/Assignment1/target/debug/build/gdnative-sys-07c488f9e84930e3/out/bindings.rs:547:5
    |
547 |     pub _dont_touch_that: [u8; 36usize],
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[u8; 36]`
    |
    = note: required because of the requirements on the impl of `std::fmt::Debug` for `[u8; 36]`
    = note: required because of the requirements on the impl of `std::fmt::Debug` for `&[u8; 36]`
    = note: required for the cast to the object type `dyn std::fmt::Debug`

error[E0277]: the trait bound `[u8; 36]: std::default::Default` is not satisfied
   --> /home/benxu/projects/game-tech/Assignment1/target/debug/build/gdnative-sys-07c488f9e84930e3/out/bindings.rs:547:5
    |
547 |     pub _dont_touch_that: [u8; 36usize],
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `[u8; 36]`
    |
    = help: the following implementations were found:
              <&[T] as std::default::Default>
              <&mut [T] as std::default::Default>
              <[T; 0] as std::default::Default>
              <[T; 10] as std::default::Default>
            and 31 others
    = note: required by `std::default::Default::default`

// --snip

error: aborting due to 41 previous errors

For more information about this error, try `rustc --explain E0277`.
The following warnings were emitted during compilation:

warning: couldn't execute `llvm-config --prefix` (error: No such file or directory (os error 2))
warning: set the LLVM_CONFIG_PATH environment variable to a valid `llvm-config` executable

error: could not compile `gdnative-sys`.
warning: build failed, waiting for other jobs to finish...
error: build failed

I know what the issue is, but I have not had a chance to go in and fix it yet, since deadlines, so I'm posting this here.
Also, this works perfectly fine on stable 1.37 which makes me think that it should be fixed on the rustc side, but we'll see I guess.
Either way, if const generics lands in nightly this will never appear again (that accursed 0..=32 arbitrary-ish range).

This is automated output coming from bindgen. It seems the problem is that some types can't have Debug derived on them because they contain arrays bigger than 32 elements.
It seems to me like this in particular might be an issue with the conversion to const generics. If it works on stable and it works on beta, I assume it's an error in rustc. Of course, if those changes land in stable or beta then I think we should fix this, but I would say that nightly compatibility is not a priority at the moment.

The crate seems to be no longer broken on nightly. This was likely an rustc error.


Module crashes with import error

Scenario/Intent
Just trying out oneview ansible as part of a larger automation project and I am getting an error.  May be something I have (not) done, any advice is appreciated
Environment Details

Module Version: Latest code from master
Ansible Version: 2.9.3
OneView Appliance Version: N/A
OneView Client API Version: N/A
Python Version: 3.6
python-hpOneView SDK Version: 4.8
Platform: RHEL 7.7

Steps to Reproduce
Use the example YAML for server_hardware_facts and execute the play, or just run the library code directly and it will fail immediately
Expected Result
Server Facts from the iLO
Actual Result
An error traceback
Traceback (most recent call last):
File "oneview_server_hardware_facts.py", line 205, in
from ansible.module_utils.oneview import OneViewModule
ImportError: cannot import name OneViewModule

This issue is exact copy of #484, closing it as the user opened it twice by mistake.

Closing as per Yuvirani's comment.


Crash when connecting

I'm using the latest Mixpanel Library from Cocoapods. But when I build my app, distribute it using TestFlight and then try to connect using four fingers it crashes with the following CFStringConvertNSStringEncodingToEncoding error.
Any idea whats wrong? :(
Thread : Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x181585900 __exceptionPreprocess
1  libobjc.A.dylib                0x180bf3f80 objc_exception_throw
2  CoreFoundation                 0x18146f134 CFStringConvertNSStringEncodingToEncoding
3  Mixpanel                       0x100c2e7d0 (Missing)
4  Mixpanel                       0x100c2eee4 (Missing)
5  libdispatch.dylib              0x180fd95f0 _dispatch_client_callout
6  libdispatch.dylib              0x180fe8c5c _dispatch_barrier_sync_f_slow_invoke
7  libdispatch.dylib              0x180fd95f0 _dispatch_client_callout
8  libdispatch.dylib              0x180fdecf8 _dispatch_main_queue_callback_4CF
9  CoreFoundation                 0x18153cbb0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
10 CoreFoundation                 0x18153aa18 __CFRunLoopRun
11 CoreFoundation                 0x181469680 CFRunLoopRunSpecific
12 GraphicsServices               0x182978088 GSEventRunModal
13 UIKit                          0x1862e0d90 UIApplicationMain
14 biz                            0x1003c4088 main (AppDelegate.swift:15)
15 libdispatch.dylib              0x18100a8b8 (Missing)

Any chance that you could symbolicate this crash log so we can see the lines from Mixpanel that are (Missing)?

Unfortunately I can't see how, since this seems only to occur on the TestFlight distributed version. If I connect from the one installed directly from Xcode it works :(
Here's the crash recorded by Crashlytics - hope this helps a bit more...?!
http://crashes.to/s/b5d223b7670

PS: Maybe this is due to some build settings?! If you have any clue, this would be awesome!!

If you can upload the dSYMs, I'm fairly sure that Crashlytics will symbolicate it for you. Otherwise it's a needle in a haystack. You can find the dSYMs in the Organizer window of Xcode. Select the matching build, and download the dSYMs then upload them to Crashlytics.

Crashlytics can also do this for you automatically if you add their run script to your build. I would love to get this solved!

@samgreen I've added the run script to my build and Crashlytics is telling me, they are "not missing any important build file" :( Any other idea?

Aaaaaaaaaaaah
Now I was able to connect! For some reason, I had to delete all Events in the Mixpanel Admin.
Seems like there we're some "no-longer-existant-events" which were causing the Crash and therefore prevented me from connecting?

Interesting. Glad you got it working!
Thanks for the feedback, we'll take a look with these thoughts!


Suggestion: Integrate Homebrew Launcher loader?

Given the ongoing banwave/new status quo, there's been a new surge in demand for 3dsx homebrew, under the impression that just using that is more likely to help CFW users avoid detection.
This idea was prompted by a 3ds.guide variant recommended on the Nintendo Hacking Discord, which suggests leaving H&S-injected FBI as the only homebrew available from Home Menu, and sticking with something like SoundHax to boot into HBL for other homebrew. This is no longer a good solution on 11.4 (and above), obviously- no free HBL entrypoints exist anymore.
Given the relatively small size of the hblauncher_loader code, and the fact that FBI would, assuming this solution remains popular, be the only viable homebrew entrypoint available to users taking this route, it seems like it'd be extremely helpful to have this functionality integrated into FBI.
Obviously, there's no guarantee that avoiding CIA homebrew altogether is any more effective than placebo. But demand probably exists for something like this, regardless.

Not happening; just use hblauncher_loader. I doubt consolidating apps into FBI would help prevent bans at all, especially since FBI itself would be logged whenever you ran it to launch 3dsx homebrew.

If you really want a reliable entry point, just buy a oot3d.


Documentation needed.

I'm submitting a ...
[x] support request
Current behavior
The Introductory Example under https://ng2.angular-formly.com/guides/introductory-example.html says that "This is a small subset of the things that formly can do :-) See the other examples and the documentation for more." The problem is that I cannot find a documentation anywhere. Which form elements the module supports, how the JSON schema should look like, etc.
Expected behavior
Maybe I am blind for not finding the docs, or if there really isn't any, could you please provide at least some basics?
What is the motivation / use case for changing the behavior?
The module seems very promising, but without docs I don't know where and how to begin.

duplicate of #509,  once we finish with v2 we will focus on the documentation also we need some help :).


False-Positive: control.foundational_security_ecr_1 does not consider enhanced scanning method

Describe the bug
The control control.foundational_security_ecr_1 checks, if the ECR repo has scan on push enabled. If disabled, the control will consider this as ALARM.
However, if the ECR enhanced scanning is enabled for the whole region, ALL repositories are scanned by this mechanism anyway, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning-enhanced.html
Steampipe version (steampipe -v)
v0.21.7
Plugin version (steampipe plugin list)
aws 0.131.0
To reproduce
First, let's use steampipe and the specific control:
steampipe check aws_compliance.control.foundational_security_ecr_1
1 ECR private repositories should have image scanning configured ......... HIGH 10 / 10 [==========]
ALARM: MyRepo scan on push disabled. .......................... eu-central-1 MYACCOUNT
OK, now let's crosscheck this with the AWS CLI:
aws ecr describe-repositories --region eu-central-1 —profile MYACCOUNT
{
"repositories": [
{
"repositoryArn": "arn:aws:ecr:eu-central-1:MYACCOUNT:repository/MyRepo",
"registryId": "MYACCOUNT",
"repositoryName": „MyRepo,
"repositoryUri": "MYACCOUNT.dkr.ecr.eu-central-1.amazonaws.com/MyRepo",
"createdAt":<PHONE_NUMBER>.197,
"imageTagMutability": "MUTABLE",
"imageScanningConfiguration": {
"scanOnPush": false
},
"encryptionConfiguration": {
"encryptionType": "AES256"
}
]

}
OK, it seems to be that the Alarm seems to be correct. However, I know, that we use the Enhanced scanning feature to scan always all Repos. Let's check how it look like:
aws ecr get-registry-scanning-configuration --region eu-central-1 —profile MYACCOUNT
{
"registryId": "MYACCOUNT",
"scanningConfiguration": {
"scanType": "ENHANCED",
"rules": [
{
"scanFrequency": "CONTINUOUS_SCAN",
"repositoryFilters": [
{
"filter": "*",
"filterType": "WILDCARD"
}
]
}
]
}
}
Result: Enhanced Scanning is enabled. OK. Lets go further. Next we check the repo from above, if we do have any scan results...
aws ecr describe-image-scan-findings --repository-name "MyRepo" --image-id imageDigest="sha256:123456789“
{
"imageScanFindings": {
"enhancedFindings": [
{
"awsAccountId": "MYACCOUNT",
"description": "FasterXML jackson-databind 2.x before <IP_ADDRESS> mishandles the interaction between serialization gadgets and typing, related to org.apache.commons.dbcp2.datasources.PerUserPoolDataSource.",
"findingArn": "arn:aws:inspector2:eu-central-1: MYACCOUNT:finding/11111111“,
"firstObservedAt":<PHONE_NUMBER>.512,
"lastObservedAt":<PHONE_NUMBER>.925,
"packageVulnerabilityDetails": {
"cvss": [
{
"baseScore": 8.1,
"scoringVector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"source": "NVD",
"version": "3.1"
}
],
        },

############ many more findings cutted ########
So, to conclude:
The control control.foundational_security_ecr_1 checks, if the ECR repo has scan on push enabled. If disabled, the control will consider this as ALARM. It will not be considered, if the quiet new enhanced scanning feature is enabled or not.
Expected behavior
Please do a crosscheck, if enhanced scanning is enabled. If YES >> this alarm shall SKIP instead of raising an alarm.
cheers
Markus

@the-cloud-ninja Thanks for raising this issue, we are working on it and will try to publish ASAP.


Symlinks in Android examples cpp CMAKE

Maybe you could change CMakeLists.txt to copy from the "core" directory instead for Windows users?

In Windows, you could enable  the Developer Mode and clone the repo as follows to make symlinks work.
$ git clone -c core.symlinks=true https://github.com/mobvoi/wenet.git


Settings for log rotation (max_days, max_size)

Old logs should be cleaned from time to time. 3 options will be introduced for that purpose:

max_days N — keep records not older than N days;
max_size M — store not more than M GBs of records;
max_days N + max_size M — if both options are in use, both limits (in days and GBs) should be always applied.

You can use the bash script below as a temporal solution.
It takes an oldest table and delete it if the value of TARGET_PERCENT more than current percent of use /var/lib/clickhouse directory.
#!/bin/bash

TARGET_PERCENT=95
POD=$(/usr/local/bin/kubectl get po -n loghouse |awk '/clickhouse-server/{ print $1}')
CURRENT_PERCENT=$(/usr/local/bin/kubectl -n loghouse exec -ti $POD -- /bin/df -h |awk '/\/var\/lib\/clickhouse/{print $5}')
CURRENT_PERCENT=${CURRENT_PERCENT//%/}
if [ "$CURRENT_PERCENT" -gt "$TARGET_PERCENT" ]; then
  CL_PASS=$(/usr/local/bin/kubectl -n loghouse get po $POD -o yaml |grep CLICKHOUSE_PASS -A1 | awk '/value/{print $2}')
  echo "CURRENT_PERCENT $CURRENT_PERCENT -gt TARGET_PERCENT $TARGET_PERCENT"
  TBL=$(/usr/local/bin/kubectl -n loghouse exec -ti $POD -- clickhouse-client -h <IP_ADDRESS> -d logs --password $CL_PASS -q "show tables" |grep -E "logs[0-9]{10}" |sort |head -1)
  echo "drop table $TBL"
  /usr/local/bin/kubectl -n loghouse exec -ti $POD -- clickhouse-client -h <IP_ADDRESS> -d logs --password $CL_PASS -q "drop table $TBL"
fi

You can also use it in crontab.
Example:
*/15 * * * * root /opt/scripts/loghouse.cleaner.sh >> /var/log/loghouse.cleaner.log 2>&1

@zimmermann-russia you are right, but this patch makes you script more better:

@zimmermann-russia you are right, but this patch makes you script more better:
--- loghouse.cleaner.sh 2018-10-12 18:21:34.046754060 +0300
+++ loghouse.cleaner_new.sh     2018-10-12 18:22:27.719205599 +0300
@@ -4,10 +4,12 @@
 POD=$(/usr/local/bin/kubectl get po -n loghouse |awk '/clickhouse-server/{ print $1}')
 CURRENT_PERCENT=$(/usr/local/bin/kubectl -n loghouse exec -ti $POD -- /bin/df -h |awk '/\/var\/lib\/clickhouse/{print $5}')
 CURRENT_PERCENT=${CURRENT_PERCENT//%/}
-if [ "$CURRENT_PERCENT" -gt "$TARGET_PERCENT" ]; then
+while [ "$CURRENT_PERCENT" -gt "$TARGET_PERCENT" ]; do
   CL_PASS=$(/usr/local/bin/kubectl -n loghouse get po $POD -o yaml |grep CLICKHOUSE_PASS -A1 | awk '/value/{print $2}')
   echo "CURRENT_PERCENT $CURRENT_PERCENT -gt TARGET_PERCENT $TARGET_PERCENT"
   TBL=$(/usr/local/bin/kubectl -n loghouse exec -ti $POD -- clickhouse-client -h <IP_ADDRESS> -d logs --password $CL_PASS -q "show tables" |grep -E "logs[0-9]{10}" |sort |head -1)
   echo "drop table $TBL"
   /usr/local/bin/kubectl -n loghouse exec -ti $POD -- clickhouse-client -h <IP_ADDRESS> -d logs --password $CL_PASS -q "drop table $TBL"
-fi
+  CURRENT_PERCENT=$(/usr/local/bin/kubectl -n loghouse exec -ti $POD -- /bin/df -h |awk '/\/var\/lib\/clickhouse/{print $5}')
+  CURRENT_PERCENT=${CURRENT_PERCENT//%/}
+done

@broken-ufa Thanks!

Closed because of loghouse is no longer being actively developed.


feat: [Outdated] OIDC auth-type SERVICE_PRINCIPAL Entity type Environment

Description
Ref #2092 for Context
Pipeline Reference

No GitHub environment set (mimic contributors environment default) -> login via SP + secret https://github.com/eriqua/bicep-registry-modules/actions/runs/9878032516/job/27281052166
With GitHub environment + environment secrets set:
default -> login via OIDC https://github.com/eriqua/bicep-registry-modules/actions/runs/9882530371/job/27295577833
exception ( if in exception list of modules requiring more than 1h to deploy and destroy) -> login via SP + secret https://github.com/eriqua/bicep-registry-modules/actions/runs/9882531574

Pipeline

Type of Change

[x] Update to CI Environment or utilities (Non-module affecting changes)
[ ] Azure Verified Module updates:

[ ] Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json:

[ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in version.json.
[ ] Breaking changes and I have bumped the MAJOR version in version.json.
[ ] Update to documentation

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[ ] I have run Set-AVMModule locally to generate the supporting module files.
[x] My corresponding pipelines / checks run clean and green without any errors or warnings

Closing in favor of #2792


In text chat, allow a user to edit their most recent message using sed-like syntax

This may not even be possible. It appears that messages can only be edited by the user who originally sent them: https://discordapp.com/developers/docs/resources/channel#edit-message .
They could be deleted and then re-sent by the bot, but this wouldn't actually be the editing the message. Effectively this cannot be done.


Streaming workaround

This pull request serves as a preliminary fix for streaming level images other than level 0 (for level 0 it already works). Streaming level images other than level 0 will not result in an image that is byte-for-byte the same as reading the whole image all at once. However, the resulting streamed image is qualitatively the same as the one read in bulk (see example below). I need to further study the implementation of openslide_read_region() and the cairo library (used internally by openslide).
ITK's nice unit test tool generates diff images as well the test and base image for comparison. See an example of qualitatively similar level CMU-1 level 1 images here:
https://midas3.kitware.com/midas/folder/13510
The streaming unit test has been updated to compare against the result of streaming a level 1 image with 200 stream divisions. I hope this will be temporary.
The unit test has also been updated to support compressing output if requested.
P.S. I followed your advice about rebasing and topic branches. I'm not sure if I used git the way you had intended. So I created my topic branch (as per your suggestion). Then I made my changes and committed them locally. Then I merged them locally into master, pushed them back to origin and manually created a pull request here. Is this what you wanted me to do?

I'm going to go ahead and merge this. Circleci shows all tests have passed. Not sure why Circleci reports failing.

Well done fixing the tests and improving the streaming!
It looks like there was a temporary network connectivity issue in the CircleCI interface. If you sign up for an account at circleci.com with your GitHub account, you should have permissions to restart the build, too, since you have access to this repository.
The Git history looks pretty good, but usually the named topic branch is pushed to GitHub instead of master, and the pull request is made with the topic branch. See, for example:

http://scottchacon.com/2011/08/31/github-flow.html
https://guides.github.com/introduction/flow/


npx prisma init can't download files (self-signed certificate)

Bug description
Is there a simple and unambiguous instruction on what to do if the corporate gateway re-signs traffic?
C:\Users\mvictorl\Documents\workspace\prisma>npx prisma init
> Downloading Prisma engines for Node-API for windows [                    ] 0%Error: request to https://binaries.prisma.sh/all_commits/272861e07ab64f234d3ffc4094e32bd61775599c/windows/query_engine.dll.node.sha256 failed, reason: write EPROTO B0090000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:c:\ws\deps\openssl\openssl\ssl\statem\extensions.c:922:

P.S. on another virtual machine helps set NODE_TLS_REJECT_UNAUTHORIZED=0,
but on another I can’t initiate Prisma in any way
How to reproduce

Expected behavior
No response
Prisma information

// Add your schema.prisma

// Add your code using Prisma Client

Environment & setup

OS: Windows 10
Database:
Node.js version: 18.12.1

Prisma Version

fwiw I ran into this error as well on a WSL Ubuntu distro. to workaround I ran prisma init on a machine that was not subject to the corp gateway. i then zipped up the node_modules/@prisma/engines folder and unzipped it on the affected client.

Hi @mvictorl and @thomas-b-jackson, reproducing issues that only occur behind corporate gateways/proxies is particularly challenging as they are hard to reproduce, so we gently ask you for more information.
For instance:

Which corporate gateway / proxy is your company using?
What steps do you do when you want to install Prisma for the first time in your systems?
What does your proxy do when Prisma pulls its binaries from https://binaries.prisma.sh/*?

Moreover, it's not clear to me whether setting NODE_TLS_REJECT_UNAUTHORIZED=1 (which basically lets Node.js treat HTTPS connections as HTTP) fixes the issue at all.
Also, we're not even sure that re-signing traffic is even the problem, as we're simply pulling in some platform-aware binary files via plain Node.js APIs, which should be oblivious to the security of the transport protocol used for the download.

On a side note, we have recently changed the CDN we use for exposing the Prisma engines. Could you please both try again with<EMAIL_ADDRESS>and report back with the results? Thanks.

@mvictorl @thomas-b-jackson Did you see Alberto's questions? Having some more information would be really helpful here. Thanks.


Remove pandas<2 pin

XREF #7650

Thanks we use this file only for Githubs dependency graph, which now supports pyproject.toml so we should just migrate and have one less thing to update.


Review default operations values.

Review all operations default values so we make sure those are the same across all clients. .Net client is used as standard.

Done


Installation Error

I've been trying for a few hours now to get this installed under Ubuntu 10.04. I've updated Node, NPM (at first NPM didn't want to acknowledge the existence of the serialport package). Now I'm just starting to get confused, and frustrated.
robot@RobotTestSystem:~/code$ sudo npm install serialport
[sudo] password for robot:
npm WARN<EMAIL_ADDRESS>dependencies field should be hash of : pairs
npm WARN<EMAIL_ADDRESS>package.json: bugs['web'] should probably be bugs['url']
npm http GET https://registry.npmjs.org/serialport
npm http 304 https://registry.npmjs.org/serialport

<EMAIL_ADDRESS>install /home/robot/code/node_modules/serialport
cd serialport_native;node-waf configure build;cp build/default/serialport_native.node ../

Checking for program g++ or c++          : /usr/bin/g++
Checking for program cpp                 : /usr/bin/cpp
Checking for program ar                  : /usr/bin/ar
Checking for program ranlib              : /usr/bin/ranlib
Checking for g++                         : ok
Checking for node path                   : not found
Checking for node prefix                 : ok /usr/local
'configure' finished successfully (0.192s)
Waf: Entering directory /home/robot/code/node_modules/serialport/serialport_native/build' [1/2] cxx: serialport_native.cc -> build/Release/serialport_native_1.o In file included from ../serialport_native.cc:3: ../serialport_native.h:6:25: error: node_events.h: No such file or directory ../serialport_native.cc:11:59: warning: extra tokens at end of #include directive Waf: Leaving directory /home/robot/code/node_modules/serialport/serialport_native/build'
Build failed:  -> task failed (err #1):
{task: cxx serialport_native.cc -> serialport_native_1.o}
cp: cannot stat build/default/serialport_native.node': No such file or directory npm ERR! error installing<EMAIL_ADDRESS>npm ERR<EMAIL_ADDRESS>install: cd serialport_native;node-waf configure build;cp build/default/serialport_native.node ../npm ERR!sh "-c" "cd serialport_native;node-waf configure build;cp build/default/serialport_native.node ../"failed with 1 npm ERR! npm ERR! Failed at the<EMAIL_ADDRESS>install script. npm ERR! This is most likely a problem with the serialport package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR!     cd serialport_native;node-waf configure build;cp build/default/serialport_native.node ../ npm ERR! You can get their info via: npm ERR!     npm owner ls serialport npm ERR! There is likely additional logging output above. npm ERR! npm ERR! System Linux 2.6.32-33-generic-pae npm ERR! command "node" "/usr/local/bin/npm" "install" "serialport" npm ERR! cwd /home/robot/code npm ERR! node -v v0.7.0-pre npm ERR! npm -v 1.1.0-beta-10 npm ERR! code ELIFECYCLE npm ERR! message<EMAIL_ADDRESS>install:cd serialport_native;node-waf configure build;cp build/default/serialport_native.node ../npm ERR! messagesh "-c" "cd serialport_native;node-waf configure build;cp build/default/serialport_native.node ../"` failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/robot/code/npm-debug.log
npm not ok
What is the issue? Am I missing something simple?
Thanks!

seems like 0.7 branch is not compatible, when I use:
$ nave use 0.6.12
Checking for program g++ or c++          : /usr/bin/g++
Checking for program cpp                 : /usr/bin/cpp
Checking for program ar                  : /usr/bin/ar
Checking for program ranlib              : /usr/bin/ranlib
Checking for g++                         : ok
Checking for node path                   : ok /usr/local/lib/node
Checking for node prefix                 : ok /root/.nave/installed/0.6.12
'configure' finished successfully (0.025s)
Waf: Entering directory /home/cristi/node_modules/serialport/serialport_native/build' [1/2] cxx: serialport_native.cc -> build/Release/serialport_native_1.o [2/2] cxx_link: build/Release/serialport_native_1.o -> build/Release/serialport_native.node Waf: Leaving directory /home/cristi/node_modules/serialport/serialport_native/build'
'build' finished successfully (0.251s)
it compiles successfully


Submission to conda-forge

@scopatz, @xmnlab,
I've just finished the needed work for Linux support and I ran tests on both my local computer and an AWS instance.
Most things seem to be working perfectly! I was wondering whether this would be a good time to submit the package to conda-forge or wait until Windows and Osx are supported?
Thanks!

@xmnlab,
I created this repo for the recipe as independent from other recipes so that:

I can easily add CIs..
It is so easy to keep track of the discussions about the cudatoolkit-dev package

Once most of the work is finished, I can move/copy the final work (recipe) to the Quansight recipes as well.

OK. maybe would be good to start to think about create a CI for conda-recipes repo ... and write some guidelines. I already something in mind .. I will create a issue there about this.

@scopatz  we have already one: https://github.com/Quansight/staged-recipes
I agree, for recipes that we want to make a PR to conda-forge would be better to work on this repo.
for packages we want to upload to anaconda.org I think it would be better to keep them on our conda-recipes.
what do you'll think about that?

@xmnlab - yeah that is true.  I think we mostly should want to go through conda-forge, though :)


Typing mistake in Contributing.md file

There are some errors in the contributing.md file.
I have solved those in the following PR
PR: #1050

Ok thanks.


made changes

so I have solved the issue in the typing animation section. Initially, the animation was not working well, but now it is in the correct working condition. I have also fixed the background color in dark mode.

resolve conflicts
take the pull of updated repo and check your changes are working then make a new pr as ui has been changed completely


SqltableDependency with ASP.NET SignalR raising multiple Notifications for each entry in the SqlDB Table

Hi
Single Environment Setup:
Windows Service will insert record into the SqlServer Table (Lets Assume Agent Details) where Sql server Broker setup for the Database and using SqlTableDependency for Notifying Something has happened (i.e. Inserted) in the table.
Once OnCHange() Event Raised we process the data
It is working fine and never had issue when we have deployed in dev environment which is having Single System.
Issue started when we moved into Test Environment, where we have 12 servers behind firewall and ASP.NET MVC5 SignalR app is deployed in all Servers using IIS. and we have 2 Sql Data base Servers which are using Always on Availability Groups (sql server is enabled)
Issue:
when ever wins Service is inserted record, SqlTableDependency is raising multiple events. when I log the OnChange Event entries it raised for same record it raises multiple times.
Is there anyway we can avoid firing duplicate events

Hi, for what I understood this is not a Ba, but a wrong usage of SqlTableDependency.
"Issue started when we moved into Test Environment, where we have 12 servers behind firewall and ASP.NET MVC5 SignalR app is deployed in all Servers using IIS." It menas that you have 12 SqlTableDendency instance working ==> 12 Triggers on table, 12 Queue and 12 Service Broker.
It is normal that you receive 12 duplicate events.
To avoid that you should wrap SqlTableDendency  in a singleton service. For example: in this example project https://github.com/christiandelbianco/monitor-table-change-with-WPF-WCF-sqltabledependency-example i wrapped SqlTableDendency object in a WCF service that work as central record change forwarder. Then i can have one, two...ten...ect.... WPF client application that are listening from WCF event (raised by SqlTableDependency).
Hope it will help.

Thanks, we segregated the code into windows service and working fine

Ok. Remeber that Windows service must not go on IDDLE or SLEEP mode, otherwise SqlTableDependency lost db connection are reported in home page:
Windows service using SqlTableDependency must not goes to SLEEP mode or IDLE state. Sleep mode blocks SqlTableDependency code and this result in running the database watch dog that drops all SqlTableDependency's db objects (please see https://stackoverflow.com/questions/6302185/how-to-prevent-windows-from-entering-idle-state).
Bye.

Thank you will check this if anything required will ping you back
Thanks
Suresh
On Fri, Mar 15, 2019 at 11:16 AM Christian Del Bianco <
<EMAIL_ADDRESS>wrote:

Ok. Remeber that Windows service must not go on IDDLE or SLEEP mode,
otherwise SqlTableDependency lost db connection are reported in home page:
Windows service using SqlTableDependency must not goes to SLEEP mode or
IDLE state. Sleep mode blocks SqlTableDependency code and this result in
running the database watch dog that drops all SqlTableDependency's db
objects (please see
https://stackoverflow.com/questions/6302185/how-to-prevent-windows-from-entering-idle-state
).
Bye.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/christiandelbianco/monitor-table-change-with-sqltabledependency/issues/131#issuecomment-473326145,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AmoDTdXs3wvY2xPuxhC6WGv0Gzwlm4TYks5vW7legaJpZM4bZ8iV
.

--
Regards,
Suresh Babu Seelam

Hi Christain,
Recently I have faced / seen issue, *SqlTableDependency *with
WindowsService.
As Suggested, I have created a Timer in my Window Service and checking
everything 2 minutes to avoid going into sleep or idle mode.
it is working like a charm and I have not seen any issue for 2 or 3 days,
after that suddenly it stopped receiving Notifications for changes in the
table. when I restarted the windows Services it is working fine.
I have not seen any exception, which are logging intern to our application.
Can you please suggest, what would be the possible sceanrio in this case
(let me know where I should check or set to avoid this case)
    private void _Timer_ElapsedEvent(object sender,

System.Timers.ElapsedEventArgs e)
{
int sync = Interlocked.CompareExchange(ref syncPoint, 1, 0);
if (sync == 0)
{
            //Check Previous state...
            fPreviousExecutionState = (uint)NativeMethods.KeepAlive();
            if (fPreviousExecutionState == 0)
            {
                //SetThreadExecutionState failed. Do something here...
                fPreviousExecutionState =

(uint)NativeMethods.KeepAlive();
}
            // Release control of syncPoint.
            syncPoint = 0;
        }
    }

    public static ExecutionState KeepAlive()
    {
        return SetThreadExecutionState(ExecutionState.ES_CONTINUOUS |

ExecutionState.ES_SYSTEM_REQUIRED);
}
Thanks
Suresh Seelam
On Fri, Mar 15, 2019 at 5:55 PM Suresh Babu Seelam<EMAIL_ADDRESS>wrote:

Thank you will check this if anything required will ping you back
Thanks
Suresh
On Fri, Mar 15, 2019 at 11:16 AM Christian Del Bianco <
<EMAIL_ADDRESS>wrote:

Ok. Remeber that Windows service must not go on IDDLE or SLEEP mode,
otherwise SqlTableDependency lost db connection are reported in home page:
Windows service using SqlTableDependency must not goes to SLEEP mode or
IDLE state. Sleep mode blocks SqlTableDependency code and this result in
running the database watch dog that drops all SqlTableDependency's db
objects (please see
https://stackoverflow.com/questions/6302185/how-to-prevent-windows-from-entering-idle-state
).
Bye.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/christiandelbianco/monitor-table-change-with-sqltabledependency/issues/131#issuecomment-473326145,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AmoDTdXs3wvY2xPuxhC6WGv0Gzwlm4TYks5vW7legaJpZM4bZ8iV
.

--
Regards,
Suresh Babu Seelam

--
Regards,
Suresh Babu Seelam

Hi Christian,
When I was looking into SQL Server Logs, I found below  Exceptions before
SQL Broker stopped working,
1. Service Broker needs to access the master key in the database
'WorkforceAdvisor'. Error code:32. The master key has to exist and the
service master key encryption is required.
2. The query notification dialog on conversation handle
'{2FE0AE37-1C5B-E911-9113-00505695705B}.' closed due to the following
error: '-8470Remote
http://schemas.microsoft.com/SQL/ServiceBroker/Error"><Code>-8470</Code><Description>Remote*
service has been dropped.'.*
3. The Service Broker endpoint is in disabled or stopped state.
I have register Error Event on SQLTableDependency() and I found the below
error Message "TableDependency stopped working"
*Is there way to address the above mentioned issues *
Thanks
*Suresh *
On Thu, Apr 11, 2019 at 3:53 PM Suresh Babu Seelam<EMAIL_ADDRESS>wrote:

Hi Christain,
Recently I have faced / seen issue, *SqlTableDependency *with
WindowsService.
As Suggested, I have created a Timer in my Window Service and checking
everything 2 minutes to avoid going into sleep or idle mode.
it is working like a charm and I have not seen any issue for 2 or 3 days,
after that suddenly it stopped receiving Notifications for changes in the
table. when I restarted the windows Services it is working fine.
I have not seen any exception, which are logging intern to our
application.
Can you please suggest, what would be the possible sceanrio in this case
(let me know where I should check or set to avoid this case)
    private void _Timer_ElapsedEvent(object sender,

System.Timers.ElapsedEventArgs e)
{
int sync = Interlocked.CompareExchange(ref syncPoint, 1, 0);
if (sync == 0)
{
            //Check Previous state...
            fPreviousExecutionState = (uint)NativeMethods.KeepAlive();
            if (fPreviousExecutionState == 0)
            {
                //SetThreadExecutionState failed. Do something here...
                fPreviousExecutionState =

(uint)NativeMethods.KeepAlive();
}
            // Release control of syncPoint.
            syncPoint = 0;
        }
    }

    public static ExecutionState KeepAlive()
    {
        return SetThreadExecutionState(ExecutionState.ES_CONTINUOUS |

ExecutionState.ES_SYSTEM_REQUIRED);
}
Thanks
Suresh Seelam
On Fri, Mar 15, 2019 at 5:55 PM Suresh Babu Seelam<EMAIL_ADDRESS>wrote:

Thank you will check this if anything required will ping you back
Thanks
Suresh
On Fri, Mar 15, 2019 at 11:16 AM Christian Del Bianco <
<EMAIL_ADDRESS>wrote:

Ok. Remeber that Windows service must not go on IDDLE or SLEEP mode,
otherwise SqlTableDependency lost db connection are reported in home page:
Windows service using SqlTableDependency must not goes to SLEEP mode or
IDLE state. Sleep mode blocks SqlTableDependency code and this result in
running the database watch dog that drops all SqlTableDependency's db
objects (please see
https://stackoverflow.com/questions/6302185/how-to-prevent-windows-from-entering-idle-state
).
Bye.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/christiandelbianco/monitor-table-change-with-sqltabledependency/issues/131#issuecomment-473326145,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AmoDTdXs3wvY2xPuxhC6WGv0Gzwlm4TYks5vW7legaJpZM4bZ8iV
.

--
Regards,
Suresh Babu Seelam

--
Regards,
Suresh Babu Seelam

--
Regards,
Suresh Babu Seelam


fix dependencies in template

Just started reviewing :) :octocat: Sent from GH.

Just started reviewing :) :octocat: Sent from GH.

Merged, thanks! See 8f5f157...e94b55f :octocat: Sent from GH.


Fix not working cpu map url

What this PR does / why we need it:
Link to supported cpu list was not working,
due to file changes in libvirt repo.
Updated link points to the new location.
Release note:

NONE

/cc @stu-gott

/cc @mfranczy

@mfranczy thanks, I have completely forget about the auto-generation.

/retest


Option to hide or censor the "Review your phone" pop up

I originally thought of hiding the entire pop up, but there's also the option of rewriting the text shown on it to:
a) show only the two last digits of your phone number like most platforms do
b) completely hide the phone number
Original tweet that gave me the idea is https://twitter.com/zombie_girlietv/status/1688406520084459520 - it's not the first time I see something like this.
In case the Tweet gets deleted, this is its content:

WARNING STREAMER FRIENDS, DO NOT BROWSE TWITTER WHILE YOU'RE LIVE!!
I just had this pop up without warning and it showed my whole god damn phone number without blanking anything out! Do not accidentally dox yourself!

I just got this, looks like they already fixed it.


samples: sensor: Convert to new DT_INST macros

Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

I hate reviewing this things where the possibility of typos is very high. And in these days I'm working from home with a small laptop. But I went thru it carefully and it LGTM. Didn't test it out though.

thanks


Publish 0.0.14 to Open VSX

osvx is broken and won't let me publish to Open VSX. For now, anyone using VSCodium can download the vsix from here, until I figure out how to work around it.

I think Open VSX has been fixed, but it still wouldn't let me publish 14, so I've just created version 15 which is identical and published that.


[Scheduled Maintenance] Automatin down for Maintenance

Additional context
We're switching servers. Exact times are still unknown.

oh yea this alr happened, no clue why the status page didn't notice :shrug: