Latest version does not work on Android

Bug Report
Description
App crashes when I am trying to get data.
To Reproduce
package com.example.app

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.github.kittinunf.fuel.httpGet
import com.github.kittinunf.result.Result

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        "https://jsonplaceholder.typicode.com/todos/".httpGet().responseString { request, response, result ->
            when (result) {
                is Result.Success -> {
                    println("Result: ${result.get()}")
                }
                is Result.Failure -> {
                    println("Failure")
                }
            }
        }
    }
}

Environment
Development Machine
Complete the following information if applicable

OS: [Windows 10]
IDE: [Android Studio]
Fuel version: [1.16.0]
Kotlin version: [1.2.71]

Smartphone or Emulator
Emulator

I guess let's close this as it looks stale at the moment.


Fails on missing keys in package.json/vigour.gaston

If package.json lacks certain keys in vigour.gaston, gaston fails. For example, using the latest gaston#dev:
shawn@youzi:~/Work$ cd mtv-play
shawn@youzi:~/Work/mtv-play$ git checkout demo
Switched to branch 'demo'
Your branch is up-to-date with 'origin/demo'.
shawn@youzi:~/Work/mtv-play$ ../gaston/bin/gaston.js -dev
info gaston listening on port  9001
info server server is listening on port  8080
info server server address is <IP_ADDRESS>
    # Visit localhost:8080 with chrome
info bundler compiling
[TypeError: Cannot read property 'options' of undefined]
info bundler compiling
[TypeError: Cannot read property 'options' of undefined]
info socket-server new client mac-desktop-chrome-24
    # Let's get a file name a line number
build
info bumpup bumped up version to  1.2.34
info bundler compiling
Unhandled rejection TypeError: Cannot read property 'options' of undefined
    at Object.module.exports.compile (/Users/shawn/Work/gaston/lib/bundler/compilers/browserify.js:38:26)
[...]

Fixed by adding , "less": {} to vigour.gaston in package.json, but then a similar error then occurs if vigour.gaston.browserify is missing...

This has been fixed; right now, there are no more dependencies
however, it's advised to have the gaston section on package.json, if possible generated from gaston init. No need to do it for current projects now.


Package Dependency Ansible Tooling: Dependency tooling wmla120 install procedure

updated and integrated through PR 469:
https://github.com/open-power-ref-design-toolkit/power-up/pull/469


Write blog post about session management in the front-end service

The sock-shop service relied on IP based sticky session provided by K8s and ECS to maintain sessions to the correct front-end instance. We recently switched to a more standard session management strategy where the front-end service stores and reads sessions using a centralised database like Redis. Write a blog post about this change and how it helped with load testing and autoscaling.

@nustiueudinastea in my team we are using jwt which is stateless, you don't need to store the token in Redis since the client is in charge of saving and sending the token in each request to the api gateway


EDU-546 custom start and end timecodes

Closes https://educandu.atlassian.net/browse/EDU-546

Nice solution with selecting the play start and end timecodes, I like how the editor looks! 😍


docs(Added Usage Documentation)

Added consumer low level
Added consumer high level
Added producer
Added configuration
Added topic configuration
Added Mock Cluster
Added FFI and LibRDKafka
Added Preload
Closes #12

Thank you.


Update ci ignore

Fixes issue with CI due to change in project folders.

@rcrowe-google this should solve the issue w CI you got notified


xkcd links

There are two xkcd cartoons in the formal languages chapter. One is just an image; the other attempts to hyperlink, but doesn't work:
{image filename="fl-xkcd-regular-expressions.png" alt="xkcd comment on regular expressions"}](http://xkcd.com/208/)
I've temporarily changed this to just an image.
The coding-encryption chapter has another format (image, then separate link).
Check the xkcd licence for what is required, to decide if we'll hyperlink, or just put the link in the permissions page, then make them consistent.
The chapters that use xckd will then need updating:
coding-encryption.html
complexity-tractability.html
formal-languages.html
human-computer-interaction.html
software-engineering.html

The linking of images is now handled by a new syntax documented here. The older syntax does not work now due to MaterializeCSS.
I will go through and update these images with the new syntax, and add the relevant permissions.


Can't create inherited scene based on already opened scene

When clicking "New Inherited Scene" and selecting a base scene which is already opened in the editor, it will just change the focus to this base scene and not create an inherited scene.
If the base scene is not opened, it works fine.

Can confirm this behaviour in 7155f75e2224543e036aeed8fa247ef1b96af7e4 build.


Feat neo4j 5.0

@johannessen - I'm adding the v5.0 update here, also finally adding all the structure-based data types (datetime, point2d, duration, etc etc) - constructors, accessors and such. element_id is added to all the graph entities (in constructors and accessors), and a NEO4J_ELEMENTID type is introduced in the code that is essential treated as a subclass of NEO4J_STRING. The library can currently successfully handshake with v5.0 server (plus 4.x, 3.x, and 1.x), There are a few items to add to the client itself and some further unit tests. It's slow going because of limited discretionary time, but I think we will soon have a updated driver that works that Neo4j::Bolt can use.

TAg https://github.com/majensen/libneo4j-client/releases/tag/v5.0.0-maj-beta

Hey, that’s awesome!

Trying to get N::B done before I lose the inspiration ;)


more readable elements to http plugins api

Problem Description
I'm trying to make a content filter with MITMProxy. I have everything working, but I'm trying to see what IP is actually making the outbound request.
Proposal
It would be amazing if it would be possible to get the IP of the client making the request, think "flow.request.client_ip"
Alternatives
N/a
Additional context
I'm building the filter with https://github.com/mitmproxy/mitmproxy/blob/main/examples/addons/http-redirect-requests.py
Here is my current codesample for the function: https://pastebin.com/Pn3ZqU61

Please take a look at the API docs:
https://docs.mitmproxy.org/dev/api/mitmproxy/http.html - HTTP Flows (like all other flows) have a client_conn attribute.
https://docs.mitmproxy.org/dev/api/mitmproxy/flow.html#Flow.client_conn - ...that is a Client instance...
https://docs.mitmproxy.org/dev/api/mitmproxy/connection.html#Client.peername - ...that has a peername attribute.
In short: flow.client_conn.peername.

My mistake, thank you!


new notebook file still prompts to save when HotExit is enabled

Issue Type: Bug

Ensure Hot Exit is set to onExit
Create a new jupyter notebook
Close or reload the window

