Geolocation not working in workManager when app run in the background

🐛 Bug Report

source code:

When the app runs in the foreground works fine (may return location).
But when the app runs in the background (both simulation and real device) the location is not returned, see the following output: enter image description here

please show me how to fix this problem. any help is appreciated!
Expected behavior
Reproduction steps
Configuration
**Version:
workmanager: ^0.5.0
geolocator: ^8.2.0
Platform:

[Note 8 ] :robot: Android

Hi @anhTuan0712,
When trying to call getCurrentPosition() from the background make sure to register the platform implementations. Something like this on Flutter 2.11+:
void callbackDispatcher() {
  Workmanager().executeTask(task, inputData) async {
    DartPluginRegistrant.ensureInitialized();

    // TODO: Put the rest off the code here...
  }
}

or if you are on older Flutter version use:
void callbackDispatcher() {
  Workmanager().executeTask(task, inputData) async {
    if (defaultTargetPlatform == TargetPlatform.android) {
      GeolocatorAndroid.registerWith();
    } else if (defaultTargetPlatform == TargetPlatform.iOS) {
      GeolocatorApple.registerWith();
    }

    // TODO: Put the rest off the code here...
  }
}

A more detailed explanation can be found in this comment.
Pro tip: when reporting an issue please include the code and error messages as plain text instead of a screenshot. This will make it a lot easier for us to help out. The screenshots are often difficult to read and we need to rewrite code if we want to test code samples instead of being able to simply copy/ paste code.

Hi @mvanbeusekom, thanks for your answer.
I am still facing this problem
**This is my latest source code **
void callbackDispatcher() {
Workmanager().executeTask((task, inputData) async {
switch (task) {
case simplePeriodicTask:
counter++;
final myName = inputData!['myName']!;
final pathFile = inputData['pathFile']!;
DartPluginRegistrant.ensureInitialized();
await Geolocator.getCurrentPosition(forceAndroidLocationManager: false, desiredAccuracy: LocationAccuracy.bestForNavigation, timeLimit: const Duration(seconds: 20))
.then((Position position) async {
locationCurrent.latitude = position.latitude;
locationCurrent.logitude = position.longitude;
debugPrint(ResString.getData("tag") + "updateLocationInBackground1 => my location current   -  CURRENT POS -  [${locationCurrent.latitude},${locationCurrent.logitude}]");
await hiveSql.getIntance()!.init(path: pathFile);
double latitude = 0.0;
double longitude = 0.0;
try {
latitude = hiveSql.getIntance()!.getLocationLatitude();
longitude = hiveSql.getIntance()!.getLocationLongitude();
} catch (e) {
debugPrint(ResString.getData("tag") + "updateLocationInBackground exception: get data -  $e");
}
      debugPrint(ResString.getData("tag") + "updateLocationInBackground1 => my location Old   -  CURRENT POS -  [$latitude,$longitude]");
      if ((latitude - locationCurrent.latitude).abs() > 0.0004 || (longitude - locationCurrent.logitude).abs() > 0.0004)
      {
        try {
          debugPrint(ResString.getData("tag") + "updateLocationInBackground_currentPosition.latitude: ${locationCurrent.latitude}");
          debugPrint(ResString.getData("tag") + "updateLocationInBackground_currentPosition.longitude: ${locationCurrent.logitude}");
          locationOld = locationCurrent;
          hiveSql.getIntance()!.setLocation(locationCurrent.latitude, locationCurrent.logitude);
          await Firebase.initializeApp(); //remove
          FireBaseData.getInstance()!.setLocation(position.latitude, position.longitude, myName: myName);
        } catch (ee) {
          return Future.error("Try catch (Firebase)-> $ee");
        }
      } else {
        return Future.error("location complete but data is still stale");
      }
    }).catchError((e) async {
      debugPrint(ResString.getData("tag") + "updateLocationInBackground exception: -  $e");
      return Future.error("Try catch (Geolocation)-> $e");
    });

    debugPrint(ResString.getData("tag") + "simplePeriodicTask was executed -- endl ");
    break;

  case Workmanager.iOSBackgroundTask:
    debugPrint(ResString.getData("tag") + "You can access other plugins in the background, for example Directory.getTemporaryDirectory():");
    break;
}

return Future.value(true);

});
}
When I test with a virtual machine (Android 10)
Received Exception error: TimeoutException after 0:00:20.000000: Future not completed

Permissions I gave to Android

But when I run on real device [Galaxy Note 8]
There are still some times when it executes successfully (no TimeoutException errors)

Hi @anhTuan0712,
Do I understand correctly that this error mainly occurs on the emulator? This might be very possible as the emulator is known for its problems simulating location updates.
When testing with location services you should always rely on a real phone.

Hi @mvanbeusekom
No, it happens on my real device as well.
Real devices I tried and got this error:

Samsung Galaxy Note 8 - Android 9
Oppo F1 S - Android 5.1
Samsung galaxy A31 - Android 10
Particularly for Samsung Galaxy Note 8 - the error only occurs randomly (70% of error occurs)

I give you more information

Hi @mvanbeusekom,
are you still there?
Was the information I provided useful to you?

Yes I am still here, but my time is limited.
I am not sure what is causing this problem. It is possible that it just takes too long to acquire the position and that is causing the timeouts. Another possibility might be that Android is limiting access to the location services when your app is in the background.
Did you request the locationAlways permissions?
It would be very helpful if you can make a small example application that reproduces the problem. That way I can also have a look and see if I experience similar problems.

still same issue
workmanager: ^0.5.0
geolocator: ^9.0.2

@mvanbeusekom
Tried your suggestions with DartPluginRegistrant.ensureInitialized() in Android , but im not getting any location when workmanager gets started , i have posted the verbose below , please check it. could you please help on this issue.
geolocator: ^9.0.2
workmanager: ^0.5.1
main.dart
import 'package:flutter/material.dart';
import './utils/fetch_location_callback.dart';
void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Workmanager().initialize(callbackDispatcher, isInDebugMode: true);

  runApp(child: MyApp());
}
class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {

  @override
  void initState() {
    super.initState();
}

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),

      home: const HomePage(),
     );
  }
}

fetch_location_callback.dart
@pragma('vm:entry-point')
void callbackDispatcher() {
  WidgetsFlutterBinding.ensureInitialized();
  Workmanager().executeTask((task, inputData) async {
     print('Date Time :$task : ${DateTime.now()} ');
     DartPluginRegistrant.ensureInitialized();
     getLocation();
      return Future.value(true);
  });
}

void getLocation() async {

  print('getLocation');
  Position? position;
  await Geolocator.getCurrentPosition(desiredAccuracy: LocationAccuracy.high)
      .then((value) {
    position = value;
    String latitude = position!.latitude.toString();
    String longitude = position!.longitude.toString();

    print('Latitude $latitude  Longitude $longitude');

  });

}

Please find the verbose below
Launching lib/main.dart on M2101K6P in debug mode...
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
D/FlutterGeolocator(16934): Attaching Geolocator to activity
D/FlutterGeolocator(16934): Creating service.
D/FlutterGeolocator(16934): Binding to location service.
D/FlutterGeolocator(16934): Geolocator foreground service connected
D/FlutterGeolocator(16934): Initializing Geolocator services
D/FlutterGeolocator(16934): Flutter engine connected. Connected engine count 1
Connecting to VM Service at ws://<IP_ADDRESS>:50519/L_pvUUb9-G4=/ws
D/DecorView: onWindowFocusChanged hasWindowFocus false
D/AppScoutStateMachine(16934): 16934-ScoutStateMachinecreated
I/OpenGLRenderer(16934): Davey! duration=27318ms; Flags=1, FrameTimelineVsyncId=19515238, IntendedVsync=1267242679508903, Vsync=1267242679508903, InputEventId=0, HandleInputStart=1267242680412198, AnimationStart=1267242680415427, PerformTraversalsStart=1267242680416625, DrawStart=1267242680932771, FrameDeadline=1267242712842235, FrameInterval=1267242680392719, FrameStartTime=16666666, SyncQueued=1267242681907458, SyncStart=1267242682027146, IssueDrawCommandsStart=1267242682797510, SwapBuffers=1267242703385635, FrameCompleted=1267269998281719, DequeueBufferDuration=3139791, QueueBufferDuration=1240468, GpuCompleted=1267269998281719, SwapBuffersCompleted=1267242705080792, DisplayPresentTime=0,
D/DecorView: onWindowFocusChanged hasWindowFocus true
D/DecorView: onWindowFocusChanged hasWindowFocus false
D/DecorView: onWindowFocusChanged hasWindowFocus true
I/flutter (16934): Date Time :fetchingLocation : 2022-12-13 10:37:20.410298
I/flutter (16934): getLocation
D/FlutterGeolocator(16934): Flutter engine disconnected. Connected engine count 1
D/FlutterGeolocator(16934): Disposing Geolocator services
E/FlutterGeolocator(16934): Geolocator position updates stopped
E/FlutterGeolocator(16934): There is still another flutter engine connected, not stopping location service
I/WM-WorkerWrapper(16934): Worker result SUCCESS for Work [ id=96edd7dd-0643-43b8-a455-604a7c787a8d, tags={ be.tramckrijte.workmanager.BackgroundWorker } ]
W/FlutterJNI(16934): Tried to send a platform message response, but FlutterJNI was detached from native C++. Could not send. Response ID: 3
E/BLASTBufferQueue(16934): ViewRootImpl[MainActivity]#2 Applying pending transactions on dtor 1
D/DecorView: onWindowFocusChanged hasWindowFocus false

