text:
"cf dev start" no connection could be made because the target machine actively refused it

I have been trying to run through the Pcf Dev tutorial for a while now at Charles Schwab and I still cannot even start it. I am behind a firewall so I know a proxy is required.

I set my virtual machine to look at proxy host: https://network.pivotal.io  on port: 8080
and I set the proxy environment variables as shown above.
Does anyone have ideas on what I should do to fix this issue?

To confirm, your proxy server takes the basic auth credentials that you're providing over plain HTTP, and this works in other applications? It looks like your proxy server is refusing the connection.
As a workaround, you can find the OVA version that corresponds to your PCF Dev version (by running cf dev version) and download that OVA version from the internal release on PivNet. Then you can run cf dev import /path/to/file.ova to import it.
Worth noting though, if applications can't use those proxy settings to access the internet, the VM will likely not have internet access.

So I finally got the proxy to accept the login it seems.... I changed the proxy environment variables to be https//:proxy.schwab.com:8080
Not it shows the user license agreement and when I try to accept it I get:
Pivotal Network returned: 451 Unavailable for Legal Reasons
What is happening now?

Glad that the proxy connection is working!
Can you attempt to download the OVA from the "internal" release on the PCF Dev product page on PivNet in a web browser? That 451 error may indicate that your PivNet account was automatically flagged (usually for export control reasons), and downloading the OVA directly will give you more information about why. Sorry for the trouble!

I ran cf version and it says OVA version 0.461.0 then I went to the PCF Dev downloads site and changes it to internal and clicked on the corresponding OVA. a new tab pops open and looks like it wants to start a download but never does... the new tab that opens shows this below:

Interesting. It looks like your browser is displaying the initial contents of the OVA. (An OVA is really just a tar archive.)
Can you try cf dev start again with the same account that you used in the browser? Alternatively, can you try to download the OVA in a different browser?

Its finally working!!!! the Virtual Machine is starting to download! Thank you @sclevine

authors: nickzeus sclevine

repo: pivotal-cf/pcfdev


text:
Fixes compatibility issues with django 1.10

This branch merges the changes proposed by Anna Prochowska on 59b46ca plus it fixes compatibility issues related to django 1.10 and the new model._meta API.

I missed one of the functions in utils.py. I am sending an ammended pull request.

Until this gets merged, I've been happily using this with a Django 1.10 project.

That's good to hear. Your Python-jss library has saved me lots of time. Very nice work @sheagcraig

Is this branch stale? Tiliv has not been around for a long time..

I've unfortunately been very busy these last several months and regret not having cleaned everything up yet.  I was 99.99% ready to release when I got derailed on a live examine documentation server.
Realistically, I will need about 1 month more of hiatus, but this branch should still work fine.  After that I'm eager to get this thing sparkling again for the latest Django and datatables.js versions.
A heartfelt thanks has to go to the compatibility forks that have carried people forward while my attention has been elsewhere.

@tiliv great to hear from you. We will be waiting until you get back. In the meantime, if there is anything I can help with let me know.

I was saddened to think the best wrapper to best js grid app for the best python web framework was losing leadership.. I am glad I was wrong. I just came across this project yesterday, though, let me know too if I can help.

Awesome. How does this work with the pypi package. I imagine you have to do a release and/or actually push to pypi, and that this PR doesn't in itself constitute a release.
Also, @jangeador I'm frankly shocked that you have even heard of, no less used python-jss. Small world I guess!

I want to comb through a few things before I do a proper release, and also get the latest live demos set up outside of App Engine, which is doomed to be inadequate.  I'll try to stay on this for a release in the next couple of weeks (I'm leaving town for a while after that).

Do you also plan to remove the legacy configuration and its code? We really need to get the basics (e.g., paging, sorting, filtering, etc.) solid, so I think a clean-up would help. Also, as you review things, if you add more explanation here and there, especially function docstrings, that would help tremendously when debugging. When I read the code I see what it is doing, but not necessarily what it is meant to be doing :) which is crucial for debugging.

0.9 and 1.0 will be identical and released at the same time, except that 1.0 will have the legacy syntax removed (so that people needing a softer transition can use 0.9 until they are ready to make the switch).

Perfect. I might be on the 0.9 side :)
I am still not fully aware of the benefits of the new syntax. For example,
I wonder the use cases/advantages of defining a column as such:
head_line = columns.TextColumn(..
since type information is already in the Django model..
On Wed, Oct 5, 2016 at 1:12 PM Tim Valenta notifications@github.com wrote:

0.9 and 1.0 will be identical and released at the same time, except that
1.0 will have the legacy syntax removed (so that people needing a softer
transition can use 0.9 until they are ready to make the switch).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pivotal-energy-solutions/django-datatable-view/pull/133#issuecomment-251754173,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwzjgfhtoihS7AzgAs-bXNobVQB8pujks5qw-iYgaJpZM4JfcRG
.

Datatable.Meta.columns will let you name columns you want to appear without declaring the whole thing from scratch.  The whole of Datatable.Meta is basically the old View.datatable_options dict, except you can give names in columns that refer to virtual fields declared on the class.
In most cases, you won't need to redeclare the column from scratch unless you intend to build a compound column or use a non-default Column type.

And my benefit of using compound column over just a processor is that, it can filter underlying fields?

But under the new scheme, we won't be able to do this anymore:
columns =  ['id', ("Publication Date", 'pub_date', 'pub_processor'), 'headline']
right?

That's correct.  The fuzzy line between old and new syntax comes from the fact that the old column spec works in 0.9 inside of Datatable.Meta.columns, which is a fluke of having the legacy code actually transforming its view dict into a Datatable with Meta on the fly so that everything can go through the same pipeline.

I just tried the old column spec in Datatable.Meta.columns and it did not work :) so does that mean we are not there yet for 0.9?

Looks like I spoke without brushing up on the final decision I made before.  To keep things clear cut, you should use LegacyDatatable as the parent class for your Datatable class (from the same import path as the regular one).  It has a virtual column handler that sets out to translate the legacy syntax.
I'll have to go over it once we get some of these bumps fixed with the recent changes to make sure it's all working as advertised before release.  Hopefully I won't misspeak too many times about how it works while I settle back in :P

I don't know what is the audience like, but would consider speeding up the transition if I were you. Fixing a 2-in-1 system is harder more than 2X.. You have to look at it from both ways, and It will be complicated. Unless you are damn careful and put in a lot of time and effort, it will not work well from either side, worse yet, possibly from both sides..

source: gharchive/pull-request

authors: doganmeh jangeador sheagcraig tiliv

license_type: permissive

license_source: bigquery


text:
cfops elastic-runtime backup of PCF 1.7 postgres DBs exit rc 127 empty files

I tested the PCF 1.7 elastic-runtime tile backup using v2.2.20.  The backup says it works, but the output files are empty.  I ran with debug and the process exits with rc 127.
In ERT 1.7 the postgres package location has changed to /var/vcap/packages/postgres-9.4.6.  The debug log shows:
2016/06/02 05:04:32 I0602 05:04:32.160216 27248 elasticruntime.go:138] Exporting %s ccdb
2016/06/02 05:04:32 D0602 05:04:32.229796 27248 pgdump.go:70] pgdump Dump called:  PGPASSWORD=030df4fe78359255 /var/vcap/packages/postgres-9.4.2/bin/pg_dump -Fc -h localhost -U vcap -p 2544 ccdb Process exited with status 127
2016/06/02 05:04:32 D0602 05:04:32.230644 27248 elasticruntime.go:143] Done backing up %s ccdb
postgres-9.4.2 is not there.
Please update the postgres path to use postgres-9.4.6 when dumping ERT 1.7.
Thank you

Rick

this should be fixed in the latest release (2.2.21+)
http://www.cfops.io/downloads/release/
via: https://github.com/pivotalservices/cfbackup/commit/24227a9766d0e43b8bc43e80678dadd9c69991c7

source: gharchive/issue

repo: pivotalservices/cfops


text:
Access my home devices through vpn

Hello, you cannot imagine how I love pivpn, very stable, fast and reliable vpn. I used it to rung a VOIP service through my home internet whic work flawlessly,
I am not a programming expert, so I need you help how can access my home LAN computers shared drives from an outside computer that run on the same VPN.
I hope you can help me with the computers (one the lan and the remote) IP configuration.
Here is my setup scenario
1- OPenvpn setup with TCP 443, GOOGLE DDNS, Rasp pi ip is 10.8.0.1
2- DDNS update installed on the DD-WRT router with open port 443
3- All my computers run Windows 10
Thank you for your reply in advance
Thank you so much and I really appreciate your miracle work

Are the shares on your windows 10 machines?
Are you accessing the shares from a windows machine?
if this is the case I believe that you only need to
WindowsKey + r
and then
\xxx.xxx.xxx.xxx ( machines IP address )  or \xxx.xxx.xxx.xxx\path\to\share
it should get you on the way.
you won't be able to use machines hostnames since you are using google DNS directly on the pi.
to be able to use computers hostnames you should replace the
push "dhcp-option DNS 8.8.8.8"
with
push "dchp-option DNS XXX.XXX.XXX.XXX" ( your router IP address )
so far is the best way we found to use hostnames.

Thank you so much for your reply, it worked.
one last request, can you guide me through to assign static ip address to the windows 10 computers connected to the VPN ? one of them is my file server

if you still need assistance with this, please look through other similar issues or open a thread on our subreddit.

No, is working now
Get Outlook for Androidhttps://aka.ms/ghei36

