Can't start app, gives MSVCP140_.dll was not found error

After installed from latest installer on window 10  app failing to start, getting error: The code execution cannot proceed because MSVCP140_.dll was not found.

MSVCP140_.dll is part of the "Microsoft Visual C++ Redistributable Packages" and will automatically be installed (since it is preselected in the installer).
Did you deselect this item in the installer?
If so, you can run the installer again or install it manually by running vcredist_x64.exe in the bin folder.

ok reinstall helped


changed mkdir to make_path

Thanks for the great codebase. A minor issue that recently came up: the code was failing with error message "failed: 139 at {my_path}/TRUST4/run-trust4 line 55". In the end, it turned out that this was due to me specifying an out directory with --od that didn't exist. This led to an error with the mkdir command: https://github.com/liulab-dfci/TRUST4/blob/183fb6f985ba5a9b00c7769eeac1b8d5e8adf606/run-trust4#L366 . Modified to use make_path. Thanks again!

Thank you for the update! The mkdir could not handle recursive directory creation, and your update allows that, which is great! I have merged it to the master branch.


Proof_verified: of_nat should raise Invalid_argument not a Failure.

          ```suggestion
@raise Failure  if [t_n] represents a value above or equal to 3 *)

I argue that it should raise `Invalid_argument` and not a generic `Failure`

_Originally posted by @rbonichon in https://github.com/MinaProtocol/mina/pull/13386#discussion_r1336272931_

It should also be renamed of_nat_exn to follow conventions.


Support cross compilation for multiple architectures

Currently the only supported platform is MIPS. The cross compilation configuration is defined in mksystem.nix. This code will definitely need to be refactored.

It would be great if we could extend the NixOS configuration.nix and just import nixwrt as a module.

There are many wireless routers out there but the most important architectures now are probably ARMv7, AARCH64 and MIPS. Porting for AARCH64 might be easier as it's one of the supported architecture by Nix.

In order to port the these architectures we'll need probably a lot of patches from OpenWRT as well as Yocto and Buildroot.

It seems there is also a project to run Nix on ARM that aims on Single Board Computers such as Raspberry Pi. That means a lot of the userspace components will already have patches to build and run. However, as it's the case with embedded devices the booting process, kernel and image building will differ greatly. But it's a start.

The image builder for each SoC and board is defined in OpenWRT. The scripts there will need to be converted into Nix code. Maybe resholve could speed things up? Also if the scripts are ported to Nix how will the changes be tracked?

Will have to reflect on this a bit. As an aside - are you aware ofMobile Nixos? It's mostly targetting phones, admittedly, but it uses the upstream NixOS module system, systemd, etc - it's much closer to regular NixOS than NixWRT will ever be

Yes, it's a neat project and I'll have to find some time to examine it. There's also Not-os which trims down the system a lot.


feat(metrics): adds NoopMeter implementation

Which problem is this PR solving?
Resolves https://github.com/open-telemetry/opentelemetry-js/issues/264

This change is

@bg451 Feel free to merge once build passed


powershell run selection not functional

VSCode Version: Code - Insiders 1.13.0-insider (06e162bb2913ce6dd394bd01c7dc4be9a7aa5991, 2017-05-22T05:14:07.368Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

PowerShell
ms-vscode
1.1.0

Steps to Reproduce:

open a new file using the welcome screen
set the language to powershell
type in some code
a. for example "$b = 5"
click on that line of code
press the F8 key

expected result: code executed in terminal and $b variable is accessible
actual result: line of code has been copied to the terminal and has not been executed
testing: this issue happens in a new file and in a saved file, pressing ctrl+shift+p shows the 'run selection' option but it has the same effect. This does work in the vscode stable build.

this issue has been resolved. not sure how


Mobile Resizing

Ok mobile the screen zoom should be to fit screen. Right now you have to pinch out to make sure the screen fits.

There is a good chance you are right. Back to the drawing board on the responsive design. I'll have a look. Thx!

Looks good!


Added notebook for CNN baseline. Added micro dataset for developing baseline modes. Added install to REadme.

I found a bug in my pull request. Closing this for now until fixed.


Does someone implement Jaeger with Spring Cloud Gateway?

We are re-building our software platform using a microservice architecture approach.
Most of it using Spring Boot libraries, and for our entry points we are using Spring Cloud Gateway which can be easily integrated with Jaeger to have tracing in the platform.
We do that using the following Maven dependency:
<dependency>
    <groupId>io.opentracing.contrib</groupId>
    <artifactId>opentracing-spring-jaeger-cloud-starter</artifactId>
    <version>2.0.3</version>
</dependency>

And it is working pretty well, we can see the trace on the Jaeger UI web console.
The problem now is how to send the tracking information to the next inner service in the platform to have every service correlated.
Any ideas?
We have tried to inject the tracking information as HTML Headers using a GlobalFilter but it is using the incoming request and we need to put them on the downstream request... any clue on how to override the HTTPClient used underneath?
Thanks in advance!

I'm pretty sure this issue belongs on the opentracing-spring-jaeger-cloud-starter repo. This isn't a sleuth issue


Compile down to es6

Could we compile our sources to ES6? This can bring many engineering advantages, especially around debugging our sources, and possibly perf improvements.
This branch now has a couple of errors.
Most of them are related to the fact that it doesn't seem to be possible to use async and TPromise with ES6 anymore:
Error: /Users/joao/Work/vscode/src/vs/code/electron-main/logUploader.ts(40,4): The return type of an async function or method must be the global Promise<T> type.

@mjbvz Is this a real limitation, or can we get around it somehow, without converting all our promises?
Other errors lie in lib.ie11_safe_es6.d.ts:
[15:29:46] Error: /Users/joao/Work/vscode/src/typings/lib.ie11_safe_es6.d.ts(28,2): All declarations of 'prototype' must have identical modifiers.
[15:29:46] Error: /Users/joao/Work/vscode/src/typings/lib.ie11_safe_es6.d.ts(54,2): All declarations of 'prototype' must have identical modifiers.
[15:29:46] Error: /Users/joao/Work/vscode/src/typings/lib.ie11_safe_es6.d.ts(73,24): Type 'K' does not satisfy the constraint 'object'.
[15:29:46] Error: /Users/joao/Work/vscode/src/typings/lib.ie11_safe_es6.d.ts(75,11): Subsequent property declarations must have the same type.  Property 'prototype' must be of type 'WeakMap<object, any>', but here has type 'WeakMap<any, any>'.

There are a few others, but let's get these out of the way; they seem bigger.
cc @Microsoft/vscode

ping @rbuckton / @andy-ms

So, I believe the challenge is that our WinJS.Promise isn't using well known symbols (and it cannot because of the continued support of IE11) and there isn't compatible with the native promise (as it is defined with es6). I have tried to define the libs we use so that it contain everything from es6 but not well known symbols and seems to help. However, it triggers different errors that I don't understand.
This is the tsconfig.json-file
{
	"compilerOptions": {
		"module": "amd",
		"moduleResolution": "classic",
		"noImplicitAny": false,
		"removeComments": false,
		"preserveConstEnums": true,
		"target": "es6",
		"lib": [
			"dom",
			"dom.iterable",
			"es2015.collection",
			"es2015.core",
			"es2015.generator",
			"es2015.iterable",
			"es2015.promise",
			"es2015.proxy",
			"es2015.reflect",
			"es2015.symbol",
			"webworker"
		],
		"sourceMap": false,
		"experimentalDecorators": true,
		"declaration": true,
		"noImplicitReturns": true,
		"noUnusedLocals": true,
		"noImplicitThis": true,
		"alwaysStrict": true,
		"baseUrl": ".",
		"outDir": "../out",
		"typeRoots": [
			"typings"
		]
	},
	"exclude": [
		"./typings/lib.ie11_safe_es6.d.ts",
		"./typings/es6-promise.d.ts"
	]
}

and there errors are generated
jrieken:~/Code/vscode$ tsc -p src/tsconfig.json
error TS2318: Cannot find global type 'Boolean'.
error TS2318: Cannot find global type 'Number'.
src/vs/base/browser/event.ts(22,92): error TS4047: Return type of call signature from exported interface has or is using private name 'MSManipulationEvent'.
src/vs/base/common/comparers.ts(13,47): error TS4078: Parameter 'collator' of exported function has or is using private name 'Intl'.
src/vs/base/common/date.ts(16,40): error TS4078: Parameter 'date' of exported function has or is using private name 'Date'.
src/vs/base/node/zip.ts(34,35): error TS4020: 'extends' clause of exported class 'ExtractError' has or is using private name 'Error'.
src/vs/editor/common/model/textModelSearch.ts(119,59): error TS4078: Parameter 'rawMatches' of exported function has or is using private name 'RegExpExecArray'.
src/vs/editor/common/model/textModelSearch.ts(507,29): error TS4055: Return type of public method from exported class has or is using private name 'RegExpExecArray'.
src/vs/editor/contrib/format/format.ts(20,38): error TS4020: 'extends' clause of exported class 'NoProviderError' has or is using private name 'Error'.
src/vs/platform/extensionManagement/node/extensionManagementService.ts(54,47): error TS4020: 'extends' clause of exported class 'ExtensionManagementError' has or is using private name 'Error'.
src/vs/platform/files/common/files.ts(574,41): error TS4020: 'extends' clause of exported class 'FileOperationError' has or is using private name 'Error'.
src/vs/platform/update/common/update.ts(15,9): error TS4033: Property 'date' of exported interface has or is using private name 'Date'.
src/vs/workbench/services/configuration/common/jsonEditing.ts(25,39): error TS4020: 'extends' clause of exported class 'JSONEditingError' has or is using private name 'Error'.
src/vs/workbench/services/configuration/node/configurationEditingService.ts(78,48): error TS4020: 'extends' clause of exported class 'ConfigurationEditingError' has or is using private name 'Error'.
src/vs/workbench/services/issue/common/issue.ts(16,31): error TS4075: Parameter 'dataOverrides' of method from exported interface has or is using private name 'Partial'.
src/vs/workbench/services/issue/electron-browser/workbenchIssueService.ts(29,30): error TS4073: Parameter 'dataOverrides' of public method from exported class has or is using private name 'Partial'.

I'll have to follow up tomorrow on the TPromise issue, but the reason you are seeing other build errors with the custom 'lib' section is that none of those specific libraries entries references the 'es5' lib. If you add 'es5' to that list then the compile errors should go away.

@rbuckton when adding es5 to the lib section the promise errors appear again...

@jrieken the "promise errors" are about using TPromise rather than Promise?
Regarding the other issue of using TPromise in ES6 async functions: We only allowed the use of other Promise-like definitions in ES5 since it did not have a native Promise implementation. For ES6 and onwards we only allow the use of the native Promise class for consistency with native support for async functions. We very likely should have only allowed a global Promise implementation in ES5 and require a shim to define the global implementation.
Is the issue that you are attempting to compile some parts of the project to both ES5 and ES6? If that is the case, your only recourse might be to define a global Promise shim for ES5 hosts that wraps WinJS.Promise in a fashion compatible with the ES6 native Promise definition.

Is the issue that you are attempting to compile some parts of the project to both ES5 and ES6? If that is the case, your only recourse might be to define a global Promise shim for ES5 hosts that wraps WinJS.Promise in a fashion compatible with the ES6 native Promise definition.

Yeah, this is the problem: The monaco-editor and VS Code are in the same codebase/project and because the editor still supports IE11 we cannot leak 'modern' globals, like Symbol, Iterator etc, into that part of the project nor can we compile it down to es6.  We have tackled this problem with to files: tsconfig.json and tsconfig.monaco.json. Now, for VS Code we would like to use ES6, more specifically we would like to emit modern JavaScript (using let, const, varargs, better async/await) and (optionally) use modern globals. I believe in TypeScript these two things are coupled, so either ES6 and modern globals or none of them. @rbuckton correct me if I am wrong.
In fact, we have a shim for the native promise but the migration is quite expensive; there are subtle semantic differences which means care must be taken and then such changes are quite viral because WinJS.Promise and (native) promise are not assignable. Then, our native-promise-shim won't ever be compatible with the native promise+well-known-symbols because of the lacks of such well-known-symbols. Not sure what to do about that...

at runtime (though not design time) by implementing

That means you get compile errors, right?

@joaomoreno let's make a push next debt-week to reduce the amount of async-TPromise-usages?

Sure, I can lend a day or two. :+1:

Maybe we can come up with the general guidelines w/ pitfalls?

@jrieken new Promise(complete => complete(tPromise)) has the same issue as Promise.resolve(tPromise). If going from TPromise to the ES6 Promise cannot be avoided, wrapping the TPromise with a simple Thenable seems to work around the issue:
const es6Promise = Promise.resolve({
  then: function (fulfilled, failed) {
    return wp.then(fulfilled, failed);
  }
});

It would be best if we could come up with a solution that does not require tweaking each case. Especially when we gradually move from TPromises to ES6 Promises, we might often not be aware where our changes create new TPromise to ES6 Promise boundaries.

A JS Bin I have used to look into the promise incompatibility: http://jsbin.com/cavequh/edit?js,output

We could try to add another overload to Promise.resolve which returns never when called with a winjs.promise.

I ran the code sample from the JSBin in NodeJS and I think I understand why Promise.resolve(tPromise) doesn't work. WinJS replaces the value of tPromise.then on success, but Promise.resolve holds on to the then method of the promise it receives. This seems like a bug/issue in the WinJS Promise implementation as it probably shouldn't be replacing the values of public methods on an instance. The problems stem from the enter methods of state_success_notify, state_success, state_error_notify, and state_error where they replace the values of promise.done and promise.then.

If this starts occurring more often we might want to look into a permanent work around. I'm testing one here: https://github.com/Microsoft/vscode/pull/49034

Next challenge... We have now a happy compile but we hit a road block when running es6-compiled-code because of how 3rd parties depend on our JavaScript code.
The problem is extending classes - which are now actually classes and not functions anymore. This a sample and typical for extensions.
var TelemetryReporter = /** @class */ (function (_super) {
    __extends(TelemetryReporter, _super);
    function TelemetryReporter(extensionId, extensionVersion, key) {
        var _this = _super.call(this, function () { return _this.toDispose.forEach(function (d) { return d && d.dispose(); }); }) || this;
        //...more...
        return _this;
    }
    //...more...
    return TelemetryReporter;
}(vscode.Disposable));

So, _super is this case an instance of  vscode.Disposable which is declared and compiled as class, which means using call isn't allowed.

This puts us in a bad spot because we cannot ask extensions to change/recompile their code. Maybe @rbuckton has some advise. Is there a way, maybe via emit-helpers, to change how super is being called? I think it would need some switch depending on the type of _super - (we made a similar change https://github.com/Microsoft/vscode/pull/47144/commits/835abba040d20123d6e04b0d2b1c7f4ecc73eae1 to our create-type util).

@rbuckton Could this be a case transformers? Like, we wanna use the normal es6-emitting but for classes we wanna use the es5-emitting. Does that sound reasonable?


docs(website): added v1 docs to website

This PR publishes the docs for version 1 of Graphback.
Also removes older Graphback versions no longer supported (<14.0) (closing #2066)

@machi1990 @wtrocki I am happy to go with a stable release of Graphback once this is merged. Suit you?

My browser crashing when I try to approve it so..
Approved! :D

And yes. Stable release is good

My browser crashing when I try to approve it so..

Approved! :D

Luckily our prodigy @machi1990 created a GitHub Action to aid verification :wink:
Thanks! I will wait for official approval before merge.

My browser crashing when I try to approve it so..

Approved! :D

Luckily our prodigy @machi1990 created a GitHub Action to aid verification
Thanks! I will wait for official approval before merge.

Verifying this now as we speak.

I am seeing these warnings:
Docs markdown link couldn't be resolved: (../api/core/classes/_runtime_crudservice_.crudservice.md) in /graphback/website/versioned_docs/version-1.0/resolvers/custom-resolvers.md for version 1.0
Docs markdown link couldn't be resolved: (../overview.md) in /graphback/website/versioned_docs/version-1.0/plugins/creating-your-own-plugin.md for version 1.0
Docs markdown link couldn't be resolved: (../api/core/classes/_runtime_crudservice_.crudservice.md) in /graphback/docs/resolvers/custom-resolvers.md for version current
Docs markdown link couldn't be resolved: (../overview.md) in /graphback/docs/plugins/creating-your-own-plugin.md for version current
Docs markdown link couldn't be resolved: (../api/core/classes/_runtime_crudservice_.crudservice.md) in /graphback/website/versioned_docs/version-0.16.x/resolvers/custom-resolvers.md for version 0.16.x

Looks unrelated but looks like broken links. We can get them fixed in this PR or a followup PR as you prefer.
Nitpick: Should the version 1.0 be 1.0.0 so that it matches the previous releases?

Nitpick: Should the version 1.0 be 1.0.0 so that it matches the previous releases?

I removed it because:
a) The patch version will never be shown in the releases anyway as they will not have any features
b) Having an x like 1.0.x, 1.1.x seems largely redundant since it will never change I didn't see any point in keeping it.


Uppsala

Adds Conjunction and Disjunction
Documents the Hell out of everything

:relieved:
Done

Will publish this in a new version once Array Shrinking is figured out.  Should grease the wheels for https://github.com/typelift/Swiftz/pull/199 too


Resolve Xcode 10.2 warnings with Swift 4.2.2 and 5.0

Resolves #396
For compatibility reasons, swift_version has been left at 4.2. This works in both Xcode 10.1, as well as in Xcode 10.2 (which uses Swift 4.2.2), and is thus also cross-compatible with Swift 5.0.
I see no reason for us to update the project version to swift 5.0 as long as the compatibility mode exists, as Carthage users can mix 4.2.2 libraries with 5.0 code, and for CocoaPods it will use their specified swift version, not ours.

Codecov Report

Merging #397 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #397      +/-   ##
==========================================
- Coverage   99.42%   99.41%   -0.02%
==========================================
  Files           5        5
  Lines         174      171       -3
==========================================
- Hits          173      170       -3
  Misses          1        1

Impacted Files
Coverage Δ

ReSwift/CoreTypes/Subscription.swift
100% <ø> (ø)
:arrow_up:

ReSwift/CoreTypes/Store.swift
100% <100%> (ø)
:arrow_up:

ReSwift/Utils/Assertions.swift
83.33% <100%> (ø)
:arrow_up:

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 5b7a5c6...944bccd. Read the comment docs.

I'm not using Xcode 10.2 yet, but I agree with your comment in this PR. If it's compatible with Swift 5.0, just fixing the warnings is enough to move on for now, although it's always nice to use the last version of the language (so changes in the future are easier), but we can do that later. Apart from that, I've reviewed the changes and they lgtm.


snaps cannot be used

Hi,
your kernels lack support for some options to make Ubuntu snaps works.
es:
# CONFIG_SQUASHFS_XZ is not set
and maybe other parameters.
Complete error on Xenial running snap install  <snap> on a VC1 instance:
error: cannot perform the following tasks:
- Mount snap "ubuntu-core" ([start snap-ubuntu\x2dcore-122.mount] failed with exit status 1: Job for snap-ubuntu\x2dcore-122.mount failed. See "systemctl status "snap-ubuntu\\x2dcore-122.mount"" and "journalctl -xe" for details.
)

journalctl -xe output:
-- Unit snap-ubuntu\x2dcore-122.mount has begun starting up.
Jul 03 11:40:26 poseidon.safehouse.link mount[26997]: mount: wrong fs type, bad option, bad superblock on /dev/loop0,
Jul 03 11:40:26 poseidon.safehouse.link mount[26997]:        missing codepage or helper program, or other error
Jul 03 11:40:26 poseidon.safehouse.link mount[26997]:        In some cases useful info is found in syslog - try
Jul 03 11:40:26 poseidon.safehouse.link mount[26997]:        dmesg | tail or so.
Jul 03 11:40:26 poseidon.safehouse.link kernel: squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported
Jul 03 11:40:26 poseidon.safehouse.link systemd[1]: snap-ubuntu\x2dcore-122.mount: Mount process exited, code=exited status=32
Jul 03 11:40:26 poseidon.safehouse.link systemd[1]: Failed to mount Mount unit for ubuntu-core.

It would be great if you could enable the ability to run snaps.
Have a nice day.

Is this fix also in place for the VC servers? I'm having the exactly same error when the snap tries to mount something.

Same error still here ... @Scaleways ?

Having the same issue. This is not working on VC1S:
Apr 19 20:21:17 mount[11619]: mount: wrong fs type, bad option, bad superblock on /dev/loop0,
Apr 19 20:21:17 mount[11619]:        missing codepage or helper program, or other error
Apr 19 20:21:17 mount[11619]:        In some cases useful info is found in syslog - try
Apr 19 20:21:17 mount[11619]:        dmesg | tail or so.
Apr 19 20:21:17 kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
Apr 19 20:21:17 kernel: squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported

Referenced issue does not show any changes in the kernel that this image usage (4.4.38-std-1)

Yep, also does not work on C1 (Xenial)

Does not work for me either, same problem (no XZ compression, perhaps issue should be reopened?

I believe scaleway most definitely doesn't follow issues here

Aye, probably not, I've tried the support, they don't seem to care much either

ignorance starts with ignoring the main users of your service ignorant blinds.

This is definitively a mistake for CONFIG_SQUASHFS_XZ has been enabled since the 4.4.70 kernel. Really sorry about that, we'll fix it asap.

it would be great to enlighten us when the fix becomes usable. thank you.

CONFIG_SQUASHFS_XZ has been re-enabled on the latest kernel builds (4.4.86 & 4.9.47). Sorry for the inconvenience.

could you please kindly redirect us to relevant documentation, how we can select these kernels on installation? current kernel for xenial is Linux scw-5f26a5 4.4.84-mainline-rev1 #1 SMP Fri Aug 25 00:43:11 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

The documentation is available here https://www.scaleway.com/docs/bootscript-and-how-to-use-it/

snap installed without error but we had a several issues with conjure-up and we gave up to test. conjure-up installation terminates with error: cannot perform the following tasks: - Run configure hook of "conjure-up" snap if present (run hook "configure": cannot change profile for the next exec call: No such file or directory) error. several solutions  tested but no avail. both 4.4.87 rev1 and 4.9.48 rev1 tested. we had to return gce for now.

@kunthar I got it up and running with 4.10.8-std-1

@tbillon Thanks!


Sphere imposters generate wrong shadows when transform is applied to group entity node

shadows generated from sprites

and from sphere imposters @everyoneishappy  might have a look if you are up for it might be a chance to bring perspective version in too other wise will look into it

Added issue patch in r&D folder


Ambient User Interface Research

Complete research on ambient user interfaces. Use sources found online and sources provided by the tutor. Dot points will suffice.

Research done in the below document.
https://docs.google.com/document/d/1fNzNdPHMu7EB-VAX-gZOAZhOZLvqbZcXRxCAXzOJ6SI/edit?usp=sharing
Have restricted access to this so will need to request access if you need to view/edit this document


Add Saeed Ahmadi to Contributors list

Just as my first contribution,
Add Saeed Ahmadi to Contributors list

Hi  @saeedahmadee, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


How do you prefer to handle schema changes?

I’m curious as to how other developers using massive.js handle schema changes over time in their applications. Do you just add timestamped ad-hoc sql migration scripts or are you creating custom up/down migration tools around massive.js?
Btw, thanks @robconery for writing this. I’m wrapping up my first project using this library and it’s been fantastic.

Yay! And you're welcome :). Here's what I do when building up a schema:
https://github.com/robconery/pg-auth
The idea is to use tests to drive the build, when you're done you have a set of nice SQL files. When you need to migrate to a new schema my preference is to use a tool like Navicat to create a diff script. Or just build one as you go... but yes generally you have to keep track of this stuff.
OR you can use a node-based migration framework, of which there are many :).


Updating README.md of Cartoonify GUI

Related Issue or bug

Added the extra dependencies & Updated by screenshot of current GUI interface

mention your issue first


Add more checks on geometries?

An interesting idea from an email discussion - should we check to make sure that there are no overlapping geometries? Like make it a requirement that any fiboa collection should have 0 overlapping geometries?
Seems like it'd be useful for users. And you could see the cases where people try to merge two fiboa datasets, that it'd be nice to have an automatic check that would flag that there are overlaps, and it's not truly 'valid' until they are resolved. We could then put that into the validators, and the end result would likely be higher quality field boundary data. I could also see it being more of a 'warning' in a validator.
There are likely some good arguments for not doing increased checks like this, especially as hard requirements, but wanted to open the conversation. There also are probably some other geometry checks that might make sense.

Good point. Also, someone asked today in the demo session whether we validate the geometries. Some more details von valid geometries would be good.

Yeah, probably should be clear in the spec exactly what we consider 'valid' / not valid. Also wonder if we should restrict the geometry type - no points or lines. Curious if people have opinions about multi-polygons - is it one field if it's two polygons? Or should we try to make sure it's one field per row.

Thanks for the insights @StefanBrand. It also leads directly to this question again: https://github.com/fiboa/specification/issues/27
I was wondering: Would it be meaningful to split the MultiPolygons that you get into single Polygons? Who assigns the IDs, i.e. is it possible to have unique IDs per Polygon after the split? Do the they regularly have different crops planted? ...

Another potential check that could be good to do is whether the 'area' and 'perimeter' (if declared) correspond to the geometries area.

The first question to answer: Should we disallow Points, LineStrings and their Multi-equivalents? Currently the schema allows them...

I lean towards yes, disallowing. I think some eudr people might eventually make the case for points, but I just sorta think it's not a 'boundary'. But open to someone articulating a use case before 1.0 and we can add things back.

Okay, there are a couple of things to define here:
More schematically:

Allowed Geometry Types: Polygon + MultiPolygon (it seems?)
General Polygon/MultiPolygon validation: We can likely just point to the OGC Simple Features spec, the validator can use shapely.is_valid)

More semantically:

What is a field boundary? #27
Can field boundaries overlap?
Relation between area and perimeter and the geometry (how much can it deviate?)
...?

With regards to validation, some of the checks make the validation much slower (e.g. the is_invalid on the geometries pretty much slows down validation by a factor of 2). So they should likely be somewhat opt-in/out.


Feature Request: Android assetbundle URLs

Sometimes I need to inspect the contents of an android-only avtr

public/private status too pls

Both features added in the next release


Decompose the game logic and API

I believe that the API of Pgx is sufficiently general, but the optimal API varies depending on the use case. I would like to separate the implementation functions of each game's logic and the API, to make it easier for users to adjust to their preferred API.
For example,

core.State -> core.EnvState, GameState
Each game implements

step(game_state, action) -> game_state
legal_action_maks(game_state)
is_terminal(game_state)
observe(game_state)
terminal_value(game_state) ?

[x] go

#1129
#1130
#1131
#1132
#1133
#1134

[ ] 2048
[ ] animal shogi
[ ] backgammon
[ ] bridge bidding
[ ] chess
[x] connect four

#1151
#1152
#1153

[ ] gardner chess
[ ] hex
[ ] kuhn poker
[ ] leduc hold'em
[ ] minatar

[ ] asterix
[ ] breakout
[ ] freeway
[ ] seaquest
[ ] space invaders

[ ] othello
[ ] shogi
[ ] sparrow mahjong
[x] tic tac toe

#1146
#1148
#1149

@sotetsuk How does this approach handle intermediate rewards?

It depends on the game.
In the case of Go, it looks like https://github.com/sotetsuk/pgx/blob/main/pgx/_src/games/go.py#L129
Note that this change is just a internal change and is supposed to give no effects to the current public API.


Fix wrong parameter in get_part_resources()

The assertion error for get_part_resources() should print res_mapping instead of part_mapping (which is not defined in this function).
This PR supersedes #1835 since the DCO check of that one was messed up by me again.
Signed-off-by: Steve<EMAIL_ADDRESS>

@acomodi Here's the correct PR


working apis for start and stop

hey I think we can close this PR now, right?

closed #47

closed #47


Make jump to source possible

Ideally also for multiple sources

Should work with multiple sources but needs to be tested.

Jumps to the right source positions but sources are rendered wrong


I could not find Socket  save in  my redis

**Sails:0.12.11  **:
Node:5.12:
NPM:3.8.6:
Mac:
I use socket config

I make sure  I connect redis  because I find session in my redis ,But socket not.THANK YOU.
￼

+1


Update multiplatform targets

The latest KMP update changed up their targets a bit, specifically their iOS targets.
ios() was deprecated:
'ios(Action<KotlinNativeTarget>): Unit' is deprecated. Use applyDefaultHierarchyTemplate() instead. Deprecated since 1.9.20, scheduled for removal in 2.0

Would it be possible to get a 0.3.8 published? Looks like the work is done but still unavailable for consumers.

We're waiting for Kotlin 2.0 release so can jump to 0.4.0 directly.

Kotlin 2.0 is out! 💥🥳🍾


completed addUser mutation

completed the addUser mutation to retrieve all data in user table.

Summary of changes:
addUser: now returns all data from user table (including empty workouts array)
saveWorkout: returns updated workout array from the user table with all user's workouts
Settings: new model, typeDef, resolver, and GraphQl to facilitate storage of sensitive data to database


Lazy calls function when it shouldn't

Consider the following SSCCE:
import Html exposing (Html, beginnerProgram, div, button, text, ul, li)
import Html.Events exposing (onClick)
import Html.Lazy exposing (lazy)

type alias Model =
  { myList : List Int }

initialModel : Model
initialModel =
  { myList = [1, 2, 3] }

main =
  beginnerProgram { model = initialModel, view = view, update = update }

view : Model -> Html Msg
view model =
  div []
    [ button [ onClick Decrement ] [ text "-" ]
    , div [] [ lazy listView model ]
    , button [ onClick Increment ] [ text "+" ]
    ]

listView : Model -> Html Msg
listView model =
  ul
    []
    (List.map childView model.myList)

childView : Int -> Html Msg
childView num =
  let
    _ =
      Debug.log "called with" num
  in
    li
      []
      [ text <| toString num ]

type Msg = Increment | Decrement

update : Msg -> Model -> Model
update msg model =
  let
    _ =
      Debug.log "equal?" (model == { model | myList = [1, 2, 3] })
  in
    case msg of
      Increment ->
        { model | myList = [1, 2, 3] }
        --initialModel

      Decrement ->
        { model | myList = [1, 2, 3] }
        --initialModel

If you open the console and click either the plus or minus button you'll notice that the log statement in childView is always called, even though the update function is always returning the same model (as confirmed by the log statement in the update function).
If you uncomment the initialModel lines in the update function everything works as expected. The log statement in childView is called once and is never called again for subsequent clicks of the plus or minus buttons. This is expected since the update function is always returning the same model, but that is also true when the update function returns { model | myList = [1, 2, 3] }, yet the behavior is different.

This is working as intended. Lazy nodes are recomputed based on reference equality (see https://github.com/elm-lang/virtual-dom/blob/master/src/Native/VirtualDom.js#L576-L580) rather than Elm's equality semantics. Imagine rendering a list of 500 items - it probably wouldn't be worthwhile to walk the current and previous list on every single render just to determine if we should walk the list again to get some nodes. It's trivially fast to check if the previous list is literally the same instance as the current one though, and in cases where it is that's where we get the speedup.
Is there any documentation where it would have been good to see referentially equal in the docs to help make this clear?

Thanks for the response, Luke. I didn't read the docs close enough and that's my fault, not the fault of the docs.


 Please help me in this.

Hi, You can refer to https://github.com/cloudwebrtc/flutter-webrtc-server for complete code.

Hi, You can fork this repo, then change this line:
Https://github.com/cloudwebrtc/flutter-webrtc-demo/blob/master/lib/main.dart#L64

How? I tried to change this url with my janus server url but did not work.

This demo can only be used for simple one-to-one call testing and depends on flutter-webrtc-server, I guess you want this demo to work with Janus SFU? If so, you need to port the js client SDK in Janus to the flutter/dart version and then rely on flutter-webrtc to actually dock SFU.


labels2points basic method

Added Label2points basic method

Approved

Hi @caviri ,
are you still interested in getting this merged?
(-:


chore: Add fit zoom on geofence display

Description of changes

When displaying geofences try to fit them into the current map view

When displaying single geofences just try to update the current map bounds to include those coordinates
When displaying all geofences update map bounds to include all geofences and then add some padding to the zoom

Issue #, if available

Description of how you validated changes
Checklist

[x] PR description included
[x] yarn test passes
[ ] Tests are [changed or added]
[ ] Relevant documentation is changed or added (and PR referenced)

Codecov Report

Merging #149 (5b51026) into main (843a30b) will decrease coverage by 0.32%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main     #149      +/-   ##
==========================================
- Coverage   40.82%   40.50%   -0.33%
==========================================
  Files          16       16
  Lines        1205     1222      +17
  Branches      162      162
==========================================
+ Hits          492      495       +3
- Misses        713      727      +14

Impacted Files
Coverage Δ

src/AmplifyGeofenceControl/ui.ts
2.85% <0.00%> (-0.02%)
:arrow_down:

src/AmplifyGeofenceControl/index.ts
54.97% <66.66%> (-2.98%)
:arrow_down:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Bugwindow funnel function should support datetimev2 type get scale info

What problem does this PR solve?
Problem Summary:
before the window funnel function only support datetime type, which can't get scale info of really
it's should support datetimev2 type
Release note
None
Check List (For Author)

Test

[x] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run buildall


Write up process for new committers and project members

At the moment we don't have a explicit governance method. What we have been doing so far is:

Give commit rights to every successful GSOC/SOCIS student at the end of the period (so far, all of them)
Give admin rights to every person sticking to the project for more than six months (so far, @jorgepiloto )

We should probably write this up somewhere and make it visible.

@astrojuanlu Do we need to write a complete documentation and then add this to it(a new walkthrough for new commiters)?

Hi @Chainesh ! Rather than a walk-through for new committers, this is more like the rules of the project to become "core members". It's something that @jorgepiloto and I have to write and present to the community.

@astrojuanlu excited!! Waiting to see what's in it :)

Should we add this within the contributing documentation section? @astrojuanlu

I just saw there exists a CONTRIBUTING and docs/source/contributing.md files, which are indeed the same. I guess this is due to the way documentation builds up, but it is kind of weird to have the same file twice... :thinking:

It's a good observation @jorgepiloto. The top-level CONTRIBUTING.md is easier to discover for people that browse the repository, and also encouraged by GitHub Community Standards (see https://github.com/poliastro/poliastro/community)
I propose something: let's have docs/source/contributing.md have a simple sentence saying "there are several ways you can contribute to poliastro, check out [LINK HERE]", and we point out to https://github.com/poliastro/poliastro/blob/main/CONTRIBUTING.md. What do you folks think? That way we only have one file.

Or we can do an include like this: https://github.com/scikit-image/scikit-image/blob/main/doc/source/install.rst


libreoffice-<IP_ADDRESS> is broken (fails to open any files)

Issue description
After updating 'libreoffice-<IP_ADDRESS>' to 'libreoffice-<IP_ADDRESS>' it failed to open all ODT documents I've tried, claiming that they don't exist.
I've reverted to previous version (<IP_ADDRESS>) and it opens the same files without issue.
Steps to reproduce

Update to libreoffice-<IP_ADDRESS>
Try to open an ODT document

Technical details

system: "x86_64-linux"
host os: Linux 5.0.1-gentoo, Gentoo, noversion
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.0.4
channels(zetok): "nixpkgs-19.09pre173147.03050e9749e"
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
nixpkgs: `/home/zetok/.nix-defexpr/channels/nixpkgs