The Workmanager documentation references the following to be added in the AppDelegate:
```

WorkmanagerPlugin.setPluginRegistrantCallback { registry in
// Registry in this case is the FlutterEngine that is created in Workmanager's
// performFetchWithCompletionHandler or BGAppRefreshTask.
// This will make other plugins available during a background operation.
GeneratedPluginRegistrant.register(with: registry)
}
I guess this allows other plugins available during a background operation. Not sure if this means you no longer need to do the following: ```DartPluginRegistrant.ensureInitialized();```

Please has anyone been able to resolve this issue ?

D/DeviceInfoPlugin(21930): Use TaskQueues.
D/FlutterGeolocator(21930): Geolocator foreground service connected
D/FlutterGeolocator(21930): Initializing Geolocator services
D/FlutterGeolocator(21930): Flutter engine connected. Connected engine count 2
W/FlutterJNI(21930): FlutterJNI.loadLibrary called more than once
W/FlutterJNI(21930): FlutterJNI.prefetchDefaultFontManager called more than once
I/ResourceExtractor(21930): Found extracted resources res_timestamp-22-1695666334496
W/FlutterJNI(21930): FlutterJNI.init called more than once
I/flutter (21930): task: backgroundUploadTask
I/flutter (21930): inputData: {backgroundTask: one off}
I/flutter (21930): Scheduled task executed!
D/FileSaver(21930): Detached From Engine
D/FlutterGeolocator(21930): Flutter engine disconnected. Connected engine count 1
I/WM-WorkerWrapper(21930): Worker result SUCCESS for Work [ id=1bde30c5-d04c-4439-9f8f-992acc70d7ea, tags={ be.tramckrijte.workmanager.BackgroundWorker } ]
D/FlutterGeolocator(21930): Disposing Geolocator services
E/FlutterGeolocator(21930): Geolocator position updates stopped
E/FlutterGeolocator(21930): There is still another flutter engine connected, not stopping location service

is this issue resolved?if it is please give the full code

Faced the same problem. To solve it, you need to make sure that the application always has access to the location, not only when it is running.

so have you fixed this issue? @Domestositos

Same issue persist
workmanager: ^0.5.2
geolocator: ^10.1.0
No errors, it just disposes geolocator
Anyone has a solution for this?

For anyone looking for this @mvanbeusekom was right. I got it working on android with the following setup:
  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

geolocator: ^12.0.0
workmanager: ^0.5.2
@pragma('vm:entry-point')
void callbackDispatcher() {
  Workmanager().executeTask(task, inputData) async {
    DartPluginRegistrant.ensureInitialized();

    // TODO: Put the rest off the code here...
  }
}

Most important of all: Set location permission to ALWAYS.
I have only tested on Android (15). I am not sure about iOS.


[QUESTION]Couchbase python SDK 2.5.8 without lockmode?

https://fastapi.tiangolo.com/tutorial/nosql-databases/
from couchbase import LOCKMODE_WAIT

I'm not sure what is the question.
Could you clarify it?


OSS 2.0 should be using Go 1.15 to match Cloud

What
Cloud is preparing the final steps to be running Go 1.15 across all production clusters. OSS 2.0 has been updated recently to build and run with the latest Go versions, however, the following are a list of known changes still to be done:

[ ] Temporarily switch to Arrow fork until PR https://github.com/apache/arrow/pull/8112 is merged

@psteinbachs, @gshif, @mark-rushakoff, @russorat this issue is to track upgrading OSS 2.0 to Go 1.15

Closed via #19624


Update README.md

Updated README.md to include my name at the bottom.

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


This expression is not callable for ESM consuming CJS with default export

Bug Report
The package react-use-websocket is written in TypeScript and transpiled by TypeScript.
It transpiles to CJS and exposes a default export.
When consume by a ESM project, TS errors out: This expression is not callable.
🔎 Search Terms
ESM CJS default export
🕗 Version & Regression Information
4.9.3 (likely from 4.7.0)
5.0.0-dev.20230103 also fails

This is the behavior in every version I tried, and I reviewed the FAQ for entries about ESM CJS

⏯ Playground Link
Repro link: https://github.com/cyberuni/ts-esm-on-cjs-with-default-export
💻 Code
import useWebSocket from 'react-use-websocket'
// or import { default as useWebSocket } from 'react-use-websocket'
// or import * as ws from 'react-use-websocket'; ws.default(...)

useWebSocket('abc') // <-- This expression is not callable

tsconfig.json:
{
  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "module": "Node16", // doesn't matter
    "moduleResolution": "Node16",
    "outDir": "dist",
    "strict": true,
    "target": "ES2019"
  },
  "include": [
    "ts",
    "types"
  ]
}

🙁 Actual behavior
This expression is not callable
🙂 Expected behavior
work

Kind of related issues:
https://github.com/microsoft/TypeScript/issues/50466
https://github.com/Azure/azure-sdk-for-js/pull/22804#discussion_r939458849
But not directly related because TS transpiles CJS with type definition mismatch in the first place,
expecting the CJS code to be consumed with esModuleInterop but that has no effect in ESM package when moduleResolution is Node16 or NodeNext

I have the same problem and stumbled upon the following workaround from a question about the same exact problem on stackoverflow.
import bar from 'foo'

export const foo = bar as unknown as typeof bar.default;

It works, but it is far from convenient if you have to do this in several files for multiple packages over a large codebase.

The intended behavior of the Node16 module resolution mode is to follow Node's module resolution logic, and in this case, TypeScript correctly does. This is a correct error. react-use-websocket's type definition, and the runtime definition of its module, do not provide a function at the requested place.
If you load react-use-websocket from a CommonJS module, you can see its public shape (running this code in a .js file from a non-type: "module" repo):
// test.js
console.log(Object.keys(require("react-use-websocket")));

> node test.js
[
  'default',
  'useSocketIO',
  'ReadyState',
  'useEventSource',
  'resetGlobalState'
]

Its .default property is the function, as "expected".
If you load react-use-websocket from an ES module, you can see its public shape as well:
// test.mjs
import * as ws from "react-use-websocket";
console.log(Object.keys(ws));
console.log(Object.keys(ws.default));
console.log(Object.keys(ws.default.default));

> node test.mjs
// Object.keys(ws)
[
  'ReadyState',
  '__esModule',
  'default',
  'resetGlobalState',
  'useEventSource',
  'useSocketIO'
]
// Object.keys(ws.default)
[
  'default',
  'useSocketIO',
  'ReadyState',
  'useEventSource',
  'resetGlobalState'
]
// Object.keys(ws.default.default)
[]

and the .default property isn't a function
import * as ws from "react-use-websocket";
// 'false'
console.log(ws.default instanceof Function);

The CJS<->ESM interop story, per Node and TypeScript (but not necessarily other bundlers, YMMV) is that a CJS module gets wrapped in the default export of the corresponding synthesized ESM entry point. Node and TypeScript agree here that the esModule flag doesn't do anything.
So node and TypeScript 100% agree on this count: If you import this module from an ESM context, the object you get back (from the * import) has a default property with a default property. That's the correct way to refer to that function.
Really, react-use-websocket shouldn't be providing an export named "default" in a CJS module, because it's never (in a cromulent module configuration) going to be consumable from a default import form.

Really, react-use-websocket shouldn't be providing an export named "default" in a CJS module, because it's never (in a cromulent module configuration) going to be consumable from a default import form.

The problem is, that is exactly what tsc generates when compiling a default export.
I have created https://github.com/cyberuni/typescript-module-resolutions-demo to demonstrate how tsc behaves.
IMO it is just wrong (or put in another way, some bugs through the workflow), that TypeScript cannot consume code generated by TypeScript.

IMO it is just wrong (or put in another way, some bugs through the workflow), that TypeScript cannot consume code generated by TypeScript.

It absolutely can consume it, just not with the syntax you're trying to use. The TypeScript project emitted a .d.ts file, which was consumed by another TypeScript project, with 100% fidelity with what the runtime allows for. Had TypeScript not issued an error here, you would have gotten a runtime error instead! It's hard to see how that is preferable.

The problem is, that is exactly what tsc generates when compiling a default export.

The project is authored with ESM-style export syntax but targets CJS. So you have a CJS output with export names that align with the ESM export names, which is presumably what you want to happen. I'm open to hearing proposals as to what should happen instead, if this is "wrong".
That CJS module then gets wrapped into an ESM module wrapper by Node, leading to the double-default problem. Your complaint here is effectively with that behavior, which we're not in control of.

There is a lot more than just the double-default problem. I agree that if that is now Node.js handles it, TypeScript should work the same.
The problem is with other cases. There are many situations that TypeScript typings say one way, but the runtime works differently.
Again you can refer to the repo to see which one fails.
I'm still in the process of summaries and expands the use cases, any suggestion are welcome.
The bottom line is, I think TypeScript needs to adjust on both how the typings are generated as well as how they are consumed.
e.g. in a Node.js dual package repository, i.e. type: module and compile to both Node16 and CommonJS (or even ES*), the typings generated should be adjusted accordingly,
and when consuming the typings, in moduleResolution: Node|Node16, they need to be handled differently. As you mentioned, Node.js wraps CJS module into ESM module wrapper in ESM package, while it works differently in CJS package.
There is no way for TypeScript to generate a single typing that work on both. So it has to detect the mode and handled differently.

There are many situations that TypeScript typings say one way, but the runtime works differently.

Sure, but this bug is about a situation where TypeScript is exactly mimicking the runtime.

Again you can refer to the repo to see which one fails.

Please log a specific bug about which line of emit or resolution is wrong.

The bottom line is, I think TypeScript needs to adjust on both how the typings are generated as well as how they are consume

Again, how? What? Be specific.

e.g. in a Node.js dual package repository, i.e. type: module and compile to both Node16 and CommonJS (or even ES*), the typings generated should be adjusted accordingly,

This is handled correctly, but the package linked in this repro is not a dual package. It doesn't have type: "module" and it doesn't have an export map. It's just CJS written in a way that is made to look like an ES module, but it isn't an ES module at all.
We've investigated several dozen "TypeScript is doing modules wrong" issues at this point and, at time of writing, all of them recently have been module misconfigurations rather than bugs in TypeScript. I'm going to be setting the bar higher on future bug reports so we can move on and do other work - if there's a claim that something in this space isn't working, it needs to be clearly demonstrated.

There is no way for TypeScript to generate a single typing that work on both.

Correct; our position is that you should pick one runtime target (CJS or ESM) and write CJS or ESM code. Consumers can use either through well-trod interop or bundling processes. Producing a single artifact for both CJS and ESM is really only possible when all of your dependencies adhere to a set of coincidences that are not widely correctly adopted and we don't think this is a good model for publishing packages in general.

Sure, but this bug is about a situation where TypeScript is exactly mimicking the runtime.
Yes, I actually agree. This bug corresponding to the node16 | cjs case in https://github.com/cyberuni/typescript-module-resolutions-demo/blob/main/tests/node16/test-result.4.9.4.md which are working as expected.

Please log a specific bug about which line of emit or resolution is wrong.
Will do as I'm going through the cases in https://github.com/cyberuni/typescript-module-resolutions-demo
It will take me some time to get to them. But basically the cases marked with ❌ are potentially a bug.
For example in:
https://github.com/cyberuni/typescript-module-resolutions-demo/blob/main/tests/node-es/test-result.4.9.4.md
https://github.com/cyberuni/typescript-module-resolutions-demo/blob/main/tests/node16/test-result.4.9.4.md

Correct; our position is that you should pick one runtime target

That is one of the main problems. There are cases that we want to support both CJS and ESM, especially in corporate environment. I'm sure you know how slow teams can move in those environments.
As a library author, we can't just dump CJS and produce ESM only packages, while we add features to the packages. At the same time, we need to expose ESM code so that we can leverage the benefits of it in newer projects.

Producing a single artifact for both CJS and ESM is really only possible when all of your dependencies adhere to a set of coincidences

That is not the case, as probably one of the reasons why there is some communication breakdowns.
Even without any "dependencies", what we are saying is that TypeScript as it stands simply unable to produce Dual module packages that works for both ESM and CJS consumers.

There are cases that we want to support both CJS and ESM [...] That is not the case

Again I think we broadly agree. There are definitely places where you want to ship both CJS and ESM. No contention there. It's also possible (though of course by no means trivial) to write a tool which can take a module written in one module system and, with proper configuration, produce a reasonably-similar module in the other system, subject to some constraints which can be met in most cases.
What I'm saying is, the tool that does this transformation is not TypeScript, or at least should not be. The CJS <-> ESM module problem is not one that TypeScript can uniquely solve, nor is it one that can only be solved in a TypeScript codebase, nor is it one that is currently unsolved. It's a problem on the same tier as minification, downleveling, linting, bundling, gzipping, tree-shaking, and so on: those which the JavaScript ecosystem broadly needs, has, and is in no want of an N+1th solution. We're trying to spend as much time as we can writing the world's best static type system for JavaScript and not writing the world's 43rd tool concerned with doing machine translation of JavaScript from one format to another.
That's what "pick one runtime target" means -- not that you can't or shouldn't dual-ship CJS/ESM, but rather than you should go TS (A) -> JS (A) -> JS(A+ B) where A is either CJS or ESM, B is the other one, and the tool doing the second arrow is some tool that isn't TypeScript. If there are things preventing that, those are the things that we want to hear about, not that half-baked mostly-non-working solutions derived from trying to make ill-advised TS (A) -> JS (B) transforms work when really, allowing that transformation in the first place was a really bad idea that we shouldn't have implemented in the first place.

Thanks for the detailed reply (as always). From what you said. My understanding is this:

I created a library originally distributed as CJS.
Now I want to convert the package to distribute both CJS and ESM.
I add tsconfig.esm.json, with module: Node16, moduleResolution: Node16, and type: module.
Now, instead of refactor the existing tsconfig.json to tsconfig.cjs.json, I need to use "another tool" (that does not yet exist, AFAIK) to convert the ESM output from tsc (both the JS file and .d.ts files), and produce a CJS variant.

Why I say that is because while you mentioned A is either CJS or ESM, it's basically ESM because you can't convert TS -> CJS -> ESM.
And the problem is with the current system, There is no satisfactory config + code that allow us to write code in TS that can compile to both CJS or ESM. Mainly because for ESM we should not turn on esModuleInterop and allowSyntheticDefaultImports, while:

CJS doesn't work correctly without esModuleInterop, and
using esModuleInterop actually requites the code to be different

That's why we are stuck there.
The repo have not demonstrate those cases yet.
Will need to add those so that proper bugs can be filed.

TypeScript has at best the same, and possibly worse, information than any other tool could have about whatever speculative transform ESM->CJS (just for the sake of argument) might exist. The typings as they exist today do not carry sufficient information on their own to inform how to correctly do this transform.
Today in TS you can write
declare module "foo" { export const a = 3 }

import * as x from "foo";

and this all will just happily work. We have no idea whether "foo" actually resolves to an ESM module or a CJS-to-ESM interop'd module, so have no idea whether the CJS equivalent of this program needs to account for the non-interopedness of the CJS equivalent of the "foo" module (assuming there even is one).
Similarly you could write
declare module "foo/bar.js" { export const a = 3 }

and TypeScript has no idea if that means we're going to be directly loading the bar.js file out of the foo CJS module, as it well might be, or if there's a foo ESM module with an export map for bar.js, which it well might be.
This is why we're so insistent on not messing with import paths (and to a lesser degree really regret providing a means to convert ESM to CJS syntax during downleveling without throwing up red flags everywhere) -- the typings that most projects have do not provide enough information to correctly guess the right output syntax, and even if they could, I think the lived experience of the Node16 transition shows that most package authors couldn't write the correct metadata even if it was mechanically possible to do so.
Either one of two things has to be true:

The ESM -> CJS transform is so trivial that anyone could write it, maybe with a sufficiently advanced regex
The ESM -> CJS transform is so complex that it's its own build tool space in which people might find different solutions, each with different configurations and trade-offs

Honestly most people here mistakenly think that the first one is true (i.e. you can just slap .js extensions on stuff and it'll all just work out 😜). I suspect you realize the second one is actually true, so the discussion here is just really about whether TS takes on new responsibilities it's never had before just to provide tooling that would actually only be relying on information that would be equally relevant and necessary in JS scenarios.
So again none of this is to say that we don't want to fix bona fide bugs in this space, just that the lack of some cross-targeting functionality is an intentional line in the sand we're drawing. We haven't rewritten esbuild/webpack/parser/terser/rollup/etc and are in fact removing product options which mimic those tools, and in fact are thinking about how we might exit the downleveling space as well.  I think that's the right call for all of these spaces, both from our resource manage perspective, and for how TS should slot into the broader ecosystem.

Um.... I can see your points. For you, you have to think about all the possible cases where user "adding" type information through declare module within TS files, or separate typings files along with JS (using allowJs) etc.
It's definitely a very hard problem to solve.
My perspective is that writing only in TypeScript and using the TS file as the source of truth is probably the majority case. And that case, tsc probably has more information then other tools can access (please correct me if I'm wrong on this).
Yes, if you throw in additional typing files and/or dependencies with typings (AND differences between bundled typing files generated by tsc vs typing files from DT), it is a massive headache to deal with.
It is a very difficult task but at the same time we try to figure out some possible solutions to make it works somehow.
Maybe having a strict compile mode that only support a subset of well defined constructs, e.g. no declare module or export =.
I'll continue to investigate about it and probably make some posts or videos about this topic, as I think the right first steps is to have those not working use cases drawn out.

btw, I just realized one thing, to specify a different typings for CJS when using the exports map, it needs to be done like this:
{
  "exports": {
    "require": {
      "types": "./cjs/index.d.ts",
      "default": "./cjs/index.js"
    },
    "import": {
      "types": "./esm/index.d.ts",
      "default": "./esm/index.js"
    }
  }
}

Unless you keep the main and types|typings field at the top-level. i.e. a hybrid approach:
{
  "exports": {
    "types": "./esm/index.d.ts",
    "import": "./esm/index.js"
  },
  "main": "./cjs/index.js",
  "types": "./cjs/index.d.ts"
}

I'm very sorry, but I've followed through the thread and it looks similar to my issue but I'm still thinking TS behavior is incorrect.
I got pretty straightforward file with sole module.exports =, very simple export.
The accompanied type reflects this default export with export default function.
import emitter from '@streetstrider/emitter'
console.log(typeof emitter)
const e = emitter()

If I try to import this in ESM mode with bare Node I will get the value of the module.exports correctly as per interop mode mentioned in the docs.

When importing CommonJS modules, the module.exports object is provided as the default export.

However, under TS I got:

This expression is not callable

Despite both types and Node intended behavior points to normal function in that position.
If I bypass this typecheck error by workaround mentioned above, the code will work as expected (calling function and go on) without actual code changing. Thus it is a TS typecheck error. The underlying ESM code works normally in pure Node ESM and under ts-node.
This issue got similar repro in https://github.com/softonic/axios-retry/issues/228.

Is it possible for someone to double-check this issue and maybe my results?
@RyanCavanaugh shall I create new clean repro if I wanna to get some traction here?

@StreetStrider certainly you have a misconfiguration somewhere. Please log a bug under the "module resolution" template to provide the necessary info.

https://arethetypeswrong.github.io/?p=%40streetstrider%2Femitter%401.2.1

@RyanCavanaugh thanks for the help. As it turns out, I had a misconception, thinking that export = is an old way of saying export default. So I always sticked to the export default because it mirrors es modules and also works properly in bundler scenario, thus making things much easier.
(It was the case until node16 esm, as arethetypeswrong states)


ERROR: An extractor error has occurred. (caused by KeyError('itemStruct'));

Checklist

[ ] I'm reporting a broken site support issue
[ ] I've verified that I'm running youtube-dl version 2021.03.14
[ ] I've checked that all provided URLs are alive and playable in a browser
[ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar bug reports including closed ones
[ ] I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE

[debug] System config: ['--no-mtime', '-f', 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', '-o', '~/Downloads/private/%(title)s.%(ext)s']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.tiktok.com/@lizamonavaldez/video/6934603407240088834', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.03.14
[debug] Python version 3.9.2 (CPython) - Linux-5.10.22-200.fc33.x86_64-x86_64-with-glibc2.32
[debug] exe versions: ffmpeg 4.3.2, ffprobe 4.3.2
[debug] Proxy map: {}
[TikTok] Setting up session
[TikTok]<PHONE_NUMBER>240088834: Downloading webpage
ERROR: An extractor error has occurred. (caused by KeyError('itemStruct')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/tiktok.py", line 110, in _real_extract
data = self._parse_json(self._search_regex(
KeyError: 'itemStruct'
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/tiktok.py", line 110, in _real_extract
data = self._parse_json(self._search_regex(
KeyError: 'itemStruct'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 827, in __extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 547, in extract
raise ExtractorError('An extractor error has occurred.', cause=e)
youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('itemStruct')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Description

WRITE DESCRIPTION HERE

Seems still broken for all


Update sh_gen_requirements.sh: requirements for both windows and linux

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (1f7013a) 95.19% compared to head (6a0d843) 95.19%.

:exclamation: Current head 6a0d843 differs from pull request most recent head f534647. Consider uploading reports for the commit f534647 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #668   +/-   ##
=======================================
  Coverage   95.19%   95.19%
=======================================
  Files         127      127
  Lines        4789     4789
=======================================
  Hits         4559     4559
  Misses        230      230

Flag
Coverage Δ

unittests
95.19% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Add billing docs

Description
Added billing docs to grid client
Related Issues

#3080

Documentation PR
For UI changes, Please provide the Documetation PR on info_grid
Checklist

[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings
[ ] Screenshots/Video attached (needed for UI changes)

Also, this should be in Playground docs not the Grid client.

I think this document should be linked to the dedicated nodes when a user reserves a node. Additionally, it should be connected to the node contracts page and the calculation information for each solution.

Per discussion with @AhmedHanafy725 this's not needed, as users can easily check the prices using the calculator


Trying to fix visiontest

Wanted to use the visiontest to see if I can run the models locally. However couldn't get it working.
Did notice that visiontest.mk seems incorrect since util.c doesn't exist. There was a name change from util.c to util.cc a year ago https://github.com/commaai/openpilot/pull/19710 and this file could have been forgotten.
This change doesn't fix it for me yet. I currently get: error: invalid argument '-std=gnu11' not allowed with 'C++' Any tips are welcome.

Mm it seems visiontest is not even used in CI. Is this an old file that is not used anymore?

Yes, visiontest is an old file. The model should be run with modeld on your PC.


Adding a feature in a bucket puts it at the end of the list

Hi all,
When you add an item to a bucket, the item you choose in the 'available items' lands at the end of the list on the right.
This is not a problem when you have maybe 5 featured items, but if you have more (think 30 for instance), then the item is at the end of the list, and if you want to put it at the front of the list, it's a bit cumbersome : you have to scroll to the bottom, drag it, scroll back top, drop it...
Could there be a setting to put it automatically in the front ?
If you point me to where such a change could be done, I can prepare a PR ;)
Thanks a lot
BR

Sounds like a UX enhancement, Twill current doesn't has such setting option to put a bucket item on top.
I would suggest to take a look at the corresponding vue components: Bucket.vue BucketItem.vue, and see if that's possible to make it true from there.


feat: update action runtime to NodeJS 16

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: pulumi/setup-pulumi

https://github.com/pulumi/actions/issues/752#issue-1404828671

found this comment explaining why no migration to Node16 until 7 December 2022

we'll keep this PR until we're closer and merge then

I'm absolutely fine with this @cobraz
Btw I know Github recommends to update major version of the action upon runtime update, i.e. current version is v2, so next version is v3.
So if people with GHE are using v2 and not just latest version from master branch, it should work even if released now?

If you want, we would love a similar PR for the actions repository as well!

sure, let me add there as well

Any chance to get this merged? I'm using Nx to have several Pulumi projects in a monorepo, and pulumi/actions doesn't work for this case, so using pulumi/setup-pulumi instead.

any news ?

any updates on this, when do you plan to merge it, seems no blocker here?

Hey folks, we just added support for install-only mode to pulumi/actions and are deprecating this action in favor of it.
Please switch your existing use of this action to pulumi/actions with a single line change:

BeforeAfter

- name: Install pulumi
  uses: pulumi/setup-pulumi@v2

- name: Install pulumi
  uses: pulumi/setup-pulumi@v2
  with:
    pulumi-version: 3.3.0

- name: Install pulumi
  uses: pulumi/actions@v4

- name: Install pulumi
  uses: pulumi/actions@v4
  with:
    pulumi-version: 3.3.0

Thanks for your patience!

thanks it's works, great job !!!

Closed as not required anymore. Explained in https://github.com/pulumi/setup-pulumi/pull/35#issuecomment-1462383317


Prevent drop node inside another node

I see key disableSorting to prevent drag & drop all node, so how can I prevent drop a node inside another specific node

I see key disableSorting to prevent drag & drop all node, so how can I prevent drop a node inside another specific node

To prevent dropping on specific nodes, I use a data attribute to tag nodes that are not allowed to be dropped on, and in the SortableTree() initialization I use the confirm method to check for that tag.
So if you are dealing (for example) with a file system where you would not be wanting to drop files onto other files but only on folders, it would be as such:
When preparing the node data:
data: { type: 'file' },
 confirm: (source, target) => {         return target.data.type != "file"; },

To prevent dropping on specific nodes, I use a data attribute to tag nodes that are not allowed to be dropped on, and in the SortableTree() initialization I use the confirm method to check for that tag.
So if you are dealing (for example) with a file system where you would not be wanting to drop files onto other files but only on folders, it would be as such:
When preparing the node data: data: { type: 'file' },
In the SortableTree() initializer: confirm: (source, target) => { return target.data.type != "file"; },

Oh thanks, that's all i need


Fixes getter methods created when plugins are initialized.

Because the following function definition is not wrapped in a closure
self[name] = function() { return plugin; };

plugin's scope is the TextExt.initPlugins function. Because of this,
on each iteration of the list of plugins to create the getter methods in
TextExt, the return value of all created methods will be the last
value of plugin and not the value of plugin from when the function
was defined for each.
Wrapping the function definition in a closure fixes this issue.
As an explicit example:
Previously, when instantiating a new textext(...) instance and
defining the plugins option as
plugins: 'autocomplete arrow'

All 3 of the following would return the TextExtArrow instance
$('...').textext()[0].ie9();
$('...').textext()[0].autocomplete();
$('...').textext()[0].arrow();

After they closure from this changeset is applied, they return their
expected plugin instances
 $('...').textext()[0].ie9();          // TextExtIE9Patches
 $('...').textext()[0].autocomplete(); // TextExtAutocomplete
 $('...').textext()[0].arrow();        // TextExtArrow

Thank you!


Using Collections#sort instead of List#sort

Codecov Report

Merging #95 into dev will not change coverage.
The diff coverage is 0%.

@@            Coverage Diff            @@
##                dev      #95   +/-   ##
=========================================
  Coverage     35.28%   35.28%
  Complexity      204      204
=========================================
  Files            39       39
  Lines          1278     1278
  Branches        123      123
=========================================
  Hits            451      451
  Misses          775      775
  Partials         52       52

Impacted Files
Coverage Δ
Complexity Δ

...exenio/bleindoorpositioning/IndoorPositioning.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Opening the Python Environments tab from Tools\Python\Python Environments causes VS2017 to crash & restart.

Every time I open the Python Environments tab it opens, changes my cursor to a wait cursor, and then crashes VS 2017. I've uninstalled/reinstalled Python 3.6, the Python workflow in VS 2017 Community Preview, and VS 2017 Preview entirely. Nothing fixes this issue.
PTVS_Diagnostics_utf8.txt

For convenience, I've copied the exception below.
Typically this would occur because of an odd or unsupported path format, though I don't see anything in the log that would be the cause of that.
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UriFormatException
   at System.Uri.CreateThis(System.String, Boolean, System.UriKind)
   at System.Uri..ctor(System.String, System.UriKind)
   at Microsoft.PythonTools.Infrastructure.PathUtils.MakeUri(System.String, Boolean, System.UriKind, System.String)

Exception Info: System.ArgumentException
   at Microsoft.PythonTools.Infrastructure.PathUtils.MakeUri(System.String, Boolean, System.UriKind, System.String)
   at Microsoft.PythonTools.Infrastructure.PathUtils.GetAbsoluteDirectoryPath(System.String, System.String)
   at Microsoft.PythonTools.Repl.PythonInteractiveEvaluator.GetScriptsPath(System.IServiceProvider, System.String, Microsoft.PythonTools.Interpreter.InterpreterConfiguration, Boolean)
   at Microsoft.PythonTools.InterpreterList.InterpreterListToolWindow.GetScriptPath(Microsoft.PythonTools.EnvironmentsList.EnvironmentView)
   at Microsoft.PythonTools.InterpreterList.InterpreterListToolWindow.OpenInteractiveScripts_CanExecute(System.Object, System.Windows.Input.CanExecuteRoutedEventArgs)
   at System.Windows.Input.CommandBinding.OnCanExecute(System.Object, System.Windows.Input.CanExecuteRoutedEventArgs)
   at System.Windows.Input.CommandManager.FindCommandBinding(System.Windows.Input.CommandBindingCollection, System.Object, System.Windows.RoutedEventArgs, System.Windows.Input.ICommand, Boolean)
   at System.Windows.Input.CommandManager.FindCommandBinding(System.Object, System.Windows.RoutedEventArgs, System.Windows.Input.ICommand, Boolean)
   at System.Windows.Input.CommandManager.OnCanExecute(System.Object, System.Windows.Input.CanExecuteRoutedEventArgs)
   at System.Windows.UIElement.OnCanExecuteThunk(System.Object, System.Windows.Input.CanExecuteRoutedEventArgs)
   at System.Windows.Input.CanExecuteRoutedEventArgs.InvokeEventHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
   at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.Input.RoutedCommand.CriticalCanExecuteWrapper(System.Object, System.Windows.IInputElement, Boolean, System.Windows.Input.CanExecuteRoutedEventArgs)
   at System.Windows.Input.RoutedCommand.CanExecuteImpl(System.Object, System.Windows.IInputElement, Boolean, Boolean ByRef)
   at System.Windows.Input.RoutedCommand.CriticalCanExecute(System.Object, System.Windows.IInputElement, Boolean, Boolean ByRef)
   at MS.Internal.Commands.CommandHelpers.CanExecuteCommandSource(System.Windows.Input.ICommandSource)
   at System.Windows.Controls.Primitives.ButtonBase.UpdateCanExecute()
   at System.Windows.Controls.Primitives.ButtonBase.OnCanExecuteChanged(System.Object, System.EventArgs)
   at System.Windows.Input.CanExecuteChangedEventManager+HandlerSink.OnCanExecuteChanged(System.Object, System.EventArgs)
   at System.Windows.WeakEventManager+ListenerList.DeliverEvent(Listener ByRef, System.Object, System.EventArgs, System.Type)
   at System.Windows.WeakEventManager+ListenerList.DeliverEvent(System.Object, System.EventArgs, System.Type)
   at System.Windows.WeakEventManager.DeliverEvent(System.Object, System.EventArgs)
   at System.Windows.Input.CommandManager+RequerySuggestedEventManager.OnRequerySuggested(System.Object, System.EventArgs)
   at System.Windows.Input.CommandManager.RaiseRequerySuggested(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

@JeffHanna I don't suppose you've done something unusual with your Documents folder? Like relocated it to another drive or a networked file share? I think the code that is failing here is starting from your Documents folder and trying to look for the "Visual Studio 2017" folder that gets created in there.
(FWIW, I think we're locating this directory incorrectly, but that doesn't explain the crash...)

@zooba that was it! On my Surface Pro 3 I had redirected Documents to a OneDrive folder I had on a MicroSD card. I didn't realize that card wasn't being recognized (it's flaky on SP3s). Redirecting Documents back to c:\users<user>\documents and resetting settings in Visual Studio did the trick. Thank you.

Do you know what the path to that looked like? The error we were getting makes it look like an invalid path - we weren't trying to access it, so even if it didn't exist it should still have worked.

@zooba The path was d:\OneDrive, with D: being an SD card that wasn't inserted.

Thanks. I can't see a reason for that to be throwing, but we've added handling for any error like this, so it shouldn't bring down all of VS any more.


DX: fix properties types

thanks @kubawerlos
incorporated into #4393 , we don't need one-liner DX as separated PR.


elixir-mode formats on save even when only using format in init.el

I only have format in my init.el, but Elixir code always gets auto-formatted on save. It works correctly with Javascript, so I assume that something is wrong with elixir-mode specifically.
doom doctor doesn't mention anything related to this.
SPC h e:
Formatted (mix-format)
Wrote /Users/work/.emacs.d/.local/cache/undo-tree-hist/.!Users!work!tmp!test.ex.~undo-tree~
Wrote /Users/work/tmp/test.ex
"test.ex" 3L, 24C written

init.el
;;; init.el -*- lexical-binding: t; -*-

;; Copy this file to ~/.doom.d/init.el or ~/.config/doom/init.el ('doom
;; quickstart' will do this for you). The `doom!' block below controls what
;; modules are enabled and in what order they will be loaded. Remember to run
;; 'doom refresh' after modifying it.
;;
;; More information about these modules (and what flags they support) can be
;; found in modules/README.org.