Actual: user is prompted to save
Expected: no prompt, files will be restored on next reopen
(the auto save setting doesn't change anything for the repro - https://github.com/microsoft/vscode/issues/140069)
VS Code version: Code - Insiders 1.66.0-insider (45999664ef626d6d665cb585104efdcab383a3cd, 2022-03-28T07:49:37.594Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 1498)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.59GB (11.99GB free)

Process Argv
--crash-reporter-id 1202dc88-403d-4ebc-8393-af3551a8bd5b

Screen Reader
no

VM
0%

Extensions (14)

Extension
Author (truncated)
Version

Bookmarks
ale
13.2.4

vscode-eslint
dba
2.2.3

gitlens-insiders
eam
2022.3.2905

EditorConfig
Edi
0.16.4

prettier-vscode
esb
9.5.0

vscode-pull-request-github
Git
0.39.2022032912

language-julia
jul
1.6.10

python
ms-
2022.3.1930724220-dev

vscode-pylance
ms-
2022.3.3

jupyter
ms-
2022.4.1000901004

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.6

remote-containers
ms-
0.230.0

remote-ssh
ms-
0.77.2022032915

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
pythonvspyt200:30323110
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30404738
wslgetstarted:30449409
vsclayoutctrc:30405799
pythonvspyt640:30438691
vscscmwlcmt:30428973
vscgsvid1:30433757
pynewfile477:30451556

does not repro in 1.65.2

@bpasero is there anything changed recently in working copy? We didn't touch file saving in notebook serializer.

@rebornix I cannot reproduce with the GitHub issue notebooks extension which is using working copy. And yes, no change in this area from what I can tell recently.

Oh, I cannot even reproduce with Jupyter:

@amunger closing the window from the close button will trigger the dialog unless you configure hot exit as onExitAndWindowClose.

(https://www.howtogeek.com/279086/why-do-mac-apps-stay-open-when-i-hit-the-red-x-button/)

OK, thanks for the explanation. The prompt still shows up for a new, unchanged notebook (and not for a text file), but that's probably just because of https://github.com/microsoft/vscode/issues/140069


auto import disable for for certain library

Describe the feature
disable certain module from auto import or we need to fully disable it ? we only like nuxt and vue3 autoimport not rest other library which carry vast amount of module #they are uncessary be using auto import feature to reduce the speed for startup application as reduce time on development mode
for example with ur quasar auto import component

Additional information

[ ] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

Please provide a reproduction. Nuxt is not responsible for how other modules or libraries define their autoimports.

sorry forget to provide should i create this issue on quasar ?

This issue should be raised indeed in the quasar ui module if it auto-loads the components ☺


My .mobileconfig stopped working about a week ago

About a week ago when I try to connect on MacOS 10.11.6 using the .mobileconfig file, it seems to connect but then I lose internet connection on my machine.
Digital Ocean still seems to be working, but I can't seem to access the VPN, or the internet after configuring and connecting using the .mobileconfig settings.
Anyone else seeing this too?

Hey @queuebit . I'm guessing that I probably screwed things up with the latest update which made a few changes that could impact someone running an older version. These changes included a move from RSA to ECDSA keys and change of VPN subnet from 10.x.x.x to 192.168.99.x). Unfortunately, I haven't been doing a very good job at maintaining backwards compatibility. If you could grab the latest version of dosxvpn and redeploy - let me know if that resolves the problem.

I installed 0.9 release, removed old VPN, and downloaded new Apple .mobileconfig settings.
When I try to connect using dosxvpn.apple.mobileconfig, I get the following error:

I am running 10.11.6

This time I tried to deploy using cli.
Here is the logged error when trying to configure the VPN:
2017/11/28 10:01:56 VPN is now active...
2017/11/28 10:01:56 Getting/generating VPN files...
2017/11/28 10:02:02 Finished getting/generating VPN files...
2017/11/28 10:02:02 Adding VPN to OSX...
2017/11/28 10:02:02 Failed to add VPN to OSX. Failed to add VPN. Output: profiles unable to read in dictionary at file '/Users/<>/.dosxvpn/dosxvpn-640-sfo2.apple.mobileconfig', or via stdin
profiles install for file:'/Users/<>/.dosxvpn/dosxvpn-640-sfo2.apple.mobileconfig' and user:'<>' returned -4599 (The operation couldn’t be completed. (OSStatus error -4599.))
. Error: exit status 1

I'll try to take a look at this soon @queuebit . I'm guessing it's an OSX version difference.

@queuebit - Rather than trying to maintain backwards compatibility with older version of OSX, I just created a new branch and release with previous version of code and docker container: https://github.com/dan-v/dosxvpn/releases/tag/legacy. Let me know if that works for you.

I grabbed the legacy cli Release.
It just keeps hanging on Connecting... in the network panel and I don't have access to web.

Is there a way for me to grab logs to see what is actually happening? I don't want you to spend too much time handling my case though either. Are you on Sierra or High Sierra?
cli logs seem normal:
Downloads $ ./dosxvpn deploy --region sfo2 --auto-configure

___  ____ ____ _  _ _  _ ___  _  _
|  \ |  | [__   \/  |  | |__] |\ |
|__/ |__| ___] _/\_  \/  |    | \|

2017/11/30 16:48:23 Getting initial IP...
2017/11/30 16:48:24 Initial IP is: xxx.xx.xx.xxxx
2017/11/30 16:48:24 Getting account SSH keys...
2017/11/30 16:48:25 Finished getting account SSH keys...
2017/11/30 16:48:25 Creating droplet...
2017/11/30 16:48:26 Finished creating droplet dosxvpn-xxx-sfo2
2017/11/30 16:48:26 Waiting for droplet to get IP...
2017/11/30 16:48:28 Droplet now has IP xxx.xx.xx.xx...
2017/11/30 16:48:28 Creating firewall...
2017/11/30 16:48:41 Finished creating firewall...
2017/11/30 16:48:41 Waiting for SSH to start...
2017/11/30 16:49:16 SSH is now online...
2017/11/30 16:49:16 Waiting for VPN to become active...
2017/11/30 16:49:29 VPN is now active...
2017/11/30 16:49:29 Getting/generating VPN files...
2017/11/30 16:49:32 Finished getting/generating VPN files...
2017/11/30 16:49:32 Adding VPN to OSX...
2017/11/30 16:49:38 Done Adding VPN to OSX...
2017/11/30 16:50:28 ##############################
...

@queuebit - getting logs from server side would be helpful. Here is how you could do that. SSH into the instance and copy the output from dosxvpn container:
** ssh -i <your key> core@<vpn ip>
**  docker logs dosxvpn
I am on Sierra currently, but happy to help as much as I can to debug your issue further.

Container Linux by CoreOS beta (1576.3.0)
core@dosxvpn-xxx-sfo2 ~ $ docker logs dosxvpn
VPN has already been setup!
Starting strongSwan 5.6.0 IPsec [starter]...
# unknown keyword 'rightsubnets'
### 1 parsing error (0 fatal) ###
00[DMN] Starting IKE charon daemon (strongSwan 5.6.0, Linux 4.13.16-coreos-r1, x86_64)
00[KNL] known interfaces and IP addresses:
00[KNL]   lo
00[KNL]     <IP_ADDRESS>
00[KNL]     ::1
00[KNL]   eth0
00[KNL]     xxx.xx.xx.xx
00[KNL]     xx.xx.x.x
00[KNL]     xxxx:xxxx:0:yy::yy:xxxx
00[KNL]     xxxx:xxxx:0:yy::yy:xxxx
00[KNL]   dummy0
00[KNL]     <IP_ADDRESS>
00[KNL]     xxxx:xxxx:0:yy::yy:xxxx
00[KNL]   docker0
00[KNL]     172.xx.0.1
00[CFG] attr-sql plugin: database URI not set
00[CFG] loading ca certificates from '/etc/ipsec.d/cacerts'
00[CFG]   loaded ca certificate "C=CN, O=strongSwan, CN=strongSwan Root CA" from '/etc/ipsec.d/cacerts/ca.cert.pem'
00[CFG] loading aa certificates from '/etc/ipsec.d/aacerts'
00[CFG] loading ocsp signer certificates from '/etc/ipsec.d/ocspcerts'
00[CFG] loading attribute certificates from '/etc/ipsec.d/acerts'
00[CFG] loading crls from '/etc/ipsec.d/crls'
00[CFG] loading secrets from '/etc/ipsec.secrets'
00[CFG]   loaded ECDSA private key from '/etc/ipsec.d/private/server.pem'
00[CFG] read 0 triplets from /etc/ipsec.d/triplets.dat
00[CFG] loaded 0 RADIUS server configurations
charon (21) started after 100 ms
00[CFG] HA config misses local/remote address
00[LIB] loaded plugins: charon random nonce x509 revocation constraints pubkey pkcs1 pkcs7 pkcs8 pkcs12 pgp dnskey sshkey pem openssl fips-prf gmp curve25519 xcbc cmac curl sqlite attr kernel-netlink resolve socket-default farp stroke vici updown eap-identity eap-sim eap-sim-file eap-aka eap-aka-3gpp2 eap-simaka-pseudonym eap-simaka-reauth eap-md5 eap-mschapv2 eap-radius eap-tls xauth-generic xauth-eap dhcp unity
00[LIB] dropped capabilities, running as uid 100, gid 101
00[JOB] spawning 16 worker threads
03[NET] waiting for data on sockets
05[CFG] received stroke: add connection 'ikev2-pubkey'
05[CFG] conn ikev2-pubkey
05[CFG]   left=%any
05[CFG]   leftsubnet=<IP_ADDRESS>/0,::/0
05[CFG]   leftauth=pubkey
05[CFG]   leftid=xxx.xx.xx.xx
05[CFG]   leftcert=server.cert.pem
05[CFG]   right=%any
05[CFG]   rightsourceip=192.168.xx.0/24,xxx:yy:xx:yy/24
05[CFG]   rightdns=<IP_ADDRESS>
05[CFG]   rightauth=pubkey
05[CFG]   ike=aes128gcm16-prfsha512-ecp256!
05[CFG]   esp=aes128gcm16-ecp256!

@queuebit - Looks like my automated build setup in CircleCI ended up building master branch instead of legacy branch so I uploaded the wrong binaries. Also found another issue where config wasn't being properly generated due to missing commit on legacy docker image branch (https://github.com/dosxvpn/strongswan/tree/legacy). Re-uploaded here: https://github.com/dan-v/dosxvpn/releases/tag/legacy. Let me know if that works for you.

That's a winner.
Thanks for all the help. I will test it out over the next week or so, but will close this for now.
Thanks, Dan!


[Feature request] Play bron cena themes overlapping option

Hey guys!
I really love the addon. It puts a smile on my face every time the bron cena theme starts. Just saw your latest version patchnotes:
FIXED: Sounds shouldn't overlap, so if a bunch of Brons appear rapidly, it will just restart the theme and not playing a bunch all out of sync
Could you please make it an option to switch between this fix and the original version? I found it absolutely hilarious having the bron cena theme playing 3 or 4 times in parallel.
Thanks
Stefan

Hi! Sorry I completely missed this request. I can absolutely add this back in as an option.

Thank you. And I love the patchnotes for this!  🤣

Nice! Is it working fine for you? Was tricky for me to test properly.

Yes, works great. The sweet sound of multiple Bron cena sounds reach my ears once more 😄

Excellent! Enjoy :D


problem with jitter/latency issue

Overview
There is an obvious jitter and latency issue for Holotoolkit for Unity since Unity3d 2018.2.2f1 and the later version (I've tested every version up to 2019.1.0a12).  Just drop a simple box in the scene and apply the mixed reality scene setting which could create an AR camera. No matter to use the holographic remoting or deploy it to Hololens, the hologram appears quite unstable with a very obvious jittering and drifting effect. This effect is very uncomfortable for hololens.  However, this won't happen before unity3d 2017.4.17f1 and the previous version.
Besides, even though it's such a simple scene, the Fps couldn't reach 60 (no matter remoting or deploy to hololens) .  The Fps is around 50, sometimes even lower, but the Microsoft official applications which is more complicated, but could reach 60 fps. Note that the unstable drifing issue is not caused by the lower FPS, because it's the same FPS with  unity3d 2017.4.17f1, but the hologram is relatively stable not that nasty.
Expected Behavior
The hologram should be stable,  not moving relative to the environment.
Actual Behavior
The hologram appears quite unstable with a very obvious jittering and drifting effect.
Steps to reproduce
(Links to sample github project preferred)

install the holotoolkit
apply the mixed reality scene setting which could create an AR camera
drop a simple box in the scene
use the holographic remoting or deploy it to Hololens

Unity Editor Version
Unity3d 2018.2.2f1 and the later version
Mixed Reality Toolkit Release Version
HoloToolkit-Unity--2<IP_ADDRESS>

Has there been any progress on this or have you found a solution to this issue?

Please reopen if you are able to repro this on MRTK v2 with Unity 2018.4.
Thank you!


Renaming service contributes to initial confusion

Feature Request
What feature are you missing?
After bootstrapping with prisma init and some initial fiddling, I have renamed service in prisma.yml file, did some changes to database schema and deployed. When I wanted to use changes from within the server app, it was giving errors that do not really make sense. Only later I have discovered that there is a wrong PRISMA_ENDPOINT using old outdated service.
Possible solutions for smoother experience

When running prisma init, ask for service name right away so it can be a correct right off the bat. Obviously, this does not solve further renaming issues later.
Include PRISMA_SERVICE in the .env so it's next to the PRISMA_ENDPOINT and it's easier to spot this needs to be updated as well.
Alternatively to previous solution instead of having whole endpoint there, have only PRISMA_HOST variable and assemble endpoint dynamically at runtime. That would be most error prone solution in my opinion.

Hey @FredyC, we changed how the prisma init command works. It sounds like you were referring to the creation of a GraphQL boilerplate which now has been moved to the GraphQL CLI. Therefore I'm closing this issue!
Still, thanks a lot for opening this issue! Please keep on opening issues if you run into any problems in the future!


ENH: (WIP) MVAR connectivity and example

@kazemakase this one is over a year old now, do you plan to come back to it? If not we can close it and resurrect it if someone is interested.

Closing due to non-response, but feel free to reopen if you find time to work on it.

Sorry for not responding. I've been on vacation during the last weeks.
Let's resurrect this if someone becomes interested. Meanwhile we work on improving scot :)

Where are we on this? It'd be great to have it merged at some point :)

I/we never took the time to poperly review.
to make this happen fast -> mne-sandbox?

I guess by now the PR is quite behind the current master...

to make this happen fast -> mne-sandbox?

+1; I'm happy to help review, I'm trying to understand the implementation of "effective" connectivity measures.

I guess by now the PR is quite behind the current master... Also, scot has progressed in the meanwhile.

I guess yes. Do you think there's still a chance to integrate the two libraries in the near future?

I guess yes. Do you think there's still a chance to integrate the two libraries in the near future?

I tried to rebase the PR to current master but there is a problem with viz.py where I added some functions. Apparently it was removed and there is a new viz subpackage. Can someone explain how the new visualization stuff is organized so I can adapt the code?
Once the rebase was successful we could consider to update to the current version of scot, where we recently changed the data orientation to match that of MNE. This should allow us to get rid of some glue code.
If this works smoothly I see a good chance to do that in the near future, although I currently have a busy time changing jobs :)

I tried to rebase the PR to current master but there is a problem with
viz.py where I added some functions. Apparently it was removed and there
is a new viz subpackage. Can someone explain how the new visualization
stuff is organized so I can adapt the code?

put it in a new file if you don't need to reuse a lot of code from an
existing viz file.

Once the rebase was successful we could consider to update to the current
version of scot, where we recently changed the data orientation to match
that of MNE. This should allow us to get rid of some glue code.
If this works smoothly I see a good chance to do that in the near future,
although I currently have a busy time changing jobs :)

