How to open dark mode in Cupertino??

Tried wrapping inside a Theme with Brightness.dark but there is no effect..
How to make it work?

Yes CupertinoThemeData(brightness: Brightness.dark) is one way to enable dark mode. If you're using Cupertino widgets and CupertinoTheme, they are using dynamic colors by default and thus will change color automatically when you switch to dark mode if you didn't override their colors. The CupertinoDynamicColor class has a brief intro of supporting iOS 13 dark mode. Please let me know if it doesn't for you or you have any feedback regarding the API!

I haven't override color.
I just set CupertinoThemeData above my CupertinoTabBar widget
My whole app is inside CupertinoTabBar with 4 tabs switch between them.
But wrap that CupertinoTabBar doesn't make it's child CupertinoScaffold change color to dark.

How to set a value to make it change color globally for all CupertinoScaffold page?

CupertinoPageScaffold.backgroundColor defaults to CupertinoThemeData.scaffoldBackgroundColor, if you didn't give it a non-null value: https://api.flutter.dev/flutter/cupertino/CupertinoPageScaffold/backgroundColor.html
Could you provide your flutter doctor -v and a minimal code sample to reproduce the problem, if it still doesn't work?

@LongCatIsLooong  I am not wrapping CupertinoThemeData for every CupertinoScaffold page.
I simply wrapped the root widget which CupertinoTabScaffold. I thought they can inherit from root? But actually all child cupertino doesn't change.
So, how to make them change globally?

CupertinoPageScaffold (or CupertinoTabScaffold) will look up the closest ancestor CupertinoTheme, you don't have to wrap everyone of them with a theme.

the date format in ios 13 look like

but when we apply widgets it's different

My flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.13.6 17G65, locale
en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 10.1)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.39.1)
[✓] Connected device (1 available)
• No issues found!

@parth22  Hi, how did u implement this modal style (previous page goes back and new page pop up with pushing first page down)?

@LongCatIsLooong  I am simplely using master branch flutter, upgrade yesterday.

@parth22 Hi, how did u implement this modal style (previous page goes back and new page pop up with pushing first page down)?
I mean, 2 pages stack each other style?

no i'm using this widget for my start date and end date selection in one screen as a bottomsheet.