(doom! :completion
       company           ; the ultimate code completion backend
       ;;helm              ; the *other* search engine for love and life
       ;;ido               ; the other *other* search engine...
       ivy               ; a search engine for love and life

       :ui
       ;;deft              ; notational velocity for Emacs
       doom              ; what makes DOOM look the way it does
       doom-dashboard    ; a nifty splash screen for Emacs
       doom-quit         ; DOOM quit-message prompts when you quit Emacs
       ;;fill-column       ; a `fill-column' indicator
       hl-todo           ; highlight TODO/FIXME/NOTE tags
       ;;indent-guides     ; highlighted indent columns
       modeline          ; snazzy, Atom-inspired modeline, plus API
       nav-flash         ; blink the current line after jumping
       ;;neotree           ; a project drawer, like NERDTree for vim
       ophints           ; highlight the region an operation acts on
       (popup            ; tame sudden yet inevitable temporary windows
        +all             ; catch all popups that start with an asterix
        +defaults)       ; default popup rules
       ;;pretty-code       ; replace bits of code with pretty symbols
       ;;tabbar            ; FIXME an (incomplete) tab bar for Emacs
       treemacs          ; a project drawer, like neotree but cooler
       ;;unicode           ; extended unicode support for various languages
       vc-gutter         ; vcs diff in the fringe
       vi-tilde-fringe   ; fringe tildes to mark beyond EOB
       window-select     ; visually switch windows
       workspaces        ; tab emulation, persistence & separate workspaces

       :editor
       (evil +everywhere); come to the dark side, we have cookies
       file-templates    ; auto-snippets for empty files
       fold              ; (nigh) universal code folding
       ;;(format +onsave)  ; automated prettiness
       format
       ;;lispy             ; vim for lisp, for people who dont like vim
       multiple-cursors  ; editing in many places at once
       ;;parinfer          ; turn lisp into python, sort of
       rotate-text       ; cycle region at point between text candidates
       snippets          ; my elves. They type so I don't have to

       :emacs
       (dired            ; making dired pretty [functional]
         +ranger         ; bringing the goodness of ranger to dired
         +icons          ; colorful icons for dired-mode
        )
       electric          ; smarter, keyword-based electric-indent
       ;;eshell            ; a consistent, cross-platform shell (WIP)
       imenu             ; an imenu sidebar and searchable code index
       ;;term              ; terminals in Emacs
       vc                ; version-control and Emacs, sitting in a tree

       :tools
       ansible
       ;;debugger          ; FIXME stepping through code, to help you add bugs
       direnv
       docker
       editorconfig      ; let someone else argue about tabs vs spaces
       ;;ein               ; tame Jupyter notebooks with emacs
       eval              ; run code, run (also, repls)
       flycheck          ; tasing you for every semicolon you forget
       ;;flyspell          ; tasing you for misspelling mispelling
       ;;gist              ; interacting with github gists
       (lookup           ; helps you navigate your code and documentation
        +docsets)        ; ...or in Dash docsets locally
       ;;lsp
       ;;macos             ; MacOS-specific commands
       magit             ; a git porcelain for Emacs
       ;;make              ; run make tasks from Emacs
       ;;password-store    ; password manager for nerds
       ;;pdf               ; pdf enhancements
       ;;prodigy           ; FIXME managing external services & code builders
       ;;rgb               ; creating color strings
       terraform         ; infrastructure as code
       ;;tmux              ; an API for interacting with tmux
       ;;upload            ; map local to remote projects via ssh/ftp
       ;;wakatime
       ;;vterm             ; another terminals in Emacs

       :lang
       ;;agda              ; types of types of types of types...
       ;;assembly          ; assembly for fun or debugging
       ;;cc                ; C/C++/Obj-C madness
       ;;clojure           ; java with a lisp
       ;;common-lisp       ; if you've seen one lisp, you've seen them all
       ;;coq               ; proofs-as-programs
       ;;crystal           ; ruby at the speed of c
       ;;csharp            ; unity, .NET, and mono shenanigans
       data              ; config/data formats
       erlang            ; an elegant language for a more civilized age
       elixir            ; erlang done right
       ;;elm               ; care for a cup of TEA?
       emacs-lisp        ; drown in parentheses
       ;;ess               ; emacs speaks statistics
       ;;go                ; the hipster dialect
       ;;(haskell +intero) ; a language that's lazier than I am
       ;;hy                ; readability of scheme w/ speed of python
       ;;idris             ;
       ;;(java +meghanada) ; the poster child for carpal tunnel syndrome
       javascript        ; all(hope(abandon(ye(who(enter(here))))))
       ;;julia             ; a better, faster MATLAB
       ;;kotlin            ; a better, slicker Java(Script)
       ;;latex             ; writing papers in Emacs has never been so fun
       ;;ledger            ; an accounting system in Emacs
       ;;lua               ; one-based indices? one-based indices
       markdown          ; writing docs for people to ignore
       ;;nim               ; python + lisp at the speed of c
       ;;nix               ; I hereby declare "nix geht mehr!"
       ;;ocaml             ; an objective camel
       (org              ; organize your plain life in plain text
        +attach          ; custom attachment system
        +babel           ; running code in org
        +capture         ; org-capture in and outside of Emacs
        +export          ; Exporting org to whatever you want
        +habit           ; Keep track of your habits
        +present         ; Emacs for presentations
        +protocol)       ; Support for org-protocol:// links
       ;;perl              ; write code no one else can comprehend
       ;;php               ; perl's insecure younger brother
       ;;plantuml          ; diagrams for confusing people more
       ;;purescript        ; javascript, but functional
       python            ; beautiful is better than ugly
       ;;qt                ; the 'cutest' gui framework ever
       ;;racket            ; a DSL for DSLs
       ;;rest              ; Emacs as a REST client
       ruby              ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
       ;;rust              ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
       ;;scala             ; java, but good
       (sh +fish)                  ; she sells (ba|z|fi)sh shells on the C xor
       ;;solidity          ; do you need a blockchain? No.
       ;;swift             ; who asked for emoji variables?
       ;;terra             ; Earth and Moon in alignment for performance.
       web               ; the tubes
       ;;vala              ; GObjective-C

       :email
       ;;(mu4e +gmail)       ; WIP
       ;;notmuch             ; WIP
       ;;(wanderlust +gmail) ; WIP

       ;; Applications are complex and opinionated modules that transform Emacs
       ;; toward a specific purpose. They may have additional dependencies and
       ;; should be loaded late.
       :app
       ;;calendar
       ;;irc              ; how neckbeards socialize
       ;;rss +org        ; emacs as an RSS reader
       ;;twitter           ; twitter client https://twitter.com/vnought
       ;;(write            ; emacs as a word processor (latex + org + markdown)
       ;; +wordnut         ; wordnet (wn) search
       ;; +langtool)       ; a proofreader (grammar/style check) for Emacs

       :collab
       ;;floobits          ; peer programming for a price
       ;;impatient-mode    ; show off code over HTTP

       :config
       ;; For literate config users. This will tangle+compile a config.org
       ;; literate config in your `doom-private-dir' whenever it changes.
       ;;literate

       ;; The default module sets reasonable defaults for Emacs. It also
       ;; provides a Spacemacs-inspired keybinding scheme and a smartparens
       ;; config. Use it as a reference for your own modules.
       (default +bindings +smartparens))