going where?

Ok, I think I'll be able to pull that rebase off in the next view days.

going where?

Back to Austria, joining a hearing implant company in Innsbruck.

Hey, this worked remarkably well! Everything is still working on top of the current master.
It seems that this PR is no longer updated because it is closed.
Do you want me to create a new PR or is it possible to reopen this one?
(Note that I squashed all 46 commits to make rebasing easier.)

It looks like you'll need to reopen -- force-push makes it impossible to reopen a PR on the GitHub interface (but it is fine to force push on an already-open PR), not sure why.

Oh actually, please open the PR into mne-sandbox instead of mne-python

https://github.com/mne-tools/mne-sandbox
It's where we're going to put code for people to use until we settle on API, use cases, best practices, etc.

That sounds practical :)
Btw, is it possible to rebase without force pushing (unless it's a fast-forward)?

Uhm, how do I actually create a PR from a mne-tools fork into mne-sandbox?

You can't -- you'll need to fork and clone the mne-sandbox repo and make your changes there. Hopefully it's only to a single file, which would make it easy...?

And no, you have to force push after rebase because it rewrites history

Nah, it's a whole bunch of files, which makes it not so easy... but it's doable.
There are also a few changes to existing MNE files that do not exist in mne-sandbox. How do I deal with that?

If you e.g. made some functions take optional arguments or did refactoring, you have two choices I think:

Make the changes in mne-python, with appropriate unit tests for any new parameters. This should only really be done if those changes make things more general or usable in a way that would help even if MVAR (in principle) would never land in mne-python.

Make a local copy of the modified mne-python functions in your new file in mne-sandbox. For example, if you needed to change how pick_info worked, you'd make a copy of it in mne-sandbox/mne_sandbox/connectivity/mvar.py (new file you've made with your code added to it) and modify it there.

Make sense?

Ok, I think I'll go for option 2 now.
Thanks for the help!

No problem -- looking forward to the PR


Vibrancy doesn't work on Windows 11

Though the correct classes seem to be applied, turning on vibrancy on Windows 11 results in a lighter gray background, not the correct blur effect.  Any thoughts?

🤦♂ just realized that Vibrancy is technically the term only for Mac OS, not Windows (acrylic).  Closing now.


feat(gke): allow synchronous cluster teardown

DeleteCluster operation is asynchronous therefore we need to poll the operation status to tell if it's done.
Should resolve #485.

Codecov Report
Base: 8.30% // Head: 8.30% // No change to project coverage :thumbsup:

Coverage data is based on head (7d4b28c) compared to base (8920142).
Patch has no changes to coverable lines.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #491   +/-   ##
=====================================
  Coverage   8.30%   8.30%
=====================================
  Files          5       5
  Lines        855     855
=====================================
  Hits          71      71
  Misses       779     779
  Partials       5       5

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


bug: external command not found in checkhealth

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.11.0-dev-139+ga18652ed6
Operating system/version
windows 10
Describe the bug
when I execute "checkhealth lazy" in nvim with windows git-bash,  it show "OK {git} /usr/bin/bash: line 1: git --version: command not found"
Steps To Reproduce

start nvim in git bash
type ":checkhealth lazy"
not show "git --version", but a error. like following picture:

Expected Behavior
no error.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here
if vim.fn.has('win64') == 1 or vim.fn.has('win32') == 1 then
  vim.opt.shellquote = "\""
  vim.opt.shellcmdflag = "-c"
end

When I execute ":!git --version" , it's OK

The only issue here is that it returned OK instead of an ERROR. Just fixed that.
Apart from that, there's something wrong with your installation.
git is on your path (vim.fn.executable), but when trying to run it with vim.fn.system it is not found, so this means you're probably resetting your path in your .bashrc somehow.

The only issue here is that it returned OK instead of an ERROR. Just fixed that.
Apart from that, there's something wrong with your installation. git is on your path (vim.fn.executable), but when trying to run it with vim.fn.system it is not found, so this means you're probably resetting your path in your .bashrc somehow.

OK，I will find out my installation problem, thanks for you information. I will close this issue soon.

@folke Hi,I found that I use lua print(vim.fn.system('"git --version"')), neovim show right result, so maybe should add '' to execute the system command in Windows.

It's OK

I think the issue has to do with whether the vim.fn.system argument is treated as a string or not which determines how/whether it is run in the shell. If it is passed in as {'git', '--version'} instead of 'git --version', it works.

@michaelmelancon yes and that is what we do.
For Op it's the other way around, which means his setup is broken

It looks like the version check in health.lua, local version = vim.fn.system(c .. " " .. opts.version) or "", is using string building instead of passing the command and args like so local version = vim.fn.system({c, opts.version}) or "".

I've already changed it. Update your plugins.

It is amazing how quick and responsive you are.


[SPARK-29970][WEBUI] open/close state is not preserved for Timelineview

What changes were proposed in this pull request?

Fix a bug related to Timelineview that does not preserve open/close state properly.
Why are the changes needed?

To preserve open/close state is originally intended but it doesn't work.
Does this PR introduce any user-facing change?

Yes. open/close state for Timeineview is to be preserved so if you open Timelineview in Stage page and go to another page, and then go back to Stage page, Timelineview should keep open.
How was this patch tested?

Manual test.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19001/
Test PASSed.

Test build #114145 has started for PR 26607 at commit 9e0add0.

Test build #114145 has finished for PR 26607 at commit 9e0add0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114145/
Test PASSed.


add fibochain

Description
Concise description of proposed changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

fibochain is a new public chain . we hope to be added in wagmi ,which can help us to develop quickly.
this is our official website:https://www.fibochain.org/

add changesets


Atom-Beatify not respons

Description
The results of beautification are not what I expect.
Expected Results
The beautified code should have looked like:
<INSERT CODE HERE>

Steps to Reproduce

Add code to Atom editor
Run command Atom Beautify: Beautify Editor
This beautified code does not look right!

Debug
Here is a link to the debug.md Gist: https://gist.github.com/e9b1ea1349ffa8d0fbf2035fb49fe1fc
Checklist

[ ] I have tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[ ] I have reloaded (or restarted) Atom to ensure it is not a caching issue
[ ] Searched for existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[ ] Generated debugging information and added link for debug.md Gist to this issue

2016-10-10T12:31:44.158Z - debug: [beautifiers/beautifier.coffee] spawn /usr/local/bin/php-cs-fixer 0=fix, 1=/tmp/temp116910-1931-cm1hra
2016-10-10T12:31:44.189Z - debug: [beautifiers/beautifier.coffee] error Error: spawn EACCES