From: 4s3ti notifications@github.com
Sent: Friday, April 26, 2019 3:46:10 PM
To: pivpn/pivpn
Cc: joejoe2017; Author
Subject: Re: [pivpn/pivpn] Access my home devices through vpn (#306)
if you still need assistance with this, please look through other similar issues or open a thread on our subreddit.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/pivpn/pivpn/issues/306#issuecomment-487178781, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHFZSJCOYV5DV3NXXKBNRHTPSNLYFANCNFSM4DSWYPGA.

repo: pivpn/pivpn

license: mit


text:
🛑 Edge Platform is down

In 7fc7e8d, Edge Platform (https://edge.pixify.co.uk/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Edge Platform is back up in d290757.

repo: pixifydigitalagency/monitors

license: MIT

license_source: github-api


text:
Make Tiled demo

Choose some Tiled maps and try to show them with that renderer.

Is there any news ?

I've created one, and I'll give it to you later.
( after issue 18 , 19  & 20  are  solved )

Does that mean pixi-tilemap work with tiled map?

People use it with tiled, because pixi-tilemap does not enforce any of formats, its just low-level plugin for renderer. I dont have tiled demo yet but i saw them :)

I dont have tiled demo yet but i saw them :)

@ivanpopelyshev Where should such a demo be put? Would it be part of https://github.com/pixijs/examples?

@winniehell I'm going to create separated pixi-examples with all those plugins: spine, layers, tilemap, projection, heaven.

the title of the issue here implies that we can now render tiled files. If so, what is the best tiled parser to use here? Do we have to write one from scratch?

I know several projects that made their own tiled parsers.
Also, there's a tiled parser that doesnt use pixi-tilemap: https://github.com/riebel/pixi-tiledmap

Some of the Gdevelop devs are interested in adopting this, as a lot of people are requesting tiled support and GD uses pixijs for rendering.
We are wondering what the best approach would be to implement it in GDevelop5

@ivanpopelyshev on the readme, it says that tiled is on the "TODO". Does that mean that pixi-tilemap developers are planning to add built in support for parsing tiled files? This would really help projects like gdevelop in adopting it, as it will reduce the number of dependencies for the feature. Reading tiled files is a key reason we want to use pixi-tilemap, as well as the fact it is under the official pixijs git repo

It means that I'm still didnt use Tiled for any of my games => i didnt make a parser, but i saw several people do it.

wow, first time i see that app. I'll try it next month, i dont have time for it, sorry :)

I'm afraid I still cannot find a working demo using pixi.js v5 and Tiled files (a png tileset image and a json map file containing one tileset and 5 layers of zlib base64 data).
Looking forward to seeing some progress on this issue.

authors: AdrienLemaire blurymind finscn ivanpopelyshev maltir winniehell

repo: pixijs/pixi-tilemap


text:
Load Multiple Bitmap Text Colors

Hi,
I am trying to insert text into my application using Bitmap Text. Right now I have created two .xml and .png files for text. One is white text, the other is black text. If I just load one of these, there is no problem. However, how would I load both of them and differentiate between the two? They are the same font (Arial), just different colors. To load one, I am doing:
function init() {
var text = new PIXI.extras.BitmapText("Hi", { font: "20px Arial" });
}
var loader = new PIXI.loaders.Loader();
loader.add("whiteText.xml");
loader.once('complete', init);
loader.load();
Is there a way to load a second xml file ("blackText.xml") and then differentiate between the two when creating text?

Make them have different names in the XML besides calling both of them Arial.
Also, you could use the tint feature instead of creating 2 separate bitmaps.

Do I just change the face value?

Assuming I changed it to 'ArialBlack', would I then call it with:
var text = new PIXI.extras.BitmapText("Hi", { font: "20px ArialBlack" });
Thanks

Hm, as a reference, when RPGMaker loads a resource it can tint it. Something like "font.png:ff0000" will give us a red font. May be we can use the same approach here.

The problem with tint is the outline. My white font has a black outline and I would like a black font with a white outline. By just tinting the white font to 0x000000, I just get solid black

Assuming I changed it to 'ArialBlack', would I then call it with:

I'm pretty sure that is the case, try it!

closing for now, seems to have run it course!

authors: GoodBoyDigital englercj ivanpopelyshev mtderryberry


text:
Issue with application and backgroundAlpha set to 0

Hi,
I am having issues when trying to run pixi application with a transparent background.
If the backgroundColor is anything else then 0x000000 it will not be totally transparent.
Check example.
https://www.pixiplayground.com/#/edit/PR0v6Sjv-xQMrtqPI0Eza
EDIT:
Seems like this is only affecting Firefox.
Even tough I could have sworn I seen in Chrome also
Thanks,
Jonas

Thanks!
useContextAlpha: 'notMultiplied' did the jobb.
@SukantPal To clarify, even if backgroundAlpha: 0 makes the background fully transparent.
I am using the backgroundColor to give a visual effect when masking with a RenderTexture.
But probably there is a cleaner way to handle this.
https://www.pixiplayground.com/#/edit/CZIlabXCwrS9bhI2mBKcl


text:
[BUG] System.Net.Http.HttpRequestException: Response status code does not indicate success: 403 (Forbidden).

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] My answer given in the checkbox above is a lie.

What problem did you encounter?
System.Net.Http.HttpRequestException: Response status code does not indicate success: 403 (Forbidden).
Bloxstrap_20240824T002506Z.log

Hehehehehehehehehheeeheheeheheh idk why this happens on a SINGULAR ACCOUNT but WHATEVR heheheheheehehehheeherhherheehehehehehebehh why why why why why why did u discontinue multi roblox?????????????? 😱🤣

repo: pizzaboxer/bloxstrap


text:
unexpected error occured

I was starting Roblox with Bloxstrap but then i got the "an unexpected error occurred and roblox needs to quit" message but when i use the normal Roblox launcher it works fine...

Are you joining a game directly or are you trying to open the desktop app?

Are you joining a game directly or are you trying to open the desktop app?

I was trying to open the desktop app
On Sat, 8 Jul 2023 at 13:08, pizzaboxer @.***> wrote:

Are you joining a game directly or are you trying to open the desktop app?
—
Reply to this email directly, view it on GitHub
https://github.com/pizzaboxer/bloxstrap/issues/363#issuecomment-1627192222,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUEQ4ATVNXJ237KSNAQ3H5DXPFEUPANCNFSM6AAAAAAZ55N24M
.
You are receiving this because you authored the thread.Message ID:
@.***>

What about directly joining a game?

Like by a link or
On Sat, 8 Jul 2023 at 13:10, pizzaboxer @.***> wrote:

What about directly joining a game?
—
Reply to this email directly, view it on GitHub
https://github.com/pizzaboxer/bloxstrap/issues/363#issuecomment-1627194545,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUEQ4AQ6U4Z4BOMYPW3GPPTXPFE3XANCNFSM6AAAAAAZ55N24M
.
You are receiving this because you authored the thread.Message ID:
@.***>

Like, by clicking the play button on a game's webpage.

Oh right…that didn’t work as well…
On Sat, 8 Jul 2023 at 13:25, pizzaboxer @.***> wrote:

Like, by clicking the play button on a game's webpage.
—
Reply to this email directly, view it on GitHub
https://github.com/pizzaboxer/bloxstrap/issues/363#issuecomment-1627212329,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUEQ4ARKXPTIBIKOS7C5IVTXPFGUVANCNFSM6AAAAAAZ55N24M
.
You are receiving this because you authored the thread.Message ID:
@.***>

Have you configured any FastFlags or mods?

Yes , I think I changed it to the “into the future” I believe its called ?
On Sat, 8 Jul 2023 at 14:41, pizzaboxer @.***> wrote:

Have you configured any FastFlags or mods?
—
Reply to this email directly, view it on GitHub
https://github.com/pizzaboxer/bloxstrap/issues/363#issuecomment-1627292204,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUEQ4ATLE34GKQPMQ762KMLXPFPQPANCNFSM6AAAAAAZ55N24M
.
You are receiving this because you authored the thread.Message ID:
@.***>

Is that the only one? Let me take a look at the full list, you can view it by opening ClientAppSettings.json. Just copy and paste the whole thing here.

that also happens to me, its not fixable

i use the normal Roblox launcher it works fine...

Thinking about it a bit more, chances are it's down to files not being installed properly. If you're still there and you're still having this problem, let me know, and I can find out what's going on.

i use the normal Roblox launcher it works fine...

Thinking about it a bit more, chances are it's down to files not being installed properly. If you're still there and you're still having this problem, let me know, and I can find out what's going on.

still having the problem

still having the problem

Are you having it where Bloxstrap doesn't work but Roblox's launcher does?

still having the problem

Are you having it where Bloxstrap doesn't work but Roblox's launcher does?

no, bloxstrap isnt the problem, roblox is

it says that it found an unrecoverable error or just crashes when launching

no, bloxstrap isnt the problem, roblox is

So then this issue doesn't apply to you. See https://github.com/pizzaboxer/bloxstrap/wiki/Roblox-crashes-or-does-not-launch.

no, bloxstrap isnt the problem, roblox is

So then this issue doesn't apply to you. See https://github.com/pizzaboxer/bloxstrap/wiki/Roblox-crashes-or-does-not-launch.

already tried everything

Issue has been awaiting clarification for over a month, closing as stale. If you have anything further to add, just respond and I'll reopen.


text:
Update search method in menus

Utilize obsidian's built-in fuzzy search method, used in quick switcher
With cm-chs-patch v1.3.1+ installed, the search method will use Chinese parse API to convert Chinese into Pinyin, which can be searched by key strokes