Two possibilities spring to mind:

When you changed (format +onsave) to format, you forgot to run doom refresh afterwards (and restart Emacs)

A recent update (or you) added elixir-format to after-save-hook. Please check after-save-hook and your config for a hook function that calls elixir-format.

 No idea why I didn't notice this before. sigh


Feature Request: Having the justified block in the light client update data

Currently, when the finality update or light client update is requested, attested and finalized headers are returned. But the 2 epoch difference between the finalized and the attested header is not good for the UX. Because there are 12.8 minutes between those two.
How about adding justified_header which is 1 epoch behind the attested_header so that the light clients can have the option to trust it or not based on their use case?

no objection from me. /cc @etan-status @dapplion

I understand the use-case, but when Confirmation Rule https://github.com/ethereum/consensus-specs/pull/3339 lands the range of headers we could potentially include widens.
Adding more headers includes the bandwidth requirements for all consumers. I would like to see a more in-depth look into the matter before including the justified header

Closing the issue since the effort to add this would not worth it considering the Confirmation Rule #3339. Thanks!


config kind cluster to increase maximum log file size and event-ttl

Patch in kubelet to increase maximum log file size
On a newly deployed Kubernetes cluster, the pod's log is located under the host /var/log/pods/ directory with a maximum log file size of 10Mi (openshift cluster is 50Mi) and 5 rotated log files. As our verticadb-operator pod's log grows fast as time passes by, especially with online upgrade operations, it's recommended to configure these two kubelet parameters containerLogMaxSize and containerLogMaxFiles in /var/lib/kubelet/config.yaml to increase the maximum log file size to 100Mi maximum rotated log files to 10.
Patch in apiserver to increase event ttl duration
By default, the k8s cluster clears the events after 1 hour and is not persistent on any disk. The direct way is to update /etc/kubernetes/manifests/Episerver.yaml to add the flag --event-ttl to increase the event time-to-live (TTL) duration and restart the Episerver.