The error is Error: spawn EACCES and you may need to change the file permissions so it is executable: http://stackoverflow.com/a/19026627/2578205
sudo chmod -R a+rwx /usr/local/bin/php-cs-fixer

2016-10-10T12:31:44.158Z - debug: [beautifiers/beautifier.coffee] spawn /usr/local/bin/php-cs-fixer 0=fix, 1=/tmp/temp116910-1931-cm1hra
2016-10-10T12:31:44.189Z - debug: [beautifiers/beautifier.coffee] error Error: spawn EACCES

The error is Error: spawn EACCES and you may need to change the file permissions so it is executable: http://stackoverflow.com/a/19026627/2578205
sudo chmod -R a+rwx /usr/local/bin/php-cs-fixer

Changing file permissions did not resolve this for me. I'm still getting the same error message.

@trevorhreed What OS are you on?

MacOS (High Sierra)


PhpMyAdmin - error is shown after updating warden to dev version

Follow up to https://github.com/wardenenv/warden/pull/801:

Today, I installed dev version of Warden, ran warden svc up, and got the following notice:

Also, running warden svc config shows an error:

@monteshot could you check that?
Originally posted by @ihor-sviziev in https://github.com/wardenenv/warden/issues/801#issuecomment-2498642767

It seems like there is no Docker image for PMA. I don't have a Mac. I will try to reproduce it on WSL.

Clear WSL Ubuntu:

@ihor-sviziev, What is the best way to resolve this issue?

Mb this PR will fix the root issue with incorrect directory/file creation during the docker-compose spins up the project
https://github.com/wardenenv/warden/pull/824


Tom md feature/head and base

Issue reference:

Submission Checklist:

[x] Have you followed the guidelines in our Contributing document (for example, is your tree a clean merge)?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Does your submission build?
[x] Does your submission pass tests?
[ ] Have you run lints on your code locally prior to submission?
[ ] Have you updated all of the cabal/nix infrastructure?
[ ] Is this a breaking change? Have you discussed this?

The contributing doc 404s when I clicked it.
https://github.com/onrock-eng/github-webhooks/CONTRIBUTING.md
This is an extension of @TomMD's work in https://github.com/onrock-eng/github-webhooks/pull/14 that should pass CI sincestack --test ghci pretty pretty-show github-webhooks aeson bytestring works for me locally

Hey! Thanks for the pull request.
pullRequestReviewEventFixture has changed for non-related changeset, perhaps by accident?


LSI-enabled BBKNN

Added an option to run BBKNN with LSI, removed forced PC calculation for ATAC
Uses dimred parameter from yaml to inform the choice of method (LSI/PCA). Default PCA.
Will calculate PCA if no dimred method found.
This fixes https://github.com/DendrouLab/panpipes/issues/296 and rapidly decreases RAM needed to run.

Hey @bio-la I think you committed your filled in yaml by accident.
Check tests/integration_3/pipeline.yml

@wlason just adding a new CI to check that the integration does work as intended! (it's the one failing that uses the yaml you are pointing to) I need to fix it and then I'll merge the PR.


Add a new interface language to the next version

the Russian language is fully translated. please add my language for the convenience of working with the app.

@OmlineEditor thanks for translation will add it to #138


Update actions/add-to-project to 1.0.1

Reading https://github.com/actions/add-to-project/releases, I'm really glad we're not a web stack with 900 dependencies that change every week 😆
Looks like this change is:

two minor api additions
9001 dependency updates
them calling the API "stable" now

seems fine to me.


Unintuitive results working with nullable data (from parquet)

I've opened some trees with uproot4 and written the arrays in the parquet format using ak.to_parquet (from some quick tests that I ran, reading from parquet files seems much faster for doubly jagged arrays as compared to TTrees). When the parquet file is read back, from the docs I understand that the type is not exactly the same because the fields are nullable. This appears to lead to some unintuitive results (for the same data, arrays is loaded from the parquet file, whilearrays_original is read directly via uproot):
In [1]: arrays_original["data.fJetPt"].layout
Out[1]: <NumpyArray format="f" shape="25109" data="22.3846 21.4953 20.3251 26.6239 23.0994 ... 21.6158 21.8578 22.133 26.5842 20.8287" at="0x7fafb6180000"/>

In [2]: arrays_original["data.fJetPt"] > 0
Out[2]: <Array [True, True, True, ... True, True, True] type='25109 * bool'>

In [3]: arrays["data.fJetPt"].layout
Out[3]:
<BitMaskedArray valid_when="true" length="25109" lsb_order="true">
    <mask><IndexU8 i="[255 255 255 255 255 ... 255 255 255 255 31]" offset="0" length="3139" at="0x0001114b0000"/></mask>
    <content><NumpyArray format="f" shape="25109" data="22.3846 21.4953 20.3251 26.6239 23.0994 ... 21.6158 21.8578 22.133 26.5842 20.8287" at="0x0001140be600"/></content>
</BitMaskedArray>

In [4]: arrays["data.fJetPt"] > 0
Out[4]: <Array [None, None, None, ... None, None, None] type='25109 * ?bool'>

The output from [4] is not so intuitive from my perspective. My expectation was that it would evaluate to a mask, and if there were somehow missing values (which isn't the case here), then either leave them as None, or return False (because the condition couldn't be evaluated). I think I can sort of follow what's happening: the array is wrapped in a BitMaskedArray (hence the nullable), so asking for bool > 0 is interpreted as a comparison that can't be made, and it returns None. I also see that I can work with the arrays as normal by ak.fill_none(arrays["data.fJetPt"], 0), which then makes the types non-nullable.
I'm filling this as a bug report because it seems confusing, but it could alternatively be interpreted as a documentation request to add a note to the arrow conversion page that users will likely want to apply fill_none (not ideal if you actually mean to have None, but I'm not sure what to do in that case). Otherwise, it seems that many of the ak functions don't work (for example, ak.to_numpy also doesn't work), which can be rather confusing.
Thanks!

Yeah, I would call this a bug. The Parquet file does change the type because everything in Parquet (and Arrow) is nullable—absolutely every level of every structure. Ideally, the Parquet writer shouldn't be creating useless bitmaps, because the format is capable of saying, "all values are valid" without creating a bitmap of "on" bits (255), but that's an efficiency issue in pyarrow.
So you do get back arrays that in principle can contain None, but in practice don't. That's why Out[4] is wrong. If none of the fJetPt values were None, then none of their comparisons with 0 would be None, either. The rules of slicing and other mathematical operations with None values are defined such that Nones pass through—if you don't have any Nones in, you shouldn't have any Nones out.
I'll take a look at this. I might need to see how you write the Parquet file to reproduce it.

Step 1: I've reproduced it:
>>> import awkward1 as ak
>>> original = ak.Array([0, 1, 2, 3, 4])
>>> original > 1
<Array [False, False, True, True, True] type='5 * bool'>
>>> ak.to_parquet(original, "tmp.parquet")
>>> fromparquet = ak.from_parquet("tmp.parquet")
>>> fromparquet
<Array [0, 1, 2, 3, 4] type='5 * ?int64'>
>>> fromparquet > 1
<Array [None, None, None, None, None] type='5 * ?bool'>
>>> fromparquet.layout
<BitMaskedArray valid_when="true" length="5" lsb_order="true">
    <mask><IndexU8 i="[31]" offset="0" length="1" at="0x7fef1cd93080"/></mask>
    <content><NumpyArray format="l" shape="5" data="0 1 2 3 4" at="0x7fef1cd93040"/></content>
</BitMaskedArray>

so I won't need an example of how you wrote it to Parquet—the above works. (Also, it's entirely possible it's not the Parquet-writing that's at fault, but something about the BitMaskedArray. I'll try making one directly.

Step 2: yes, it's a problem with BitMaskedArrays, which are usually only created in conversions from Arrow or Parquet (most Awkward operations use IndexedOptionArrays, or ByteMaskedArrays if a mask is appropriate at all).
>>> content = ak.layout.NumpyArray(np.array([0, 1, 2, 3, 4]))
>>> np.packbits([1, 1, 1, 1, 1, 0, 0, 0], bitorder="little")
array([31], dtype=uint8)
>>> mask = ak.layout.IndexU8(np.packbits([1, 1, 1, 1, 1, 0, 0, 0], bitorder="little"))
>>> bitmasked = ak.layout.BitMaskedArray(mask, content, valid_when=True, length=5, lsb_order=True)
>>> ak.Array(bitmasked)
<Array [0, 1, 2, 3, 4] type='5 * ?int64'>
>>> ak.Array(bitmasked) > 1
<Array [None, None, None, None, None] type='5 * ?bool'>

But as a ByteMaskedArray,
>>> bitmasked.toByteMaskedArray()    # get exactly the same thing as a ByteMaskedArray
<ByteMaskedArray valid_when="true">
    <mask><Index8 i="[1 1 1 1 1]" offset="0" length="5" at="0x5631bbcf3c40"/></mask>
    <content><NumpyArray format="l" shape="5" data="0 1 2 3 4" at="0x5631bbd00a40"/></content>
</ByteMaskedArray>
>>> ak.Array(bitmasked.toByteMaskedArray())
<Array [0, 1, 2, 3, 4] type='5 * ?int64'>
>>> ak.Array(bitmasked.toByteMaskedArray()) > 1
<Array [False, False, True, True, True] type='5 * ?bool'>

So I'll look into what's happening with BitMaskedArrays in ufuncs (like >). It could be that valid_when is not checked or is reversed.

Thanks Jim - your quick responses are always appreciated! By the time I saw the notification and got around to starting on a reproducer, you already managed it :-)