Before even reviewing the code I need to understand what this is for.  What is the current search not doing that you do want, or is doing that you don't want?  I am not sufficiently clear on how the Obsidian fuzzy search algorithm works to know if it's what I would like to use or would be an improvement on the current algorithm, which I have written to be easy to reason about, and to minimize the number of keystrokes when using generally-stable lists (like context menus).  Obsidian's fuzzy search is useful when you are looking at the screen, but I find its behavior hard to predict in the presence of minor changes to a list's contents.
Regarding the file names, being able to search file extensions is indeed intentional.
Anyway, for future reference, when submitting pull requests to projects it is a good idea to explain up front what problem is being solved or what you are trying to achieve, so the maintainer doesn't have to try to guess.  In this case I can guess is that you want to make searching for chinese characters better, but it seems like using the fuzzy search may be counterproductive for that, whereas it might be possible to improve the current algorithm's regex generation for pinyin.
To do so, however, I'd need to know how you actually expect to search.  Do you intend to type the full character names?  With spaces between?  Or do you intend to use just parts of the character names?

One of the benefits of using a fuzzy search algorithm is that it can specify weighting manually, meaning that it can match filename first, then trying to match extensions, but digging into the algorithm will definitely take more time, and since reverse-engineering the code for quick switcher is already tiresome, I'll revert that change and only keep Chinese support for now.

Do you intend to type the full character names? With spaces between? Or do you intend to use just parts of the character names?

I'm adding space between pinyins because I'm trying to mimic English words so that it may work better for the fuzzy search algorithm, and since I'm reverting it, it may not be necessary.
And regarding using keystrokes to search for Chinese, the usual ways are searching by the first letter of pinyin, for example, 今(jin)天(tian) ->jt, or by entering full pinyin (今(jin)天(tian)->jint). But it may not be so simple when polyphone exists, meaning that one character in Chinese can have different pinyin in various contexts, like 长 in 长(zhang)大 and 长(chang)期. The library I'm using is relatively lightweight, so it won't try to predict the exact pinyin for the character, instead, it will give all the possible pinyin. In 长大(da)'s case, it will produce [["zhang", "chang"],["da"]], and the current solution is flatting the list and join the members, like zhangchangda.
But here is the problem: with default sorting, the Chinese names are always before English ones, so with the old matching method which uses the sequence of item to get the first match, the result will always be Chinese first. In my mind, the solutions to may be mapping item list to name list and resorting the mapped one with pinyins, and it will take some time for me to work on the details. To be honest, fuzzy search algorithm may be the ultimate solution across languages, if I have time to understand what it does...
btw, do you need the new yarn.lock file committed? it seems that it has been largely changed after adding a new module.

Pull requests are not for "here is some code that may or may not do something vaguely related to what I want, which I don't actually know precisely what I want yet.  But please put this code into your project".
When you submit a pull request to an open source project, you are requesting a pull, implying that the code you have is ready to be pulled and thus incorporated into the project's code.  This implies that you have:

Thought out what it is supposed to do
Considered how it will impact other users of the project
Considered the support and maintenance impact for the core contributors
Written the code according to the project's style

And above all, actually finished the thing you're trying to do.  At a bare minimum, if the thing is not finished, you should give a clear indication in the subject line that it is a work in progress, and most open source projects do not accept WIP PRs that aren't targeted at development branches or submitted by trusted contributors.
What you have basically done is submit a PR where you have no specific intention beyond a vague idea that Obsidian's fuzzy search will somehow be beneficial, with none of the research or testing or evidence as to why this should be so, and are implicitly requesting this code be added to the project.  In effect, you are telling me that you consider this state of things good enough for me to add this code to the project.
I was trying to give you the benefit of the doubt by assuming that you had in fact thought this through, and simply hadn't communicated things that must be obvious to you and assumed I would know them.  But now I see that it's rather that you haven't thought this through at all, and are instead simply doing whatever seems like a good idea at the time.
This tells me that I cannot trust your judgment.  You keep saying you want to collaborate, but your behavior is not that of someone who is trying to earn the trust necessary for collaboration.  If everything you submit is suspect as to whether you've given any basic thought to what you're proposing, or basic courtesies like communicating intended results or what impacts you considered, I cannot afford the time to keep entertaining your submissions and will ultimately begin blocking your communications.
I remain open to incorporating some sort of search improvement for CJK characters, but not in the form of incomplete PRs for undefined requirements.
Even for bug reports or feature requests, it is expected that you at least be able to communicate clearly what behavior you want the improvement to have...  implying that you have already done the work to figure out what it is that you want.  Posting issues or PRs where you aren't even close to having an idea of what it is you want is just wasting people's time.  Doing it in code is even more wasteful, since code inherently requires more time to process than text.
Please do not submit any more PRs to this project until and unless they meet the requirements above.  If you believe at some point you have come up with a strategy for CJK or pinyin search -- one that includes the expected impact on other users -- then feel free to open an issue describing what you want to do and how it should work, preferably with examples.
It is often a good idea, by the way, to submit an issue for something before submitting a PR, especially when contributing to a project that has not previously accepted PRs from you.  In this way, you can learn whether it is even worth doing the work to write the PR, in case your desired change is one the project team considers out of scope, counterproductive, something they would not wish to maintain, or something they would have specific requirements for that you would otherwise not know about.
Having such a discussion first is a sign of respect, that you understand that you are neither an expert nor an authority within that project's community, whereas jumping straight to a PR that isn't tied to an existing issue is an implicit statement that you understand the project's plans, processes, and requirements as well as an existing team member -- which is very rarely the case.
In essence, when you submit a PR without an issue, you are staking your reputation on the idea that in that particular area, you are as good as the project team.  For things that are minor bug fixes or unequivocal improvements this may well be the case.  But if you guess wrongly, then you are showing that not only do you not understand the project as well as you think, but that you also think you're better at it than you actually are.  And that damages others' opinion not only of your ability, but also of your wisdom, forethought, and judgment.
I am closing this PR.  Please do not open any more PRs to any of my projects without first submitting an issue that describes clearly how you would like that project's behavior to change, and what impacts you expect that to have on other users...  and then wait for an explicit approval before submitting a PR.
In other words, I am no longer giving you the benefit of the doubt, because you have shown at this point that I cannot trust your judgment.

Lesson learnt，thank you so much for all the time you've spent to help me finally understand what an Pull Request meant for an project and the principles of collaboration in open source community, I'll follow your advice on this for every PR I opened in the future, you are such a patient and wonderful tutor for me, really sorry for having you tolerating all my terrible inappropriateness and ignorance during our conversations.

Ignorance isn't a problem: I'm happy to answer questions and even offer advice.  It's the lack of asking (or admitting to ignorance) that's been much of the problem.  It would've wasted a lot less time if e.g. you said in an issue, "I need to do this kind of search and the existing search doesn't work well in this way...  do you think that using Obsidian's fuzzy search would help?"  Then you could have saved time writing the code and I would've saved time reading it, because we could've discussed it first.
I am actually still curious about solving the problem itself -- for example, I'm wondering if you find Obsidian's "quick open" dialog to be useful in searching for notes using the approach you describe, and if not, how you currently find such notes.  If the quick open dialog is useful, on the other hand, then perhaps it would make sense to allow opening quick explorer on a note from the quick open.  And so on.  There are many things that could be discussed to find a good alternative, though of course there is no guarantee that any of them would work out.
Also, not every project maintainer is as particular about PRs as I am, but in general the larger the project or team, the greater the odds that they will have very specific expectations for PRs and prefer to see issues first from new contributors.  And most will expect works in progress to be labeled as such.

authors: aidenlx pjeby

repo: pjeby/quick-explorer

license: ISC


text:
docs: fix formatting nits in comments

Pulling in suggestions from @VoltrexMaster in https://github.com/nodejs/node/pull/42675

This looks like a subset of the ones raised/applied upstream. Not sure if you are planning to maintain in parallel, or copy-paste down? (i.e. is it worth doing more PR here or will a future sync catch up?)

This looks like a subset of the ones raised/applied upstream. Not sure if you are planning to maintain in parallel, or copy-paste down?

I'm trying to keep things so that we can just copy and paste the code from here into the Node.js PR. So let's make changes in this repo, and I'll periodically sync the upstream PR.

authors: bcoe shadowspawn

repo: pkgjs/parseargs


text:
Add support for ranges

For both selecting and referencing in formulas.

Ranges for hexagons have more natural possibilities than square grids, where all ranges are just different sizes of rectangle.
Some possibilities for shapes:

Line along axis
Parallelogram (sheared rectangle)
Equilateral triangle
Hexagon

These can each be defined by two points:

Line = End 1, End 2
Parallelogram = Top-Left Corner, Bottom-Right Corner.
Triangle = Corner, Point Along Opposite Edge
Hexagon = Center, Point Along Any Edge

Add range shape functions?

Grown/Shrink
Union
Intersect
Subtract

Similar to the formula editing mode, there should be a selection mode. In this mode you would be able to access controls for selections.
Space could open up the selection mode. The currently selected cell would become the starting point. Space or Right-click would then toggle the shape, and Left-click would finish the selection, defining the second parameter, ando exiting selection mode.
Esc would cancel the selection and exit selection mode.

There could be other keyboard shortcuts to jump to a specific shape.

Some way to stay in selection mode for extended selection editing? Additional keyboard shortcuts for the range functions mentioned above.


text:
classify: add S.is