What events? events like CreateDBStart?

Yes. The goal is to view those events in the past 24 hours or longer.

And why do we need this for? e2e tests? Can you add the reason to the description?


Block merge if working label is present

@kvark Or we ask bors to refuse to merge it ;)

This is awesome!
(unless you are still working on it ;) )
bors r+


IP ranges up to date?

My server is trying to reach address:
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
However, the only address range listed that's close to those is  <IP_ADDRESS>/20, but that range doesn't include the attempted IPs.
And it's like that for a few ranges.

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

ID: 66bd8666-3566-a901-b25b-eb6baba6264a
Version Independent ID: e9f6310f-2207-8c81-d31a-3d5a80beb26b
Content: Office 365 URLs and IP address ranges - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/urls-and-ip-address-ranges.md
Service: microsoft-365-enterprise
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@kelleyvice-msft Please help us in resolving this issue. Thanks

Was this fixed?

We appreciate your feedback. This page is automatically generated from a database so we can’t manually update the page. However, if you suspect there is an error in this list of URLs and IP addresses or have questions, please contact Microsoft Support.
To contact Microsoft 365 Support:

Sign in to Microsoft 365 admin center with your Microsoft 365 admin account, and select Support > Help and support, enter your question, and then select Contact support.

If you're an admin on the account, you can call<PHONE_NUMBER> (toll-free, US only).


