flutter call android always throw MissingPluginException(No implementation found for method getDeviceInfo

what did I do wrong? All dependencies are added.
I've tried many things, and the result is always the same.
[ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: MissingPluginException(No implementation found for method getDeviceInfo on channel faxian.com/device_info)
E/flutter (22021): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:7)
E/flutter (22021): <asynchronous suspension>
E/flutter (22021): #1      _LoginPageState._getDeviceInfo (package:flutter_faxian/pages/login/index.dart:84:20)
E/flutter (22021): <asynchronous suspension>

android 11

Framework • revision adc687823a (5 weeks ago) • 2021-04-16 09:40:20 -0700
Engine • revision b09f014e96
Tools • Dart 2.12.3

const info_Channel = const MethodChannel("faxian.com/device_info");

void _getDeviceInfo()async{
    final result = await info_Channel.invokeMethod("getDeviceInfo");
    print(result);
  }

<meta-data
                android:name="io.flutter.embedding.android.NormalTheme"
                android:resource="@style/NormalTheme"
                tools:replace="android:resource" />
<meta-data
                android:name="io.flutter.embedding.android.SplashScreenDrawable"
                android:resource="@drawable/launch_background" />
<meta-data
            android:name="flutterEmbedding"
            android:value="2" />

import androidx.annotation.NonNull
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.embedding.engine.plugins.FlutterPlugin
import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel
class MainActivity: FlutterActivity() {

    override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
        flutterEngine.plugins.add(GetDevicePlugin())
        super.configureFlutterEngine(flutterEngine)
    }
}

class GetDevicePlugin:FlutterActivity(), FlutterPlugin, MethodChannel.MethodCallHandler{

    private val CHANNEL = "faxian.com/device_info"

    override fun onMethodCall(call: MethodCall, result: MethodChannel.Result) {
        if (call.method.equals("getDeviceInfo")){
            result.success("------flutter call android getDeviceInfo------")
        }
    }

    override fun onAttachedToEngine(binding: FlutterPlugin.FlutterPluginBinding) {
        val channel = MethodChannel(binding.binaryMessenger, CHANNEL)
        channel.setMethodCallHandler(this)
    }

    override fun onDetachedFromEngine(binding: FlutterPlugin.FlutterPluginBinding) {
    }
}

[✓] Flutter (Channel stable, 2.0.5, on macOS 11.2.3 20D91 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] VS Code (version 1.56.2)
[✓] Connected device (2 available)

Hi @Reinoal
Seems to have an issue with your code
I just followed this doc, there is no issue
package com.example.stable_flutter

import androidx.annotation.NonNull
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.MethodChannel

class MainActivity : FlutterActivity() {
    private val CHANNEL = "samples.flutter.dev/battery"

    override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)
        MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL).setMethodCallHandler { call, result ->
            if (call.method == "getBatteryLevel") {
                result.success("------flutter call getBatteryLevel------")
            } else {
                result.notImplemented()
            }
        }
    }
}

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  static const platform = const MethodChannel('samples.flutter.dev/battery');

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: Container(
          child: Text('Hello World'),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () async {
          try {
            final String result =
                await platform.invokeMethod('getBatteryLevel');
            print(result);
          } on PlatformException catch (e) {}
        },
      ),
    );
  }
}

Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


core/listener Refactoring Proposal

AS IS
current code to initialize listener is as followed
// core/src/listener/data-feed.ts

export async function buildListener(
  config: IListenerConfig[],
  redisClient: RedisClientType,
  logger: Logger
) {
...
listenerService({
    config,
    abi,
    stateName,
    service,
    chain,
    eventName,
    latestQueueName,
    historyQueueName,
    processEventQueueName,
    workerQueueName,
    processFn: await processEvent({ iface, logger }),
    redisClient,
    listenerInitType: 'latest',
    logger
  })}

TO BE
// core/src/listener/data-feed.ts

export async function buildListener(
  config: IListenerConfig[],
  redisClient: RedisClientType,
  logger: Logger
) {
...

// jobList = [{queueName: latestQueueName, job: latestJob}, {queueName: historyQueueName, job: historyJob}]

listenerService({
    config,
    abi,
    stateName,
    service,
    chain,
    eventName,
    jobList,
    redisClient,
    listenerInitType: 'latest',
    logger
  })}

Why is it good

Each listeners could be more customizable (ex. can remove historyJob from datafeed listener)

@martinkersner
I suggested this to remove historyjob from aggregator listener.  But since off chain aggregator is in development, I think this suggestion could be closed

If it is only related to aggregator, we can close it.


Feature : MAC flood attack

Implement a MAC flood attack, use Scapy to implement this.

I'm working on this feature


Spec for shell integration marks

Summary of the Pull Request

Abstract
"Shell integration" refers to a broad category of ways by which a commandline
shell can drive richer integration with the terminal. This spec in particular is
most concerned with "marks" and other semantic markup of the buffer.
Marks are a new buffer-side feature that allow the commandline application or
user to add a bit of metadata to a range of text. This can be used for marking a
region of text as a prompt, marking a command as succeeded or failed, quickly
marking errors in the output. These marks can then be exposed to the user as
pips on the scrollbar, or as icons in the margins. Additionally, the user can
quickly scroll between different marks, to allow easy navigation between
important information in the buffer.
Marks in the Windows Terminal are a combination of functionality from a variety
of different terminal emulators. "Marks" attmepts to unify these different, but
related pieces of functionality.

Detailed Description of the Pull Request / Additional comments
*** read the spec  ***
In all seriousness, I've already implemented a pile of this. This is just putting the finishing touches of formalizing it.
PR Checklist

[ ] This is a spec for #11000 and everything linked to that.

I think the most performant solution would be for us to draw our own scrollbar as part of AtlasEngine. It'd be fairly simple to replicate the exact look that the Win32/WinUI scrollbars have. That way we could efficiently overlay them with a bitmap of marks. This is approximately how Chromium does it (which also draws its own scrollbar with Skia).
Alternatively, we could write a custom WinUI control, create a simple, 1px wide bitmap with Direct2D and stretch it onto our WinUI control. Then we overlay that control on top of the scrollbar. That's about 30 lines of code - if you were to use Direct2D and DirectComposition directly. I have no idea however how to actually create a custom control for WinUI. There's no documentation for it and all the issues over on the repository that did talk about it found no answer either. Does WinUI even support using the underlying Direct2D? I know that Win2D exists, but that can't possibly be the answer, right? That one creates an entire swap chain per surface. Compared to that I think 9000 rectangles are faster and simpler. 🫤
So, I think we should just focus on downsampling the marks. For instance, even on my 4K display my 30 row window is only about 900px tall and thus we could reduce the cost of marks by up to 10x. If the marks are sorted by scrollbar position, the downsampling could occur with a simple loop where we ignore marks if they touch the same pixel as a previous mark (for instance).

I'm not sure this needs to go in the spec, but just FYI, there were a few other operations supported by Final Term that aren't listed here.
For example, E and F were used to indicate things like file names and folders in the output. I only have a vague idea of how they worked, but I think the terminal possibly provided aliases for certain system commands like ls that would "mark up" the output with the appropriate sequences.
So from the user's perspective, you would go into a directory, execute an ls, and the terminal would then be aware of all the files and folders in that directory. That way it could assumedly do fancy things with popup autocomplete menus.
There was also a progress operation, G, which I'm guessing would be similar to what we're currently doing with the ConEmu OSC 9 sequence.
Various other terminals have added their own proprietary OSC 133 extensions as well.


Stretch event to next no longer working

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
My morning template has something like this:
- [ ] 07:00 Morning Routine
- [ ] 09:00 - 10:00 Meeting 1

In the past the morning meeting would stretch - the setting to allow this is set. I did restart Obsidian after this last update (thanks for fixing it to stay in the last location btw).
Current behaviour
The morning task seems to default to 30 minutes.
Steps to reproduce
See above.
Which Operating Systems are you using?

[ ] Android
[X] iPhone/iPad
[ ] Linux
[ ] macOS
[X] Windows

Obsidian Version
1.7.3
Possible solution
No response

Seconding . I'm seeing this behavior as well

Same thing. However, it seems that this is due to the default task duration, which activates according to the description if there is no end time. And it's limited up to 120 minutes.

Yeah this seems like and order of operations issue.  First apply default lengths to all tasks, then stretch all task that have a later task to that point.  The last task should be the default task length.

Having the same issue on android, latest version. All tasks are being set to the default length instead.

Please update and re-check.

Hi, I updated and now the plugin doe not seem to be displaying any tasks at all.

Hello, fortunately, I can tell you at a glance that the issue is that you don't have a day planner heading. This was described as a breaking change in the release notes. I will fix that, but in the meantime you can configure the plugin to use some planner heading.

Ah! So sorry - I remembet reading that in the release notes but forgot to add it


Disable right click?

Hello, is it possible to disable right click for rated event?

Currently it is not possible, but feel free to send in a pull request.


Only report "missing clustered index" for not InMemory tables

Closes #15.

@AndreasHassing You should add @pvillads as reviewer to get this one approved.

@pvillads can you review and help get this in? :)


Redirect based on Cookie is laggy on production

My App.js looks like this:
<Route path="/onboarding"><Onboarding /></Route>
<Route path="/dashboard"><Console /></Route>
{Cookies.get('token') ? <Redirect to='/dashboard' /> : <Redirect to='/onboarding' />}

When I debug locally, it works fine.
On production, when the cookie doesn't exist, it redirects to the dashboard for a split second and then redirects to the correct route (the onboarding).
I'm using js-cookie to read and write cookies.
Am I missing something?

Hi, @amiregelz! I would suggest using declarative <Redirect />  components only when the structure is known at the compile time. The reason is that these components have a strong side effect — they change the location once rendered.
You can rewrite your code with hooks:
import { useLocation } from "wouter"
import { useEffect } from "react"

const App = () => {
  const [location, setLocation] = useLocation()

  useEffect(() => {
    if (Cookies.get('token')) {
      setLocation('/dashboard);
    } else {
      setLocation('/onboarding');
    }
  }, [])

  return (
    <>
      <Route path="/onboarding"><Onboarding /></Route>
      <Route path="/dashboard"><Console /></Route>
    </>
  )
}

Thanks a lot, solved my issue :)


Bug Report: ChatGPT not responding sometimes. cant reproduce

When using ChatGPT in the pinned tab that says "Please keep this tab open", sometimes it will stop responding to my prompts and i can no longer delete chats.
I don't see the pattern to this behavior and cannot reproduce it at will.
Is it possible to have an option in the settings to turn this pinned tab off and just use ChatGPT like normal? I really just wanted this extension for search engine integration, youtube video summaries, and the context menu options.

OS: Windows 11
Browser: Firefox
Extension Version: 2.2.9
API Mode: ChatGPT (GPT-3.5-turbo)

