Add a date-field to Batterynotes in order to document when full battery provided/replace for the device

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
Actually I am quite happy with battery notes since I use it. It will even become more useful as I add more devices
Describe the solution you'd like
Having date of preoviding new full battery alltogether with the type of the battery and the device will help understand how long a battery for a device lasted and/or prognose whow long it will last before need to replace it.
Describe alternatives you've considered

Additional context

Duplicate of https://github.com/andrew-codechimp/HA-Battery-Notes/issues/23


Add nginx parser plugin to fluentd

Is your feature request related to a problem? Please describe.
When looking at ingress-nginx logs in Opensearch, the "message" field has this awkward output:
<IP_ADDRESS> <IP_ADDRESS> - [28/Feb/2013:12:00:00 +0900] "GET / HTTP/1.1" 200 777 "-" "Opera/12.0" -

With the nginx parser plugin that log output is parsed like this:
time:
1362020400 (28/Feb/2013:12:00:00 +0900)

record:
{
  "remote"              : "<IP_ADDRESS>",
  "host"                : "<IP_ADDRESS>",
  "user"                : "-",
  "method"              : "GET",
  "path"                : "/",
  "code"                : "200",
  "size"                : "777",
  "referer"             : "-",
  "agent"               : "Opera/12.0",
  "http_x_forwarded_for": "-"
}

Example outputs were taken from this page: https://docs.fluentd.org/parser/nginx
Describe the solution you'd like
Add the nginx parser plugin to fluentd.
Definition of done:
The nginx parser plugin has been added to fluentd and ingress-nginx logs are parsed.

Change log format instead and have ingress-nginx output json logs?


Update jQuery UI to version 1.13.2

see security risk https://security.snyk.io/package/npm/jquery-ui/1.12.1
https://jqueryui.com/changelog/1.13.0/
https://jqueryui.com/changelog/1.13.1/
https://jqueryui.com/changelog/1.13.2/
fixes #9298

Did a smoke test of date fields, re-ordering inline panels (animation), image cropper, modals (uses bootstrap not jquery UI), taggit.
On Firefox 105 on macOS

Merged in b276b835e959bb773a1e97d0470e066c1b169538


Feature/rtc irtc

Enable Support for the IRTC Driver.

@bjarki-andreasen
Hey Bjarki, would you mind taking another look at this.

@bjarki-andreasen would you mind giving this another look?

ping  @decsny could you take another look?

@bjarki-andreasen  One more look if you can


Added ExternalId to sts.assume_role calls.

This PR adds an optional ExternalId to all sts.assume_role calls.
See https://github.com/Netflix/security_monkey/pull/1101 and https://github.com/Netflix/security_monkey/issues/1100.

Coverage decreased (-0.02%) to 17.131% when pulling cede398558e0ebbbe917fd0385e3dda38a07caeb on dgreene-r7:add-external-id-to-sts-assume-role into b509c29d864497d536996bd772a629645ff75f32 on Netflix-Skunkworks:master.

LGTM. Were you able to test that this works?

I tested it briefly in a REPL using some of the examples in the README and it works as far as I can tell.

Please bump up the version number in __about__.py.
After that, update the SM requirements to pin to that version.

Minor or patch?

1.5.0.

Pushed 1.5.0 to PyPI.


runInLinuxVM: fix ext4 and crc32c-intel interactions

fixes #39946, will also need to be cherry-picked back to master
cc @srhb

Isn't it cleaner to just remove crc32c_generic from the list of modules? (I.e. revert 8787c131ed21e9132cd2deba7c63d865feecf415.)

@edolstra That won't help. The crc32c-intel will still get insmod'ed, because we're not applying any of the logic that modprobe does.


Hosting request for jfr-plugin-installation-action in jenkins-action-poc project

Repository URL
https://github.com/Cr1t-GYM/jfr-plugin-installation-action
New Repository Name
jfr-plugin-installation-action
Description
This GitHub Action is used to install plugins. jfr-setup-action needs to be run before. I need to split and migrate the original project manually so I need an empty project. This is the product of the GSoC 2022 Jenkinsfile Runner Action for GitHub Actions project.
In #2738, the jfr-plugin-installation-action wasn't created correctly so I split the source and submit the request again. Because of the current problem, jfr-plugin-installation-action will be redirected to jfr-setup-action repo.
% curl -I https://github.com/jenkinsci/jfr-plugin-installation-action
HTTP/2 301
server: GitHub.com
date: Mon, 29 Aug 2022 14:28:38 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, Accept-Encoding, Accept, X-Requested-With
permissions-policy: interest-cohort=()
location: https://github.com/jenkinsci/jfr-setup-action

GitHub users to have commit permission
@Cr1t-GYM
@krisstern
@AbhyudayaSharma
Jenkins project users to have release permission
cr1t_gym
krisstern
abhyudaya
Issue tracker
GitHub issues

Security audit, information and commands
The security team is auditing all the hosting requests, to ensure a better security by default.
This message informs you that the security team was notified about the request and will soon participate in this issue to assist.
The team is usually starting by a quick superficial audit and if it's not sufficient, they are planning a deeper audit.
Commands
Security team only:

/audit-ok => the audit is complete, the hosting can continue :tada:.
/audit-skip => the audit is not necessary, the hosting can continue :tada:.
/audit-required => the superficial audit was not sufficient, a deeper look is necessary :mag:.
/audit-findings => the audit reveals some issues that require corrections :pencil2:.

Anyone:

/audit-review => the findings from the audits were corrected, this command will ping the security team to review the findings :eyes:.
	It's only applicable when the previous audit required changes.

Only one command can be requested per comment.

(automatically generated message)

Quick look at the repo, seems ok to me.

/audit-skip

@timja We are trying to meet the GSoC deadline for the submission of the final code product, and we need time to work on a blog post with links to this repo. Could the PR be processed over the next few days?

/hosting host

I was away, am back now

Thanks! Appreciate it

Hi @timja Seems like the jenkins-infra-bot has not been automatically started. Is there anything we could do on our end?

it is failing because of the mess from the last attempt, I've deleted the old repo and will re-trigger

/hosting host


Repeating content

@johnlewissims
I see repeating content on the approach and strategy pages.
They are using the same data in wordpress but just displaying one as unstyled.

Got it!


Not working with Node version 0.12.0

Module works perfectly well with Node 0.10.X but not working with latest node version which is 0.12.0. However I can't see any errors either.

I believe that I am experiencing the same issue.

I can confirm this with version 0.12.7. It does not work.