ICredentialProviderCredential2

Is there any benefit to implement ICredentialProviderCredential2 for pGina?
Is I understand the ability to retrieve a user SID was introduced to switch background of logon UI and lock screen with regard to user preferences.
Can this customizations be provided by pGina?

Sure, but i will not do it.
It's open source, feel free to implement it....


error in the webui details for plotting process

the error exists when you click on the icon right from your plotting process...
pictures attached...
to get the error:

and here is the error

Thanks for the feedback.  Would you be able to attach your /mnt/user/appdata/machinaris/machinaris/logs/webui.log, ideally right after triggering the error above again?  It would help reveal the cause.

ah forgotten...
excuse me...
attached you will find it...
webui.log

Ok, thanks.  It looks like there is a empty or nearly empty log file in /root/.chia/plotman/logs/.  I've added a guard in the code to not error if it finds such a nearly empty log but to continue on.  Available in

you were right, i found a logfile with no lines in it...
i deleted the file and the error was gone...

Great.  I've improved the code to not faceplant in such a situation.  Thanks again!


vocabulary_expansion_pretraining

PR types

Others
PR changes

Others
Description

增加词表扩充预训练逻辑

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 3 committers have signed the CLA.:white_check_mark: WAI-clear:x: Zhong Hui:x: LOVE-YOURSELF-1Zhong Hui seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


liquibase issue dmbs exclude when using H2

Environment
Liquibase Version:
3.6.2
Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>
3.6.2
Database Vendor & Version:
H2 2.1.214
Operating System Type & Version:
Windows 11
Infrastructure Type/Provider: <AWC, GCS, Azure, VM, etc>
OpenJDK 11
Description
seems like dbms="!mssql" does not work correctly
According to liquibase documentation one should be able to specify a changeset which is not applicable to a particular database by prefixing dbms by an exclamation mark "!" . For Example dbms="!oracle".
But it looks like this does not work when using h2 database. In this sample you will find some changes excluding oracle and mssql. After running liquibase the changeset's are not applied to h2.
Steps To Reproduce
https://github.com/kleenxcoder/liquibase-issue-dmbs-exclude
How to reprocude:

run: mvn liquibase:update
run: Spring Application IssueDmbsExcludeApplication
open h2-console using JDBC URL "jdbc:h2:file:./db-file/my-sample-db"

Actual Behavior
Changesets dbms="!oracle" and dbms="!mssql" are not executed.
Expected/Desired Behavior
Changesets dbms="!oracle" and dbms="!mssql" should be executed.
Additional Context
See https://github.com/kleenxcoder/liquibase-issue-dmbs-exclude for better understanding.

Sorry my fault, as I have realized I was using an older maven plugin which has caused this issue.


docs: Initial documentation using VitePress

Initial step to introduce documentation for FxKit using VitePress with content entirely based on README file.

Closes #6

Just checked it out locally to see it and it looks really good! Thanks for doing this!
Do I need to do anything on my end to set up the GH Pages stuff or does it automatically setup a taxfyle.github.io/fxkit URL?

Need to ensure that GitHub pages will be deployed using GitHub Actions

I've setup VitePress hostname to https://taxfyle.github.io/FxKit/

Added a link to the documentation page on README file

I need to make some adjustments because of base URL change

Done, fixed favicons path

The deploy failed - perhaps we should run the build step but not the deploy step as part of PRs?


Update sql-data-warehouse-develop-concurrency.md

Updated the number of concurrency slots since the max is 32 and persists from DW1000 and above.

Hi @happynicolle, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@barbkess
Please review this PR and note your approval/disapproval here. Thanks.

Please approve.


fix: updates template condition for Arc

Signed-off-by: Nilekh Chaudhari<EMAIL_ADDRESS>
Reason for Change:

Requirements

[x] squashed commits
[ ] included documentation
[ ] added unit tests and e2e tests (if applicable).

Issue Fixed:

fixes: https://github.com/Azure/secrets-store-csi-driver-provider-azure/issues/972
Does this change contain code from or inspired by another project?

[ ] Yes
[ ] No

If "Yes," did you notify that project's maintainers and provide attribution?
Special Notes for Reviewers:

The scan_images failure should be resolved with #976.
Were you able to repro this?

Yup.

The scan_images failure should be resolved with #976.
Were you able to repro this? IIRC, in the last PR the order in which and operands were validated?

Yeah. I remember this. But I also remember when I first implemented this I had the same issue and exactly the same was the implementation to avoid nil pointer.

The scan_images failure should be resolved with #976.
Were you able to repro this? IIRC, in the last PR the order in which and operands were validated?

Yeah. I remember this. But I also remember when I first implemented this I had the same issue and exactly the same was the implementation to avoid nil pointer.

