text:
detected_text causes segmentation fault and crashes python runtime

Describe the bug
Using detected_text whether as a {detected_text} template substitution in the command-line, or within python code such as dtext = p.detected_text(confidence_threshold=0.5) will cause segmentation fault crashes to the python runtime. No further error information is available. It doesn’t crash in the same place every time.
To Reproduce
Steps to reproduce the behavior:

Command line

Command line: osxphotos export PhotosTest --export-by-date --skip-original-if-edited --skip-live --skip-bursts --skip-raw --jpeg-ext jpg --exiftool --keyword-template "{label?label:{label},}" --keyword-template "{detected_text?text:{detected_text},}" --keyword-template "{keyword?keyword:{keyword},}" --update --report export.csv --convert-to-jpeg --jpeg-quality "0" --preview --preview-suffix ".preview" --touch-file --cleanup --verbose --from-date "2023-05-06 00:00" --to-date "2023-05-12 23:59”
What was the error output?

Exporting 347 photos ━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  21% 0:00:38zsh: segmentation fault  osxphotos export PhotosTest --export-by-date --skip-original-if-edited

(command line cropped in terminal output)

Within python

statement dtext = p.detected_text(confidence_threshold=0.5)
Mostly segmentation fault. At one point I got a malloc error but didn’t copy it.

Expected behavior
Get the detected text without crashing.
This works most of the time, but will crash at some point every time when doing this over hundreds or thousands of photos.
Desktop (please complete the following information):

OS: Ventura 13.4
osxphotos version (osxphotos --version)

osxphotos, version 0.60.1
Python 3.9.1 (v3.9.1:1e5d33e9b9, Dec  7 2020, 12:10:52)
[Clang 6.0 (clang-600.0.57)]
macOS 10.16.0, x86_64

This sounds like it could be a memory leak in the detected_text code which is actually written in Objective-C and called from python. Will take a look when I get a chance.

@ces3001 I'll look at this bug but if you're running on Ventura, you can skip using osxphoto's detected text feature and just access the text that Photos has already detected. Results won't be 100% identical as Photos' uses a higher confidence level but it should be close.  Change your keyword template to:
--keyword-template "{photo.search_info.detected_text?text:{photo.search_info.detected_text},}"
This accesses the search_info property of a photo to directly get the detected text from the database.  It will be much faster too as the text detection won't need to take place at export time.

@all-contributors please add @ces3001 for bug

@ces3001 I'll look at this bug but if you're running on Ventura, you can skip using osxphoto's detected text feature and just access the text that Photos has already detected. Results won't be 100% identical as Photos' uses a higher confidence level but it should be close. Change your keyword template to:
--keyword-template "{photo.search_info.detected_text?text:{photo.search_info.detected_text},}"
This accesses the search_info property of a photo to directly get the detected text from the database. It will be much faster too as the text detection won't need to take place at export time.

Thanks, this is essentially what I ended up doing in python with your library. I moved from embedding all the metadata in the export files, to exporting images with only necessary metadata and accessing the metadata from python. Thank you!

repo: RhetTbull/osxphotos


text:
Dynamic Data on the Map View

The data view for each sensor point on the global map should have labels (Lat, Lon, DataType) in preparation for additional GHGs.

How is this different from #9?

Oh whoops. I copied the wrong description here it looks like. Let me resolve that

I think we should support two modes:

Live mode, where the map is constantly updating with the newest data
A user-defined time range (i.e. last 1hr, or a range like Jan-Feb), where the map and graph are static

In both cases, there should definitely only be one query.

Yeah that sounds great to me! I wonder if the live updating mode is actually useful or interesting? Probably I suspect?

The live map would probably just make the website interesting to visit haha

source: gharchive/issue

authors: brianstrauch keenanjohnson

repo: Ribbit-Network/ribbit-network-dashboard

license: MIT

license_type: permissive

license_source: github-api


text:
Empty lines in the log file between json lines

Filebeat will get the error
{"log.level":"error","@timestamp":"2022-12-02T16:54:15.327Z","log.logger":"reader_json","log.origin":{"file.name":"readjson/json.go","file.line":74},"message":"Error decoding JSON: EOF","service.name":"filebeat","ecs.version":"1.6.0"}
This is caused I suspect because of the blank spaces in the log files

Bug fixed!

This was probably fixed by https://github.com/RichardoC/kube-audit-rest/commit/c54beebee13d726c52a19d33316a04531eacc19b

authors: MarcoJMancini RichardoC

repo: RichardoC/kube-audit-rest


text:
FromForm FormData nullability doesn't handled correctly