(I find that if I don't deal with these things right away, other things intervene and I end up never getting back to them. If it's a bug, I don't want it to go unfixed.)

The PR above fixes it:
index e3631dd..bd38f1b 100644
--- a/src/libawkward/array/BitMaskedArray.cpp
+++ b/src/libawkward/array/BitMaskedArray.cpp
@@ -248,7 +248,7 @@ namespace awkward {
       bytemask.data(),
       mask_.data(),
       mask_.length(),
-      false,
+      valid_when_,
       lsb_order_);
     util::handle_error(err, classname(), identities_.get());
     return bytemask.getitem_range_nowrap(0, length_);

When all tests pass, it will be merged into master, but the next release could be days from now (trying to include a lot of GPU developments). In the meantime, conversions of BitMaskedArray into other types of option-type arrays (ByteMaskedArray, IndexedOptionArray, UnmaskedArray) do work, and those other array types correctly handle ufuncs like >. One easy way to force conversion is to multiply by 1:
>>> a = awkward1.layout.BitMaskedArray(awkward1.layout.IndexU8(numpy.array([31], numpy.uint8)), awkward1.layout.NumpyArray(numpy.array([0, 1, 2, 3, 4])), valid_when=True, length=5, lsb_order=True)
>>> a = awkward1.Array(awkward1.layout.BitMaskedArray(awkward1.layout.IndexU8(numpy.array([31], numpy.uint8)), awkward1.layout.NumpyArray(numpy.array([0, 1, 2, 3, 4])), valid_when=True, length=5, lsb_order=True))
>>> a
<Array [0, 1, 2, 3, 4] type='5 * ?int64'>
>>> a.layout
<BitMaskedArray valid_when="true" length="5" lsb_order="true">
    <mask><IndexU8 i="[31]" offset="0" length="1" at="0x5605b5f724b0"/></mask>
    <content><NumpyArray format="l" shape="5" data="0 1 2 3 4" at="0x5605b5f57470"/></content>
</BitMaskedArray>
>>> a * 1
<Array [0, 1, 2, 3, 4] type='5 * ?int64'>
>>> (a * 1).layout
<IndexedOptionArray64>
    <index><Index64 i="[0 1 2 3 4]" offset="0" length="5" at="0x5605b5fd7e10"/></index>
    <content><NumpyArray format="l" shape="5" data="0 1 2 3 4" at="0x5605b5f9d7d0"/></content>
</IndexedOptionArray64>
>>> (a * 1) > 1
<Array [False, False, True, True, True] type='5 * ?bool'>

Or you could get the latest version from master. (The tests will be done in about 15 minutes.)

Outstanding, thank you Jim! I'll check out the master after the PR merges

It's merged. Enjoy!


Does mstateen0[58]=0 take precedence over hstatus.VGEIN=0?

AIA spec section 2.3 states that when hstatus.VGEIN=0, indirect register numbers in the ranges 0x030–0x03F and 0x070–0x0FF designate an inaccessible register at VS level, and so attempts from VS-mode to access sireg (really vsireg) raise a virtual instruction exception.
In section 2.5, it says when mstateen0[58]=0, an attempt to access all IMSIC state from a privilege mode less privileged than M-mode results in an illegal instruction trap
I want to make sure when both mstateen0[58]=0 and hstatus.VGEIN=0, the mstateen0[58]=0 rule take precedence over hstatus.VGEIN=0 rule, so from VS-mode to access sireg when siselect={0x070–0x0FF} results in an illegal instruction trap.
The possible answer I found was that in section 2.3 it also says that the rules for sireg and vsireg in section 2.3 are overridden by the requirements of Section 2.5, which take precedence over section 2.3 when extension Smstateen is also implemented.
Thank you.

Assuming the hart has an IMSIC, your interpretation is exactly correct.  (If a hart does not have an IMSIC, Section 2.5 has something different to say about the effects of mstateen0[58].)


Update all.json

https://twitter.com/dubstard/status/1443791497657294849

ops sorry possible dupe

Also adding in #537 (that PR has some formatting changes, so will merge this one instead)


Is it broken?

Hello,
Congratulations on the idea, it is just awesome! I tried to run but it doesn't seem to get the prices nor to work at all. Is it deprecated?
Thanks.

That is to bad. @vonpupp did you get it running?
@robswc is there any plan to reactivate this repo? Or are you done back testing and already rich? :D

@Tschebbe ahah I wish! I am however now running a investment firm, trying to do just that :)
This is something I would really want to get back to one day, I just don't see it anytime soon as we've moved away from tradingview (not that the product is bad, we just need to do it in house)
I have a few ideas on how to improve it and would love to try it out...  I might check back at the end of the month

Hm... that is bad. Then I will give it a try setting that thing up ;-)

@Tschebbe sorry for the delay. I haven't got into it to be honest. I wish you success in using this project. It seems very promising.


Support for later versions of MongoDB Node.js Driver

The MongoDB Node.js Driver is now at v6.5, however the MongoDB storage adapter for this project is currently pinned to version 4.5.
I appreciate there may be a number of breaking changes in version 5 and version 6, but wondered if there were any plans to support these versions of the official driver at all?

@paulrobertlloyd - thanks for calling this out. We are right now working on v5 with the core library and most likely will look at upgrading the main mongo package after that. Will keep this open.

@paulrobertlloyd - this has been updated on the following pull request: https://github.com/jaredwray/keyv/pull/1056
We will release this with Keyv v5 rc1 later this week.

Oh, very cool. I shall look forward to trying out the RC!


Fix a few comment typos

To fix some teeny-tiny typos in the comments of some files.

Hi ! Thanks for the PR :) Don't hesitate to ask for review when you think it's ready

@NathanHB , I'm done.

What's the point of int()  when the input is of type Union[list[int], int] in the following line?
https://github.com/huggingface/lighteval/blob/d8082ce3587a7f074862a16fb30b73d2190eb345/src/lighteval/metrics/metrics_sample.py#L311

What's the point of int() ...

Type hinting in Python is not enforced typing, so it can happen that a function is called with the wrong types. We cast to int as a safety precaution (for example, in case we got a string)

Sorry I've two other questions.

Why ModelClient isn't called TGIModel?
Why doesn't ModelClient inherit LightevalModel, while it's reasonable to do so?

Hi! Both are for mostly historical reasons from the past of the lib :)
Btw, the best would be for you to ask your questions in issues that way other people can track them too!


ImportError: There is no such entity as whisper.tokenizer.get_tokenizer