@LongCatIsLooong  Here is my code:
@override
  Widget build(BuildContext context) {
    return WillPopScope(
        // Prevent swipe popping of this page. Use explicit exit buttons only.
        onWillPop: () => Future<bool>.value(true),
        child: DefaultTextStyle(
          style: gDefaultTextStyleCupertino,
          child: CupertinoTheme(
            data: CupertinoThemeData(
              brightness: Brightness.dark,
            ),
            child: CupertinoTabScaffold(
              backgroundColor: Colors.black,
              tabBar: CupertinoTabBar(
                backgroundColor: globalNavBlackColor,
                border: Border(),
                onTap: (i) {
                  switch (i) {
                    case 0:
                      globalVoicePlayer.playClickSound1();
                      break;
                    case 1:
                      globalVoicePlayer.playClickSound2();
                      break;
                    default:
                      globalVoicePlayer.playClickSound1();
                      break;
                  }
                },
                activeColor: globalMainChatColor,
                items: <BottomNavigationBarItem>[
                  BottomNavigationBarItem(
                    icon: Icon(
                      Ionicons.getIconData("ios-chatbubbles"),
                      size: 22.0,
                    ),
                    // title: Text(
                    //   '聊天',
                    //   style: TextStyle(
                    //     fontFamily: gDefaultFontName,
                    //   ),
                    // ),
                  ),
                  BottomNavigationBarItem(
                    // icon: Icon(CupertinoIcons.profile_circled),
                    icon: Icon(
                      MyFlutterApp.comment_inv,
                      size: 21.0,
                    ),
                    // title: Text(
                    //   '72h聊',
                    //   style: TextStyle(
                    //     fontFamily: gDefaultFontName,
                    //   ),
                    // ),
                  ),
                  BottomNavigationBarItem(
                    // icon: Icon(CupertinoIcons.profile_circled),
                    icon: Icon(
                      MyFlutterApp.user_1,
                      size: 19.0,
                    ),
                    // title: Text(
                    //   '好友',
                    //   style: TextStyle(
                    //     fontFamily: gDefaultFontName,
                    //   ),
                    // ),
                  ),
                  BottomNavigationBarItem(
                    icon: Icon(
                      FontAwesome5.getIconData("fire",
                          weight: IconWeight.Solid),
                      size: 21.0,
                    ),
                    // title: Text(
                    //   'HotTrend',
                    //   style: TextStyle(
                    //     fontFamily: gDefaultFontName,
                    //   ),
                    // ),
                  ),
                  BottomNavigationBarItem(
                    icon: Icon(
                      MyFlutterApp.search,
                      size: 20.0,
                    ),
                    // title: Text(
                    //   'Explore',
                    //   style: TextStyle(
                    //     fontFamily: gDefaultFontName,
                    //   ),
                    // ),
                  ),
                  BottomNavigationBarItem(
                    icon: Icon(
                      MyFlutterApp.cog_1,
                      size: 21.0,
                    ),
                    // title: Text(
                    //   'Settings',
                    //   style: TextStyle(
                    //     fontFamily: gDefaultFontName,
                    //   ),
                    // ),
                  ),
                ],
              ),
              tabBuilder: (BuildContext context, int index) {
                // assert(index >= 0 && index <= 5);
                switch (index) {
                  case 0:
                    return CupertinoTabView(
                      builder: (BuildContext context) => TabPage1(),
                      defaultTitle: '$appName',
                    );
                    break;
                  case 3:
                    return CupertinoTabView(
                      builder: (BuildContext context) => HotTrendPage(),
                      defaultTitle: '$appName',
                    );
                    break;
                  case 1:
                    return CupertinoTabView(
                      builder: (BuildContext context) => TabPage6(),
                      defaultTitle: '72小时',
                    );
                    break;
                  case 2:
                    return CupertinoTabView(
                      builder: (BuildContext context) => TabPage2(),
                      defaultTitle: 'Contacts',
                    );
                    break;
                  case 4:
                    return CupertinoTabView(
                      builder: (BuildContext context) => TabPage3(),
                      defaultTitle: 'Expore',
                    );
                    break;
                  case 5:
                    return CupertinoTabView(
                      builder: (BuildContext context) => TabPage4(),
                      defaultTitle: 'Me',
                    );
                    break;
                }
                return null;
              },
            ),
          ),
        ));

Every CupertinoScaffold inside this tab.....

Is that because I am using a CupertinoTabView wrapped CupertinoScaffold?

@jinfagang you set the CupertinoTabScaffold.backgroundColor to Colors.black. Remove the backgroundColor: Colors.black, line to let the theme take control.
            child: CupertinoTabScaffold(
              backgroundColor: Colors.black,
              tabBar: CupertinoTabBar(

@parth22 this looks like a totally different issue. Could you create a new issue for it? https://github.com/flutter/flutter/issues/new?assignees=&labels=&template=BUG.md&title=

@LongCatIsLooong thanks for reply i created new issue for now.
#44412

@LongCatIsLooong  Thanks for you reply. I have make all Tab child apply dark theme now.
However, when navigate a push to child page from Tab's child, the theme can not inherit from it's parent. Should I wrap a themedata in the end for all child of Tab's?

Yes new routes do not inherit from the widget that pushed them. You could either wrap them manually in a theme, or use an InheritedThme.

@LongCatIsLooong  Just wonder, since if we apply a dar theme then definitely we want all pages in dark, why not let pushed child page automactically inherit from page pushed them? Otherwise all child page should wrap a theme which is seems superfluous.


suggested citation for ARCHE at resource level

before:

after:
Mendelson, Edward. (2024). Aerogram Signed Edward Mendelson to Stella Musulin 1980-12-01. In Mayer, Sandra, Frühwirth, Timo, Grigoriou, Dimitra, Mendelson, Edward, Andorfer, Peter, Elsner, Daniel (eds), Auden Musulin Papers: A Digital Edition of W. H. Auden’s Letters to Stella Musulin. Vienna: Austrian Centre for Digital Humanities and Cultural Heritage, Austrian Academy of Sciences. https://hdl.handle.net/21.11115/0000-000E-C325-C.
-> at all levels, editors in above sequence must be stated
that is to say: in this sequence and with that kind of information, put into the different citation styles available on ARCHE
-> @linxOD, we have a question: could suggested citation in document view also be fetched from ARCHE?

I was unsure how citation suggestions are done on ARCHE -> https://mattermost.acdh.oeaw.ac.at/acdh/pl/3m3os3oeitfnirafsgxh8y1qih

@Mayers1907 & @timofruehwirth will send suggested citation for document view on web app


coffee -> es6

Not worth the effort at this point. Please send a PR if you feel strongly about it.


Need to display the cUSD balance to the right number of decimal places.

Can I work on this issue ?

yes, please do!

Sure on it! @critesjosh

rounded it to two decimal places!
// Get the user account balance (cUSD)
    const cUSDBalanceBig = await stableToken.balanceOf(kit.defaultAccount)

    // Convert from a big number to a string
    const ERC20_DECIMALS = 18
    let cUSDBalanceDec = cUSDBalanceBig.shiftedBy(-ERC20_DECIMALS).toFixed(2)
    let cUSDBalance = cUSDBalanceDec.toString()


Fix humble branch names in humble branch

I think this PR needs to be retargetted from ros2 to humble based on the title, otherwise this is duplicate of #387

Interesting, looks like branch protection isn't setup on humble
Review requested
Review has been requested on this pull request. It is not required to merge


spoolman don't connect with happy hare

Hello
i use klippersreen happy hare version , and it doesn't work with spoolman
i have this message
2024-10-03 10:37:08,697 [mmu_server.py:_get_spoolman_version()] - Attempt to get info from spoolman failed: HTTP error: 500 [Errno 111] Connection refused
2024-10-03 10:37:08,697 [mmu_server.py:_init_spoolman()] - Spoolman not available. Retrying in 2 seconds...
2024-10-03 10:37:08,708 [server.py:add_log_rollover_item()] - Failed to Connect to spoolman: [Errno 111] Connection refused
can you help me ?
thk

is your spoolman running correctly? how did you install it? When did you install it?

I have two installations on two raspberry pi3 for 3 weeks.
one is installed with kiauh.
the second is installed with your procedure.
And I have the same.


Added BizTalk build output files to ignore list

Reasons for making this change:
When compiling BizTalk projects a compiled version of every BizTalk artifact is generated. These should not be version controlled.

Hey @robinhultman. Do you happen to have any links to documentation that document these file extensions and why they shouldn't be in version control? Searching through existing projects there seems to be a few that include btm.cs for example.

Hey. Sorry no offical sources but here is a discussion on the xsd.cs files om msdn forums
https://social.msdn.microsoft.com/Forums/en-US/c9617fa4-2f34-44b5-8cde-a8021cdd7826/issues-with-schemas-in-source-control?forum=biztalkgeneral
And
http://stackoverflow.com/questions/34667660/how-are-the-xsd-cs-files-used/34668185
It is the same principal for all .cs.

@robinhultman That first link is exactly what I was looking for, thanks. I'll let this sit over night too see if anyone has objections and if not I'll merge it tomorrow.

@niik Great! Thanks!


Can go:embed replace statik?

Is your feature request related to a problem? Please describe.
Right now, we are having to work around unmerged change in statik. The build is also more fragile the more generation steps are involved.
Describe the solution you'd like
Ideally, we can use go:embed. There are a number of projects who have migrated in this way. For example, https://github.com/sascha-andres/go-logsink/pull/36
If possible, we could remove generation commands from make and CI as a result.
Describe alternatives you've considered
Continue to maintain a fork as statik isn't really merging change we need.
Additional context
More examples https://github.com/search?q=statik+go%3Aembed&type=issues

@codefromthecrypt Would you like to contribute?
From my perspective, we already have a working solution. And go:embed provides exactly the same features but slightly different API. Personally, I would prioritize other improvements.
But I understand that you might want to try go:embed in action. Please go ahead if you want to.

right I mentioned mainly because statik is mostly a stalled project at this point. I wouldn't mind trying!

Here's a start:
data/extension/init/templates.go
package init
//      ^^ last path in the directory relative from the project root data/extension/init

import (
	"embed"
	"io/fs"
)

// templatesFs includes only the relative path of "templates".
//
// Assets must be in this directory because go:embed doesn't support navigation outside (ex. ../)
// See https://pkg.go.dev/embed#hdr-Directives
//go:embed templates/*
var templatesFs embed.FS

// GetTemplates returns the templates directory as a filesystem
func GetTemplates() fs.FS {
	fs, err := fs.Sub(templatesFs, "templates")
	if err != nil {
		panic(err) // unexpected or a typo
	}
	return fs
}

After wiring the two call sites, there's a glitch. It seems go:embed does not allow serving directories that include go code (or go.mod).
data/extension/init/templates.go:13:12: pattern templates/*: cannot embed directory templates/tinygo: contains no embeddable files

The rationale for this constraint might be obvious to some, but not me. I added a question comment that might be answered https://github.com/golang/go/issues/41191#issuecomment-805389533
While this constraint exists, I don't think go:embed is usable to serve a directory of golang examples.
This adds pressure to the tools in use now, which while may work only work due to forks. If go people decide to keep the "go:embed" constraint, it could be handy to decide how to proceed, which might be to find a maintained alternative to statik, adopt our own fork of it, or let it go until it breaks... then deal with it.
Meanwhile, this issue can track and be pointed to if anyone ends up curious why we are using an abandoned library for embedding things.

Seems so far the glitch is about go.mod, not files ending in .go thanks to @opennota for the hint. I added a work-in-progress PR, though I suspect we'll need to sort out go.mod one way or another #129

@codefromthecrypt Personally, I would consider it a blocker for switching from statik to go:embed (more "up-to-date" library at a cost of not-doing-what-it-is-supposed-to-do doesn't make sense to me).
But I'm just one vote. If other reviewers see value in go:embed, I won't object.


Issue with Ninja and NVCC

Thank you for sharing your code. I am currently trying to reproduce your result.
However, I come across with some issue when running train.py. Below is the error message.
//////////////////////////////////////////////////////////////////////////////////////////////////////
Traceback (most recent call last):                                                                                File "/scratch_net/biwidl212/majing/anaconda3/envs/majing/lib/python3.6/site-packages/t                                                                                orch/utils/cpp_extension.py", line 873, in verify_ninja_availability                                                                                subprocess.check_call('ninja --version'.split(), stdout=devnull)                                                                                File "/scratch_net/biwidl212/majing/anaconda3/envs/majing/lib/python3.6/subprocess.py",                                                                                line 306, in check_call                                                                                retcode = call(*popenargs, **kwargs)                                                                                File "/scratch_net/biwidl212/majing/anaconda3/envs/majing/lib/python3.6/subprocess.py",                                                                                line 287, in call                                                                                with Popen(*popenargs, **kwargs) as p:                                                                                File "/scratch_net/biwidl212/majing/anaconda3/envs/majing/lib/python3.6/subprocess.py",                                                                                line 729, in init                                                                                restore_signals, start_new_session)                                                                                File "/scratch_net/biwidl212/majing/anaconda3/envs/majing/lib/python3.6/subprocess.py",                                                                                line 1364, in execute_child                                                                                raise child_exception_type(errno_num, err_msg, err_filename)                                                                                FileNotFoundError: [Errno 2] No such file or directory: 'ninja': 'ninja'                                                                                During handling of the above exception, another exception occurred:                                                                                Traceback (most recent call last):                                                                                File "train.py", line 21, in                                                                                from seg_opr.sync_bn import DataParallelModel, Reduce, BatchNorm2d                                                                                File "/scratch_net/biwidl212/majing/sem_proj/BiSeNet/TorchSeg/furnace/seg_opr/sync_bn/ init_.py", line 8, in                                                                                from .syncbn import *                                                                                File "/scratch_net/biwidl212/majing/sem_proj/BiSeNet/TorchSeg/furnace/seg_opr/sync_bn/s                                                                                yncbn.py", line 17, in                                                                                from .functions import *                                                                                File "/scratch_net/biwidl212/majing/sem_proj/BiSeNet/TorchSeg/furnace/seg_opr/sync_bn/f                                                                                unctions.py", line 13, in                                                                                from .src import *                                                                                File "/scratch_net/biwidl212/majing/sem_proj/BiSeNet/TorchSeg/furnace/seg_opr/sync_bn/s                                                                                rc/init.py", line 12, in                                                                                ], build_directory=cpu_path, verbose=False)                                                                                File "/scratch_net/biwidl212/majing/anaconda3/envs/majing/lib/python3.6/site-packages/t                                                                                orch/utils/cpp_extension.py", line 645, in load                                                                                is_python_module)                                                                                File "/scratch_net/biwidl212/majing/anaconda3/envs/majing/lib/python3.6/site-packages/t                                                                                orch/utils/cpp_extension.py", line 814, in _jit_compile                                                                                with_cuda=with_cuda)                                                                                File "/scratch_net/biwidl212/majing/anaconda3/envs/majing/lib/python3.6/site-packages/t                                                                                orch/utils/cpp_extension.py", line 837, in _write_ninja_file_and_build                                                                                verify_ninja_availability()                                                                                File "/scratch_net/biwidl212/majing/anaconda3/envs/majing/lib/python3.6/site-packages/t                                                                                orch/utils/cpp_extension.py", line 875, in verify_ninja_availability                                                                                raise RuntimeError("Ninja is required to load C++ extensions")                                                                                RuntimeError: Ninja is required to load C++ extensions
//////////////////////////////////////////////////////////////////////////////////////////////////////
But as actually I did have ninja installed and appeared in my list. Installation was done by pip.  So, could you please share your version for gcc, cudatoolkit, nvcc and ninja?
Mine is GCC 6.3.0 cudatoolkit 9.2.0 nvcc 6.0 v6.0.1 ninja 1.9.0

sudo apt-get install ninja-build


[Feature] Can I configure filename and filetype filtering

I don't want this plugin to execute on files with certain filenames. For example the file config or .config

This will be in v0.1.11. You will be able to supply a list of standard glob patterns for Qalc to ignore.

https://github.com/nortakales/vs-code-qalc/commit/4c3716f8f4ff4390a3f995bb0934e9763d673dc0


Users email and status is blank in the export

After exporting the users, the data for email and status fields are blank in the .csv file
I have different user groups and also additional fields too

This is available now in the develop branch, and very soon in the master branch.


Fix release process

Evidence this works: https://office.runtimeverification.com/jenkins/blue/organizations/jenkins/KEVM/detail/PR-1143/6/pipeline/


refresh certs for tls and ocsp tests

Signed-off-by: wbpcode<EMAIL_ADDRESS>Commit Message: refresh certs for tls and ocsp tests
Additional Description:
refresh certs for tls and ocsp tests
Risk Level: low. test only.
Testing: n/a.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

cc @phlax here for complete CI running.

i think you will need at least https://github.com/envoyproxy/envoy/pull/23220 to get that far in CI

i think you will need at least #23220 to get that far in CI

I cherry picked it. But a seperated backport should be necessary for it.

I cherry picked it. But a seperated backport should be necessary for it.

all of the required backports to fix the branch are on #23842 (with the exception of fix here)
once we can run the branch i will rebase the commits from that PR

cc @phlax feel free to close this PR when you complete the related pick. Thanks.


pkg/transport: include debug output for trusted-ca

since --peer-ca-file is deprecated we need to update the debug output
before:
$ etcd ... --peer-cert-file infra1.crt -peer-key-file
 infra1.key.insecure -peer-trusted-ca-file ca.crt --client-cert-auth
etcdmain: peerTLS: cert = infra1.crt, key = infra1.key.insecure, ca =

after:
$ etcd ... --peer-cert-file infra1.crt -peer-key-file
 infra1.key.insecure -peer-trusted-ca-file ca.crt --client-cert-auth
etcdmain: peerTLS: cert = infra1.crt, key = infra1.key.insecure, ca = , trusted-ca = ca.crt

Could we print out var ClientCertAuth too?

@yichengq Can we merge this one as it is? And then we can add more?

ok. LGTM


How to access buffers.

For Example ,

I have a let a = Observable(0).then a.next(0).the situation I want observe
or I have a let a = Observable(0).then a.next(1).don't want observe
And i want check if the new value equal to the previous.I find no api to implement this.How to solve this?

@dreday966
How about create Bond extension in your project like below
import Bond

extension EventProducerType {
  public func same() -> EventProducer<EventType> {
    return EventProducer(replayLength: replayLength) { sink in
      var lastEvent: EventType? = nil
      return observe { event in
        if lastEvent == nil || lastEvent! == event {
          sink(event)
          lastEvent = event
        }
      }
    }
  }
}


Error during making orders (SyntaxError: Invalid regular expression)

In some cases (probably depends on node version) the making orders doesn't work. The API raises error as this one below:
 SyntaxError: Invalid regular expression: /[\p{L}\d_]+/: Invalid escape
    at Object.<anonymous> (/var/www/src/models/order.schema.js:1:19)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at create (/var/www/src/api/order.js:31:23)
    at Layer.handle [as handle_request] (/var/www/node_modules/express/lib/router/layer.js:95:5)

Would be nice to solve that error / regex to be compatible with even older versions of node as we cannot upgrade node everywhere immediately (other hosting providers)

It's because Node 8 is not supported by the API anymore and there is no good workaround for that. Older versions don't support unicode regex and babel is not transpiling that regex properly. You could put there a ~2kb long regex instead that will do the same job but EOL of Node 8 is next month anyway. I'm not sure if uglifying the source code is worth it.

@andrzejewsky @lukeromanowicz @patzick
FYI:
Exactly the same problem still occurs now on next and test environments

@andrzejewsky has this one been already fixed?


Issues with Holoviews

There are three issues with holoviews now:

plots still show in the bottom (under the Input window)
Remove All Cells and Restart IPython Kernel will not clear any plots
with those plots at the bottom, interactive windows repositions itself when running a cell.
Linked plots won't work.

Here's an example
import numpy as np
import pandas as pd
import holoviews as hv
hv.extension('bokeh')

df = pd.DataFrame(data=np.random.rand(5, 5),
                  columns=list('abcde'))
corr = df.corr()

heatmap = hv.HeatMap((corr.columns, corr.index, corr))

# define tap stream with heatmap as source
tap_xy = hv.streams.Tap(source=heatmap, x='a', y='c')

def tap_corrplot(x, y):
    m, b = np.polyfit(df[x], df[y], deg=1)

    x_curve = np.linspace(df[x].min(), df[x].max())
    y_curve = m*x_curve + b
    curve = hv.Curve((x_curve, y_curve), x, y)

    return curve

# map tap in heatmap with correlation plot
tap_dmap = hv.DynamicMap(tap_corrplot, streams=[tap_xy])

heatmap + tap_dmap

The same code in Jupyter Lab:

Version: 1.36.1 (user setup)
Commit: 2213894ea0415ee8c85c5eea0d0ff81ecc191529
Date: 2019-07-08T22:59:35.033Z
Electron: 4.2.5
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.17763
Pyhton Extension: 2019.6.24221
Holoviews: 1.12.1
Bokeh: 1.1.0

@StevenLi-DS thanks for reporting this. For some reason this issue slipped through the cracks in our tracking (the data science tag was accidentally removed and readded). We'll look into the Holoview issues as time allows, thanks for the detailed repro and report.

Dupe of #5661


fix issue 15658 - UFCS used in isFile caused a conflict with a DirEntry member

DirEntry got a member function named isFile. So the function tried to call this one instead of the other global isFile() overload.

Why wasn't this an error/warning?

It was an error, and quite confusing, but since this particular case can be fixed easily, I fix it.

LGTM

ping.

LGTM

Auto-merge toggled on


Modify COUNT() to output agtype

Modified the make_function_expr logic to wrap the PG COUNT() function with a cast to agtype. This enables COUNT() to be used as a subquery in CASE.
Also added logic for casting for future PG function additions.
This modification passes all regression tests. Also added regression tests for COUNT in CASE statements.

One minor issue with else missing {}
Also, would it be possible to combine make_function_expr, make_star_function_expr, and make_distinct_function_expr into one? with flags passed? There appears to be a lot of duplicate code between them.

Added the parentheses


Cortextool alertmanager load gives "cortextool: error: requested resource not found, try --help" error

I have cortex running locally with the 'fake' tenant/object id.
For testing out the alertmanager, I am using the below dummy config (alertmanager.yml):
global:
  smtp_smarthost: 'localhost:25'
  smtp_from<EMAIL_ADDRESS>
route:
  receiver: example-email

receivers:
 - name: example-email
   email_configs:
    - to<EMAIL_ADDRESS>
I have enabled the alertmanager in the cortex config:
alertmanager:
  enable_api: true

alertmanager_storage:
  backend: azure
  azure:
    account_name: ******
    account_key: ******
    container_name: ******
    endpoint_suffix: ******

when I try to run the cortextool to get the current AlertManager, I get the following output
cortextool alertmanager get --address=http://localhost:9009 --id=fake
INFO[0000] no alertmanager config currently exist for this user

This is fine, as currently I don't have any AlertManager setup, so the output is correct.
Now, if I try to load a AlertManager via this command:
cortextool alertmanager load alertmanager.yml --address=http://localhost:9009 --id=fake
I get the following error:
cortextool: error: requested resource not found, try --help
I am not sure if I have to enable anything else in the cortex or if alertmanager.yml content is wrong.
My assumption is, if I am able to load a dummy alertmanager.yml, then I will be able to atleast open this url: http://localhost:9009/alertmanager

I am also facing this issue. @geekyspartan Were you able to resolve this issue?  If so, could you please share how you resolved it?

I am also facing this issue. @geekyspartan Were you able to resolve this issue? If so, could you please share how you resolved it?

Actually, we changed our approach, so didn't work on this issue.


Add RequestLogEvent to Kafka Emitter to Emitter the Request

Description
Sine someone has contributed the basic Kafka Emitter, and Druid itself has implemented the RequestLogEvent to log/emit the request log(especially for the sql logging), it would be better to emit the sql(slow sql) down to kafka.
Motivation
Enhance Kafka Emitter to emit the Request Logging for the following reasons:

Emit down the request log to one place(kafka) from diff broker instances.
Emit down the sql(especially the slow sql) for later analyze.

It looks like you've already started implementing this, but if you're interested the code from #9428 (itself spruced up from #6493) might make this easier for you.


Attempt to index local 'test_results' (a nil value)

Hi thanks first of all for your fast response from my last issue.
Now the tests are running. But after I get a notification "Neotest: Success" I get the following message.
neotest-dotnet/lua/neotest-dotnet/init.lua:132: attempt to index local 'test_results' (a nil value)
I looked one time in this xml and json which is generated there and I couldn't find any tes_result. Not sure if this is a misconfiguration of mine or not.
I realized that it only happens when I run a single test. I guess it is related to my other issue, that if I run a single test the "green tick" won't appear (not in the summary nor in the file) but if I run the whole class or file, everything works fine.
Thank you for your time and effort. It is really appreciated.
Next I want to try the debugger :)

Hi @MrFisher404 . No problem. The less time I need to spend in Visual Studio, the better 😋 , so making the dotnet workflow in Neovim better is my mission at the moment.
Thanks for raising the issue. I'll admit, I never actually tested with individual test runs using the neotest commands for all the frameworks, so I'll check this out when I next get chance.

Hi @MrFisher404 - Please try and update neotest and neotest-dotnet plugins and see if this still occurs. I've noticed there is a new issue when there is a test marked as [Ignore] (or similar attributes depending on the test runner) where there is an erroneous signal sent to neotest and it doesn't appear to be able to run any more testts after that. However, other than that, I can't recreate what you mention above with the latest updates to the plugins.
If you still have the issue, please provide the following info:

The test runner you're using (Nunit etc)
The neotest config you have
Logs from neotest (set the log_level in the neotest options to 1 for verbose logging)

#11

@MrFisher404 - I'm fairly sure this should be fixed now by the linked PR's. I could recreate the issue when I forced a runtime error (so the trx file is produced but there are no test results, hence test_results is nil). Making the assumption that if there are no test_results in the output, then there is some sort of runtime error, I've updated the code accordingly.
I've also fixed a couple of NUnit specific quirks as well.
I'll close this issue for now, but if you still fine problems, feel free to raise another issue.

Hi! Thank you again for your fast reply and your fast fixes. I definitely saw an improvement. I can see now the summaries of the tests and can get the output as well.
But I still have an issue with running single tests.
When I use "Run nearest" the output which I get is:
No test matches the given testcase filter 'FullyQualifiedName=NameOfTestClass.NameOfTest' in /absolute/path/to/Test.dll
I don't understand why it doesn't find it since the path to the dll is correct and the name of the test and the test class are also correct. Any Idea?

Do you happen to have a sample test file you are running from, or an equivalent that I can use to try and reproduce from? Also, which test runner are you using? Is it NUnit?
My first thought, based on your comment, is that the namespace is missing on the fully qualified name filter. Are you using the new namespace syntax where you don't enclose the namespace in curly braces? i.e:
namespace SomeNamespace;

public class ClassIsScopedInANamespace {
    // ... Some class implementation.
}

In which case, it might be treesitter isn't picking up the namespace, and isn't passing it to the filter.

@MrFisher404 - I've confirmed that various formations of using and namespace syntax are not all accounted for, so this could explain it. See #14

Hey sorry for the late reply. Yes we use file-Scoped namespaces. I will keep an eye on that bug.
Thank you for keeping up the good work!


Change BLE BLEUuid for EddyStone example?

Hello,
I would like to know how can I modify the EddyStone example so that I can include my own BLEUuid,  I see in the code of that example that is a configurable parameter but I don't know how I can access to it.
Thanks in advance,
Regards

@XaviLC change this line: https://github.com/sandeepmistry/arduino-BLEPeripheral/blob/master/examples/Eddystone/EddystoneUID/EddystoneUID.ino#L20


Admob Plugin Andriod Interstitial ad crash the app

Hi there,
I am using your admob plugin to display Interstitial ad on a android app, and it crash the app when display. https://github.com/AppGyver/phonegap-admob-plugin
I've also tried third part plug admon-pro and it is also crash the app.
https://github.com/floatinghotpot/cordova-admob-pro
The plug-in author promise his plug-in working on Cordova, phonegap, Intel XDK...etc so I think the issue is under appgyver framework.
There is no problem with iOS so please take look this issue, and I believe lots of people will put Interstitial ad in their app

Sounds like it might be conflicting with the Supersonic MPA structure – we've never used AdMob interstitial ads ourselves. The current push is towards 100% Cordova plugin compatibility and mitigating problems caused by MPA, but I can't promise any timeline, sorry!

@harsaharsa Has there been any progress on this? My app is 100% complete and this is the only thing that is holding me back. I also created a topic on AppGyver's community forms to see if anyone has figured a solution out: http://community.appgyver.com/t/admob-appgyver-plugin-interstitial-ads-crash-android/4945

+1

There is still no solution so far. We've actually re-wrote our app using other platform. :-(

@mgmedia @spectralsun I rewrote the app using another platform as well. I used Xamarin (https://xamarin.com/) actually. They have a Javascript bridge so I just took my HTML/CSS/JS files from my Appgyver project and used it in my Xamarin project. By the way, it took about 2 hours to get the hang of Xamarin.

@mgmedia @rmashhoon I found this from an Appgyver community post, someone recently made the cordova-admob-pro compatabile here. You can put that git repo in your plugin sources on the Appgyver cloud build website. The interstitial ads crashed the app, but the banner ads (which is what I want to use) worked fine for me.


Feature Request: add a duplicate record function to the index pages

This is a feature I find myself adding to other CMS solutions very often, both as an end user and as a developer having to sometimes batch test/pre-populate records.
Having this option on the far right round actions button per row of the index page AND in the bulk actions select list when rows are checked would be incredibly useful.
It's the kind of feature that naturally needs some configuration as its very possible that duplicating a record could fail due to key constraints/unique indexes etc.   However it would seem that difficult to get around if a few options could be provided for such as telling twill which fields to duplicate, which ones to rename with a suffix to make them unique etc.   It could then handle the slug automatically if slugs exist for the model, suffixing a _2 for example.

Just for the record, I know that some work on this was started by Jonathan Hamler, see https://spectrum.chat/twill/feature-requests/duplicating-pages~68ec551f-9d6b-41e7-b5be-92d4ee097f80
Is there any chance that this might be added to the official wish list?

Added in #556.


Don't break inside empty parens of a no-argument func/init decl.

This unfortunately required a bit more shuffling of code around in those
visitors to make sure that the after-tokens got inserted in the right
relative orders.
This ended up slightly changing the behavior for initializers with
generic arguments and attributes, but I like the new behavior better and
think it's actually more in the spirit of what we want; we now insert a
line break after the attributes because the rest of the function signature
is wrapped onto more than one line.

cc @dylansturg


Min_delta parameters on callbacks function of Keras model seems to not take effect

I am using the following callbacks function on a Keras model and I initialize the minimum delta to 0.002, so based on the documentation of Tensorflow/Keras any improvement in the validation loss function less than 0.002 won't be counted for an improvement. However, this seems to not get implemented in my case.
callback function:
def callback(folder_path, saved_model_name, patience_value, logdir, hparams):

    # Initialize parameters
    monitor_metric = 'val_loss'
    minimum_delta = 0.002
    patience_limit = patience_value
    verbose_value = 1
    mode_value = 'min'
    weights_fname = os.path.join(os.getcwd(), '{0}/{1}.h5'.format(folder_path, saved_model_name))

    # Initialize callbacks
    callbacks = [

        EarlyStopping(monitor=monitor_metric,
                      min_delta=minimum_delta,
                      patience=patience_limit,
                      verbose=verbose_value,
                      mode=mode_value,
                      restore_best_weights=True),

        ModelCheckpoint(filepath=weights_fname,
                        monitor=monitor_metric,
                        verbose=verbose_value,
                        save_best_only=True,
                        save_weights_only=True),

        tf.keras.callbacks.TensorBoard(logdir),

        hp.KerasCallback(logdir, hparams)
    ]

    return callbacks

Example 1
Epoch 00016: val_loss improved from 0.02129 to 0.02015, saving model to /content/model_one/adam_v2_14072020/multi_input_keras_model_50dim_128batchsize_0.01lr_10decaymultiplier_14072020.h5

Example 2
Epoch 00019: val_loss improved from 0.01880 to 0.01803, saving model to /content/model_one/adam_v2_14072020/multi_input_keras_model_50dim_128batchsize_0.01lr_10decaymultiplier_14072020.h5

You can see that in both examples the validation loss improved and the model's weight have been saved, while they shouldn't;t have:

0.02129 - 0.02015 = 0.00114 < 0.002 (although it was counted as an improvement)
0.01880 - 0.01803 = 0.00077 < 0.002 (also counted as an improvement in validation loss)
What is going wrong?

Apologize for not posting more code since it's a thorough application. So, please check my colab notebook to replicate the issue.
Pickled data saved on my drive folder

@NikosSpanos
Can you please provide supporting files as well (Eg: saved pickle files) to reproduce the issue in our environment.It helps us in localizing the issue faster.Thanks!

@NikosSpanos
Can you please provide supporting files as well (Eg: saved pickle files) to reproduce the issue in our environment.It helps us in localizing the issue faster.Thanks!

Ofc @ravikyram , I added the relative folder at the end of my post

@NikosSpanos Is this happening with just this model or is it happening with other models too. Can you please try this in a basic example and also using tf-night and let me know i the issue still persists. Thanks!

@gowthamkpr Can you please validate that my statement is valid? Because I have posted in the past the same question on StackOverflow (link here.
Based on the answers given in the posted SO question, I figured out that the minimum_delta is not the difference between validation_loss of epochs, but rather is the number below which if no improvement is spotted for 10 consecutive epochs then the training stops. So in my posted example above, since minimum delta=0.002 and validation loss: 0.01803 > 0.002. The training continuous until validation loss < 0.002
Can you validate this statement. If you verify that my intuition is wrong, I will post a simpler example of the problem. Also, how am I suppose to use tf-nightly? I use TensorFlow v2.2

@NikosSpanos As answered in stack overflow and as mentioned in the documentation, its pretty clear that if you don't see the change (or improvement of min_delta) for the number of epochs of patience_value, the training stops.
This has nothing to do with ModelCheckpoint.


Be careful about when to inline user's OnDone server callback

Callbacks should only be scheduled to the ApplicationCallbackExecCtx (aka inlined) in 3 cases. If none of these 3 cases apply, any callback should be scheduled to run on the Executor.

A core-generated internal (library-generated) callback - this should only apply to server request calls (new RPCs starting at the server, but not yet calling the method handler)
A C++-layer internal inlineable callback - this should only apply to the DefaultReactor reactions
A callback executed on the background poller - safe since the ApplicationCallbackExecCtx for such threads is at the base of the stack with no user code sitting below you

This PR will make sure that this is properly enforced. The test change shows a case that deadlocks before this PR but proceeds properly after this PR is complete.

Thanks for the review! I will merge as soon as tests pass.


Weird rounding by HumanDuration

Hi, first of all thank you for this very nice library.
However, a duration of 1 hour 59 min and 59 seconds is rounded down to "1 h" (and similarly for other numbers), which seems a bit surprising to me. I would expect the switch from "2 h" to "1 h" to happen at 1 hour and 30 minutes.
I think there is only a couple of lines to change in this block https://github.com/mitsuhiko/indicatif/blob/main/src/format.rs#L44 to change this behaviour. Would you mind if I sent a pull request for this?

Sounds good! It would be great if you can also add some unit tests in that file to clarify the intended behavior.


Produce resources to demystify basic AI ethics terminology and ideas

This is a holding issue until actual work is assigned, when the WG manager will create separate issues for each resource being made.
Total available is $400
Minimum of 4 resources
Suggested formats: infographics, short videos, slides, glossaries, etc
All are invited to suggest topics in the relevant page of the WG planning spreadsheet https://docs.google.com/spreadsheets/d/1vLC4ZIHO3WN-Ah9XwehRmbwLZAeePsxxYQXmLiiJLnQ/edit?usp=sharing

Can't do this quarter due to budget fitting

Due to the fact that token price is still not great, and Q4 budgets will need to be modest, suggest keeping this "on the back burner" and not including it in the Q4 budget.
This suggestion is to be ratified at the WG meeting on 2nd Sept.

Discussed on 2nd Sept - we decided to include it in the Q4 budget, but make it about smaller resources and maybe some participatory games


How to get data output from inference?

Hey there,
Instead of getting an image that is overlyed with predictions, can we get a JSON with coordinates of the enclosing box and the type of object detected?
That seems like a very basic expectation for automated monitoring of premises and other applications.
Any hints and tips you may have will be appreciated.

The model output is actually an object of the type BoxList. You can get the result information by doing something like :
output = model(image)
# Bounding boxes
boxes = output.bbox
# Labels
labels = output.get_field("labels")
# Scores
scores = output.get_field("scores")

You then can customize your JSON as you wish.

Thanks for the explanation @LeviViana !


test: Handle UserWarnings correctly in tests

Closes #399.
Summary of Changes

Ignore the UserWarning about data being already numerical thrown by OneHotEncoder in nan testcase.
Ignore UserWarnings about multiple most common values existing thrown by Imputer in testcases that are not meant to test for warnings.

:tada: This PR is included in version 0.15.0 :tada:
The release is available on:

v0.15.0
GitHub release

Your semantic-release bot :package::rocket:


klakspout breaks vive trackers in unity

I'm developing vive-tracked live digital avatar performance capture and multi-cam LED wall - I got Klakspout to work - but then discover my vive trackers stopped working - so i delete your lines in manifest and trackers spring back to life! now Klak's dead
using 2019.4.14f and also tried 2019.2.20f1
help? can i have both klakspout and vive trackers?

First of all, I don't have any experience on Vive Tracker, so I have no idea about the issue.
Is there any error/warning message on console?

I'm closing this issue due to inactivity. Please feel free to reopen it for further problems.


Changed example code to use Bufreader instead of Reader

First, thank you for this incredible library. 🦀🦀🦀
While using the CLI version at work, I found that our CI/CD was timing out.
Digging in, it looks like like the use of a Reader massively increases the amount of Read calls that are made.
As read syscalls take up a majority of the programs time, I suggest switching this out to a bufreader so that folks using the CLI out of the box do not run into similar issues.
Reader
$ strace -c /opt/fst-boon/fst-boon -d jsonschemadraft some.json someother.json
schema some.json: ok
instance someother.json: ok
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 99.98   12.170442           1   8507825           read

Bufreader
$ strace -c /opt/fst-boon/fst-boon -d jsonschemadraft some.json someother.json
schema some.json: ok
instance someother.json: ok
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 95.25    0.005049           1      4344           read

Good catch
There are some formatting checks for imports failing. Could you please fix them

Fixed!


Crash Report - Tool closes right after launch

I know the beta just came out an hour ago, but I wanted to document the behavior I'm seeing just in case it might be helpful. The tool launches the game without EAC successfully, but just a moment before the Bandai Namco logo appears the tool crashes. The game continues run, but with the tool crashed there's no way to patch the game. Attempting to run the tool again brings up a prompt saying "Game is already running! Do you want to close and restart it in offline mode without EAC?"
Specs:

Windows 11
AMD Ryzen 7 5800X 8-Core Processor 3.80 GHz
GeForce RTX 3080
32.0 GB RAM

Notes about installation

I followed the steps for Nvidia to the letter.
I also followed the GSYNC additional steps, once again to the letter.
I'm not using ReShade.

Troubleshooting Attempted:

Disabled fullscreen optimization
Added the game exe and the tool to windows defender exclusions
Undid the GSYNC additional steps by setting Vertical Sync to Off
Ran the tool as Administrator

Thank you for your efforts on this project!

Yeah I can't click the 'patch game' button either.

Yeah same

Same for me

Same

Some feedback...
Faulting application name: EldenRingFPSUnlockAndMore_v<IP_ADDRESS>-beta.exe, version: <IP_ADDRESS>, time stamp: 0x952eb391
Faulting module name: KERNELBASE.dll, version: 10.0.22557.1, time stamp: 0x509683d6
Exception code: 0xe0434352
Fault offset: 0x000000000001358c
Faulting process id: 0x0x4F4C
Faulting application start time: 0x0x1D82A416EBF1E4F
Faulting application path: E:\OneDrive\Downloads\Trainers\EldenRingFPSUnlockAndMore_v<IP_ADDRESS>-beta.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 706f9df4-9bbf-45b0-a442-65fd984c30d5
Faulting package full name:
Faulting package-relative application ID:
Application: EldenRingFPSUnlockAndMore_v<IP_ADDRESS>-beta.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
at EldenRingFPSUnlockAndMore.PatternScan.FindPattern_Native(Byte[] ByRef, Byte[] ByRef, System.String)
at EldenRingFPSUnlockAndMore.PatternScan.FindPattern(System.String)
at EldenRingFPSUnlockAndMore.MainWindow.OpenGame()
at EldenRingFPSUnlockAndMore.MainWindow+d__9.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at EldenRingFPSUnlockAndMore.App.Main()
Fault bucket<PHONE_NUMBER>163165811, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: RNL1MZJPGYF1V2MYZSQ3XXPSXSO0OYON
P2: <IP_ADDRESS>
P3: 952eb391
P4: EldenRingFPSUnlockAndMore
P5: <IP_ADDRESS>
P6: 952eb391
P7: 20
P8: a9
P9: System.IO.FileNotFoundException
P10:
Attached files:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.b6d9a4c7-bd02-4df6-b021-f756f4b46704.tmp.mdmp
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.c916e85e-aeae-4407-9c4f-25ab0f8c211b.tmp.WERInternalMetadata.xml
WPR_initiated_DiagTrackMiniLogger_OneTrace_User_Logger_20220225_1 EC_0_inject.etl
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.7c592799-05c4-4a42-bce7-1cc15740c4f0.tmp.etl
WPR_initiated_DiagTrackMiniLogger_WPR System Collector_inject.etl
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.e3023a29-a808-4ff5-8402-7d50825ac121.tmp.etl
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.367232d6-1b54-4eb4-8201-3e7682b03b0c.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.ba2a1b48-cb35-4304-864d-237b610bbf27.tmp.txt
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.9c46800d-f473-46e2-a9bb-309bba12185a.tmp.xml
These files may be available here:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_RNL1MZJPGYF1V2MY_54115987eaac4adbd028fc2b589df03ef639e71_c027fea8_05174a55-a5e3-4010-af05-db591a872236
Analysis symbol:
Rechecking for solution: 0
Report Id: 706f9df4-9bbf-45b0-a442-65fd984c30d5
Report Status:<PHONE_NUMBER>
Hashed bucket: e9cd582ffb4ac48d0fd25cafbe164273
Cab Guid: 0

Same issue

Exact same issue for me
Windows 10
intel i7 10700KF
GeForce RTX 3080
16 GB RAM @3200 mhz

Same.
Windows 10
i9-9900K
GeForce RTX 2080 TI
32 GB RAM @ 3200 MHz

same damn issue for me
gtx 1080
ryzen 7 5800x
win 10
16gb ram 3200mhz

The error seems to be connected to System.Runtime.CompilerServices.Unsafe .. Had the same error when I tested it in VS and removing the reference to System.Runtime.CompilerServices.Unsafe and readding it fixed the issue

The error seems to be connected to System.Runtime.CompilerServices.Unsafe .. Had the same error when I tested it in VS and removing the reference to System.Runtime.CompilerServices.Unsafe and readding it fixed the issue

so, how can I fix it to play the game in 144 HZ?

The error seems to be connected to System.Runtime.CompilerServices.Unsafe .. Had the same error when I tested it in VS and removing the reference to System.Runtime.CompilerServices.Unsafe and readding it fixed the issue

so, how can I fix it to play the game in 144 HZ?

I forked it and uploaded a fix here https://github.com/mrdellis/EldenRingFpsUnlockAndMore/releases/tag/<IP_ADDRESS> ..
Hope it works and fixes your problem..

The error seems to be connected to System.Runtime.CompilerServices.Unsafe .. Had the same error when I tested it in VS and removing the reference to System.Runtime.CompilerServices.Unsafe and readding it fixed the issue

so, how can I fix it to play the game in 144 HZ?

I forked it and uploaded a fix here https://github.com/mrdellis/EldenRingFpsUnlockAndMore/releases/tag/<IP_ADDRESS> ..
Hope it works and fixes your problem..

You are the best, it works perfectly thank you

Yo thank you very much, could you implement game files selection when hitting "Start game" please? Because it didnt found the game on my PC and I'm getting an error.

Thanks for the quick workaround @mrdellis.
Also guys, just a tip that may sound annoying but I swear it's not my intention, cause I know most of you all are probably not developers, so you have zero obligation to know this and it's totally expected that you don't, so you have done nothing wrong at all.
But it's usually not considered good etiquette to add more messages to a github issue just stating that the problem happens with you too (or anything else that doesn't add new info about the problem). If you wanna show some support for the issue to let the maintainer know that there's a lot of people with that same problem, the recommended way is usually to react to the original message of the issue (usually with a 👍).
That's mostly because they may have it set (and I believe this is the github default, too) to get an email with each new message, so they may end up with a pile of messages in their inbox. They already know it's an issue, no matter how many messages they get ;D
Again, not trying to sound condescending nor annoying, and at the end of the day this is my opinion, so it's no more right than anyone else's.

The error seems to be connected to System.Runtime.CompilerServices.Unsafe .. Had the same error when I tested it in VS and removing the reference to System.Runtime.CompilerServices.Unsafe and readding it fixed the issue

so, how can I fix it to play the game in 144 HZ?

I forked it and uploaded a fix here https://github.com/mrdellis/EldenRingFpsUnlockAndMore/releases/tag/<IP_ADDRESS> ..
Hope it works and fixes your problem..

i love you

This should be resolved now. I didn't expect so many people trying this patcher in its first release. Obviously I hadn't added a lot of checks yet. This should be resolved now, please let me now if you encounter any other problems.


Parameter maybe_memory should be optional

Describe the Bug
I have noticed that when the compilation target is web that the maybe_parameter of the initi(input, maybe_memory) is required. The name implies that it might be missing and especially for the first call to init it's most likely missing if input is a string and the module is fetched. Only subsequent calls might have memory. Maybe we change the type of this to also accept null or undefined or mark it as optional.
I think it would make sense to have a sanity check in load that, if module is not a function nor a Response object, meaning it's a WebAssembly module, then we add a check to ensure that maybe_memory is not undefined.
Alternatively, we can pass null! for memory_memory but to me this feels hacky.
Steps to Reproduce

Compile Rust to wasm32-unknown-unknown with target being web

If there is a solution to this and a clear path, I am volunteering to work on a PR to get this resolved.

Thanks for the report, but I believe that this parameter is already optional and not required if memory isn't imported. It should only be required if the wasm module imports memory, in which case there's nothing we can do if it's not supplied.

@alexcrichton Hmmm, but this is the generated code when multithreading is enabled:
async function load(module, imports, maybe_memory) {
    if (typeof Response === 'function' && module instanceof Response) {
        memory = imports.wbg.memory = new WebAssembly.Memory({initial:17,maximum:16384,shared:true});
        if (typeof WebAssembly.instantiateStreaming === 'function') {
            try {
                return await WebAssembly.instantiateStreaming(module, imports);

            } catch (e) {
                if (module.headers.get('Content-Type') != 'application/wasm') {
                    console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);

                } else {
                    throw e;
                }
            }
        }

        const bytes = await module.arrayBuffer();
        return await WebAssembly.instantiate(bytes, imports);

    } else {
        memory = imports.wbg.memory = maybe_memory;
        const instance = await WebAssembly.instantiate(module, imports);

        if (instance instanceof WebAssembly.Instance) {
            return { instance, module };

        } else {
            return instance;
        }
    }
}

So if you pass in a Module or ArrayBuffer then it won't work properly. So it should instead be something like this:
async function load(module, imports, maybe_memory) {
    if (maybe_memory == null) {
        maybe_memory = new WebAssembly.Memory({initial:17,maximum:16384,shared:true});
    }

    memory = imports.wbg.memory = maybe_memory;

    if (typeof Response === 'function' && module instanceof Response) {
        if (typeof WebAssembly.instantiateStreaming === 'function') {
            try {
                return await WebAssembly.instantiateStreaming(module, imports);

            } catch (e) {
                if (module.headers.get('Content-Type') != 'application/wasm') {
                    console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);

                } else {
                    throw e;
                }
            }
        }

        const bytes = await module.arrayBuffer();
        return await WebAssembly.instantiate(bytes, imports);

    } else {
        const instance = await WebAssembly.instantiate(module, imports);

        if (instance instanceof WebAssembly.Instance) {
            return { instance, module };

        } else {
            return instance;
        }
    }
}

Also the .d.ts file should make maybe_memory optional, like this:
export default function init (module_or_path?: InitInput | Promise<InitInput>, maybe_memory?: WebAssembly.Memory): Promise<InitOutput>;

Ah sorry, yes, that seems like a reasonable update to me!

Yep, I agree with @Pauan. The code he provided is what I was hoping for, to make the wasm memory optional especially for the generated type definition.


Configure sendmail wrapper using confd

Testing
Unfortunately, you cannot easily run the drupal image in isolation because confd errors out when certain environment variables are missing.  I don't know what they are, and it's a potentially long list.  The easiest thing to do will be to build this image and launch the stack, then review the php.ini file in /etc/php7/php.ini.

Build a local image from this PR: ./gradlew -Prepository=local drupal:build
Check out the tip of development from idc-isle-dc
Configure idc-isle-dc to use the drupal image from this PR by editing idc-isle-dc/docker-compose.local.yml and change the line image: ${REPOSITORY:-islandora}/drupal:${TAG:-latest} to image: local/drupal:latest
Add the SMTP configuration environment variables to idc-isle-dc/docker-compose.env.yml.  Locate the drupal environment keys, and add all required keys that have no default, along with any other keys you wish to override, e.g.:

      DRUPAL_SMTP_ENABLE: "true"
      DRUPAL_SMTP_AUTH_PRINCIPAL<EMAIL_ADDRESS>      DRUPAL_SMTP_AUTH_TOKEN: "token xyz"
      DRUPAL_SMTP_FROM_ADDRESS<EMAIL_ADDRESS>      DRUPAL_SMTP_RELAY_HOST: "smtp.gmail.com"
      DRUPAL_SMTP_VERBOSE: "true"

Re-generate idc-isle-dc/docker-compose.yml: make -B docker-compose.yml
Start the stack by invoking make up inside idc-isle-dc.

Once Drupal has started, you can examine the contents of /etc/php7/php.ini.  The easiest thing to do is run: docker-compose exec drupal egrep '^sendmail' /etc/php7/php.ini.  You should see output similar to (asterisks are redactions by me).  The values you see in the php.ini file ought to align with the values you have provided .
sendmail_path = "sendmail -v -t -amLOGIN<EMAIL_ADDRESS>-ap***** -f<EMAIL_ADDRESS>-H 'openssl s_client -quiet -tls1_2 -starttls smtp -connect smtp.gmail.com:587'"

After getting this far, the next step is to send email.  Since this PR deals with low-level SMTP plumbing, and since we'll ultimately be using PHP to send emails, the easiest thing to do is use the PHP mail() function.

Obtain an interactive PHP shell in the drupal container: docker-compose exec drupal php -a -c /etc/php7/php.ini
Send a message by invoking<EMAIL_ADDRESS>'Test Subject', 'Test Message Body');
Observe the output in the drupal log (e.g. in another terminal run docker-compose logs -f drupal) and make sure you don't see obvious errors in the SMTP exchange
Check for the test email send to<EMAIL_ADDRESS>
Read on for more explanation of SMTP configuration and the environment variables involved.
Configuring SMTP
Drupal must have the following environment variables preset at runtime in order to send email through an SMTP relay.  These variables configure PHP-related SMTP settings in php.ini (which is parameterized by confd).  The only dependency is on the OpenSSL binary, which must be present in the command path (it is, by default).
Busybox sendmail is configured by default, and existing settings have been tested with GMail SMTP.  For example, to use GMail's SMTP relays, you would use the following values:

DRUPAL_SMTP_ENABLE: true
DRUPAL_SMTP_AUTH_PRINCIPAL<EMAIL_ADDRESS>DRUPAL_SMTP_AUTH_TOKEN: <gmail app token>
DRUPAL_SMTP_FROM_ADDRESS<EMAIL_ADDRESS>DRUPAL_SMTP_RELAY_HOST: smtp.gmail.com

The default values for the remaining required variables suffice.
SMTP Environment Variables

Environment Variable
Default Value
Description

DRUPAL_SMTP_ENABLE
`` (the zero-length string)
Determines whether SMTP is enabled or not.  Any non-empty value (e.g. true) may be used.  If the value is the zero-length string, none of the SMTP-related variables have affect

DRUPAL_SMTP_VERBOSE
`` (the zero-length string)
Logs entire SMTP exchanges with the relay.  Any non-empty value (e.g. true) may be used.  Useful for debugging but does echo sensitive information to the logs.

DRUPAL_SMTP_MSA_BIN
sendmail
(required) Path to Sendmail. By default the BusyBox sendmail wrapper is used.

DRUPAL_SMTP_AUTH_MECH
LOGIN
(required) The SMTP auth mechanism used.  Exactly one authentication mechanism must be defined.

DRUPAL_SMTP_AUTH_PRINCIPAL
-
(required) The SMTP user principal to authenticate as.  Since there is no default provided, this must be defined.

DRUPAL_SMTP_AUTH_TOKEN
-
(required) The SMTP authentication token to authenticate with.  Since there is no default provided, this must be defined.

DRUPAL_SMTP_FROM_ADDRESS
-
(required) A trusted from address used by MAIL FROM.  Since there is no default provided, this must be defined.

DRUPAL_SMTP_RELAY_HOST
email-smtp.us-east-1.amazonaws.com
(required) The IP address or DNS name of the SMTP relay to use.

DRUPAL_SMTP_RELAY_PORT
587
(required) The Mail Submission Port used by the SMTP relay.

DRUPAL_SMTP_TLS_VERSION
tls1_3
(required) The TLS version to use.  Valid values are determined by the OpenSSL library.  Example valid values are: tls1, tls1_1, tls1_2, tls1_3.

@jhujasonw or whomever ultimately reviews this PR, here is a patch that can be applied to idc-isle-dc for the purposes of testing this PR and configuring it to send mail.
diff --git a/.env b/.env
index 660666e86..438a6b0e5 100644
--- a/.env
+++ b/.env
@@ -94,6 +94,13 @@ DRUPAL_DEFAULT_S3_USE_CUSTOMHOST=true
 DRUPAL_DEFAULT_S3_USE_PATH_STYLE_ENDPOINT=true
 DRUPAL_DEFAULT_S3_PRIVATE_PATH=pr

+# SMTP relay config
+DRUPAL_SMTP_ENABLE=true
+DRUPAL_SMTP_AUTH_PRINCIPAL=*******
+DRUPAL_SMTP_AUTH_TOKEN=*********
<EMAIL_ADDRESS>+DRUPAL_SMTP_RELAY_HOST=smtp.gmail.com
+
 # Testing
 TEST_OPERATION_TIMEOUT_MS=30000
 MIGRATION_ASSETS_IMAGE_TAG=eea9f5d.1626701104
diff --git a/docker-compose.env.yml b/docker-compose.env.yml
index f420b8f77..8a7702c37 100644
--- a/docker-compose.env.yml
+++ b/docker-compose.env.yml
@@ -170,6 +170,13 @@ services:
       DRUPAL_IDP_ENTITYID: ${IDP_ENTITYID}
       DRUPAL_IDP_BASEURL: ${IDP_BASEURL}
       DRUPAL_SP_ENTITYID: ${SP_ENTITYID}
+      DRUPAL_SMTP_ENABLE: ${DRUPAL_SMTP_ENABLE}
+      DRUPAL_SMTP_AUTH_PRINCIPAL: ${DRUPAL_SMTP_AUTH_PRINCIPAL}
+      DRUPAL_SMTP_AUTH_TOKEN: ${DRUPAL_SMTP_AUTH_TOKEN}
+      DRUPAL_SMTP_FROM_ADDRESS: ${DRUPAL_SMTP_FROM_ADDRESS}
+      DRUPAL_SMTP_RELAY_HOST: ${DRUPAL_SMTP_RELAY_HOST}
+      DRUPAL_SMTP_VERBOSE: ${DRUPAL_SMTP_VERBOSE}
+      DRUPAL_SMTP_TLS_VERSION: ${DRUPAL_SMTP_TLS_VERSION}
   idp:
     environment:
       IDP_BASEURL: ${IDP_BASEURL}
diff --git a/docker-compose.local.yml b/docker-compose.local.yml
index 79d106024..51a2adae5 100644
--- a/docker-compose.local.yml
+++ b/docker-compose.local.yml
@@ -16,7 +16,7 @@ volumes:
   solr-data:
 services:
   drupal:
-    image: ${REPOSITORY:-islandora}/drupal:${TAG:-latest}
+    image: local/drupal:latest
     volumes:
       - ./codebase:/var/www/drupal:delegated
       - drupal-sites-data:/var/www/drupal/web/sites/default/files


The online demo is not working

When I visit the page http://pub.lvrian.com/react-picker/demo.html, only the json {"error":"Document not found"} shows.

thx reminder. updated the link

@nickeljew Thanks!


Someone selling your project as API

Does they have license for selling your free project?
https://rapidapi.com/mirzahadjaevaguzal/api/shazam-song-recognizer/pricing

Does they have license for selling your free project?
https://rapidapi.com/mirzahadjaevaguzal/api/shazam-song-recognizer/pricing

Hi, looks like a complete copy of my library :)))
I'm only sure of this:
https://rapidapi.com/apidojo/api/shazam/
When I started developing this library, they already existed.

I have an MIT license that does not prohibit the modification and sale of the product. One condition:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

But we won't know if he copied this library or not :)


Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com

Hi @lukasroegner
I recently get this error the log flooding.
Any idea?
However, the lock is still responding to HomeKit commands.
If you think it might have something to do with the API, Andrzej said you should contact him.
Would be great if you could find out to what request get the error message. Helpful for Andrzej's Developers he said.
I noticed this just starting yesterday and today.
Maybe it's only bad/slow network. I will have an eye on it and update here if I see any changes during the day.
[2020-8-4 9:37:03] [TedeePlatform] [Wohnungstür] Pull spring via HomeKit requested.
[2020-8-4 9:37:03] [TedeePlatform] [Wohnungstür] Pulled spring via API.
[2020-8-4 9:37:53] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:39:28] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:39:43] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:39:53] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:39:58] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:39:58] [TedeePlatform] Failed to get locks from API and start background updates.
[2020-8-4 9:40:13] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:40:23] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:40:28] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:40:28] [TedeePlatform] Failed to get locks from API and start background updates.
[2020-8-4 9:40:38] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:40:53] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:40:53] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:40:53] [TedeePlatform] Failed to get locks from API and start background updates.
[2020-8-4 9:41:08] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:41:22] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:41:23] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:41:23] [TedeePlatform] Failed to get locks from API and start background updates.
[2020-8-4 9:41:38] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:41:53] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:41:53] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
[2020-8-4 9:41:53] [TedeePlatform] Failed to get locks from API and start background updates.
Aug 04 09:48:23 raspberrypi-3BPlus homebridge[2674]: [2020-8-4 9:48:23] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
Aug 04 09:48:23 raspberrypi-3BPlus homebridge[2674]: [2020-8-4 9:48:23] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
Aug 04 09:48:23 raspberrypi-3BPlus homebridge[2674]: [2020-8-4 9:48:23] [TedeePlatform] Failed to get locks from API and start background updates.
Aug 04 09:48:38 raspberrypi-3BPlus homebridge[2674]: [2020-8-4 9:48:38] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
Aug 04 09:49:23 raspberrypi-3BPlus homebridge[2674]: [2020-8-4 9:49:23] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
Aug 04 09:49:27 raspberrypi-3BPlus homebridge[2674]: [2020-8-4 9:49:27] [TedeePlatform] [Wohnungstür] Close via HomeKit requested.
Aug 04 09:49:37 raspberrypi-3BPlus homebridge[2674]: [2020-8-4 9:49:37] [TedeePlatform] [Wohnungstür] Error while closing via API: Error: getaddrinfo EAI_AGAIN api.tedee.com
Aug 04 09:49:38 raspberrypi-3BPlus homebridge[2674]: [2020-8-4 9:49:38] [TedeePlatform] Error while getting locks from API: Error: getaddrinfo EAI_AGAIN api.tedee.com
Aug 04 09:49:50 raspberrypi-3BPlus homebridge[2674]: [2020-8-4 9:49:50] [TedeePlatform] [Wohnungstür] Closed via API.
Aug 04 09:50:09 raspberrypi-3BPlus homebridge[2674]: [2020-8-4 9:50:09] [TedeePlatform] [Wohnungstür] Open via HomeKit requested.
Aug 04 09:50:10 raspberrypi-3BPlus homebridge[2674]: [2020-8-4 9:50:10] [TedeePlatform] [Wohnungstür] Opened via API.

The error message means that there have been some DNS issues. Do you still get those messages?

Thanks. Seems to work reliable again. Probably as mentioned some network issues in general.
I close this ticket.


Application not suppored on my mac

Whenever i try to open the application it just says that application is not supported on this mac. I have a 2020 intel macbook air, is there any way I can troubleshoot this?

The description explicitly says Apple Silicon.


Add support for queryAll

Is your feature request related to a problem? Please describe.
Currently, the CLI's data:query command does not seem to support queryAll which is frustrating when trying to fetch deleted records, archived activities, etc.
What are you trying to do
Fetch deleted records/archived activities.
Describe the solution you'd like
The data:query command should add support for an allRows flag which would cause it to use the queryAll api instead of the query api.
Describe alternatives you've considered
Currently, I resort to using Apex Dataloader or running an anonymous Apex script with ALL ROWS parameter. I've also built my own CLI plugin.
Additional context
This should be trivial to implement, I think, since the version of jsForce the CLI is using seems to simply require a scanAll flag to be set to true to use queryAll instead of query. Additonally, setting autoFetch to true seems to fetch all records as well by hitting the nextRecordsUrl in a loop till all rows are returned.

@surajp Thank you for filing this feature request. Seems like this would be a good addition to the query command! We will have to prioritize this work, so not sure when we would be able to get to it. We do accept contributions, so if you would like to do that please see CONTRIBUTING guide.

This is now in the latest CLIs: sfdx 7.208.10 / sf 1.85.8


feat: add possibility to send cards

Hi,
I just wanted to add possibility to send cards for nicer display.
https://developers.google.com/hangouts/chat/reference/message-formats/cards
I'll add an example of a working card template as soon I have a working one.
Thanks again.

Hello @antoinerabany, that's a very interesting contribution, thanks !
I've done some remarks in your PR.
The main feedback is (I suppose): if use_cards=true, the template render will output json but as a string. In such case, we need to add a json.loads(...) to transform the text_alert value to a dict, otherwise the call to Google Chat will fail.

Hello,
Thanks for your feedback, I implemented your changes.

Thanks a lot @antoinerabany 👍
I will look at it by tomorrow and gets it released if everything is OK.

Project is released, as well as the associated Helm Charts.
Thanks for your contribution 👍


drivers: adc: stm32: do not disable adc after measurement

Do not disable the ADC after the end of the measurement to avoid systematic enabling which is time-consuming in case the configuration is unchanged.

Just a note here: This came out of a request from my usage of the stm32 ADC for an electro-capacative keyboard that needs to very do ADC reads with fairly strict timing requirements. When bumping to Zephyr 3.5 from 3.2, our reads were way too slow, and we were missing the momentary parasitic voltage spikes from our strobes, because every read had to first wait for the ADC hardware to be enabled again every read.
This fix restores behavior for me and works as expected with Zephyr 3.5 for ZMK.


remove_device does not work

First off, thanks for your contribution to the Chia community. I have been using plotfs with success for a while now.
However, I had a drive fail on me and I cannot remove it from my plotfs. See below.
Also, this seems to have made almost 27 TiB of plots inaccessible, when the drive was only 10 TB.
 I tried removing based on the ID instead of the drive path, but that results in a segfault error.

Which version of PlotFS?
I had issues removing a device with previous versions and needed to upgrade to successfully remove a the device from PlotFS.

Thanks @johnathon-b  - updating to the latest version of the repo allowed me to remove the drive (sidenote: had to use the ID, not the drive path itself). I did run into some compile issues that I managed to work through, but I'll open a separate issue report for that.

Happy I could help.

@szatmary After removing the bad drive, I now get the "plot block not found in free space" error when adding plots. Each plot I add ends up being corrupted (chia plots check reports it as unopenable) and it seems to usually corrupt a previously good plot as well. Do I have to start over?

You should not need to start over. But don't try to add any more plots for now (In case it corrupts it further) I'll work on getting a recovery tool out that can scan your current drives and rebuild the geometry file. Give me a couple of days. In the mean time, can you send me the plotfs.bin file?

Thanks. I'll leave it and let it farm the working plots for now.
plotfs.bin: https://drive.google.com/file/d/1hg6-mpYl6NKaosUPUZfX_WetXW-yTut2/view?usp=sharing

You should not need to start over. But don't try to add any more plots for now (In case it corrupts it further) I'll work on getting a recovery tool out that can scan your current drives and rebuild the geometry file. Give me a couple of days. In the mean time, can you send me the plotfs.bin file?

Is this effort specific to a bin file or can it be used to rebuild and discover plots?


ReflectionHelper cannot resolve CraftEntity on Mac and Linux

On Mac and Linux:
[08:13:41 INFO]: [ReflectionHelper] Generating dynamic constant...
[08:13:41 INFO]: [ReflectionHelper] Version is UNKNOWN (-1)
[08:13:41 ERROR]: Could not load 'plugins/BossBarAPI_v2.4.1.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
...
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: Could not resolve class for [ResolverQuery{name='org.bukkit.craftbukkit.UNKNOWN.entity.CraftEntity', types=[]}]
...
Caused by: java.lang.ClassNotFoundException: Could not resolve class for [ResolverQuery{name='org.bukkit.craftbukkit.UNKNOWN.entity.CraftEntity', types=[]}]

Further information:
[01:11:35 INFO]: This server is running CraftBukkit version git-Spigot-65a0347-1a71021 (MC: 1.11.2) (Implementing API version 1.11.2-R0.1-SNAPSHOT)

java -version
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)

I'm submitting another pull request with a patch that works from load to run-time usage.


Set license for applied patches

@ExHunter and @Fryer could you please tell me if you are fine if we use MIT license for all patches applied to the original Polyworks Source?

Fine with me 👌

Sorry I was gone for too long. If it is still relevant, definately fine by me aswell.

Btw the installer was written with help from Zakath. We need him to agree on the MIT License for his contribution as well.

Its fine with me

Its fine with me

Thanks Zakath 👍


Can't edit file description

Description

can't edit the message in file description when added.
Devices and Versions

Your Rocket.Chat.Android version: 2.4.0

Mobile device model and OS version:
Xiaomi Redmi Note 4 - Android 7.0
Steps to reproduce

Add a file with some description and then edit it.
Link of Video  can be found here.

#1476


nereids add boolean type for sum agg

Proposed changes
add boolean type for sum agg
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 50.42 seconds
stream load tsv:          507 seconds loaded<PHONE_NUMBER>9 Bytes, about 140 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          66 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          28.8 seconds inserted 10000000 Rows, about 347K ops/s
storage size:<PHONE_NUMBER>9 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 52.98 seconds
stream load tsv:          505 seconds loaded<PHONE_NUMBER>9 Bytes, about 141 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size:<PHONE_NUMBER>9 Bytes


Issues and Comments

Hello,
I think the game is cool but I think it would really help if you indicate where to walk after defeating a room because I found myself banging into the edges of the world a lot trying to navigate the game.
Also, I'm pretty sure it's already been noted down but when you click the credits on the main menu, there's no way of going back.
Good luck with the rest of your game!! :)
Amanda

We completed the issue about where to go by adding walls to help navigate through the map and and know where the entrance of the next stage is. We also completed the issue about going to the menu when in instruction and credits by pressing shift to go back to the menu when in instructions and credits.


Closing tabs shifts tab width

We had this bug at some times in our theme implementation too, especially when tab widths are forced:
When you're closing a tab and the mouse is still over the tab strip, the tab widths change, so you're not necessarily over the next tab. This can cause someone closing a lot of tabs in a row (either when using the X button or middle-clicking a tab) a bit of a problem, as the tabs will have shifted and they might close the wrong tab.

I think this is an artefact of Firefox's intended behaviour of always putting the next tab close button under the cursor when closing a tab (so that multiple tabs can be closed by just continually clicking).
Mousing away from the tab bar then presumably stops using the temporary JS tricks, reverting to the styled widths.
If you close the right-most tab, then there is no "next tab to the right", so presumably the JS just temporarily shrinks the remaining ones to Firefox's "standard" width.
FWIW, the "smart width" behaviour has always had a bug since its introduction to Firefox - with the standard theme, if you open enough tabs to scroll, then start closing them from the leftmost, when the scroll buttons disappear, the mouse is no longer over the next tab's close button.


Alter forces test based on driver revision

The forces test, using Gaussian driver, was done originally using RevA.03. It seems the values produced via the driver in a later rev are not quite the same. This changes the test to detect the version/revision and select the right set of values to compare against.
This needs to be updated for RevC.01 values.

Thanks @woodsp-ibm! I just updated the values for the C01 rev and also added its output alongside the A01 logfile.
I did not duplicate the expected test values inside of test/drivers/second_quantization/gaussiand/test_driver_gaussian_log.py because the parsing does not change.
I also synced with @paulineollitrault who agrees that the results produced by G16RevC.01 indeed make more sense.
As an FYI we found a potential bug fix mentioned in the G16 release notes (https://gaussian.com/relnotes/ on the "Bugs Fixed" tab) which could be related to this test. This bug was fixed in C01 so assuming that B01 is equivalent to A03 should be a good bet here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.241%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8317

Relevant Lines:
10113

💛  - Coveralls


perf(transformer): reduce string allocations in JSX transform

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3538  👈
#3537
#3536
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite

Actually this is a bad idea. Closing!


A test framework

Description
TBD
Steps to Reproduce
Omit
Versions
develop
Additional Information
---------------Chinese-----------------
cita_tests

https://github.com/yangby-cryptape/cita-bench

I also have a plan on this, and I'm going to use JMeter as the benchmark tool.

Have no plan yet.
Will try to use Rust SDK in CI first.


ordered_json doesn't support range based erase

ordered_json uses ordered_map and ordered_map lacks a range based(iterator pair) erase method.   This means that it's not possible to use algorithms like std::unique, std::remove_if etc on an ordered_json, even if you're trying to use it on a json array, bc it will not compile.

I can confirm this:
#include <iostream>
#include <nlohmann/json.hpp>
#include <algorithm>

using json = nlohmann::json;
using ordered_json = nlohmann::ordered_json;

int main() {
    json j = {1,2,2,4};
    //ordered_json j = {1,2,2,4}; // does not compile

    auto last = std::unique(j.begin(), j.end());
    j.erase(last, j.end());

    std::cout << j << std::endl;
}

This compiles with json, but not with ordered_json.

Feedback on #3109 greatly appreciated!

Help needed with #3109, see https://github.com/nlohmann/json/pull/3109#issuecomment-955578305.


test/helpers: do not wait after killing SSH Connection

Signed-off-by: André Martins<EMAIL_ADDRESS>

This change is

test-me-please

Coverage increased (+0.02%) to 41.981% when pulling 45c0e0ccd9170910455c1b777913d18c5282aa94 on pr/test-do-not-wait-in-cmmds into 42a899c30348dd77d5314d1478b45cb0fc94049f on master.

test-me-please


Using this in my crypto project.

Hello, am I able to use this in my crypto currency project?

Sure,You can modify the code and change the name for commercial or non-commercial projects without my permission.


Shell Stream usage

Its not an issue per se.. but a lack of finding documentation.
I am using the Shell Streams to do some advanced logic and one of the more annoying things is getting a command in before the session can use it.
This is resolved wonderfully with the "Invoke-SSHStreamExpectAction" for one off things like password prompts.
The use I need is for the SSHStream to tell me when its done processing something.  Simple example would be "apt-get update".   I have written a function that does this to some extent by reading the stream looking for some value that signals the processing is done.
I recently noticed a few intriguing members of the New-SSHShellStream object
BeginExpect  & EndExpect
BeginRead  & EndRead
BeginWrite  & EndWrite
I cant tell how they are used based on the $ShellStreamObject | Get-Member
can anyone enlighten me on the use of these members?
Also curious if there are any other forms of communication to find out information.  Gitter, forum, or IRC channel that is frequented by DarkOP or others

The only additional way to figure those out would be to read the library documentation from the library I use https://sshnet.codeplex.com sadly the project has been abandoned and Im waiting for the version from the PS Team at MS that will have the .Net wrapper to migrate to that.
Sent from my iPhone

On Jan 4, 2016, at 6:58 PM, urlocalguru<EMAIL_ADDRESS>wrote:
Its not an issue per se but a lack of finding documentation
I am using the Shell Streams to do some advanced logic and one of the more annoying things is getting a command in before the session can use it
This is resolved wonderfully with the "Invoke-SSHStreamExpectAction" for one off things like password prompts
The use I need is for the SSHStream to tell me when its done processing something Simple example would be "apt-get update" I have written a function that does this to some extent by reading the stream looking for some value that signals the processing is done
I recently noticed a few intriguing members of the New-SSHShellStream object
BeginExpect & EndExpect
BeginRead & EndRead
BeginWrite & EndWrite
I cant tell how they are used based on the $ShellStreamObject | Get-Member
can anyone enlighten me on the use of these members?
Also curious if there are any other forms of communication to find out information Gitter, forum, or IRC channel that is frequented by DarkOP or others
—
Reply to this email directly or view it on GitHub.

A CHM with API docs can be downloaded from here https://sshnet.codeplex.com/releases/view/120565


Add hosted docs

We want to access generated PS docs from a publicly available server.

Duplicate of #622