text:
Store subscribe throws "TypeError: toISOString is not a function" when devtools enabled

Trying to use the devtools I get this Chrome console error:
onError: TypeError: toISOString is not a function
    at String.toJSON (<anonymous>)
    at Object.<anonymous> (http://localhost:3000/polyfills.dll.js:505:15)
    at derez (<anonymous>:2:5166)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5605)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5605)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5605)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5605)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5605)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5605)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5605)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5605)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5605)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at derez (<anonymous>:2:5787)
    at Object.decycle (<anonymous>:2:5824)
    at Object.e.stringify (<anonymous>:1:9180)
    at tryCatchStringify (<anonymous>:1:18835)
    at stringify (<anonymous>:1:18935)
    at toContentScript (<anonymous>:1:20155)
    at Function.sendMessage [as send] (<anonymous>:1:20641)
    at DevtoolsExtension.webpackJsonpac__name_.57.DevtoolsExtension.notify (http://localhost:3000/vendor.bundle.js:1462:32)
    at ScanSubscriber.accumulator (http://localhost:3000/vendor.bundle.js:1351:31)
    at ScanSubscriber._tryNext (http://localhost:3000/vendor.dll.js:94063:27)
    at ScanSubscriber._next (http://localhost:3000/vendor.dll.js:94056:25)
    at ScanSubscriber.Subscriber.next (http://localhost:3000/vendor.dll.js:457:18)
    at WithLatestFromSubscriber._next (http://localhost:3000/vendor.dll.js:96801:34)
    at WithLatestFromSubscriber.Subscriber.next (http://localhost:3000/vendor.dll.js:457:18)
    at Notification.observe (http://localhost:3000/vendor.dll.js:24076:50)
    at QueueAction.ObserveOnSubscriber.dispatch [as work] (http://localhost:3000/vendor.dll.js:47801:22)
    at QueueAction.AsyncAction._execute (http://localhost:3000/vendor.dll.js:24288:18)
    at QueueAction.execute (http://localhost:3000/vendor.dll.js:97134:18)
    at QueueScheduler.AsyncScheduler.flush (http://localhost:3000/vendor.dll.js:24361:32)
    at QueueAction.schedule (http://localhost:3000/vendor.dll.js:97128:24)
    at QueueScheduler.Scheduler.schedule (http://localhost:3000/vendor.dll.js:85633:53)
    at ObserveOnSubscriber.scheduleMessage (http://localhost:3000/vendor.dll.js:47808:56)
    at ObserveOnSubscriber._next (http://localhost:3000/vendor.dll.js:47811:14)
    at ObserveOnSubscriber.Subscriber.next (http://localhost:3000/vendor.dll.js:457:18)
    at MergeAllSubscriber.OuterSubscriber.notifyNext (http://localhost:3000/vendor.dll.js:642:26)
    at InnerSubscriber._next (http://localhost:3000/vendor.dll.js:85571:21)
    at InnerSubscriber.Subscriber.next (http://localhost:3000/vendor.dll.js:457:18)
    at MapSubscriber._next (http://localhost:3000/vendor.dll.js:12112:26)
    at MapSubscriber.Subscriber.next (http://localhost:3000/vendor.dll.js:457:18)
    at MergeAllSubscriber.OuterSubscriber.notifyNext (http://localhost:3000/vendor.dll.js:642:26)
    at InnerSubscriber._next (http://localhost:3000/vendor.dll.js:85571:21)
    at InnerSubscriber.Subscriber.next (http://localhost:3000/vendor.dll.js:457:18)
    at SkipSubscriber._next (http://localhost:3000/vendor.dll.js:94426:30)
    at SkipSubscriber.Subscriber.next (http://localhost:3000/vendor.dll.js:457:18)
    at Dispatcher.Subject.next (http://localhost:3000/vendor.dll.js:3420:25)
    at Dispatcher.BehaviorSubject.next (http://localhost:3000/vendor.dll.js:24033:31)
    at Store.webpackJsonpac__name_.61.Store.dispatch (http://localhost:3000/vendor.bundle.js:1682:26)
    at SafeSubscriber._next (http://localhost:3000/main.bundle.js:679:25)
    at SafeSubscriber.__tryOrUnsub (http://localhost:3000/vendor.dll.js:591:16)
    at SafeSubscriber.next (http://localhost:3000/vendor.dll.js:540:22)
    at Subscriber._next (http://localhost:3000/vendor.dll.js:493:26)
    at Subscriber.next (http://localhost:3000/vendor.dll.js:457:18)
    at MapSubscriber._next (http://localhost:3000/vendor.dll.js:12112:26)
    at MapSubscriber.Subscriber.next (http://localhost:3000/vendor.dll.js:457:18)
    at XMLHttpRequest.onLoad (http://localhost:3000/vendor.dll.js:61898:38)
    at ZoneDelegate.invokeTask (http://localhost:3000/polyfills.dll.js:4304:31)
    at Object.onInvokeTask (http://localhost:3000/vendor.dll.js:30317:37)
    at ZoneDelegate.invokeTask (http://localhost:3000/polyfills.dll.js:4303:36)
    at Zone.runTask (http://localhost:3000/polyfills.dll.js:4103:47)
    at XMLHttpRequest.ZoneTask.invoke (http://localhost:3000/polyfills.dll.js:4357:38)

Disabling the devtools from the app module makes this error disappear and the app behaves well.
This happens only after the store holds some data.
package.json:
"dependencies": {
    "@ngrx/core": "^1.2.0",
    "@ngrx/store": "^2.2.2",
    "@ngrx/store-devtools": "^3.2.4",
}

app.module:
imports: [
    BrowserModule,
    HttpModule,
    StoreModule.provideStore(rootReducer),
    StoreDevtoolsModule.instrumentOnlyWithExtension({
      maxAge: 5
    }),
    RouterModule.forRoot(ROUTES, { useHash: true, preloadingStrategy: PreloadAllModules })
  ],

Suggestions?

This happens when your actions contain values that are not serializable. For example I was getting the same error when dispatching an action with an ActivatedRouteSnapshot payload. My solution was to extract the necessary values into a plain object and use that as the payload.

Thanks @TheophileSketo. This is a known bug/limitation or a feature by design?
Isn't extracting to a plain object in contrast to using typed objects in typescript?

authors: TheophileSketo naorrosenberg

repo: ngrx/store-devtools


text:
Verify Panel component

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

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
I would be willing to submit a PR to fix this issue
[ ] Yes (Assistance is provided if you need help submitting a pull request)
[ ] No

closed by https://github.com/ngx-builders/ngx-bulma/pull/350

source: gharchive/issue

repo: ngx-builders/ngx-bulma

license: MIT

license_type: permissive

license_source: github-api


text:
Browsers autofill username/password fields with the website's saved login credentials

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior

Browsers autofills username/password fields if passwords were saved for the website.
Expected behavior

Inputs need a way to disable autocomplete. formly-js has a fix for Chrome: removeChromeAutoComplete
Minimal reproduction of the problem with instructions

Make an app with a login page and a settings page with Formly username/password inputs. Enter the login credentials and click yes when the browser prompts to save them.  Navigate to the settings page and the inputs will display the saved login credentials.
What is the motivation / use case for changing the behavior?

Inputs are displaying the wrong values that could be saved by the user.  I can't find a workaround, for example, setting autocomplete="user-password" on the password input after it's created, because at that point the browser already autofilled it.
Please tell us about your environment:

Windows 10 Pro

Angular version: 6.0.3

Browser: Chrome  67.0.3396.79, Firefox 60.0.2

Language: TypeScript 2.7.2

Node (for AoT issues): node --version = 8.9.1

Nevermind. I created a custom input with autocomplete="off" following this example: https://github.com/formly-js/ngx-formly/issues/473

@shp0 should it be for all fields if I have a complex form ?

This worked also for me:
templateOptions: {
    label: 'COUNTRY',
    placeholder: 'Country',
    attributes: {
        autocomplete: 'off'
    },
    required: true,
}

I created a wrapper function that seems to be working well.
  disableAutoFill(fields: FormlyFieldConfig[]): FormlyFieldConfig[] {
    fields.forEach((field) => {
      if (field.key && field.props) {
        field.props.attributes = {
          ...field.props.attributes,
          autocomplete: 'off',
          autocorrect: 'off',
          autocapitalize: 'none',
          spellcheck: 'false',
        };
      }
      if (field.fieldGroup) {
        field.fieldGroup = this.disableAutoFill(field.fieldGroup);
      }
    });
    return fields;
  }

repo: ngx-formly/ngx-formly


text:
Wiki could be clearer on matcher usage

From looking at the wiki, it isn't immediately clear that mockito-kotlin introduces its own matcher functions (eq(), any(), etc.) that should be used instead of Mockito's functions.

Thanks! I have included this in the Wiki.

authors: erikthered nhaarman

repo: nhaarman/mockito-kotlin

license: mit

license_source: bigquery


text:
tui editor icons svg displays in the UI as a white strip

Description
The icons SVG used to display the button icons are getting attached in the body. even though the display property is set to none it displays in the UI as a white stripe.
To Reproduce
Steps to reproduce the behavior:

attach the image editor to edit an image
exit the image editor by saving or canceling
White strip will be displayed on the bottom of the screen

Expected behavior
The SVG should not display
Screenshots

Desktop:

OS: Windows Linux macOS
Browser: chrome, safari, firefox
Version: all

Smartphone:

Device: Android, Iphones
OS: All
Browser: stock browser, chrome, safari, firefox
Version: all

Currently bypassed this issue by adding this code in the index.css
[display=none] {      display: none }

@sanduninme
Thank you for reporting the bug.
I'll fix it.

@loongzhu
change source code here ?
https://github.com/nhn/tui.image-editor/blob/9ee993e21135a0bdb69d1400b19d89d7e78f7378/apps/image-editor/src/svg/default.svg#L3C6-L3C13


text:
fix(hasura-storage-js): fix upload response status code check

Fixes #2189

@dddenis Can you please check Allow edits from maintainers so I can add the changeset!

Hey @onehassan , it is already checked.

@dddenis It seems that I still get permission denied somehow

Strange, it's been on from the beginning and I've just toggled it off and on again:

I've also added changeset in case you can not commit, let me know if it's ok or if I need to change anything.

Codecov Report

Merging #2190 (08fe4cd) into main (73230eb) will not change coverage.
Report is 14 commits behind head on main.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main    #2190   +/-   ##
=======================================
  Coverage   87.07%   87.07%
=======================================
  Files          85       85
  Lines        9312     9312
  Branches      494      494
=======================================
  Hits         8108     8108
  Misses       1204     1204

source: gharchive/pull-request

authors: codecov-commenter dddenis onehassan

repo: nhost/nhost


text:
Add node_confirms option to write messages

For  KV/counter/datatypes all
(Needed by https://github.com/nhs-riak/riak_kv/pull/8)

I'm not sure myself. On a re-read of the HTTP API code and the fsm code, it looks like the answer is a tentative "yes". Maybe @ramensen has an opinion. AFAICT this is just another write quorum option. Although not around consistency (but durability) so the meaning of quorum in this case is probably 2 by default, but I think it makes sense to leave it as a shortcut for buckets that are not default n=3.

I'm happy with that

authors: martinsumner russelldb


text:
🛑 Core is down

In fdf4326, Core ($CORE_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Core is back up in 0160581 after 10 minutes.

repo: nhs-work/test-upptime


text:
🛑 Core is down

In fe06936, Core ($CORE_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Core is back up in d9083f6 after 11 minutes.


text:
MagicCardInfo Pics provider does'nt show selected edition

Pictures Provider : MagicCardInfo
GUI : DeckManagerGUI
When i selected an other edition, the pictures is wrong

line 69 : change this function for other edition selection. mciNumber is on the card, not on the selected Edition

MagicCardinfo is no longer used


text:
fix typos - readme

Minor typos on Readme

Thanks for the contribution!

authors: dwdrone nicholasaleks

repo: nicholasaleks/Damn-Vulnerable-Drone


text:
Error loading Gruntfile: gruntfile not found

I am getting a following error:

but gruntfile.js is in my root folder..

I have tried Window: reload, opening my folder directly, via Project Manager, renaming gruntfile.js to Gruntfile.js, but nothing helped.
Settings:

I am using OS X 10.11.

Duplicate of either #20 or #25

authors: kokarn kudlajz

repo: nickclaw/atom-grunt-runner


text:
cnn-encoder part of Actor in sac.py would never be updated?

Hi, here
https://github.com/nicklashansen/dmcontrol-generalization-benchmark/blob/ee658ceb449b884812149b922035197be8e28c87/src/algorithms/sac.py#L104
As the detach=True, all the cnn-encoder parts of the actor would not be updated? is it right? or you do not want to update the cnn encoder of the actor?
or am I missing something?

Hi, the cnn layers of the encoder (shared_cnn in the code) are shared between actor and critic, and only the critic updates those layers. We largely follow the implementation of pytorch_sac.

authors: emigmo nicklashansen


text:
Equality bug?

Maybe I miss something, this code looks suspicious.  Shouldn't we test the reverse order of subsetOf, i.e., not only this subsetOf that, but that subsetOf this?

We don't really need to test the other direction because we are also testing this.size == that.size. The conditions this.size == that.size && this subsetOf that plus properties (1), (2) and (3) will imply that subsetOf this as all multiplicities must be equal. That is why we can avoid testing that condition.
(1) If this subsetOf that then for each element e of this this.multiplicity(e) <= that.multiplicity(e)
(3) If this subsetOf that then this does not contain elements that are not in that
(2) The size of a multiset is the sum of multiplicities of it's elements
But, there could still be a bug due to implementation details. @yoriyuki did you have some case where this failed? If so could you post it.

Thank you for explaining.  Now I see it.  We are experiencing a weird behavior of Bag, but we cannot reproduce it in the small example.  Probably it is not the problem of Bag per se, but equality of some objects in the Bag is not well-defined.

If you have a weird behavior the first suspect would be the element equivalence (or equality) that is defined.

Sure.  Thank you for the advice.

authors: nicolasstucki yoriyuki

repo: nicolasstucki/multisets


text:
Integration not showing in integrations after HACS intallation

Alarmo Version
1.8.3
HA Version
2022.2
Bug description
Installed the HACS integration several times and no problem accrued during that step.
All files is in the custom_component/alarmo folder
But the ALARMO do not show up in  Configuration/Integrations/Add integrations...
(yes, I have restarted several times)

Steps to reproduce
No response
Relevant log output
Nothing relevant in the logs

The logs should print:

We found a custom integration alarmo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

If this is not the case, the installation is not OK.
If this is the case and it doesn't show up in integration --> clear your browser cache.

Thanks,
clearing my browser cache did the trick :)
BR // Fredrik

authors: Zkaning nielsfaber

repo: nielsfaber/alarmo


text:
Vacuum mode -  enable/disable sensors based on other sensor (or way to enable/disable sensors)

I want to run an automatic vacuum cycle after leaving home and arming the alarm, but my roborock is triggering motion sensors causing alarms. I can detect when the vacuum is running, but can't find a way to disable/enable motion sensors in this time
Checklist

[x] I checked for similar existing requests (both open and closed) before posting.
[x] My request is generic, other users may benefit from it too.

Proposals

Service call allowing to disable/enable particular sensor (or sensor type)
Ability to enable/disable sensors based on another sensor state (this way we can configure it via UI)

Additional info
With service call, we can easily write automation to disable/enable particular sensors whenever we need to. Probably easier to implement but harder for users to setup.
With sensor overide in Alarmo panel sensor advanced settings we may select other binary sensor indicating that this sensor should be enabled or not. May be harder to implement, but it will give users the ability to set up this from UI.

Yes, this can be really useful!

Duplicate of https://github.com/nielsfaber/alarmo/issues/289

Maybe it will be useful for others like me:
as a "workaround" I'm using HTTP calls to disable/enable sensors as needed:
curl --location --request POST 'https://your.HA.IP/api/alarmo/sensors' \
--header 'Authorization: Bearer ---token---' \
--header 'Content-Type: application/json' \
--data-raw '{
    "entity_id": "binary_sensor.salon_motion_door_occupancy",
    "enabled": true
}'

Token to be generated in HA profile page.
I'm using it in node-red to disable/enable Alarmo sensors based on other events (like in my case status of a vacuum cleaner) and it works fine for now.

authors: LucaBors diabl0 nielsfaber


text:
No package matching 'python-pip' is available

ISSUE TYPE

Bug Report

SUMMARY
stderr lines
TASK [nifcloud.nifcloud : Install python-pip (for Ubuntu)] ****************************************************************************************
task path: /path/to/.ansible/roles/nifcloud.nifcloud/tasks/ubuntu.yml:4

fatal: [localhost -> localhost]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "allow_unauthenticated": false,
            "autoclean": false,
            "autoremove": false,
            "cache_valid_time": 0,
            "deb": null,
            "default_release": null,
            "dpkg_options": "force-confdef,force-confold",
            "force": false,
            "force_apt_get": false,
            "install_recommends": null,
            "name": "python-pip",
            "only_upgrade": false,
            "package": [
                "python-pip"
            ],
            "policy_rc_d": null,
            "purge": false,
            "state": "present",
            "update_cache": null,
            "upgrade": null
        }
    },
    "msg": "No package matching 'python-pip' is available"
}

STEPS TO REPRODUCE

use role in Ubuntu 20.04 (localhost)

ADDITIONAL INFORMATION

My enviromment :

$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

$ ansible --version
ansible 2.8.17
  config file = /path/to/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.8/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]

$ ansible-galaxy list | grep nifcloud
- nifcloud.nifcloud, v2.2.2

The reason maybe related to the removal of python2 in Ubuntu 20.04. The python-pip package wasnt available anymore in Ubuntu 20.04 , so the command apt install python-pip (in this case is apt module) was failed.

@hunter9x
The fix was released in v2.3.0

repo: nifcloud/ansible-role-nifcloud


text:
User/yreda/nav surgery

Final fixes with full test performed in two halves

https://github.com/nightingale-project/nightingale/pull/73 done here closing

repo: nightingale-project/nightingale


text:
Upgrade mill to 0.3.5

Mill 0.3.5 has been released.

Hi @leonardehrenfried. Sorry, I somehow completely missed that PR.
I'm just updating versions of JDK, Scala and Mill to the newest ones.

authors: leonardehrenfried nightscape

repo: nightscape/scala-mill


text:
Don't instantiate popper if no x-placement value is provided

Hi there,
thanks for creating this library, I plan to use it for converse.js which I'm currently updating to use web components.
I'm trying to place a dropdown menu to the left of a hamburger menu and noticed that no matter what x-placement value I provide, the menu goes out of the view port.
When I don't provide an x-placement value, so that Popper doesn't get instantiated, then the menu displays correctly, however without this fix Popper throws an ugly error due to placement not being defined.

I am honored that you considered this library for your project :-) I really appreciate the code reviews

authors: jcbrand nik-christou

repo: nik-christou/lit-element-bootstrap


text:
NAME YEFFFFFF

thanos car

E

repo: nikdotexe/github-slideshow


text:
Unknown runtime error

Hi, I was working normally without any external monitor connected, I went to my desktop, connected to docking and pressed the key combination I use to move windows to other workspaces (opt+cmd), and suddenly aerospaces closed and I got this error. I use 2 external monitors
My config is:
macbook air m1
Sonoma 14.6.1
Sketchybar v2.21.0
aerospace CLI client version: 0.14.2-Beta 0cb8dbdfc5ee73b8cbc200f175f467ebead55201
AeroSpace.app server version: 0.14.2-Beta 0cb8dbdfc5ee73b8cbc200f175f467ebead55201
AeroSpace Runtime Error
Please report to:
https://github.com/nikitabobko/AeroSpace/issues/new
Please describe what you did to trigger this error
Message: The operation couldn’t be completed. Resource temporarily unavailable
Version: 0.14.2-Beta
Git hash: 0cb8dbdfc5ee73b8cbc200f175f467ebead55201
Coordinate: /Users/bobko/a/AeroSpace/Sources/AppBundle/focus.swift:163:48 onWorkspaceChanged(::)
recursionDetectorDuringFailure: false
cli: false
Stacktrace:
0   AeroSpace                           0x00000001030b73fc $s6Common6errorT_4file4line6column8functionxSS_SSS2iSStlFs5NeverO_Tg5 + 740
1   AeroSpace                           0x00000001030d01c0 $ss6ResultO6CommonE10getOrThrow_4file4line6column8functionxSS_SSS2iSStF + 360
2   AeroSpace                           0x0000000102f4af7c $s9AppBundle18onWorkspaceChanged33_7642A5C3292B9DD5C5AAA7E6B763F792LLyySS_SStF + 1132
3   AeroSpace                           0x0000000102f4aa80 $s9AppBundle28checkOnFocusChangedCallbacksyyF + 696
4   AeroSpace                           0x0000000102ef8360 $s9AppBundle14refreshSession7startup10forceFocus4bodyxSb_SbxyXEtlFSb_Tg5 + 932
5   AeroSpace                           0x0000000102ef7dc0 $s9AppBundle14GlobalObserverC04initD0yyFZySo7NSEventCcfU_ + 356
6   AeroSpace                           0x0000000102ef8dd8 $sSo7NSEventCIegg_ABIeyBy_TR + 48
7   AppKit                              0x0000000197847878 GlobalObserverHandler + 92
8   HIToolbox                           0x000000019e1a1444 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1232
9   HIToolbox                           0x000000019e1a0844 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 356
10  HIToolbox                           0x000000019e1a06d4 SendEventToEventTargetWithOptions + 44
11  HIToolbox                           0x000000019e1df368 _ZL29ToolboxEventDispatcherHandlerP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 468
12  HIToolbox                           0x000000019e1a186c _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 2296
13  HIToolbox                           0x000000019e1a0844 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 356
14  HIToolbox                           0x000000019e1b6cd8 SendEventToEventTarget + 40
15  AppKit                              0x000000019727ee28 _DPSNextEvent + 1012
16  AppKit                              0x0000000197a754d0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700
17  AppKit                              0x0000000197271ffc -[NSApplication run] + 476
18  AppKit                              0x0000000197249240 NSApplicationMain + 880
19  SwiftUI                             0x00000001bf4173b8 OUTLINED_FUNCTION_12 + 13968
20  SwiftUI                             0x00000001bfb80ddc OUTLINED_FUNCTION_3 + 196
21  SwiftUI                             0x00000001bff7be0c OUTLINED_FUNCTION_0 + 140
22  AeroSpace                           0x0000000102ef7470 main + 36
23  dyld                                0x00000001935b7154 start + 2476

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

authors: Viotemis dagrlx

repo: nikitabobko/AeroSpace


text:
Extra padding when set img display:block styles

Please make sure you are testing with the latest release of html2canvas.
Old versions are not supported and issues reported for them will be closed.
Please follow the general troubleshooting steps first:

[x] You are using the latest version
[x] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:
Extra padding when i set img display:block styles.

jsfiddle.
Specifications:

html2canvas version tested with: 1.4.1
Browser & version: any
Operating system: any

I hit this issue as well - I've got a Pull Request in for a fix, but you may be able to work around it by adding this CSS to your page stylesheet:
    body > div:last-child > span + img {
      display: inline !important;
    }

In brief, the library measures text size information by appending a span containing the text with all the CSS applied and then a blank image, and then measuring how much the text displaces the image to determine the height of the text. The <img> element that gets appended doesn't set its own display property, so if you're setting the display to block for every image in the document it will add padding to the test image and incorrectly measure the height of the text, which results in the extra padding in the output.
The workaround is a little flimsy since it may cause unintended issues if you have images you're cloning that also match that CSS selector, but it works correctly in your jsfiddle.

uh, yes in fact I found a work around that similar to yours.
img {
    display: initial !important;
}

I think it’s safer in any browsers.

I hit this issue as well - I've got a Pull Request in for a fix, but you may be able to work around it by adding this CSS to your page stylesheet:
    body > div:last-child > span + img {
      display: inline !important;
    }

In brief, the library measures text size information by appending a span containing the text with all the CSS applied and then a blank image, and then measuring how much the text displaces the image to determine the height of the text. The <img> element that gets appended doesn't set its own display property, so if you're setting the display to block for every image in the document it will add padding to the test image and incorrectly measure the height of the text, which results in the extra padding in the output.
The workaround is a little flimsy since it may cause unintended issues if you have images you're cloning that also match that CSS selector, but it works correctly in your jsfiddle.

they should merge your pull request already

I hit this issue as well - I've got a Pull Request in for a fix, but you may be able to work around it by adding this CSS to your page stylesheet:
    body > div:last-child > span + img {
      display: inline !important;
    }

In brief, the library measures text size information by appending a span containing the text with all the CSS applied and then a blank image, and then measuring how much the text displaces the image to determine the height of the text. The <img> element that gets appended doesn't set its own display property, so if you're setting the display to block for every image in the document it will add padding to the test image and incorrectly measure the height of the text, which results in the extra padding in the output.
The workaround is a little flimsy since it may cause unintended issues if you have images you're cloning that also match that CSS selector, but it works correctly in your jsfiddle.

Legend! You have no idea how many hours I spent, how many solutions that I tried and I also tried out basically every single one of those export image packages in the market, and each of them has some other issues that I just ended up come back to html2canvas.

I hit this issue as well - I've got a Pull Request in for a fix, but you may be able to work around it by adding this CSS to your page stylesheet:
    body > div:last-child > span + img {
      display: inline !important;
    }

In brief, the library measures text size information by appending a span containing the text with all the CSS applied and then a blank image, and then measuring how much the text displaces the image to determine the height of the text. The <img> element that gets appended doesn't set its own display property, so if you're setting the display to block for every image in the document it will add padding to the test image and incorrectly measure the height of the text, which results in the extra padding in the output.
The workaround is a little flimsy since it may cause unintended issues if you have images you're cloning that also match that CSS selector, but it works correctly in your jsfiddle.

Legend!!!
Dude, you saved my life. Someone has to accept your pr ASAP

I was having the same issue in my angular app, and whilst the above solution did fix it, the implementation didn't.
Adding the img {display: inline !important;} rule to  my stylesheet didn't work, instead I had to apply the CSS rule dynamically to the head element:
const style = document.createElement('style');

style.innerHTML = 'img { display: inline !important; }';

document.head.appendChild(style);

const canvas = await html2canvas(document.body);

document.head.removeChild(style);

Hopefully this is helpful to anyone else who had the same issue as me.

    body > div:last-child > span + img {
      display: inline !important;
    }

man you are god sent

authors: ASCSam Edu-hs XiDanko dohooo jacobglowdev siddarthreddygsr


text:
(#2635) You are calling a deprecated version of the Ads API.

Hello,
I am trying to do a basic call to get the ads of the account but get this error:
(#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v2.9.
I can create an instance perfectly :D but get stuck with trying to retrieve the ads :( Code below:
namespace App\Http\Controllers\FacebookMarketing;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

use LaravelFacebookAds\Services\FacebookAdsService;
use LaravelFacebookAds\Clients\Facebook;

class FacebookController extends Controller
{
    /** @var FacebookAdsService */
    protected $facebookAdsService;

    public function __construct(FacebookAdsService $facebookAdsService, Facebook $facebookClient)
    {
        $this->facebookAdsService = $facebookAdsService;
        $this->facebookClient = $facebookClient;
    }

    /**
     * Show ads
     *
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     */
    public function index()
    {
    	$instance = $this->facebookAdsService->instance();

    	print_r($instance);//woo works! got my instance :D

    	$client = $this->facebookClient;
        $accountId = 'act_1234567890';
        dd($client->account($accountId)->ads()); //#2635 error :(
    }

}

Hi @nickbluestone98
Did you remember to update to the latest version? Please check your composer.lock

Hello, thanks for your response.

Updated your lib to 1.0.3
My composer.lock facebook api version 2.10.1

No deprecation error now! thanks! Woo!
I am getting a AuthorizationException Unsupported get request. in RequestException.php (line 144) The account ID I am using has admin access and the Ads API Access Level:development.
Is this something at my end or an issue with the API?
Regards,
Nick.

@nickbluestone98
Did you follow the instructions on generating an api token?

@nikolajlovenhardt ,
I did the generation of everything through the Marketing Facebook API menu with the QuickStart instead of your method. I am now getting a response object, thanks for all your help 👍 .
I need to work out how to pull data for a specific business page through the API, if you can advise that would be great.
My response object looks like this
array:2 [▼
  "data" => array:1 [▼
    0 => array:10 [▼
      "frequency" => "0"
      "impressions" => "200"
      "reach" => "0"
      "social_impressions" => "200"
      "social_reach" => "0"
      "spend" => "20"
      "total_actions" => "0"
      "total_unique_actions" => "0"
      "date_start" => "2017-09-10"
      "date_stop" => "2017-10-09"
    ]
  ]
  "paging" => array:1 [▼
    "cursors" => array:2 [▼
      "before" => "MAZDZD"
      "after" => "MAZDZD"
    ]
  ]
]

My code:
    public function index()
    {
    	$instance = $this->facebookAdsService->instance();

    	//dd($instance);//woo works! got my instance :D

    	$client = $this->facebookClient;

        $accountId = 'act_123445566721';

        $fields = array(
		  'frequency',
		  'impressions',
		  'reach',
		  'social_impressions',
		  'social_reach',
		  'spend',
		  'total_actions',
		  'total_unique_actions',
		);

        dd( $client->account($accountId)->getAccount()->getInsights($fields )->getResponse()->getContent() );

    }

I have no idea where it is pulling that data from... I really need to link that to a specific business page.
Nick.

repo: nikolajlovenhardt/laravel-facebook-ads


text:
 code: 'channel-error',         message: 'Unable to establish connection on channel.',

 code: 'channel-error',
    message: 'Unable to establish connection on channel.',

live video stream is not opening.giving above error


text:
mapping to non-interior fields

The RFC as currently written only permits mapping to interior fields (i.e., things that can be reached via some byte offset from a self pointer). The main motivation for this is to permit faster trait objects (i.e., we only have to load an offset from the vtable). I now think this is the wrong trade-off. We should by flexible by default but support #[repr] annotations that impose stricter limitations on impls.
One example where this would be useful is that we could support passing through &T values:
trait Foo { t: u32 }
impl Foo for &mut u32 {
    t = *self
}

However, there are some limitations related to the Deref impl if you try to go beyond & types. For example, if one were to do:
trait Foo { f: u32, g: u32 }
impl Foo for Box<(u32, u32)> {
    f = self.0,
    g = self.1;
}

The borrow checker would be upset (https://is.gd/getwoD). This is because, when you desugar self.0, you are actually first doing let tmp1 = DerefMut::deref_mut(self) and then &mut tmp1.0. And the same for self.1, which desugars to let tmp2 = DerefMut::deref_mut(self). We can't allow those two temporaries to overlap.

In this example, you could write (ref mut f, ref mut g) = foo.deref_mut(); bar(f,g); but not bar(&mut foo.f,&mut foo.g); or even Foo { ref mut f, ref mut g } = foo.deref_mut(); bar(f,g); if you guys allow patterns.  It feels slightly more opaque than many borrow checker errors, especially if folks are told to use trait fields [instead of accessors] to help pacify the borrow checker.  Not a big deal, just noticing.
I suppose this works :
trait Foo { f: u32, g: u32 }
trait FooHelper : Foo { s: (u32, u32) }
impl FooHelper for Box<(u32, u32)> {
    s = *self.deref_mut()
}
impl Foo for Box<(u32, u32)> {
    f = s.0,
    g = s.1;
}

won't deref be implemented by trait fields when this arrives?
(so we can just put something like Deref::target)

authors: burdges djdisodo nikomatsakis

repo: nikomatsakis/fields-in-traits-rfc


text:
求大佬更新一下优酷DRM解密密钥

求大佬更新一下优酷DRM解密密钥

坐等此贴被删。优酷超牛逼把其他网站js代码也给和谐了


text:
Can Dolby vision auto mixing be added

Can Dolby vision auto mixing be added

call mp4box to mux?

authors: hjkow nilaoda


text:
Add model macros as experimental feature

Design Doc
This pull request would add model macros to nimbleModel processing as an experimental feature (enabled by nimbleOptions(enableModelMacros = TRUE)).
In early discussion, these were referred to as "BUGS modules".  At this point they are tentatively called "model macros".  The term "BUGS" is omitted because this is not part of the original BUGS language.  The term "macro" seems more appropriate than "module" because "macro" typically refers to code expansion and replacement, which is what this feature does.
Based on recent discussions, this feature would allow a line of model code to be replaced by one or more new lines.
The macro processing can be triggered either by a RHS label, such as
x ~ macro1(y)
or by using the macro label for an entire line, such as
macro1(x, y).
To create a macro processor, a programmer must write a function that takes inputs from a model line and returns (a list with) new code to replace the original line.
It became apparent that there are multiple different ways a programmer might wish to take the input information as arguments to their macro processor, including:

As an entire line, such as x ~ macro1(y) as a single argument.
Decomposed into LHS, RHS, and an logical variable indicating whether the declaration was stochastic (used ~) or deterministic (used <-).
Possibly further decomposed, with the RHS unpacked into (possible named) arguments, each passed separately.
If using the second format above (without a ~ or <-), one might want to take the entire line as one argument or to take arguments separately.

Two arguments to make_model_macro  allow control over how arguments from the model line are composed or decomposed and passed to the user-provided function for the macro processor.   The default is option 3 above.
Examples can be found in test-macros.R and in the draft roxygen entry for make_model_macro in BUGS_macros.R. (Although we decided not to name them "BUGS macros", our file naming convention uses the "BUGS_" prefix for all code files primarily associated with model processing.  Hence the filename does contains "BUGS".)

I look briefly and don't have particular suggestions except that it occurs to me that in some cases a macro processing function will generate new variable names and perhaps we should provide guidance on this so that a macro developer can avoid having their variables conflict with the names of user-defined variables in BUGS code. So perhaps something like having "__varName" or the like. Thoughts?

I agree with Chris that variable binding and naming will be tricky. Two questions that are unaddressed so far are:

How to deal with variable name collision?
How to deal with indexing, e.g. is x[i,1:10][j] equivalent to x[i,j]?

I've been delayed revising this PR, and I want to incorporate some of the suggestions - thanks.
For now I want to follow up on discussion of the design questions that arose:

Name collision: I see clear explanation of macro-generated names (including possibly options built by a macro-developer for alternative name-generation schemes) as the responsibility of a macro developer, who should also document their macro's options and behavior.  And I see avoiding name conflicts as the responsibility of a nimbleModel programmer, after reading documentation provided by any macro developer (whether in part of the nimble package or provided from elsewhere).  We could build error-trapping that would tell a user if they have stumbled into a name conflict.  But I wouldn't want to force all macro names to have leading underscores or other such solution, because a responsible nimbleModel programmer might often want to do something with those variables (either use them in another part of the model, or look at their posterior from MCMC, or whatever), so the macro-generated variables should not be forced into awkward names.  An example of macro-generated names might be that if there is a factor "A" used in the macro, then the macro might generate a vector "A.effects".  Finally, the expanded code is available for inspection, so a user can easily determine the source of a conflict.  In summary, I think it's ok for the design of the macro-replacement system to not be clever about name conflicts other than finding them and warning the user.
If others think I am being too cavalier about this, we could make it an option chosen by the macro developer when they call make_model_macro to have NIMBLE automatically avoid name conflicts by inserted characters as suggested.  In this case, the macro developer should state this behavior in their documentation, so a nimbleModel programmer can find the explanation if macro-generated names are not what they expected.

@fritzo's second question is a good one.  I think the idea is that if a macro developer writes a macro that takes a variable and uses it component-wise in some way, then how would it use a variable provided by a slice?  E.g. if x[1:10] as input as some particular macro argument means that x[j] will be used in a for loop from 1 to 10, then how will x[i, 1:10] be used?  x[i, j] with for(j in 1:10) would make sense, but must we formalize some logic around that for universal application to all macros?  Again my thought here is that it is up to the macro developer to implement and document as flexible (or as narrow) a system as they choose.  If they want to implement and document their macro's behavior with input provided as a slice, they can.  In the other hand, if they define a slice expression to be invalid input, they can error-trap it if they choose to.  Again, we could add an error-trapping system that would warn them if a particular macro-expansion fails.

The feature in this pull-request is simply the macro-expander: It sees when there is a macro, calls the macro, puts the resulting code in place, and recurses if necessary.  The macro programmer has full flexibility beyond that to design and document a useful macro for their needs.
Further discussion welcome.

Re: name collision. The current design decision is to burden macro authors with avoiding name conflicts. It seems like this choice will inflict pain on our future users and will sign us up for difficult debugging work.
I don't have a complete solution to avoiding name collisions, but here are some possible short-term solutions that could save our users future pain:

Hide the fully general macro builder as internal to nimble, and expose instead a few safer more limited versions. For example, we could provide simple safe substitution via a function like
#' Create a model macro from a fragment of BUGS code.
#' @param code a fragment of BUGS code.
#' @param ... a list of \code{name}s to be safely substituted.
make_model_macro_from_fragment <- function(code, ...) {
    # Extract variable names to substitute.
    vars_to_substitute <- as.character(c(...))
    return(function(...){  # Result inputs name=var parts.
        env <- as.environment(...)
        # TODO Detect name conflict and error for variables bound by for().
        return(substutute(code, env))
    })
}

Indeed this may suffice for our GLM and NBP examples.

Provide helper functions like fresh_variable() and safe_substitute() that help macro authors write robust macros. This doesn't really help beginner users, since it only adds complexity to the macro mechanism interface. But this does let us move forward quickly: we can release the unsafe make_model_macro() now and release safety measures later.

Expose this general make_model_macro() function now to learn how users use it, then replace it with a few safer special purpose macro builders once we've learned what users want.

If these seem too difficult, it probably suffices to address conflicts in bound variables first.
Bound variables in model code are variables that that are introduced as the loop variable in a for() inside that model code. I would guess that half of all macros will contain loops like for (i in 1:N); these bound loop variables will conflict as soon as they are embedded in other loops. Bound variables are special since they can be automatically renamed ("alpha converted" in CS jargon) without changing the meaning of code. At the very least we should detect these collisions.

I have updated this pull request for model macros.  Thanks @fritzo and @paciorek for the comments.  Rather than respond to each, I summarize changes as follows:

All new code did respect 80-character width.  A comment requested that in addition the roxygen entry do the same.  This is a bit of a pain in aquamacs (the #' roxygen annotation is not replicated by fill-paragraph) but I have done it.

The results of the model1$getCode() and model2$getCode() in the roxgen @examples entry have been included as comments, as suggested.  This is not necessarily standard in roxygen examples, but it was requested and does make the example more readable without executing it oneself.

Comments around possibleMacroName clarified per request (but slightly different).

An indexed naming scheme (testMacro1, testMacro2, etc) across multiple tests in test-macros.R was removed (testMacro in first test, testMacro in second test, etc.).

Added error-trapping of failed macro expansions (for any reason), including a message showing the levels of macro recursion, if any.

Error-trapping of duplicate variable declarations in (any) model code already exists.  The message was expanded to explain how to inspect code post-expansion in case this is the culprit.

Error-trapping of duplicate nested for loop indices (for(i in 1:10{ for(i in 1:5) <...>})) was added (whether from macros or not), with a message explaining how to inspect code post-expansion in case this is the culprit.

Tests of correctness of the above three kinds of error-trapping were added.  These use the dangerous try()-within-test_that scheme, but they are safe because immediately following the try() I included an expectation that an error occurred.  This allows a subsequent expectation to check that the correct error message was generated.  That latter check can't be done with expect_failure.

Utility for generating unique variable names was not added to this PR.  It could be added later.

Thanks @fritzo for trying the Reviewable tool.  I was not taken by it as a big improvement, but please let me know if I should give it a second chance.
If tests pass, and if no major concerns arise, I'd like to get this PR merged without delaying it for more core macro features.  Additional error-trapping, tests, and macro-programming tools can be added later, as long as the core functionality is ok from this PR.  Points from comments that I have not addressed seem to me ok to skip for now.

authors: fritzo paciorek perrydv

repo: nimble-dev/nimble


text:
Optimising upload

Hi!
This query is specifically for OVH but I suppose this would probably apply for other providers.
As described here on OVH support page, it's possible to upload a file in multiple pieces.
Is this possible to implement? If it's already implemented, how can this be specified?
Thanks!
Saurabh

Hi
You can follow this sample and update your code, in the write function of SwiftAdapter.php
https://github.com/php-opencloud/openstack/blob/master/samples/object_store/v1/objects/create_large_object.php
I also made a Pull Request and waiting for approval from the owner of this repo.
Thank you.
Anh Pham

@anhphamt Thanks a bunch! I've implemented your solution. Though not tested it yet, I see that it should work just fine :+1:

authors: anhphamt sausin

repo: nimbusoftltd/flysystem-openstack-swift


text:
in cowoy module,cannot find start_http/4

in cowoy module,cannot find start_http/4

Don't use cowboy master, it is undergoing heavy changes. Use 1.0.4.

authors: DehaiWang essen

repo: ninenines/cowboy

license: isc


text:
Update static_files.asciidoc

Minor update clarifying the need of the priv directory on project's root.

Merged locally with tweaks. Thanks!


text:
[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 14:12:29 on 2023.07.20
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 0, errors out: 0
Original problem ID: 32883
Event details in Zabbix: http://192.168.232.99/tr_events.php?triggerid=23483&eventid=32883

Problem has been resolved in 3m 0s at 14:15:29 on 2023.07.20
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 32883


text:
使用源石回复体力功能报错

当前理智 7, 关卡消耗 15
理智不足 无法继续
尝试回复理智
未能回复理智
未能进行第 1 次作战
已忽略余下的 9998 次战斗

背包里面有充足源石

是否同时有道具和源石，但只希望使用源石？

没有道具，希望两个都用。在模拟器里面能看见已经进入源石换体力的界面，但是就是恢复体力不成功。

刚刚测试了一下，我这边是好的，相关代码也好久没改过了。
可以提供一下 log 文件吗？

2022-01-10 07:49:27,775 ! on_prepare @ combat.py:159 ! DEBUG ! 当前画面关卡：4-10
2022-01-10 07:49:27,775 ! on_prepare @ combat.py:179 ! INFO ! 当前理智 3, 关卡消耗 21
2022-01-10 07:49:27,775 ! on_prepare @ combat.py:181 ! ERROR ! 理智不足 无法继续
2022-01-10 07:49:27,775 ! on_prepare @ combat.py:183 ! INFO ! 尝试回复理智
2022-01-10 07:49:27,775 ! tap_rect @ mixin.py:51 ! DEBUG ! tap_rect (2114.0032, 1270.6704, 2508.0016, 1376.0064)
2022-01-10 07:49:27,775 ! touch_tap @ ADBConnector.py:423 ! DEBUG ! 点击坐标:(2265,1298)
2022-01-10 07:49:27,786 ! check_adb_alive @ ADBConnector.py:86 ! DEBUG ! ADB server version 41
2022-01-10 07:49:28,224 ! run_device_cmd @ ADBConnector.py:340 ! DEBUG ! command: input tap 2265 1298
2022-01-10 07:49:28,224 ! run_device_cmd @ ADBConnector.py:341 ! DEBUG ! output: b''
2022-01-10 07:49:32,187 ! check_adb_alive @ ADBConnector.py:86 ! DEBUG ! ADB server version 41
2022-01-10 07:49:33,842 ! on_prepare @ combat.py:201 ! ERROR ! 未能回复理智
2022-01-10 07:49:33,842 ! tap_rect @ mixin.py:51 ! DEBUG ! tap_rect (1485.3296, 1110.672, 1630.6688, 1203.9984000000002)
2022-01-10 07:49:33,842 ! touch_tap @ ADBConnector.py:423 ! DEBUG ! 点击坐标:(1549,1157)
2022-01-10 07:49:33,854 ! check_adb_alive @ ADBConnector.py:86 ! DEBUG ! ADB server version 41
2022-01-10 07:49:34,286 ! run_device_cmd @ ADBConnector.py:340 ! DEBUG ! command: input tap 1549 1157
2022-01-10 07:49:34,286 ! run_device_cmd @ ADBConnector.py:341 ! DEBUG ! output: b''
2022-01-10 07:49:35,397 ! combat_on_current_stage @ combat.py:133 ! ERROR ! 未能进行第 2 次作战
2022-01-10 07:49:35,397 ! combat_on_current_stage @ combat.py:136 ! ERROR ! 已忽略余下的 9997 次战斗

ArknightsAutoHelper.log.zip

我用的是MuMu，这个之前一直都没有问题，20天前重新下载这个helper以后就出现上述问题了。

还需要 log/imgreco.before_operation.html

看起来是文字大小跟分辨率有关，1440 高度确实没有测试过。

imgreco.before_operation.1.zip

文件已上传

分辨率改成1920*1080问题解决

repo: ninthDevilHAUNSTER/ArknightsAutoHelper


text:
Bug (?) - mist download installer -help doesn't display help

:beetle: Description
When running mist download firmware -help or mist download installer -help it doesn't display help as mist download -help might.
:clipboard: Steps to Reproduce
At the command line, either mist download firmware -help or mist download installer -help produces this output:
[nemo@42wallabyway]:~ # mist download firmware -help
Error: Missing value for '-e <export>'
Help:  -e <export>  Specify the path to export the download results to one of the following formats:
* /path/to/export.json (JSON file)
* /path/to/export.plist (Property List file)
* /path/to/export.yaml (YAML file)
The following variables will be dynamically substituted:
* %NAME% will be replaced with 'macOS Sonoma'
* %VERSION% will be replaced with '14.0'
* %BUILD% will be replaced with '23A344'
Note: The file extension will determine the output file format.
Note: Parent directories will be created automatically.
Usage: mist download firmware [<options>] <search-string>
  See 'mist download firmware --help' for more information.
[nemo@42wallabyway]:~ # mist download installer -help
Error: Missing value for '-e <export>'
Help:  -e <export>  Specify the path to export the download results to one of the following formats:
* /path/to/export.json (JSON file)
* /path/to/export.plist (Property List file)
* /path/to/export.yaml (YAML file)
The following variables will be dynamically substituted:
* %NAME% will be replaced with 'macOS Sonoma'
* %VERSION% will be replaced with '14.0'
* %BUILD% will be replaced with '23A344'
Note: The file extension will determine the output file format.
Note: Parent directories will be created automatically.
Usage: mist download installer [<options>] <search-string> <output-type> ...
  See 'mist download installer --help' for more information.
[nemo@42wallabyway]:~ #

:white_check_mark: Expected Behaviour
The expected outcome is a firm scalding that --help is the correct argument to use, but really, if it parsed -help like the below command does that would also be 😄
[nemo@42wallabyway]:~ # mist download -help
OVERVIEW: Download a macOS Firmware / Installer.

USAGE: mist download <subcommand>

OPTIONS:
  --version               Show the version.
  -h, --help              Show help information.

SUBCOMMANDS:
  firmware                Download a macOS Firmware.
                          * macOS Firmwares are for Apple Silicon Macs only.
  installer               Download a macOS Installer.
                          * macOS Installers for macOS Catalina 10.15 and older are for Intel based Macs only.
                          * macOS Installers for macOS Big Sur 11 and newer are Universal - for both Apple Silicon and Intel based Macs.

  See 'mist help download <subcommand>' for detailed help.
[nemo@42wallabyway]:~ #

:computer: Environment

mist version (mist --version): 2.0 (latest: 2.0)
macOS Version (sw_vers): 14.3.1 (23D60)
Hardware (system_profiler SPHardwareDataType):

Model Identifier: MacBookPro18,2
Chip : Apple M1 Max

:camera: Screenshots

:information_source: Additional context

Is this also a bug in Mist.app? :x:

Are you sure -help is supported and it shouldn't actually be -h or --help?

It's very common that command-line parsing libraries enforce styles like -h/--help: -help is interpreted as "-h -e -l -p`. Asking the dev of this tool to use a different command-line parsing libraries or customize the behavior of the one he's using seems unfair.

I don't believe that's what I'm asking @gregneagle, and with respect, this is @ninxsoft's issue tracker, I'm more than happy to hear from him on the matter.

I think the fact that you got away with download -help is just luck that there isn't a -e option associated with the download verb, whereas there is a -e value associated with the firmware/installer verbs, which require a value and therefore you violated the syntax. Therefore, I don't personally see any bug here (unless you consider it a bug to ignore invalid parameters). Of course, happy for Nindi to confirm.

[!IMPORTANT]
tl;dr: As @grahampugh alluded to, -help is working as intended. For the matter of -help vs. --help, sticking to POSIX / GNU conventions makes sense to avoid confusion 👍

I can shed some light on the inner workings of mist-cli:

The arguments are parsed using swift-argument-parser, which is somewhat analogous to argparse if you're coming from the Python world 🐍
mist supports a combination of POSIX (short) and GNU (long) style options, or both where it makes sense:

25.1.1 Program Argument Syntax Conventions
mist download firmware --help or mist download installer --help for the full list

By default mist will display the relevant help message for the option / flag that has been entered incorrectly. As @gregneagle pointed out, this is the behaviour you are witnessing @carlashley when entering -help:

Parse -h, circle back and print help at the end if nothing errors out
Parse -e, throw an error as the <export> value is missing
-l never gets parsed
-p never gets parsed

Flags / options that are not supported altogether will also throw their respective error:

mist download firmware "Sonoma" -lp
Error: Unknown option '-lp'
Usage: mist download firmware [<options>] <search-string>
See 'mist download firmware --help' for more information.

mist download firmware "Sonoma" -l
Error: Unknown option '-l'
Usage: mist download firmware [<options>] <search-string>
See 'mist download firmware --help' for more information.

mist download firmware "Sonoma" -p
Error: Unknown option '-p'
Usage: mist download firmware [<options>] <search-string>
See 'mist download firmware --help' for more information.

In your case @carlashley, you're seeing just the error output for -e, as mist never gets to -h, -l or -p.
Regarding mist download -help or even mist -help, I suspect you are witnessing slightly different behaviour due to the lack of custom logic. I have only baked in custom logic for mist list <subcommand> and mist download <subcommand>. I would assume it's defaulting to showing help if -h or --help is specified, regardless of whether unknown options are added or not. I haven't coded up any custom logic because mist can't really do anything without the ` argument 🤷

authors: carlashley grahampugh gregneagle ninxsoft

repo: ninxsoft/mist-cli


text:
Publish to PyPI?

Just checking whether there's intent to publish to PyPI.

I think it is worth at least squatting the names on PyPI so there's no chance of confusion.
What all do we use in the Dockerfile that isn't in a PyPI or conda package?

It looks like the only relevant links in the Dockerfile are to RTD and GitHub, but we do have broken links to https://pypi.org/project/fmripost-aroma in the README and src/fmripost_aroma/cli/version.py.

authors: effigies tsalo

repo: nipreps/fmripost-aroma


text:
ValueError: Only one phase-encoding direction  found across sources.

What happened?
I updated from version 20.2.6 to 21.0.1 and received this error when trying to run fmriprep on the exact same data where it ran using the previous version:
ValueError: Only one phase-encoding direction  found across sources.
I've tried to run various subjects (one at the time) but keep getting this error.
Thanks!
What command did you use?
fmriprep-docker /home/akramer/ProjectJoint/rawdata /home/akramer/ProjectJoint/derivatives --fs-license-file /home/akramer/Downloads/license.txt
RUNNING: docker run --rm -e DOCKER_VERSION_8395080871=20.10.12 -it -v /home/akramer/Downloads/license.txt:/opt/freesurfer/license.txt:ro -v /home/akramer/ProjectJoint/rawdata:/data:ro -v /home/akramer/ProjectJoint/derivatives:/out nipreps/fmriprep:21.0.1 /data /out participant
bids-validator@1.8.0

What version of fMRIPrep are you running?
21.0.1
How are you running fMRIPrep?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
Summary:                  Available Tasks:        Available Modalities:
        24 Files, 707.16MB        Learning                MRI
        1 - Subject               SocialCraving
        2 - Sessions              Resting

	If you have any questions, please post on https://neurostars.org/tags/bids.

220203-15:45:02,611 nipype.workflow IMPORTANT:
	 Running fMRIPrep version 21.0.1

         License NOTICE ##################################################
         fMRIPrep 21.0.1
         Copyright 2021 The NiPreps Developers.

         This product includes software developed by
         the NiPreps Community (https://nipreps.org/).

         Portions of this software were developed at the Department of
         Psychology at Stanford University, Stanford, CA, US.

         This software redistributes the versioneer Python package, which is
         Public domain source code.

         This software is also distributed as a Docker container image.
         The bootstraping file for the image ("Dockerfile") is licensed
         under the MIT License.

         This software may be distributed through an add-on package called
         "Docker Wrapper" that is under the BSD 3-clause License.
         #################################################################
220203-15:45:02,646 nipype.workflow IMPORTANT:
	 Building fMRIPrep's workflow:
           * BIDS dataset path: /data.
           * Participant list: ['101'].
           * Run identifier: 20220203-154449_1409b40e-ec47-4b7a-b900-21018bc9b4e4.
           * Output spaces: MNI152NLin2009cAsym:res-native.
           * Pre-run FreeSurfer's SUBJECTS_DIR: /out/sourcedata/freesurfer.
Process Process-2:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/lib/python3.8/site-packages/fmriprep/cli/workflow.py", line 118, in build_workflow
    retval["workflow"] = init_fmriprep_wf()
  File "/opt/conda/lib/python3.8/site-packages/fmriprep/workflows/base.py", line 85, in init_fmriprep_wf
    single_subject_wf = init_single_subject_wf(subject_id)
  File "/opt/conda/lib/python3.8/site-packages/fmriprep/workflows/base.py", line 324, in init_single_subject_wf
    fmap_estimators = find_estimators(
  File "/opt/conda/lib/python3.8/site-packages/sdcflows/utils/wrangler.py", line 298, in find_estimators
    e = fm.FieldmapEstimation(
  File "<attrs generated init sdcflows.fieldmaps.FieldmapEstimation>", line 7, in __init__
    self.__attrs_post_init__()
  File "/opt/conda/lib/python3.8/site-packages/sdcflows/fieldmaps.py", line 385, in __attrs_post_init__
    raise ValueError(
ValueError: Only one phase-encoding direction <j-> found across sources.

Additional information / screenshots
No response

Thanks for the bug report. Could you share a listing of your BIDS dataset, and the metadata for your BOLD and fieldmap files?

Is there any follow-up on this issue? I have error message. Thanks

I am experiencing the same issue!
What happened?
I updated from fmriprep 20.2.6 to 21.0.0 in order to use the --me_output-echos flag, but a subject I was able to run through fmriprep previously now errors out.
What command did you use?
fmriprep-docker -i nipreps/fmriprep:21.0.0 /Users/kahinim/Desktop/BIDS /Users/kahinim/Desktop/derivatives --fs-license-file /Users/kahinim/Desktop/derivatives/license.txt --skip-bids-validation --output-spaces MNI152NLin6Asym:res-2 --participant-label SLmobile --force-bbr --cifti-output 91k -v -v --me-output-echos --n_cpus 3
What version of fMRIPrep are you running?
21.0.0
How are you running fMRIPrep?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
`RUNNING: docker run --rm -e DOCKER_VERSION_8395080871=20.10.8 -it -v /Users/kahinim/Desktop/derivatives/license.txt:/opt/freesurfer/license.txt:ro -v /Users/kahinim/Desktop/BIDS:/data:ro -v /Users/kahinim/Desktop/derivatives:/out nipreps/fmriprep:21.0.0 /data /out participant --skip-bids-validation --participant-label SLmobile --force-bbr --cifti-output 91k -v -v --me-output-echos --n_cpus 3 --output-spaces MNI152NLin6Asym:res-2
/opt/conda/lib/python3.8/site-packages/bids/config.py:39: FutureWarning: Setting 'extension_initial_dot' will be removed in pybids 0.16.
warnings.warn("Setting 'extension_initial_dot' will be removed in pybids 0.16.",
You are using fMRIPrep-21.0.0, and a newer version of fMRIPrep is available: 21.0.2.
Please check out our documentation about how and when to upgrade:
https://fmriprep.readthedocs.io/en/latest/faq.html#upgrading
220509-15:59:21,69 cli INFO:
Telemetry system to collect crashes and errors is enabled - thanks for your feedback!. Use option --notrack to opt out.
220509-15:59:27,162 nipype.workflow IMPORTANT:
Running fMRIPrep version 21.0.0
     License NOTICE ##################################################
     fMRIPrep 21.0.0
     Copyright 2021 The NiPreps Developers.

     This product includes software developed by
     the NiPreps Community (https://nipreps.org/).

     Portions of this software were developed at the Department of
     Psychology at Stanford University, Stanford, CA, US.

     This software redistributes the versioneer Python package, which is
     Public domain source code.

     This software is also distributed as a Docker container image.
     The bootstraping file for the image ("Dockerfile") is licensed
     under the MIT License.

     This software may be distributed through an add-on package called
     "Docker Wrapper" that is under the BSD 3-clause License.
     #################################################################

220509-15:59:27,194 nipype.workflow IMPORTANT:
Building fMRIPrep's workflow:
* BIDS dataset path: /data.
* Participant list: ['SLmobile'].
* Run identifier: 20220509-155919_0b228c02-50c1-4cb6-8905-5e94fd89f5ec.
* Output spaces: MNI152NLin6Asym:res-2.
* Pre-run FreeSurfer's SUBJECTS_DIR: /out/sourcedata/freesurfer.
Process Process-2:
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/conda/lib/python3.8/site-packages/fmriprep/cli/workflow.py", line 118, in build_workflow
retval["workflow"] = init_fmriprep_wf()
File "/opt/conda/lib/python3.8/site-packages/fmriprep/workflows/base.py", line 85, in init_fmriprep_wf
single_subject_wf = init_single_subject_wf(subject_id)
File "/opt/conda/lib/python3.8/site-packages/fmriprep/workflows/base.py", line 324, in init_single_subject_wf
fmap_estimators = find_estimators(
File "/opt/conda/lib/python3.8/site-packages/sdcflows/utils/wrangler.py", line 297, in find_estimators
e = fm.FieldmapEstimation(
File "", line 7, in init
self.attrs_post_init()
File "/opt/conda/lib/python3.8/site-packages/sdcflows/fieldmaps.py", line 385, in attrs_post_init
raise ValueError(
ValueError: Only one phase-encoding direction  found across sources.
fMRIPrep: Please report errors to https://github.com/nipreps/fmriprep/issues`

Update
Switching to version 21.0.2  did not resolve the issue.
We also attempted adding metadata fields as per new BIDS specifications at https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/01-magnetic-resonance-imaging-data.html#expressing-the-mr-protocol-intent-for-fieldmaps
"B0FieldIdentifier": "pepolar0",
"B0FieldSource": "pepolar0"

to the fmap and bold .json sidecars but these have not been implemented yet.
What command did you use?
fmriprep-docker -i nipreps/fmriprep:21.0.0 /Users/kahinim/Desktop/BIDS /Users/kahinim/Desktop/derivatives --fs-license-file /Users/kahinim/Desktop/derivatives/license.txt --skip-bids-validation --output-spaces MNI152NLin6Asym:res-2 --participant-label SLmobile --force-bbr --cifti-output 91k -v -v --me-output-echos --n_cpus 3
What version of fMRIPrep are you running?
21.0.2
How are you running fMRIPrep?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/lib/python3.8/site-packages/fmriprep/cli/workflow.py", line 118, in build_workflow
    retval["workflow"] = init_fmriprep_wf()
  File "/opt/conda/lib/python3.8/site-packages/fmriprep/workflows/base.py", line 85, in init_fmriprep_wf
    single_subject_wf = init_single_subject_wf(subject_id)
  File "/opt/conda/lib/python3.8/site-packages/fmriprep/workflows/base.py", line 452, in init_single_subject_wf
    raise NotImplementedError(
NotImplementedError: Sophisticated PEPOLAR schemes are unsupported.
fMRIPrep: Please report errors to https://github.com/nipreps/fmriprep/issues

Update: We had two fmaps, respectivelysub_ses__acq-fMRIdistmap_dir-PA_epi.nii.gz and sub_ses__acq-fMRIdistmap_dir-AP_epi.nii.gz - and deleting one of them, along with its sidecar, resolved the issue.

authors: annewilk effigies eniluap kahinimehta

repo: nipreps/fmriprep


text:
Failed to generate the boilerplate

What happened?
In the HTML output file, the methods say: Failed to generate the boilerplate
What command did you use?
RUNNING: docker run --rm -e DOCKER_VERSION_8395080871=26.1.1 -it -v /Users/XY/BIDS_tutorial/derivatives/license.txt:/opt/freesurfer/license.txt:ro -v /Users/hannah 1/Documents/XY:/data:ro -v /Users/XY/Documents/XYZ:/out nipreps/fmriprep:23.2.3 /data /out participant --skip_bids_validation --participant-label 30171

What version of fMRIPrep are you running?
23.2.3
How are you running fMRIPrep?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
Methods
Failed to generate the boilerplate

Errors
No errors to report!

Additional information / screenshots
The online BIDS validator only indicates that I have a valid BIDS format if I click on "ignore NIFTI Headers". Otherwise it says:
Error 1: [Code 12] REPETITION_TIME_MISMATCH
Reason:
Repetition time defined in the JSON (2.000 sec.) did not match the one defined in the NIFTI header (0.000 sec.)

Can you share the full logs?

authors: LueHa tsalo


text:
Add oci run sub command

Use case:

Run custom build stages like new network integration tests:
https://gerrit.ovirt.org/c/98187/

Example usage:
oci run --stage network-integ CHANGE_NUMBER

The command should build one or more stages using jenkins.run(), and watch the build until it completes.
Complications:

jenkins.run() accept only single stage now, need to change ti to accept multiple stages.
Need to check how to pass multiple stages to jenkins. If there is no way to do it, we can support only one stage for now.

@Funkabell I guess you own this issue.

@nirs ,I have checked with Daniel Belenky, and there is not such option.
Just to make sure what option i am referring to, is inputting into the jenkins job build, a number of stages (e.g. "check-patch,build-artifacts"). This is not possible.

If STD_CI_STAGE can accept only one stage, we will have to run multiple jobs to build multiple stages.
We can accept multiple stages in the command, run multiple jobs on jenkins, and wait for all of them, but this sounds like work for future version.
So lets open an issue for multiple stages and add a simple and stupid run command.

Yes, that's what i meant, STD_CI_STAGE accepts only one parameter.
Regarding the script accepting several arguments - I think it'll might make more sense to just run the oci script several times, no?\
Will the oci run all stages at once, or one followed by the other?
If you intend on running them at the same time (which makes sense efficiency-wise), I can't imagine how the output will look. Seeing all progresses on all of the jobs might look confusing. I think running every job, and watching the output in - say, different windows (user manually starts oci script per job), would be more organized. Don't you think?

Supporting concurent jobs is a UI challenge, this is why I suggest to defer it to another issue.

authors: Funkabell nirs

repo: nirs/oci


text:
Feat/improvements

Hi @nirtz89,
Two commits,

The first one add some ES6 improvements (remove some vars etc...)
The second one check the availability of the local storage just one time, not everytime you call a method from crumbs.ls. This change is better in terms of perfs, because the local storage won't switch from unvailable to available

Hi @nirtz89,
friendly ping 😉


text:
Update dotnet core versions

This PR updates the dotnet core project files to reference the latest dotnet core version in both the libraries and applications.
With these changes I have added the Microsoft.NETFramework.ReferenceAssemblies to allow the Core project files to build standard .NET versions of the libraries, as well as the dotnet core versions.
Changes to the format allow code in the project files to be easier to read and edit.
It would be appreciated if you could add the "hacktoberfest-accepted" label so that I can get recognition for this PR in the Hacktoberfest event.

This may fix #473

authors: macite tonyqus

repo: nissl-lab/npoi


text:
próba

Feladat: Készítsünk fejlesztői névsort a névsor.txt állományba!

Comment 1

repo: nitslaszlo/proba-repo


text:
Error when trying to edit activity

I can edit the actual activity easily, but my script seems to create problems, I got this error
Traceback (most recent call last):
  File "C:\Users\imprv\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\imprv\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1518, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\imprv\AppData\Local\Programs\Python\Python310\lib\site-packages\flask_cors\extension.py", line 165, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
  File "C:\Users\imprv\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\imprv\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "g:\Projets\Chocolate\app.py", line 1216, in sendDiscordPresence
    rpc_obj.set_activity(activity)
  File "g:\Projets\Chocolate\rpc.py", line 137, in set_activity
    self.send(data)
  File "g:\Projets\Chocolate\rpc.py", line 115, in send
    self._write(header)
  File "g:\Projets\Chocolate\rpc.py", line 160, in _write
    self._f.flush()
OSError: [Errno 22] Invalid argument

here's the script
@app.route("/sendDiscordPresence/<name>/<actualDuration>/<totalDuration>")
def sendDiscordPresence(name, actualDuration, totalDuration):
    actualDuration = actualDuration
    totalDuration = totalDuration
    rpc_obj = rpc.DiscordIpcClient.for_platform(client_id)
    activity = {
        "state": "Chocolate",  # anything you like
        "details": f"Watching {name} | {actualDuration}/{totalDuration}",  # anything you like
        "assets": {
            "small_text": "Chocolate",  # anything you like
            "small_image": "None",  # must match the image key
            "large_text": "Chocolate",  # anything you like
            "large_image": "largeimage"  # must match the image key
        }
    }
    print(json.dumps(activity, indent=4))
    rpc_obj.set_activity(activity)
    return json.dumps(f"You sent richPresence Data with this informations : name:{name}, actualDuration:{actualDuration}, totalDuration:{totalDuration}")```

I patched the error with a global

repo: niveshbirangal/discord-rpc


text:
在每章后附上参考文献表

Discussed in https://github.com/nju-lug/NJUThesis/discussions/75

Originally posted by zhoujian9410 February 13, 2022
参考文献较多，因此想分章节进行参考文献引用，想请教一下现在的模板能否实现这个目标呢？能的话应该如何设置？多谢各位大佬
现有的模板可以实现，但是要在每章套上一个 refsection 环境，显然不够简洁，需要纵深满足用户需求，开创新打法，扩展产品路线。
第一想法当然是包装一下 input，很简单就能实现：
\NewDocumentCommand \inputchapwithbib { s m }
  {
    \begin{refsection}
      \input {#2}
      \bool_if:nTF {#1}
        {
          \printbibliography
            [ title = \bibname, heading = subbibliography ]
        }
        {
          \printbibliography
            [ title = \bibname, heading = subbibintoc     ]
        }
    \end{refsection}
  }

如果再想想的话，参考文献表在哪里其实是一个全局的设置，加个 style/bibafterchapter 这样的开关也许就好？具体实现方面大概是在 chapter 开始和结束的钩子上挂载第一想法的代码就好。这个的困难在于本人还没搞清楚 LaTeX 的钩子机制 Orz

可以在biblatex中使用refsection=chapter选项，但不知道会不会影响模板对chapter的重定义。可以尝试一下？
如果没有影响的话，那么就使用该选项，然后再章节末尾printbibliography就可以了。

不知道会不会影响模板对chapter的重定义

模板未曾对带编号的章节加以改动，所以这个选项的作用效果是没问题的，
还有个小小的遗留问题。使用了这个设置后要使用这样的参数

authors: atxy-blip hushidong

repo: nju-lug/NJUThesis


text:
fixes SPIFFS file reading; adds missing partition file

see https://github.com/espressif/esp-idf/issues/1437#issuecomment-354145860

it was able to read ide.html and whatever else:

Still not working for me. I did get the most recent esp-idf and made your sdkconfig tweaks
CONFIG_SPIFFS_META_LENGTH=0
behaviour is the same though.
D (30786) SPIFFS: read: offset:0 rd:128 data spix:0000 is data_pix:0000 addr:00000005

https://github.com/nkolban/duktape-esp32/issues/24#issuecomment-364710706
I can't see how to link discussions. Anyway it's all fixed, thanks!

and the issue or PR number (e.g. #24) will link to that issue or PR, if that’s what you mean. glad it’s fixed, sorry I broke it!

authors: boneskull dashxdr


text:
doodle mode

Thanks for the new work & paper! will a guided style transfer be added?

Thank you for checking it out! Guidance with spatial maps is on my todo list and a feature I'd love to add, but I've recently been very busy with other projects, so I'm not sure when I'll get to it.


text:
Assign proper listener priority

The bed listener is currently listening on a medium (default) priority, but is only used for monitoring.
Therefore it should use the monitoring level to ensure that the event was already handled by all other listeners which can potentially modify this event.
The current behaviour can cause issues with plugins which use high or highest priority on the bed enter event to cancel the event. They do this because they want to make the final decision if the player is allowed to enter the bed.
Currently harbor would already mark these players as sleeping, altohugh they are not because the event was canceled afterwards.

Awesome! I actually didn't know what the use of the MONITOR priority was until now- looks like it's perfect for this situation. Guess you learn something new every day.
Thanks for the contribution, I'll merge this in now.

authors: RainbowDashLabs nkomarn

repo: nkomarn/Harbor