failed to import ttsfrd, use WeTextProcessing instead
/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/torch/_jit_internal.py:726: FutureWarning: ignore(True) has been deprecated. TorchScript will now drop the function call on compilation. Use torch.jit.unused now. {}
warnings.warn(
/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/diffusers/models/lora.py:393: FutureWarning: LoRACompatibleLinear is deprecated and will be removed in version 1.0.0. Use of LoRACompatibleLinear is deprecated. Please switch to PEFT backend by installing PEFT: pip install peft.
deprecate("LoRACompatibleLinear", "1.0.0", deprecation_message)
Traceback (most recent call last):
File "download.py", line 12, in
cosyvoice = CosyVoice('/root/workspace/LLM/pretrained_models/CosyVoice-300M')
File "/root/workspace/LLM/CosyVoice/cosyvoice/cli/cosyvoice.py", line 29, in init
configs = load_hyperpyyaml(f)
File "/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/hyperpyyaml/core.py", line 188, in load_hyperpyyaml
hparams = yaml.load(yaml_stream, Loader=loader)
File "/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/yaml/init.py", line 81, in load
return loader.get_single_data()
File "/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 116, in get_single_data
return self.construct_document(node)
File "/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 120, in construct_document
data = self.construct_object(node)
File "/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
File "/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 188, in construct_non_recursive_object
for _dummy in generator:
File "/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 633, in construct_yaml_map
value = self.construct_mapping(node)
File "/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 429, in construct_mapping
return BaseConstructor.construct_mapping(self, node, deep=deep)
File "/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 244, in construct_mapping
value = self.construct_object(value_node, deep=deep)
File "/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
File "/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 183, in construct_non_recursive_object
data = constructor(self, tag_suffix, node)
File "/opt/conda/envs/cosyvoice/lib/python3.8/site-packages/hyperpyyaml/core.py", line 491, in _construct_name
raise ImportError("There is no such entity as %s" % callable_string)
ImportError: There is no such entity as whisper.tokenizer.get_tokenizer
不知道是whisper包的原因还是什么

install python environment exactly according to readme

I have the same issue

pip install openai-whisper


fix(data/multiset): remove unused argument from range_zero

TO CONTRIBUTORS:
Make sure you have:

[x] reviewed and applied the coding style: coding, naming
[x] make sure definitions and lemmas are put in the right files
[x] make sure definitions and lemmas are not redundant

For reviewers: code review check list

How did Lean not complain about this being an invalid simp lemma?

Uh, yeah this is mysterious...


Feature/port python

@pwalsh Please review

@zhenyab merging, and we'll catch the fetch stuff in a new issue.


cask home: update to brew.sh

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

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

Affects man brew-cask and brew cask home with no arguments. Before this change it would open https://caskroom.github.io/, which was redirecting to https://brew.sh/ anyway.

I think we should also deprecate this.

I think we should also deprecate this.

brew cask home {{cask}} will still need to work. Why deprecate brew cask home without an argument?

Why deprecate brew cask home without an argument?

I guess because it no longer makes sense without the brew cask project having a separate homepage. I agree with the deprecation FWIW 👍

Thanks @vitorgalvao! 🎉


Different results for versions with trailing zeros and different lengths

I don't use this category personally, just got here from StackOverflow
Since you are "appending" zeros for second string only, there is some inconsistency in comparison:
<EMAIL_ADDRESS><EMAIL_ADDRESS>== NSOrderedSame
but
<EMAIL_ADDRESS><EMAIL_ADDRESS>== NSOrderedAscending

Thanks for pointing that out, it makes sense. I'll have a look at it in the upcoming days and keep you posted.
Thanks again!
Stijn


Claim "bearerToken" specified for the bearer token is not present in the available claims

I tried to use claim bearerToken to store access token and it worked. However I get an error whenever I want to use the bearerToken in InputClaims, I did everything as demonstrated in the documentation,  still says "Claim "bearerToken" specified for the bearer token is not present in the available claims", but the claim is present in the InputClaims
Edited: Added doc metadata

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

ID: 7cbe5bd8-f4fa-cfac-b3f1-ac25ae741dae
Version Independent ID: 7b7a29b9-b779-88a6-b53a-84b4a6cc1f9b
Content: Secure a Restful service in your Azure AD B2C - Azure AD B2C
Content Source: articles/active-directory-b2c/secure-rest-api.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@code-Miracle49,  Thanks for leveraging Azure docs feedback channel to raise this question. Could you please share the Azure documentation for which this feedback is applicable to?

@code-Miracle49,  Thanks for leveraging Azure docs feedback channel to raise this question. Could you please share the Azure documentation for which this feedback is applicable to?

https://docs.microsoft.com/en-us/azure/active-directory-b2c/secure-rest-api?tabs=windows&pivots=b2c-custom-policy

@code-Miracle49, Apologies for the delay!  Thanks for sharing the doc URL. I have assigned this to SME, who will get back to you shortly on this.

Hey @code-Miracle49,
In the REST API technical profile metadata you specify the name of the claim that holds the bearer token. For example:
<Item Key="UseClaimAsBearerToken">bearerToken</Item>

So, in the very same technical profile, you should add the claim with the same name (in this example bearerToken) to the input claims collection.
If you still get this error, check if the bearerToken contains a value, or it's empty. It could happen if you acquire the access token from the user journey and haven't passed the  bearerToken to the next orchestration step.
Yoel

Hey @code-Miracle49,
In the REST API technical profile metadata you specify the name of the claim that holds the bearer token. For example:
<Item Key="UseClaimAsBearerToken">bearerToken</Item>

So, in the very same technical profile, you should add the claim with the same name (in this example bearerToken) to the input claims collection.
If you still get this error, check if the bearerToken contains a value, or it's empty. It could happen if you acquire the access token from the user journey and haven't passed the bearerToken to the next orchestration step.
Yoel

Hi @yoelhor, thanks for your response. So I found out that the bearerToken claim is not populated when I call the API to get the access token, the call is successful but the bearerToken output claim to get access_token is not populated

Dear code-Miracle49, wondering if you managed to fix this issue, or still need help.

Dear code-Miracle49, wondering if you managed to fix this issue, or still need help.

Hi, I'm still unable to fix the issue

Could you share the relevant part of your policy? If yes, I can help be checking the technical profiles and the user flows. Before you share your policy, make sure to remove any confidential data (including the tenant name). Also share only the relevant part of the policy: the technical profiles and the user journey.


Support for proxy verification?

Component
Forge
Describe the feature you would like
Etherscan support proxy verification, do we need to support it via forge verify-proxy ?
Additional context
https://docs.etherscan.io/api-endpoints/contracts#verify-proxy-contract

I see that's another etherscan "action", I believe we don't have that yet in ethers-etherscan  so we'd need to add that call first

@mattsse Yes I'm planning to add that first on ethers-etherscan then imlement it to forge if foundry want implement forge verify-proxy

@pyk I'm assigning you to this issue since I gathered from your comment that you are working on it. Please let me know if you are not working on it and I will unassign you :smile:

btw guys, when I try to implement this and deploy minimal proxy on arbiscan it get auto-verified (in testnet and mainnet). So I think this feature is unnecessary coz the proxy contract is automatically verified.
I will close this for now.

btw guys, when I try to implement this and deploy minimal proxy on arbiscan it get auto-verified (in testnet and mainnet). So I think this feature is unnecessary coz the proxy contract is automatically verified.

this happens for well-known proxies, but even slight variations cause automatic detection to fail. A large set of proxies will not be automatically verified but can be verified by API request

I am wondering now why this has been closed as auto-detection seems to fail pretty often. Even ignoring this fact, a manual action for verifying a proxy and its implementation would be super helpful imo. Upstream ethers seems to provide a method for this as well for two months now: https://github.com/gakonst/ethers-rs/blame/28bb3c02a585c52fb56ee5b3c8a359602597187c/ethers-etherscan/src/verify.rs#L182

Agree with the above, having a forge verify-proxy would be really helpful. Right now the workaround solution for me is to use the ehterscan's API directly to trigger the proxy verification (which is not done automatically when both implementation and proxy are verified, at least for OZ's TransparentUpgradeableProxy


Remove deprecated drivers

Summary
Details and comments
I kept  GaussianForcesDriver as it is used in other unit tests. Those unit tests need to either migrate to the new driver or be deleted.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 2 files are covered.
163 unchanged lines in 9 files lost coverage.
Overall coverage decreased (-1.4%) to 83.963%

Files with Coverage Reduction
New Missed Lines
%

qiskit_nature/drivers/fermionic_driver.py
1
90.0%

qiskit_nature/drivers/gaussiand/gaussian_forces_driver.py
1
63.64%

qiskit_nature/drivers/base_driver.py
2
75.0%

qiskit_nature/drivers/gaussiand/gaussian_utils.py
2
27.5%

qiskit_nature/drivers/second_quantization/psi4d/psi4driver.py
2
86.47%

qiskit_nature/drivers/gaussiand/gaussian_log_driver.py
3
41.94%

qiskit_nature/drivers/gaussiand/gaussian_log_result.py
5
95.77%

qiskit_nature/transformers/active_space_transformer.py
22
84.53%

qiskit_nature/drivers/qmolecule.py
125
43.27%

Totals

Change from base Build<PHONE_NUMBER>:
-1.4%

Covered Lines:
9026

Relevant Lines:
10750

💛  - Coveralls

I kept GaussianForcesDriver as it is used in other unit tests. Those unit tests need to either migrate to the new driver or be deleted.

I think the only tests which are still using the old driver are those related to the vibrational label/op builder utilities. The only function from those facing the public-API is also deprecated since 0.2.0 (https://github.com/Qiskit/qiskit-nature/blob/main/qiskit_nature/problems/second_quantization/vibrational/builders/vibrational_op_builder.py#L75) so you can safely remove those tests as well.
Should we also remove the legacy transformer classes related to the legacy drivers?


graphicsdriver/opengl: glReadPixels: 1286 error on Wine

GOOS=windows go build -tags=example ./examples/contextlost/ && wine ./contextlost.exe

The culprit: d3d56c076d3b96dee09a

That's weird. glGetError just after glInit return 1286 error. I think there is nothing we can do.
Checking glGetError only at glReadPixels would not make sense anyway. I'll remove this.


[Enhancement] Make "mismatched row count" more clear (#27969)

From “” to "deserialize chunk data failed. column slot id: 10, column
row count: 1, expected row count: 2".
mismatched row count 1 vs 2

Internal error. Error reason is: failed to deserialize chunk data. column slot id: 10, column row count: 1, expected row count: 2.  There is probably a bug here.

Signed-off-by: ZiheLiu<EMAIL_ADDRESS>(cherry picked from commit feb34d54dcfefb7c11e4277bf378837266b360ae)
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)


Make the library easy to use in the browser

browserify is a decent option, but bower and direct links for browser consumption should be provided.

4a5bf42fc30cc3d4b5d22535d701989b21ed017c finishes this.


Parse error when requiring json file

Just thought I'd leave a note.  I assume this is because of a json file.  If not, please disregard.
lib\app.js added to sources
lib\server.js added to sources
config.json added to sources

Error
    at new JS_Parse_Error (C:\Dev\desktop-master-service\node_modules\node-uglifier\node_modules\uglify-js\lib\parse.js:189:18)
    at js_error (C:\Dev\desktop-master-service\node_modules\node-uglifier\node_modules\uglify-js\lib\parse.js:197:11)
    at croak (C:\Dev\desktop-master-service\node_modules\node-uglifier\node_modules\uglify-js\lib\parse.js:657:9)
    at token_error (C:\Dev\desktop-master-service\node_modules\node-uglifier\node_modules\uglify-js\lib\parse.js:665:9)
    at unexpected (C:\Dev\desktop-master-service\node_modules\node-uglifier\node_modules\uglify-js\lib\parse.js:671:9)
    at semicolon (C:\Dev\desktop-master-service\node_modules\node-uglifier\node_modules\uglify-js\lib\parse.js:691:43)
    at simple_statement (C:\Dev\desktop-master-service\node_modules\node-uglifier\node_modules\uglify-js\lib\parse.js:865:73)
    at C:\Dev\desktop-master-service\node_modules\node-uglifier\node_modules\uglify-js\lib\parse.js:724:47
    at C:\Dev\desktop-master-service\node_modules\node-uglifier\node_modules\uglify-js\lib\parse.js:704:24
    at block_ (C:\Dev\desktop-master-service\node_modules\node-uglifier\node_modules\uglify-js\lib\parse.js:978:20)

Hi for the AST tree I use UglifyJs parse. It seems it does not support JSON format since it is not valid Javascript. See https://github.com/SummerWish/express-minify/issues/1
I could hack something into my code to enclose the json part with parenthesis in the source input of my
ast=packageUtils.getAst(source) which just calls UglifyJs.parse...

Ok I pushed a patch to support json. The source is now modified to look like a regular js module.

Cool.  Nice work.
On Wed, Mar 4, 2015 at 7:15 PM, zsoltszabo<EMAIL_ADDRESS>wrote:

Closed #3 https://github.com/zsoltszabo/node-uglifier/issues/3.
—
Reply to this email directly or view it on GitHub
https://github.com/zsoltszabo/node-uglifier/issues/3#event-246464141.

--
Kris Haney
Software Engineer - Client Architecture
Perceptive Software | from Lexmark

You are welcome!


Update refined, refined-scalacheck to 0.9.28

Updates

eu.timepit:refined
eu.timepit:refined-scalacheck

from 0.9.27 to 0.9.28.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "eu.timepit" } ]