I've just checked, and libreoffice-fresh (<IP_ADDRESS>) is also affected by the same problem.

Thank you for your report. On something that is almost NixOS I seem to be able to open a random ODT file. So I want to find a difference (and maybe update the wrapper to handle this difference…)
I assume if you create a new .ODT file it also fails to be opened? Could you please specify a concrete checked-failing ODT file (upload, or something available like LibreOffice tests)?
Also just in case: could you please a fresh user and launch LibreOffice via full store path?
Thank you.

I assume if you create a new .ODT file it also fails to be opened?

This actually worked just fine when saving with default name Untitled 1.odt. After mv Untitled\ 1.odt 'name with unicode ≠²≠¢³€¢…«»·€§ðæŋ’əµ.odt' LO failed to open the file.
Apparently all the files that I've tried to open either had some unicode characters in their filename, or in some part of the path to them.
As for uploading test case, even converting an empty file with unicode in it to ODT fails:
$ touch 'name with цырылиц.txt'
$ libreoffice --headless --convert-to odt 'name with цырылиц.txt'
Warning: failed to read path from javaldx
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
Error: source file could not be loaded

Converting an empty file without unicode characters in path works.
NB: LO <IP_ADDRESS> displays malformed unicode characters, while <IP_ADDRESS> displays the correct unicode characters in the GUI error message.