I noticed you mentioned you are using ChatGPT (GPT-3.5 turbo) mode, which has nothing to do with the pinned tab. Only the web mode is affected, and all other modes behave the same as before. If you encounter this issue again, please provide a screen recording demonstration when convenient.

Please try v2.3.0, does it solve your problem?

v2.3.1 Users should now have a relatively smooth experience


feat!: replace ipfs-http-client with kubo-rpc-client

Is your feature request related to a problem? Please describe.
Since js-kubo-rpc-client is now officially released with all interface tests passing, we should use that instead of ipfs-http-client.
Describe the solution you'd like

Remove ipfs-http-client dependency completely from our dependency tree
Use kubo-rpc-client instead of ipfs-http-client

Describe alternatives you've considered
Discussed elsewhere, please see https://github.com/ipfs/kubo/issues/9125
Additional context

https://github.com/ipfs/ipfs-webui/pull/1840
#1965

Pre-reqs
### Tasks
- [ ] https://github.com/ipfs/ipfs-webui/issues/2090

I spent Friday (2023-01-13) attempting this, and we will need to upgrade to ESM first. Things need to be more manageable by doing that first.

upgrading to ESM should be feasible
there will be some complexity in the build tools and dependencies that aren't ESM
will have a better idea of what's involved after spending a few hours on this

Currently blocked by https://github.com/ipfs/js-kubo-rpc-client/pull/145

this work is mostly done on the esm/kubo-rpc-client branch but but failing in a single e2e test when using ipld-explorer-components (when doing the steps of the test manually, webui works as expected, but confirmed not working when running via playwright)

the ipld-explorer-components code at https://github.com/ipfs/ipld-explorer-components/blob/23cf07da8a78b1d6d9aaa20a8e5a32ef42936ad8/src/bundles/explore.js#L182-L204 is showing undefined for some formats that are returned, which is causing the TypeError: cannot read property 'codecs' on undefined.
Trying to debug if ipld-explorer-components is missing a peerDependency callout, or if import is failing because of webui esm importing from the CJS ipld-explorer-components.
funny thing is that this is only occurring in playwright tests though, and works perfectly fine with npm run start. will check if it works with serving the build directly (same way playwright runs the test)

confirmed that when running things manually, it's also broken.
# terminal 1
ipfs daemon

# terminal 2
npm run test:build && npx http-server ./build/ -c-1 -a <IP_ADDRESS> -p 3001

# browser:
http://<IP_ADDRESS>:3001/#/explore/bafkreicgkmwhdunxgdqwqveecdo3wqmgulb4azm6sfnrtvd7g47mnrixji

at least my repro steps should be easier now.

fixed locally with a patch,
diff --git a/node_modules/ipld-explorer-components/dist/bundles/explore.js b/node_modules/ipld-explorer-components/dist/bundles/explore.js
index 123bc7f..8cbbfd1 100644
--- a/node_modules/ipld-explorer-components/dist/bundles/explore.js
+++ b/node_modules/ipld-explorer-components/dist/bundles/explore.js
@@ -388,6 +394,8 @@ function getIpld() {

 function _getIpld() {
   _getIpld = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
+    var _ipldEthereum$default;
+
     var ipldDeps, _ipldDeps$map, _ipldDeps$map2, ipld, formats, ipldEthereum, ipldJson;

     return regeneratorRuntime.wrap(function _callee3$(_context4) {
@@ -405,26 +413,38 @@ function _getIpld() {
             /* webpackChunkName: "ipld" */
             'ipld-git'), import(
             /* webpackChunkName: "ipld" */
-            'ipld-raw'), import(
-            /* webpackChunkName: "ipld" */
-            'ipld-ethereum')]);
+            'ipld-raw')]);

           case 2:
             ipldDeps = _context4.sent;
             // CommonJs exports object is .default when imported ESM style
             _ipldDeps$map = ipldDeps.map(function (mod) {
-              return mod["default"];
+              var _mod$default;
+
+              var actualModule = (_mod$default = mod["default"]) !== null && _mod$default !== void 0 ? _mod$default : mod;
+
+              if (actualModule.name != null && actualModule.code != null && actualModule.codec == null) {
+                actualModule.codec = actualModule.code;
+              }
+
+              return actualModule;
             }), _ipldDeps$map2 = _toArray(_ipldDeps$map), ipld = _ipldDeps$map2[0], formats = _ipldDeps$map2.slice(1); // ipldEthereum is an Object, each key points to a ipld format impl

-            ipldEthereum = formats.pop();
-            formats.push.apply(formats, _toConsumableArray(Object.values(ipldEthereum))); // ipldJson uses the new format, use the conversion tool
+            _context4.next = 6;
+            return import(
+            /* webpackChunkName: "ipld" */
+            'ipld-ethereum');
+
+          case 6:
+            ipldEthereum = _context4.sent;
+            formats.push.apply(formats, _toConsumableArray(Object.values((_ipldEthereum$default = ipldEthereum["default"]) !== null && _ipldEthereum$default !== void 0 ? _ipldEthereum$default : ipldEthereum))); // ipldJson uses the new format, use the conversion tool

-            _context4.next = 8;
+            _context4.next = 10;
             return import(
             /* webpackChunkName: "ipld" */
             '@ipld/dag-json');

-          case 8:
+          case 10:
             ipldJson = _context4.sent;
             formats.push(convert(ipldJson));
             return _context4.abrupt("return", {
@@ -432,7 +452,7 @@ function _getIpld() {
               formats: formats
             });

-          case 11:
+          case 13:
           case "end":
             return _context4.stop();
         }

but display name is still different from explore.ipld.io:
webui local changes

explore.ipld.io

From debugging this is due to codec numbers being used instead of names at https://github.com/ipfs/ipld-explorer-components/blob/23cf07da8a78b1d6d9aaa20a8e5a32ef42936ad8/src/components/object-info/ObjectInfo.js#L18-L29
working on a patch (and then a PR to ipld-explorer-components)

Fixed block naming with
diff --git a/node_modules/ipld-explorer-components/dist/components/object-info/ObjectInfo.js b/node_modules/ipld-explorer-components/dist/components/object-info/ObjectInfo.js
index c4bcf4e..cd8112e 100644
--- a/node_modules/ipld-explorer-components/dist/components/object-info/ObjectInfo.js
+++ b/node_modules/ipld-explorer-components/dist/components/object-info/ObjectInfo.js
@@ -15,6 +15,7 @@ import { withTranslation } from 'react-i18next';
 import { ObjectInspector, chromeLight } from '@tableflip/react-inspector';
 import filesize from 'filesize';
 import LinksTable from './LinksTable';
+import multicodec from 'multicodec';
 var humansize = filesize.partial({
   round: 0
 });
@@ -77,16 +78,30 @@ var nodeStyles = {
     color: '#383838'
   }
 };
+/**
+ * Support getting the style object for a node type using the codec number by redirecting the number to the name
+ */
+
+var nodeStylesProxy = new Proxy(nodeStyles, {
+  get: function get(target, prop) {
+    if (isNaN(prop)) {
+      return target[prop];
+    }
+
+    console.log("getting codec name from code number for ".concat(prop, ": "), multicodec.getNameFromCode(prop));
+    return target[multicodec.getNameFromCode(prop)];
+  }
+});
 export function shortNameForNode(type) {
-  var style = nodeStyles[type];
+  var style = nodeStylesProxy[type];
   return style && style.shortName || 'DAG';
 }
 export function nameForNode(type) {
-  var style = nodeStyles[type];
+  var style = nodeStylesProxy[type];
   return style && style.name || 'DAG Node';
 }
 export function colorForNode(type) {
-  var style = nodeStyles[type];
+  var style = nodeStylesProxy[type];
   return style && style.color || '#ea5037';
 } // '/a/b' => ['$', '$.a', '$.a.b']
 // See: https://github.com/xyc/react-inspector#api

npm run test is succeeding fully again

npm run test-storybook:ci succeeding. rebasing and opening PR


Feature Request: Fixed size annotations

I think I can hack together something for this, but it would be great if I could force certain annotations to be a fixed size. In our use case, we want to have very very consistent image tags, so removing the user's ability to set or resize would be great.
I would picture it as a button outside of the annotation where I can programmatically include an annotation config option with height, width, and resizable on options?
if resize is false AND:

you set a static height, it cannot be changed
you set a static width, it cannot be changed

if resize is true and either is set, it is the initial value but can be changed.
If you think this would be useful I would actually love to attempt to contribute a change for it.
The workaround I can think of now is subscribing to an event, seeing if the annotation label matches one of our fixed size options, and forcing the size in the event the user has attempted to resize.

I agree, this could be useful to others. I wouldn't see it as a core feature though. IMO this would work really well as a plugin.
The workaround you're suggesting would currently work I think. It's not possible to update the shape programmatically while the annotation is being edited. The way to do it would be to write your own tool (something like a "Fixed Size Rectangle Tool" plugin). That would take pre-set width and height as config options, and only allow move when it's being edited, but not resize.
The Selector Pack provides a basic framework + examples for how to build tool plugins. The original rectangle plugin is part of the core codebase here, and should be reusable almost completely.

awesome. thanks for the quick reply. I'll take some time to look into this. this is a super cool project and your responsiveness is WILD.
let me poke around a bit and see if I can come up with something! I may have a little time this weekend to get my feet wet, but my schedule is a little crazy sometimes


⚠ Bofrost.be has degraded performance

In 7c760ba, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1252 ms

Resolved: Bofrost.be performance has improved in be7300d after 17 minutes.


Clearer printing of ADTs

Currently, the printing of ADTs is a bit messy:
julia> using Moshi.Data: @data

julia> @data List{T} begin
           Nil
           Cons(T, List{T})
       end
Main.List

julia> foldr(List.Cons, 1:3, init=List.Nil{Int}())
Main.List.Type{Int64}(Main.List.var"##Storage#Cons"{Int64}(1, Main.List.Type{Int64}(Main.List.var"##Storage#Cons"{Int64}(2, Main.List.Type{Int64}(Main.List.var"##Storage#Cons"{Int64}(3, Main.List.Type{Int64}(Main.List.var"##Storage#Nil"{Int64}())))))))

For reference, this is how I print this with SumTypes.jl:
julia> using SumTypes

julia> @sum_type List{T} begin
           Nil
           Cons{T}(::T, ::List{T})
       end