labels: library-update, early-semver-minor, semver-spec-patch

Codecov Report

Merging #588 (0b4321a) into master (f623891) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #588   +/-   ##
=======================================
  Coverage   62.54%   62.54%
=======================================
  Files          39       39
  Lines        1303     1303
  Branches        7        7
=======================================
  Hits          815      815
  Misses        488      488

Continue to review full report at Codecov.

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


Fixed spelling mistake "son" to "json"

Fixed aligning to the guidelines in https://docs.microsoft.com/en-us/contribute/code-in-docs#fenced-code-blocks

@dinet : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good. Thanks @dinet


Incompatibility with JEI + Visual Workbench; Craft to Inventory/Cursor doesn't work properly

Mod Loader: Quilt
EMI Version: 1.1.4+1.20.1+fabric
JEI Version: <IP_ADDRESS>
Visual Workbench Version: 8.0.0
EMI's functionality to "Craft One to Inventory", "Craft All to Inventory", and "Craft one to Cursor" doesn't properly work when both JEI and Visual Workbench is installed. When using these functions EMI will fill up the workbench with the recipe properly, but wont do the crafting as expected. Removing either JEI or Visual Workbench fixes the issue, and EMI will do the crafting to Inventory and Cursor properly.

As noted in another issue, EMI can't provide this functionality because crafting is handled by JEI integration, which does nto support it. For this functionality, mods would need to add EMI integraiton.


CUDA does not mount into docker-container

Hi, Team!
I have such problem https://forums.developer.nvidia.com/t/why-it-doesnt-see-cuda-docker-container/264897
Could we solve them or I should create my own docker image and mount all needful libraries by myself?

I fixed this trouble:
sudo CUDACXX=/usr/local/cuda/bin/nvcc cmake -DCMAKE_PREFIX_PATH=/usr/local/lib/python3.6/dist-packages/torch ..
sudo make -j2
./tcuda

Optional (if you have issues with C++11):
CXX=clang++
CXXFLAGS="-g -std=c++11 -Wall -pedantic"


internal/plugins: scaffold a vanilla go.kubebuilder.io/v2 project when --project-version=2

Description of the change: only run phase 2 plugins for project versions >= 3-alpha.
Motivation for the change: The SDK should be scaffolding the vanilla go.kubebuilder.io/v2 plugin if --project-version 2 is set, since the go.sdk.operatorframework.io phase 2 plugin requires a 3-alpha project.
Holding for discussion
/hold
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[x] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

/hold cancel

Related to https://github.com/kubernetes-sigs/kubebuilder/pull/1628

Closes #3674.

/cc @shawn-hurley


Failure if one glob in array returns no files

Requested Update
es-check exits if glob finds no files even if combined with other globs that do.
Example
pnpm exec es-check es5 'splash.js' '**/*-legacy-*.js' '**/*.worker.js' '**/*.min.js'
pnpm exec es-check es5 splash.js **/*-legacy-*.js **/*.worker.js **/*.min.js
error: ES-Check: Did not find any files to check for **/*-legacy-*.js.

Note: Sometimes these files are not generated depending on the build type.
Why Is This Update Needed?
es-check should still check the files from the other globs.
Are There Examples Of This Requested Update Elsewhere?
None that I could find.

@christowiz thanks for this. I will review this issue soon! 🙏


Add ability to register custom load balancers

Closes #961

#961

Recreation of #962 after request from @TomPallister.
Proposed Changes

Add ability to register custom ILoadBalancer implementations during DI composition.
Refactor the LoadBalancerFactory class, so that it can create more than only the built-in load balancers.
Extend the IOcelotBuilder with AddCustomLoadBalancer() helper methods.