Is this a simple repro when not using an arc cluster? Is there a way we can catch this in CI/repro it with CI so we can validate this fix and ensure we don't hit this again?

The scan_images failure should be resolved with #976.
Were you able to repro this? IIRC, in the last PR the order in which and operands were validated?

Yeah. I remember this. But I also remember when I first implemented this I had the same issue and exactly the same was the implementation to avoid nil pointer.

Is this a simple repro when not using an arc cluster? Is there a way we can catch this in CI/repro it with CI so we can validate this fix and ensure we don't hit this again?

I have added a pod annotation in the e2e tests in the helm install. So if there is an issue, CI will give an error.

/azp run pr-e2e-azure

/azp run pr-e2e-azure


How to render with empty value?

Hello, I don't want to suggest anything to my user.
How can I show an empty field? Can be just blank or with a placeholder like 'choose a date'.
I tried empty string and null but both don't work.
Thanks.

Use labelFunc prop: https://codesandbox.io/s/qll08v0n06

Thanks, done! :)

null works fine for me, just use value={null}


Added Sonar server URL for API-Token

Hi All,
I have added sonar server URL for API-Token base login

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


chore: Add pp_dot to measure definitions trim, withDensity, restrict, rnDeriv and singularPart

We use dot notation for them everywhere in the code. Let's use it in the infoview as well.

Thanks!
bors merge


move references to readthedocs

Also remove ToC on each page, since readthedocs handles that in a much
better way.

LGTM


Prevent slots being overwritten by inner scope

The compiled ComponentNode code can overwrite the $slots variable with nested components. This PR saves and restores the $slots variable
Note this also reduces the minimum php version to 7.2

Nice! Thanks @rasmuswinter! Would you like to add a small test for this?

Or if you can comment an example that cause the problem I will do the test later.

I'll try knocking together a test now. Thanks for the speedy response

@giorgiopogliani sorry for the delay. Here's a test that demonstrates the bug

Awesome! Thanks!


Fail to load AltStore PAL repos + GitHub based repos