As for uploading test case, even converting an empty file with unicode in it to ODT fails:

Thanks for the test script

$ touch 'name with цырылиц.txt'
$ libreoffice --headless --convert-to odt 'name with цырылиц.txt'

Works for me (and my initial test was by conincidence with a file with a name in Russian)

Do I understand correctly that a freshly created user with a en_US.UTF-8 locale gets the same problem?

Do I understand correctly that a freshly created user with a en_US.UTF-8 locale gets the same problem?

~Yep, on a fresh user with LANG=en_GB.UTF-8 and LC_MESSAGES=en_US.UTF-8  trying to open a file with unicode in filename results in an error.
Other locale variables are not set.
With LANG=C LO <IP_ADDRESS> opens the file, but there's another problem with tooltip:

And with en_US instead of en_GB? I also wonder if setting LOCALE_ARCHIVE to point to Nixpkgs-provided glibcLocales (more precisely, /lib/locale/locale-archive inside that package) would help.

And with en_US instead of en_GB?

This also fails.

Let's exclude crazy versions
with import <nixpkgs> {};
runCommand "test-lo" {
  buildInputs = [
    libreoffice tigervnc xorg.xprop xorg.twm
  ];

} ''
  export LOCALE_ARCHIVE="${glibcLocales}/lib/locale/locale-archive"
  export LANG=en_GB.UTF-8
  export LC_MESSAGES=en_US.UTF-8
  export FONTCONFIG_FILE=${makeFontsConf {
     fontDirectories = [ dejavu_fonts ];
  }}

  export HOME="$out/home"
  mkdir -p "$HOME"
  cd "$out"

  ascii_string="qwe"
  lgc_string="bвδ"
  echo "$lgc_string" > "$lgc_string.txt"
  echo "$ascii_string" > "$ascii_string.txt"

  libreoffice --headless --convert-to odt "./$ascii_string.txt"
  libreoffice --headless --convert-to odt "./$lgc_string.txt"

  ls