Hi, community :)
I have an api endpoint, which receives [FromForm] parameter:
    [HttpPost]
    [ProducesResponseType(StatusCodes.Status200OK, Type = typeof(UpdateCanvasResponse))]
    public async Task<IActionResult> UpdateCanvas([FromForm] UpdateCanvasCommand command)
    {...

UpdateCanvasCommand has all optional (nullable) fields, except ID:
public class UpdateCanvasCommand : IRequest<ErrorOr<UpdateCanvasResponse>>
{
    public int Id { get; set; }

    // [JsonProperty(Required = Required.AllowNull, NullValueHandling = NullValueHandling.Include)]
    public string? Name { get; set; }

    public IFormFile? Icon { get; set; }
    public IEnumerable<string>? RemoveImages { get; set; }
    public bool? Publish { get; set; }
    public int? Areas { get; set; }
}

In nswag generated code I receive kinda strange checks, which don't allow me to pass null/undefined values for those optional fields:
updateCanvas(id: number | undefined, name: string | undefined, icon: FileParameter | undefined, removeImages: string[] | undefined, publish: boolean | undefined, areas: number | undefined, cancelToken?: CancelToken | undefined): Promise<UpdateCanvasResponse> {
        let url_ = this.baseUrl + "/api/Canvas/UpdateCanvas";
        url_ = url_.replace(/[?&]$/, "");

        const content_ = new FormData();
        if (id === null || id === undefined)
            throw new Error("The parameter 'id' cannot be null.");
        else
            content_.append("Id", id.toString());
        if (name === null || name === undefined)
            throw new Error("The parameter 'name' cannot be null.");
        else
            content_.append("Name", name.toString());
        if (icon === null || icon === undefined)
            throw new Error("The parameter 'icon' cannot be null.");
        else

Attempts to fix:

I've tried to add JsonProperty attribute - not effect
SupportNonNullableReferenceTypes, UseAllOfToExtendReferenceSchemas - no effect

Thanks for future advices!

I'm not sure this is a dupe of #4379 - the root cause of this issue is a lack of nullable on the spec, not a missing required entry.
For a class with a nullable property like:
/// <summary>
/// Item description
/// </summary>
public string? Description { get; set; }

generates this in the spec
"Description": {
	"type": "string",
	"description": "Item description"
  },

Which causes the typescript code to do the null.undefined checking
If the spec had the correct nullable in it like this
"Description": {
	"type": "string",
	"nullable": true,
	"description": "Item description"
  },

then everything is OK, the generated code looks like
if (description !== null && description !== undefined)
  content_.append("Description", description.toString());

In order to get Swashbuckle to create the nullable attribute that @dantheother mentioned above, you can can run a SchemaFilter like this:
public class NullabilitySchemaFilter : ISchemaFilter
{
    public void Apply(OpenApiSchema schema, SchemaFilterContext context)
    {
        // if the MemberInfo is a PropertyInfo then it's a property
        if (context.MemberInfo is PropertyInfo propertyInfo)
        {
            // create a new NullabilityInfoContext that we can use to extract Nullability info about the PropertyInfo
            // the overhead of multiple creations of this seem negligible
            var nullabilityInfoContext = new NullabilityInfoContext();

            // get the NullabilityInfo for the PropertyInfo
            var nullabilityInfo = nullabilityInfoContext.Create(propertyInfo);

            // check the nullability state of the Write/Setter
            if (nullabilityInfo.WriteState is NullabilityState.Nullable)
            {
                // update the schema with Nullable information
                schema.Nullable = true;
            }
        }
    }
}

And register is as part of the Swashbuckle AddSwaggerGen call
services.AddSwaggerGen(options =>
{
    options.SchemaFilter<NullabilitySchemaFilter>();
}

That should ensure that:
/// <summary>
/// Item description
/// </summary>
public string? Description { get; set; }

gets turned into:
"Description": {
    "type": "string",
    "nullable": true,
    "description": "Item description"
  },

authors: DreadfulBot ScottRapsey dantheother

repo: RicoSuter/NSwag


text:
Add compatibility with VE Outposts

Force Outposts to show on the orbiting world object and not in the ocean

Confirmed to be an issue, looking for a fix


text:
support field exclusion

Option to able to exclude exposing fields to GraphQL.

You can use the hidden option to exclude a field from exposure:
  hiddenField: {
    type: Date,
    default: Date.now,
    // the field is hidden, not available in GraphQL
    hidden: true
  },

authors: hekike tothandras

repo: RisingStack/graffiti-mongoose

license: mit

license_source: bigquery


text:
🛑 vms is down

In 648ffc5, vms (https://vms-api.sensoro.com/) was down:

HTTP code: 503
Response time: 4038 ms

Resolved: vms is back up in 027f242.

repo: Roarain/upptime


text:
Response headers have correct formatting in demo, but are incorrect with my server.

I am hoping to use Content-Length as returned in the response to show a progress indicator. Everything works great when using the demo at https://cors-anywhere.herokuapp.com/.
When I request an image through the demo on Heroku, I get response headers formatted as they should be, in Title Case, and Content-Length is present.
When I make the same request through my own server, the response headers are coming in lower-case, and Content-Length is not present (though most everything else is, just in lower-case).
Am I missing some config setting that is set up on the Heroku demo, or some other request header I should be sending along?
Response as returned from the Heroku demo:
General
Request URL:https://cors-anywhere.herokuapp.com/https://photos.smugmug.com/Archive/n-B8g7DC/Aerial-Landscapes/Skagit-River-Delta/i-5t4WWZn/0/17c9726d/1136x757.3333333333333/006SKG1675-1136x757.3333333333333.jpg
Request Method:GET
Status Code:200 OK
Remote Address:23.23.207.27:443
Referrer Policy:no-referrer-when-downgrade

Response Headers
Access-Control-Allow-Origin:*
Access-Control-Expose-Headers:content-type,content-length,connection,cache-control,content-md5,date,etag,expires,last-modified,p3p,server,smug-content-length,smug-s,strict-transport-security,x-env,x-frame-options,x-robots-tag,x-smug-ct,x-smug-d,x-smug-i,x-smug-ph,x-smug-rb,x-smug-v,x-ttfb,x-ttfb-l,x-ua-compatible,age,x-cache,via,x-amz-cf-id,x-final-url,access-control-allow-origin
Age:511
Cache-Control:public, max-age=31536000, must-revalidate
Connection:keep-alive
Content-Length:289681
Content-Md5:3wLV0knKNDA/vCocdBGTSw==
Content-Type:image/jpeg
Date:Fri, 10 Nov 2017 23:25:20 GMT
Etag:"aa256f86f273ceccd2eecaa8830fa576-1136x757.3333333333333.X2.0"
Expires:Sat, 10 Nov 2018 23:25:19 GMT
Last-Modified:Tue, 29 Mar 2016 13:31:15 GMT
P3p:CP="This is not a P3P policy. We respect your privacy."
Server:nginx
Smug-Content-Length:289681
Smug-S:1
Strict-Transport-Security:max-age=604800
Via:1.1 40c7f9ac0c01e97668f15d4b15f130a0.cloudfront.net (CloudFront), 1.1 vegur
X-Amz-Cf-Id:iG7IQb_K_gCFEY0fUXA7ggAz-gjKPqTfhziqNDQuCNC5I7ipGCY1_Q==
X-Cache:Hit from cloudfront
X-Env:live, photoserve, us-east-1e, i-0d60c53fd47720b16
X-Final-Url:https://photos.smugmug.com/Archive/n-B8g7DC/Aerial-Landscapes/Skagit-River-Delta/i-5t4WWZn/0/17c9726d/1136x757.3333333333333/006SKG1675-1136x757.3333333333333.jpg
X-Frame-Options:DENY
X-Request-Url:https://photos.smugmug.com/Archive/n-B8g7DC/Aerial-Landscapes/Skagit-River-Delta/i-5t4WWZn/0/17c9726d/1136x757.3333333333333/006SKG1675-1136x757.3333333333333.jpg
X-Robots-Tag:noarchive, noindex, nosnippet
X-Smug-Ct:m
X-Smug-D:Fri, 10 Nov 2017 15:25:20 PST
X-Smug-I:5t4WWZn-JPG-X2_1135x757.3333333333333@90
X-Smug-Ph:0.0182
X-Smug-Rb:0.8581 (289681)
X-Smug-V:5
X-Ttfb:0.8789
X-Ttfb-L:0
X-Ua-Compatible:IE=edge

Request Headers
Accept:application/json, text/plain, */*
Accept-Encoding:gzip, deflate, br
Accept-Language:en-US,en;q=0.8,fr;q=0.6,la;q=0.4,pt;q=0.2
Cache-Control:no-cache
Connection:keep-alive
Host:cors-anywhere.herokuapp.com
Origin:http://localhost:8080
Pragma:no-cache
Referer:http://localhost:8080/archive/aerial-landscapes/skagit-river-delta
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Response as returned from cors-anywhere running on my server
General
Request URL:https://proxybenjandsaracom-thhhzrkbfi.now.sh/https://photos.smugmug.com/Archive/n-B8g7DC/Aerial-Landscapes/Skagit-River-Delta/i-85WbnQT/0/01ede8d7/1136x757.3333333333333/006SKG1909-1136x757.3333333333333.jpg
Request Method:GET
Status Code:200
Remote Address:52.8.142.115:443
Referrer Policy:no-referrer-when-downgrade

Response Headers
access-control-allow-origin:*
access-control-expose-headers:content-type,content-length,connection,cache-control,content-md5,date,etag,expires,last-modified,p3p,server,smug-content-length,smug-s,strict-transport-security,x-env,x-frame-options,x-robots-tag,x-smug-ct,x-smug-d,x-smug-i,x-smug-ph,x-smug-rb,x-smug-v,x-ttfb,x-ttfb-l,x-ua-compatible,age,x-cache,via,x-amz-cf-id,x-final-url,access-control-allow-origin
age:15772
cache-control:public, max-age=31536000, must-revalidate
content-encoding:br
content-md5:/c+hl4wxrPVr3+lSdIAT6g==
content-type:image/jpeg
date:Fri, 10 Nov 2017 23:33:07 GMT
etag:W/"d50b19c754ee42ce4fb87b1407a813d6-1136x757.3333333333333.X2.0"
expires:Sat, 10 Nov 2018 19:10:14 GMT
last-modified:Tue, 29 Mar 2016 13:28:38 GMT
p3p:CP="This is not a P3P policy. We respect your privacy."
server:now
smug-content-length:688129
smug-s:1
status:200
strict-transport-security:max-age=604800
via:1.1 dc7c4fb5024ff022cad1642ec506a6e8.cloudfront.net (CloudFront)
x-amz-cf-id:CUp-RGgMHykPSnbevZfwkbmuW6trXR4XErWJf7LCcc-MeJsu0Vh9uQ==
x-cache:Hit from cloudfront
x-env:live, photoserve, us-east-1b, i-0f113a56df44534ce
x-final-url:https://photos.smugmug.com/Archive/n-B8g7DC/Aerial-Landscapes/Skagit-River-Delta/i-85WbnQT/0/01ede8d7/1136x757.3333333333333/006SKG1909-1136x757.3333333333333.jpg
x-frame-options:DENY
x-now-region:now-sfo
x-request-url:https://photos.smugmug.com/Archive/n-B8g7DC/Aerial-Landscapes/Skagit-River-Delta/i-85WbnQT/0/01ede8d7/1136x757.3333333333333/006SKG1909-1136x757.3333333333333.jpg
x-robots-tag:noarchive, noindex, nosnippet
x-smug-ct:m
x-smug-d:Fri, 10 Nov 2017 11:10:14 PST
x-smug-i:85WbnQT-JPG-X2_1135x757.3333333333333@90
x-smug-ph:0.0262
x-smug-rb:0.6142 (688129)
x-smug-v:5
x-ttfb:0.6452
x-ttfb-l:0
x-ua-compatible:IE=edge

Request Headers
:authority:proxybenjandsaracom-thhhzrkbfi.now.sh
:method:GET
:path:/https://photos.smugmug.com/Archive/n-B8g7DC/Aerial-Landscapes/Skagit-River-Delta/i-85WbnQT/0/01ede8d7/1136x757.3333333333333/006SKG1909-1136x757.3333333333333.jpg
:scheme:https
accept:application/json, text/plain, */*
accept-encoding:gzip, deflate, br
accept-language:en-US,en;q=0.8,fr;q=0.6,la;q=0.4,pt;q=0.2
cache-control:no-cache
origin:http://localhost:8080
pragma:no-cache
referer:http://localhost:8080/archive/aerial-landscapes/skagit-river-delta
user-agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

My server setup
(Running on Zeit's now service):
const host = process.env.HOST || '0.0.0.0'
const port = process.env.PORT || 8081

const proxy = require('cors-anywhere')

proxy.createServer({
  originWhitelist: [
    'http://localhost:8080'
  ],
  requireHeader: [
    'Origin',
    'X-Requested-With'
  ],
  removeHeaders: [
    'cookie',
    'cookie2'
  ]
}).listen(port, host, function () {
  console.log('Running CORS Anywhere on ' + host + ':' + port)
})

Update: the response coming from my server includes content-encoding:br, while this is not present from the demo server response. I think I need to set Accept-Encoding to none so that the data is not gzip'ed or otherwise compressed (these are jpgs).
Adding 'accept-encoding': 'none' in setHeaders, or adding accept-encoding to removeHeaders still resulted in accept-encoding:gzip, deflate, br showing up in the request headers.
Is there another way to ensure accept-encoding is set to none?

I tried to reproduce your issue with curl, but no success so far (i.e. I am not getting Brotli-encoded responses)
# After starting the default CORS Anywhere demo (server.js)
curl -vvv 'http://localhost:8080/[smugmug url here]' -H 'Origin: null' -H 'Accept-Encoding: br'

Can you provide an example that shows the issue?

Hey @Rob--W thanks for providing this project and getting back to me. After digging into this more I'm pretty sure that this is more about the server I'm running it on, and not a problem with cors-anywhere. Closing.

@elcontraption Did you ever get this working on Zeit / now.sh?

@jam3sn This was a while back, and I don't remember if I was able to get anything working on now.sh. I believe I ended up hosting cors-anywhere on a Digital Ocean droplet.

authors: Rob--W elcontraption jam3sn

repo: Rob--W/cors-anywhere


text:
Return only specific fields from repository query?

I have a collection of documents who have a group of simple primitive fields (id, name, status) but also have a very large array on each. As an optimization to reduce query time I would like to only return the light weight document fields when querying the collection, similar to how a "select col1,col2,col3 from tbl" would work in SQL vs the "select * from tbl" I feel that mongo/mongorepository is doing.
Example:
Assume document model { id: 'string', name: 'string', bigarray: [{lots:'data'}]}
For a specific query, I only want to return models with id and name property to save bandwidth and query time by not returning the large payload of the bigarray property. I tried the following, but it feels like it's returning the entire document prior to creating the sparse model.
Repository.SearchFor(c=>c.id=="1234").Select(d=>new model(){ id=d.id, name=d.name}).ToList();
Here's my IRepository SearchFor implementation:
public IQueryable SearchFor(System.Linq.Expressions.Expression<Func<Model, bool>> predicate)
{
return Repository.Where(predicate);
}
Is it possible to return only specific fields from collection documents to create sparse models? I know about BSONIgnore, but that doesn't suit my needs, I need the bigarray property persisted since other queries need to return the full document and rely on that field.
As a longer term fix I'm in the process of refactoring the schema to move the "bigarray" property into it's own collection, and link with a relationship id, but I'm looking for a fix for the interim.
Thanks!

Is it possible to return only specific fields from collection documents to create sparse models?

Not at the "MongoRepository" level. At least, not in a way you want to.
Assume the following program:
using MongoRepository;
using System.Linq;

class Program
{
    static void Main(string[] args)
    {
        var small_repo = new MongoRepository<SmallObject>();
        var large_repo = new MongoRepository<LargeObject>();
        var values = Enumerable.Range(0, 10000).ToArray();

        small_repo.Add(Enumerable.Range(0, 100).Select(i => new SmallObject { Name = "so" + i }));

        large_repo.Add(Enumerable.Range(0, 100).Select(i => new LargeObject { Name = "bo" + i, Values = values }));
    }
}

[CollectionName("myobjects")]
public class SmallObject : Entity
{
    public string Name { get; set; }
}

[CollectionName("myobjects")]
public class LargeObject : Entity
{
    public string Name { get; set; }
    public int[] Values { get; set; }
}

This would create a single collection of small and large objects. You could retrieve a large object as a small object because it happens to have the same fields:
var result = small_repo.Where(o => o.Name == "bo65").Single();

However, as profiling shows the entire object is returned and 'sent over the wire:
{
  "op" : "query",
  "ns" : "TestObjects.myobjects",
  "query" : {
    "Name" : "bo65"
  },
  //...
  "nscanned" : 200,
  "nscannedObjects" : 200,
  //...
  "nreturned" : 1,
  "responseLength" : 98960,
  //...
}

(See the responseLength key)
This makes sense since we have no way of specifying which fields of the document to return; all MongoRepository has/knows are the entities. You could go around MongoRepository and use a projection.

Thank you, that's what I needed to know!

authors: RobThree mellodev

repo: RobThree/MongoRepository


text:
PCL support?

Does this work with PCLs, specifically PCL profile 78?  That's the default profile used by Xamarin.Forms apps.
I can add it via Nuget with no errors, but I don't think it worked.  I can't add a using statement for it, and can't find the FeedReader() constructor.

FYI when using Profile111, when installing into a PCL library this package is not automatically added as a reference.
PM> Install-Package SimpleFeedReader
Attempting to gather dependencies information for package 'SimpleFeedReader.1.0.4' with respect to project 'ReactiveReader.Core', targeting '.NETPortable,Version=v4.5,Profile=Profile111'
Attempting to resolve dependencies for package 'SimpleFeedReader.1.0.4' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SimpleFeedReader.1.0.4'
Resolved actions to install package 'SimpleFeedReader.1.0.4'
Adding package 'SimpleFeedReader.1.0.4' to folder 'D:\Dropbox\oss\rxui-samples\ReactiveReader\packages'
Added package 'SimpleFeedReader.1.0.4' to folder 'D:\Dropbox\oss\rxui-samples\ReactiveReader\packages'
Added package 'SimpleFeedReader.1.0.4' to 'packages.config'
Successfully installed 'SimpleFeedReader 1.0.4' to ReactiveReader.Core

FYI when using Profile111, when installing into a PCL library this package is not automatically added as a reference. Additionally Documentation.chm is incorrectly added to the project.
PM> Install-Package SimpleFeedReader
Attempting to gather dependencies information for package 'SimpleFeedReader.1.0.4' with respect to project 'ReactiveReader.Core', targeting '.NETPortable,Version=v4.5,Profile=Profile111'
Attempting to resolve dependencies for package 'SimpleFeedReader.1.0.4' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SimpleFeedReader.1.0.4'
Resolved actions to install package 'SimpleFeedReader.1.0.4'
Adding package 'SimpleFeedReader.1.0.4' to folder 'D:\Dropbox\oss\rxui-samples\ReactiveReader\packages'
Added package 'SimpleFeedReader.1.0.4' to folder 'D:\Dropbox\oss\rxui-samples\ReactiveReader\packages'
Added package 'SimpleFeedReader.1.0.4' to 'packages.config'
Successfully installed 'SimpleFeedReader 1.0.4' to ReactiveReader.Core

I have never used Xamarin nor any idea how these "PCL profiles" work (or should work). I understand from @ghuntley's post that the reference is missing? Does it work when it's added manually?
Why is `documentation.chm' added "incorrectly"? For Windows/VisualStudio that's intended behaviour (though I do consider no longer adding it to the solution, leaving it in the '/packages' directory for reference).

Hey Rob,
re: xamarin
Free for open-source developers, like you if you fill in this form and link back to this issue/project.
When filling it out and ask for iOS, Android and Mac licenses.
https://resources.xamarin.com/open-source-contributor.html
re: documentation.chm
I'd recommend removing it from the solution and putting it (and the source code used to build) in /packages
re: pcl
Have a read of this which explains PCL's:
https://oren.codes/2015/06/16/demystifying-pcls-net-core-dnx-and-uwp-redux/
The numbers represent target, right now you target net40-client.
https://github.com/RobThree/SimpleFeedReader/blob/master/SimpleFeedReader.nuspec#L24-L25
Here's an example of my library which targets Profile111, Profile259 and Profile78 (which is what you want evolve towards)
https://github.com/ghuntley/conditions/blob/master/nuget/Conditions.nuspec#L22-L23
re: migrating to pcl

Create new PCL project, targeting Profile111 (look at the .csproj)
Drag and drop your existing code into the new project.
Update tests reference, ensure tests are green.
Delete old project.
Update your nuspec (see mine)

:+1:

Not sure but does #11 help?

authors: RobThree gc435 ghuntley

repo: RobThree/SimpleFeedReader


text:
Spring MVC integration example

Hi,
I was wondering if you could provide an integration example without Spring Boot. It would be very useful for new users. Until now I could not get it to work.
Karens

Hi,
how do you do End2End-Tests in your project?
Robert

I am using PowerMock 1.5.4.
Until now I only added @RunWith(PowerMockRunner.class)

Swagger2Markup requires a running application, which means you must deploy your Spring application in a servlet container like Tomcat or Jetty.
Using Spring Boot it's easy to test your application. See my demo https://github.com/RobWin/spring-swagger2markup-demo.
If you use only the Spring Framework and Gradle, you could use https://github.com/akhikhl/gretty.
If you use maven, you could use http://arquillian.org/ and https://github.com/arquillian/arquillian-showcase/tree/master/spring

I am using org.springframework.web.servlet.DispatcherServlet as server class in my web.xml  deployed on jboss server. This is already a running application, right?
I also use Maven.

No. It's not a running application, if you only use @RunWith(PowerMockRunner.class).
As far as I know PowerMockRunner does not start the JBoss server.
If you use Spring JavaConfig, then have a look at https://github.com/arquillian/arquillian-showcase/tree/master/spring/spring-javaconfig/src/test/java/com/acme/spring/javaconfig
The Deployments class is important and in your test classs you must use:
@RunWith(Arquillian.class)
@SpringAnnotationConfiguration(classes = StockConfig.class)

Did it help you?

I experimented yesterday with the setup, however I did not get it to work, due to old spring dependencies such com.acme.*. I think I will let it rest for a while because I do not feel comfortable to include arquillian in to my application.
Thanks a lot for your help though

If you have a demo on Github I can have a look at it.

No need to do so, it is not on github. Thanks for the offered help.
I might consider trying the swagger codegen library in the future.


text:
support for petkit yumshare dual-hopper with camera

Hello, I have purchased the Petkit yumshare dual-hopper with camera and I would like to know if it would be possible to integrate it. Thank you so much!

I am currently working on it.


text:
Object doesn't support property or method '_valueGet' in version 3.3.7

Unhandled exception at line 1246, column 34 in http://localhost:49300/Scripts/jquery.inputmask.bundle.js
0x800a01b6 - JavaScript runtime error: Object doesn't support property or method '_valueGet'
I'm getting the above error which I didn't use to get, it only occurs on a postback within a modal popup.  It's probably something I'm doing wrong.  On the client side after the postback in order to apply the input masks again OnDocumentReady I'm calling the following:
var inputs = document.querySelectorAll("input");
Inputmask().mask(inputs);

Thanks.

@tdinpsp ,
Is this an ajax post?  Can you share some info about the masks used ?

It’s not an ajax post in the sense that it is not contained within an UpdatePanel.  The mask itself is pretty simple “999”.  I did some further investigation and I think it is at least partially a browser issue combined with TextMode=”Number”.  Chrome has an issue but Internet Explorer does not.  As I said I figured the issue was likely to be something I did but maybe it is something you might run into more often in the future.
Tarang
From: Robin Herbots [mailto:notifications@github.com]
Sent: Sunday, July 9, 2017 3:01 PM
To: RobinHerbots/Inputmask Inputmask@noreply.github.com
Cc: Tarang Deshpande tarang@inferant.com; Mention mention@noreply.github.com
Subject: Re: [RobinHerbots/Inputmask] Object doesn't support property or method '_valueGet' in version 3.3.7 (#1645)
@tdinpsphttps://github.com/tdinpsp ,
Is this an ajax post? Can you share some info about the masks used ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/RobinHerbots/Inputmask/issues/1645#issuecomment-313968414, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbcRsaEl2fB3ju8MrL97HY9B1GqoCyIOks5sMU23gaJpZM4ORY4_.

@tdinpsp ,
Thx for the feedback.  I fixed the issue in the 4.x branch.  I will merge the change back to the 3.x branch soon.
It had todo with the unsupported  type=number, which in chrome is natively supported and the inputmask not being applied and ie does not support type=number and thus the inputmask was applied.....  calling the masking repeatedly, call for a removal of the mask before remasking and there came from.

Where can I find this fix?  Which version of the jquery.inputmask.js file is this in?
Thanks!!
I get this error using IE11

@tonym99 ,
Get version 3.3.8

Thanks, this worked great!!
Tony

authors: RobinHerbots tdinpsp tonym99

repo: RobinHerbots/Inputmask


text:
Less ambiguity to what 'SECRET TOOL' is?

It seems this substitution has been overlooked, but it's present on the index page. I think it would be helpful to disclose what this actually is. Alternatively, the mention of SECRET TOOL can be removed entirely?

The latter it is then! Sounds good.

No SECRET TOOL - no problem!

@zeux When will we learn what SECRET TOOL is?

source: gharchive/pull-request

repo: Roblox/luau


text:
Dealer score weights

The dealer has a score that is minimized by the distance but maximized by the flags and properties. This may cause a bug in role allocation. The problem should be investigated

The functionality was misunderstood. Property provides a scroe 0 if the property is set


text:
Velocities in roboteam_world are wrong

Describe the bug
Sometimes the velocities are a factor of 10^5 or so too small. I have difficulty reproducing the bug. Problem was solved upon restarting roboteam world. I expect it's either in roboteam_world, grSim or roboteam_ai.
To Reproduce
??? Restart a million times
Expected behavior
It just works like normal?

I just came across this as well. it appears it happens if you restart GrSim while keeping roboteam AI running.

This bug is in roboteam_world because of time dependencies and will only happen when you restart grSim whilst roboteam_world is running.

authors: mrlukasbos rolfvdhulst


text:
Vyjimka pri prodeji participaci

Verze: 6.1.1
Runtime: Docker
22:16:21.619 WARN  Listener class com.github.robozonky.notifications.listeners.InvestmentSoldEventListener failed for LazyEventImpl{eventType=interface com.github.robozonky.api.notifications.InvestmentSoldEvent}.
java.lang.IllegalStateException: Event processing failed.
	at com.github.robozonky.notifications.listeners.AbstractListener.handle(AbstractListener.java:178) ~[robozonky-app-6.1.1-full.jar:?]
	at com.github.robozonky.app.events.SessionEvents.fireAny(SessionEvents.java:123) ~[robozonky-app-6.1.1-full.jar:?]
	at com.github.robozonky.app.events.SessionEvents$EventTriggerRunnable.run(SessionEvents.java:196) ~[robozonky-app-6.1.1-full.jar:?]
	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1800) ~[?:?]
	at java.lang.Thread.run(Thread.java:832) [?:?]
Caused by: java.util.ConcurrentModificationException
	at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1699) ~[?:?]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
	at com.github.robozonky.internal.state.StateModifier.put(StateModifier.java:55) ~[robozonky-app-6.1.1-full.jar:?]
	at com.github.robozonky.internal.state.StateModifier.put(StateModifier.java:42) ~[robozonky-app-6.1.1-full.jar:?]
	at com.github.robozonky.notifications.Counter.lambda$store$2(Counter.java:78) ~[robozonky-app-6.1.1-full.jar:?]
	at com.github.robozonky.internal.state.InstanceStateImpl.execute(InstanceStateImpl.java:44) ~[robozonky-app-6.1.1-full.jar:?]
	at com.github.robozonky.internal.state.InstanceStateImpl.reset(InstanceStateImpl.java:55) ~[robozonky-app-6.1.1-full.jar:?]
	at com.github.robozonky.notifications.Counter.store(Counter.java:78) ~[robozonky-app-6.1.1-full.jar:?]
	at com.github.robozonky.notifications.Counter.increase(Counter.java:96) ~[robozonky-app-6.1.1-full.jar:?]
	at com.github.robozonky.notifications.AbstractTargetHandler.offer(AbstractTargetHandler.java:144) ~[robozonky-app-6.1.1-full.jar:?]
	at com.github.robozonky.notifications.listeners.AbstractListener.handle(AbstractListener.java:175) ~[robozonky-app-6.1.1-full.jar:?]
	... 4 more

Strategie: https://robozonky.github.io/konfigurace-strategie/?fbclid=IwAR3QBeL8lSewipIIoYrxIffoPunMIFS6AfVQZ2ixvPltZowSbjQdfcaYnFY#Njt7ImgiOnsiYSI6MCwiYiI6WyIyIiwiMS40LjIwMjAiLCIzMC4zLjIwMjAiXSwiYyI6WzFdLCJkIjoyMDAsImQxIjoyMDAsImcxIjoxfSwiaiI6WzIwMCwyMDAsMjAwLDIwMCwyMDAsMjAwLDIwMCwyMDAsMjAwLDIwMCwyMDBdLCJqMSI6WzIwMCwyMDAsMjAwLDIwMCwyMDAsMjAwLDIwMCwyMDAsMjAwLDIwMCwyMDBdLCJrIjp7Im8iOjJ9LCJsIjp7Im0iOjEsIm4iOlt7InMiOjMsInQiOnsiVCI6WzVdLCJNIjpbMywxXSwiUCI6ZmFsc2V9LCJ1Ijp7fX1dfX0=

Díky, mrknu na to.

Oprava bude v 6.2.0 někdy během 14 dní.
Jen jedna poznámka k odkázané strategii - s problémem to nijak nesouvisí, ale ta podmínka pro Zonky exit daleko v minulosti je tam schválně? Zaujalo mě to.

Zadny zamer, je to akorat vysledek pokusu nakonfigurovat strategii aby opustila Zonky ASAP (a rikal jsem si, ze konfigurace v minulosti to nasimuluje, jako kdyby nekdo uz mel robota ve stavu opousteni nejakou dobu).

authors: triceo vvondra

repo: RoboZonky/robozonky


text:
Faster XIP Extraction

Tell us how we can improve Xcodes
More of a question, does Xcodes use the command line xip tool? I read this Twitter thread and they describe how .xip can be faster extracted. It seems to relate to not using Archive Utility, which I believe Xcodes uses, unless I'm mistaken?
What would you like to see? How would you like it to work?
I'd love some confirmation on whether or not Xcodes uses the xip tool or Archive Utility?

Hey @WillBishop
Yep Xcodes uses xip command line when extracting. You can see that here: https://github.com/RobotsAndPencils/XcodesApp/blob/83fa00b21fbe54594d5a1a37ef7a4cf830488cee/Xcodes/Backend/Environment.swift#L28
If there is anything that we could ever do to make that process faster we absolutely would add it in.

You could try this https://github.com/saagarjha/unxip

😉
https://github.com/RobotsAndPencils/XcodesApp/pull/179

This is available to test on 1.3.0 (in prerelease) https://github.com/RobotsAndPencils/XcodesApp/releases/tag/v1.3.0b10
Make sure your Include prerelease app versions is checked

@MattKiazyk thanks I'll try it

Closing this ticket as the faster unxip experiment is no in general release as of 1.3.1

authors: MattKiazyk WillBishop mackoj

repo: RobotsAndPencils/XcodesApp


text:
Password can't be changed

Description
I'm trying to change it, after that I have a notification, which says "Password changed successfully", but in fact it isn't changed
P.S. In any case, it will be great to enter current password, before changing it for more security. Because in other case it is better to use "Forgot Password"
Devices and Versions

Your Rocket.Chat.Android version: 2.4.0
Your Rocket.Chat Server version: open.rocket.chat

Mobile device model and OS version: Pixel 2 API 24
Steps to reproduce
Menu -> Settings -> Change Password -> Type the new one -> confirm -> Logout -> Login to server with new password -> Unathorized

@dachnikrus Is this still reproducible?

authors: dachnikrus rafaelks


text:
Notification

My Setup

Operating System: Win10
App Version: v2.15.5
Installation type: rocketchat-setup-2.15.5.exe

[x ] I have tested with the latest version
[ ] I can simulate the issue easily

Description
Any new message, notification is missing. Icon in taskbar is not changing color.

Read the links here:
https://github.com/RocketChat/Rocket.Chat/issues/new?template=bug_report.md
Some server information is required.
Also check you push notifications settings. Follow the logic here.
https://rocket.chat/2019/09/27/push-notification/

Pretty sure this is a duplicate of #1376 ?

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!

authors: ddbrandonb dinosubasic jeanfbrito reetp


text:
Rocket.Chat doesnt open after building and installing

Hey,
when I start the App via "yarn start" it opens and it's usable. When I do "yarn release" everything works fine and the exe's are in the dist folder. But when I go through the installer and want to start it after it is installed successfully, nothing happens. Dont got any errors in the CMD window while building.

I have the same problem

I have the same problem

I've faced some issues with this aswell, for me the following procedure worked:

git clone the master branch
change line 15 of the rollup.config.js from development to production (const NODE_ENV = process.env.NODE_ENV || 'production';)
change the "yarn release" command at the package.json at line 27 from onTagOrDraft to never, so the electron-builder does not try to upload any files. ("release": "yarn electron-builder --publish never --x64",)
run "yarn" to build the node modules
run "yarn build" to build the app
run "yarn start" or "yarn release" to test or release the app

I've faced some issues with this aswell, for me the following procedure worked:

git clone the master branch
change line 15 of the rollup.config.js from development to production (const NODE_ENV = process.env.NODE_ENV || 'production';)
change the "yarn release" command at the package.json at line 27 from onTagOrDraft to never, so the electron-builder does not try to upload any files. ("release": "yarn electron-builder --publish never --x64",)
run "yarn" to build the node modules
run "yarn build" to build the app
run "yarn start" or "yarn release" to test or release the app

I've faced some issues with this aswell, for me the following procedure worked:

git clone the master branch
change line 15 of the rollup.config.js from development to production (const NODE_ENV = process.env.NODE_ENV || 'production';)
change the "yarn release" command at the package.json at line 27 from onTagOrDraft to never, so the electron-builder does not try to upload any files. ("release": "yarn electron-builder --publish never --x64",)
run "yarn" to build the node modules
run "yarn build" to build the app
run "yarn start" or "yarn release" to test or release the app
It worked.
Thank you very much!

I've faced some issues with this aswell, for me the following procedure worked:

git clone the master branch
change line 15 of the rollup.config.js from development to production (const NODE_ENV = process.env.NODE_ENV || 'production';)
change the "yarn release" command at the package.json at line 27 from onTagOrDraft to never, so the electron-builder does not try to upload any files. ("release": "yarn electron-builder --publish never --x64",)
run "yarn" to build the node modules
run "yarn build" to build the app
run "yarn start" or "yarn release" to test or release the app
It worked.
Thank you very much!

I've faced some issues with this aswell, for me the following procedure worked:
* git clone the master branch

* change line 15 of the rollup.config.js from development to production (const NODE_ENV = process.env.NODE_ENV || '**production**';)

* change the "yarn release" command at the package.json at line 27 from onTagOrDraft to never, so the electron-builder does not try to upload any files. ("release": "yarn electron-builder --publish **never** --x64",)

* run "yarn" to build the node modules

* run "yarn build" to build the app

* run "yarn start" or "yarn release" to test or release the app

Same problem here, in addition, i have add package cross-env and create two scripts in package.json:
Dependency for environment variables in script execution.

"cross-env": "^7.0.3"

Production (I think "start" command run per default after packaging, need confirmation)

"start": "run-s clean build:watch"

Development:

"dev": "cross-env NODE_ENV=development run-s clean build:watch"

i have tested and the result created two files in:

C:\Users\YOU_USER\AppData\Roaming

Rocket.Chat and Rocket.Chat(development). Before, the production file has empty.
This was the solution i found, i don't know if it is the best, but it solved it. I hope I have helped you in something. Sorry for the english.

authors: Luke-CSE ValterSilvaJr nos03 taihoa timololipop


text:
Embed.Length Evaluates to 0 If Any Operand Is Null

If any of the Embed's properties which are operands in the calculation are null, the whole expression that is the left operand of the null-coalescing operator will evaluate to null. This causes the operator to return its right operand 0. Note that the null-coalescing operator has lower precedence than the addition operator.
Related documentation:

The predefined unary and binary operators and any user-defined operators that exist for value types may also be used by nullable types. These operators produce a null value if the operands are null; otherwise, the operator uses the contained value to calculate the result.

Probably among other things, I've noticed this has the consequence of EmbedBuilder.Build() not throwing InvalidOperationException.
Is this working as intended? Seems like an oversight to me.

This isn't quite correct. If you add null with an int, the compiler will make it an int?. However, there is still one oversight; since Fields.Sum(f => f.Name.Length + f.Value.ToString().Length) does its calculation without the safe operator, Fields.Sum will return an int and will throw if there are no field name/value.

This should be resolved in 2988b38.


text:
Write integration test for index.ts

Index.ts is the place where it all comes together. So this is an integration test rather than a unit test. Skipped #88 .

Done (including some API changes)


text:
How to get a list of changes

New to DynamicData.
I have a grid that are populated by dynamic data, everything seems to be working.  When I make changes to a field, I will get
_myList.Connect()
//.QueryWhenChanged()
.WhenAnyPropertyChanged()
.Subscribe(t =>
{
                Debug.Print(t.Symbol);
                Debug.Print(t.SymbolID.ToString());

            }
            );

which is great.
However, when a user click a SAVE button to save all the changes, I was hoping I can do something like
OKCmd = ReactiveCommand.Create(() =>
{
// Status = $"{EnteredText} is saved.";
var change = _myList
.Connect()
.ToObservableChangeSet()
.ToCollection();
//    .QueryWhenChanged();
// Save a list of changes to database
// var changeSet = change .ToObservableChangeSet().ToCollection().ToList();
//var person = _myList.Connect().WhenAnyPropertyChanged();
            //    );
        }
        );

changeSet to me a list of changes and also the new items, but I don't seem to be able to do it.

Probably you could do somewhat like:
// Declare a collection containing your items.
ReadOnlyObservableCollection<Item> _items;

// This is how you update the collection declared above.
connectable
    .Connect()
    .WhenAnyPropertyChanged()
    .Bind(out _items)
    .Subscribe();

// Access all items in the Save command!
Save = ReactiveCommand.CreateFromTask(async () => {
  await storage.Save(_items);
});

If your are writing unit tests. then the following code could be a way to go:
var aggregator = connectable.Connect().AsAggregator();
aggregator.Data.Count // items count
aggregator.Data.Items // items themselves

Worth reading ReactiveUI Collections Handbook btw.

OK,  so ToObservableChangeSet() won't give me a list of changes?
So I need to save a copy of what's changed and save it later, nothing magical.

ToObservableChangeSet() will definitely give you a list of changes, but it will be lazily evaluated, so keeping a separate collection with changed items and updating it using Bind would be a better idea IMHO. Btw it would be even better to ask questions on StackOverflow or in ReactiveUI Slack (DynamicData channel). Folks use Github Issues primarily for bug reports or feature requests, and it is highly likely that someone will help if you join Slack and ask there.

repo: RolandPheasant/DynamicData


text:
[RunequestGQS] Translations via Crowdin not committed

Hello,
I've proposed french translations of the RunequestGQS sheet via Crowdin 2 weeks ago (may 25th) but the two last commits didn'nt embark them.
Can you do something ?
BRgds

The sheet was rolled back and there are no translation attributes in the current version.
with the offending head and body tags removed.
https://app.roll20.net/forum/post/8695053/runequest-character-sheet-issues

Thanks for the explanation...
Any chance the tags will be back?

No by me


text:
[HeroSystem6eHeroic] Fixes for styling and readability in dark mode.

Changes / Comments
Fix to remove white background color in dark mode.
Fix to restore readability of numeric results produced by roll templates.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[X] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[X] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


text:
Ghostbusters Sheet:  Added Ghost Die, Special Abilities; Fixed Talent Bug

*Added the Ghost Die back into the game
*Added repeating fields for Ghost Special Abilities along with a roll button for each ability
*Fixed a bug with the Talent rolls where it wasn't correctly getting the appropriate trait and then adding the die sets together before rolling them.
*Set Talent score default to value of 3

There is already a DCC sheet. We try to keep it to 1 sheet per system, except for the super popular systems. Is this new sheet an upgraded version of the old sheet? Meaning can we remove the old sheet in place of this sheet without losing any functionality. Can someone using the old sheet switch to this sheet without losing anything?

Having used both the currently published sheet and this one, I find this sheet is much more functional than the current sheet available on Roll20.  I would love to see this added as an option for others to enjoy as well. Great work @amandasearle !

The tabbed sheet is a much upgraded version of the old sheet and I tried to keep as many of the same variables names as I could, but I completely reworked the spellbook, the armor and the weapons sections which now use different naming conventions.

This DCC character sheet has more features and is much more robust than the previous one. It's very well done. Thank you!

For right now, closing this pull request to try and fix my respository.  I will be re-submitting this though.

authors: Simlasa amandasearle cmengel pjbehr87


text:
Gamma World 2e

A branch from the Metamorphosis Alpha Character Sheet.  This sheet allows for skill chacksand attack rolls to be made from the sheet.  NPCs and Robots page still need to be implemented.

You've got merge conflicts and I cannot complete the PR. You need to make sure that your local branch is up to date before making changes. The easiest way to fix these conflicts may be to delete this branch, create a new fork from master, and re-applying your changes before submitting a new pull request. Please fix these conflicts and reopen the PR and I will merge it.

authors: Pantsorama wing-it


text:
[Pokemon Tabletop Adventures_v3] Changing Skill Ability Modifiers

Changes / Comments

Adds a new option to the configuration page which allows swapping the associated ability for each skill - and the capture pokémon meta-skill
Updates CSS to allow for attribute-based colouring of each skill field
Updates sheet workers to allow for double-dipping into getting attributes, and slightly refactors them to be more generic! Woo!

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name. Yes
[x] Is this a bug fix? No
[x] Does this add functional enhancements (new features or extending existing features)? Yes
[x] Does this add or change functional aesthetics (such as layout or color scheme)? Yeah... kinda
[x] If changing or removing attributes, what steps have you taken, if any, to preserve player data? Nothing removed
[x] If this is a new sheet, did you follow Building Character Sheets standards? Nope!

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

Character Sheet Info Roll20 Internal Use only.


text:
Alertes pour les produits qu'il faut consommer rapidement

Liste des produits possédés à consommer avant  une ou plusieurs échéances données.
Les échéances sont :

Déjà expiré
2 jours
5 jours
7 jours
14 jours

Coût : 3 -> 5

[x] Front
[x] Back

Closed by #0c5288b3490b2e06d2bbe0b91333d8e2eb67fa84

Closed by #0c5288b3490b2e06d2bbe0b91333d8e2eb67fa84

authors: FannyLourioux RomainVacheret

repo: RomainVacheret/Wadge-FrontEnd


text:
Get Wind

Get Data from openWeather about Wind

Hello, can I work on this issue for one of my classes in school?

Are you ready to be assignee?

Sure :)

Don't forget about Contributing Guide

authors: Roman-wdesign simonkrizo

repo: Roman-wdesign/Weather-app


text:
Add more test case

Also I've added more test file for RBQEntityChangesObjectTests.m and RBQFetchedResultsSectionInfoTests.m.
If looks ok, please merge this.

@bigfish24  RBQFetchedResultsSectionInfo and RBQEntityChangesObject are internal class, so I used performSelector:withObject and NSInvocation in order to access private class methods.

repo: Roobiq/RBQFetchedResultsController


text:
Access to asset balances (and other similar)

It seems that access to asset balances is available inside a private variable in class Algorand: late final AccountRepository _accountRepository;
Should this is exposed or else how to get asset balances (and other account info e.g.)?

You should use the getAccountByAddress() method to fetch all account related information.
You can find an example here: https://github.com/RootSoft/algorand-dart/blob/a0e33ecfdfd3a53e1634eb8be0235a244c08e63d/example/assets/assets.dart#L211

repo: RootSoft/algorand-dart


text:
Missing Favicon for Mobile, Tab, and Website

I have identified that our project is currently lacking a favicon, which is an essential design element. I kindly request the implementation of a favicon for mobile, tab, and website to enhance the overall user experience. Your attention to this matter is greatly appreciated. Thank you.

I have identified that our project is currently lacking a favicon, which is an essential design element. I kindly request the implementation of a favicon for mobile, tab, and website to enhance the overall user experience. Your attention to this matter is greatly appreciated. Thank you.

I assigned to you. Thanks!

Soved on #7

authors: Rajeevjewar RuanAragao

repo: RuanAragao/calculator


text:
🛑 Website (rubenfixit.com) is down

In a0b4341, Website (rubenfixit.com) (https://rubenfixit.com) was down:

HTTP code: 503
Response time: 1486 ms

Resolved: Website (rubenfixit.com) is back up in 679de8d after 6 hours, 41 minutes.

repo: RubenFixit/upptime


text:
Adding host black-list support

I suspect that it isn't an appropriate feature for this handler but I thought I would confirm before forking and adding this necessary feature* for our use case.
*we have an API consumer that is very high usage compared to our other hosts

I would say that your scenario is just the thing that BucketFilter was intended to address.  Which handler are you using?  The Proxy one or the API one?

The API one, could I bother you with an example Func of that filter?  Say we didn't want to capture any API request traffic from https://example.com, https://example.net and https://example.org.

@motowilliams There is an example here that shows how to log only errors.  To filter based on hosts, you could do something like this:
        var hostBlackList = new string[] { "https://example.org", "https://example.com","https://example.org" };
        var runscopeApiMessageHandler = new RunscopeApiMessageHandler("key", "https://api.runscope.com",
            (req, resp) => !hostBlackList.Contains(req.RequestUri.GetComponents(UriComponents.SchemeAndServer, UriFormat.Unescaped)) ? "<bucketkey>" : null);

The critical piece of information that I guess I really should document in the readme is that you need to return null from the function if you don't want to log the request and a bucket key if you do.  This function also permits logging different data to different buckets as desired.

authors: darrelmiller motowilliams

repo: Runscope/dotnet-messagehandler


text:
Replace failure with thiserror

Error types created by failure do not implement std::error::Error which prevents usage of the ? operator. The thiserror crate provides similar functionality but is fully compatible with the standard library and RFC2504.
I'm happy to submit a PR with the changes but I want collect feedback first.
https://github.com/dtolnay/thiserror
https://github.com/dtolnay/anyhow

Yes, fully in favor, I have been switching most of my crates over alrady.

Cool, well now that we're in agreement, let me offer the one con of doing it 😅
This crate presently doesn't support no_std, but if the errors use thiserror, it's trickier to make it no_std in the future, since the main benefit of thiserror beyond deriving a std::error::Error impl is having it also write your Display impl.
@dtolnay I don't suppose there's a no_std mode for thiserror I'm not aware of, is there? (i.e. a way to shut off the std::error::Error impl, but still derive Display)? I know it's a bit odd to derive(Error) but not actually derive(Error), but it'd be handy to be able to use thiserror's proc macro for the Display impl alone.

Looking at the PR it seems you mainly need a Display derive, not an Error derive. If you can find a good one of those, no_std support would look like:
#[derive(Display, Debug)]
pub enum Error {
    ...
}

#[cfg(feature = "std")]
impl std::error::Error for Error {}

@dtolnay good point! I write the above in a lot of libraries, but until you mentioned it I hadn't thought of the simple solution of "just use a good custom derive crate for Display"
Perhaps @yaahc's displaydoc is a good candidate?

I am not a fan of that approach with doc comments =/ but it's a choice of personal taste. The implementation is good. ;)
Honestly in your case I don't think a proc macro is called for unless one of your dependencies is already pulling it in; you can easily handwrite the one Display impl.

authors: aloucks dignifiedquire dtolnay tarcieri

repo: RustCrypto/RSA


text:
changed int_max_str_digits from -1 to 4300 to be more cpython complient

A basic fix, which changes sys.flags.int_max_str_digits to 4300 instead of -1 so it behaves the same as the cpython implementation. Fixes #5139
PS: this is my first issue and I am new here, do let me know if I missed anything.

Why did the test_cmd_line test fail?
Strange, I only changed one number, to meet the spec.

You need to look in each test details to get more idea.
UNEXPECTED SUCCESS: test_int_max_str_digits (test.test_cmd_line.CmdLineTest.test_int_max_str_digits)

@youknowone checks have passed, think this can be merged. :)

Thank you!

repo: RustPython/RustPython


text:
Add Carthage installation info to readme

Hey, I've just added an information to the readme that one is able to install RxCoreData via Carthage. I've thought it's not supported at first, but then I found out it is by simply trying it out.
Maybe this clears it up a bit.

Thanks @forceunwrap

authors: bobgodwinx forceunwrap

repo: RxSwiftCommunity/RxCoreData


text:
Fill in Algorithms/Game-Theory table

For problems without a solution, just Link the title, set difficulty, and set points.

@RyanFehr for these table issues what README do you want to be filled out, v1 or v2?

@dgonz001 I need v1 to  be filled out, I plan on doing all of v2 myself next week at some point

@RyanFehr I believe that I have added all the problems to the Game Theory listing.

Looks good

#38 #36 #35 #34
@RyanFehr I have added all the required inputs like the header, and have updated the readme. Please let me know if any further actions have to be taken.

authors: AayushChaturvedi RyanFehr dgonz001

repo: RyanFehr/HackerRank


text:
Report- Management Section

Create Workshop Report Section for Management Summary, following directions in Exercise (more details here):

[x]  Create PAM-SI-Mtg-Exercises-Management.qmd in Meeting Repo
[x]  Add Names of Section Leads (in bold)
[x]  Link this qmd to the quarto.yml
[x]  Commit & Push to Github
[x]  Mark all of these as completed (check boxes)
[x]  Reassign this project to the Section leads and comment on this thread what you completed, and any questions/comments you have, then save your comment.

Section has been updated and pushed to Git! Closing this issue now.

authors: rebecca-vanhoeck shannonrankin


text:
Acknowledge messages to reduce log spam

Hi there,
first of all: Thanks for providing this gateway, amazing work! :)
I've witnessed significant log spam due to not acknowledged messages:
2024-05-20 13:55:19,643 [  INFO  ] ID: 35824xxx, Time: 2024-04-27 14:01:05, Type: 802, Title: Warnung vor unerlaubtem Eindringen, Content: Ein ungewöhnliches Eindringen in Ihr Fahrzeug (***xxx) hat am 27-04-2024 14:01:04 GMT+02:00 einen Alarm ausgelöst.-MG Motor, Status: unread, Sender: TBOX, VIN: XXXXXXXXXXXX - __main__
Would it be possible to set those messages to "read"?
Best,
Florian

Hi Florian,
Could you check with the latest 0.6.2-rc13? It should have been addressed already

I have updated to 0.6.2 yesterday and this seems to be fixed. Thank you!


text:
Pachyderm: Add support for uploading context to PFS

This adds support for uploading the SAME context to PFS rather than storing it in a tarball and encoding it within the pipeline spec. An added bonus to this is that it considerably simplifies the "micro_entrypoint".

Merging since the test failures seem to be related to a misconfigured long running kubeflow cluster, which is hopefully unrelated to this change!

authors: bbonenfant lukemarsden

repo: SAME-Project/same-project


text:
Update dev-space-types-4142f78.md

Removed duplicated bullet point

You're absolutely right. Thanks for pointing that out to us.

https://people.sap.com/raphael.witte

authors: RaphaelReply ShiraManas


text:
Guest login page should not be accessible if user in cart

Steps to reproduce

As anonymous, add product to cart
Proceed to checkout, select guest checkout
Enter email and proceed
Press the browser back button
You go back to the add email page
You cannot actually change the email

Intended behavior
The add email page should redirect if there is a user in the cart.

Sorry, I took the wrong ticket, but I was on GH-4458

I see a fix.
After going back in browser, anonymous user is redirected to cart

repo: SAP/cloud-commerce-spartacus-storefront


text:
Configuration from meta-tag doesn't work for SSR

Closes GH-3537

Merged as a hotfix to rc1


text:
Reduce build time for large project

We have more than 150 MTA builds a day, and it's growing..., we made some optimization to our CI, but for a large MTA project, the build time is taking a long time. Our team's goal is to reduce it (currently, three devs are working on it).
We know that this is not a simple task to handle; however, we want to dive deep and run some micro-optimizations to provide better results. Could you please provide help/advice from your side on how we can achieve that?

Hi,
There are 2 things you could consider for optimization:

Building the modules in parallel using -m and -j options, see the documentation.
Optimizing the build command of each module, which you can do by changing the command as you like with a custom builder.

Let me know if this helps.
Best regards,
Tal

Hi,
As Tal wrote above, please consider using an option for module parallel build: mbt build -m=verbose -j=8 (see here for the details: https://sap.github.io/cloud-mta-build-tool/usage/#one-step-build). This build command allows building several independent modules simultaneously. Note: these command options are BETA features and in some future releases we are planning to change this interface. However, based on your feedback we can change the priorities and provide a stable interface sooner.
Do your problematic projects contain multiple html5 modules? If "npm install" command is run for each module, the project build indeed takes very long. It is possible to configure the build process so that "npm install" command that downloads the required dependencies that are common for all html5 modules is run once as part of "before-all" build step. Let me know if this is your case and I will provide more details about this option.
Regards
Natalia

We are already using custom builders which indeed help us to reduce the build time for similar modules. I asked the team to try the one command build and will update soon.

My team runs several builds today, and the results are fantastic!
In some projects, the build time was reduced by 30%- 50%. (others have some internal deps and build errors that we need to solve)
We are exploring how this magic works under the hood as we want to reuse some of the patterns in our dev too.
It seems that you took the make capabilities to the edge.
This is out-of-the-box thinking for a complex problem, which is neat
You save my team lot of time.
Kudos!

That's great to hear, glad this solution worked for you.

authors: PeterSevr katunin-ng tal-sapan

repo: SAP/cloud-mta-build-tool


text:
Unnecessary node_modules Being Packaged

On building the application using mbt build all the node_modules are being packaged along with the code. This is unnecessary since CF deployment anyways executes npm install --production during deployment.
Not packaging node_modules reduces the final mtar size to ~95% less
Please provide the following info:

MBT Version: 1.1.0
OS Version: All

Steps to Reproduce:

Build the project using mbt build

Hi,
If the node_modules folder is packaged with the application, CF will not run npm install.
If you require a different logic during the package you can use a custom builder (e.g. so it doesn't run npm install during the build) or exclude certain folders (like node_modules) from being packaged with the ignore property.
Best regards,
Tal

authors: shubhangtiwari tal-sapan


text:
sap.f.GridContainer still experimental or not?

In What's New in OpenUI5 1.70, it says that the control sap.f.GridContainer is no longer experimental:

sap.f.GridContainer
This control is no longer experimental. We have polished the code, added right-to-left (RTL) support, and implemented a polyfill for Microsoft Internet Explorer 11 and Microsoft Edge browsers.

But the API reference as well as documentation and sample titles still suggest that the control is experimental.

Hi @boghyon,
I got feedback from the team that the sap.f.GridContainer is no longer experimental, except for some particular properties.
The documentation will be updated in the coming OpenUI5 release, so I'll close this issue.
Thank you for sharing the finding.
Best Regards,
Diana

authors: boghyon kineticjs


text:
sap.m.Table popin, first column is always not a popin

OpenUI5 version: 1.84.23
After upgrading from 1.60 to 1.84 I've got a lot of issues regarding new popin rendering. The issue from users is that now there is always table header present, which is not needed (especially with popinLayout="WithoutHeader").

I've debugged the table rendering method and, apparently, there is a logic for "forced column", which is always forced to not be a popin. By default it's first column.

This issue is pretty important for mobile devices with small screens, because header takes space on the screen without any added value to it.
Is there any chance that it could be fixed and added as a patch to 1.84.* version?
Thanks!

Hello @iljapostnovs,
This is the desired behaviour of sap.m.Table.
It is stated in the official documentation (https://ui5.sap.com/#/api/sap.m.Table):

The sap.m.Table control requires at least one visible sap.m.Column in the columns aggregation, therefore applications must avoid configuring all columns to be shown in the pop-in. If such a conflict is detected, then the table prevents one column from moving to the pop-in.

Kind Regards,
Nikolay

Hello @iljapostnovs,
This is the desired behaviour of sap.m.Table. It is stated in the official documentation (https://ui5.sap.com/#/api/sap.m.Table):

The sap.m.Table control requires at least one visible sap.m.Column in the columns aggregation, therefore applications must avoid configuring all columns to be shown in the pop-in. If such a conflict is detected, then the table prevents one column from moving to the pop-in.

Kind Regards, Nikolay

Hi @ndeshev,
This is really unfortunate, because this behavior was changed from SAP side.
Because of this change I will need to redevelop about ~30 custom apps, and redeveloping will be pretty heavy one.
I will need to create a factory, which will render either sap.m.Table on desktop or sap.m.List on mobile devices.
A lot of work and a lot more of support in the future for such decision to have one column always as a popin.
Are you sure that it is necessary and there is no middle ground for this issue?

authors: iljapostnovs ndeshev


text:
sap.m.UploadSet: afterItemRemoved  is unknown attribute

OpenUI5 version: 1.105.2
For UploadSet, afterItemRemoved show error "unknown attribute key" in xml, but also doesn't trigger the event.

Hello @bettiflp
Can you please provide an application instance where we can recreate the issue along with the steps to access the application and the reproduction steps.
Thanks,
Ashwin

Since there is no response from the author for more than 4 weeks I'm closing the ticket.

authors: AshwinKumarBolar bettiflp flovogt


text:
customContent of sap.ui.unifiedCalendarAppointment not working in SinglePlanningCalendar

OpenUI5 version: 1.119.1
Browser/version (+device/version): Any
Any other tested browsers/devices(OK/FAIL): FAIL
URL (minimal example if possible):
https://sdk.openui5.org/entity/sap.m.SinglePlanningCalendar/sample/sap.m.sample.SinglePlanningCalendar/code
In Page.view.xml replace (lines 50 to 57):

<unified:CalendarAppointment
	title= "{title}"
	text= "{text}"
	type= "{type}"
	icon= "{icon}"
	startDate= "{startDate}"
	endDate= "{endDate}">
</unified:CalendarAppointment>

with:
<unified:CalendarAppointment
	text= "{text}"
	type= "{type}"
	icon= "{icon}"
	startDate= "{startDate}"
	endDate= "{endDate}">
	<unified:customContent>
		<Title text="Custom Content Test"/>
	</unified:customContent>
</unified:CalendarAppointment>

What is the expected result?
Title and text properties get ignored and the appointment renders the customContent
What happens instead?
customContent gets ignored
Notes: customContent works just fine for the normal PlanningCalendar

Hi @ZPolikarpov,
Have in mind that as of UI5 version 1.123 there is a customContent in the SinglePlanningCalendar's appointments too.
Thanks & Regards,
Diana

I've created an internal incident DINC0335803 to update the documentation. The status of the issue will be updated here in GitHub.

Hello @ZPolikarpov ,
thank you for identifying and sharing the issue.
Starting from the next version, the documentation is written more clearly.
Thanks & Regards,
Todor

authors: DMihaylova Todor-ads ZPolikarpov i556484


text:
Crash-loop when a Service Binding remains with no Service Instance

Hi team,
When instantiating a Service Instance with a Service Binding in the same deployment, but the Service Instance provision failed and turned into a blocked status, one can be willing to delete the instance to be able to create a new one, while the Service Binding is still hanging. Unfortunately, this makes the btp-operator crash-loop with the following error (here the policysearch-canary-ai-core is the instance that doesn't exist anymore) :
2024-01-04T08:54:29Z INFO controllers.ServiceBinding getting service instance named policysearch-canary-ai-core in namespace pss for binding policysearch-canary-api-ai-core-binding in namespace pss
{"name":"policysearch-canary-api-ai-core-binding","namespace":"pss"}, "correlation_id": "3c453ac1-6ec3-49b9-8ae2-53c2e14baa86", "policysearch-canary-api-ai-core-binding": "pss"}
2024-01-04T08:54:29Z INFO Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference {"controller": "servicebinding", "controllerGroup": "services.cloud.sap.com", "controllerKind": "ServiceBinding", "ServiceBinding": {"name":"policysearch-canary-api-ai-core-binding","namespace":"pss"}, "namespace": "pss", "name": "policysearch-canary-api-ai-core-binding", "reconcileID": "c2146269-ec7e-4aba-b7aa-a676f7347090"}
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1a0 pc=0x14a2ca4]
goroutine 108 [running]:
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile.func1()
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:115 +0x1e5
panic({0x1607de0?, 0x25f3ed0?})
/usr/local/go/src/runtime/panic.go:914 +0x21f
github.com/SAP/sap-btp-service-operator/controllers.(*ServiceBindingReconciler).Reconcile(0xc0000be378, {0x1a59d58, 0xc0000a6f60}, {{{0xc000013a1c, 0x3}, {0xc000049740, 0x27}}})
/workspace/controllers/servicebinding_controller.go:110 +0x664
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile(0x1a59d58?, {0x1a59d58?, 0xc0000a6f60?}, {{{0xc000013a1c?, 0x155ee20?}, {0xc000049740?, 0x1a4b950?}}})
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:118 +0xb7
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler(0xc000293e00, {0x1a59d90, 0xc000000820}, {0x167c900?, 0xc0000a8240?})
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:314 +0x368
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc000293e00, {0x1a59d90, 0xc000000820})
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:265 +0x1c9
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2()
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:226 +0x79
created by sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2 in goroutine 56
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:222 +0x565

Since the btp-operator is not healthy anymore, even deleting the remaining Service Binding is impossible. Moreover, further app deployments fail as long as they contain resources managed by operator, even without any change. So the user is blocked and only has two solutions : uninstall btp-operator and potentially break their app, or build a new cluster from scratch.

I think this is fixed by #386

Confirmed the issue is fixed after deployment of version 0.5.10

repo: SAP/sap-btp-service-operator


text:
Tutorial xsa-sqlscript-cube: Misleading description, wrong positioned screenshots, missing screenshot

Tutorial xsa-sqlscript-cube has several issues:

The description says that a view is created with a star join. No star join is used. In addition the description ("Purchase Orders with Currency Conversion") for the view lets assume that a currency conversion is done, but no such conversion is done. There is just a calculated column "ConvGrossAmount" created which gets the value of column GrossAmount w/o additional changes. Also the input parameter created to specify a target currency is never used again.

Wrong positioned screenshots: Beginning with step 4 the screenshots are wrong. The screenshot of step 4 belongs still to step 3. All further screenshots have to be moved to one step before.

Missing screenshot: For the last step (step 18) the screenshot is missing to be able to compare the output (according to the text "For an initial test make sure your output looks similar to the following:" in the tutorial).

Sorry about that, we are working to update it now to match to the upcoming SPS12 release as well.

authors: ccmehil pfefferf

repo: SAPDocuments/Tutorials


text:
Master

In configure-security, updated license installation command syntax on line 78.


text:
Styling for header + link combo

Header element with an  messes up the styling by default. Would be great to have a default option.

Fixed in v5.2.0

authors: iamfrank rasmustoender

repo: SDFIdk/designsystem


text:
implement the timeline plugin and complete the content in memberStyle

implement the timeline plugin
complete the content in memberStyle
add css folder
modify mkdocs.yml to use timeline,icon and emoji
delet the social.md and social.en.md

auto checks failed
请检查修改后再次提交

使用 pip 安装的包请在 requirements.txt 中添加相应包及版本

authors: EvanWonghere Math-Still Sothebylin


text:
Create dataset loader for GlotStoryBook

Dataloader name: glotstorybook/glotstorybook.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?glotstorybook

Dataset
glotstorybook

Description
The GlotStoryBook dataset is a compilation of children's storybooks from the Global Storybooks project, encompassing 174 languages organized for machine translation tasks. It features rows containing the text segment (text number), the language code, and the file name, which corresponds to the specific book and story segment. This structure allows for the comparison of texts across different languages by matching file names and text numbers between rows.

Subsets
khg, khm, mya, tet, tha, vie

Languages
khg, khm, mya, tet, tha, vie

License
Other (other)

Homepage
https://huggingface.co/datasets/cis-lmu/GlotStoryBook

HF URL
https://huggingface.co/datasets/cis-lmu/GlotStoryBook

Paper URL
https://arxiv.org/abs/2310.16248

#self-assign

authors: SamuelCahyawijaya akhdanfadh

repo: SEACrowd/seacrowd-datahub


text:
Monthly mean dimensions cause undersired behavior when loading multiple files.

The monthly mean files currently contain a time dimension that covers the first 24 hours of the corresponding month. When multiple monthly mean files are opened and concatenated, this causes extension of both the month dimension and the time dimension, although time, which corresponds to the hour of the day, should be shared across the concatenated file.
I'd therefore suggest to rename the time dimensions to hour_of_day and make it a float or, if supported, a timedelta value.

Good that you noticed this.
See PR #73.
I set hour_of_day to timedelta64... timedelta64[ns]. It's annoying to save such a large time delta as as nanosecond integers; currently only this data type can be used with xarray, see https://github.com/pydata/xarray/issues/1143). But I think this integrates better with month.
Remember that to get hour_of_day as float one can use hour_of_day / np.timedelta64(1, 'h').

authors: adriaat simonpf

repo: SEE-GEO/ccic


text:
Add banner image to course banner

Add the banner image to the course banner, make sure to either demand a certain image width or fill in with a default color.

Fixed


text:
New Wizard - Refactor Apex Controller for LWC. Stub out a Controller with empty Methods, or Method Start/Stop Comments to make GitHub merging easier.

Problem
We need to create all new Apex Controller methods for the new wizard without breaking the existing methods.
We want to avoid using the metadata API to create and update the custom Metadata configuration records. Use the APEX Metadata API instead.
Solution
Logic Assertions
Steps to test the solution works:

1

QA  Proof it passed QA (steps and pictures)
Implementation

Sandbox
Objects and Fields
Automation
Permissions
Github PR
Documentation

Done and shipped as part of v2.21

authors: JimBTek aheber


text:
940 | Distinct Subsequence II | C++

Distinct Subsequence II -
What will change - Adding new code
Type of Issue - Soln for the problem
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Hi, can you assign this to me?

Hi, can you assign this to me?

Hi, sorry but I opened this issue for myself.

Ok, no problem

repo: SHY-Corp/LeetCode-Solutions


text:
50 | Pow(x, n) | Java

50. Pow(x, n) | Java -
What will change -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] Java

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

I will work on this

[x] Assigned @andresq

I would like to work on this


text:
Category without an icon / image

All the categories require an image to be associated using the category ID, whcih is generated automatically. A default image is needed.

Done.

authors: enriquesanz kazhamiakin

repo: SIMPATICOProject/citizenpedia


text:
Styling of the question page

The question title is not visible under the toolbar.

Fixed in the master branch.


text:
Add Leaflet as a dependency

Depend on Leaflet. Version requirement 0.7 - 2 basically means >=0.7.0 <2.0.0.

That makes sense. Thank you :-)

authors: simison yellowiscool


text:
🛑 DNS1.electro is down

In 8dc232e, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 612d855 after 1 hour, 17 minutes.

repo: SIRMaxis/uptime-robot


text:
🛑 DE Server is down

In 857e03f, DE Server (de1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DE Server is back up in c8df42b after 1 hour, 10 minutes.


text:
🛑 DNS2.electro is down

In 2ff959a, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in da6f60b after 1 hour, 7 minutes.


text:
🛑 DNS1.electro is down

In 66d4974, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 17d2d9e after 17 minutes.


text:
🛑 DE Server is down

In 216a527, DE Server (de1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DE Server is back up in 1d444f9 after 45 minutes.


text:
🛑 DE Server is down

In 53b44ef, DE Server (de1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DE Server is back up in 647e593.


text:
🛑 DNS1.electro is down

In 85920c5, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 52c5538 after 2 hours, 52 minutes.


text:
🛑 DNS1.electro is down

In 1adcee6, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in bc58ac8 after 19 minutes.


text:
🛑 Silvereen Network Discord Bot is down

In d9387e1, Silvereen Network Discord Bot (https://Silvereen-Network-Bot.sm-group.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Silvereen Network Discord Bot is back up in 034fc65.

repo: SM-Group-Ltd/status


text:
如何去掉第一个和最后一个条目多出来的线

例子很好，就是有个问题：
第一个和最后一个，都有多出来的线，如何去掉

在外部覆盖组件样式

authors: axlyb hwen

repo: SME-FE/vue-light-timeline


text:
Unchangeable config value ...?

Was this supposed to be a var?
https://github.com/SMILEY4/ktor-swagger-ui/blob/290232594177b4716605c22dcf14d19757423f2a/src/main/kotlin/io/github/smiley4/ktorswaggerui/SwaggerUIPluginConfig.kt#L77

yes,  this should have been a var  :D.   I released a new version (1.1.1) that fixes this bug.  Thank you for reporting this.


text:
Dealing with categorical and integer-valued variables in Bayesian Optimization with Gaussian processes

Hello,
This is the mixed ego optimization with mixed models.
How to use?
By default, the type of the variables is assumed continuous.
If not, you can pass a mixed surrogate s.
s = KRG( vartype=["cont","int",("cate",3),("cate",2)])
ego = EGO(n_doe=n_doe,n_iter=n_iter, criterion=criterion,xlimits=xlimits,qEI=qEI,tunnel=0,vartype=vartype, surrogate=s )
I have written here the pseudo-code:

Reference: GMHL.pdf

:white_check_mark: Build SMT 0.4.692 completed (commit https://github.com/SMTorg/SMT/commit/c0406a23cc by @Paul-Saves)

:white_check_mark: Build SMT 0.4.693 completed (commit https://github.com/SMTorg/SMT/commit/870f225b25 by @Paul-Saves)

:x: Build SMT 0.4.697 failed (commit https://github.com/SMTorg/SMT/commit/cd53b6cbc0 by @Paul-Saves)

:x: Build SMT 0.4.698 failed (commit https://github.com/SMTorg/SMT/commit/dbc2d8be8f by @Paul-Saves)

:x: Build SMT 0.4.699 failed (commit https://github.com/SMTorg/SMT/commit/3eaefad424 by @Paul-Saves)

:white_check_mark: Build SMT 0.4.700 completed (commit https://github.com/SMTorg/SMT/commit/d9477d747a by @Paul-Saves)

:white_check_mark: Build SMT 0.4.701 completed (commit https://github.com/SMTorg/SMT/commit/e2aaae65e4 by @Paul-Saves)

:white_check_mark: Build SMT 0.4.703 completed (commit https://github.com/SMTorg/SMT/commit/964ff658c6 by @Paul-Saves)

:white_check_mark: Build SMT 0.6.707 completed (commit https://github.com/SMTorg/SMT/commit/f5221aea49 by @Paul-Saves)

:white_check_mark: Build SMT 0.6.710 completed (commit https://github.com/SMTorg/SMT/commit/7cd501ae97 by @Paul-Saves)

:white_check_mark: Build SMT 0.6.711 completed (commit https://github.com/SMTorg/SMT/commit/5a8401f3a0 by @Paul-Saves)

:x: Build SMT 0.6.712 failed (commit https://github.com/SMTorg/SMT/commit/955c47fb15 by @Paul-Saves)

:white_check_mark: Build SMT 0.6.713 completed (commit https://github.com/SMTorg/SMT/commit/6e60cc0d38 by @Paul-Saves)

:white_check_mark: Build SMT 0.6.714 completed (commit https://github.com/SMTorg/SMT/commit/34abcf10ef by @Paul-Saves)

Add assign_labels to outputs of ego: x_data

h

:white_check_mark: Build SMT 0.6.746 completed (commit https://github.com/SMTorg/SMT/commit/180f06fb13 by @Paul-Saves)

:white_check_mark: Build SMT 0.6.747 completed (commit https://github.com/SMTorg/SMT/commit/9d213a7034 by @Paul-Saves)

Thanks a lot for your help !

authors: AppVeyorBot Paul-Saves

repo: SMTorg/smt


text:
fixed bug with get_affected_rows() and user defined types

If an user defined type is used get_affected_rows() returns wrong values. See modified test7() in MySQL backend for this bug.

This bug still exists.

@hw-dwalter I'll check it soon.

The solution I originally proposed still fixes this bug too. Just try pull request #414 on your own. I modified the test to demonstrate this bug. This patch fixes this problem and all other tests still pass successfully.
http://pastebin.com/S1fDmEwc

IMHO, if @hw-dwalter fix is confirmed and no undesired side effects have been observed, I don't mind merging it. Certainly, @pfedor has the last word here.

I may not have time in the near future to look into this in depth. Please
go ahead with the fix.
Thanks,
Aleksander
On Wed, Oct 7, 2015 at 1:34 AM, Mateusz Łoskot notifications@github.com
wrote:

IMHO, if @hw-dwalter https://github.com/hw-dwalter fix is confirmed and
no undesired side effects have been observed, I don't mind merging it.
Certainly, @pfedor https://github.com/pfedor has the last word here.
—
Reply to this email directly or view it on GitHub
https://github.com/SOCI/soci/pull/221#issuecomment-146116654.

New PR #418 with up-merge submitted.

authors: hw-dwalter mloskot pfedor snikulov

repo: SOCI/soci


text:
Consistently check for connection in the session object methods

This was done for most, but not all, of them.
Add missing checks to ensure consistent and safer (exception instead of
a null pointer dereference) behaviour in all cases.

Just some cleanup before submitting more changes to the same code.

LGTM

BTW, should we disable MySQL tests in AppVeyor? They seem to be reliably crashing, but I have no idea why nor how to debug it. I also don't know why does MinGW build fail :-(

@vadz Let's disable for now (#550)

authors: mloskot vadz


text:
🛑 CAOSBI is down

In 9c79160, CAOSBI (https://caosbi.ayi-asociados.com/) was down:

HTTP code: 502
Response time: 18999 ms

Resolved: CAOSBI is back up in 9c86fec after 17 minutes.

repo: SOPORTEAYIGROUP/AYIGROUP


text:
🛑 Gitlab Ayigroup is down

In 05cd2bb, Gitlab Ayigroup (https://gitlab.ayi-asociados.com/) was down:

HTTP code: 502
Response time: 3690 ms

Resolved: Gitlab Ayigroup is back up in 1f1e553.


text:
🛑 VEDI DEV is down

In 565f103, VEDI DEV (https://vedi.dev.cordoba.gob.ar/) was down:

HTTP code: 503
Response time: 878 ms

Resolved: VEDI DEV is back up in ca5c67c after 11 minutes.

repo: SOPORTEAYIGROUP/STATUSVEDI


text:
Quick fix: convert UUID to new formats

Old
New

Unknown Key

ConversionPlayerLeast/ConversionPlayerMost
ConversionPlayer

UUIDLeast/UUIDMost
UUID

LoveCauseLeast/LoveCauseMost
LoveCause

owner.L/owner.M
Owner

OwnerUUID
Owner

OwnerUUIDLeast/OwnerUUIDMost
Owner

target_uuid.L/target_uuid.M
Target

TrustedUUIDs[].L/TrustedUUIDs[].M
Trusted[]

String Type Change

HurtBy
HurtBy

SkullOwner.Id
SkullOwner.Id

Compound Type Change

Owner.L/Owner.M
Owner

Owner.OwnerUUIDLeast/Owner.OwnerUUIDMost
Owner

Target.L/Target.M
Target

Thrower.L/Thrower.M
Thrower

:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
Visual Studio Marketplace
GitHub release

Your semantic-release bot :package::rocket:

repo: SPGoding/datapack-language-server


text:
ResultSet.getObject("columnName") returns value from preceding column

This is an off by one with the index somewhere. It is causing me all kinds of classcastexceptions as the types don't match. getInt() or getString() are not affected.
This is a biggie, as it will lead to data corruption for sure.

Fixed in 85807d55003c40654957c1e6d73fa3229a681c58 (which predates the bug, but was probably not released)
The new unit tests prove that it's working: https://github.com/SQLDroid/SQLDroid/blob/master/src/test/java/org/sqldroid/SQLDroidTest.java#L92

authors: axelfontaine jhannes

repo: SQLDroid/SQLDroid


text:
[WIP] All Stream Subscription Test With / Out Prefetch

[x] all stream subscription with several options
[ ] prefetch toggle
[ ] formatting

PR seems to be abandoned? Closing to clean up and appease my OCD. Re-open if you get around to finishing the contrib.

IIRC this test wasn't adding anything beyond an existing one so I dropped
it.
On Wed, Sep 6, 2017 at 12:02 PM, Damian Hickey notifications@github.com
wrote:

Closed #83 https://github.com/SQLStreamStore/SQLStreamStore/pull/83.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SQLStreamStore/SQLStreamStore/pull/83#event-1236514198,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAePh_aATAjgUDZ6k2r_wSrrqZ-GcZs8ks5sfm2hgaJpZM4OBkSG
.

--
Sent from my regular computer
http://twitter.com/thefringeninja
http://www.thefringeninja.com/

authors: damianh thefringeninja

repo: SQLStreamStore/SQLStreamStore


text:
Parallel calling of GetBlobs and SetBlobs

These two operations should be run in parallelly - improving performance.
In addition, we should get rid of calling MS Identity with each request for a blob (implement some sort of sing authentication).

Previous getblobs on 16 224 amount of data took:
~ 1m30s
https://dev.azure.com/iiric/azmi/_build/results?buildId=1892&view=logs&j=275f1d19-1bd8-5591-b06b-07d489ea915a&t=c623b9f5-4e91-5154-177e-19d7203ddd0d
After the change getblobs on same amount of data takes:
~ 30s
https://dev.azure.com/iiric/azmi/_build/results?buildId=1991&view=logs&j=275f1d19-1bd8-5591-b06b-07d489ea915a&t=c623b9f5-4e91-5154-177e-19d7203ddd0d
In addition to parallelism we have dropped calling of MSI service with each request (each blob). We call authentication just once.
I think this helps to improve overall quality (e.g. random "Unauthenticated failures" error messages we suspect as defense against DOS by MSI service).

repo: SRE-PRG/azmitool


text:
SEGFAULT in any external project - SuperMIC

To reproduce just use the code for hello_world from examples/quickstart/hello_world.cpp
CMake script for the external application:
cmake_minimum_required(VERSION 2.8)
project(hw CXX)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g")

set(CMAKE_PREFIX_PATH "$WORK/zahra/hpx_debug")

find_package(HPX)

include_directories(${HPX_INCLUDE_DIR})
link_directories(${HPX_LIBRARY_DIR})

set(SOURCE_FILES hw.cpp)
add_hpx_executable(hw
    ESSENTIAL
    SOURCES ${SOURCE_FILES}
    COMPONENT_DEPENDENCIES iostreams)

HPX Config:
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DCMAKE_PREFIX_PATH=/home/zahra/zahra/jemalloc_build -DCMAKE_BUILD_TYPE=Debug -DBOOST_ROOT=/home/zahra/zahra/boost_1_58_0 -DHPX_WITH_MALLOC=jemalloc -DHPX_WITH_PARCELPORT_MPI=True -DHPX_WITH_PARCELPORT_TCP=False -DHPX_WITH_PARCELPORT_IBVERBS=False -DHPX_WITH_EXAMPLES=True /home/zahra/zahra/repo

Stack trace:
#7 thread_proxy () from /home/zahra/zahra/boost_1_58_0/stage/lib/libboost_thread.so.1.58.0 (at 0x00002aaaac617bca)
#6 hpx::threads::detail::thread_pool<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::thread_func(unsigned long, hpx::threads::topology const&, boost::barrier&) () from /worka/work/zahra/zahra/hpx/lib/libhpx.so.0 (at 0x00002aaaaadedf7e)
#5 void hpx::threads::detail::scheduling_loop<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >(unsigned long, hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo>&, hpx::threads::detail::scheduling_counters&, hpx::threads::detail::scheduling_callbacks&) () from /worka/work/zahra/zahra/hpx/lib/libhpx.so.0 (at 0x00002aaaaaded5ba)
#4 hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo>::wait_or_add_new(unsigned long, bool, long&) () from /worka/work/zahra/zahra/hpx/lib/libhpx.so.0 (at 0x00002aaaaac42068)
#3 hpx::threads::policies::thread_queue<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo>::wait_or_add_new () from /worka/work/zahra/zahra/hpx/lib/libhpx.so.0 (at 0x00002aaaaac3e017)
#2 hpx::threads::policies::thread_queue<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo>::add_new(long, hpx::threads::policies::thread_queue<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo>*, boost::unique_lock<boost::mutex>&, bool) () from /worka/work/zahra/zahra/hpx/lib/libhpx.so.0 (at 0x00002aaaaac41c56)
#1 void hpx::threads::policies::thread_queue<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo>::create_thread_object<boost::unique_lock<boost::mutex> >(boost::intrusive_ptr<hpx::threads::thread_data_base>&, hpx::threads::thread_init_data&, hpx::threads::thread_state_enum, boost::unique_lock<boost::mutex>&) () from /worka/work/zahra/zahra/hpx/lib/libhpx.so.0 (at 0x00002aaaaac3c68e)
#0 boost::lockfree::detail::freelist_stack<hpx::threads::thread_data, std::allocator<hpx::threads::thread_data> >::deallocate_impl(hpx::threads::thread_data*) () from /worka/work/zahra/zahra/hpx/lib/libhpx.so.0 (at 0x00002aaaaae54cfe)

How do you run the executable?

$ mpirun_rsh -ssh -np $PBS_NUM_NODES $(uniq $PBS_NODEFILE) /home/zahra/zahra/hw/build/hw

...ok. Can you show your PBS script as well, pls? How many nodes do you run this on?

Transcript from IRC:

[16:47:38]  <@parsa>	 @hkaiser: there's no pbs script... we ran it interactively
[16:47:49]  <@hkaiser>	 @parsa: how many nodes?
[16:47:53]  <@parsa>	 @hkaiser: any
[16:48:05]  <@hkaiser>	 : even with one?
[16:48:12]  <@parsa>	 yes
[16:48:34]  <@hkaiser>	 does it fail if run directly? (without mpirun)?
[16:48:46]  <@parsa>	 it does and fails with the same message
[16:49:07]  <@hkaiser>	 so something is wrong with the environment
[16:49:54]  <@parsa>	 @hkaiser: why doesn't it happen with the changeset i had for my thesis, then?
[16:50:01]  <@hkaiser>	 shrug
[16:50:08]  <@hkaiser>	 some stale binaries somewhere
[16:50:22]  <@hkaiser>	 some mismatch, perhaps

Is this still a problem?

Is this still a problem? Maybe this could be closed unless it has come up again elsewhere?

Let's close this for now.

authors: hkaiser msimberg parsa sithhell zkhatami88

repo: STEllAR-GROUP/hpx


text:
Fixing inspect tool

The relative path to the search was not calculated correctly. This
fix allows the inspect tool to be invoked from any location.

Thanks, LGTM!

authors: hkaiser sithhell


text:
Barrier Fixes

This fixes the problems showing up after the scalable_barrier merge:

Fixing multiple init
Make sure the barrier is released in the case of terminate.

Could you please explain why this change is necessary?

Multiple initialization failed because the global barrier wasn't reinitialized correctly. That is, the nodes where associated with GIDs that were not present in AGAS anymore after the system got teared down once
In the case of an exception escaping hpx_main, the barrier dtor was run when the HPX runtime wasn't active anymore. Just releasing the memory of the LCO is fine in that case.


text:
Add performance counters background overhead and background work duration

Proposed Changes

This pull request adds 2 new counters:

threads/time/background-work-duration
threads/background-overhead

Any background context you want to provide?
These counters measure the total time spent doing background work and the fraction of time spent doing background work with respect to the overall time spent running the scheduler.
These counters need to be explicitly enabled (off by default) and hence should not add any overheads when not enabled.

@sithhell I made the changes you suggested. Its now HPX_WITH_BACKGROUND_THREAD_COUNTERS / HPX_HAVE_BACKGROUND_THREAD_COUNTERS. Thanks you very much.


text:
Fixed order of includes

LIBFLATARRAY_WITH_CPP14 is defined in libflatarray/config.h, so must not be used before config.h is included.

Cool, thanks!

Would you mind filing a pull request for https://github.com/gentryx/libflatarray to fix this upstream?

It seems like you already merged the branch, so I don't have to file a new pull request. Next time I'll directly create a pull request for the upstream branch.

authors: gentryx seb-ehm

repo: STEllAR-GROUP/libgeodecomp


text:
Allow specification of a maximum return payload size from the database server

This PR adds a new configurable option for a maximum allowed return payload size. Either due to bad data or an incorrectly configured query the UniRPC server may return an extremely large payload which can saturate a network or cause MVIS to become unresponsive. If the payload size exceeds the maximum, a DbServerError will be thrown.
I chose a high default value of 1GB but made it a configurable connection and individual request option.

I think it makes sense to build the docs as part of the release instead of the merge to main.
In this case though I'll create a separate PR for the documentation changes since one of us will need to update the GitHub Action.

Also, how do you feel about the 1GB default? I set it high because I have no idea what other people do with MVIS but also seems like if it's that high the default value won't catch any issues. Maybe 100MB?

Also, how do you feel about the 1GB default? I set it high because I have no idea what other people do with MVIS but also seems like if it's that high the default value won't catch any issues. Maybe 100MB?

1GB does seem like a lot considering its solely a parameter for use with MVOM and not for MVIS in general.  I had sort of interpreted that as a "this is basically infinite" default value.  However, if we're going to go with an enormous default value, we might be better off just making it optional.  It's a likely footgun for people if they don't pass it in though, so a sane default is probably good.  I'd be comfortable with 100MB.

I updated the default size to 100MB and reverted all the documentation changes. I will do a separate documenation PR>

repo: STORIS/mvom


text:
🛑 SPCast / Loadbalancer is down

In 5abdc05, SPCast / Loadbalancer (https://loadbalancer.sp.radio.fm/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SPCast / Loadbalancer is back up in 800f896 after 8 minutes.


text:
🛑 SPCast / Loadbalancer is down

In ae4481a, SPCast / Loadbalancer (https://loadbalancer.sp.radio.fm/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SPCast / Loadbalancer is back up in d15d085 after 7 minutes.