So, I've done some digging with AltStore PAL repositories
Here's the AltStore PAL repository for UTM at this URL https://pal.getutm.app/config.json
(its GitHub repo is available here https://github.com/utmapp/altstore-pal-repo)
(and here's the AltStore PAL repo for Epic Games https://content-download-egs.distro.on.epicgames.com/iOS/altstore/source.json)
The "downloadURL" is "https://pal.getutm.app/adp/", however the download URL points to a folder containing a "manifest.json" and a "signature" file
What we are interested in is this URL "https://pal.getutm.app/adp/manifest.json"
As we can see, it contains 2 sections, "variants" and "deltas"
The "deltas" are not used in the UTM repo, however it is used in the Epic Games repo, idk what's the utility for it, I thing what we're interested in are the "variants"
In each variant, there is an "assetPath", it will usually be something like "variant/uuid.ipa"
So the final URL will be "https://pal.getutm.app/adp/variant/uuid.ipa"
And while searching for this, I found out that the UTM AltStore repo didn't work properly with this app https://pal.getutm.app/config.json
There is no download URL, as it uses GitHub to download the file
This repo uses "filename", "githubOwner", "githubRepository", "skipPrerelease" to download the latest release directly from GitHub releases

Thanks for this! altsource-viewer does not officially support PAL repos atm but from the details you provided it looks doable and I definitely have plans for it in the near future. Do you happen to know what the URL for Epic Games' manifest.json is?


Detached model state on render of context consumer if unmounted and context value does not change.

Current Situation
Context should be able to be scoped to conditionally rendered components, and when those subcomponents are removed the deletion of the Context should be handled gracefully.
See: https://github.com/Archmonger/Conreq/blob/d64b3ba879d263b36ab4806d4790d44cefea1045/conreq/_core/components.py#L46-L64
Traceback (most recent call last):
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\django\contrib\staticfiles\handlers.py", line 101, in __call__
    return await self.application(scope, receive, send)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\routing.py", line 62, in __call__
    return await application(scope, receive, send)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\security\websocket.py", line 37, in __call__
    return await self.application(scope, receive, send)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\sessions.py", line 47, in __call__
    return await self.inner(dict(scope, cookies=cookies), receive, send)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\sessions.py", line 263, in __call__
    return await self.inner(wrapper.scope, receive, wrapper.send)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\sessions.py", line 47, in __call__
    return await self.inner(dict(scope, cookies=cookies), receive, send)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\sessions.py", line 263, in __call__
    return await self.inner(wrapper.scope, receive, wrapper.send)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\auth.py", line 185, in __call__
    return await super().__call__(scope, receive, send)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\middleware.py", line 24, in __call__
    return await self.inner(scope, receive, send)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\routing.py", line 116, in __call__
    return await application(
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\consumer.py", line 94, in app
    return await consumer(scope, receive, send)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\consumer.py", line 62, in __call__
    await await_many_dispatch([receive], self.dispatch)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\utils.py", line 50, in await_many_dispatch
    await dispatch(result)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\consumer.py", line 73, in dispatch
    await handler(message)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\channels\generic\websocket.py", line 238, in websocket_disconnect
    await self.disconnect(message["code"])
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\django_idom\websocket\consumer.py", line 42, in disconnect
    await self._idom_dispatcher_future
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\django_idom\websocket\consumer.py", line 76, in _run_dispatch_loop
    await serve_json_patch(
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\idom\core\serve.py", line 44, in serve_json_patch
    async with create_task_group() as task_group:
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\anyio\_backends\_asyncio.py", line 662, in __aexit__
    raise exceptions[0]
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\idom\core\serve.py", line 84, in _single_outgoing_loop
    await send(await render_json_patch(layout))
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\idom\core\serve.py", line 53, in render_json_patch
    return VdomJsonPatch.create_from(await layout.render())
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\idom\core\layout.py", line 153, in render
    result = await self._debug_render()
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\idom\core\layout.py", line 142, in render
    return self._create_layout_update(model_state)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\idom\core\layout.py", line 161, in _create_layout_update
    new_state = _copy_component_model_state(old_state)
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\idom\core\layout.py", line 528, in _copy_component_model_state
    parent: Optional[_ModelState] = old_model_state.parent
  File "C:\Users\Markg\Documents\Repositories\Conreq\.venv\lib\site-packages\idom\core\layout.py", line 661, in parent
    assert parent is not None, "detached model state"
AssertionError: detached model state

Can be replicated by pulling the latest Conreq branch, and clicking between the any of the "settings" sidebar tabs, then going to a different tab.
Proposed Actions
Determine root cause and fix.

I cloned the repo but don't understand how to reproduce. All I see is this when I load up the app:

I see no errors when navigating between tabs.

Wanna hop on a call on Saturday for me to demo?

I'm away this weekend unfortunately so will have till next week.

Okay, the issue should specifically happen if you click on the "Settings" tab (which as a scoped context), then click off of the tab onto something like My Requests.
Based on the screenshot it looks like you cloned the wrong branch.
Needs to be the app_store branch, which is the only branch with IDOM integration.

Let me know if you've been able to replicate this on the app_store branch

I've had trouble getting it set up. I can't remember the error I was experiencing at the moment. Can try and post later.

@rmorshea I can demo today if you are available.

I'll be available at 5:30 Pacific Time.

Still need to create a reproducible example, but always rendering the whole tree (as suggested in this comment) seems to fix this problem.

Closed by #870


feat: add tcl code highlighting

Added TCL code highlighting.

Sorry for the little mess, but I have added tcl and verilog in two different commits.

Thanks!


Azure Data Share: Modify Proxy & Default DTOs for systemdata (2020-09-01)

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[x] update existing version to fix swagger quality issue in s360
[x] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[x] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[x] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@markcowl
This PR isn't really a breaking change. It's just a slight modification of the azure resource (proxy and default DTOs) structure since adding a new systemData property was requested. This is the PR that introduced systemData for Azure Data Share for version 2020-09-01 which was merged some time last week.
Please let me know if you have any questions.


Check for unused elements in component files

It would be helpful, from a maintenance point of view, to test that each element in each component file are used somewhere in a table file

Added in v0.6.3


Add AUTH support

PR address #10 . I'm not sure about the fact that my PR exactly follows RFC.

Thanks for the PR. I will check it for RFC compliance and add some test coverage to ensure it when I get the time.


EMR: AutoScalingPolicy property missing from InstanceGroupConfigProperty

InstanceGroupConfigProperty is missing AutoScalingPolicy

This is already included as part of boto3 (as well as CloudFormation, AWS CLI, etc., but hasn't been implemented within Troposphere.
https://boto3.readthedocs.io/en/latest/reference/services/emr.html#EMR.Client.put_auto_scaling_policy
Any assistance for implementing this is appreciated.


Handle case where schema doesn't have embedding

When a schema doesn't have an embedding, we need to still successfully process the message.

lgtm

lgtm


Error page issues with internationalization (i8n)

Version: Master 5/19
Comment - moving out of #4803 at request of Dev and into own issue.
@vincent99 - Can you move the error page one to a separate issue, as it's got special problems (like what if the error was with loading the translations...). The rest are fixed.

[ ]

Version - master 5-24
Verified fixed


iframe support for click away

If you click on an iframe (or iframe content) then the popover etc, wasn't firing clickaway as it should have.

focus works too.  Also added another fix for nested popovers

@chrismcv I don't really know how to test this. I'm gonna trust you since you made this component.
Thanks


Send Articles to Zenodo, not OSF

In case this isn't clear, this is for articles in the request system. We've also discussed reviewing copy for the article request system. Assuming we can do this far more easily once #243 is finished.

This is in the backend now, and testing #337 also acts as a test for this, so closing this one now.


Cache jinja2 bytecode on memcache

A custom jinja2.BytecodeCache class (see http://jinja.pocoo.org/docs/dev/api/#bytecode-cache) can be set on (http://jinja.pocoo.org/docs/dev/api/#jinja2.Environment) available at flask.app's  jinja_env attribute, providing dynamic jinja2 bytecode cache without filesystem.

I'd rather us not do that. It's actually better to do precompiled templates or enable the in-memory cache than to store them in memcache.


Philips Hue when screen is pure black

[x] I confirm that this is an issue rather than a question.

Bug report
Steps to reproduce
I am having Yeelight Bulb W3 and Philips Hue 1600 color & white (connect via Hue bridge v2).
When the screen is black full-screen (for example this video https://www.youtube.com/watch?v=AjWfY7SnMBI), the Yeelight is black (off) which is normal, but the Hue is blue. Non-black pictures are fine.
What is expected?
When screen is black full-screen, Philips Hue is black, like the Yeelight
What is actually happening?
When the screen is black full-screen, Philips Hue bulb is blue, while Yeelight is black
System

Macbook Air M1
Yeelight Blub W3 and Philips Hue 1600
Hyperion build from master
Python 3.10
Hyperion Server:

Build:             master (GitHub-29601d27/5078688d-1644608175)
Build time:        Feb 13 2022 22:52:07
Git Remote:        https://github.com/hyperion-project/hyperion.ng.git
Version:           2.0.13-beta.1
UI Lang:           en (BrowserLang: en-US)
UI Access:         expert
Avail Screen Cap.: osx,qt
Avail Video  Cap.:
Avail Services:    boblight,effectengine,forwarder,flatbuffer,protobuffer,borderdetection
Config path:       /Users/van/.hyperion
Database:          read/write

Hyperion Server OS:

Distribution:      macOS 12.2
Architecture:      arm64
Kernel:            darwin (21.3.0 (WS: 64))
Root/Admin:        false
Qt Version:        5.15.2
Python Version:    3.10.2
Browser:           Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36

can be solved by ticking "turn of when black"


docs: Fix a few typos

There are small typos in:

docs/contributing.rst
docs/crash_course.rst
docs/i18n.rst
src/wtforms/utils.py
tests/validators/test_length.py

Fixes:

Should read incorrect rather than incorect.
Should read precedence rather than precendence.
Should read occurring rather than occuring.
Should read compatibility rather than compatiblity.
Should read compatibility rather than compatibiltity.
Should read behavior rather than bevhavior.

Semi-automated pull request generated by
https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

Thank you!


update all the things

Updates the lorawan stack to the latest on lora-rs.
Updates hyper to 1.0 for prometheus server.
Fixes bug where no metrics were being counted anymore.

@madninja any chance we can land this one? I have another one in the pipe

There is no crate affiliated with this so I think I will just fork this over to lora-rs.


Application create (Temptifly) has odd spacing for checkboxes

An issue is opened in app-ui as well to track this: https://github.com/open-cluster-management/backlog/issues/10646

It has been fixed in the latest temptifly, need to pull it in app-ui.


Timer fixes for linear solves

Configure linear solver timing to only count preconditioning and coarse solve time for primary solvers (not error estimation, divergence-free projection, etc.). Also add timing category for divergence-free projection for eigenvalue solves.

@kllrak I added you as an optional reviewer as the Timer functionality is something you've worked on in the past. Feel free to take a look if you're able!


TODO:  Implement Swagger documentation

This implementation will be build in the swagger branch

IN PROCESS: Initial implementation of built in the swagger branch.  However this still needs some debugging. I would like to get @hanhqvu input on this.

First iteration of documentation using SWAGGER has been completed and deployed.


Vulnerability roundup 79: docker-18.09.7: 1 advisory

search, files

[ ] CVE-2019-16884 CVSSv3=7.5 (nixos-19.03)

Scanned versions: nixos-19.03: d1dff0bcd9f. May contain false positives.

See also: #68558


🐛 BUG: google analytics_id in layout

To read google_analytics_id variable, we need to prepend it with theme_, as all variables in html_theme_options of sphinx get prepended with that automatically by sphinx.

thanks @AakashGfude


feat(cli, ui): show removed dependencies before uninstall

📑 Description
This PR partially implements #399 (only for package uninstallation).
✅ Checks

[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required

ℹ Additional Information

Works great, well done. As far as I see this implementation closes #398 too.

True, although this implements the "alternatives you've considered" as described in that issue (which TBH I think I prefer…)


Missing YAML reference for Kubernetes Endpoint

There is no link, or docs, available for the Endpoint: Kubernetes online (real-time) like there is for a Deployment: Kubernetes online (real-time).
The only (obscure) reference I can find to it exists in one of the Azure ML example Github repos.

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

ID: 18f47177-799b-6226-1d3d-db1fdc5f56a3
Version Independent ID: 39fea6aa-7fa1-2edd-2aec-a1100b58ea34
Content: Online endpoints YAML reference - Azure Machine Learning
Content Source: articles/machine-learning/reference-yaml-endpoint-online.md
Service: machine-learning
Sub-service: mlops
GitHub Login: @dem108
Microsoft Alias: sehan

@adriantorrie
Thanks for your feedback! We will investigate and update as appropriate.

@adriantorrie
Thank you for bringing this to our attention.
I've delegated this to content author @dem108, who will review it and offer their insightful opinions.

Thanks for the feedback. In fact, the CLI schema article for managed online endpoint includes the explanation for Kubernetes online endpoint. Created an internal PR to clarify further. Let us come back to this thread after the PR is merged.

The PR is merged and you'll be able to see the updated article that mentions Kubernetes online endpoint as well. As mentioned in the updated article, the table of properties already notes the differences between managed and Kubernetes online endpoint.
Thanks again for your feedback. Let us close this issue, but feel free to comment further if you'd like to.

#please-close


Create terminology service abstraction

This change will refactor out common functionality relating to the application of terminology operations within functions.
This includes:

Filtering out codings based on code system
Creation of domain-specific results based upon terminology service responses

This will remove some logic from the mappers, and make the solution easier to test.

Resolved by #275.


making a PR

So I can click the "viewed" checkbox

Was trying to merge into another branch of my fork, not into Flutter. My bad!


Exit cursor should be pointer

Description
This exit icon should be cursor pointer
Screenshots

pls assign me this issue

Please go ahead! 🤩

pls review my pull request then merge it


Remove DisplayVersion from 7zip.7zip version 24.07

DisplayVersion differs from PackageVersion by trailing .0s, which do not play a part in package matching. Removing it to reduce client mapping code and avoid publish pipelines issues that could arise in case of an incorrect DisplayVersion value.
Microsoft Reviewers: Open in CodeFlow

URL:
Invalid URI: The hostname could not be parsed.
(Automated message - build 897)


Please provide sbt version information

Hi Mark,
I've been bit a couple of times now because of using a version of sbt different from what I think I'm using. If not too much trouble, could you put the version number in a couple of places? Namely:

name the sbt jar files sbt-launch-nn.nn.n.jar, instead of sbt-launch.jar? (This also helps those of us how have different versions installed on our system for older and newer projects).

In the output of sbt when it starts up?

Hopefully these are small easy changes.
Thanks,
Ken

Note:  In any build, type sbt-version and you'll see the version you're using.  The launch jar can support different versions of SBT.   If you're specifically interested in which version of the launch jar, that deserves a feature request.

Nope, thanks for clarifying why launch.jar isn't versioned.
Ken
On Jan 10, 2012, at 6:49 PM, Josh Suereth wrote:

Note:  In any build, type sbt-version and you'll see the version you're using.  The launch jar can support different versions of SBT.   If you're specifically interested in which version of the launch jar, that deserves a feature request.

Reply to this email directly or view it on GitHub:
https://github.com/harrah/xsbt/issues/328#issuecomment-3440211

Please use the mailing list for questions and discussions.


Added ability to expand and collapse menubar icons

Fixes #767

Description

Added: option to manually expand and collapse menubar items  manually

Checklist

[x] I have made corresponding changes to the documentation.
- [ ] I have updated the types definition of modified exports.
[x] I have verified the functionality in some of the neeto web-apps.
[x] I have added the necessary label (patch/minor/major - If package publish
is required).

Reviewers
@AbhayVAshokan _a

@AbhayVAshokan _a I have updated the behaviour of the collapsible menu, please review.


More information about datasets

I earlier asked you about Retweet dataset information. Your answer helped me a lot.
I have some follow-up questions about the other datasets as well.
I've been trying to understand the results in details. It got me wonder what each event type means in each dataset.
For example, in Taxi dataset, the combinations of each borough (5) and actions (pick-up and drop-off) make 10 event types. But, it does not specify which event type corresponds to which integer (e.x. event type of 1 means what?) I went to data source and saw if I could get any knowledge, but I failed.
Do you have any information on this? Not just about Taxi dataset, you used Amazon dataset and worked with the most active users and 16 event types, but I couldn't tell which event type (product category) you actually used.
I'd greatly appreciate it if you could let me know the information, or how I can access to these information. (I tried the data sources you mentioned in your paper, but it seems like they don't have the information I'm asking)! Thanks!

Hi, i found this in the old script for amazon dataset.
The first col is event type while the second is the description text. There might be some overlap in the types (based on the meaning of the categories) because the raw data indeed has such unclear classifications.
0	Clothing
1	Shoes
2	Accessories
3	Jewelry
4	Novelty & More
5	Watches
6	Uniforms, Work & Safety
7	Luggage & Travel Gear
8	Costumes & Accessories
9	Girls
10	Boys
11	Shoe, Jewelry & Watch Accessories
12	Baby
13	Handbags & Wallets
14	Surf, Skate & Street
15	Contemporary & Designer
15	Women
15	Big & Tall
15	Men
15	Plus-Size
15	Maternity
15	Traditional & Cultural Wear