''

This creates two .odt files just fine for me (I have pushed and improved wrapper that doesn't complain as much inside build sandbox, but even with the old wrapper it should work).
Does this work for you?

Yes.

Hm. Next thing: fresh user, empty home directory, $NIX_PATH set up as it should be on your system.
echo "bвγ" > "bвγ.txt"
env -i PATH="$(nix-instantiate -E 'with import <nixpkgs> {}; lib.makeBinPath [ libreoffice gnugrep utillinux coreutils gnused ]' --eval-only | tr -d '"')" LANG=en_GB.UTF-8 LC_MESSAGES=en_US.UTF-8 LOCALE_ARCHIVE="$(nix-build '<nixpkgs>' -A glibcLocales)"/lib/locale/locale-archive FONTCONFIG_FILE="$(nix-build -E "with import <nixpkgs> {}; makeFontsConf {fontDirectories = [ dejavu_fonts ];}")" HOME=$PWD libreoffice --headless --convert-to odt bвγ.txt

This should have a very limited leak from the environment…

This also successfully converts the file.

And without -i as the first argument to env it fails, right?

Yes.

No, wait, it still works without -i (I did rm * and forgot to recreate the file).

Hm, does it work under your normal user in an empty directory with that file (with and without -i)?

Yes.

Well, in that case you can try removing variables one by one and find out which one makes all the difference.

Any news on what caused the failure?

I've just noticed that there's a message when LO fails to open a file via GUI:
(soffice:32088): GLib-GObject-CRITICAL **: 17:04:27.535: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed

The error doesn't occur with LANG=C on a new user. It also occurs every time on a normal user regardless of the LANG variable.

Actually, there seem to be 2 issues here: one where LO fails to convert a file via CLI, and one where LO fails to open a file via GUI. Since neither of those worked, I thought that it was the same issue, but I've just found out that even though export LANG=C fixes converting, the GUI still doesn't work with it set on a user I want it to work.
no – LO doesn't open the file
yes – LO opens the file

LANG=en_GB.UTF-8:

normal user:

CLI: no
GUI: no

new user:

CLI: no
GUI: no

LANG=C:

normal user:

CLI: yes
GUI: no

new user:

CLI: yes
GUI: yes

I've tried to unset quite a few env variables on normal user, but it didn't seem to make any difference.

And I've just tried to unset all env vars except the ones that are absolutely needed with:
for ev in $(env | sed -E 's/([a-zA-Z0-9_]*)=.*/\1/')
do
    if [ $ev != "HOME" ] && [ $ev != "PATH" ] && [ $ev != "DISPLAY" ]
    then
        unset $ev
        echo
        echo "Unset: '$ev'"
        echo
        libreoffice
    fi
done

And LO with my user still fails to open the file via GUI.

Well, I think the env -i … invocation I provided is the optimal environment for test.
I am a bit lost: if you use that kind of env , with and without -i, from your normal user and from a fresh one — how GUI behaves? Your table seems to be just about $LANG without $LOCALE_ARCHIVE, and I think Nix-packaged glibc more or less requires the latter variable.

Oh, it looks like setting LOCALE_ARCHIVE fixes it for normal user without changing other variables. And while at it, it looks like I can just use the one from underlying system, instead of the one provided by Nix:
export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive

I was optimising for the chance of having a reproduction I can run locally, so Nixpkgs locale archive was better; but indeed it should be OK (most of the time — if glibc upgrades locale-archive format, all bets are off) to use the system one.
I would generally say that Nixpkgs + interactive programs → please set $LOCALE_ARCHIVE.
Are there any remaining problems with $LOCALE_ARCHIVE set?

I would generally say that Nixpkgs + interactive programs → please set $LOCALE_ARCHIVE.

I think that this sort of thing should be taken care of by the package manager/included wrapper script for the package, as it seems to be unreasonable to expect from user to know that some environment variable(s) need to be set in order for program to work where said program doesn't need those environment variables to work with other package managers.

Are there any remaining problems with $LOCALE_ARCHIVE set?

AFAICS there are none.

It is possible to have system locale archive in a format incompatible with Nixpkgs glibc (the fact that this is a rare situation doesn't make it much better). Wrapping all the packages with a full locale archive is not done because of 120MiB size of the maximum locale archive (it is possible to use a smaller one with only the languages used on the system). Documentation is just lacking, and that is just unfortunate, indeed.

Some previous discussions:
https://github.com/NixOS/nixpkgs/issues/6878
https://github.com/NixOS/nix/issues/599

(triage) Closing as duplicate of https://github.com/NixOS/nixpkgs/issues/6878 , as all that remains appear to document the locale issues.


references-one and references-many relationships

We have has-one and has-many relationships, which express containment relationships between parent and child models (think Invoice has-many Line Items, or Customer has-one address).
For the has-* relationships, if the parent is deleted, the children get deleted too.  CASCADE DELETE in database terms.
What we need is similar, but without these delete semantics.  For example, an Invoice would reference-one Customer.  The Customer has a lifecycle independent of the Invoice.  If the Invoice is deleted, the Customer remains.  It is interesting to ask what should happen to an Invoice it its Customer get deleted.
A Mailing List might reference-many Customers.  If the Mailing List is deleted the Customers remain.
These two relationship types unlock a super important part of modelling the graph of models to represent a domain.

For the first milestone this is associated with, we will need references-one to allow a Bike Check to reference a Customer as a references-one, and the opposite as a references-many

Completed a very basic implementation, with unbatched fetching of each referenced record.  Will not scale, but enables the building of simple databases.


Update index.md

per CI 114009: In the "Quick reference by topic" table, added a row for "Contact Support" and changed the "topic" text for the "Get support" row to "More support options"

Thank you! I have restored the pipe to line 54. I also removed the “d” from the end of “shared” in line 51 to read as “Multiple users can share a…”
-Jerry
From: Trond B. Krokli<EMAIL_ADDRESS>Sent: Friday, February 21, 2020 2:37 PM
To: MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Cc: Jerry Sitser (MOTIV INC<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windows-itpro-docs] Update index.md (#6103)
@illfated commented on this pull request.

In devices/hololens/index.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fpull%2F6103%23discussion_r382839203&data=02|01|v-jesits%40microsoft.com|790498e7c86343b445b908d7b71e91f4|72f988bf86f141af91ab2d7cd011db47|1|0|637179214242804194&sdata=2VzH4VRx8saOnCjqIxEPa4lmScSaI03a9gSoLWVAtQU%3D&reserved=0:

@@ -50,7 +50,9 @@ appliesto:

| HoloLens user management | Multiple users can shared a HoloLens device by using their Azure Active Directory accounts. |
| HoloLens application access management | Manage application access for different user groups.  |
| Recover and troubleshoot HoloLens issues |  Learn how to gather logs from HoloLens, recover a misbehaving device, or reset HoloLens when necessary.  |
-| Get support | Connect with Microsoft support resources for HoloLens in enterprise.  |
+| Contact Support | Create a new support request for the Support for business team.
+| More support options | Connect with Microsoft support resources for HoloLens in enterprise.
+|
This pipe character (horizontal line) seems to have been moved down from the end of the previous line. It will appear as an added character below the table, unless you move it back or delete line 55.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fpull%2F6103%3Femail_source%3Dnotifications%26email_token%3DAIV4C3VTQKDL7C35QINLCK3REBJQ3A5CNFSM4KZLHHTKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCWRFARY%23pullrequestreview-362958919&data=02|01|v-jesits%40microsoft.com|790498e7c86343b445b908d7b71e91f4|72f988bf86f141af91ab2d7cd011db47|1|0|637179214242804194&sdata=wx0qwagdBXXxLvf%2F3dJTaiLqzBROCv6MJ5U05%2BZTPBg%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIV4C3TPHPVO3VOHLBW7PTTREBJQ3ANCNFSM4KZLHHTA&data=02|01|v-jesits%40microsoft.com|790498e7c86343b445b908d7b71e91f4|72f988bf86f141af91ab2d7cd011db47|1|0|637179214242814187&sdata=ExIEu8jpfFNf1zuBN9xy22UwyApaxb3l15KOSeeZiY8%3D&reserved=0.

Very good. Feel free to minimize my source code comment above by using the "Resolve conversation" button (if it is present in that comment).

[adding Sarah]
Change made. Thanks!
-Jerry
From: Trond B. Krokli<EMAIL_ADDRESS>Sent: Friday, February 21, 2020 3:59 PM
To: MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Cc: Jerry Sitser (MOTIV INC<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windows-itpro-docs] Update index.md (#6103)
@illfated commented on this pull request.

In devices/hololens/index.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fpull%2F6103%23discussion_r382859332&data=02|01|v-jesits%40microsoft.com|935a5615f5634c5f033e08d7b72a10d8|72f988bf86f141af91ab2d7cd011db47|1|0|637179263606226129&sdata=fZLE4RBV5%2Bs6cc6G4UHx7V4HveG4rCHZlS1NU0mvBt4%3D&reserved=0:

| HoloLens application access management | Manage application access for different user groups.  |

-| Recover and troubleshoot HoloLens issues |  Learn how to gather logs from HoloLens, recover a misbehaving device, or reset HoloLens when necessary.  |
-| Get support | Connect with Microsoft support resources for HoloLens in enterprise.  |
+| Recover and troubleshoot HoloLens issues |  Learn how to gather logs from HoloLens, recover a misbehaving device, or reset HoloLens when necessary. |
+| Contact Support | Create a new support request for the Support for business team. |
+| More support options | Connect with Microsoft support resources for HoloLens in enterprise. |
minor consistency & readability logic improvement:
⬇ Suggested change
-| More support options | Connect with Microsoft support resources for HoloLens in enterprise. |
+| More support options | Connect with Microsoft support resources for HoloLens in the enterprise. |
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fpull%2F6103%3Femail_source%3Dnotifications%26email_token%3DAIV4C3XFDOAAWSTF7N37JGTREBTFPA5CNFSM4KZLHHTKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCWRK5AA%23pullrequestreview-362983040&data=02|01|v-jesits%40microsoft.com|935a5615f5634c5f033e08d7b72a10d8|72f988bf86f141af91ab2d7cd011db47|1|0|637179263606236083&sdata=GCIRQhMKdcyt7GVgG84Z1%2Fv5MR7vfmbuMfR9Qq%2BHL7s%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIV4C3SXU7CZI5XTWJ5RINTREBTFPANCNFSM4KZLHHTA&data=02|01|v-jesits%40microsoft.com|935a5615f5634c5f033e08d7b72a10d8|72f988bf86f141af91ab2d7cd011db47|1|0|637179263606236083&sdata=630KmrPwPwWlLcMpvVW886oE3KWZT5bbP9KUZybtRdk%3D&reserved=0.

That text was referring to the website name: “Business for support.” But I agree that it’s confusing. I’ve changed this to:
Create a new support request for the business support team.
Does this work?
From: Trond B. Krokli<EMAIL_ADDRESS>Sent: Friday, February 21, 2020 4:16 PM
To: MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Cc: Jerry Sitser (MOTIV INC<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windows-itpro-docs] Update index.md (#6103)
@illfated commented on this pull request.

In devices/hololens/index.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fpull%2F6103%23discussion_r382862418&data=02|01|v-jesits%40microsoft.com|909f9a9eae174c87088008d7b72c63ca|72f988bf86f141af91ab2d7cd011db47|1|0|637179273586176098&sdata=%2FeNkvPfbX1Yfn8F%2FUfTGZD5AHazr9slJDiDkxMK%2FGMc%3D&reserved=0:

| HoloLens application access management | Manage application access for different user groups.  |

-| Recover and troubleshoot HoloLens issues |  Learn how to gather logs from HoloLens, recover a misbehaving device, or reset HoloLens when necessary.  |
-| Get support | Connect with Microsoft support resources for HoloLens in enterprise.  |
+| Recover and troubleshoot HoloLens issues |  Learn how to gather logs from HoloLens, recover a misbehaving device, or reset HoloLens when necessary. |
+| Contact Support | Create a new support request for the Support for business team. |
Very minor and almost cosmetic suggestion:
Either state "... for a business team." or "... for business teams."
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fpull%2F6103%3Femail_source%3Dnotifications%26email_token%3DAIV4C3RPVBRGPDKZ46ZYY5LREBVD3A5CNFSM4KZLHHTKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCWRLYAI%23pullrequestreview-362986497&data=02|01|v-jesits%40microsoft.com|909f9a9eae174c87088008d7b72c63ca|72f988bf86f141af91ab2d7cd011db47|1|0|637179273586176098&sdata=DCyG3vMIe%2FSTQWJ%2Fbib77qt3IrzVkXnH0zSFkxI4jM4%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIV4C3XQVNZUDWYACZDU5FLREBVD3ANCNFSM4KZLHHTA&data=02|01|v-jesits%40microsoft.com|909f9a9eae174c87088008d7b72c63ca|72f988bf86f141af91ab2d7cd011db47|1|0|637179273586186090&sdata=HRuzMXk%2F4fce0osxArf6Ww8VB9NK3qvij4jeYkUOVWM%3D&reserved=0.

ARGH!!!  I meant the real website name: “Support for business.” Still confusing. 😊
From: Jerry Sitser (MOTIV INC)
Sent: Friday, February 21, 2020 4:27 PM
To: 'MicrosoftDocs/windows-itpro-docs'<EMAIL_ADDRESS>MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Cc: Sarah Cooley<EMAIL_ADDRESS>Jarrett Renshaw<EMAIL_ADDRESS>Subject: RE: [MicrosoftDocs/windows-itpro-docs] Update index.md (#6103)
That text was referring to the website name: “Business for support.” But I agree that it’s confusing. I’ve changed this to:
Create a new support request for the business support team.
Does this work?
From: Trond B. Krokli <notifications<EMAIL_ADDRESS>Sent: Friday, February 21, 2020 4:16 PM
To: MicrosoftDocs/windows-itpro-docs <windows-itpro-docs<EMAIL_ADDRESS>Cc: Jerry Sitser (MOTIV INC) <v-jesits<EMAIL_ADDRESS>Author <author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windows-itpro-docs] Update index.md (#6103)
@illfated commented on this pull request.

In devices/hololens/index.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fpull%2F6103%23discussion_r382862418&data=02|01|v-jesits%40microsoft.com|909f9a9eae174c87088008d7b72c63ca|72f988bf86f141af91ab2d7cd011db47|1|0|637179273586176098&sdata=%2FeNkvPfbX1Yfn8F%2FUfTGZD5AHazr9slJDiDkxMK%2FGMc%3D&reserved=0:

| HoloLens application access management | Manage application access for different user groups.  |

-| Recover and troubleshoot HoloLens issues |  Learn how to gather logs from HoloLens, recover a misbehaving device, or reset HoloLens when necessary.  |
-| Get support | Connect with Microsoft support resources for HoloLens in enterprise.  |
+| Recover and troubleshoot HoloLens issues |  Learn how to gather logs from HoloLens, recover a misbehaving device, or reset HoloLens when necessary. |
+| Contact Support | Create a new support request for the Support for business team. |
Very minor and almost cosmetic suggestion:
Either state "... for a business team." or "... for business teams."
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fpull%2F6103%3Femail_source%3Dnotifications%26email_token%3DAIV4C3RPVBRGPDKZ46ZYY5LREBVD3A5CNFSM4KZLHHTKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCWRLYAI%23pullrequestreview-362986497&data=02|01|v-jesits%40microsoft.com|909f9a9eae174c87088008d7b72c63ca|72f988bf86f141af91ab2d7cd011db47|1|0|637179273586176098&sdata=DCyG3vMIe%2FSTQWJ%2Fbib77qt3IrzVkXnH0zSFkxI4jM4%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIV4C3XQVNZUDWYACZDU5FLREBVD3ANCNFSM4KZLHHTA&data=02|01|v-jesits%40microsoft.com|909f9a9eae174c87088008d7b72c63ca|72f988bf86f141af91ab2d7cd011db47|1|0|637179273586186090&sdata=HRuzMXk%2F4fce0osxArf6Ww8VB9NK3qvij4jeYkUOVWM%3D&reserved=0.

Very good. Thank you for the help!
From: Trond B. Krokli<EMAIL_ADDRESS>Sent: Friday, February 21, 2020 4:33 PM
To: MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Cc: Jerry Sitser (MOTIV INC<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windows-itpro-docs] Update index.md (#6103)
@illfated approved this pull request.
Looks very good to me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fpull%2F6103%3Femail_source%3Dnotifications%26email_token%3DAIV4C3RJ6CIP6HHIIOWG3E3REBXDDA5CNFSM4KZLHHTKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCWRMSHA%23pullrequestreview-362989852&data=02|01|v-jesits%40microsoft.com|a995701f84cd4cf6a6a508d7b72ebf51|72f988bf86f141af91ab2d7cd011db47|1|0|637179283709034284&sdata=YzMMCZOi2yDlzVBePJQuJ7hoI7nI4UxBx22f2pMtaWo%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIV4C3WFNJAPCVUMP65GNBDREBXDDANCNFSM4KZLHHTA&data=02|01|v-jesits%40microsoft.com|a995701f84cd4cf6a6a508d7b72ebf51|72f988bf86f141af91ab2d7cd011db47|1|0|637179283709039278&sdata=Q5VhTdaKm50U3h4Ie3SpBG9u%2BX2uWKvn%2FaZuA6zuIOI%3D&reserved=0.

I am not sure if the "Resolve conversation" feature is available for my previous (Outdated) comments, but if you can find it, feel free to use it.

#sign-off


socket_wrapper: 1.3.3 -> 1.3.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/socket_wrapper/versions.
meta.description for socket_wrapper is: "A library passing all socket communications through unix sockets"
meta.homepage for socket_wrapper is: "https://git.samba.org/?p=socket_wrapper.git;a=summary;"
meta.changelog for socket_wrapper is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.3.4 with grep in /nix/store/qkvclbz1nami087i77dnv9hrgph56327-socket_wrapper-1.3.4
found 1.3.4 in filename of file in /nix/store/qkvclbz1nami087i77dnv9hrgph56327-socket_wrapper-1.3.4

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
socket_wrapper

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qkvclbz1nami087i77dnv9hrgph56327-socket_wrapper-1.3.4
ls -la /nix/store/qkvclbz1nami087i77dnv9hrgph56327-socket_wrapper-1.3.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.


File extension to image format check case insensitive

The check of the file extension against the expected image format is
more user friendly if it is case insensitive.

This breaks tests - if the file has no extension, this calls .lower() on NoneType

Closing; tests break.


Implement the unreliable datagram extension

Fixes #207.
This extension isn't stable yet, and (partly in the interest of avoiding rebase churn in std-futures branch) I haven't yet implemented the high level API, but this is the bulk of the work, and the API is ready to receive feedback.

For some reason github won't let me respond to your first comment directly.

I don't understand what the call to into_inner() is doing. As I understand it, self.params.max_datagram_frame_size? is usize, so what's the into_inner() doing here?

It's actually pub max_datagram_frame_size: Option<VarInt>. I'm toying with the idea of adopting this convention more broadly to make it harder to incorrectly encode/decode a value that's always used as varint.

Also let's inline max_payload_size(), since it's a single-use function (and the name doesn't suggest it is only relevant for datagrams).

It's not specialized to datagrams, strictly, it's a judgement about the room for frames of any kind. Still, no harm in inlining it.

"will never be below ... the limit specified by the peer" doesn't seem very meaningful or helpful since the limit specified by the peer, as I understand it, might be 1?

My intention was to express that the value usually has a reasonable lower bound, unless the peer requires otherwise. I'll try rewording it, especially since it doesn't make sense without the constant anyway.

Implemented the high-level API and added support for waiting on congestion.


NSDate+YYAdd 中dateByAddingMonths方法给时间加一个月会丢失一个小时

As following pic.

It's no problem now. I was using Washington time zone. It should be day-light-saving time.


Migration to SDK 7.0.0

Hi, your module is great, I am using it on Android for a while but I have to upgrade my app to the new SDK 7.0. Could you migrate your module to build with the new SDK 7.0.0 ?
Thanks a lot.

You can find it in Ti.CameraView as Android part. Other issue (bad neews from Tislack): no focus under Android Oreo.

to close this one: https://github.com/brownemint/Ti-Android-CameraView/pull/23


Why site is so slow?

Guys,
From couple of days site is extremely slow... I cannot submit any solution coz it take more time then app is able to handle ;/

We've replaced the runner. It should be more stable and have much better performance, especially for free users.
Please open a new issue if you're still experiencing issues.

Its still slow I am trying other competitive programming website, 1 person doesnt count but its too slow so many of them would also find other site
shame bcos it has good community

I can't submit my solution

Please open a new issue using the template to provide details.


Onnx datatype parsing

This is for issue #581 (Python API does not support int64 data type)

After checking the codecov report, looks like the only missing code are those for throwing exceptions.


Update readme with ZEIT Now deployment guide link

This pull request updates the Next.js readme with the removal of an old ZEIT Now deployment guide and the addition of a link to an external ZEIT Now deployment guide.

We still need all the examples updated too, right?


Binary Snapshot Support

I'd like to test a function rendering to an image, and I want to use snapshot testing. Currently I am using the Debug serializer but the resulting file is larger than my image and diff is useless. I'd really appreciate if I can generate image files and compare them visually, which means having the snapfiles open as image files.
I have thought about writing a serde serializer for image::DynamicImage, but AFAIK insta always adds the header so the resulting file cannot conform to an image format, which may prevent the file from being viewed as an image directly.
The metadata in the headers originally may be placed in EXIF tag UserComment for PNG and JPEG and in Comment Extension for GIF, although image doesn't seem to support metadata when encoding.

Even worse right now is the fact that insta is writing strings. So you won't be able to get anything binary through. I do agree though that there are cases where binary files are useful and screenshots is one of those reasons.
I think one way to approach this would be to emit .snap files with a new header that points to an out-of-band binary file. So something like this:
foo.snap
source: tests/test_image.rs
expression: "process_image()"
binary_snapshot: "foo.snap.png"

And then have the file in foo.snap.png. This has the added benefit that the original file extension can be kept (eg: png for a screenshot) and tools can better work with it.

By adding support for postcard, this issue can be fixed. Postcard serializes the data into a vector of numbers.

The issue is reviewing this. When working with binary snapshots (for instance pngs) one would want the snap files to be in a format that can be put into a viewer. So one idea was to make the snap files only contain the metadata and put the binary payload into an adjacent file.

Postcard supports deserialization from the stored bytes. So, the data can be restored and displayed using the Debug or Display trait.

Yes, but that does not address the problem that the file on the file system is not in a format that you can directly open with a viewer.

+1 for this feature.
Even if the file isn't viewable in a viewer (in my case I'm snapshotting Postgres binary dumps) it is still useful to store it as a standalone file (in my case so that I can integration test by copying it via psql).
I think the snap could also hold some meta information about the binary file. Like size, maybe a hash? Size could be useful to see what's going on at a glance, hash I can't think of an immediate use case but can't hurt to have it.

@mitsuhiko I’m interested in working on this if you’d accept a PR implementing it. The approach you outline in https://github.com/mitsuhiko/insta/issues/196#issuecomment-989792972 seems reasonable to me.

@peterstuart yeah, would be super happy to accept patches for this.

How about actually showing the real images in the terminal, side by side, using viu?

Showing diffs like https://github.com/nicolashahn/diffimg
Flutter provides something like that with golden tests https://api.flutter.dev/flutter/flutter_test/GoldenFileComparator-class.html

I think showing stuff in the terminal is not a good strategy. I would rather surface the individual files and provide ways to open up an external diff viewer / visualization tool. In general I also think if a binary snapshot feature should be added (which I'm in favor of) it should not assume that images are the only binaries.
I think ideally this starts with a proposal of how assertions work and where and how the snapshots are stored.

Closed by #610


Fix #3872

This commit changes some QueryFragment impls that previously assumed that the provided primary key consist only of a single column. The new implementation allows composite keys as well. In addition I also added two tests to cover these cases as well.

There is no reasoning behind that name at all. I guess my thoughts were something like: It is somehow related to the DO NOTHING clause in ON CONFLICT statements and it's an internal helper trait -> DoNothingHelper. In the end it's just a trait that implements a helper to generate a workaround for the missing DO NOTHING support on mysql (by just saying id = id essentially).
That written: I'm open to change it to some better fitting name if someone comes up with a suggestion.

It is somehow related to the DO NOTHING clause

Haha it's true that the name of the trait feels super weird like "wait what we need a trait to help us do nothing?" 😂
I guess just a tiny bit of doc comment on top of the trait would avoid this funny confusion 🙂

Right, I didn't notice that the trait name might imply something else :see_no_evil:
I've pushed https://github.com/diesel-rs/diesel/pull/3877/commits/72412299bd8932cee1970843b134186b1c582c3a to include now explicitly in the name that it's about the DO NOTHING clause + added some lines of documentation.


Interpret newline escape codes in dialog messages?

See rails/rails#16784
Currently, to get a newline in a data-confirm dialog, you need to either:

Let it be interpreted as a newline at the Ruby string level (when using Rails helpers) or
Insert an explicit newline in your HTML (when writing standard HTML) or
Use an HTML escape code like
 or
, and make sure the string is marked as html_safe on the Rails end so those codes aren't escaped.

The issue with 1 is that any Ruby string newlines are reflected in the HTML source, so the output of both methods 1 and 2 might look like:

My link

Another link

You can imagine if you had a lot of these how messy it might look, though it is apparently valid.
3 is simply a bit of an obscure/hacky workaround.
Id prefer to be able to specify something like:
My link

and have jquery-ujs interpret those newlines just as calling
confirm("I want a gap between this line...\n\n...and this line");

in Javascript would. Currently it just gives literal "\n"s in the message instead.

<%= link_to 'Click me', '#', data: { confirm: 'Line\nNewLine' } %>

$.rails.confirm = function(message) {
 return confirm(message.replace(/(\\n|\\r|\\r\\n)/gm,"\n"))
}```

Es con comilla doble :)
<%= link_to 'Click me', '#', data: { confirm: "Line\nNewLine" } %>


KIA EV6 2025 steering control is not working

Describe the bug
Car model : KIA EV6 2025 (facelifted model)
Comma model : Comma 3x
Car harness : Hyundai P
Hello, I applied car model EV6 22-24 (without HDA2), but steering control not working.
Comma 3x shows cyan square border and steering wheel icon not showing on my cluster.
I think it occur because it is not registered fingerprint. How can I help to register this car to Openpilot?
Thank you.
Which car does this affect?
KIA EV6 2025 (without HDA2)
Provide a route where the issue occurs
84711a8268bf3b9a/00000007--9fa77cf42e
openpilot version
latest production release
Additional info
No response

It similar with this issue
https://github.com/commaai/openpilot/pull/30931

Hello, I read some docs and uploaded PR to opendbc.
I noticed my car has HDA2.
https://github.com/commaai/opendbc/pull/1534


Link to https://epcced.github.io/2023-09-06-rse-singularity/

Good lesson material about Singularity/Apptainer.

But this is a shorter version of a 2-day lesson which is in the Carpentries Incubator. So we should link to that one instead.


sync bl mcu sdk latest

Synced BouffaloLab bl mcu sdk latest code；
all updates are as follows:

fixed keyscan clock source
fix low power issue
fix setting that make timer inaccurate
fix flash erase issue
add support for 2 lines flash
update command flash tools

thanks


fix: Added a new job to trigger Firebolt api workflow

JavaScript SDK generation succeeded.
C++ SDK generation succeeded.

JavaScript SDK generation succeeded for the OpenRPC changes.
C++ SDK generation succeeded for the OpenRPC changes.

JavaScript SDK generation succeeded for the OpenRPC changes.
C++ SDK generation succeeded for the OpenRPC changes.

JavaScript SDK generation succeeded for the OpenRPC changes.
C++ SDK generation succeeded for the OpenRPC changes.

JavaScript SDK generation succeeded for the OpenRPC changes.
C++ SDK generation succeeded for the OpenRPC changes.

JavaScript SDK generation succeeded for the OpenRPC changes.
C++ SDK generation succeeded for the OpenRPC changes.

JavaScript SDK generation succeeded for the OpenRPC changes.
C++ SDK generation succeeded for the OpenRPC changes.

JavaScript SDK generation succeeded for the OpenRPC changes.
C++ SDK generation succeeded for the OpenRPC changes.

JavaScript SDK generation succeeded for the OpenRPC changes.
C++ SDK generation succeeded for the OpenRPC changes.


'Name "foo" not found' when defining mutually recursive types and using them as parameters

Hi, I'm getting the error Name "foo" not found when trying to define the following two mutually recursive types.
noeq type foo = | T
and bar : foo -> Type = | E : bar T

Here is the output of fstar.exe --version :
F* <IP_ADDRESS>
platform=Linux_x86_64
compiler=OCaml 4.04.0
date=2017-09-13T10:35:52+0100
commit=7151bb39a

The kind of induction-induction you are trying to do is not officially supported in F* : the type foo is only fully defined after the definition of the mutually recursive type. It happens that induction-induction is a conservative extension of F* and I have been able to encode it by using ideas from https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/thesis/thesis.pdf  but I don't remeber where I put that exemple. If you really need it I should be able to find it.

Now I remembered another thread about induction-induction: #331. Didn't realize it was about this, sorry.


rolecard: Bio text is colored orange on desktop/chrome, only able to read when highlighted.

If there is an image added to the role, then this should offset the text and have it instead be on top of the white background, and visible - @jpailthorpe did this role card have an image in keystone?

Still seeing this (or not)

This is due to content. This is not a bug.


Texttiling returns the same text instead of tiles

Hello,
The problem I have is that instead of returning text tile, it returns the same text I feed as input.
corpus_root = 'C:/path/to/text/file'
wordlists = PlaintextCorpusReader(corpus_root, ['file.txt'])
praw = wordlists.raw('file.txt')

ttt = nltk.tokenize.TextTilingTokenizer()
tiles = ttt.tokenize(praw)

So instead of getting a list of tiles, I get a list with one entry which is the entire text from file.txt.
I also tried to load the text file with python methods and I get the same result.
file = open("file.txt")
lines = file.read()

ttt = nltk.tokenize.TextTilingTokenizer()
tiles = ttt.tokenize(lines)

Can you please help me with this one?
Thanks

On running ttt.tokenize(lines), you should get a list of strings as the result: [, , ] where each  is a subtopic in the text. So, you should get the original text back with no deletions as the only thing the tokenizer does is split the text up into subtopics.
Hope this helps!


readRecords will occasionally throw a RangeError

I'm using this library to convert some old DBF data, and I'm running into an issue where readRecords(n) will throw RangeErrors. Currently I've just wrapped readRecords in a try/catch and only read one record at a time, which works, but naturally some data is lost.
Full stack trace:
RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
    at boundsError (internal/buffer.js:80:11)
    at Buffer.readInt32LE (internal/buffer.js:386:5)
    at int32At (/home/kurtis/Documents/anthology-converter/node_modules/dbffile/dist/dbf-file.js:264:72)
    at readRecordsFromDBF (/home/kurtis/Documents/anthology-converter/node_modules/dbffile/dist/dbf-file.js:345:35)
    at async Object.module.exports.convert (/home/kurtis/Documents/anthology-converter/src/converters/custconverter.js:31:17) {
  code: 'ERR_BUFFER_OUT_OF_BOUNDS'
}

Unfortunately I can't attach the files in question as they contain confidential/private data. However, I can share some metadata about the file:

Version: 48
# records: 23k
The file contains the Y (money) column type, which is currently unsupported

Thanks in advance for the help.

Hi, is this a VFP or a DBase file? If is the former, I've seen files
damaged with weird weird endings that fails only while accessing a portion
of it.
Just to confirm that this is not the case, could you write a script in VFP
or DBase that iterates over each record and prints de information to the
screen or to a text file?
On Thu, Mar 10, 2022, 21:03 Kurtis @.***> wrote:

I'm using this library to convert some old DBF data, and I'm running into
an issue where readRecords(n) will throw RangeErrors. Currently I've just
wrapped readRecords in a try/catch and only read one record at a time,
which works, but naturally some data is lost.
Full stack trace:
RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
at boundsError (internal/buffer.js:80:11)
at Buffer.readInt32LE (internal/buffer.js:386:5)
at int32At (/home/kurtis/Documents/anthology-converter/node_modules/dbffile/dist/dbf-file.js:264:72)
at readRecordsFromDBF (/home/kurtis/Documents/anthology-converter/node_modules/dbffile/dist/dbf-file.js:345:35)
at async Object.module.exports.convert (/home/kurtis/Documents/anthology-converter/src/converters/custconverter.js:31:17) {
code: 'ERR_BUFFER_OUT_OF_BOUNDS'}
Unfortunately I can't attach the files in question as they contain
confidential/private data. However, I can share some metadata about the
file:

Version: 48

records: 23k

The file contains the Y (money) column type, which is currently
unsupported

Thanks in advance for the help.
—
Reply to this email directly, view it on GitHub
https://github.com/yortus/DBFFile/issues/65, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD57M2QJ5BJRXVQJ5HPQVNTU7JISRANCNFSM5QNVEFYA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Unfortunately I don't have the tooling (or knowledge) to really do that. All I'm working with is your JS library and a DBF viewer extension in VS code.
From inspecting the file header, I can tell that it's a VFP file, so the weird endings may be the issue - Is there a workaround or known fix for that? If not, I have no issue seeing if I can fix it myself, I just don't really know what the problem is.

Is not my library 😅 I'm just another user that happens to use it from time
to time.
Do you know if always fails the same records?
Maybe another way could be to clone the repository and make a unit test
using your file as a fixture, this way you could set some breakpoints to
see if the problem comes from a bad record or from an unsupported field.
On Thu, Mar 10, 2022, 21:43 Kurtis @.***> wrote:

Unfortunately I don't have the tooling (or knowledge) to really do that.
All I'm working with is your JS library and a DBF viewer extension in VS
code.
From inspecting the file header, I can tell that it's a VFP file, so the
weird endings may be the issue - Is there a workaround or known fix for
that? If not, I have no issue seeing if I can fix it myself, I just don't
really know what the problem is.
—
Reply to this email directly, view it on GitHub
https://github.com/yortus/DBFFile/issues/65#issuecomment-1064485791, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD57M2XOCK2W4VJBP6JEE2LU7JNHVANCNFSM5QNVEFYA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Ah, yeah, that's a good idea. I'll definitely give that a try! Thanks for the help.

I also had that problem.
I found that parsing the memo field is not correct, in case the dbf file is of type vfp9 (0x30).
I solved the problem as follows:
diff --git a/src/dbf-file.ts b/src/dbf-file.ts
index 5eed28d..b9ddae2 100644
--- a/src/dbf-file.ts
+++ b/src/dbf-file.ts
@@ -376,12 +376,14 @@ async function readRecordsFromDBF(dbf: DBFFile, maxCount: number) {
                             break;

                         case 'M': // Memo
-                            while (len > 0 && buffer[offset] === 0x20) ++offset, --len;
-                            if (len === 0) { value = null; break; }
                             let blockIndex = dbf._version === 0x30
                                 ? int32At(offset, len)
                                 : parseInt(substrAt(offset, len, encoding));
                             offset += len;
+                            if(isNaN(blockIndex) || blockIndex===0){
+                                value = null;
+                                break;
+                            }

                             // If the memo file is missing and we get this far, we must be in 'loose' read mode.
                             // Skip reading the memo value and continue with the next field.

Explanation:
The memo field in the dbf file represents the blockIndex in the memo file (* .dbt, * .fpt ...)
BlockIndex in a dbf file (0x30) is always 4 bytes long, encoded as a 32-bit integer, and the field length and offset must not be changed.
If the memo field has no content, then blockIndex = 0
In other cases (<> 0x30), blockIndex is a 10 byte ASCII encoded decimal number, which is right-aligned and left-filled with spaces. The parseInt () function ignores the gaps on the left, so it is unnecessary to move the offset. If the memo field has no content, then the blockIndex is filled only with spaces, and the parseInt () function will return NaN

A PR would be welcome!

Reopening this to possibly notify smarter people than me who helped here last time, as I came into the same error as described in #87 . From what I read here,  the problem i encounter might be a superset of this error, and will require fix in similar fashion, which I am working on now. Has anybody experienced RangeErrors like me even after this?


Enum sizes

Calculate enum sizes, accounting for packed attributes and overflow

Thanks for this! This might still need some tweaking to match clang, on my machine clang says the enum in enum overflow.c has type long long instead of unsigned long and clang generally seems to prefer long long over long even if they're the same size.
Also sorry for hijacking your branch at the end. I assumed you were done with this thought to add the two missing parts so that this PR would get enums to a (mostly) complete state but they turned out to be more complex than I assumed.

Sounds good! I can take a look at the overflowed enums


I don't know whether its only me facing this issue but supabase.auth is showing errors it is well imported and the dependance is add, but auth requires me to create a greater variable i don't understand this, its my first time to use supabase and am looking  to start working with it.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version (please complete the following information):
On Linux/macOS
Please run dart pub deps | grep -E "supabase|gotrue|postgrest|storage_client|realtime_client|functions_client" in your project directory and paste the output here.
On Windows
Please run dart pub deps | findstr "supabase gotrue postgrest storage_client realtime_client functions_client" in your project directory and paste the output here.
Additional context
Add any other context about the problem here.

Please use the issue body for the issue description and find a concise description for the title. Please show what exact error you are facing with code example, etc.

I'm going to close this issue for now. If you are still facing the same issue, please follow the issue template the provide the necessary information.


Animate the frame to move when a tab is selected

Kind (Required)

Improvement

Overview (Required)

Perhaps this is very difficult, but can you animate this corner cut frame to move?

Links

:raising_hand_man:
I don't know if it can be done, but I will try it with reference to JetSnack.

🆒
Please try it 🙏 If it's difficult, you can always give up.


Crash: Assertion failed: (vec.back() == currentBlock)

MWE:
using Bijectors
using Enzyme
using Random, LinearAlgebra

Enzyme.API.runtimeActivity!(true)

_topd(x) = x * x' + I
d = 4
b = Bijectors.PDVecBijector()
z = randn(d, d)
x = _topd(z)
f(x) = sum(transform(b, _topd(reshape(x, d, d))))
Enzyme.gradient(Enzyme.Reverse, f, vec(z))

Output:
Assertion failed: (vec.back() == currentBlock), function addReverseBlock, file /workspace/srcdir/Enzyme/enzyme/Enzyme/GradientUtils.cpp, line 8952.

[75577] signal (6): Abort trap: 6
in expression starting at /Users/mhauru/projects/Enzyme-mwes/current_block_assertion_fail_crash/mwe.jl:15
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 57218916 (Pool: 57141228; Big: 77688); GC: 76
Abort trap: 6

Version info:
(current_block_assertion_fai...) pkg> status Bijectors
Status `~/projects/Enzyme-mwes/current_block_assertion_fail_crash/Project.toml`
  [76274a88] Bijectors v0.13.14

(current_block_assertion_fai...) pkg> status Enzyme
Status `~/projects/Enzyme-mwes/current_block_assertion_fail_crash/Project.toml`
  [7da242da] Enzyme v0.12.19

julia> versioninfo()
Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 10 × Apple M1 Pro
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)

Can you paste the whole error log and ideally a MWE without additional package dependencies?
IIRC it looked likt the issue was coming from an syrk call

Fixed by pending jll bump here: https://github.com/JuliaPackaging/Yggdrasil/pull/8973


Compile fail tests fail in 1.75 due to new error messages

Bevy version
fcd7c0f (latest commit on main)
[Optional] Relevant system information
$ rustc --version
rustc 1.75.0 (82e1608df 2023-12-21)

What you did
Checked out the Bevy repository and ran the compile-fail CI tests.
$ cargo run -p ci -- compile-fail

What went wrong

Click to view error message
$ cargo run -p ci -- compile-fail

[SNIP]

test tests/deref_mut_derive/missing_deref.fail.rs [should fail to compile] ... mismatch

EXPECTED:
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error[E0277]: the trait bound `TupleStruct: Deref` is not satisfied
 --> tests/deref_mut_derive/missing_deref.fail.rs:4:8
  |
4 | struct TupleStruct(usize, #[deref] String);
  |        ^^^^^^^^^^^ the trait `Deref` is not implemented for `TupleStruct`
  |
note: required by a bound in `DerefMut`
 --> $RUST/core/src/ops/deref.rs

error[E0277]: the trait bound `Struct: Deref` is not satisfied
 --> tests/deref_mut_derive/missing_deref.fail.rs:7:8
  |
7 | struct Struct {
  |        ^^^^^^ the trait `Deref` is not implemented for `Struct`
  |
note: required by a bound in `DerefMut`
 --> $RUST/core/src/ops/deref.rs

error[E0277]: the trait bound `TupleStruct: Deref` is not satisfied
 --> tests/deref_mut_derive/missing_deref.fail.rs:3:10
  |
3 | #[derive(DerefMut)]
  |          ^^^^^^^^ the trait `Deref` is not implemented for `TupleStruct`
  |
  = note: this error originates in the derive macro `DerefMut` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `Struct: Deref` is not satisfied
 --> tests/deref_mut_derive/missing_deref.fail.rs:6:10
  |
6 | #[derive(DerefMut)]
  |          ^^^^^^^^ the trait `Deref` is not implemented for `Struct`
  |
  = note: this error originates in the derive macro `DerefMut` (in Nightly builds, run with -Z macro-backtrace for more info)
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈

ACTUAL OUTPUT:
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error[E0277]: the trait bound `TupleStruct: Deref` is not satisfied
 --> tests/deref_mut_derive/missing_deref.fail.rs:4:8
  |
4 | struct TupleStruct(usize, #[deref] String);
  |        ^^^^^^^^^^^ the trait `Deref` is not implemented for `TupleStruct`
  |
note: required by a bound in `DerefMut`
 --> $RUST/core/src/ops/deref.rs
  |
  | pub trait DerefMut: Deref {
  |                     ^^^^^ required by this bound in `DerefMut`

error[E0277]: the trait bound `Struct: Deref` is not satisfied
 --> tests/deref_mut_derive/missing_deref.fail.rs:7:8
  |
7 | struct Struct {
  |        ^^^^^^ the trait `Deref` is not implemented for `Struct`
  |
note: required by a bound in `DerefMut`
 --> $RUST/core/src/ops/deref.rs
  |
  | pub trait DerefMut: Deref {
  |                     ^^^^^ required by this bound in `DerefMut`

error[E0277]: the trait bound `TupleStruct: Deref` is not satisfied
 --> tests/deref_mut_derive/missing_deref.fail.rs:3:10
  |
3 | #[derive(DerefMut)]
  |          ^^^^^^^^ the trait `Deref` is not implemented for `TupleStruct`
  |
  = note: this error originates in the derive macro `DerefMut` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `Struct: Deref` is not satisfied
 --> tests/deref_mut_derive/missing_deref.fail.rs:6:10
  |
6 | #[derive(DerefMut)]
  |          ^^^^^^^^ the trait `Deref` is not implemented for `Struct`
  |
  = note: this error originates in the derive macro `DerefMut` (in Nightly builds, run with -Z macro-backtrace for more info)
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
note: If the actual output is the correct output you can bless it by rerunning
      your test with the environment variable TRYBUILD=overwrite

Additional information
This test does not fail on Rust 1.74.1, only 1.75. The MSRV is 1.74, so this may cause a split.
https://github.com/bevyengine/bevy/blob/b6e154fc6478b11667f9c9877d1ed0c57a563f51/Cargo.toml#L14
This can be fixed with TRYBUILD=overwrite environmental variable, but it may break people who are running 1.74. Additionally I'm unsure why this isn't caught by Github Actions. Any thoughts?

This is the diff I get when using TRYBUILD=overwrite:
diff --git a/crates/bevy_macros_compile_fail_tests/tests/deref_mut_derive/missing_deref.fail.stderr b/crates/bevy_macros_compile_fail_tests/tests/deref_mut_derive/missing_deref.fail.stderr
index 3e11d4953..d4cfc71d7 100644
--- a/crates/bevy_macros_compile_fail_tests/tests/deref_mut_derive/missing_deref.fail.stderr
+++ b/crates/bevy_macros_compile_fail_tests/tests/deref_mut_derive/missing_deref.fail.stderr
@@ -6,6 +6,9 @@ error[E0277]: the trait bound `TupleStruct: Deref` is not satisfied
   |
 note: required by a bound in `DerefMut`
  --> $RUST/core/src/ops/deref.rs
+  |
+  | pub trait DerefMut: Deref {
+  |                     ^^^^^ required by this bound in `DerefMut`

 error[E0277]: the trait bound `Struct: Deref` is not satisfied
  --> tests/deref_mut_derive/missing_deref.fail.rs:7:8
@@ -15,6 +18,9 @@ error[E0277]: the trait bound `Struct: Deref` is not satisfied
   |
 note: required by a bound in `DerefMut`
  --> $RUST/core/src/ops/deref.rs
+  |
+  | pub trait DerefMut: Deref {
+  |                     ^^^^^ required by this bound in `DerefMut`

 error[E0277]: the trait bound `TupleStruct: Deref` is not satisfied
  --> tests/deref_mut_derive/missing_deref.fail.rs:3:10

duplicate of https://github.com/bevyengine/bevy/issues/8962
This test doesn't have the same result depending on the OS you run it on

Yikes, that's rough. I'll add a note to the original issue and close this as duplicate.