julia> foldr(Cons, 1:3, init=List{Int}'.Nil)
Cons(1, Cons(2, Cons(3, Nil::List{Int64})::List{Int64})::List{Int64})::List{Int64}

Still not perfect, but it can at least be understood a bit better.

I have been back and forth on the printing format. I even had a pretty printer for this. Still, I decided to remove them later because I find it annoying to tell users that ADTs use a different interface (e.g show_variant) than regular Julia structs for pretty printing. This also creates a lot more complicated dispatch behavior when implementing custom printing.
The solution in Moshi is the same as rust, if you don't overload Base.show yourself, it is whatever Base.show provides.
However, you can use derive macro to do this for you via @derive List[Show]. Then you will get
julia> foldr(List.Cons, 1:3, init=List.Nil{Int}())
List.Cons{Int64}(1, List.Cons{Int64}(2, List.Cons{Int64}(3, List.Nil{Int64}())))

Ah nice.

Reopen for documentation.


Error prompt buttons "Quit" and "Use Input" crash

Summary
When inserting invalid revision numbers, the "Quit" and "Use Input" buttons on the error prompt will crash OFToast.

Step to reproduce

Launch OFToast
Navigate to Advanced.
Change the revision to update to a negative integer or version that's above the current one (ex. We are on revision 12, so 13 will crash).
Click Advanced again for the error prompt to appear.
Choose either Quit or Use Input.
Crash

What I expected
OFToast would be able to continue functionality and let me self-correct to a valid revision number.
What actually happened
OFToast fails to return back to the original input and crashes.
Additional information
This only works for negative integers and numbers above the current version.
The prompt does not appear when decimal numbers (ex. 11.2) or zero are inputs.
Inputs in this screen are not saved once crashing.
System Specifications

OFToast Version: v0.0.0-alpha1
OS: Fedora Linux 37 (KDE Plasma) (64 bit)
CPU: AMD Ryzen 5 2600 Six-Core
GPU: AMD Radeon RX 580 Series (polaris10, LLVM 15.0.7, DRM 3.49, 6.1.7-200.fc37.x86_64)
Driver Version: 4.6 (Compatibility Profile) Mesa 22.3.3
OpenGL Version: 4.6
Screen resolution: 1920x1080

As it turns out, this applies to more than just revision number and generally applies wherever the error prompt shows up.

Fixed in v0.0.0-alpha2.


All spellings of these identifiers converted to IfId, ifId, and IfIdType.
Also renamed instances of intfid to ifid for consistency.
Fixes #2639

This change is

Ok, so Go makes a special case for ID. I didn’t remember that given that it
is grammatical absurdity to treat it as an initialism. It is not; it is an
abbreviation. Anyway…. If we want to follow the go style guide why do we
have our own? I’ll take a look. We’d better agree (I thought we had as far
as this issue goes) before I mass-edit another 170 files.
JEAN-CHRISTOPHE HUGLY
Software Engineer
+41 79 455 68 69
@.*** @.***>
scion.org http://www.scion.org/
SCION Association https://www.linkedin.com/company/scion-association/
https://www.scion.org/
On Mon, 15 Jul 2024 at 09:26, Dominik Roos @.***> wrote:

@.**** commented on this pull request.
Fwiw, capital ID is required by https://go.dev/wiki/CodeReviewComments.
Reviewable
https://reviewable.io/reviews/scionproto/scion/4569#-:-O1pGwUk498Sb1DD2lW5:b9rbpjy
status: 0 of 78 files reviewed, 2 unresolved discussions (waiting on
@jiceatscion https://github.com/jiceatscion and @lukedirtwalker
https://github.com/lukedirtwalker)
—
Reply to this email directly, view it on GitHub
https://github.com/scionproto/scion/pull/4569#pullrequestreview-2177021358,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBLEYOAXMJ4EDX2L67QMCPLZMN2TBAVCNFSM6AAAAABKXFTDEOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCNZXGAZDCMZVHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

When looping over interfaces, identifier could just be called id

Nope, it can't, since Go requires that ID is upper case, it being an honorary initialism. I was about to give in to that suggestion when I took notice. Should we just make that "i"? (Sigh... No-one can win at this game... Godel's theorem is probably applicable to naming schemes).
In the mean-time, updated our style guide and the code to reflect what I think is the result of our present conventions.


Tailwind custom component css live reload not working

What version of Hugo are you using (hugo version)?

$ hugo version v0.112.1

Hey, thanks for introducing Tailwindcss v3 support with Hugo. I try it, and it's working expectedly in the Html. but it's not live-reloading when I change the CSS in style.css. like I made a custom component and apply style on it. but it's not working until I close the server and re-run. here is a sample code that I tried
.custom {
    @apply text-teal-600;
  }

@layer components {
  .custom {
    @apply text-teal-600;
  }
}

Testing Tailwind 3 Features

Hey, thanks for your quick reply. when you want to create a custom component in TW, you actually need to define it in the @layer, take a look at the official docs.
and yes. I was actually testing it on your hugo-starter on my Mac. but it's not working actually. just apply the example that I provide
in your index.html

Testing Tailwind 3 Features

in your style.css
@layer components {
  .custom {
    @apply text-teal-600;
  }
}

And, it actually works, when I remove these 3 cachebusters
  [[build.cachebusters]]
    source = "(postcss|tailwind)\\.config\\.js"
    target = "css"
  [[build.cachebusters]]
    source = "assets/.*\\.(js|ts|jsx|tsx)"
    target = "js"
  [[build.cachebusters]]
    source = "assets/.*\\.(.*)$"
    target = "$1"

Hey, thanks for your quick reply. when you want to create a custom component in TW, you actually need to define it in the @layer, take a look at the official docs.

OK, thanks for that, I need to reed up on that, but as I understand it these @layers is just a way to signal order. And it still works on my PC.
I will keep this issue open to see if there's something to be improved upon here, but I will add:
[module]
  [module.hugoVersion]
    extended = false
    min      = "0.112.0"
  [[module.mounts]]
    source = "assets"
    target = "assets"
  [[module.mounts]]
    source = "hugo_stats.json"
    target = "assets/watching/hugo_stats.json"

[build]
  writeStats = true
  [[build.cachebusters]]
    source = "assets/watching/hugo_stats\\.json"
    target = "styles\\.css"
  [[build.cachebusters]]
    source = "(postcss|tailwind)\\.config\\.js"
    target = "css"
  [[build.cachebusters]]
    source = "assets/.*\\.(js|ts|jsx|tsx)"
    target = "js"
  [[build.cachebusters]]
    source = "assets/.*\\.(.*)$"
    target = "$1"

´``

Given the config above,

1. when you add a CSS class to your HTML template, there will be 2 build events in the console, 1 for the template part and the second for when the `hugo_stats.json` changes. This sounds a little funky, but it allows for non-Tailwind-template-edits without having to involve Tailwind.
2. Edits to your CSS file depends on the other cache busting rules to pick it up. Run with `hugo server --debug` and look for `cachebuster:` entries.

Hi, I have created a Hugo+tailwindcss theme with SCSS support based on Hugo's v0.112.3 version. it's working perfectly. here is the repo https://github.com/zeon-studio/hugoplate
should I submit it to your hugo themes directory? let me know what you think.

Hi, Thanks for your informative reply. I'll definitely try it out. In the meantime, you can simply run the theme like this:
git clone git@github.com:zeon-studio/hugoplate.git
cd hugoplate
npm install
npm run dev

and if you think I should submit it on your theme directory, please let me know.

Unable to reproduce as described with v0.112.5 and the hugoplate theme.

hey @jmooring
I didn't understand properly what you said, can you explain a little bit. thank you.


rubocops/caveats: Disallow ANSI escape codes

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Formula caveats text appears on formulae.brew.sh but escape characters, as used in ANSI escape codes, should not appear in HTML (see https://github.com/Homebrew/formulae.brew.sh/pull/680, https://github.com/Homebrew/homebrew-core/pull/120530). This PR adds a RuboCop to disallow escape characters in the caveats text.

Review period will end on 2023-01-17 at 06:32:01 UTC.

Review period skipped due to critical label.


Building binaries, not just packages?

Is there a way to build the binaries (executables and libraries), not just the deb or rpm, etc. packages? I dug into the Dockerfiles for centos and ubuntu, and both do their builds internally on scratch space, collecting just the .deb files for external consumption.
Can we include the binaries themselves? It is good that Dockerfile.centos uses CentOS to do a build, and also that it provides centos-compatible rpm packages, but it should be possible to get the binary artifacts themselves, not just the installation packages.
As it is, these already have to be built, so why not make them available?

Just run make.
git clone https://github.com/NVIDIA/libnvidia-container.git --depth=1
cd libnvidia-container
sudo apt install golang bmake m4;
make
make install prefix=/usr/local

Or do you mean to just have a binary in the release directory?

Actually, I rather like what you did (other than the apt install for dependencies, which assumes one is on apt-compatible system, but that can be abstracted away).
Can we add those to the instructions?


Add instance class to control the lifetime of all contexts

There is a clang format error by CI. Please double check.

Thanks, done.


Add configuration option for custom intercept logic.

I really want to integrate silk into our dev/staging environments but we need more fine-grained controls over when it is enabled. Let me know if you've been thinking of a better way to do this.

I think this is a great way of doing that, slots in nicely with everything else. Cheers!

Since I did this by passing a reference to the function this gets set when settings are imported and before  django has added the application name to the path. What this means is that you get import errors if you want to import any application specific code for this method.
I have a fix in which you pass a string referencing the file instead of the function itself (this is what the debug-toolbar does). Would you prefer for me to remove the pass by reference option or leave both?

@kkaehler woops :).
Yeah prob best to remove the pass by ref and make sure this is all documented rather than leave something in that could leave people confused ;)


Unable to click Import / Backup / Reset wallet

Hi @jdavidhuebner , please send your logs regarding the issue Unable to click Import / Backup / Reset wallet. May I suggest that you note down your wallet address for safe keeping, in case you face the another ongoing bug, and cannot backup wallet. Thank you.

Hi @jdavidhuebner , please send your logs regarding the issue Unable to click Import / Backup / Reset wallet. May I suggest that you note down your wallet address for safe keeping, in case you face the another ongoing bug, and cannot backup wallet. Thank you.


issue 18

prototype target attribute
support target attribute
improve documentation
improve documentation
version bump, build, and publish

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

Project coverage is 100.00%. Comparing base (3f1b1fc) to head (4b35743).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #19   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          297       357   +60
=========================================
+ Hits           297       357   +60

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


Fix Home Assistant state classes for rain "events"

Describe what the PR does:
A discussion with @Anto79-ops revealed that errors are logged when we use total_increasing Home Assistant state classes for rain events (sensors that calculate totals based on duration). From a discussion we read, it sounds like we should use total instead...so, that's what this PR does.
Does this fix a specific issue?
N/A
Checklist:

[x] Confirm that one or more new tests are written for the new functionality.
[x] Run tests and ensure everything passes (with 100% test coverage).
[ ] Update README.md with any new documentation.
[ ] Add yourself to AUTHORS.md.

@Anto79-ops, FYI ^^^. This won't be published into a new PyPI version just yet, but you can upgrade from the dev branch of this repo. Instructions here: https://adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/


415607E2 - Spider-Man 3

Validation

[X] I've read the FAQ.
[X] The Xenia build used is from a canary branch. (not MLBS/AlexVS/master/pull requests, etc)
[X] This issue isn't for help (tech support) with Xenia, or a game.
[X] I've checked if this game doesn't already have a compatibility report.