ramda/ramda#296 made the behaviour of R.is inconsistent for primitives:
> R.is(Number, new Number(0))
true
> R.is(Object, new Number(0))
true
> R.is(Number, 0)
true
> R.is(Object, 0)
false

A primitive is promoted to its object equivalent in the case of R.is(Number) but not in the case of R.is(Object).
By removing the R.is(Object) special case we're able to replace many occurrences of a and b with Object in the type definitions. This allows us to provide more helpful error messages. For example:
> S.head(null)
TypeError: head requires a value of type Object as its first argument; received null

We needn't expose is, but its more "correct" behaviour may be useful in other situations as well.
The one problem with this approach is that it disallows Object.create(null) in contexts where such an object is valid. For example:
> S.get('x', Object.create(null))
TypeError: get requires a value of type Object as its second argument; received {}

I can think of a solution to this, but it strikes me as an ugly special case:
var _is = function(type, x) {
  return x != null && (Object(x) instanceof type || type === Object && R.type(x) === 'Object');
};

Regardless of how ugly that special case is, I think it's important that Object.create(null) is supported.

The correct solution may be to have a private Accessible "type", used as follows:
S.head = def('head', [Accessible], at(0));

Every value in the language except null and undefined would be members of this type.
We'd need some extra logic to handle Accessible in curry, but this would have the added benefit of improving our error messages:
> S.head(null)
TypeError: The first argument to head cannot be null or undefined

I've updated the pull request. Let me know what you think, @svozza!

Sorry David, I completely forgot about this! Very nice indeed, although the curry function is starting to look pretty hairy now. Unfortunately I think that's unavoidable.

[T]he curry function is starting to look pretty hairy now.

Indeed. If one sees it as JavaScript's missing run-time type system fused with a :curry: function, the amount of code seems reasonable.

authors: davidchambers svozza

repo: plaid/sanctuary


text:
Two users, two tokens, same result sets

I've got Spotipy running on a localhost. I've authenticated two different users and have confirmed their tokens are unique. When I run the following code to get currently playing information, I get the same results in spite of having different Spotify sessions running (different devices) for each of the users.
Testing further, this looks like a "current user" definition issue. Using the Spotipy "current_user()" method, I get the same username regardless of the token returned. Assuming log in / log out is even the right solution in this case not sure how I would implement log in this environment (running everything from command line). Shouldn't the authentication token be the basis for the results returned?
playback.py:
import sys
import spotipy
import spotipy.util as util

scope = 'user-library-read user-read-currently-playing user-read-playback-state'

if len(sys.argv) > 1:
    username = sys.argv[1]
    print username + ': '
else:
    print "Usage: %s username" % (sys.argv[0],)
    sys.exit()

token = util.prompt_for_user_token(username, scope)

if token:
    print "Token: "+ token + " // "
    sp = spotipy.Spotify(auth=token)
    results = sp.current_playback()
    isplaying = results['is_playing']
    print isplaying
    if isplaying:
        track = results['item']['name']
        artist = results['item']['artists'][0]['name']
        trackid = results['item']['id']
        device = results['device']['name']
        print track + " - " + trackid + " - " + artist + " - on " + device
else:
    print "Can't get token for", username

Scope issue? I had a few different test scripts for my app with different scopes. I've updated them all to be consistent and now the issue seems to be resolved.

repo: plamere/spotipy


text:
DEX mini tradeform, wallets, order history page

Work towards #619

Add mini trade form
Submit Market Order buy or sell DCR
Add wallets manage page and order history page
Display wallet address to deposit

I registered for DEX, but didn't have enough fees to pay the balance in my DCR wallet, then proceeded to do a transfer, after doing the transfer, i proceeded to retry the payment, after opening dex and inputting my app password, i was presented with the dialog that shows the wallets to use for payment, and the app crashed immediately.
here's the log below
2021-12-30 12:57:09.371 [INF] DEXC: notify: |SUCCESS| (feepayment) Fee payment in progress - Waiting for 1 confirmations before trading at dex-test.ssgen.io:7232
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x4f520a5]