The problem is based on the tunnel package dependency. The TunnelingAgent.addRequest() method is called in a different way (2 args only).
TunnelingAgent.prototype.addRequest = function addRequest(req, options) {
var self = this;
var host = options.host;
var port = options.port;
By fixing this, the global-tunnel works as intended.


Need to bump version from v1.5.0

The instructions currently in the readme don't work
deno --allow-read --allow-run<EMAIL_ADDRESS>
[7/8] Downloading https://deno.land/std@v0.3.1/fs/denogen/cli/bundle/compiler.js:133681:17
          return new DenoError(kind, base.error());
                 ^
Uncaught Other: Import<EMAIL_ADDRESS>failed: 404 Not Found
    at DenoError (js/errors.ts:22:5)
    at maybeError (js/errors.ts:33:12)
    at maybeThrowError (js/errors.ts:39:15)
    at sendSync (js/dispatch.ts:114:5)
    at fetchModuleMetaData (js/compiler.ts:137:19)
    at _resolveModule (js/compiler.ts:254:12)
    at js/compiler.ts:370:37
    at resolveModuleNames (js/compiler.ts:368:24)
    at resolveModuleNamesWorker (third_party/node_modules/typescript/lib/typescript.js:89230:127)
    at resolveModuleNamesReusingOldState (third_party/node_modules/typescript/lib/typescript.js:89473:24)

However, by fetching directly from master all works smoothly
deno --allow-read --allow-run https://raw.githubusercontent.com/kt3k/deno_license_checker/master/main.ts

@qub1750ul Thank you for reporting! I did some maintainance work and pushed the tag v1.6.0, which should work with deno v0.11.0 (latest).


using @auth with nested objects

** Which Category is your question related to? **
AppSync, GraphQL Transform
** What AWS Services are you utilizing? **
AppSync, Cognito, DynamoDB
** Provide additional details e.g. code snippets **
In my app I need a way to use the @auth directive for models which are a few layers below the actual users, example scenario - there is a Business model, which has an array of Employees (also a model), the Employee model has the @auth directive with its ownerField set correctly, and I want to give the Employees of the Business read access to the business, so what I thought of doing is this -
type Business @model @auth(
  rules: [
    { allow: owner, ownerField: "employees", operations: [read] }
  ]
) {
  id: ID!
  employees: [Employee!] @connection
}

type Employee @model @auth(rules: [{ allow: owner, ownerField: "username" }]) {
  id: ID!
  username: String!
}

in this scenario - does the @auth directive go into the username of each Employee in the employees list and check if they are allowed to read from the Business?
If not, is there a different way I can use the @auth directive for an array of models?

You can go the other way, allow employees access to the Employee model they own (as you already have), and then be able to navigate to the Business model. You would need to close off direct queries to the Business model with @model(queries: null). You can create an 'Employees' cognito group to give read-only access to the business model, just make sure all employees are in this group.
The result is that no one directly accesses Business for queries, and your fined-grained access rules are enforced by other models.

@RossWilliams I had this idea but didn't know if it was good practice or not because my data goes a few layers deep and I have not described it entirely here so that the question will be understandable.
Thanks, I'll probably do it this way until the @auth directive is improved

You could manually manage storing Employee Id keys on your Business model as an array and use the "ownerField" to enforce rules. But it would be your responsibility to keep these in sync.
To help think about why @auth doesn't by default doesn't cover your case, your Business to Employee relationship as a one to many relationship, so the foreign key sits in the Employee model. An AppSync Resolver is meant to work on a single table, so the response template will not have access to any Employee information, and so can't use it to enforce authentication. Allowing @auth to work in the other direction as well has downsides, as items in dynamodb are restricted to 400KB, and total response size is limited to 1MB.

If I want to store IDs in an array I need to set up my own custom resolver for a list_append method correct? Do you have any resources that show how to do that with AppSync-generated resolvers (for example my updateBusiness auto generated resolver - I don't want to rewrite it but only add the ability to store an array of IDs and push to it)

You need a custom resolver, You can copy the existing  resolver from the build/ folder and make the modifications you need for the updateExpression. I’d be interested in seeing how you make the template, having a hard time coming up with a clean design in my head except to make a top level mutation just for this task.

@RossWilliams I actually had a question about that too - I don't want to mess with the VTL language too much so I'll probably create my own top level custom resolver too, but this creates a problem where if I write a mutation that also does an action on the Business but also inserts the user id into the array of IDs which one will happen first? I need the inserting ID to the array to be first, so does the order in which you write your mutations matter in GraphQL or are they all called simultaneously?

I’m not understanding your needs or plan. It sounds like you want to use a pipeline resolver, but the amplify cli does not support these yet. You will need to use AppSync directly, or write CloudFormation templates yourself.

@idanlo reading the responses from @RossWilliams I think you have your questions answered, so I'm closing the issue. Thanks @RossWilliams.
@idanlo feel free to reopen the issue if something new comes up.


[Question] Why is mapDefault not working with an object-value?

I'm trying to get mapDefault to work with a map which has an object as value, but it just doesn't work.
What happens, is that the book object is being created, as well as the data nested-object, but the color property doesn't have a default map value.
Below is the code I'm using as example:
type Color = 'black' | 'red' | 'green'
type ColorType = 'dark' | 'light'

interface IColorData {
  color: string
}

class ColorData {
  colorType: ColorType
}

class Data {
  @mapProp({of: ColorData, mapDefault: { black: { colorType: 'dark' } }})
  color: Map<Color, IColorData>
}

class Book {
  @Prop()
  name: string

  @Prop({_id: false, default: {}})
  data:  Data
}

Is there something I'm doing wrong? Thank you!

please create new issues on the new repo, thanks
Please know that all below is for version 6.0.0

mapDefault got removed, use default instead (to remove confusion, and because it was just an unnecessary layer)

here is your (minified) solution:
import { getModelForClass, mapProp, prop } from "@hasezoey/typegoose"; //<EMAIL_ADDRESS>import * as mongoose from "mongoose"; //<EMAIL_ADDRESS>
type Color = "black" | "red" | "green";
type ColorType = "dark" | "light";

class ColorData {
    @prop()
    public colorType?: ColorType;
}

class Data {
    @mapProp({ of: ColorData, default: new Map([["black", { colorType: "dark" }]]) })
    public color?: Map<Color, ColorData>;
}

const DataModel = getModelForClass(Data);

(async () => {
    await mongoose.connect(`mongodb://localhost:27017/`, { useNewUrlParser: true, dbName: "verifyS388" });

    const user = await DataModel.create({});
    console.log(user);

    await mongoose.disconnect();
})();

result (console output):
{
  color: Map { 'black' => { colorType: 'dark' } },
  _id: 5d7769618c687d18569d7613,
  __v: 0
}

Thank you! Looking forward to the 6.0.0 release.

@therealwolf42 is your question solved, when yes could you close this issue?


Add Nicolas Wu & Tom Schrijvers to authors & copyrights

Nicolas Wu’s & Tom Schrijvers’ work was monumentally important for this development; aside from a few things being renamed, a slight tweak to the shape of effect functors to integrate Effect Handlers in Scope with Fusion for Free, and one or two new effects, this work was derived directly from their papers. Therefore, I’m adding them to the LICENSE and authors field.

Got verbal approval from @patrickt too.


Invalid Preamble when reading the BIN file through GNSS SDR (MATLAB)

@thinkOfaNumber @scateu @sgk @edy555 @seppestas @osqzss @Mictronics
Hi, first of all, I am extremely sorry for asking so many questions again and again
Actually, I have generated the BIN (signal) file and when I transmit it through USRP I can see PRNs on the phone which means the acquisition is successful but there is no tracking and no navigation solution...
I tried testing the signal with MATLAB-based SDR (developed by Kai Borre) but it says invalid preambles. I am so confused what could be the problem behind this issue?
Please see the following images for further clarification.
Thank you

This should be fixed in the latest code.


Typescript loaders

This PR adds the ability to import loaders as ESM & CJS.
As there is already a build step for all the other code, adding a build step for loaders doesn't add much overhead.
All built code will be generated in /dist/* to have a better distinction between built code and code one can manually change.

the idea behind not compiling nodejs code was easier debugging
but I guess the advantages with one dist folder and not to mix esm / cjs help are way stronger


Make sure that the start pin is always above the other waypoints

Hello and thanks for this great plugin!
Is there a way to make sure the start pin is always above the other waypoints?

Absolutely!
This plugin fires an event for every marker/pin that is added to the map. When the start pin is added, you'll get a addpoint event with a point_type: 'start' in the event payload, as written at https://github.com/mpetazzoni/leaflet-gpx/blob/master/gpx.js#L339.
This event payload includes the pin object itself, and you can call .setZIndexOffset(...) on it, as documented here: https://leafletjs.com/reference-1.3.0.html#marker-setzindexoffset
So you should be able to write something like this:
L.GPX(url, {async: true}).on('addpoint', function(e) {
  if (e.point_type === 'start') {
    e.point.setZIndexOffset(1000);
  }
});

Thank you very much for your detailed answer!


Added ability to select search engine

#1722  Added the ability to select from a list (right now just google.com and duckduckgo.com,) or your own, custom search url.
A few notes:

in the settings menu, the customs fields don't do any sort of validation. You need to enter a valid url. I am not sure if there is a standard URL regex we are using or not - I can add that in.
urls.js examineLocationInput returns a vSearch result, which I changed just to return the query string to search (eg. ?q=query1+query2) as opposed to the full url. It is only used in the location bar code as far as I can tell, so it should be fine, as I changed the location bar to work with that.
this only effects the location bar search. If everyone is happy with this pull, I can hunt down the others and change them to use the user setting instead the hardcoded duckduckgo. I think there is a search option in some of the right click context menus.

Please let me know if you have any feedback!

Works for me! Will make changes.

Alright, updated - stored as a JSON string so user can add as many custom search engines as they want. Fixed the tabbing issues (I think, let me know if I didn't).  Also added logic so they can' t remove the last/current search engine. Custom search engine also affects the context menu (right-click).  Made small changes to css so that input[type="url"] has the same styling as input[type="text"]
Thanks again for feedback! This is my first contribution to an open source project, so apologies if I miss something.

Alright - besides being unsure of where I called getSettings in the location-bar (It works, just not sure if it is the right form) otherwise, should be good to go! Sorry for all the back and forth, appreciate the notes.

Okay great work! Testing now

Okay merged! Appreciate you working with me through it. I made a couple of final tweaks before merging (https://github.com/beakerbrowser/beaker/commit/d08989861200bfee44799166e825cc7de5fac585)

Ah - yeah that does work better!


T7.2.5 implementation: gelf/graylog log backend

https://docs.graylog.org/en/3.0/pages/gelf.html

UDP transport
JSON format (see spec above)
can translate from katip fields to gelf fields
test on all platforms (Linux, MacOSX, Windows)

current test:
in terminal 1 start: nc -4 -l -u <IP_ADDRESS> 3456 to accept UDP packets on port 3456
in terminal 2 start: cabal new-run example-simple to send a few log messages

@cleverca22 @disassembler could you please test this against a real instance of Graylog

still needs rebasing on master

Correct nc command on Linux is:
nc -l -u -p 3456 <IP_ADDRESS>

If you see nc: command not found, install netcat package.


Enable Streaming Data from Devices

Allow devices to send arbitrary data to the sever by calling a function like publishData(message, dataStream) on the firmware. The server should automatically receive the message, parse it, and save it to a database in a logical way. These data are then available for retrieval via a RESTful API (and later, an intelligent front end that displays/graphs data in datastreams as appropriate). Perhaps the server can autodetect the data type (or have it be sent up the pipe as a "header").

For multiple data types, can perhaps overload publishMessage with implementations that take a float or int mapping to publishes on topics with float or int. For example publishing on suyash/stream/:streamName/float

For now, will store all streamed data as a string, and clients can parse it as makes sense for each use case.

Tested b3f10f8 in production and was able to persist a sample message with no problems. Still left to add: a route to retrieve a list of messages for a given device and stream.


SVG export doesn't work when there are two viewports side by side

When I create a viewport, add gene annotation and chromosome tracks to the top and left size, copy the viewport, then replace the track in the second viewport with a different data set, and then try to run SVG export, I get no output in either Firefox or Chrome.
When I reload the app and just load one track, I can use SVG export just fine.

This can be tricky to reproduce. Using this link: http://higlass.io/app/?config=OPPFtzbuR76vtUIshTEOGA seems to lead to failed exports. I'll look into this ASAP.

Should be fixed in higlass v0.8.44. Docker v0.2.25.


Configurable image_repository

By default pulls all the "core" images from quay.io/kontena/.
Todo:

[x] kubernetes control plane
[x] kubedns
[x] etcd
[x] heapster
[x] pause
[x] pharos-kubelet-proxy
[x] weave
[x] calico

@SpComb @jnummelin PTAL

Should we handle all the built-in addons from Quay.io too?

Should we handle all the built-in addons from Quay.io too?

Yes, but it should be a separate PR (needs more image plumbing)


MapControl crashes with zoom level > 4.5  and MapStyle.Road

Describe the bug
MapControl crashes.
This issue started to happen a few hours ago, out of nowhere (Nov 17th midnight UTC).
It happens locally when debugging (see demo project below) and all my live apps for seemingly all my users!
Developer dashboard reports the crash as: fail_fast_fatal_app_exit_c0000409_bingmaps.dll!mapcontrol::detailtexturesource::begingettexture
This is an excerpt from the crash in the Event viewer:
Faulting module name: ucrtbase.dll, version: 10.0.19041.546, time stamp: 0x73123758
Exception code: 0xc0000409
Fault offset: 0x0009edbb
Faulting process id: 0x2c24
Faulting application start time: 0x01d6bca21d0101fa
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll

Steps to reproduce the bug
Use the MapControl in an app. Use the Style "Road". Zoom in past zoom level 4.5 (either programmatically or manually)
--> crash
Expected behavior
No crash
Example project:
App1.zip
Example live apps:
https://www.microsoft.com/en-us/p/xaml-ui-controls/9nblggh31bxt
https://www.microsoft.com/en-us/p/geophoto-geotag-map-slideshow/9wzdncrfj0f2

video of crash https://streamable.com/09m2lk

We're experiencing the same issue with our wpf application. Here's the result from windbg:
KEY_VALUES_STRING: 1
Key  : Analysis.CPU.mSec
Value: 127046

Key  : Analysis.DebugAnalysisProvider.CPP
Value: Create: 8007007e on DESKTOP-CDBMDLO

Key  : Analysis.DebugData
Value: CreateObject

Key  : Analysis.DebugModel
Value: CreateObject

Key  : Analysis.Elapsed.mSec
Value: 186372

Key  : Analysis.Memory.CommitPeak.Mb
Value: 608

Key  : Analysis.System
Value: CreateObject

Key  : CLR.BuiltBy
Value: NET48REL1LAST_C

Key  : CLR.Engine
Value: CLR

Key  : CLR.Version
Value: 4.8.4250.0

Key  : Timeline.OS.Boot.DeltaSec
Value: 377005

Key  : Timeline.Process.Start.DeltaSec
Value: 9

Key  : WER.OS.Branch
Value: 19h1_release

Key  : WER.OS.Timestamp
Value: 2019-03-18T12:02:00Z

Key  : WER.OS.Version
Value: 10.0.18362.1

Key  : WER.Process.Version
Value: <IP_ADDRESS>

ADDITIONAL_XML: 1
OS_BUILD_LAYERS: 1
NTGLOBALFLAG:  0
PROCESS_BAM_CURRENT_THROTTLED: 0
PROCESS_BAM_PREVIOUS_THROTTLED: 0
APPLICATION_VERIFIER_FLAGS:  0
CONTEXT:  (.ecxr)
eax=00000001 ebx=19363ea0 ecx=00000007 edx=000001e3 esi=00000003 edi=178df874
eip=759befbb esp=178df6c8 ebp=178df6dc iopl=0         nv up ei pl nz na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000202
ucrtbase!abort+0x4b:
759befbb cd29            int     29h
Resetting default scope
EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 759befbb (ucrtbase!abort+0x0000004b)
ExceptionCode: c0000409 (Security check failure or stack buffer overrun)
ExceptionFlags: 00000001
NumberParameters: 1
Parameter[0]: 00000007
Subcode: 0x7 FAST_FAIL_FATAL_APP_EXIT
PROCESS_NAME:  ST.LasVegas.WPF.Retail.exe
ERROR_CODE: (NTSTATUS) 0xc0000409 - The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.
EXCEPTION_CODE_STR:  c0000409
EXCEPTION_PARAMETER1:  00000007
MISSING_CLR_SYMBOL: 0
STACK_TEXT:
178df6dc 759be38b     823a6ab3 178df874 759be350 ucrtbase!abort+0x4b
178df70c 759a86c6     823a6a83 178df874 1568e7c0 ucrtbase!terminate+0x3b
178df73c 17087cd7     07788b64 178df82c 170876fd ucrtbase!__crt_state_management::wrapped_invoke<void (__cdecl*)(void),void>+0x21
178df748 170876fd     178df7b0 178df874 00000001 BingMaps!MapControl::DetailTextureSource::completeParentOperation+0x28
178df82c 1708752e     194c7298 178df874 00000000 BingMaps!MapControl::DetailTextureSource::beginGetTexture+0x19a
178df868 170950a8     194c7298 1568e7c0 1568e7b0 BingMaps!MapControl::DetailTextureSource::childOperationCompleted+0x3e
178df8a4 16eb5f4a     1568d320 16eb5f20 1568d320 BingMaps!std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,void (__thiscall MapControl::DetailTextureSource::*)(MapControl::TileFrameKey const &,std::shared_ptr<Pal::AsyncOperationImplementation<MapControl::Versioned<std::shared_ptrEngine::Texture >,std::shared_ptrPal::UntypedAsyncOperation > >,Math::TileId,Pal::AsyncOperation<std::shared_ptrMapControl::TileImage > const &),MapControl::DetailTextureSource ,MapControl::TileFrameKey const &,std::shared_ptr<Pal::AsyncOperationImplementation<MapControl::Versioned<std::shared_ptrEngine::Texture >,std::shared_ptrPal::UntypedAsyncOperation > > &,Math::TileId const &,std::_Ph<1> const &>,void,Pal::AsyncOperation<std::shared_ptrMapControl::TileImage > &>::_Do_call+0x48
178df8b8 16eb60b9     1568d350 16eb60a0 16efa15b BingMaps!Pal::AsyncOperation::callbackFromBaseClass+0x2a
178df8c4 16efa15b     1568d320 16eac7c0 16ef9ee5 BingMaps!std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,void (__thiscall Pal::AsyncOperation::)(void),Pal::AsyncOperation >,void>::_Do_call+0x19
178df8d0 16ef9ee5     1568d320 1568d330 00000000 BingMaps!std::_Func_class::operator()+0x22
178df8e4 16ef9e7c     00000001 bf74463f 00b54618 BingMaps!Pal::UntypedAsyncOperation::tryComplete+0x4a
178df91c 16eee0b9     00000001 00b54610 1568d320 BingMaps!Pal::UntypedAsyncOperation::setSucceededOrFailedInternal+0x62
178df934 17094e35     178df96c bf7446ab 00b54610 BingMaps!Pal::AsyncOperation<std::shared_ptrMapControl::TileImage >::setSucceeded+0x69
178df988 17086840     00b54620 00b54618 00b54610 BingMaps!MapControl::PipelineAsyncSource<std::shared_ptrMapControl::TileImage,std::shared_ptr<Pal::AsyncOperationMapControl::DownloadedResource > >::process+0x75
178df9a0 7a3d3dd0     18edd9b0 18edd998 7a3d83d2 BingMaps!std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,void (__thiscall MapControl::PipelineAsyncSource<MapControl::Versioned<std::shared_ptr<MapControl::GenericMeshEngine::xyzFloat3uvShort2stShort2 > >,std::shared_ptr<Pal::AsyncOperationMapControl::DownloadedResource > >::)(MapControl::TileFrameKey const &,std::shared_ptr<Pal::AsyncOperationImplementation<MapControl::Versioned<std::shared_ptr<MapControl::GenericMeshEngine::xyzFloat3uvShort2stShort2 > >,std::pair<std::shared_ptr<Pal::AsyncOperationMapControl::DownloadedResource >,std::shared_ptrUtility::PrioritizableTask > > > const &,std::shared_ptrPal::UntypedAsyncOperationCancelList const &),MapControl::PipelineAsyncSource<MapControl::Versioned<std::shared_ptr<MapControl::GenericMeshEngine::xyzFloat3uvShort2stShort2 > >,std::shared_ptr<Pal::AsyncOperationMapControl::DownloadedResource > > ,MapControl::TileFrameKey const &,std::shared_ptr<Pal::AsyncOperationImplementation<MapControl::Versioned<std::shared_ptr<MapControl::GenericMeshEngine::xyzFloat3uvShort2stShort2 > >,std::pair<std::shared_ptr<Pal::AsyncOperationMapControl::DownloadedResource >,std::shared_ptrUtility::PrioritizableTask > > > &,std::shared_ptrPal::UntypedAsyncOperationCancelList &>,void>::_Do_call+0x20
178df9ac 7a3d83d2     7ea0dd26 155e44b4 155e44c0 MapConfiguration!std::_Func_class::operator()+0x22
178df9d8 7a3ef343     7ea0de9a 1556f578 7a3ef210 MapConfiguration!Pal::Task::run+0x41
178dfa64 7a3d75e6     1556f578 7a3d75d0 7a3d3dd0 MapConfiguration!Utility::PrioritizedTaskQueue::executeNextTask+0x133
178dfa70 7a3d3dd0     1556f578 1556f560 7a3d83d2 MapConfiguration!std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,void (__thiscall MapControl::ConfigurationManager::)(void),MapControl::ConfigurationManager >,void>::_Do_call+0x16
178dfa7c 7a3d83d2     7ea0de56 7a3d5e40 0740cf90 MapConfiguration!std::_Func_class::operator()+0x22
178dfaa8 7a3d5e50     178dfad8 79cc4735 00b547c8 MapConfiguration!Pal::Task::run+0x41
178dfab0 79cc4735     00b547c8 0740cf90 79cc3f80 MapConfiguration!Microsoft::WRL::Details::DelegateArgTraits<long (__stdcall ABI::Windows::System::Threading::IWorkItemHandler::)(ABI::Windows::Foundation::IAsyncAction *)>::DelegateInvokeHelper<Microsoft::WRL::Implements<Microsoft::WRL::RuntimeClassFlags<2>,ABI::Windows::System::Threading::IWorkItemHandler,Microsoft::WRL::FtmBase>,<lambda_4dee343780eb4da9ace3791073184dda> &,-1,ABI::Windows::Foundation::IAsyncAction *>::Invoke+0x10
178dfad8 79cc4027     81215622 79cc3f80 075c2598 threadpoolwinrt!Windows::System::Threading::CThreadPoolWorkItem::CommonWorkCallback+0xa5
178dfb04 77359984     178dfc18 0740cf90 075c2598 threadpoolwinrt!Windows::System::Threading::CThreadPoolWorkItem::BatchedCallback+0xa7
178dfb3c 7735868c     178dfc18 075c2610 8519dab9 ntdll!TppWorkpExecuteCallback+0x144
178dfcec 76d66359     15569710 76d66340 178dfd58 ntdll!TppWorkerThread+0x72c
178dfcfc 77388944     15569710 8519db0d 00000000 kernel32!BaseThreadInitThunk+0x19
178dfd58 77388914     ffffffff 773aa0d6 00000000 ntdll!__RtlUserThreadStart+0x2f
178dfd68 00000000     77357f60 15569710 00000000 ntdll!_RtlUserThreadStart+0x1b
SYMBOL_NAME:  ucrtbase!abort+4b
MODULE_NAME: ucrtbase
IMAGE_NAME:  ucrtbase.dll
STACK_COMMAND:  ~39s ; .ecxr ; kb
FAILURE_BUCKET_ID:  FAIL_FAST_FATAL_APP_EXIT_c0000409_ucrtbase.dll!abort
OS_VERSION:  10.0.18362.1
BUILDLAB_STR:  19h1_release
OSPLATFORM_TYPE:  x86
OSNAME:  Windows 10
IMAGE_VERSION:  10.0.18362.1110
FAILURE_ID_HASH:  {e31753ac-c98a-8055-3663-47e707543d20}
Followup:     MachineOwner

I have the same issue, and posted on StackOverflow
https://stackoverflow.com/questions/64870089/uwp-mapcontrol-crashes-after-zooming-in

same issue!!!!
but ms can't block apps with this bugs, i work with my app!!!.
It is unacceptable that it does not work. Who can we write to to solve this problem quickly?

A quick workaround is to start the map in Aerial mode
<maps:MapControl Style="AerialWithRoads" />

Workaround is awesome, however if you switch back into Terrain it will then crash.

Yeah, someone from Microsoft needs to fix this ASAP!

@MikeHillberg @Scottj1s do you know who to contact?

Hi all, I'm an engineer at Microsoft. I've been tracking this issue with tipa since before this ticket was created. I don't work with the mapcontrol team, but I wanted to help out with this issue. So, I've reached out to the relevant teams internally. This issue was caused by an issue server side that was published recently. They're rolling back the server-side changes, so hopefully we see the control start to work normally soon.

Thank you for this feedback @dpaulino
All of my apps in prod have crashed today... A big big mess that I didn't had sine 15 years at least

I got this message from Microsoft:

Hi Moshe,
Upon investigation, the Bing Maps UWP control was inadvertently unable to handle a certain condition around the tiles. To mitigate this issue, our Product Group has initiated rolling back the change that impacted this experience. This issue should be beginning to resolve within the next hour, if not already.
Regards,
Kelvin Goseng
Support Engineer | Bing Maps Enterprise Support
Microsoft Corporation

The crash doesn't seem to be happening anymore in this app that tipa reported: https://www.microsoft.com/en-us/p/xaml-ui-controls/9nblggh31bxt.
Can others confirm if the control is working normally in your apps?

Can confirm it works in our apps as well.

Yes working again. @dpaulino can you pass along these comments to the map control team:

Bing Maps UWP team really needs to be on GitHub, we need an official place to report issues
Bing Maps needs to communicate with customers during outages. They have a Twitter (@bingmaps), use it.
It was great of @dpaulino to step in to help connect, but where is the Bing Maps team?
Can we expect a RCA of this incident, and steps that Bing Maps will take to prevent incidents like this in the future?

@moshegutman I passed it along. I'm sorry this happened. I have a few production Windows app in the store myself. It's frustrating to realize that some server side dependency that's out of our control can shut down our production apps so suddenly. Fingers crossed that the team can provide some transparency.

@dpaulino : you express exactly my actual feeling...

Looks like the issue is unrelated to WinUI and already resolved, so closing this issue.

Hi @dpaulino, It's been 2 years and 2 days, any luck getting that team to be more transparent? I'd love to be able to speak with their product manager.


Added link to CKAD practice challenges on Katacoda.

A set of practice challenges to prepare for the CNCF Certified Kubernetes Application Developer exam built using Katacoda in already provisioned and running Kubernetes cluster. Tests have verifications in place as well.
PS: They are authored by me.

Hi, 50% Discount I have purchase and pass Linux Foundation CKAD exam Yet...i suggest and help you can also get Any Linux Foundation Certifications Practice Guide From Here This Link:
Download Full Practice Exam Material Here:
https://www.validexamdumps.com/linux-foundation/ckad-dumps


encoding error

Using the sample code with a probably newer Python version we get
  File ".../lib/python3.7/site-packages/sdhash/__init__.py", line 90, in _hash_image
    hasher.update('IMAGE')
TypeError: Unicode-objects must be encoded before hashing

tried to pass a base64 encoded string instead of a PIL image but then I get other errors...

First --> thank you for trying out this thing 🙇♂
Second -->
It should definitely work with just a PIL image and nothing else.
I guess in newer Pythons the hash object doesn't work on strings. But rather on bytes that contain the encoded form of the string.
For example:
> 'IMAGE'.encode('utf-8')
b'IMAGE'

So the simple fix would be to update 'IMAGE' to 'IMAGE'.encode('utf-8'). But there's probably more that is broken.
Should be a simple fix, but can't promise I get around to it today.

thank so much for the quick response -  not urgent as I am working more with ssdeep (although a comparison with sdhash would be nice). Seems there are even more issues while I am late to these Python games to fix it by myself.


How to deploy & watch?

How can I watch & deploy so that it runs deploy as soon as a source file changes (either a .rs file or one in the static folder)?

My use case is: I'm using rust-embed to embed the frontend files in release build but load from disk in debug build, so I'm using #[folder = "target/deploy"], that's why I have to watch & deploy.
Currently I'm doing cargo watch -x "web deploy" but can cargo-web do this by itself? :)

Currently only cargo web start can do this.

But where does cargo web start build the files to?
Can it be told to build to target/deploy?

Agreed on this one - it would be fantastic if there was a builtin cargo web watch that would build the static files and place them in a specified directory the same way cargo web start does.


[feature request]Add support for fzf-lua

The fzf-lua floating windows have filetype fzf.

Added! Should work out of the box.


Add Ex Mode scenario

Add support for ex-mode.
Not too sure about this message: This is like typing ":" commands one after another. Type "visual" to go to Normal mode..
Should it be less verbose about what ex-mode is?

Thanks for the PR! Ex mode case was merged as part of https://github.com/siddhantgoel/stuckinvim.com/pull/4 . There were some broken layout issues because of which I had temporarily to revert the other changes (and I guess your PR was submitted exactly during this time). But if you feel differently about the current wording for Ex mode, please feel free to modify your PR. 👍

looks like your PR was submitted exactly during this time

Haha, that's awesome.
No worries, I'll close my branch I actually like your wording better.


LeftRotateAnArray

Hey Abhijit I have added file for #74

You were not assigned the issue, closing it.


Fix for array param

I don't know how clumsy this method is, but it helps me in the next case:
{
  "action": "edit",
  "data[1][title]": "title",
  "data[1][files][]": 1,
  "data[1][files][]": 2,
  "data[1][files][]": 3
}

Existing tests pass successfully, but it's useful to cover the fix case as well.

Codecov Report

Merging #5 into master will decrease coverage by 0.37%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
- Coverage     100%   99.62%   -0.38%
==========================================
  Files           4        4
  Lines         266      270       +4
==========================================
+ Hits          266      269       +3
- Misses          0        1       +1

Impacted Files
Coverage Δ

rest_framework_datatables_editor/viewsets.py
98.24% <80%> (-1.76%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8920b87...9d22304. Read the comment docs.

I don't know how clumsy this method is, but it helps me in the next case:
{
  "action": "edit",
  "data[1][title]": "title",
  "data[1][files][]": 1,
  "data[1][files][]": 2,
  "data[1][files][]": 3
}

Existing tests pass successfully, but it's useful to cover the fix case as well.

Hi @ruslankrivoshein!.
Thank you for your contribution!
Could you rebase the PR to the latest version and add tests for that case?


Add MacOS builds to CircleCI

Integrated macos into CircleCI

It looks like the macOS docker image is not downloading the dependent projects

physfs
sdl
glew

I see the Macintosh xcode project files in the proj folder. I see circleci is targeting xcode 10.0.0. I don't understand how circleci knows where the xcode project files are located at.
@ldicker83, does Trevor Allen still work on nas2d, or could he give an assist maybe to properly hook the xcode project to circleci?
Thanks,
Brett

@DanRStevens
@ldicker83
All builds pass

@DanRStevens
This works, but macOS takes four minutes to rebuild the brew deps every time.
Alright if I create another branch/PR just to address testing caching?
If it doesn't work I can just delete it and we'll still have this to fall back on.

Tagging Issue #123.

Ok, I've gotten a bit behind on code updates. Sorry about that.
I'm afraid enough time has passed so that I've lost a bit of context on this one. I think I wanted some of the build steps pulled out into commands. We probably do need the executors so they can be re-used between branch and PR builds.
Looks like things here were working, and we were really close to getting it into the form we want. We've created a rather long wall of text though, that will be difficult for Leeor to review. Maybe we can do another rebase to clean things up a bit, and give this another look over. Once that is done perhaps we can port the changes to a new PR so we leave the wall of text behind.
@cugone, how do you feel about another rebase? I can potentially help if needed, though I'm afraid my availability may be a bit spotty for the next little while.

@ldicker83
@DanRStevens
Request review.

Hah, yeah, the test containers didn't even have a checked out copy of the code, never mind a compiled version to run through the unit tests.
I'll make some changes to address.

Ok, so that's what it should look like. It now tries to continue building the test code, which the original build will be linked into. Unfortunately there is no Google Test dependency installed in the CI environments, so it fails at the #include <gtest/gtest.h> line in the test code.
I'll disable actually running the tests for now.


Ensure static linked binary (for linux)

Refer: https://github.com/jedisct1/dnscrypt-proxy/issues/458

About -tags netgo, Refer: https://github.com/docker-library/golang/issues/152

Try adding -tags netgo -installsuffix netgo (which forces the all-Go networking implementation and should thus remove the cgo dependence).

About cgo, Refer: https://golang.org/cmd/cgo/
In my experience, some go lib implement build with cgo have better performance.
For example, with CGO_ENABLED=1, resolver (in netgo) will be work with libc, and work with system level cache (means better performance). With CGO_ENABLED=0, resolver  will work its own(without cache).
Nowsadys most Linux OS is built with glibc, but some with musl(glibc-linked binary cant work), like alpine, openwrt and some on.
CGO_ENABLED=1 will be default, when GOOS is the same as build system.


Add HeidiSQL

Microsoft Reviewers: Open in CodeFlow

getting really sick of these copy source errors

@superusercode Please use the full version number (<IP_ADDRESS>19) instead.

@SoftCreatR done, but I find it weird that they use different version number for their github releases and the actually executables. This wasn't me shortening it but rather trying to match the github tags.

@SoftCreatR done, but I find it weird that they use different version number for their github releases and the actual executables. This wasn't me shortening it but rather trying to match the github tags.

@superusercode Yeah, i know. Btw: Linking from Majorgeeks won't work. The hashes generated are temporary.

Until the copy error is fixed I will just use the official URL since I cannot find a reputable mirror

@superusercode I've created another PR: https://github.com/microsoft/winget-pkgs/pull/1610
As you can see, it uses a proprietary download URL. This is just a proxy around #91. It downloads the given file from the given URL and returns it to the client in a "proper" way.
Looks like it's working as expected, so i'll try to take over some of the failing applications.

Obsolete by https://github.com/microsoft/winget-pkgs/pull/1610


python setup.py develop error

hello!
When I type "sudo python setup.py develop" in the terminal ,I get this error:
File "setup.py", line 26
print('version = "%s"' % version, file=f)
^
SyntaxError: invalid syntax

Please check your python version. This repo only supports python 3.

Please check your python version. This repo only supports python 3.

First of all, thank you very much for your reply.
I  use conda to configure the virtual environment and it shows that the current Python version is 3.6.10.So I wonder why this error was reported.The details are as follows.
(py36_OpenPCDet) wlz@wlz-Legion-Y7000-2019-PG0:~/OpenPCDet$ sudo python setup.py develop
[sudo] wlz 的密码：
File "setup.py", line 26
print('version = "%s"' % version, file=f)
^
SyntaxError: invalid syntax
(py36_OpenPCDet) wlz@wlz-Legion-Y7000-2019-PG0:~/OpenPCDet$ python --version
Python 3.6.10 :: Anaconda, Inc.
Finally, thank you again

Please check your python version. This repo only supports python 3.

First of all, thank you very much for your reply.
I use conda to configure the virtual environment and it shows that the current Python version is 3.6.10.So I wonder why this error was reported.The details are as follows.
(py36_OpenPCDet) wlz@wlz-Legion-Y7000-2019-PG0:/OpenPCDet$ sudo python setup.py develop
[sudo] wlz 的密码：
File "setup.py", line 26
print('version = "%s"' % version, file=f)
^
SyntaxError: invalid syntax
(py36_OpenPCDet) wlz@wlz-Legion-Y7000-2019-PG0:/OpenPCDet$ python --version
Python 3.6.10 :: Anaconda, Inc.
Finally, thank you again

Please check your python version. This repo only supports python 3.

First of all, thank you very much for your reply.
I also guess the reason for the error is that the python version is not 3.x. However,I use conda to configure the virtual environment and it shows that the current Python version is 3.6.10. The details are as follows.
(py36_OpenPCDet) wlz@wlz-Legion-Y7000-2019-PG0:/OpenPCDet$ sudo python setup.py develop
[sudo] wlz 的密码：
File "setup.py", line 26
print('version = "%s"' % version, file=f)
^
SyntaxError: invalid syntax
(py36_OpenPCDet) wlz@wlz-Legion-Y7000-2019-PG0:/OpenPCDet$ python --version
Python 3.6.10 :: Anaconda, Inc.

Please check your python version. This repo only supports python 3.

First of all, thank you very much for your reply.
I also guess the reason for the error is that the python version is not 3.x. However,I use conda to configure the virtual environment and it shows that the current Python version is 3.6.10. The details are as follows.
(py36_OpenPCDet) wlz@wlz-Legion-Y7000-2019-PG0:/OpenPCDet$ sudo python setup.py develop
[sudo] wlz 的密码：
File "setup.py", line 26
print('version = "%s"' % version, file=f)
^
SyntaxError: invalid syntax
(py36_OpenPCDet) wlz@wlz-Legion-Y7000-2019-PG0:/OpenPCDet$ python --version
Python 3.6.10 :: Anaconda, Inc.

I think this is a weird problem caused by indentation, so I suggest you check the indentation(4 spaces) before and after print('version = "%s"' % version, file=f). Additionally, as you did nothing modification on source code, you can also check out the encoding of python interpreter by running  print(sys.getdefaultencoding()) // the result should be utf-8
Hope this answer helps you!

Feel free to re-open it if you still have problems.


Does TensorFlow Micro support self define output type for each layer?

@tensorflow/micro
Describe the problem
In our project, we want to deploy a CNN model in QualComm sensorhub. We quantize the model firstly, the input of the model is int8 data. But in order to improve inference accuracy, we want to use uint8 data to receive the first convolution layer output and input float data to FullyConnected layer. Therefore, the data type change process is as follow: int8 input -> first conv -> uint8 output -> second conv -> ... last conv -> float output -> fullyconnected. Dose TensorFlow Micro support this?

Hi @tiancaitzp, that level of granularity is not yet supported by TFLite, please review the available quantization methods here: https://www.tensorflow.org/lite/performance/model_optimization to see what is supported.


Is there an option to load progressive jpeg ?

Left: normal loading
Right: Progressive loading

No, not yet. And there is no such plan for it currently.

Hi, @onevcat any updates on this feature?

It's already implemented in version 5.5.0. Use .progressiveJPEG in the loading option to load a progressive JPEG.


[backport] Dynamic resolution fix

Releated pull request for master:
#8194
#8236

hello，I found two bugs, Windows 10 configured RDP, connect Windows 7 and Debian System, set dynamic-resolution parameters, can not be maximized, maximized part of the interface is black screen. And use RDP on win systems，with the f parameter full screen. The shortcut keys ctri_alt_enter are not responding. Can You solve these two problems，please?

@xiuxiu-rgb Is this related to these two pull requests?  Is it a different bug?
Which version of FreeRDP are you using?

If you are reporting a bug, I'd suggest you create a new issue.  This issue is used to track the commits that need to be backported.

Ok，Thank you


Code scan: Some HTML files are 99.9% javascript

Describe the enhancement
I propose a code scan for HTML files. The .html files are cataloged as HTML, but inside the majority of them are 99.9% javascript (for instance my projects). Please see the html files from any of these repositories.

If its a .html file it'll be classified as HTML even if it has lots of stuff inside a

The most simple solution may be:
a = html source code
b = replace "

If its a .html file it'll be classified as HTML even if it has lots of stuff inside a

The same is with HTML files that contain alamoast 100% javascript source code.
The most simple solution may be a HTML/JS label:
HTML/JS is just HTML though, having embedded JS is normal. But if its so much that the file is more JS than HTML thats what external .js files are for.

What if I have a file with a .php extension, but the content is 100% HTML?
Then its PHP still. Having GitHub actually parse all the files trying to find embedded sublanguages would be way too resource intensive for something that needs to run on github a zillion times per second.

This topic has been brought up a few times in the past, for example, in the discussions around detecting Python in Jupyter files in https://github.com/github/linguist/issues/3316, R in Rmarkdown files in https://github.com/github/linguist/issues/5208, and even JavaScript in HTML files in https://github.com/github/linguist/discussions/5248 and more recently https://github.com/github/linguist/issues/5326
In short, this is highly unlikely to happen. If you want your mostly JavaScript containing HTML files to be identified as JavaScript you can use an override.

This will be solved one day. The point with HTML files and JS is that .html allows for one file applications with no dependencies. I believe the world already craves for that.


Update telegraf docs link to installed version

PKS 1.5 has 1.11.0 and 1.12 of telegraf installed, linking to older docs for compatibility

Thank you @rheaton


add docs for oidc extensions field in kafka

Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[x] Read the contribution guide
[ ] Commands include options for Linux, MacOS, and Windows within codetabs
[ ] New file and folder names are globally unique
[ ] Page references use shortcodes instead of markdown or URL links
[ ] Images use HTML style and have alternative text
[ ] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description
Based on PR https://github.com/dapr/components-contrib/pull/3124
Issue reference
closes #3722

@ItalyPaleAle Please review PR


MNT: Re-rendered with conda-smithy 2.3.0

Add Python 3.6 and drop Python 3.4.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


fix: tmq offset reset latest

Codecov Report

Merging #260 (6dbad85) into main (d50c4a9) will decrease coverage by 1.71%.
Report is 2 commits behind head on main.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##             main     #260      +/-   ##
==========================================
- Coverage   60.14%   58.44%   -1.71%
==========================================
  Files         102      102
  Lines       25312    25131     -181
==========================================
- Hits        15225    14687     -538
- Misses      10087    10444     +357

Files
Coverage Δ

taos-sys/src/stmt/mod.rs
69.56% <ø> (ø)

taos-sys/src/tmq/mod.rs
60.51% <100.00%> (-2.17%)
:arrow_down:

taos-sys/src/types/mod.rs
47.83% <50.00%> (+0.18%)
:arrow_up:

... and 20 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Godot 4 TileSet one-way collision is not one-way only

Godot version
v4.0.alpha.14.official
System information
Linux Mint, Vulkan
Issue description
When setting the collisions of a tile in a TileSet as one-way, the engine does not apply it correctly. Normally, a character should be able to jump to a higher platform from below "through" it, but any other type of collision should be detected and the engine should prevent the character from going through the obstacle.
In the code example that I attach you can see how the character can cross the area on his right. In this case, the character should hit that raised area and be stopped.
Steps to reproduce

Create a Godot 4 project
Create a map with a TileMap, and use a Tile with the one-way collision enabled
Add a CharacterBody2D node as the player, set its movement and collisions
Try to hit a tile from the side

Minimal reproduction project
https://github.com/svprdga/Godot-4-One-way-collision-error

This is not a bug. One way collision, as name implies, works only one way - from top. All other directions aren't detected.

This is not a bug. One way collision, as name implies, works only one way - from top. All other directions aren't detected; that's consistent with literally every platformer.

I suppose documentation should be modified to make this more explicit.

idk, I think the OP just confused it with "one way passage".

This is not a bug. One way collision, as name implies, works only one way - from top. All other directions aren't detected; that's consistent with literally every platformer.

Right, I was confused about that.


Fix path_semantics and be robust against empty 'filled'.

There are so many commits because the tests fail on my windows machine, so I'm using travis until I can fix the windows errors.

Isn't there an OS specific python term for the temporary directory? Lacking
that, Windows has an environment variable for TEMPDIR (iirc, need to
confirm exact spelling) so we can relax the assumption on the C: drive.
Otherwise, that is a point of failure, albeit uncommon.
On Mon, Mar 25, 2019, 4:54 PM Maksim Rakitin<EMAIL_ADDRESS>wrote:

@mrakitin requested changes on this pull request.
Looks good to me after @danielballan https://github.com/danielballan's
suggestions are implemented.
Left one important suggestion regarding paths.
In event_model/tests/test_em.py
https://github.com/NSLS-II/event-model/pull/59#discussion_r268714075:

@@ -131,8 +146,14 @@ def test_bulk_events_to_event_page():

 desc_bundle_baseline = run_bundle.compose_descriptor(

     data_keys={'motor': {'shape': [], 'dtype': 'number', 'source': '...'}},

     name='baseline')

if os.name == 'nt':

   path_root = 'C:\tmp'

To avoid it to be evaluated as "tab" (\t)
⬇ Suggested change

   path_root = 'C:\tmp'

   path_root = 'C:\\tmp'

Quick IPython demo:
In [1]: path_root = 'C:\tmp'
In [2]: path_root
Out[2]: 'C:\tmp'
In [3]: print(path_root)
C:	mp
In [4]: path_root = 'C:\tmp'
In [5]: path_root
Out[5]: 'C:\tmp'
In [6]: print(path_root)
C:\tmp
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NSLS-II/event-model/pull/59#pullrequestreview-218419520,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACLKMGcmOowawNZ93aDHzHa_jMZvy8u2ks5vaPEmgaJpZM4b63Y8
.

Thanks for the feedback, @prjemian! I think the motivation here is to test with the Windows path semantics as it would be on a Windows collection machine with real paths, not just temporary placeholders. We had a similar problem in ophyd, https://github.com/NSLS-II/ophyd/pull/703.
A general comment: it would be nice to have a template for the issues/PRs the same way we have it for Bluesky. I hope it will enforce stricter descriptions and motivations sections.

I had the same thought as @prjemian but didn't bother raising it. I'm not sure I understand your point about testing a "real path". I think this would be a reasonable place to use pytest's tmp_path fixture which is how we handle this in suitcase-utils. It would remove a bunch of if blocks and also ensure that the sample files are cleaned up on test exit.

+1 for tmp_path
On Mon, Mar 25, 2019, 6:33 PM Dan Allan<EMAIL_ADDRESS>wrote:

I had the same thought as @prjemian https://github.com/prjemian but
didn't bother raising it. I'm not sure I understand your point about
testing a "real path". I think this would be a reasonable place to use pytest's
tmp_path fixture https://docs.pytest.org/en/latest/tmpdir.html which is
how we handle this in suitcase-utils. It would remove a bunch of if
blocks and also ensure that the sample files are cleaned up on test exit.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NSLS-II/event-model/pull/59#issuecomment-476302108,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACLKMMGb2kMPF-IUTXooxADMRUIvQaLJks5vaQhKgaJpZM4b63Y8
.

If you do go with tmp_path @gwbischof you will need to specify pytest >3.9 here: https://github.com/NSLS-II/event-model/blob/873a874b87b75b0a35dc70d9830bc3790f0c7211/requirements-dev.txt#L6
Travis comes with an older version of pytest pre-installed, so you need to specifically pin it to prompt pip to upgrade.

@danielballan, it seems the suggested tmp_path fixture will help here. My point was to have test cases, realistically describing different use cases. But I believe it can be obtained via the fixtures by providing different sets of parameters.

OK, sounds good.


Update theme-builder to provide multiple sources for exporting theme

With the introduction of typography tokens its quite cumbersome to copy-paste json files from theme-builder and even generate new themes.
Update the theme-builder to provide two different options for exporting to json design-tokens.

Command-line snippet for generating json design tokens.
Download zip with json design tokens.

### Tasks
- [ ] https://github.com/digdir/designsystemet/issues/2269
- [ ] https://github.com/digdir/designsystemet/issues/2272
- [ ] https://github.com/digdir/designsystemet/issues/2334

Done


Uncaught TypeError: Cannot read property 'isGreaterThan' of null

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
When on the first column of an empty line, trying to increment the indentation through the editor:indent will raise an exception instead of increasing the indentation. This does not occurs when the cursor is no longer at the beginning of the line nor when the line is not empty.
Steps to Reproduce

Place the cursor at the beginning of an empty line
Trigger the editor:indent command

Expected behavior: [What you expect to happen]
The line should have been indented and the cursor moved to the new position
Actual behavior: [What actually happens]
An uncaught exception is raised.
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
> atom --version
Atom    : 1.14.0-dev-2958ad2
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0

> apm --version
apm  1.15.1
npm  3.10.5
node 4.4.5 x64
python 2.7.11
git 2.10.1

Stack Trace
Uncaught TypeError: Cannot read property 'isGreaterThan' of null

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:825

TypeError: Cannot read property 'isGreaterThan' of null
    at Cursor.module.exports.Cursor.skipLeadingWhitespace (/Applications/Atom.app/Contents/Resources/app.asar/src/cursor.js:406:33)
    at Selection.module.exports.Selection.indent (/Applications/Atom.app/Contents/Resources/app.asar/src/selection.js:785:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2807:26
    at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1130:28
    at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:820:18)
    at TextEditor.module.exports.TextEditor.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1547:26)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1124:24
    at TextEditor.module.exports.TextEditor.mergeSelections (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2521:43)
    at TextEditor.module.exports.TextEditor.mergeIntersectingSelections (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2487:35)
    at TextEditor.module.exports.TextEditor.mutateSelectedText (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1122:19)
    at TextEditor.module.exports.TextEditor.indent (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2806:19)
    at TextEditor.editor:indent (/Applications/Atom.app/Contents/Resources/app.asar/src/register-default-commands.js:594:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/register-default-commands.js:666:34
    at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:820:18)
    at TextEditor.module.exports.TextEditor.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1547:26)
    at atom-text-editor.newCommandListeners.(anonymous function) (/Applications/Atom.app/Contents/Resources/app.asar/src/register-default-commands.js:665:22)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:106:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:59)

Commands

     -0:24.6.0 editor:delete-to-beginning-of-line (input.hidden-input)
     -0:24.4.0 core:backspace (input.hidden-input)
     -0:24.1.0 core:save (input.hidden-input)
     -0:04.8.0 editor:delete-to-beginning-of-line (input.hidden-input)
     -0:04.3.0 docblockr:parse-tab (input.hidden-input)
     -0:04.3.0 snippets:next-tab-stop (input.hidden-input)
     -0:04.3.0 snippets:expand (input.hidden-input)
     -0:04.3.0 editor:indent (input.hidden-input)
     -0:02.5.0 editor:delete-to-beginning-of-line (input.hidden-input)
     -0:01.9.0 editor:consolidate-selections (input.hidden-input)
     -0:01.9.0 core:cancel (input.hidden-input)
     -0:00.8.0 core:save (input.hidden-input)
     -0:00.1.0 docblockr:parse-tab (input.hidden-input)
     -0:00.1.0 snippets:next-tab-stop (input.hidden-input)
     -0:00.1.0 snippets:expand (input.hidden-input)
     -0:00.1.0 editor:indent (input.hidden-input)

Config

{
  "core": {
    "audioBeep": false,
    "automaticallyUpdate": false,
    "customFileTypes": {
      "source.ruby.rails": [
        "rb"
      ]
    },
    "destroyEmptyPanes": false,
    "disabledPackages": [
      "minimap-symbols",
      "preview-tabs",
      "crosshairs",
      "coffee-compile",
      "enhanced-package-list",
      "themed-settings",
      "smart-tag-cycle",
      "tree-view-open-files",
      "typewriter",
      "travis-ci-status",
      "linter-eslint"
    ],
    "openEmptyEditorOnStart": false,
    "telemetryConsent": "limited",
    "themes": [
      "one-dark-ui",
      "spacegray-dark-neue-syntax"
    ],
    "useCustomTitleBar": true
  },
  "editor": {
    "autoIndentOnPaste": false,
    "fontFamily": "Monoid",
    "fontSize": 13,
    "invisibles": {},
    "scrollPastEnd": true,
    "showIndentGuide": true,
    "showInvisibles": true,
    "softWrap": true,
    "softWrapAtPreferredLineLength": true
  }
}

Installed Packages

# User
atom-eco, v0.2.0 (active)
atom-material-syntax, v0.4.6 (inactive)
atom-ternjs, v0.16.1 (inactive)
bezier-curve-editor, v0.7.2 (active)
caniuse, v0.9.0 (active)
clipboard-plus, v0.5.1 (active)
docblockr, v0.9.1 (active)
duotone-dark-forest-syntax, v2.0.1 (inactive)
duotone-dark-space-syntax, v2.0.1 (inactive)
expose, v0.12.2 (inactive)
figlet, v0.5.4 (active)
github, v0.0.0 (active)
highlight-selected, v0.11.2 (active)
indent-tooltip, v0.2.1 (inactive)
kite, v0.6.1 (active)
language-ejs, v0.4.0 (active)
language-generic-config, v1.3.0 (active)
language-haml, v0.24.1 (active)
language-jade, v0.7.2 (active)
language-sass, v0.57.1 (active)
linter, v1.11.21 (active)
linter-eslint, v8.0.0 (inactive)
linter-js-standard, v3.7.0 (active)
minimap, v4.26.5 (active)
minimap-bookmarks, v0.4.2 (active)
minimap-codeglance, v0.4.5 (active)
minimap-find-and-replace, v4.5.1 (active)
minimap-git-diff, v4.3.1 (active)
minimap-highlight-selected, v4.4.0 (active)
minimap-linter, v1.6.0 (active)
minimap-pigments, v0.2.2 (active)
minimap-selection, v4.4.0 (active)
php-twig, v4.0.0 (active)
pigments, v0.38.0 (active)
process-palette, v0.9.1 (active)
project-palette-finder, vundefined (active)
red-wavy-underline, v0.3.2 (active)
solarized-dark-ui, v0.3.1 (inactive)
sort-lines, v0.14.0 (inactive)
spacegray-dark-neue-syntax, v1.3.0 (active)
spacegray-dark-ui, v0.12.0 (inactive)
Stylus, v3.1.0 (active)
tablr, v1.8.0 (active)
tabs-to-spaces, v1.0.2 (active)
toggle-quotes, v1.0.0 (inactive)
travis-ci-status, v1.3.0 (inactive)
tree-view-breadcrumb, v0.8.1 (active)
tree-view-open-files, v0.3.0 (inactive)
typewriter, v0.4.0 (inactive)
unfancy-file-icons, v0.10.0 (active)
white-cursor, v0.7.0 (active)
Zen, v0.16.4 (inactive)
zentabs, v0.8.7 (active)
atom-dark-syntax, v0.28.0 (inactive)
atom-dark-ui, v0.53.0 (inactive)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.9.0 (active)
one-light-ui, v1.9.0 (inactive)
one-dark-syntax, v1.6.0 (inactive)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (inactive)
about, v1.7.2 (active)
archive-view, v0.62.2 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.34.2 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.24.0 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.4 (active)
bracket-matcher, v0.85.2 (active)
command-palette, v0.39.2 (inactive)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.1 (active)
find-and-replace, v0.204.8 (inactive)
fuzzy-finder, v1.4.1 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.1 (active)
metrics, v1.1.2 (active)
notifications, v0.65.2 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.70.0 (active)
status-bar, v1.7.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.2 (inactive)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.2 (active)
whitespace, v0.36.0 (active)
wrap-guide, v0.39.0 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.2 (active)
language-csharp, v0.13.0 (active)
language-css, v0.41.0 (active)
language-gfm, v0.88.0 (active)
language-git, v0.19.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.124.0 (active)
language-json, v0.18.3 (active)
language-less, v0.30.0 (active)
language-make, v0.22.3 (active)
language-mustache, v0.13.1 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.9.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.3 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.1 (active)
language-shellscript, v0.24.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.1 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.13 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

@nathansobo

I've added the regression label to this. We should get in the habit of adding this label for bugs like this so we can make sure not to release to the next channel.

Looks like another issue with empty matches in scanInRange. I'll look into this when I get back.

@maxbrunsfeld Oh, whoops - this was bugging me so I took a stab at it in atom/text-buffer#190.

Fixed via https://github.com/atom/text-buffer/pull/190.


Added Nutrition Calculator

Fixes Issue🛠
Closes #835
Description👨💻
This PR introduces a new feature, the Nutrition Calculator, which allows users to calculate the nutritional value of their meals based on the ingredients they input. This feature enhances the user experience by providing valuable information about their dietary intake directly on the website.
Type of change📄

[x] New feature (non-breaking change which adds functionality)

How this has been tested✅
Unit Tests: Developed unit tests for the core functions of the Nutrition Calculator to ensure accurate nutritional calculations.
Integration Tests: Conducted integration tests to ensure the Nutrition Calculator works seamlessly with existing website features.
Navigation Testing: Ensured that the new navigation link directs users correctly to the Nutrition Calculator page.
Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷
https://github.com/Rakesh9100/CalcDiverse/assets/123234572/988c3543-7ae7-44a7-8025-72c0b748783d

Thankyou so much @Rakesh9100


Bail out of egress Hyperbahn::discover calls for non-affine services

r @Raynos @jcorbin @thanodnl

This is a first stab at this issue. I’m using the "cn" header in this PR, but if we elect to "fake" the CN with the original service to create a per-origin circuit breaker on the Hyperbahn channel, this will not work.

We could alternately add a property to the IDL to distinguish a forwarded request. Not sure how Ringpop’s handle-or-forward resolved the issue cc @thanodnl

@kriskowal HandleOrForward only 'solves' it when you do not overwrite the endpoint your self. HandleOrForwards defaults to forward to the /proxy/req endpoint on the ringpop channel. And the handler there does not forward anything. It is a really hard api to use correctly.
How we lately solved this in ringpop-go is by setting a ringpop-forwarded in the application level header. The call is then sent to ring member that owns the key. Here a check is done to see if it is a forwarded call and if so it always executes it locally.
Lately I have been thinking that the node it is forwarded to should also check it believes it is the owner of the shardkey, if not send an error response back. But that is something that we are not really sure about how to handle at the moment. And it might be application specific what needs to be done. Some applications do not work if they execute things on the wrong machines, some applications have degraded performance so it will probably be a configuration option for application owners to specify.

I think the correct solution is two methods
discover() and discoverAffinity()

Let's get this in and let's get a hotpatch build ready just in case.

Merging.

Sounds good. We can make a better fix in a follow-up.


The network detects 18 different (farther than 0.99) me when moving my head.

Hi.
I have developed a little app that when detecting a face tries to find it in the database and if it's not there, it created a new record.
As I move my head the app thinks it's a new user (distance >= 0.99) and creates a new entry in the database.
Up to 18 records have been created.
I was thinking of developing a professional app for controlling access to places, etc.
How can I do to filter (or any other way) these extra records created with different head poses?
Thanks.

@educob have you retrained the model？

No. I was told in other issue days ago I didn't need to train it.
The app would be incorporating new people every day so I don't know the kind of training I should have to do. I am quite disappointed cause the idea I had in mind was quite powerful.


TypeError: 'dict_items' object is not subscriptable

I was doing exactly same code that has in the example in selectivesearch.
here is the code,
import skimage.data
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
from selectivesearch import selective_search

def main():

    # loading astronaut image
    img = skimage.data.astronaut()

    # perform selective search
    img_lbl, regions = selective_search(img, scale=500, sigma=0.9, min_size=10)

    candidates = set()
    for r in regions:
        # excluding same rectangle (with different segments)
        if r['rect'] in candidates:
            continue
        # excluding regions smaller than 2000 pixels
        if r['size'] < 2000:
            continue
        # distorted rects
        x, y, w, h = r['rect']
        if w / h > 1.2 or h / w > 1.2:
            continue
        candidates.add(r['rect'])

    # draw rectangles on the original image
    fig, ax = plt.subplots(ncols=1, nrows=1, figsize=(6, 6))
    ax.imshow(img)
    for x, y, w, h in candidates:
        print(x, y, w, h)
        rect = mpatches.Rectangle(
            (x, y), w, h, fill=False, edgecolor='red', linewidth=1)
        ax.add_patch(rect)

    plt.show()

if __name__ == "__main__":
    main()

and getting this error,
Traceback (most recent call last):
  File "selective_search.py", line 41, in <module>
    main()
  File "selective_search.py", line 13, in main
    img_lbl, regions = selective_search(img, scale=500, sigma=0.9, min_size=10)
  File "/usr/local/lib/python3.5/dist-packages/selectivesearch/selectivesearch.py", line 274, in selective_search
    neighbours = _extract_neighbours(R)
  File "/usr/local/lib/python3.5/dist-packages/selectivesearch/selectivesearch.py", line 208, in _extract_neighbours
    for cur, a in enumerate(R[:-1]):
TypeError: 'dict_items' object is not subscriptable

To fix this error, I have changed the line number 206 of  selectivesearch.py by this line R = list(regions.items())
Now I am getting this error,
Traceback (most recent call last):
  File "selective_search.py", line 41, in <module>
    main()
  File "selective_search.py", line 13, in main
    img_lbl, regions = selective_search(img, scale=500, sigma=0.9, min_size=10)
  File "/usr/local/lib/python3.5/dist-packages/selectivesearch/selectivesearch.py", line 286, in selective_search
    i, j = sorted(S.items(), cmp=lambda a, b: cmp(a[1], b[1]))[-1][0]
TypeError: 'cmp' is an invalid keyword argument for this function

How do I fix this problem ??

I am using pyhton3.5,

I got the solution from


Add Lee Sarmanov Bivariate Beta distribution to STAN?

Could the STAN team please add the Lee Sarmanov Bivariate Beta distribution to STAN?
The LS BB density is explained by equations (12)-(13)-(14) in the attached image.

What's the motivation?  I doubt we're going to get to this
one any time soon unless someone volunteers an implementation.
You can use Stan's built-in function language to implement
it directly, though:
functions {
  /**
   * y outcome is 2-vector
   * a, b prior counts positive 2-vectors
   * omega a scalar meeting the constraints in (14)
   */
  real ls_bi_beta_log(vector y, vector a, vector b, real omega) {
    return beta_log(y, a, b)
      + log1p(omega
              * (x[1] - a[1] / (a[1] + b[1]))
              * (x[2] - a[2] / (a[2] + b[2])));
  }
}

If you want omega to be a parameter, you'll have to declare it with
those upper and lower bounds.  Then you can use it in the model block as
  y ~ ls_bi_beta(a, b, omega);

or
  increment_log_prob(ls_bi_beta_log(y, a, b, omega));

Bob

On Oct 26, 2015, at 9:55 PM, QianSZhangBiostat<EMAIL_ADDRESS>wrote:
Could the STAN team please add the Lee Sarmanov Bivariate Beta distribution to STAN?
The LS BB density is explained by equations (12)-(13)-(14) in the attached image.
—
Reply to this email directly or view it on GitHub.

Motivation: Need it for research.
Thanks Bob for the STAN code.
Seems like I'll have to look at that STAN manual more closely if I want to use STAN.

I'm closing this issue, but there is another distribution the beta marginals that is already easy to work with in Stan:
https://www.brown.edu/academics/public-health/research/evidence-based-medicine/sites/brown.edu.academics.public-health.research.evidence-based-medicine/files/uploads/constructions_08Sep2014.pdf

Why is this easier to work with in STAN, when the density in equation (2.3) is not in closed form? Wouldn't you still have to write STAN code for the probability density, and somehow incorporate an integral into that code?

You want to use a Dirichlet prior over U11, U10, and U01 as in equation (2.1) and construct X and Y using equation (2.2) as transformed parameters.  You don't need to evaluate equation (2.3).

Thanks! Sorry that was obvious.

@BiostatQian, I'm locking this issue. If you have further questions, please ask on the user list.


Xcode14.3 File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

Set your pods deployment target to 11 or later in podfile:
post_install do |installer|
  installer.generated_projects.each do |project|
    project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
         end
    end
  end
end

It is not a workaround ! The minimum deployment target Xcode 14 supports is iOS 11.
What do you want to do?
You should elaborate your issue...

You cannot effectively do that when using Carthage or SPM, the only proper solution is to increase min deployment target in library itself.


closing flashbot reply body: context canceled

When trying to use CallBundle and SendBundle, i get flashbot call request: closing flashbot reply body: context canceled. It seem like it sometimes works but it's rare and usually fails again after one call. Is this a known issue? It seems some github action is failing with the same error: https://github.com/cryptoriums/flashbot/runs/4172081239
I get this on both goerli and mainnet. Maybe it's a problem with relay.flashbots.net?

I am also puzzled by this one and can't figure it out yet, tried increasing the client timeout to 5 seconds, but with no joy.

Ya i get the same issue

and this action is successful? https://github.com/cryptoriums/flashbot/runs/4197352614

yes because I pinned the GH action to 1.17.2,
it is related to this upstream golang bug so you just need to use golang 1.17.2 for now
https://github.com/golang/go/issues/49366
closing now, but feel free to reopen if anything is unlcear.


⚠ Bofrost.fr has degraded performance

In 77ce982, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1128 ms

Resolved: Bofrost.fr performance has improved in 24ceee7.


feat: Add budgets lighthouse config

What's the purpose of this pull request?
This PR adds budgets to lighthouse config.

LGTM, but from where do you got those budgets?

I got it from the base.store stats.


Forwarding Report is no longer working and is missing from dashboard

The Forwarding Report is missing from Reports->Dashboards.  Also the direct URL (https://protection.office.com/reportv2?id=MailFlowForwarding) no longer works.  Has this been relocated in M365, if so where?

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

ID: 041a2c32-e0b9-77e9-766c-3b4f5b07ff3a
Version Independent ID: 597960ea-f734-09c7-eea8-aab24a06c9f8
Content: View mail flow reports in the Reports dashboard - Office 365
Content Source: microsoft-365/security/office-365-security/view-mail-flow-reports.md
Product: m365-security
Technology: mdo
GitHub Login: @chrisda
Microsoft Alias: chrisda

@bcihak, the topic in question says this:
Forwarding report

[!NOTE]
The Forwarding report is now available in the EAC. For more information, see Auto forwarded messages report in the new EAC.

The main reporting page in the EAC is https://admin.exchange.microsoft.com/#/reports/mailflowreportsmain.
The direct Auto forwarded messages report is https://admin.exchange.microsoft.com/#/reports/autoforwardedmessages

Thank you for the updated link!  When will the online docs get updated?

@bcihak, I see. My mistake. The information I provided was from this topic https://docs.microsoft.com/microsoft-365/security/office-365-security/view-email-security-reports, which was converted to the Microsoft 365 Defender portal. The topic in question for this issue was not converted from the Security & Compliance Center (SCC) on purpose.
I thought the reports in the SCC would remain static until the Security & Compliance Center eventually goes away, at which point we would take down the whole topic. But, it looks like they did me dirty and removed some reports, including the Forwarding Reporting. I updated the topic with redirect information for any reports that no longer exist.
Thanks for the feedback.
Closing


[Card - pricing] Name & Functional spec

New component:
Pricing card
Referring to the individual card inside the section below. They should be static cards, aka not clickable unless a link is present inside

Naming
Functional analysis

Draft visual design

Card enhancement

Static (need to check it for bugs)
Light (need to check for bugs)
Add tags (partial feature flag?)

New name for Card - pricing is Card - static

Functional specs done: https://ibm.ent.box.com/folder/95514001950


feat: bump firebase iOS SDK to v11.4.0

Description
Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change.
Related Issues
fixes https://github.com/firebase/flutterfire/issues/13553
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (melos run analyze) does not report any problems on my PR.
[ ] I read and followed the Flutter Style Guide.
[ ] I signed the CLA.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[ ] No, this is not a breaking change.

Please accept PR due to a current AuthBackendRPCImplementation crash

@russellwheatley Merge will also close this issue too: https://github.com/firebase/flutterfire/issues/13451


librespot unable to play songs

Describe the bug
Failure to decrypt file for playback. No audio.
To reproduce
Steps to reproduce the behavior:

Launch librespot
Connect with mobile phone to librespot
Attempt to play a song
See error

Log
Unable to load encrypted file: Error { kind: Unavailable, error: hyper::Error(Connect, Custom { kind: Other, error: Custom { kind: Other, error: Custom { kind: InvalidData, error: InvalidCertificate(UnknownIssuer) } } }) }
Host (what you are running librespot on):

OS: Fedora 38
librespot being started via snapserver

Additional context
Connecting via android phone, using official spotify app. Some songs work, but appear to be songs that have been played before and are likely in the cache.

So it’s saying there’s something up with the cerificate. Do you know what that could be, is there indeed tampering, wrong certificates, anything like that?

Can this be reopened? It does reproduce even on 0.6.0 when running librespot on Android.
logcat looks something like this when trying to Session::connect

logcat
11-19 16:46:46.873 14890 14927 V rust_lib_frb_base::ap..: Connecting to librespot
11-19 16:46:46.873 14890 14927 D librespot_core::apres..: new ApResolver
11-19 16:46:46.873 14890 14927 D librespot_core::http_..: Requesting https://apresolve.spotify.com/?type=accesspoint&type=dealer&type=spclient
11-19 16:46:46.874 14890 14927 W librespot_core::apres..: Failed to resolve all access points, using fallbacks
11-19 16:46:46.874 14890 14927 W librespot_core::apres..: Resolve access points error: Requested entity was not found { no native root CA certificates found (errors: []) }
11-19 16:46:46.874 14890 14927 I librespot_core::session: Connecting to AP "ap.spotify.com:443"
11-19 16:46:47.499 14890 14930 D librespot_core::conne..: Authenticating with AP using AUTHENTICATION_SPOTIFY_TOKEN
11-19 16:46:47.779 14890 14930 W librespot_core::session: Instructed to try another access point...
11-19 16:46:47.780 14890 14930 D librespot_core::http_..: Requesting https://apresolve.spotify.com/?type=accesspoint&type=dealer&type=spclient
11-19 16:46:47.780 14890 14930 W librespot_core::apres..: Failed to resolve all access points, using fallbacks
11-19 16:46:47.780 14890 14930 W librespot_core::apres..: Resolve access points error: Requested entity was not found { no native root CA certificates found (errors: []) }
11-19 16:46:47.780 14890 14930 I librespot_core::session: Connecting to AP "ap.spotify.com:443"
11-19 16:46:48.057 14890 14914 D EGL_emulation: app_time_stats: avg=19.43ms min=1.18ms max=500.33ms count=38
11-19 16:46:48.406 14890 14930 D librespot_core::conne..: Authenticating with AP using AUTHENTICATION_SPOTIFY_TOKEN
11-19 16:46:48.674 14890 14930 W librespot_core::session: Instructed to try another access point...
11-19 16:46:48.674 14890 14930 D librespot_core::http_..: Requesting https://apresolve.spotify.com/?type=accesspoint&type=dealer&type=spclient
11-19 16:46:48.674 14890 14930 W librespot_core::apres..: Failed to resolve all access points, using fallbacks
11-19 16:46:48.674 14890 14930 W librespot_core::apres..: Resolve access points error: Requested entity was not found { no native root CA certificates found (errors: []) }
11-19 16:46:48.674 14890 14930 I librespot_core::session: Connecting to AP "ap.spotify.com:443"
11-19 16:46:49.059 14890 14914 D EGL_emulation: app_time_stats: avg=500.72ms min=500.23ms max=501.21ms count=2
11-19 16:46:49.214 14890 14930 D librespot_core::conne..: Authenticating with AP using AUTHENTICATION_SPOTIFY_TOKEN
11-19 16:46:49.479 14890 14930 W librespot_core::session: Instructed to try another access point...
11-19 16:46:49.479 14890 14930 D librespot_core::http_..: Requesting https://apresolve.spotify.com/?type=accesspoint&type=dealer&type=spclient
11-19 16:46:49.480 14890 14930 W librespot_core::apres..: Failed to resolve all access points, using fallbacks
11-19 16:46:49.480 14890 14930 W librespot_core::apres..: Resolve access points error: Requested entity was not found { no native root CA certificates found (errors: []) }
11-19 16:46:49.480 14890 14930 I librespot_core::session: Connecting to AP "ap.spotify.com:443"
11-19 16:46:49.914 14890 14930 D librespot_core::conne..: Authenticating with AP using AUTHENTICATION_SPOTIFY_TOKEN
11-19 16:46:50.011 14890 14930 W librespot_core::session: Instructed to try another access point...
11-19 16:46:50.011 14890 14930 D librespot_core::http_..: Requesting https://apresolve.spotify.com/?type=accesspoint&type=dealer&type=spclient
11-19 16:46:50.011 14890 14930 W librespot_core::apres..: Failed to resolve all access points, using fallbacks
11-19 16:46:50.011 14890 14930 W librespot_core::apres..: Resolve access points error: Requested entity was not found { no native root CA certificates found (errors: []) }
11-19 16:46:50.011 14890 14930 I librespot_core::session: Connecting to AP "ap.spotify.com:443"
11-19 16:46:50.555 14890 14930 D librespot_core::conne..: Authenticating with AP using AUTHENTICATION_SPOTIFY_TOKEN
11-19 16:46:50.557 14890 14914 D EGL_emulation: app_time_stats: avg=499.41ms min=498.30ms max=499.97ms count=3
11-19 16:46:50.823 14890 14930 W librespot_core::session: Instructed to try another access point...
11-19 16:46:50.823 14890 14930 D librespot_core::http_..: Requesting https://apresolve.spotify.com/?type=accesspoint&type=dealer&type=spclient
11-19 16:46:50.823 14890 14930 W librespot_core::apres..: Failed to resolve all access points, using fallbacks
11-19 16:46:50.823 14890 14930 W librespot_core::apres..: Resolve access points error: Requested entity was not found { no native root CA certificates found (errors: []) }
11-19 16:46:50.824 14890 14930 I librespot_core::session: Connecting to AP "ap.spotify.com:443"
11-19 16:46:51.416 14890 14930 D librespot_core::conne..: Authenticating with AP using AUTHENTICATION_SPOTIFY_TOKEN
11-19 16:46:51.558 14890 14914 D EGL_emulation: app_time_stats: avg=500.38ms min=499.46ms max=501.31ms count=2
11-19 16:46:51.670 14890 14930 E librespot_core::session: Tried too many access points
11-19 16:46:51.670 14890 14930 E rust_lib_frb_base::ap..: Error connecting to librespot: Error { kind: PermissionDenied, error: LoginFailed(TryAnotherAP) }
11-19 16:46:51.671 14890 14930 D librespot_core::session: drop Session
11-19 16:46:51.671 14890 14930 D librespot_core::apres..: drop ApResolver

I'm suspecting we are hitting this issue, where rustls-native-certs doesn't actually support Android/IOS and instead recommends using rustls-platform-verifier instead.
Relevant rustls-native-certs usage here
I will try to put up a minimal repro repo sometime, currently my repro uses docker to cross compile apk since I couldn't actually get aws-lc-sys to compile from Windows

Yes, let's make it a separate issue.


document how to validate webhooks

see https://github.com/replicate/replicate-go/pull/40

Resolved by #63


Updated Docs

I forgot to do this in my PR, I've updated 'Customization Parameters' and added 'theme' to it.

Thanks for the docs update @DentFuse


Mission area (Focus Area), Community partner, Campus partner not showing up for new projects created

Create Project – Issues list:
When a Campus partner user create a project using Create project Menu, the below details are not saved and thus the project is not visible in the respective reports – Community partner, Focus Area etc.
Mission area (Focus Area)
Community partner
Campus partner
Even in Admin panel, these data are not captured.
This bug is captured in
Create Project_Issues list.docx

DEV env, logged in as Campus user and Admin user.
Local - Sprint 2 branch, logged in as Campus user and Admin user.
Local – Master – logged in as campus user and Admin user.

Screenshots attached.

fix: added code to change the view restriction based on project status ("Drafts") in projects/views.py
Another Issue :Draft project displaying under My projects and My Drafts.
fix: Excluded the draft projects in My projects view. (projects/views.py)
Issue will be closed after review with Karpagam.

Create project and Draft project is able to save Focus area, community partner and Campus partner and show the same in reports. However, Edit draft/ Edit Project works fine for all fields except for Focus area, Campus partner, community partner and Topics. Tracked as part of defect #2395. Closing this defect.
2368 Defect retest.docx


Problem correlating Cloudwatch dashboard with Prometheus dashboard

Hi guys,
I setup YACE to get the "TargetResponseMetrics" from ALB in Cloudwatch.  I get metrics in Prometheus - but I don't see the correlation between the Dashboard I get in AWS and the one in Prometheus.
Can you point me how to fix this issue?
Attached is the AWS Cloudwatch dashboard  and the one I get from prometheus for the same period
I am using the latest YACE image: quay.io/invisionag/yet-another-cloudwatch-exporter:v0.26.3-alpha
and the configuration to get the metrics is:
config: |-
 discovery:
    exportedTagsOnMetrics:
      alb:
        - Project
    jobs:
    - type: alb
      regions:
        - us-west-2
      searchTags:
        - key: Project
          value: ng-production
      metrics:
       - name: TargetResponseTime
          statistics:
          - p95
          - Average
          period: 60
          length: 300

Thanks for your help in advance

is there any body maintaining this project?  There are no replies for almost 20 days


Moving dns e2e tests in existing services test into a separate DNS e2e test

LGTM, just nits.  Self-commit when done.

Needs a rebase btw

@vmarmol: Rebased and tested manually. This PR is ready to be merged.


Tracking: Bring async-imap back home

Placeholder for tracking things that need to happen to bring async-imap back to rust-imap.

[ ] Make generic over the executor
[ ] Add examples for async-std<EMAIL_ADDRESS>and futures executors
[x] Implement append (currently unimplemented)

cc @hpk42 @jonhoo

PR for runtime independence is up in #21


Your Offline Maps in Mapbox Android SDK

You wrote that the mbtiles that I can download on your page are easy to use on mobile platforms like Android. But it seems to me that Mapbox removed all easy possibilitys, there are no more Tile-Classes like in older code examples and even setStyleJson is gone in the latest android SDK. setStyleUrl only accepts http and https as far as I tested.
Have you any hints how to use the Mapbox SDK with your mbtiles? Should I dive deeper in Mapbox GL C++ JNI Sources? How can I load a style that is on my sd card or asset? Or should I dive deeper in their new Offline possibilitys trying to replace the offlibne db with your mbtiles?
Michael

I'm a bit further, I can put my style, fonts and icons in the assets folder and then use asset:// as style url.
Now it loads the style and loads a map if put a online source in the style file like this sample
"sources": {
"osm2vt": {
"url": "http://osm2vectortiles.tileserver.com/v1.json",
"type": "vector"
}
},
But it didn't work if I use "url":"asset://planet.mbtiles" or "url":"mbtiles://planet.mbtiles"

We can provide you with the source code of our sample mobile app which is able to read MBTiles offline directly.
See "OSM2VectorTiles" on Google Play or App Store - and contact<EMAIL_ADDRESS>

@klokan, could you openly share your setStyleUrl line?
Does it look like asset://planet.mbtiles?

url is "mbtiles://planet.mbtiles", but you need our source code.
It is available here: https://openmaptiles.com/mobile-app/


Add a configuration to disable ssl

Purpose
$subject. This will fix https://github.com/ballerina-platform/ballerina-lang/issues/15147

thanks, this is a handy configuration that I have been waiting for.