Xbox 360 Marketplace link
https://marketplace.xbox.com/en-US/Product/Spider-Man-3/66acd000-77fe-1000-9115-d802415607e2
Xenia version
https://github.com/xenia-canary/xenia-canary/commit/97d36d6bcce6fd60952c9d6172d98a24c50e0232/
Issues
Overall the game is in a playable state, however there's a major lighting issue which can only be resolved by enabling readback resolve which caps the game at 30 FPS. Seeing i.e. Nier has a patch removing such cap it would be great to possibly have it for SM3
Log
xenia.zip
Screenshots

Labels
state-playable gpu-readback gpu-shader-errors

Tested on: https://github.com/xenia-canary/xenia-canary/commit/3675d6a6b119fb384a8dd21b1b5bd0d8f6829019
Finished tutorial, swung around the New York for about 3 minutes. FPS in 60-90 range with shaders cached, vsync disabled and readback_resolve enabled. Standing at the top of a building and looking at the edge of a map well over 100 FPS. Definitely not capped at 30.

Tested on: xenia-canary/xenia-canary@3675d6a
Finished tutorial, swung around the New York for about 3 minutes. FPS in 60-90 range with shaders cached, vsync disabled and readback_resolve enabled. Standing at the top of a building and looking at the edge of a map well over 100 FPS. Definitely not capped at 30.

My hardware really isn't as up-to-date (Xeon E3-1270 v3, GTX 1070, 16GB RAM), without readback resolve and vsync disabled I get around 60-70FPS when swinging around the city and above 100 FPS when standing at the top of higher buildings, it's equal to my performance in SM3 PC version with removed 30FPS cap. With RR however it's 30-40FPS when swinging and barely more than 40FPS when standing at the top of a building. May shader caching have anything to do with this? I only have the cache stored in cache_host folder, from what I read there's no pre-caching feature in Xenia. Also is there a chance you have some performance optimizations enabled in your Xenia config?

With RR however it's around 30FPS (could say stable 30) when swinging and 35-40FPS when standing at the top of a building

Well you said it yourself, it's not capped at 30FPS. Readback_resolve is one of the most demanding settings, that's why performance takes a big hit. Shader cache is automatic, what I meant by that is recorded FPS in my screenshots were not taken during shader compilation (it may stutter quite a bit at first). I was using default config with vsync disabled and readback_resolve enabled.


[fmt:x64-windows] customized triplet build failure

Host Environment

OS: [Windows 10]
Compiler: vs2015+win10 SDK

To Reproduce
Steps to reproduce the behavior:
vcpkg.exe install openimageio[opencolorio,pybind11,tools]:x64-windows
Failure logs
Starting package 68/88: fmt:x64-windows
Building package fmt[core]:x64-windows...
Could not locate cached archive: C:\Users\david\AppData\Local\vcpkg\archives\09\098304118bf6cc4d4193890032dede99aa44ba29.zip
-- Downloading https://github.com/fmtlib/fmt/archive/cd4af11efc9c622896a3e4cb599fa28668ca3d05.tar.gz... -- Extracting source D:/_DEV/VCPKG/downloads/fmtlib-fmt-cd4af11efc9c622896a3e4cb599fa28668ca3d05.tar.gz -- Applying patch fix-warning4189.patch
-- Using source at D:/_DEV/VCPKG/buildtrees/fmt/src/8668ca3d05-7f40cec0ee.clean
-- Configuring x64-windows
-- Building x64-windows-rel
-- Installing: D:/_DEV/VCPKG/packages/fmt_x64-windows/share/fmt/copyright
-- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz...
-- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>06.c9a21571-1-any.pkg.tar.zst...
-- Fixing pkgconfig file: D:/_DEV/VCPKG/packages/fmt_x64-windows/lib/pkgconfig/fmt.pc
CMake Error at scripts/cmake/vcpkg_replace_string.cmake:11 (file):
  file failed to open for reading (No such file or directory):

    D:/_DEV/VCPKG/packages/fmt_x64-windows/share/fmt/fmt-targets-debug.cmake
Call Stack (most recent call first):
  ports/fmt/portfile.cmake:54 (vcpkg_replace_string)
  scripts/ports.cmake:79 (include)

Error: Building package fmt:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: fmt:x64-windows
  Vcpkg version: 2020.06.15-nohash

Additionally, attach any relevant sections from the log files above.

Additional context

I added set(VCPKG_BUILD_TYPE release) to x64-windows.cmake triplet

@david-maus Any news/update on this open issue?


Removing internal buffering from pipes

This fixes #123 and addresses a serious bug in how data is pushed into streams.  Previously, when the controller pushed a DataBuffer into a stream, and the receiving side of the pipe could not immediately process the data, the pipe would copy the buffer and queue it, while the controller would see that as a success and thus toss the DataBuffer.  However, it's possible that the DataBuffer contained both the end of that stream as well as the beginning of the next stream.  Since the receiver would just ignore the extra data, the data would be lost forever.
This PR almost completely changes the semantics of pipes such that they are more of a synchronization mechanism now than an intermediary buffer.  The removal of any internal buffering totally eliminates the above problem as well as another issue dealing with the unnecessary copying of DataBuffers and worrying about queue sizes.  Now any backpressure is immediately escalated to the controller.

Pipes are now implemented as a state machine.
Since there is no internal buffering, pushing a value into a pipe only succeeds if the puller has already made a request.  The return PushResult of a push operation then depends on whether the puller's callback calls pull again or complete.  Therefore, with every push operation, the pusher will know both the success of the push and whether the pipe is able to receive more data based only on the return value.

I think there are two more things that need to be done.

FiniteBytePipe still does some DataBuffer copying, and it does some crazy logic to avoid doing it when it doesn't have to.  If we supply a way to "slice" a DataBuffer, all that will be eliminated.
We might want to change the signature of the pull callback, such that it's return value is an ADT rather than Unit, with values like Pull, PullWith(new_callback), or Complete.  This would totally break the ability to turn the pull method into returning a callback, but I think this is not important.  It's more likely users will either want to loop over all the items being pulled, or use a callback just to fold the stream into a single value, which will still be doable.

pretty big PR..but I think it looks ok..nothing stood out to me.  I did notice that you changed the StreamingHttpResponse.fromStatic..was that for an unrelated bug?

:100:

Yeah that's because you can no longer push to a pipe right after creating it.  Easier just to create it as a Source.one.  I almost think we might want to change the name Pipe to something else, since its semantics are quite different from e.g. a unix pipe, but for now whatever.


Deferrable column option

While using sqlparser-rs to parse schema from a Django SQLite database I found that deferrable wasn't handled.
Since it exists here: https://jakewheat.github.io/sql-overview/sql-2016-foundation-grammar.html#_10_8_constraint_name_definition_and_constraint_characteristics I assume it's reasonable for inclusion.
Happy to make changes to the PR as required, relatively new to rust so I'm well aware I may have style/common practice issues.

Marking this as a draft to show it is waiting some changes so I can easily filter out which PRs need review. Please mark it as "ready for review" when it is next ready.

Closing as stale -- please reopen if you still plan to work on it


Release on npm

release v3.0.0 on npm and tag in github releases.

What's your npm username? I'll add you to the owner list so you can publish.


fix: Scan Filters not honoured in dataflow run

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #4010 ☕
https://github.com/googleapis/java-bigtable-hbase/issues/4010
If you write sample code, please follow the samples format.

Hi abhishek-indihood@, thanks for the PR. This issue should be fixed since version 2.7.3 https://github.com/googleapis/java-bigtable-hbase/pull/3901.


Added markdown&divider to test collapsebox&divider

Divider and Markdown have been added for CollapseBox and Divider format UI validation.

Does this cover HELPS-117 too? Or will there be a test that covers that one as well?

Can you add the HELPS card # to the title of this PR so we can see which card it is related to?


default network interface is hardcoded

The default network interface is hardcoded in defaults/main.yml
https://github.com/fgierlinger/ansible-role-docker-swarm/blob/412b4cd5dadb9f3c38eb14f98c77fdf695415537/defaults/main.yml#L3-L4
The default network is not always called eth0. Better use ansible_default_ipv4.alias as default and if not set, fall back to eth0.

Closed with #8


Dark mode not working on testimonial page

@mrbhatt2348 , I would like to work on this issue under JWOC. Can you please assign it to me?

@mrbhatt2348 bro, Should i add the dark mode between card also?


Solution is too easy to infer

First query is too revealing, just leave "SELECT * FROM sqlite_master", you can see trigger with response clearly hex-ed, just search for "online hex to ascii" and here it is.
Using hash would be a bit better, but still not ideal for limited range of possible inputs.

We do use a hash, since #2. Honestly, we're not trying to bullet-proof the thing. It's a game for learning, so we just wanted to protect people from accidentally spoiling the puzzle.
But, y'know, we'll consider pull-requests, or even specific suggestions.

Hash is one way function, you don’t use one way function thus you do not use hashing. I’ll think about something more specific.

Please forgive my imprecision. The point being that we didn't want to accidentally reveal the answer to people who were still trying to find it through the intended means.
Frankly, I would be delighted to have people figure out how to hack the solution, that's another great learning experience.


ModuleInterface: Print -target-variant flag in .swiftinterface files

This is necessary to ensure that availability checks contained in inlined functions are compiled correctly for zippered modules when built from interface.
Resolves rdar://130094532.

@swift-ci please smoke test


Fix vulnerabilities - go-client and controller-runtime

Description

To fix the issue https://github.com/st-tech/gatling-operator/issues/52
Upgraded controller-runtime to the latest version, v0.12.1
Upgraded go version to 1.17
Upgraded go version used in CI to 1.17

Tested
Confirmed that

All testings code runs successfully
Gatling operator runs as expected throughout gatling load-testing

here is the test procedure
# create kind cluster
make kind-deploy
# deploy gatling operator-v0.5.2 to kind cluster
make kind-deploy
# deploy sample gatling CR to the cluster
make kind-sample-deploy

@akitok thanks for the review! I'll go ahead to merge this


EVAL/EVALSHA | Cluster mode | Wrong node infer

Description
EVAL && EVALSHA commands infers wrong node by key hash slot on cluster mode.
Usage in abstract:
const sha = /** sha of script that get some key */
const keys = ['1key']
const args = ['arg1', 'arg2']
await cluster.evalSha(sha, {
  keys,
  arguments: args
})

As of my understanding each command uses the FIRST_KEY_INDEX function that's defined in it's module and then based on that the node is inferred based on the hash slot of first key.
On file:
<EMAIL_ADDRESS>
There is generic function that is used to extract firstKey before inferring client pre command or after MOVE error.
    static extractFirstKey(command, originalArgs, redisArgs) {
        if (command.FIRST_KEY_INDEX === undefined) {
            return undefined;
        }
        else if (typeof command.FIRST_KEY_INDEX === 'number') {
            return redisArgs[command.FIRST_KEY_INDEX];
        }
        return command.FIRST_KEY_INDEX(...originalArgs);
    }