goroutine 14 [running]:
github.com/planetdecred/godcr/ui/page/dexclient.(*Page).initMiniTradeForm(0xc002cee100)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/dexclient/markets.go:228 +0xc5
github.com/planetdecred/godcr/ui/page/dexclient.(*Page).Layout.func1(0x0, 0x0, 0x478, 0x3df, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/dexclient/markets.go:110 +0x2d9
gioui.org/layout.Inset.Layout(0x4000000141c00000, 0x141c00000, 0x141c00000, 0x141c00000, 0x0, 0x0, 0x478, 0x3df, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:146 +0x47d
github.com/planetdecred/godcr/ui/page/components.UniformPadding(0x0, 0x0, 0x4d8, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/components/components.go:81 +0x205
github.com/planetdecred/godcr/ui/page/dexclient.(*Page).Layout(0xc002cee100, 0x0, 0x0, 0x4d8, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/dexclient/markets.go:121 +0x8e
github.com/planetdecred/godcr/ui/page.(*MainPage).Layout.func1.1.1(0x0, 0x0, 0x4d8, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/main_page.go:464 +0x75
gioui.org/layout.Flex.Layout(0x0, 0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1.1(0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:84 +0xa7
gioui.org/layout.Direction.Layout(0xc000eb3f00, 0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:173 +0x122
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1(0x640, 0x43f, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:83 +0xe5
gioui.org/layout.Inset.Layout(0x0, 0x0, 0x0, 0x0, 0x640, 0x43f, 0x640, 0x43f, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:146 +0x47d
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1(0x640, 0x43f, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:81 +0x125
github.com/planetdecred/godcr/ui/decredmaterial.Border.Layout(0x0, 0x0, 0x0, 0xc000016300, 0x640, 0x43f, 0x640, 0x43f, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/border.go:21 +0x75
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2(0x640, 0x43f, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:79 +0x1ac
gioui.org/layout.Stack.Layout(0x52d6a00, 0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/stack.go:60 +0x8d5
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1(0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:45 +0x297
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1(0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:96 +0x175
gioui.org/layout.Inset.Layout(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:146 +0x47d
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1(0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:42 +0x125
gioui.org/layout.Direction.Layout(0x53fc500, 0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:173 +0x122
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout(0xfffffffffffffffe, 0xfffffffffffffffe, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:40 +0x127
github.com/planetdecred/godcr/ui/page.(*MainPage).Layout.func1.1(0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/main_page.go:457 +0x238
gioui.org/layout.Flex.Layout(0x4000001, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1.1(0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:84 +0xa7
gioui.org/layout.Direction.Layout(0x200, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:173 +0x122
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1(0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:83 +0xe5
gioui.org/layout.Inset.Layout(0x0, 0x0, 0x0, 0x0, 0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:146 +0x47d
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1(0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:81 +0x125
github.com/planetdecred/godcr/ui/decredmaterial.Border.Layout(0x0, 0x0, 0x0, 0x200, 0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/border.go:21 +0x75
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2(0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:79 +0x1ac
gioui.org/layout.Stack.Layout(0x52d6a00, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/stack.go:60 +0x8d5
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1(0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:45 +0x297
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1(0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:96 +0x175
gioui.org/layout.Inset.Layout(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:146 +0x47d
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1(0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:42 +0x125
gioui.org/layout.Direction.Layout(0x53fc500, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:173 +0x122
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout(0xfffffffffffffffe, 0xfffffffffffffffe, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:40 +0x127
github.com/planetdecred/godcr/ui/page.(*MainPage).Layout.func1(0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/main_page.go:450 +0x238
gioui.org/layout.Stack.Layout(0x5287d00, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/stack.go:78 +0x716
github.com/planetdecred/godcr/ui/page.(*MainPage).Layout(0xc0002f7180, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/main_page.go:444 +0x237
github.com/planetdecred/godcr/ui.(*Window).layoutPage.func2(0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/window.go:238 +0x95
gioui.org/layout.Stack.Layout(0x5286801, 0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/stack.go:60 +0x8d5
github.com/planetdecred/godcr/ui.(*Window).layoutPage(0xc00009b680, 0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/window.go:232 +0x397
github.com/planetdecred/godcr/ui.(*Window).Loop(0xc00009b680, 0xc000701200, 0xc00027d020)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/window.go:361 +0x448
created by main.main
        /Users/kennedy/go/src/github.com/planetdecred/godcr/main.go:73 +0x428

I registered for DEX, but didn't have enough fees to pay the balance in my DCR wallet, then proceeded to do a transfer, after doing the transfer, i proceeded to retry the payment, after opening dex and inputting my app password, i was presented with the dialog that shows the wallets to use for payment, and the app crashed immediately.
here's the log below
2021-12-30 12:57:09.371 [INF] DEXC: notify: |SUCCESS| (feepayment) Fee payment in progress - Waiting for 1 confirmations before trading at dex-test.ssgen.io:7232
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x4f520a5]

goroutine 14 [running]:
github.com/planetdecred/godcr/ui/page/dexclient.(*Page).initMiniTradeForm(0xc002cee100)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/dexclient/markets.go:228 +0xc5
github.com/planetdecred/godcr/ui/page/dexclient.(*Page).Layout.func1(0x0, 0x0, 0x478, 0x3df, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/dexclient/markets.go:110 +0x2d9
gioui.org/layout.Inset.Layout(0x4000000141c00000, 0x141c00000, 0x141c00000, 0x141c00000, 0x0, 0x0, 0x478, 0x3df, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:146 +0x47d
github.com/planetdecred/godcr/ui/page/components.UniformPadding(0x0, 0x0, 0x4d8, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/components/components.go:81 +0x205
github.com/planetdecred/godcr/ui/page/dexclient.(*Page).Layout(0xc002cee100, 0x0, 0x0, 0x4d8, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/dexclient/markets.go:121 +0x8e
github.com/planetdecred/godcr/ui/page.(*MainPage).Layout.func1.1.1(0x0, 0x0, 0x4d8, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/main_page.go:464 +0x75
gioui.org/layout.Flex.Layout(0x0, 0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1.1(0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:84 +0xa7
gioui.org/layout.Direction.Layout(0xc000eb3f00, 0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:173 +0x122
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1(0x640, 0x43f, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:83 +0xe5
gioui.org/layout.Inset.Layout(0x0, 0x0, 0x0, 0x0, 0x640, 0x43f, 0x640, 0x43f, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:146 +0x47d
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1(0x640, 0x43f, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:81 +0x125
github.com/planetdecred/godcr/ui/decredmaterial.Border.Layout(0x0, 0x0, 0x0, 0xc000016300, 0x640, 0x43f, 0x640, 0x43f, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/border.go:21 +0x75
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2(0x640, 0x43f, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:79 +0x1ac
gioui.org/layout.Stack.Layout(0x52d6a00, 0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/stack.go:60 +0x8d5
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1(0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:45 +0x297
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1(0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:96 +0x175
gioui.org/layout.Inset.Layout(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:146 +0x47d
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1(0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:42 +0x125
gioui.org/layout.Direction.Layout(0x53fc500, 0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:173 +0x122
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout(0xfffffffffffffffe, 0xfffffffffffffffe, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:40 +0x127
github.com/planetdecred/godcr/ui/page.(*MainPage).Layout.func1.1(0x0, 0x0, 0x640, 0x43f, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/main_page.go:457 +0x238
gioui.org/layout.Flex.Layout(0x4000001, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1.1(0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:84 +0xa7
gioui.org/layout.Direction.Layout(0x200, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:173 +0x122
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1(0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:83 +0xe5
gioui.org/layout.Inset.Layout(0x0, 0x0, 0x0, 0x0, 0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:146 +0x47d
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1(0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:81 +0x125
github.com/planetdecred/godcr/ui/decredmaterial.Border.Layout(0x0, 0x0, 0x0, 0x200, 0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/border.go:21 +0x75
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2(0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:79 +0x1ac
gioui.org/layout.Stack.Layout(0x52d6a00, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/stack.go:60 +0x8d5
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1(0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:45 +0x297
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1(0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:96 +0x175
gioui.org/layout.Inset.Layout(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:146 +0x47d
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1(0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:42 +0x125
gioui.org/layout.Direction.Layout(0x53fc500, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/layout.go:173 +0x122
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout(0xfffffffffffffffe, 0xfffffffffffffffe, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/decredmaterial/linearlayout.go:40 +0x127
github.com/planetdecred/godcr/ui/page.(*MainPage).Layout.func1(0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/main_page.go:450 +0x238
gioui.org/layout.Stack.Layout(0x5287d00, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/stack.go:78 +0x716
github.com/planetdecred/godcr/ui/page.(*MainPage).Layout(0xc0002f7180, 0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/page/main_page.go:444 +0x237
github.com/planetdecred/godcr/ui.(*Window).layoutPage.func2(0x0, 0x0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, 0x655b7e0, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/window.go:238 +0x95
gioui.org/layout.Stack.Layout(0x5286801, 0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/pkg/mod/gioui.org@v0.0.0-20211011183043-05f0f5c20f45/layout/stack.go:60 +0x8d5
github.com/planetdecred/godcr/ui.(*Window).layoutPage(0xc00009b680, 0x640, 0x4b0, 0x640, 0x4b0, 0x4000000040000000, 0x59db560, 0xc000701298, 0xc06b890957cab2c0, 0x7ab6b0cbbd, ...)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/window.go:232 +0x397
github.com/planetdecred/godcr/ui.(*Window).Loop(0xc00009b680, 0xc000701200, 0xc00027d020)
        /Users/kennedy/go/src/github.com/planetdecred/godcr/ui/window.go:361 +0x448
created by main.main
        /Users/kennedy/go/src/github.com/planetdecred/godcr/main.go:73 +0x428

As a follow up to this, i re-lauched the app, proceed to dex and input my password, I then see the transaction has taken place and is waiting for confirmation

However, the transaction is stuck on 0 confirmations. an issue, i believe is related to this issue https://github.com/planetdecred/godcr/issues/700 (essentially the transaction isn't broadcast due to low fees). and now i'm stuck on this step as there's no means to retry the payment

The app seems to crash when i try to run your branch with the following error.
sirmorrison@sirmorrisons-MacBook-Pro godcr-gio % git fetch upstream pull/722/head:722 && git checkout 722 && go build && ./godcr --network=testnet
Enter passphrase for key '/Users/sirmorrison/.ssh/id_ed25519':
From github.com:planetdecred/godcr
 * [new ref]         refs/pull/722/head -> 722
Switched to branch '722'
Config file (/Users/sirmorrison/Library/Application Support/Godcr/godcr.conf) does not exist. Using defaults.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x4ac4d04]

goroutine 24 [running]:
github.com/planetdecred/dcrlibwallet.(*MultiWallet).ReadUserConfigValue(0x0, {0x51a4ead, 0x9}, {0x4edb660, 0xc0002d6310})
	/Users/sirmorrison/go/pkg/mod/github.com/planetdecred/dcrlibwallet@v1.6.2-0.20211208155954-3ba1589ff83f/multiwallet_config.go:64 +0x44
github.com/planetdecred/dcrlibwallet.(*MultiWallet).ReadBoolConfigValueForKey(...)
	/Users/sirmorrison/go/pkg/mod/github.com/planetdecred/dcrlibwallet@v1.6.2-0.20211208155954-3ba1589ff83f/multiwallet_config.go:110
github.com/planetdecred/godcr/ui/load.(*Load).RefreshTheme(0xc0002d2380)
	/Users/sirmorrison/Desktop/go projects/godcr-gio/ui/load/load.go:138 +0x5a
github.com/planetdecred/godcr/ui/page.(*startPage).OnResume(0xc0002d42c0)
	/Users/sirmorrison/Desktop/go projects/godcr-gio/ui/page/start_page.go:52 +0x66
github.com/planetdecred/godcr/ui.(*Window).Start(0xc000226c00)
	/Users/sirmorrison/Desktop/go projects/godcr-gio/ui/window.go:156 +0x42
github.com/planetdecred/godcr/ui.(*Window).Loop(0xc000226c00, 0xc00054f680, 0x0)
	/Users/sirmorrison/Desktop/go projects/godcr-gio/ui/window.go:342 +0x1bb
created by main.main
	/Users/sirmorrison/Desktop/go projects/godcr-gio/main.go:73 +0x4c5

I tested the master branch and this was not reproduced.

The BTC and DCR button is not properly center aligned on the input editor.

There is a difference between the sync progress on the password modal and that of the wallet settings page.

I think it will be better to have the submit button grayed out when there is not BTC wallet or on click of the submit button, rather than show the password modal, first verify if there is a BTC wallet... if there is none, throw a toast notification error.
The error with regards to thge BTC wallet sync also, should be handled here also, before the password modal is displayed.

The padding on the order history page and Dex settings page is different from the Dex main page and other sub pages

I'm thinking the first 3 commits on this PR need to be separate PRs; viz
Add mini trade form, Add Dex wallets page, Create order history page

PR will separate into smaller PRs

authors: Sirmorrison dreacot itswisdomagain song50119

repo: planetdecred/godcr


text:
Make build process more robust

The README in the scripts directory says:
 You also need to download the Microsoft Azure, Cloud and Enterprise Symbol / Icon Set and copy all files from Symbols\CnE_Cloud\SVG to source/official

The current file is Microsoft_Cloud_AI_Azure_Service_Icon_Set_2019_05_08_2.zip
This no longer has the Symbols\CnE_Cloud\SVG directory.
If you extract the zip as is the build fails.
If you extract the zip using the flat option, most but not all of the files are found.
Some of the files that are in the manual directory are now also in the official directory.
e.g. manual/Azure App Service - Web App (was Websites) is official/App Services
This means that the build is not reproducible.
You need a way to ensure consistency.
A few different ways you could do this is:

check in all the files from the official version you used with a reference to the version number
put a direct link to the version of the official zip file used (assuming that Microsoft keeps archives)
Mirror the zips in another repo and link to the git hash (to save repo space in this repo)

etc

@opticyclic Would these issues be resolved by the (code) changes in https://github.com/plantuml-stdlib/Azure-PlantUML/pull/31 ?
If so, we could close this issue once the MR is merged.

I am closing this issue, due to lack of response. I this still turns out to be an issue, it can always be reopened on request.

authors: Potherca opticyclic

repo: plantuml-stdlib/Azure-PlantUML


text:
feat: add math tests: new newline command (1827) + tests with multi-line for same formala (1824)

From:

https://github.com/plantuml/plantuml/issues/1824
https://github.com/plantuml/plantuml/pull/1827

Commit error:

plantuml-jlatexmath.zip

Commit error:

plantuml-jlatexmath.zip

No problem, sometimes, we make mistakes :-)
So did you merge this PR or did you close it without merging ?

So are you going to propose another PR ?

Yes: Done by #7

authors: The-Lum arnaudroques

repo: plantuml/pdiff


text:
Support receiving an exception

I've made a small tweak to the Stopify API to support receiving an exception. I'm not certain how Pyret uses Stopify, but this should be the only hook you need. Does this look like it will work?

I'm not sure -- what's the intent for how the onException field gets set?
Here's a concrete example of where this is needed:
https://github.com/brownplt/pyret-lang/blob/v-hull/src/js/base/stopified-vhull-runtime.original.js#L105
    function runThunk(f, then) {
        var fnResult, resultCtor;
        try {
          fnResult = f();
          resultCtor = thisRuntime.makeSuccessResult;
        } catch (e) {
          fnResult = e;
          resultCtor = thisRuntime.makeFailureResult;
        }
        return then(resultCtor(fnResult))
      }

That function gets stopified. I want a way to, during a call to f(), call captureCC and then use the restart function that captureCC gives me to cause this function to flow into the catch position with a value I specify.

Now logged in as me...
I'm not sure -- what's the intent for how the onException field gets set?
Here's a concrete example of where this is needed:
https://github.com/brownplt/pyret-lang/blob/v-hull/src/js/base/stopified-vhull-runtime.original.js#L105
    function runThunk(f, then) {
        var fnResult, resultCtor;
        try {
          fnResult = f();
          resultCtor = thisRuntime.makeSuccessResult;
        } catch (e) {
          fnResult = e;
          resultCtor = thisRuntime.makeFailureResult;
        }
        return then(resultCtor(fnResult))
      }

That function gets stopified. I want a way to, during a call to f(), call captureCC and then use the restart function that captureCC gives me to cause this function to flow into the catch position with a value I specify for e.

Now on my computer. Ah, so what I did does not help you. You want to resume computation with an exception. I am about to get on a flight. Let me see what I can pull off en route. I land in one hour.

Merging #305 instead.

authors: arjunguha cse12-w18 jpolitz rachitnigam

repo: plasma-umass/Stopify


text:
Convert DialOptions to ClientNodeOptions

Description
We currently have WithDialOptions as a functional option for the courier struct.  This then makes us import grpc into the file and receive/hold dialoptions in the struct.  If we ever want to move away from grpc, we will have to update our client_node/server implementation as well as our main courier struct.  Ideally, the Courier struct doesn't know how it implements messaging, and only calls the functions so we only have to change the client_node and server definition.
Done When:

[ ] client node has its own implementation for options
[ ] grpc is removed from the courier object
[ ] grpc module is only called in client_node, server, and mocks for those

will be implemented in #37

Just kidding reopening this

repo: platform-edn/courier


text:
Fix wrong board defines

As one can see in
https://github.com/arduino/ArduinoCore-mbed/blob/93e56ff002acec05d4a05b74047a9fab2e203938/platform.txt#L77
for each board, the macro
-DARDUINO_{build.board}

is defined.  For
https://github.com/arduino/ArduinoCore-mbed/blob/93e56ff002acec05d4a05b74047a9fab2e203938/boards.txt#L204
this means
-DARDUINO_NANO_RP2040_CONNECT

will be defined. However, the previous board definitions fail to add that ARDUINO_ prefix to the defines.
https://github.com/platformio/platform-raspberrypi/blob/095da74655dc4cc3cd8e32e6517288c4b8466fb5/boards/nanorp2040connect.json#L5-L5
This ends up not triggering / enabling code in libraries that depend on this, as can e.g. be seen in
https://github.com/arduino-libraries/WiFiNINA/blob/5d63d7de818e5c584279d6e5945a103d3ca108c5/src/utility/nano_rp2040_support.cpp#L20
where ARDUINO_NANO_RP2040_CONNECT is checked, but PIO only defines NANO_RP2040_CONNECT, thus leading to compile errors as e.g. seen in this community topic
This PR fixes both board definitions in the platform.

Many thanks!

authors: maxgerhardt valeros

repo: platformio/platform-raspberrypi


text:
Update framework-arduinoteensy

Hi,
the framework-arduinoteensy package is out of date. It is older than at least https://github.com/PaulStoffregen/cores/commit/f2948bd19530a2298edcba315e888d35325cc0d0, which is required for DMA UART operation.
As a side note, I have tried finding documentation on the package system and determine

what source the package was built from
how to send an update myself

Did I just miss the docs?
 Goodbyte, Gerd.

@gefla thanks! I'll update framework-arduinoteensy. If you like PlatformIO, please give us a :star: https://github.com/platformio/platformio/stargazers

@gefla please platformio update.

@PaulStoffregen could you make release/tag for https://github.com/PaulStoffregen/cores in future? I've just subscribed to your repository and will be notified for the new releases. Thanks a lot!

As mentioned on gitter: Done, works.

I generally don't use github to release Teensyduino.  I'll try to tag releases, but odds are strong I'll tend to neglect that step.  My release process already involves a lot of non-github steps!

@PaulStoffregen Thanks! I'll try to monitor it manually too.

authors: PaulStoffregen gefla ivankravets

repo: platformio/platformio


text:
Support for PHP version 5.6

Hi, I'm having trouble installing the versions 1.2.5 and 1.2.6 on a PHP 5.6 system.
It seems the releases force version 7.2 or higher.
I get an error message when trying to access my site after installing the plugin, that reads:
Your Composer dependencies require a PHP version ">= 7.2.0". You are running 5.6.40
This is caused by vendor/composer/platform_check.php in the ZIP-releases of 1.2.5 and 1.2.6.
I tried commenting out the responsible line, but that only fixed the error message and the site still didn't work.
I rolled back back to 1.2.4 which works just fine, but maybe you can help me update.
Thanks in advance.

What's the reason you're still on PHP 5.6? 5.6 has been EOL for almost 5 years!
I'd seriously suggest upgrading to PHP 8. Or, at the very least 7.4 (which has also been EOL since the end of last year)
The new features introduced in 1.2.5 (and next up, 1.3.0) use functions only available in 7.2. Hence the raised requirements. We're not planning to keep supporting 5.6, simply because eventually WordPress will also drop its support.
But, if you must, since you're installing using Composer, have you tried to append --ignore-platform-reqs to the command?

For anyone else interested, found this table, showing that PHP 5.6 support in WordPress is next up to be dropped:

Thanks for the reply!
I'm afraid i can't upgrade the PHP installation.
I installed this plugin via the Wordpress dashboard, where it's marked as still 5.6 compatible in 1.2.5 and 1.2.6.
So when i tried to upgrade, it doesn't warn you and breaks the wordpress installation.
I'm not sure whether that's a problem on your end, just wanted to give you a heads-up.
Have a good one.

Thanks for notifying me, I'll change that!

repo: plausible/wordpress


text:
Only 'Alpha' and 'Premultiplied Alpha' mesh instances are placed after other draw call

We should also defer additive mesh instances.
https://github.com/playcanvas/engine/blob/master/src/scene/scene_forwardrenderer.js#L606

Fixed in 89d09780fd2f53b7a106de8a368ab4cbb047c175

repo: playcanvas/engine


text:
Asset Bundles - improvements and making it public

Asset Bundles - are a great way to reduce number of network requests by bundling assets into single .tar file.
Currently engine support for it usable, but it is not public and needs improvements. It also relies on Editor bundling functionality and would be great if described well, so that engine-only developers can create .tar files themself.
Current "issue" with bundles:
If asset is in a bundle which is not loaded, and we try to load that asset, it will fire an error. This has couple of issues:

Developers who implements lazy-loading, now should check not only if asset is loaded, but also if asset is referenced in a bundle before trying to load it.
When we reference an asset by components, engine will load an asset for you when its needed for rendering - this is very powerful, and simplifies lazy-loading big way. But if asset is referenced by a bundle then this fails and will fire errors unless bundle is loaded in advance, which for non-preloading cases makes it hard to manage.
Because asset can be in multiple bundles, it makes it somewhat non-obvious what to load here.
Bundles do throw blob requests in a network tab, this preferably should be avoided, to improve network debugging.
.tar potentially can be streamed, instead of loading whole file first, this will spread assets parsing CPU impact when lazy-loading bundles, as well as allow parsing while network is still downloading, so improve speed at which bundled assets will load in overall.

The potential solution to this problem:
Make AssetRegistry.load to take bundles into the account, and load bundles when trying to load asset which is referenced by a bundle. Instead of throwing an error (current behavior).
Add optional options argument to AssetRegistry.load method, that can assist in picking the right bundle with two properties bundlesIgnore and bundlesFilter:
app.assets.load(asset, {
    bundlesFilter: (bundles) => {
        return bundles[0];
    }
});

When asset registry tries to load an asset, that is referenced in a bundle, developer has an option to ignore bundles by providing bundlesIgnore flag, which by default is false so assets will load from bundles.
And then within list of referenced bundles, if any of the bundles are already loading/loaded, we ensure asset is marked as loading and then don't do anything else, as it will trigger load event of an asset once bundle is loaded. If none of the referenced bundles are loading/loaded, by default the smallest bundle will be called for loading.
If developer provides bundlesFilter callback, then instead of smallest bundle by default, the developer can pick a specific bundle from a list of referenced bundles. If nothing is returned, default behavior prevails.
This solution will not require any change in engine lazy-loading behaviors across components. It will load non-preloaded assets which are in bundles as expected without throwing an error (current behavior). And provide control to the developer if such needed.
Use Cases:
Currently to take bundles into account:
const asset = app.assets.get(42);

asset.ready(() => {
    // asset is loaded
});

if (!asset.loading && !asset.loaded) {
    const bundles = app.bundles.listBundlesForAsset(asset);
    if (bundles) {
        asset.loading = true;
        let bundle;

        for(let i = 0; i < bundles.length; i++) {
            // if any of bundles is already loading
            // then do not try to load any other bundle
            if (bundles[i].loading) {
                bundle = null;
                break;
            }
            bundle = bundles[i];
        }

        if (bundle)
            app.assets.load(bundle); // start loading bundle
    } else {
        app.assets.load(asset);
    }
}

With new behavior, basic lazy-loading will work regardless of in-bundle or not:
const asset = app.assets.get(42);

asset.ready(() => {
    // asset is loaded
});

app.assets.load(asset);

If a developer need to force load asset not from bundle:
app.assets.load(asset, { bundlesIgnore: true });

If a developer need to pick which bundle to load asset from:
app.assets.load(asset, {
    bundlesFilter: (bundles) => {
        const ind = Math.floor(bundles.length * Math.random()); // random bundle just for example
        return bundles[ind];
    }
});

Yep this all make sense. Bundles are effectively just semantic groupings of assets and there's little need to interface with them directly, loading them should happen transparently in the same way as assets loading happens. I haven't see how this works in practice, but I'd event argue that this should also extend to the editor, where - unless there's a necessary reason - bundles as file representations shouldn't be part of the asset registry. This is more of a UX thing, but feels more consistent with the idea of explicitly referencing assets over manually loading bubdles.
One other point, maybe bundlesFilter and bundlesIgnore could be combined into a single useBundle : bool | function which avoids any confusion if both are included in the call. Just a thought.

Is .tar the right format for this as well? I remember when working with this that the cost of upacking could mean a longer loading compared to not using bundles at all (is this due to all the Blob URL requests?). Are there any alternative containers that could be used?

authors: Maksims marklundin yaustar


text:
iOS: move HeadlessPlayerImpl from PlayerUIInternalTestUtilities to PlayerUITestUtilitiesCore

Move HeadlessPlayerImpl PlayerUITestUtilitiesCore so it can be exposed and used by test helpers in FTR
Change Type (required)
Indicate the type of change your pull request is:

[x] patch
[ ] minor
[ ] major

Does your PR have any documentation updates?

[ ] Updated docs
[ ] No Update needed
[ ] Unable to update docs

📦 Published PR as canary version: 0.8.1--canary.500.17230

Try this version out locally by upgrading relevant packages to 0.8.1--canary.500.17230

/canary

repo: player-ui/player


text:
🛑 Lindas Kingdoms is down

In 56ef760, Lindas Kingdoms (https://lindas.admin.ch/query?query=PREFIX rdf%3A <http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23>
SELECT DISTINCT %3Fk (SAMPLE(%3Fs1) as %3Fs)%0AWHERE%20%7B%0A%20%20%3Fs1%20a%20%3Chttp%3A%2F%2Ffilteredpush.org%2Fontologies%2Foa%2FdwcFP%23TaxonName%3E%3B%0A%20%20%3Chttp%3A%2F%2Frs.tdwg.org%2Fdwc%2Fterms%2Fkingdom%3E%20%3Fk.%0A%7D%0AGROUP%20BY%20%3Fk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Lindas Kingdoms is back up in 4261073 after 10 minutes.

repo: plazi/monitoring


text:
[构建失败]【已解决】python-jaraco-collections

Gitee PR：链接
解决过程：
在spec文件%file字段中添加以下内容，解决python37环境下构建失败问题
%exclude %{python3_sitelib}/jaraco/__pycache__/collections.cpython-37.*

good job.
已经解决的 issues 可以记录之后关闭。

authors: MaximSuen lazyparser

repo: plctlab/openEuler-riscv


text:
Demo doest work

Demo doest works in FF 7 (but the code runs - http://jsfiddle.net/ruanltbg/UMH6H/)

just updated the demo page. looks like the problem was the version of jquery. thanks!

Which error do you get?

excuse me =)

Yap, now works hehe. Thx

authors: pbalduino plentz ruanltbg

repo: plentz/jquery-maskmoney


text:
Few questions

I have few more questions

How do I save the data in database (do I need to do any steps to save the data or when running a bot command will save the data)
Ex. Running give money command it will automatically create data for that or I have to do something before that

How do I push data

How do I pull data

How do I get how many database are there

How do I pull/push or save data from a file
Ex I have settings file and money file I want to pull/push from money file data

How to add data in settings file

i am new
Please give me code/steps

I don’t see answer for number 5 only

There is.
Most of quick.db commands are for this.
Set, get, pull, push. They will all save and use the database and there are examples


text:
Subset

Considering that the book tries to make every formula simple to read, I believe that the definition of this small auxiliary function is well worthwhile.
I would also like to define another function for substitutions, but I cannot think of a suitable name for it. In my notes, I called it _⊑_ to give a hint about how it resembles _⊆_. An example of its use can be seen here: https://gist.github.com/pedrominicz/27c27aa491f981b6c2eebd64f5137348
I believe I have seen functions similar, if not equal, to _⊑_ defined somewhere in the literature, but I could not find it. Name suggestions are welcome.

I am sorry for the Merge pull request #1 from plfa/dev commit in this pull request. I am sure there is a way to update my fork/create pull requests. I will make sure to do better in the future.

Thanks for the suggestion! It is nice that this makes the statement so much shorter.  But it will take some work to make clear the relation between a renaming map and a substitution map. I don't have time to think it through in the next few weeks, but might return to it for winter break. Leaving this issue open for now.

@wadler Do you think you will return to this, or can I close this pull request?

authors: pedrominicz wadler wenkokke


text:
Project not working

I've done the pull, install dependencies and its not working.
Starting app-scripts server: --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser - Ctrl+C to cancel
[10:28:55]  watch started ...
[10:28:55]  build dev started ...
[10:28:55]  clean started ...
[10:28:55]  clean finished in 5 ms
[10:28:55]  copy started ...
[10:28:55]  transpile started ...
[10:28:59]  typescript: .../Dev/ionic2-firebase-chat/node_modules/angularfire2/app/firebase.app.module.d.ts, line: 5
Class 'FirebaseApp' incorrectly implements interface 'App'. Property 'firestore' is missing in type
'FirebaseApp'.
   L4:  export declare const FirebaseAppConfigToken: InjectionToken<FirebaseAppConfig>;
   L5:  export declare class FirebaseApp implements firebase.app.App {
   L6:      name: string;

[10:28:59]  typescript: .../Dev/ionic2-firebase-chat/node_modules/angularfire2/app/firebase.app.module.d.ts, line: 12
Namespace 'firebase' has no exported member 'Promise'.
  L11:      storage: () => firebase.storage.Storage;
  L12:      delete: () => firebase.Promise<any>;

[10:28:59]  typescript: ...2-firebase-chat/node_modules/angularfire2/database/firebase_list_observable.d.ts, line: 14
Namespace 'firebase' has no exported member 'Promise'.
  L13:  push(val: any): firebase.database.ThenableReference;
  L14:  update(item: FirebaseOperation, value: Object): firebase.Promise<void>;
  L15:  remove(item?: FirebaseOperation): firebase.Promise<void>;

[10:28:59]  typescript: ...2-firebase-chat/node_modules/angularfire2/database/firebase_list_observable.d.ts, line: 15
Namespace 'firebase' has no exported member 'Promise'.
  L14:  update(item: FirebaseOperation, value: Object): firebase.Promise<void>;
  L15:  remove(item?: FirebaseOperation): firebase.Promise<void>;
  L16:  _checkOperationCases(item: FirebaseOperation, cases: FirebaseOperationCases): firebase.Promise<void>;

[10:28:59]  typescript: ...2-firebase-chat/node_modules/angularfire2/database/firebase_list_observable.d.ts, line: 16
Namespace 'firebase' has no exported member 'Promise'.
  L15:      remove(item?: FirebaseOperation): firebase.Promise<void>;
  L16:      _checkOperationCases(item: FirebaseOperation, cases: FirebaseOperationCases): firebase.Promise<void>;

[10:28:59]  typescript: ...firebase-chat/node_modules/angularfire2/database/firebase_object_observable.d.ts, line: 11
Namespace 'firebase' has no exported member 'Promise'.
  L10:  lift<T, R>(operator: Operator<T, R>): Observable<R>;
  L11:  set(value: any): firebase.Promise<void>;
  L12:  update(value: Object): firebase.Promise<void>;

[10:28:59]  typescript: ...firebase-chat/node_modules/angularfire2/database/firebase_object_observable.d.ts, line: 12
Namespace 'firebase' has no exported member 'Promise'.
  L11:  set(value: any): firebase.Promise<void>;
  L12:  update(value: Object): firebase.Promise<void>;
  L13:  remove(): firebase.Promise<void>;

[10:28:59]  typescript: ...firebase-chat/node_modules/angularfire2/database/firebase_object_observable.d.ts, line: 13
Namespace 'firebase' has no exported member 'Promise'.
  L12:      update(value: Object): firebase.Promise<void>;
  L13:      remove(): firebase.Promise<void>;

[10:28:59]  typescript: ...cca/Documents/Dev/ionic2-firebase-chat/node_modules/angularfire2/interfaces.d.ts, line: 12
Namespace 'firebase' has no exported member 'Promise'.
  L11:  export interface FirebaseOperationCases {
  L12:      stringCase: () => firebase.Promise<void>;
  L13:      firebaseCase?: () => firebase.Promise<void>;

[10:28:59]  typescript: ...cca/Documents/Dev/ionic2-firebase-chat/node_modules/angularfire2/interfaces.d.ts, line: 13
Namespace 'firebase' has no exported member 'Promise'.
  L12:  stringCase: () => firebase.Promise<void>;
  L13:  firebaseCase?: () => firebase.Promise<void>;
  L14:  snapshotCase?: () => firebase.Promise<void>;

[10:28:59]  typescript: ...cca/Documents/Dev/ionic2-firebase-chat/node_modules/angularfire2/interfaces.d.ts, line: 14
Namespace 'firebase' has no exported member 'Promise'.
  L13:  firebaseCase?: () => firebase.Promise<void>;
  L14:  snapshotCase?: () => firebase.Promise<void>;
  L15:  unwrappedSnapshotCase?: () => firebase.Promise<void>;

[10:28:59]  typescript: ...cca/Documents/Dev/ionic2-firebase-chat/node_modules/angularfire2/interfaces.d.ts, line: 15
Namespace 'firebase' has no exported member 'Promise'.
  L14:      snapshotCase?: () => firebase.Promise<void>;
  L15:      unwrappedSnapshotCase?: () => firebase.Promise<void>;

[10:28:59]  typescript: C:/Users/bducca/Documents/Dev/ionic2-firebase-chat/src/providers/auth.service.ts, line: 23
Namespace 'firebase' has no exported member 'Promise'.
  L23:    createAuthUser(user: {email: string, password: string}): firebase.Promise<firebase.User> {
  L24:      return this.afAuth.auth.createUserWithEmailAndPassword(user.email, user.password)

[10:28:59]  typescript: C:/Users/bducca/Documents/Dev/ionic2-firebase-chat/src/providers/auth.service.ts, line: 28
Namespace 'firebase' has no exported member 'Promise'.
  L28:    signinWithEmail(user: {email: string, password: string}): firebase.Promise<boolean> {
  L29:      return this.afAuth.auth.signInWithEmailAndPassword(user.email, user.password)

[10:28:59]  typescript: C:/Users/bducca/Documents/Dev/ionic2-firebase-chat/src/providers/auth.service.ts, line: 35
Namespace 'firebase' has no exported member 'Promise'.
  L35:    logout(): firebase.Promise<any> {
  L36:      return this.afAuth.auth.signOut();

[10:28:59]  typescript: C:/Users/bducca/Documents/Dev/ionic2-firebase-chat/src/providers/chat.service.ts, line: 44
Namespace 'firebase' has no exported member 'Promise'.
  L44:    create(chat: Chat, userId1: string, userId2: string): firebase.Promise<void> {
  L45:      return this.db.object(`/chats/${userId1}/${userId2}`)

[10:28:59]  typescript: C:/Users/bducca/Documents/Dev/ionic2-firebase-chat/src/providers/chat.service.ts, line: 55
Namespace 'firebase' has no exported member 'Promise'.
  L55:  FirebaseObjectObservable<Chat>, chatPhoto: string, recipientUserPhoto: string): firebase.Promise<boolean> {
  L56:      if (chatPhoto != recipientUserPhoto) {

[10:28:59]  typescript: ...Users/bducca/Documents/Dev/ionic2-firebase-chat/src/providers/message.service.ts, line: 22
Namespace 'firebase' has no exported member 'Promise'.
  L22:    create(message: Message, listMessages: FirebaseListObservable<Message[]>): firebase.Promise<void> {
  L23:      return listMessages.push(message)

[10:28:59]  typescript: ...Users/bducca/Documents/Dev/ionic2-firebase-chat/src/providers/message.service.ts, line: 24
Property 'catch' does not exist on type 'ThenableReference'.
  L23:    return listMessages.push(message)
  L24:      .catch(this.handlePromiseError);

[10:28:59]  typescript: C:/Users/bducca/Documents/Dev/ionic2-firebase-chat/src/providers/user.service.ts, line: 55
Namespace 'firebase' has no exported member 'Promise'.
  L55:    create(user: User, uuid: string): firebase.Promise<void> {
  L56:      return this.db.object(`/users/${uuid}`)

[10:28:59]  typescript: C:/Users/bducca/Documents/Dev/ionic2-firebase-chat/src/providers/user.service.ts, line: 61
Namespace 'firebase' has no exported member 'Promise'.
  L61:    edit(user: {name: string, username: string, photo: string}): firebase.Promise<void> {
  L62:      return this.currentUser

Você tem que instalar o firebase !
$ npm init
$ npm install --save firebase

authors: DevJoseWeb brianducca


text:
prompt store 希望可以添加点击直接添加到聊天窗口重

提一个建议
prompt store 点击的时候 可以创建一个新的聊天 自动添加到聊天窗口

添加 prompt 之后，在聊天窗口使用 / 命令可以直接选择哈。

repo: pljhonglu/ChatGPT-T


text:
QuickCheck properties

This pull request adds QuickCheck properties, ported from the FsCheck properties in MaîtreDTests.
To automate the execution of these properties (with stack test or similar), a Test-Suite section may be added in the .cabal file, on a separate pull request.

Until we automate the execution of these properties, we can test them manually with stack ghci, like so:
$ stack ghci
BookingApi-0.1.0.0: initial-build-steps (lib)
Configuring GHCi with the following packages: BookingApi
GHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help
[1 of 4] Compiling MaîtreD          ( MaîtreD.hs, interpreted )
[2 of 4] Compiling DB               ( DB.hs, interpreted )
[3 of 4] Compiling Composition      ( Composition.hs, interpreted )
[4 of 4] Compiling MaîtreDTests     ( MaîtreDTests.hs, interpreted )
Ok, modules loaded: MaîtreDTests, MaîtreD, DB, Composition.

*MaîtreDTests Composition DB MaîtreD MaîtreDTests> :set prompt "λ "

λ quickCheck tryAcceptBehavesCorrectlyWhenItCanAccept
+++ OK, passed 100 tests.

λ quickCheck tryAcceptBehavesCorrectlyWhenItCanNotAccept
+++ OK, passed 100 tests.

Note that it can be possible that stack ghci will not be able to load the modules on Windows because of the MaîtreDXyz filenames:
$ stack ghci
Configuring GHCi with the following packages: BookingApi
GHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help
target `Ma├«treD' is not a module name or a source file
syntax:  :module [+/-] [*]M1 ... [*]Mn
Prelude>

If so, here's a way to workaround this:
$ stack exec ghci
WARNING: GHCi invoked via 'ghci.exe' in *nix-like shells (cygwin-bash, in particular)
         doesn't handle Ctrl-C well; use the 'ghcii.sh' shell wrapper instead
GHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help

Prelude> :set prompt "λ "

λ :l MaîtreDTests.hs
[1 of 2] Compiling MaîtreD          ( MaîtreD.hs, interpreted )
[2 of 2] Compiling MaîtreDTests     ( MaîtreDTests.hs, interpreted )
Ok, modules loaded: MaîtreD, MaîtreDTests.

λ quickCheck tryAcceptBehavesCorrectlyWhenItCanAccept
+++ OK, passed 100 tests.

λ quickCheck tryAcceptBehavesCorrectlyWhenItCanNotAccept
+++ OK, passed 100 tests.

Done adding commits.

Thank you 👍

Aren't defaultTimeLocale, iso8601DateFormat, and parseTimeOrError now redundant?

By the way, did you spot this just by looking at the diff-output, or via ghc-mod or similar tool? It looks like ghc-mod (5.6.0.0) on my local didn't catch this, but hsdev (0.2.1.0) did...

did you spot this just by looking at [...]

No, I used my brain 😛

Yeah 😆, but I would also expect ghc-mod to catch this, and it didn't 😕. But anyhow 😃

Aren't defaultTimeLocale, iso8601DateFormat, and parseTimeOrError now redundant?

By the way, did you spot this just by looking at the diff-output, or via ghc-mod or similar tool? It looks like >ghc-mod (5.6.0.0) on my local didn't catch this, but hsdev (0.2.1.0) did...

Not that important at this point, but here's the trick to enable warnings inside ghc-mod (e.g. in Atom editor). The full list of available flags is shown here (GHC 7.10.3) and here (GHC 8.0.1).

FWIW, I'm planning to open a pull request which replaces QuickCheck with Hedgehog once Hedgehog v0.2 is released (both Haskell and F# versions are currently v0.1).
In Haksell, v0.2 (among other stuff) will make it easier to run properties without using Template Haskell (so we may keep the customer runner in #6).
In F#, v0.2 will make its Gen combinators look similar to the ones used in Haskell, which means they will take a Range type to provide fine-grained control over the scope and shrinking of generated values.

Here is one way to convert the existing QuickCheck 2.9 properties into Hedgehog 0.2. (F# equivalent here.)
The Haskell ones run fine on macOS 10.12.4 and Ubuntu 16.04.2 LTS. There's a known issue on Windows 10 which prevents them from running...

FYI, I've just pushed https://github.com/moodmosaic/dependency-rejection-samples/commit/b79d67e2b3641093a3396fcac34359e0b86d42fe in order to be able to run these Haskell Hedgehog converted properties on Windows.
This is still on Haskell Hedgehog 0.2, though I may update it to the current version (0.5) eventually.

This is still on Haskell Hedgehog 0.2, though I may update it to the current version (0.5) eventually.

Done in https://github.com/ploeh/dependency-rejection-samples/commit/f54867e711921eae7047e03a92c6997d67963ad0.

authors: moodmosaic ploeh

repo: ploeh/dependency-rejection-samples


text:
Get content for subrequests overrides breadcrumbs, navigation and types

If we have apiExpanders for breadcrumbs, navigaton or types and we make a subrequest getContent this will override the states of breadcrumbs, navigation and types

Already fixed.

repo: plone/volto