@DavidLievrouw thanks for this PR.
Im sorry it takes me ages to review and merge things :(
Thank you very much for your contribution to Ocelot!

No worries. Thank you for your efforts!

Hi @TomPallister and @DavidLievrouw!
I believe merging/accepting this PR was quite risky due to the following reasons:

There were no acceptance tests or PR approvals.
There was no sample or real code to verify the feature.
The current Custom Load Balancers documentation appears to be copied and pasted from the code base (e.g., RoundRobin code).
The design concept introduces unnecessary overhead with the ILoadBalancerCreator interface and numerous redundant services acting as an Abstract Factory for concrete balancer classes. This issue could be resolved by simply injecting an IServiceDiscoveryProvider object into each concrete balancer's constructor.

It seems like it's time to refactor this balancing logic...


Is it possible to bind uri and json for the same struct?

Eg. for updateAccount API, How to bind uri and json for the same struct?
type updateAccountRequest struct {
    ID int64 `uri:"id" binding:"required,min=1"`
    Currency string `json:"currency" binding:"required,currency"`
}

func (server *Server) updateArticle(ctx *gin.Context) {
    var req updateAccountRequest
    if err := ctx.ShouldBindUri(&req); err != nil {
        // send 400 Bad Request to the client
        ctx.JSON(http.StatusBadRequest, errorResponse(err))
        return
    }

    if err := ctx.ShouldBindJSON(&req); err != nil {
        // send 400 Bad Request to the client
        ctx.JSON(http.StatusBadRequest, errorResponse(err))
        return
    }
}

the code above does not work.
Does anyone know? Thanks in advance

I use result here: https://github.com/gin-gonic/gin/issues/1824#issuecomment-475968345
but I wonder whether there is a better solution

doesn't look like it 🤷🏽

I use result here: gin-gonic/gin#1824 (comment) but I wonder whether there is a better solution

type updateAccountRequest struct {
ID int64 uri:"id" binding:"required,min=1"
Balance int64 json:"balance"
}
func (server *Server) updateAccountHandler(ctx *gin.Context) {
var req updateAccountRequest
if err := ctx.ShouldBindUri(&req); err != nil {
ctx.JSON(http.StatusBadRequest, errorResponse(err))
return
}
if err := ctx.ShouldBindJSON(&req); err != nil {
ctx.JSON(http.StatusBadRequest, errorResponse(err))
return
}
arg := db.UpdateAccountParams{
ID:      req.ID,
Balance: req.Balance,
}
updatedAccount, err := server.store.UpdateAccount(ctx, arg)
if err != nil {
if err == sql.ErrNoRows {
ctx.JSON(http.StatusNotFound, errorResponse(err))
return
}
ctx.JSON(http.StatusInternalServerError, errorResponse(err))
return
}
ctx.JSON(http.StatusOK, updatedAccount)
}

@TaylorDurden thanks for help. However, if I recall correctly, this may not work.

@TaylorDurden thanks for help. However, if I recall correctly, this may not work.

@TaylorDurden thanks for help. However, if I recall correctly, this may not work.

https://github.com/TaylorDurden/go-simple-bank/pull/4
You can try it in my PR branch. Maybe the new version gin resolved this.

@chengr4
Currency string `json:"currency" binding:"required,currency"`  //  this required binding will fail ctx.ShouldBindUri validation

ctx.ShouldBindUri(&req)  // this code will validate the struct fileds, if you did not pass the Currency field

FYI: https://github.com/gin-gonic/gin/blob/cc4e11438cd6c0bcc632fe3492d3817dfa21c337/binding/uri.go#L17

@TaylorDurden But I usually want to validate it

@TaylorDurden But I usually want to validate it

Then you should use another struct for this param...since it is from request body and use ShouldBindJSON to parse & validate it.


Use long for typeId

https://www.postgresql.org/docs/11/datatype-oid.html says:

The oid type is currently implemented as an unsigned four-byte integer.

That is, its minimum value is 0, maximum is<PHONE_NUMBER> (2^32 - 1).  In DBs with a long enough history we might experience OIDs that exceed the Java int range, resulting in something like:
some_function_with_custom_type_argument (  )]; Bad value for type int :<PHONE_NUMBER>; nested exception is org.postgresql.util.PSQLException: Bad value for type int :<PHONE_NUMBER>
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:298)
        ... 7 more```

On hold, likely pgjdbc also uses int for oid, leading to similar issues.
Current plan for this problem: Dump and restore database.

@Jan-M should we close this PR?


github.com/sjwhitworth/golearn/knn exec: "gcc": executable file not found in %PATH%

This error appeared when are you trying to use "go build"?
In that case, if you are using linux based OS , you should run this command:
sudo apt-get install build-essential
It should solve your problem

No description provided.

This error appeared when are you trying to use "go build"?
In that case, if you are using linux based OS , you should run this command:
sudo apt-get install build-essential
It should solve your problem


Support for AsciiDoc

asciidoc +1

asciidoc +1

asciidoc +1

Don't worry folks, Steve (aka @spf13) has stated publicly[1] that he's diligently working on a solution to bring asciidoc support to Hugo.
[1] http://discuss.gohugo.io/t/contributing-golang-code/223/3

I've made good progress on this. Love seeing the enthusiasm here.

@spf13 thanks! Liking Hugo thus far, making and using a theme seems easy and intuitive (so far) ;)

+1 for asciidoc
(yet another one)
Is this likely to come in in v0.13 or can we be waiting for this in v0.14?

I really hope in v0.13 even if it's just experimental.
--
Steve Francia
http://stevefrancia.com
http://spf13.com
http://twitter.com/spf13
On Thu, Jan 22, 2015 at 7:18 PM, Brendan Graetz<EMAIL_ADDRESS>wrote:

+1 for asciidoc
(yet another one)
Is this likely to come in in v0.13 or can we be waiting for this in v0.14?
—
Reply to this email directly or view it on GitHub
https://github.com/spf13/hugo/issues/470#issuecomment-71126456.

Hi @tbrooke, @ejemba, @voxadam, @txchen, @ollin, @0xMF and @bguiz,
An experimental support for AsciiDoc has been added in Pull Request #826.
Since @VonC's excellent https://github.com/VonC/asciidocgo needs just a little bit more work before we could use it, PR #826 searches for the original Asciidoctor (written in Ruby) and pipes content through it, similar to how Hugo supports reStructuredText.
Caveat: Since Asciidoctor is not written in Go, it would be slow, but it works!  :-)
There may be some quirks and idiosyncrasies, so your feedback is very welcome and very much needed.  So, please try to build from source with #826 applied, and start using it in your projects, and give us feedback on what works and what don't!
Many thanks!

@anthonyfok Thanks for the great work. My trivial tests so far have been OK, but it looks like @bep has done a rather comprehensive one already: https://github.com/spf13/hugo/pull/826#issuecomment-71316363
@VonC I was going to say the same as what @bep said here: https://github.com/VonC/asciidocgo/issues/1
As the last commit was 7-8 months ago, it looks like it is pretty stagnant, but I do not want to jump to conclusions. Are you still working on this, or would you like it to be forked?

@bayne Sorry, I missed @bep comment. I answered it there. TLDR; you can re-create the project.

+1 FWIW

@sjfloat: Experimental support for AsciiDoc is already committed to 0.14-DEV.  See #826 for more information.  Please test it out and give us feedback!  :-)

Nice, thanks. I'll give it a spin.
On Mon, Mar 23, 2015 at 11:33 AM, Anthony Fok<EMAIL_ADDRESS>wrote:

@sjfloat https://github.com/sjfloat: Experimental support for AsciiDoc
is already committed to 0.14-DEV. See #826
https://github.com/spf13/hugo/pull/826 for more information. Please
test it out and give us feedback! :-)
—
Reply to this email directly or view it on GitHub
https://github.com/spf13/hugo/issues/470#issuecomment-85052052.

--
"I have delusions of grandeur. I believe myself to be Steve Jones"

Would that be master then?
On Mon, Mar 23, 2015 at 11:37 AM, Steve Jones<EMAIL_ADDRESS>wrote:

Nice, thanks. I'll give it a spin.
On Mon, Mar 23, 2015 at 11:33 AM, Anthony Fok<EMAIL_ADDRESS>wrote:

@sjfloat https://github.com/sjfloat: Experimental support for AsciiDoc
is already committed to 0.14-DEV. See #826
https://github.com/spf13/hugo/pull/826 for more information. Please
test it out and give us feedback! :-)
—
Reply to this email directly or view it on GitHub
https://github.com/spf13/hugo/issues/470#issuecomment-85052052.

--
"I have delusions of grandeur. I believe myself to be Steve Jones"

--
"I have delusions of grandeur. I believe myself to be Steve Jones"

@sjfloat: Yes, it is in the master branch.

OK, gave it a try:
Hugo Static Site Generator v0.14-DEV BuildDate: 2015-03-23T15:16:45-04:00
but I got:
CRITICAL: 2015/03/24 Errors reading pages: Error:No handler found for about.adoc
What must I do to see asciidoc rendered?
Thanks!

If I were to guess, it could be simply changing the extension to .asciidoc
W: http://bguiz.com
On 25 March 2015 at 09:48, Steve Jones<EMAIL_ADDRESS>wrote:

OK, gave it a try:
Hugo Static Site Generator v0.14-DEV BuildDate: 2015-03-23T15:16:45-04:00
but I got:
CRITICAL: 2015/03/24 Errors reading pages: Error:No handler found for
about.adoc
What must I do to see asciidoc rendered?
Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/spf13/hugo/issues/470#issuecomment-85723578.

No, adoc should be a supported suffix. My guess you are building with wrong (old) Hugo version.

Well, it's telling me it's v0.14-DEV (I built master). And, yeah, the commit looked like it should recognize 'adoc'. Maybe I'll try a few other variations. And should the generated front matter markup be asciidoc or markdown?

Thanks for catching that, @sjfloat!  A fix has just been committed for ".adoc" file extension recognition.
Please pull the latest HEAD from master and try again.  :-)

Will do. Thanks for jumping on that so quickly!
On Mar 24, 2015 10:33 PM, "Anthony Fok"<EMAIL_ADDRESS>wrote:

Thanks for catching that, @sjfloat https://github.com/sjfloat! A fix
has just been committed for ".adoc" file extension recognition.
Please pull the latest HEAD from master and try again. :-)
—
Reply to this email directly or view it on GitHub
https://github.com/spf13/hugo/issues/470#issuecomment-85793446.

Yeah, seems to work. I need to familiarize myself with Hugo before I can comment further.

Hi, very interested in using AsciiDoc for a project and curious about Hugo. Any updates on support? Is the dev version near release? Thx!

@anthonyfok Same as with reST support test - using Pandoc's README, although it renders (much) better, but I see in the terminal:
[...]
INFO: 2015/05/07 Rendering with /usr/bin/asciidoc ...
ERROR: 2015/05/07 exit status 1
[...]

How to get more output besides '-v' ?

Nice work!
I noticed that you're using a regexp to extract the <body> content from the result from Asciidoctor / AsciiDoc Python. You can instruct the processor to only produce the content for the body by passing the -s flag.
I also recommend passing several attributes to the AsciiDoc processor so that authors can tailor content for the environment. Here are the attributes we've been setting (as applied to Hugo).

env=site
env-site=
hugo-version=x.y.z

You'd pass these as follows:
-a env=site -a env-site= -a hugo-version=x.y.z

Of course, if you find other default settings to be useful, you can consider passing those as well. If you append a @ at the end of the attribute value, you allow the page to override that setting. Otherwise, the setting is immutable.

Shouldnt this issue be closed consindering that the milestone tag for this issue is v0.14 and it has been released as announced here: https://github.com/spf13/hugo/releases

The current implementation is only temporal (hopeful).

I just tried to add an foo.asciidoc file with a frontmatter and some random chars in the content, but it will not render. The only thing I see is the title (filename) of the post. Is there any way to get more debugging?  I do have a2x in my path, if that is what the temporal solution of asciidoc is using.
ERROR: 2015/06/25 exit status 1

I just tried to use master, and I can render some asciidoc, but it will not upport the asciidoc include stuff and images seem to be wrong (not rendering), but I have not debugged those. This against 9b3d0cf5bf669603fa017e7054fe0ef8343c9e1d.

Let's close this issue as we have accomplished our immediate goal, i.e. support for AsciiDoc, albeit experimental and through external Python-based (asciidoc) or Ruby-based (asciidoctor) helpers...
And open a new one for the native Go implementation of AsciiDoc support!  Please continue our discussions at #1435: "Add support for native Go implementation of AsciiDoc".

Except that using asciidoc does not work, although asciidoctor works.

Hi @nickoe, let's continue the discussion about asciidoc not working for your documents to Issue #1437, thanks!


Change model Ourtem to OurTeam

voila

LGTM!

@RachellCalhoun did you test this before merging?

no....I haven't done tests yet. this weekend.

I meant did you run this to see if it worked

nope, I thought we had set up automated testing? wasn't that the point of tests?

How can we have automated testing without any tests? :D
And, I dont think @hassanabidpk setup automated testing yet.

@RachellCalhoun can you run this code locally and see if it works for you and reply back here if it works :)

Ran this locally and came back with
(lightandleadership) ➜  lightandleadership git:(master) python manage.py migrate
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/jinpark/.pyenv/versions/lightandleadership/lib/python3.4/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
    utility.execute()
  File "/Users/jinpark/.pyenv/versions/lightandleadership/lib/python3.4/site-packages/django/core/management/__init__.py", line 312, in execute
    django.setup()
  File "/Users/jinpark/.pyenv/versions/lightandleadership/lib/python3.4/site-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/Users/jinpark/.pyenv/versions/lightandleadership/lib/python3.4/site-packages/django/apps/registry.py", line 115, in populate
    app_config.ready()
  File "/Users/jinpark/.pyenv/versions/lightandleadership/lib/python3.4/site-packages/django/contrib/admin/apps.py", line 22, in ready
    self.module.autodiscover()
  File "/Users/jinpark/.pyenv/versions/lightandleadership/lib/python3.4/site-packages/django/contrib/admin/__init__.py", line 24, in autodiscover
    autodiscover_modules('admin', register_to=site)
  File "/Users/jinpark/.pyenv/versions/lightandleadership/lib/python3.4/site-packages/django/utils/module_loading.py", line 74, in autodiscover_modules
    import_module('%s.%s' % (app_config.name, module_to_search))
  File "/Users/jinpark/.pyenv/versions/lightandleadership/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/Users/jinpark/Documents/code/lightandleadership/content/admin.py", line 2, in <module>
    from .models import OurStory, Ourteam, EduProgram
ImportError: cannot import name 'Ourteam'

Looks like theres more work to be done @JiwonHwang