So, in addition to that, the EVAL && EVALSHA modules has this declaration for the function to use.
exports.FIRST_KEY_INDEX = generic_transformers_1.evalFirstKeyIndex;

While the function is:
function evalFirstKeyIndex(options) {
    return options?.keys?.[0];
}

So, in essence what happens is that the evalFirstKeyIndex gets options as a list and it does not having a keys object in it. maybe the second item in the list will have. as in the scope of the extractFirstKey fn the originalArgs is actualy the input of original evalSha call.
It causes the client to get undefined as firstKey so providing firstKey has no effect at all and then when running lua scripts you cannot provide hash keys to begin with which might cause unexpected errors and unresolvable failures.
I solved it in a dirty way just as a POC, I modified in EVALSHA module which is located in:
<EMAIL_ADDRESS>
This change:
// exports.FIRST_KEY_INDEX = generic_transformers_1.evalFirstKeyIndex;

// custom function for EVALSHA input...
function evalFirstKeyIndex(...args) {
    if (args && args.length > 0) {
        const options = args[1]
        if (options.keys && options.keys.length > 0) {
            return options.keys[0]
        }
    }
    return undefined
}
exports.FIRST_KEY_INDEX = evalFirstKeyIndex;

And it seem to solve the issue
Node.js Version
v20.11.0
Redis Server Version
7.2.2
Node Redis Version
<EMAIL_ADDRESS>Platform
Linux
Logs
No response

Seems like this bug is already fixed in v5
That's my version of not-so-elegant fix:
        // @ts-expect-error (break type of eval() command)
        client.eval = async (script: string, options: {keys: string[], arguments: string[]}) => {
            return await client.sendCommand(
                // @ts-expect-error (expected type is RedisCommandArgument)
                options.keys[0], // firstKey
                false,           // isReadonly
                ['EVAL', script, `${options.keys.length}`, ...options.keys, ...options.arguments]
            )
        }

It works in my case, and without forks


Fix case sensitive dictionary

Secret Manager was angry when rotating a secret, but it's because org names in AzDO are case sensitive. RIP.
https://github.com/dotnet/dnceng/issues/2902

/azp run


importing the ABCs deprecated

=============================== warnings summary ===============================
/home/studiogdo/.local/share/virtualenvs/coworks-C8kiIu6_/lib/python3.7/site-packages/flask_restful/init.py:17
/home/studiogdo/.local/share/virtualenvs/coworks-C8kiIu6_/lib/python3.7/site-packages/flask_restful/init.py:17: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Mapping
-- Docs: https://docs.pytest.org/en/latest/warnings.html

#835


🐞 Color scheme does not match settings When Cloudflare Page

Describe the bug
Color scheme does not match settings
To Reproduce
I set the color scheme as colorScheme = "Slate"
https://github.com/0000cd/character-prompts/blob/main/config/_default/params.toml
It is correct when previewing locally.
But after the Cloudflare Page is deployed, the color scheme becomes the default.
https://character-prompts.pages.dev/
Expected behavior
I want the color scheme after deployment should be Slate
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS] Windows11
Browser Firefox
Version 112.0b5

Hugo & Blowfish versions
v0.110.0 v2.31.2
Additional context
Add any other context about the problem here.

try "slate"... next time search discussions first Cloudflare has some quirks with Hugo a couple of users already discussed some of this there


uppercase exists in this library?

How can I have an input with accept only alpha char in upperCase mode, with at least two words? (name and last name)?
Note: I'm using formik and yup, so my onChangeText is like:
onChangeText={formik.handleChange('name')}
Any ideia?

For the uppercase you could do this:
<TextInputMask
  options={{
    translation: {
      A: val => val.toUpperCase()
    }
  }}
/>

A convert alpha values to uppercase

Warning: translation sometimes break mask.
mask: "AA"

prevents from typing a non alpha char (as expected), but
mask: "AA",
translation: {
  A: val => val.toUpperCase()
}

allows to type numbers

+1

            onChangeText={(maskedText, rawText) => {
              setValue(rawText?.toUpperCase());
            }}

i can set to uppercase  in onChangeText


Make PostgresEncodingContext & PostgresDecodingContext public

Motivation
We want to open up our new API
Changes

Make PostgresEncodingContext public
Make PostgresDecodingContext public

Result
Smaller future open up PRs.

Codecov Report

Merging #243 (4ed26fa) into main (d16467d) will increase coverage by 4.04%.
The diff coverage is 100.00%.

:exclamation: Current head 4ed26fa differs from pull request most recent head 0470672. Consider uploading reports for the commit 0470672 to get more accurate results

@@            Coverage Diff             @@
##             main     #243      +/-   ##
==========================================
+ Coverage   39.56%   43.60%   +4.04%
==========================================
  Files         115      115
  Lines        9478     9485       +7
==========================================
+ Hits         3750     4136     +386
+ Misses       5728     5349     -379

Flag
Coverage Δ

unittests
43.60% <100.00%> (+4.04%)
:arrow_up:

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

Impacted Files
Coverage Δ

Sources/PostgresNIO/New/PostgresCodable.swift
91.66% <100.00%> (ø)

...ces/PostgresNIO/New/PostgresRow-multi-decode.swift
4.44% <0.00%> (+0.19%)
:arrow_up:

...es/PostgresNIO/Connection/PostgresConnection.swift
11.83% <0.00%> (+0.75%)
:arrow_up:

Sources/PostgresNIO/Data/PostgresRow.swift
50.00% <0.00%> (+1.02%)
:arrow_up:

...s/PostgresNIO/New/Data/Array+PostgresCodable.swift
94.68% <0.00%> (+1.06%)
:arrow_up:

...rces/PostgresNIO/New/Extensions/Logging+PSQL.swift
19.60% <0.00%> (+1.42%)
:arrow_up:

...ostgresNIO/Deprecated/PostgresMessageDecoder.swift
95.45% <0.00%> (+2.27%)
:arrow_up:

...es/PostgresNIO/New/PSQLBackendMessageDecoder.swift
93.28% <0.00%> (+2.98%)
:arrow_up:

...urces/PostgresNIO/New/Messages/ErrorResponse.swift
32.30% <0.00%> (+3.07%)
:arrow_up:

Sources/PostgresNIO/New/PostgresCell.swift
96.77% <0.00%> (+3.22%)
:arrow_up:

... and 21 more


How to run MESSAGE-Macro

I have been running a MESSAGE model in Jupyter notebook using scenario.solve(). This just does a MESSAGE stand-alone run. I cannot find in the tutorial how to run it with macro. Sorry if this is a simple question, help appreciated.

This is a result of #315; please see https://github.com/iiasa/message_ix/issues/315#issuecomment-641836610 for a suggestion.


haskellPackages.haddock-api-2.22.0 fails to build

Describe the bug
When trying to build my Haskell development from nixpkgs revision  10100a97c8964e82b30f180fda41ade8e6f69e41, a build failure of haddock-api causes the build to fail.
(I suppose that haddock-api is pulled in by the hoogle integration of haskellPackages.shellFor)
One of the build errors is

Expected a type, but ‘Hyperlink’ has kind ‘* -> *’
which might make it related to #84563.

To Reproduce
my default.nix:

{ pkgs ? import (
  builtins.fetchGit {
    name = "nixpkgs-pinned";
    url = https://github.com/NixOS/nixpkgs/;
    #ref = "refs/heads/release-20.03";
    rev = "10100a97c8964e82b30f180fda41ade8e6f69e41";
  }) {},
  compiler ? "ghc865"
}:

let
  hp = pkgs.haskell.packages."${compiler}";
  src = pkgs.nix-gitignore.gitignoreSource [] ./.;
  drv = hp.callCabal2nix "Hash2Pub" "${src}/Hash2Pub.cabal" {};
in
{
  my_project = drv;
  shell = hp.shellFor {
    withHoogle = true;
    packages = p: [ drv ];
    buildInputs = with hp;
      [
        haddock
        cabal-install
        hlint
      ];
  };
}

my shell.nix:

(import ./default.nix {}).shell

full build log with errors:

building '/nix/store/gzkf3fg5zcx507di355lv51qaa4ki9kb-cabal2nix-Hash2Pub.drv'...
installing
these derivations will be built:
  /nix/store/h7a25spvs02wnczl4vmfcivmsyr5y384-singleton-bool-0.1.5.drv
  /nix/store/98rdxdkg6m9m8jqpmiv3v2rvyyqc87fg-lukko-<IP_ADDRESS>.drv
  /nix/store/5pm2483fc2q2kbfkfbs09crz6mqpf7n4-hackage-security-<IP_ADDRESS>.drv
  /nix/store/5sj0khag976lmmrgb7s4kjw37ab6dsjz-haddock-api-2.22.0.drv
  /nix/store/9nw2ldxsfiar3kza3kgzh47nwx5l9ad3-haskell-src-exts-util-0.2.5.drv
  /nix/store/wpi25ld20579ivk5k0h4201kyi5qkaxi-resolv-<IP_ADDRESS>.drv
  /nix/store/9vrkfadjd0yb10mlfdxv9irnf5qvm84z-cabal-install-<IP_ADDRESS>.drv
  /nix/store/d6fd7d9wm18j4845imgy0f4k6j8b5ijj-hscolour-1.24.4.drv
  /nix/store/wgr27xs77lwgzw8bkwh39vb1idjcm6yk-refact-<IP_ADDRESS>.drv
  /nix/store/hyrf9z41zw818ymwhw5qv6s98b8qy70v-hlint-2.2.11.drv
  /nix/store/y48nrmfc5nbjlr31gi7r16f3lfkl7h9m-haddock-2.22.0.drv
building '/nix/store/5sj0khag976lmmrgb7s4kjw37ab6dsjz-haddock-api-2.22.0.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/c1zpndaxjvdzgygz8kzlbz3k53bmnh01-ghc-8.6.5.
unpacking sources
unpacking source archive /nix/store/psc0vf1mvy0s7j6c64vhd8fqzak4c9vx-haddock-api-2.22.0.tar.gz
source root is haddock-api-2.22.0
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file haddock-api-2.22.0/test/Spec.hs
patching sources
Run jailbreak-cabal to lift version restrictions on build inputs.
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/setup-package.conf.d -j4 -threaded
[1 of 1] Compiling Main             ( Setup.lhs, /build/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/hyai714c2xcrq1qym9wa5ldxda2mdlsg-haddock-api-2.22.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --datadir=/nix/store/rphz7wr47l5hgzzxd6a86xd9l79bsrp0-haddock-api-2.22.0-data/share/ghc-8.6.5 --with-gcc=gcc --package-db=/build/package.conf.d --ghc-option=-j4 --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --ghc-option=-split-sections --extra-lib-dirs=/nix/store/0i4wbhkj6663nlh63ydhr01vx8w90s49-ncurses-6.2/lib --extra-lib-dirs=/nix/store/dfs0i8z58m64zak8102hf7g0w9skhdw6-libffi-3.3/lib --extra-lib-dirs=/nix/store/js28swbiimjvd139x6kr7nc68s81fdg6-gmp-6.2.0/lib --extra-lib-dirs=/nix/store/c1zpndaxjvdzgygz8kzlbz3k53bmnh01-ghc-8.6.5/lib --extra-lib-dirs=/nix/store/c1zpndaxjvdzgygz8kzlbz3k53bmnh01-ghc-8.6.5/lib
Using Parsec parser
Configuring haddock-api-2.22.0...
Dependency Cabal -any: using Cabal-<IP_ADDRESS>
Dependency array -any: using array-<IP_ADDRESS>
Dependency base -any: using base-<IP_ADDRESS>
Dependency bytestring -any: using bytestring-<IP_ADDRESS>
Dependency containers -any: using containers-<IP_ADDRESS>
Dependency deepseq -any: using deepseq-<IP_ADDRESS>
Dependency directory -any: using directory-<IP_ADDRESS>
Dependency filepath -any: using filepath-<IP_ADDRESS>
Dependency ghc -any: using ghc-8.6.5
Dependency ghc-boot -any: using ghc-boot-8.6.5
Dependency ghc-paths -any: using ghc-paths-<IP_ADDRESS>
Dependency haddock-library -any: using haddock-library-1.8.0
Dependency transformers -any: using transformers-<IP_ADDRESS>
Dependency xhtml -any: using xhtml-3<IP_ADDRESS>
Dependency Cabal -any: using Cabal-<IP_ADDRESS>
Dependency QuickCheck -any: using QuickCheck-2.13.2
Dependency array -any: using array-<IP_ADDRESS>
Dependency base -any: using base-<IP_ADDRESS>
Dependency bytestring -any: using bytestring-<IP_ADDRESS>
Dependency containers -any: using containers-<IP_ADDRESS>
Dependency deepseq -any: using deepseq-<IP_ADDRESS>
Dependency directory -any: using directory-<IP_ADDRESS>
Dependency filepath -any: using filepath-<IP_ADDRESS>
Dependency ghc -any: using ghc-8.6.5
Dependency ghc-boot -any: using ghc-boot-8.6.5
Dependency ghc-paths -any: using ghc-paths-<IP_ADDRESS>
Dependency haddock-library -any: using haddock-library-1.8.0
Dependency hspec -any: using hspec-2.7.1
Dependency transformers -any: using transformers-<IP_ADDRESS>
Dependency xhtml -any: using xhtml-3<IP_ADDRESS>
Source component graph:
    component test:spec
    component lib
Configured component graph:
    component haddock-api-2.22.0-2lmia2N6GKM8MoiMFHHlTk-spec
        include Cabal-<IP_ADDRESS>
        include QuickCheck-2.13.2-BoBcmKmSgwjHIXfsnVFi8g
        include array-<IP_ADDRESS>
        include base-<IP_ADDRESS>
        include bytestring-<IP_ADDRESS>
        include containers-<IP_ADDRESS>
        include deepseq-<IP_ADDRESS>
        include directory-<IP_ADDRESS>
        include filepath-<IP_ADDRESS>
        include ghc-8.6.5
        include ghc-boot-8.6.5
        include ghc-paths-<IP_ADDRESS>-8MhNqRZlSJXAzmVO0F6ybT
        include haddock-library-1.8.0-19I3fmm32n5KCgLmD4fd7w
        include hspec-2.7.1-8nnxokyPwWC9FQ7e0xix8s
        include transformers-<IP_ADDRESS>
        include xhtml-3<IP_ADDRESS>
    component haddock-api-2.22.0-KoH34R8G4rW83rziiTkOOn
        include Cabal-<IP_ADDRESS>
        include array-<IP_ADDRESS>
        include base-<IP_ADDRESS>
        include bytestring-<IP_ADDRESS>
        include containers-<IP_ADDRESS>
        include deepseq-<IP_ADDRESS>
        include directory-<IP_ADDRESS>
        include filepath-<IP_ADDRESS>
        include ghc-8.6.5
        include ghc-boot-8.6.5
        include ghc-paths-<IP_ADDRESS>-8MhNqRZlSJXAzmVO0F6ybT
        include haddock-library-1.8.0-19I3fmm32n5KCgLmD4fd7w
        include transformers-<IP_ADDRESS>
        include xhtml-3<IP_ADDRESS>
Linked component graph:
    unit haddock-api-2.22.0-2lmia2N6GKM8MoiMFHHlTk-spec
        include Cabal-<IP_ADDRESS>
        include QuickCheck-2.13.2-BoBcmKmSgwjHIXfsnVFi8g
        include array-<IP_ADDRESS>
        include base-<IP_ADDRESS>
        include bytestring-<IP_ADDRESS>
        include containers-<IP_ADDRESS>
        include deepseq-<IP_ADDRESS>
        include directory-<IP_ADDRESS>
        include filepath-<IP_ADDRESS>
        include ghc-8.6.5
        include ghc-boot-8.6.5
        include ghc-paths-<IP_ADDRESS>-8MhNqRZlSJXAzmVO0F6ybT
        include haddock-library-1.8.0-19I3fmm32n5KCgLmD4fd7w
        include hspec-2.7.1-8nnxokyPwWC9FQ7e0xix8s
        include transformers-<IP_ADDRESS>
        include xhtml-3<IP_ADDRESS>
    unit haddock-api-2.22.0-KoH34R8G4rW83rziiTkOOn
        include Cabal-<IP_ADDRESS>
        include array-<IP_ADDRESS>
        include base-<IP_ADDRESS>
        include bytestring-<IP_ADDRESS>
        include containers-<IP_ADDRESS>
        include deepseq-<IP_ADDRESS>
        include directory-<IP_ADDRESS>
        include filepath-<IP_ADDRESS>
        include ghc-8.6.5
        include ghc-boot-8.6.5
        include ghc-paths-<IP_ADDRESS>-8MhNqRZlSJXAzmVO0F6ybT
        include haddock-library-1.8.0-19I3fmm32n5KCgLmD4fd7w
        include transformers-<IP_ADDRESS>
        include xhtml-3<IP_ADDRESS>
        Documentation.Haddock=haddock-api-2.22.0-KoH34R8G4rW83rziiTkOOn:Documentation.Haddock
Ready component graph:
    definite haddock-api-2.22.0-KoH34R8G4rW83rziiTkOOn
        depends Cabal-<IP_ADDRESS>
        depends array-<IP_ADDRESS>
        depends base-<IP_ADDRESS>
        depends bytestring-<IP_ADDRESS>
        depends containers-<IP_ADDRESS>
        depends deepseq-<IP_ADDRESS>
        depends directory-<IP_ADDRESS>
        depends filepath-<IP_ADDRESS>
        depends ghc-8.6.5
        depends ghc-boot-8.6.5
        depends ghc-paths-<IP_ADDRESS>-8MhNqRZlSJXAzmVO0F6ybT
        depends haddock-library-1.8.0-19I3fmm32n5KCgLmD4fd7w
        depends transformers-<IP_ADDRESS>
        depends xhtml-3<IP_ADDRESS>
    definite haddock-api-2.22.0-2lmia2N6GKM8MoiMFHHlTk-spec
        depends Cabal-<IP_ADDRESS>
        depends QuickCheck-2.13.2-BoBcmKmSgwjHIXfsnVFi8g
        depends array-<IP_ADDRESS>
        depends base-<IP_ADDRESS>
        depends bytestring-<IP_ADDRESS>
        depends containers-<IP_ADDRESS>
        depends deepseq-<IP_ADDRESS>
        depends directory-<IP_ADDRESS>
        depends filepath-<IP_ADDRESS>
        depends ghc-8.6.5
        depends ghc-boot-8.6.5
        depends ghc-paths-<IP_ADDRESS>-8MhNqRZlSJXAzmVO0F6ybT
        depends haddock-library-1.8.0-19I3fmm32n5KCgLmD4fd7w
        depends hspec-2.7.1-8nnxokyPwWC9FQ7e0xix8s
        depends transformers-<IP_ADDRESS>
        depends xhtml-3<IP_ADDRESS>
Using Cabal-<IP_ADDRESS> compiled by ghc-8.6
Using compiler: ghc-8.6.5
Using install prefix:
/nix/store/hyai714c2xcrq1qym9wa5ldxda2mdlsg-haddock-api-2.22.0
Executables installed in:
/nix/store/hyai714c2xcrq1qym9wa5ldxda2mdlsg-haddock-api-2.22.0/bin
Libraries installed in:
/nix/store/hyai714c2xcrq1qym9wa5ldxda2mdlsg-haddock-api-2.22.0/lib/ghc-8.6.5/x86_64-linux-ghc-8.6.5/haddock-api-2.22.0-KoH34R8G4rW83rziiTkOOn
Dynamic Libraries installed in:
/nix/store/hyai714c2xcrq1qym9wa5ldxda2mdlsg-haddock-api-2.22.0/lib/ghc-8.6.5/x86_64-linux-ghc-8.6.5
Private executables installed in:
/nix/store/hyai714c2xcrq1qym9wa5ldxda2mdlsg-haddock-api-2.22.0/libexec/x86_64-linux-ghc-8.6.5/haddock-api-2.22.0
Data files installed in:
/nix/store/rphz7wr47l5hgzzxd6a86xd9l79bsrp0-haddock-api-2.22.0-data/share/ghc-8.6.5/x86_64-linux-ghc-8.6.5/haddock-api-2.22.0
Documentation installed in:
/nix/store/rphz7wr47l5hgzzxd6a86xd9l79bsrp0-haddock-api-2.22.0-data/share/ghc-8.6.5/doc/x86_64-linux-ghc-8.6.5/haddock-api-2.22.0
Configuration files installed in:
/nix/store/hyai714c2xcrq1qym9wa5ldxda2mdlsg-haddock-api-2.22.0/etc
No alex found
Using ar found on system at:
/nix/store/sq2b0dqlq243mqn4ql5h36xmpplyy20k-binutils-2.31.1/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 9.3.0 given by user at:
/nix/store/x9vxn05bn19wn2mzn6d4h56glbd02pyr-gcc-wrapper-9.3.0/bin/gcc
Using ghc version 8.6.5 found on system at:
/nix/store/c1zpndaxjvdzgygz8kzlbz3k53bmnh01-ghc-8.6.5/bin/ghc
Using ghc-pkg version 8.6.5 found on system at:
/nix/store/c1zpndaxjvdzgygz8kzlbz3k53bmnh01-ghc-8.6.5/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.22.0 found on system at:
/nix/store/c1zpndaxjvdzgygz8kzlbz3k53bmnh01-ghc-8.6.5/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/c1zpndaxjvdzgygz8kzlbz3k53bmnh01-ghc-8.6.5/bin/hpc
Using hsc2hs version 0.68.5 found on system at:
/nix/store/c1zpndaxjvdzgygz8kzlbz3k53bmnh01-ghc-8.6.5/bin/hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/ynyqybiwjvkmr8bkhgsr3j6khwmk7zyb-hscolour-1.24.4/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/rnry29lhl0gvmqgb1kzngxgkpmv9rn31-binutils-wrapper-2.31.1/bin/ld.gold
No pkg-config found
Using runghc version 8.6.5 found on system at:
/nix/store/c1zpndaxjvdzgygz8kzlbz3k53bmnh01-ghc-8.6.5/bin/runghc
Using strip version 2.31 found on system at:
/nix/store/sq2b0dqlq243mqn4ql5h36xmpplyy20k-binutils-2.31.1/bin/strip
Using tar found on system at:
/nix/store/g17n49rfl1zmcd1cc6p0gbsdj6pl0hd1-gnutar-1.32/bin/tar
No uhc found
building
Preprocessing library for haddock-api-2.22.0..
Building library for haddock-api-2.22.0..
[ 1 of 41] Compiling Haddock.Backends.HaddockDB ( src/Haddock/Backends/HaddockDB.hs, dist/build/Haddock/Backends/HaddockDB.o )
[ 2 of 41] Compiling Haddock.Backends.Hyperlinker.Types ( src/Haddock/Backends/Hyperlinker/Types.hs, dist/build/Haddock/Backends/Hyperlinker/Types.o )
[ 3 of 41] Compiling Haddock.Backends.Hyperlinker.Parser ( src/Haddock/Backends/Hyperlinker/Parser.hs, dist/build/Haddock/Backends/Hyperlinker/Parser.o )
[ 4 of 41] Compiling Haddock.Backends.Xhtml.Types ( src/Haddock/Backends/Xhtml/Types.hs, dist/build/Haddock/Backends/Xhtml/Types.o )
[ 5 of 41] Compiling Haddock.Parser   ( src/Haddock/Parser.hs, dist/build/Haddock/Parser.o )

src/Haddock/Parser.hs:32:45: error:
    • Couldn't match type ‘Maybe RdrName’
                     with ‘String -> Maybe RdrName’
      Expected type: Namespace -> String -> Maybe RdrName
        Actual type: String -> Maybe RdrName
    • Possible cause: ‘parseIdent’ is applied to too many arguments
      In the first argument of ‘P.overIdentifier’, namely
        ‘(parseIdent d)’
      In the first argument of ‘overDoc’, namely
        ‘(P.overIdentifier (parseIdent d))’
      In the first argument of ‘(.)’, namely
        ‘overDoc (P.overIdentifier (parseIdent d))’
   |
32 | parseParas d p = overDoc (P.overIdentifier (parseIdent d)) . P.parseParas p
   |                                             ^^^^^^^^^^^^

src/Haddock/Parser.hs:35:35: error:
    • Couldn't match type ‘Maybe RdrName’
                     with ‘String -> Maybe RdrName’
      Expected type: Namespace -> String -> Maybe RdrName
        Actual type: String -> Maybe RdrName
    • Possible cause: ‘parseIdent’ is applied to too many arguments
      In the first argument of ‘P.overIdentifier’, namely
        ‘(parseIdent d)’
      In the first argument of ‘(.)’, namely
        ‘P.overIdentifier (parseIdent d)’
      In the expression: P.overIdentifier (parseIdent d) . P.parseString
   |
35 | parseString d = P.overIdentifier (parseIdent d) . P.parseString
   |                                   ^^^^^^^^^^^^
[ 6 of 41] Compiling Haddock.Syb      ( src/Haddock/Syb.hs, dist/build/Haddock/Syb.o )
[ 7 of 41] Compiling Haddock.Backends.Hyperlinker.Ast ( src/Haddock/Backends/Hyperlinker/Ast.hs, dist/build/Haddock/Backends/Hyperlinker/Ast.o )
[ 8 of 41] Compiling Haddock.Types    ( src/Haddock/Types.hs, dist/build/Haddock/Types.o )

src/Haddock/Types.hs:470:17: error:
    • Expecting one more argument to ‘Hyperlink’
      Expected a type, but ‘Hyperlink’ has kind ‘* -> *’
    • In the first argument of ‘NFData’, namely ‘Hyperlink’
      In the instance declaration for ‘NFData Hyperlink’
    |
470 | instance NFData Hyperlink where
    |                 ^^^^^^^^^
[35 of 41] Compiling Haddock.Utils.Json ( src/Haddock/Utils/Json.hs, dist/build/Haddock/Utils/Json.o )
[36 of 41] Compiling Paths_haddock_api ( dist/build/autogen/Paths_haddock_api.hs, dist/build/Paths_haddock_api.o )
[37 of 41] Compiling Haddock.Version  ( src/Haddock/Version.hs, dist/build/Haddock/Version.o )
[38 of 41] Compiling Haddock.Backends.Xhtml.Meta ( src/Haddock/Backends/Xhtml/Meta.hs, dist/build/Haddock/Backends/Xhtml/Meta.o )
builder for '/nix/store/5sj0khag976lmmrgb7s4kjw37ab6dsjz-haddock-api-2.22.0.drv' failed with exit code 1
cannot build derivation '/nix/store/y48nrmfc5nbjlr31gi7r16f3lfkl7h9m-haddock-2.22.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/9vrkfadjd0yb10mlfdxv9irnf5qvm84z-cabal-install-<IP_ADDRESS>.drv', '/nix/store/hyrf9z41zw818ymwhw5qv6s98b8qy70v-hlint-2.2.11.drv', '/nix/store/y48nrmfc5nbjlr31gi7r16f3lfkl7h9m-haddock-2.22.0.drv' failed

Additional context
Add any other context about the problem here.
Notify maintainers

Metadata

system: "x86_64-linux"
host os: Linux 5.4.33, NixOS, 20.03beta1405.a17e021b948 (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.4
channels(root): "home-manager, nixos-20.03beta1405.a17e021b948, nixos-unstable-20.09pre221706.b61999e4ad6"
channels(user): "home-manager"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

@schmittlauch Please feel free to send a PR fixing haddock-api here in nixpkgs.
Also, upstream may be interesting in hearing about this (depending on what the underlying cause of this build failure is).


Unable to use aws CLI when behind proxy

Hello,
The aws CLI is unable to request S3 API when behind a HTTP Proxy.
Things I needed to do manually inside the EC2 instance to allow aws CLI was to declare *_proxy env variables :

http_proxy : http://my-proxy:3128/
https_proxy : http://my-proxy:3128/
no_proxy : localhost,<IP_ADDRESS>,<IP_ADDRESS>

Is there a way to provide those environment variables via the Terraform module ?
Thanks for your answer !

Hello,
You can use extra_user_data_content to add these variables to the system environnement.

Oh yeah I missed that variable, thanks for the tips !


[STORM-1052] TridentKafkaState uses new Kafka Producer API

@HeartSaVioR  Can you please review this. Thanks.

@harshach Could you take a look?

@zhuoliu for trident we are sending the tuples as a batch and we would like to know if any of those tuples failed or any other errors occurred rather than wait for the callback. I think using get here is fine.

Thanks @harshach for the explanation! That makes good sense.

Hi @vesense The DisruptorQueue test bug has been fixed in another JIRA. Could you upmerge and trigger the CI again? This pull request looks good to me, I am +1 to merge it in as long as tests pass.

I just upmerged and ran the tests on this manually.  Everything looks good for me. I am +1 on merging this in @zhuoliu @harshach @HeartSaVioR do either of you have any more comments you would like to see addressed?

+1


pageserver - timeline metadata after layer eviction

Currently timeline metadata is only written after checkpoint. It's not even clear how to write metadata after eviction, because disk_consistent_lsn cannot be bumped.
cc @hlinnaka

Yeah, we cannot advance disk_consistent_lsn after evicting a layer, unless it happens to be the oldest layer for the timeline. That's OK. It just means that might do some unnecessary work after a crash, to reconstruct a layer from the WAL that we had already created and flushed to disk before the crash.


fix: Android build

What
This PR fixes Execution failed for task ':react-native-vision-camera:buildCMakeDebug[arm64-v8a]' error while building the project for Android platform.
Changes
Adds additional headers paths for react-native-reanimated starting from version 2.11.0.
Old version's header paths are left included, so backward compatibility is preserved.
Tested on

Nokia 8.3 5G
Simulator SDK 31

Related issues
Fixes [#1283]

Can anyone confirm this works? I tried this fix, but I'm still seeing
  ../../../../src/main/cpp/VisionCameraScheduler.h:7:10: fatal error: 'Scheduler.h' file not found
  #include "Scheduler.h"
           ^~~~~~~~~~~~~
  1 error generated.
  [2/10] Building CXX object CMakeFiles/VisionCamera.dir/src/main/cpp/VisionCamera.cpp.o

@BrianHannay Hi, can you please share your CMakeList.txt from Android folder, maybe only target_include_directories part?

For sure:
target_include_directories(
        ${PACKAGE_NAME}
        PRIVATE
        # --- fbjni ---
        "${LIBFBJNI_INCLUDE_DIR}"
        # --- Third Party (required by RN) ---
        "${BUILD_DIR}/third-party-ndk/boost"
        "${BUILD_DIR}/third-party-ndk/double-conversion"
        "${BUILD_DIR}/third-party-ndk/folly"
        "${BUILD_DIR}/third-party-ndk/glog"
        # --- React Native ---
        "${NODE_MODULES_DIR}/react-native/React"
        "${NODE_MODULES_DIR}/react-native/React/Base"
        "${NODE_MODULES_DIR}/react-native/ReactAndroid/src/main/jni"
        "${NODE_MODULES_DIR}/react-native/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni"
        "${NODE_MODULES_DIR}/react-native/ReactCommon"
        "${NODE_MODULES_DIR}/react-native/ReactCommon/callinvoker"
        "${NODE_MODULES_DIR}/react-native/ReactCommon/jsi"
        "${NODE_MODULES_DIR}/hermes-engine/android/include/"
        ${INCLUDE_JSI_CPP} # only on older RN versions
        ${INCLUDE_JSIDYNAMIC_CPP} # only on older RN versions
        # --- Reanimated ---
        "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/headers/AnimatedSensor"
        "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/headers/Tools"
        "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/headers/SpecTools"
        "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/headers/SharedItems"
        "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/headers/Registries"
        "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/headers/LayoutAnimations"
        "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/hidden_headers"
        "src/main/cpp"

        # TODO: remove this once we have a better solution for the reanimated headers
        # --- Reanimated ^2.11.0 quickfix ---
        "/react-native-reanimated/Common/cpp/AnimatedSensor"
        "/react-native-reanimated/Common/cpp/Tools"
        "/react-native-reanimated/Common/cpp/SpecTools"
        "/react-native-reanimated/Common/cpp/SharedItems"
        "/react-native-reanimated/Common/cpp/Registries"
        "/react-native-reanimated/Common/cpp/LayoutAnimations"
)

This does seem to have resolved the header import issue - I'm running into other problems now, but I believe they're unrelated to the issue this PR resolves. Thanks for the fix @amochkin!

Ah sorry I just realized I created the same fix in another PR

Thanks for your PR though, I'm closing this as I just merged the other one!


Remove any(map(...)) in case of unexpected return value

Signed-off-by: Kaiyuan Hu<EMAIL_ADDRESS>

Codecov Report

Merging #1276 (abb11e5) into main (2309962) will increase coverage by 0.21%.
The diff coverage is 100.00%.

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

@@            Coverage Diff             @@
##             main    #1276      +/-   ##
==========================================
+ Coverage   69.84%   70.06%   +0.21%
==========================================
  Files         265      265
  Lines       13212    13202      -10
  Branches     2182     2180       -2
==========================================
+ Hits         9228     9250      +22
+ Misses       3402     3371      -31
+ Partials      582      581       -1

Impacted Files
Coverage Δ

towhee/functional/mixins/column.py
86.95% <100.00%> (ø)

towhee/functional/mixins/save.py
100.00% <100.00%> (ø)

towhee/engine/operator_runner/runner_base.py
92.16% <0.00%> (+0.60%)
:arrow_up:

towhee/dataframe/dataframe.py
74.15% <0.00%> (+1.04%)
:arrow_up:

towhee/engine/operator_context.py
84.78% <0.00%> (+2.17%)
:arrow_up:

towhee/engine/graph_context.py
90.76% <0.00%> (+4.61%)
:arrow_up:

towhee/functional/__init__.py
84.00% <0.00%> (+9.80%)
:arrow_up:

towhee/models/utils/video_transforms.py
96.00% <0.00%> (+11.00%)
:arrow_up:

towhee/engine/task_scheduler.py
71.60% <0.00%> (+11.11%)
:arrow_up:

Continue to review full report at Codecov.

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

/lgtm
/approve


TransactionalBatch is not mentioned in the docs

The "transactional batch" feature isn't mentioned anywhere in the conceptual documentation (the TransactionalBatch class itself is documented in the .NET SDK reference docs, but it's not easily discoverable if you don't know what to look for). Even the REST API docs don't mention it. I only discovered its existence by accident because the CreateTransactionalBatch method appeared in Intellisense, and the only available documentation is this blog post.
Since it's one of the primary ways to achieve ACID behavior in Cosmos DB, it should really be covered in this page.

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

ID: 58a1f8fb-77e3-acac-eb1e-05571fc4e018
Version Independent ID: 4bd2399c-7298-848d-e04d-88b74b132dde
Content: Database transactions and optimistic concurrency control in Azure Cosmos DB
Content Source: articles/cosmos-db/database-transactions-optimistic-concurrency.md
Service: cosmos-db
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

Thank you for your feedback! We will review and update as appropriate.

We will get a doc posted on this. Will close this issue once a PR has been submitted. Thanks.

Assigning the issue to Mark for next steps

@thomaslevesque transactional batch content will be live later today. We will close this issue now.
#please-close

@SnehaGunda great, thanks!
Just one thing: I notice it appears under "server-side programming" :

That's probably not the right place, is it? I mean, the implementation of this feature is server-side, but as far as I can tell it can only be used from the client, not in a stored procedure (which wouldn't be useful anyway)


change keys after validation

I'd like to have the ability to change a key for the success case, to that:
params = {address: {city: "London"}}
result = schema.call(params)
result.output => {"address_attributes" => {"city" => "London" }}

As you might have guessed, I'm trying to make active record nested assignment happen :)

This is not the right place to do this type of transformations. dry-schema is focused purely on parsing and validating data, any data transformation logic should be handled by something else. It shouldn't be too hard to build a gem that make dry-schema play nice with AR. It would be worth looking into using dry-validation 1.0.0 too, because it will provide more features that could replace AR's validation. You basically need a validation contract + a data transformer (we have transproc gem that has a ton of data transformation functions that can be composed) + something that will pass data to AR model.
If you want to explore this further and discuss, please open a new thread on discourse.dry-rb.org. We try to use issues only for bug reports and confirmed feature requests. See CONTRIBUTING.md for more info.

It would be worth looking into using dry-validation 1.0.0 too, because it will provide more features that could replace AR's validation.

Personally, I'm more interested in just doing schema validation and not mixing AR-style validations (that's what trailblazer contracts do, and IMO it's a big mess).
I will have a look on that transproc reference, let's see if it does the trick. Thx!


Waiting for options in dynamically loaded SelectList is painfully slow

Please see the Stackoverflow post for details.  I'm trying to wait on an option in a large SelectList (~3000 elements) and it's taking a few minutes to iterate through.
http://stackoverflow.com/questions/21995363/waiting-on-large-selectlist-arrays-using-page-object-gem

I know this is a few years late and at least a dollar short, but given that this is only waiting for content, this seems like a great application for nokogiri. In the past, when I've had to read a huge number of elements, I have used that technique, and it can be orders of magnitude faster.
I'm closing this issue for now, given the time frame that has passed, but if you are still experiencing this issue and need further assistance, feel free to reopen.


Add Smcdeleg/Ssccfg

The ratification-ready PR for Smcdeleg/Ssccfg

Yes!  I had one locally that I guess I failed to commit.  Will fix.


Wrong read() silently linked when using readline

I’ve encountered a problem leading to infinite recursion because the wrong ‘int read()’ function is being linked (silently) when using readline. I’ve verified this happens on two distinct systems (Redhat Linux, Alpine Linux). The solution is to rename the read() symbol in lisp.c to lread() or anything other than read().

We should rename it then. Perhaps expr() since it returns a parsed Lisp expression.
It's a really annoying side effect of using readline I suppose.
Thanks for reporting!

Or perhaps lread() as you suggest or readl(). It is nicer to continue using the read name, since our REPL is this short nice line: print(eval(*push(readl()), env)).

I've also updated the tinylisp and lisp-cheney projects to avoid this potential issue.


Create a CDS view (ABAP)

Tutorial URL: https://developers.sap.com/tutorials/abap-dev-adt-create-cds-view.html
All steps do not have the button "Done" below. That lead to that the group says that I stay at 50%

Hi Florian,
I have not yet added validation to this tutorial. It needs a thorough overhaul.
The tutorials that should be up-to-date are all in the mission: https://developers.sap.com/mission.abap-dev-get-started.html .
I cannot add validation to the other group at the moment, since I have a deadline for ADT 3.0 / ABAPPaaS 1902.
Do you want me to quickly add DONE statements? Does it make sense without validation?
PS: I will deal with your other issue asap - feedback is always good.
Best wishes Julie.

It does make sense also without. No problem if this will take a while. Just wanted to put attention on it.
IF you need help and I can do it in a proper way, let me know.
BTW: The tutorials are awesome. I love it and it makes it so much easier to onboard people.
Best Florian

"BTW: The tutorials are awesome. I love it and it makes it so much easier to onboard people." - thanks - always good to know.
"IF you need help and I can do it in a proper way, let me know." - well actually, yes. The hardest part for me is gauging the difficulty of the validation questions - too hard, too easy, too hard to explain etc. So, if you are unhappy with any of the validation questions, please let me know - and if possible could you perhaps suggest an alternative? (I realize this is actually my job, but that would be really helpful.)
Anyway, I will start work on validation for CDS this week. May not be finished though, and I will be on vacation (Fasching!) next week.
Best wishes Julie.

I will do, what way do you prefer for the answers. Just a comment here or mail / slack

Thank you. I don't have many people messaging me on Slack, but email and GitHub are both fine - whichever of those 2 works for you.
Cheers Julie.

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


helix: 22.05 -> 22.08

Description of changes

Release: https://github.com/helix-editor/helix/releases/tag/22.08
Changelog: https://github.com/helix-editor/helix/blob/master/CHANGELOG.md#2208-2022-08-02
Release notes: https://helix-editor.com/news/release-22-08-highlights/

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package built:

helix


Lag during unmount

Description
Hi all,
During unmounting (reanimated-2) / changing properties - the mask falls off.
Is there a way to force this to stay intact until the moment it is unmounted?
Version
0.1.141
Steps to reproduce
https://user-images.githubusercontent.com/71121334/198703751-f7d59e4d-5608-4d17-8f2d-7ee4b671f294.mp4
Snack, code example, screenshot, or link to a repository
 <Canvas           ref={ref}           style={{             width: width - containerPadding * 2,             height: layout?.height,             position: "absolute",             top: 80,             left: containerPadding,             zIndex: -1,           }}         >           <Mask             mode="luminance"             mask={               <Group>                 <Rect                   x={0}                   y={0}                   width={width - containerPadding * 2}                   height={450}                   color={"white"}                 />                 <Circle cx={containerPadding} cy={20} r={8} />                 <Circle                   cx={containerPadding + (width - containerPadding * 2) / 5}                   cy={20}                   r={8}                 />                 <Circle                   cx={                     containerPadding + ((width - containerPadding * 2) * 2) / 5                   }                   cy={20}                   r={8}                 />                 <Circle                   cx={                     containerPadding + ((width - containerPadding * 2) * 3) / 5                   }                   cy={20}                   r={8}                 />                 <Circle                   cx={                     containerPadding + ((width - containerPadding * 2) * 4) / 5                   }                   cy={20}                   r={8}                 />               </Group>             }           >             <Rect               x={0}               y={0}               width={width - containerPadding * 2}               height={450}               color={data.color}             />           </Mask>         </Canvas>

Do you have a standalone example for this example? We could add it as an example.
We are working on UI thread rendering which provides substantial improvements and we are always looking for examples to benchmark

Do you have a standalone example for this example? We could add it as an example.
We are working on UI thread rendering which provides substantial improvements and we are always looking for examples to benchmark

Hi, William
I can use expo snack or what the best for that?

Expo Snack is good - A small Github project would also be fine.


Use MFA session for key rotation

Second try :smile:
I made sure to not have an impact on the separate, "regular" rotation routine, although it will fail for people which require MFA authentication for key rotation (we might want to refactor this later).
I'm now passing a IAM client to the key rotation, which makes it easier to utilize the function across boundaries.
In general, the session handling isn't very robust and is probably using 100 different sessions throughout, but one step at a time :wink:

@moritzheiber thank you!


How do I update bluebubbles server

I got everything set up on blue bubbles server and it was working fine then I got a notification to update to 1.0.0. I clicked on it and it said downloading but after 8 hours and never downloaded so either how do I update correctly or how long does it take.

The auto update is broken, please download manually from GitHub and just hit "replace" after you drag the bb icon to the applications folder.