Unable to launch standalone as provider

I am building a standalone application that will be an external provider launch.  I am able to launch the application using the following launch scope:
online_access openid profile offline_access launch/patient user/*.* patient/*.*
I am routed to the EPIC login, but it appears that the only users you have provisioned are patients.
I would expect that I could launch the EHR as a provider, get an authentication token and then be able to produce a list of patients that I am authorized to see Patient/*
It appears that you provide the following user id and password to test patient launch:
Username: fhirjason
Password: epicepic1
Is there an equivalent for an external provider launch?  Please advise?

Hi @michaelgriffithus sorry for not getting back to you sooner.
It sounds like you're trying to test against the Epic sandbox based on the documentation provided in the wiki.  We do not control that sandbox and do not provision the data or users on it.
If you take a look on the open.epic.com documentation (Step 2 specifically) for the server it does look like there is another user fhirjessica that you could try, but it looks like that user is still a patient.
There are a few other patient contexts listed on the epic launchpad, but I think you might have to reach out to Epics support to get what you need.
We'd love to hear back if you make any headway on this!  Let me know if you have any other issues or if we can provide further clarification.


Issue #1: Update README.md to include project details

-> Added the required headings
-> Added list of mods
-> Added the members list
-> Added Project Tech Stack

Please add a brief discription of the project, like what is our aim, what this project aims to do. Some key points to include

This project is frontend part of the STONKS application.
Stonks is app that will have capability to predict stock movement based of LR model.
Users are able to see current stock parameters.
In future crypto may also be supported.

@DreadArceus @OmGuptaIND Please suggest points if I forgot to mention mention something.
Take full benefit of TCE classes, lets see how many classes you have attended.

Also, all the conversation would happen here, no more conversation in issue.

Ab main part. Tujhe sare commits to squash karke ek mai karna hai. Google karle kaise karta hai, agar nahi mila to ping kar dio.


Reduce APIView startup time

APIView startup runs background tasks continuously for a longer time to update service name and package name and this causes sometimes startup task to time out. This PR is to add a delay between each review details sync so startup task will not have to wait until it's completed.

How does this help timeouts? Won't it still timeout.
It feels like these might need to be done on a separate thread or process if they are causing startup issues.


Clarify version support policy

Right now, versions supported here are opaque, and usually coincide with the first time something was touched. This isn't good long term as the burden of pinning old libraries is too high.
For example, https://github.com/tetratelabs/getenvoy/pull/168 only brings us up to Istio 1.6 due to lack of understanding of the policy. We could also argue that the feature may not even be worth the struggle as it took hours just to get this much working, and libraries change dramatically again from 1.6 to 1.7, meanwhile this thrash steals a lot of attention from Envoy itself.
To help the project last long term, we should make a policy about Envoy and Istio versions supported. While Istio may pin us to older Envoy, I suspect we shouldn't support versions of Istio that the project themselves no longer support.
What would make sense here? I would like to put it on the README and change the project accordingly.

I think istio 1.7 will end up a minimum as we can't afford the maintenance churn on 1.6.
Particularly, the --bootstrap istio option to getenvoy run is the only thing that requires istio, and it is days of effort and still not working right. This is marked experimental, so I think it should be valid to update this whenever we like (or remove it)
@lizan Can we remove --bootstrap istio or set its minimum version to something at least 1.7? Note: this may also pin us to a floor envoy version, though I suspect you will know more than me.

Yes. Istio 1.6 is already EOL so we can remove support of that.

#174 moves to Envoy 1.15 and Istio 1.7, but it seems like Istio 1.7 is also EOL! https://istio.io/latest/about/supported-releases
Should we move one more?

following the rabbit down the hole, if we went to istio 1.18, this would mean envoy 1.16.. https://github.com/istio/envoy/commit/5b0c5f7b21f84b6ab86e5f416bdaf6bb0fbc2a32

spiked this https://github.com/tetratelabs/getenvoy/pull/177
If we're ok with it, we can say our policy is to support what isn't EOL, with an exception that if there's a conflict between istio and envoy's floor version, we take the lower floor. SG?

sounds good to me

murphy's law.. 1.16 doesn't work. so we can try the floor of both when that means envoy 1.17 :P https://github.com/tetratelabs/getenvoy/pull/177

the istio integration has proven too expensive to maintain. It is wholly reliant on my evenings and weekends and displaces time for features people use. I raised https://github.com/tetratelabs/getenvoy/pull/178 to remove it once and for all.


Shared Stops Support

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[x] Any modified or new methods or classes have helpful JSDoc and code is thoroughly commented
[x] The description lists all applicable issues this PR seeks to resolve
[x] The description lists any configuration setting(s) that differ from the default settings
[x] All tests and CI builds passing

Description
This PR adds support for editing a project's shared stops config.

Thanks @philip-cline , changes are addressed


easing - is there a list of buildin functions?

I would like to know what easing functions are build in - and what they do -
is there some comparsion at som point available or a simple text list of possible values for build in functions?
from the examples i found

easeInElastic
easeInBounce
swing
and the part that says how to add own functions

additionally in the source of easing.js there seems to be a bunch of additional variants -

linear
swing
Sine
Circ
Elastic
Back
Bounce
and
Quad
Cubic
Quart
Quint
Expo
for this some of the names makes some sense to me - but i don't know the math behind these things..
after this there seems to be some 'combined' ones but i don't understand how this works or what they do... :-?
easeIn + name
easeOut + name
easeInOut + name

can you give some hints on this please :-)

ok digged some deeper and found
http://upshots.org/actionscript/jsas-understanding-easing
the first paragraph is a good overview  - i think i have some ideas now..

Hi,
this link explains things visually. The "easeIn", "easeOut" and "easeInOut" prefixes indicate if the "effect" happens at the beginning of the animation, at the end, or both respectively.
I merely used existing implementations so I'm not going to pretend I can explain the math behind the more complex functions (e.g. Elastic), but as far as Expo, Sine, Cubic, ... go, they are the same functions you would find on your scientific calculator.
Hope this helps !

Hi Eartz,
thanks for your reply,
great link/explanation. i think i have understand it now :-)
eventually a list + the link in the documentation / Guide page would be a good help for new users :-)
sunny greetings stefan

I'd love to improve the doc / readme and it will be done eventually but if you have ideas such as this one, just do a pull request and I'll happily integrate your changes 👍
cheers


Fix 'no matching function for call' error

Oh, I wanted to send only one commit 'Fix 'no matching function for call' error'.
And 'Add pretty printing' is just for me, I didn't want to add it to this pull request.
I will close this pull request and will open the new one.


Improve null-safety and (arguably) readability by using Kotlin features

Mostly self explanatory.
4ade808 needs particular attention: it makes the list of partitions immutable. This is an API change because it was previously ArrayList<Partition>, and now it's List<Partition>
I'd also point out that with 7963640 you also get for free an extension method to UsbDevice to get UsbMassStorageDevices for that particular device.
Everything else does not break anything, if it does it's by mistake ;)

Awesome PR, thanks a lot!
The extension method in particular is really cool!

Note that from what I've seen, IDEA is not smart enough to suggest to import it automatically, you need to add the import line yourself, i.e.
import com.github.mjdev.libaums.UsbMassStorageDevice.Companion.getMassStorageDevices

Maybe it should be split to a separate file


Thingspeak write error

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.38.0.dev0
Python release (python3 --version):
Python 3.5.2
Component/platform:
thingspeak
Description of problem:
Unable to upload data to ThingSpeak.

https://community.home-assistant.io/t/thingspeak-write-error/8956
https://community.home-assistant.io/t/thinkspeak/10852

Expected:
Upload the values.
Problem-relevant configuration.yaml entries and steps to reproduce:
thingspeak:
  api_key: !secret thinkspeak_api
  id: 219860
  whitelist: sensor.yr_temperature

Traceback (if applicable):
Traceback (most recent call last):
  File "/usr/lib64/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/fab/Documents/repos/home-assistant/homeassistant/components/thingspeak.py", line 76, in thingspeak_listener
    channel.update({'field1': _state})
  File "/home/fab/Documents/repos/home-assistant/lib64/python3.5/site-packages/thingspeak/thingspeak.py", line 123, in update
    return self._fmt(r)
  File "/home/fab/Documents/repos/home-assistant/lib64/python3.5/site-packages/thingspeak/thingspeak.py", line 126, in _fmt
    r.raise_for_status()
  File "/home/fab/Documents/repos/home-assistant/lib64/python3.5/site-packages/requests/models.py", line 893, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.thingspeak.com/update.json?field1=3.9

Additional info:
17-01-31 08:24:44 ERROR (Thread-6) [homeassistant.components.thingspeak] Error while sending value '3.9' to Thingspeak

It looks like the api_key is not assigned. The error is then correct. I'm working to incorporate it into testing and documentation. The error message might be misleading but I haven't worked on custom reporting yet.

I've done some more testing. It is also possible the api_key is a read only one, not the write one.

The solution for now is simple: Using write_key instead of api_key. For update the api_key will not be attached to the request only write_key is.


[Feature request]: Support issue

This is a request to respond not only to Pull requests but also to Issues.

For ISSUE_TEMPLATE:
  - type: checkboxes
    attributes:
      label: TITLE
      options:
        - label: <!-- Choice --> NEEDED CHOICE MESSAGE
          required: true

For Issues, I'd also like additional options to choose what message to send and whether to automatically close it.
      - name: Check tasklist
        uses: Awayume/github-pr-tasklist-checker@v2
        with:
          issue-close: true
          close-type: not-planned # Close type can only be selected for issues.
          issue-message: |
            The required item is not selected.
            Please check the requirements again before submitting.

If you're planning to integrate these into the same repository, I think it's better to use a prefix like this to separate them from Pull requests.

Tasks

[ ] Partial deactivation
[ ] Task Check for Issues
[ ] Auto close for invalid Issues


[Bug]: Focus is put on wrong component in Modules page

Prerequisites

[X] I have searched the backlog for duplicate or closed feature requests

Your test device
iPhone 14 Plus
OS Version
17.1.1
App version
v0.18.0
Describe the issue
When displaying "Modules" page, Voice Over initially reads and focuses "List" card instead of first card (Recirculation).
Expected Behavior
Vocalize the title "Modules" and put focus on first element of the list

Fixed


Enable Auto import Rector config

Q
A

QA?
✔

[x] Enable auto import with Rector
[x] Sort use statement via php-cs-fixer.

Ready to merge 👍

that's not supported right now, as auto import is really complex process, we check it whether it is conflicted as used by alias as well.

Let's close for now then ;)


Refactor to remove portions of code that are not used by Chocolatey

Description Of Changes
Remove code that is not being used in Chocolatey components
Motivation and Context
A line of code removed is a line of code debugged. As well as the need to ensure that we're testing the code as much as possible. Chocolatey can't test the code for sections we don't use.
Testing
This is how I have tested it... This is based upon my development layout where all git repositories are cloned into C:/code_local The below scripts don't care about that part, but they do care that every repository is within a single folder.
Clone all of the repositories:
This PowerShell script will do a shallow clone of every repository required save for the Rhino.Licensing repository (you must be authenticated to GitLab through https):
@(
'https://github.com/chocolatey/choco'
'https://gitlab.com/chocolatey/collaborators/choco-licensed'
'https://gitlab.com/chocolatey/licensing-administration/licensing-services'
'https://gitlab.com/chocolatey/licensing-administration/chocolatey-pro-server-simple'
'https://gitlab.com/chocolatey/central-management/choco-licensed-management-ui'
'https://gitlab.com/chocolatey/collaborators/choco-licensed-services'
'https://github.com/chocolatey/ChocolateyGUI'
'https://gitlab.com/chocolatey/collaborators/chocolateygui-licensed'
) | % { git clone $_ --depth=1 }

Clean Repositories
If you already have all of the repositories cloned down, as long as you're in the master/develop branch you can use this script to clean them all:
BEWARE: This script will delete any files not tracked by the repository, as well as all modified files tracked by the repository.
$repos = @(
    'choco'
    'choco-licensed'
    'license-generator'
    'licensing-services'
    'chocolatey-pro-server-simple'
    'choco-licensed-management-ui'
    'choco-licensed-services'
    'ChocolateyGUI'
    'chocolateygui-licensed'
)
foreach ( $repo in $repos ) {
    push-location ./$repo
    git clean -xdf
    git restore .
    Pop-Location
}

Build all of the things
In an administrative PowerShell terminal, run the script ./BuildAll.ps1. This will take upwards of an hour, and will build all components that depend on Rhino.Licensing providing their Chocolatey packages in C:\CodeDrops
Testing all the things
Now comes the actual testing of the things. The testing that I have undertaken up to this point is to build all the things mentioned above. I have also copied all of the packages from C:\CodeDrops to a Test Kitchen environment where I have ran the CCM Test kitchen against it with all of the tests.
I have also run choco install chocolateygui chocolateygui-licensed on that environment and ensured that GUI launches as expected.
Change Types Made

[ ] Bug fix (non-breaking change)
[x] Feature / Enhancement (non-breaking change)
[x] Breaking change (fix or feature that could cause existing functionality to change)
[ ] PowerShell code changes.

Related Issue
Fixes #18
Change Checklist

[ ] Requires a change to the documentation
[ ] Documentation has been updated
[x] Tests to cover my changes, have been added
[x] All new and existing tests passed.
[ ] PowerShell v2 compatibility checked.

I thought this was ready, but I did a spot check of the license files, and all of the expired ones were created with SHA1 (even though they claim to be not SHA1 :joy: ). I'll add in the code used to create the files and add some notes to add them to the project in the next few days.

@gep13 this should be ready for review now. The only issue I've encountered is that I can't launch GUI with my custom build of Chocolatey.lib.

@corbob thanks for getting all this pulled together! This will hopefully make the maintenance of this much easier going forward!


Bug: URL scraper not getting specific item metadata from Amazon

Describe the bug
When adding a new item sold on Amazon.com to a wish list from my PC, the scraper is not getting the correct item name, price or image.  This does not seem to be an issue with other online shopping urls.  I also did not get this bug while adding the same item from my phone.
To Reproduce
Steps to reproduce the behavior:

While on computer, go to 'My Wishes' in the UI
Click on the 'round plus' icon in the bottom right
In the popup interface, paste an amazon in the top field, 'Item URL'
I used this
Click out of or tab out of the field
See that the 'Item Name', 'Price' and 'Image URL' populate incorrectly (image is a Captcha image)

Expected behavior
As it does with other online stores, expecting the fields to populate correctly
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser Firefox
Version 121.01

Smartphone (please complete the following information):

Device: Google Pixel 8 Pro
OS: Android 14
Browser Firefox 121.01

Additional context
As mentioned in the description, I do not experience this bug on my phone.  I tried copying the link from the Amazon app and pasting it in and it worked.  Because that appeared to have been run through a url shortner, I also browsed to the same product and copied the url from the browser, then attempted to add it to wishlist; it worked as expected.

Yeah unfortunately, Amazon doesn't like web scraping all that much, so sometimes if they can detect it, they will present a captcha, in which case, we can't do anything. I already have a retry in place that if we are presented with a captcha, we will retry and that fixes it sometimes, but in other cases it doesn't.
I don't know that there is an easy workaround without making the scraper more complex, which I want to avoid. I will make it so that if we can't get by the captcha, the user will be presented with a message and no data will be filled into the form

That is a great work-around.  It is not surprising that Amazon would limit that functionality.  I was thinking about sharing this with the rest of the family and I think that could be a blocker for some of my less tech savvy family members.  Thanks again for sharing and the great work!

I just circled back around to this and it works as described.  Thanks!


IoGT 169: Next and Recommended articles

@projectmushroom please review
Update next article and recommended articles grid layout


Customize exported header

Hello,
I actually use custom components to define custom header.
I just need to customize exported header column name, like it's possible to do it with column content.

Hi @Beef-Tech sorry it took so long for me to look at this and merge it, really appreciate it!


Docker build fails while creating custom agent for Aries

Describe the bug
We have deployed the BAF framework and wanted to deploy Indentity-App by referring the documentation https://github.com/hyperledger-labs/blockchain-automation-framework/tree/master/examples/identity-app
We were unable to create Custom Aries Image
To Reproduce
Steps to reproduce the behavior:

Go to Link https://github.com/hyperledger-labs/blockchain-automation-framework/tree/master/examples/identity-app

Click on Step 2 Documentation Link
We are able to create base Image but when we trigger

Refer Docker Build step in  'Build a custom image'

See error
`[00:26] Sengupta, Shubhadeep
I get following error when I run from path

/project/blockchain-automation-framework/examples/identity-app/images/agents
docker build -t aries-agents .
We could see below error
❯ docker build -t aries-agents .
Sending build context to Docker daemon  44.54MB
Step 1/4 : FROM hyperledgerlabs/faber-alice-demo:1.11.0
pull access denied for hyperledgerlabs/faber-alice-demo, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
`
Expected behavior
Custom Docker Image should be build  without any error.
Workaround/Fix
I have updated the fix by replacing the  base docker which was FROM hyperledgerlabs/faber-alice-demo:1.11.0. to my own custom created Image which was part of Build a base image. step and I was able to create Custom Image
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: [e.g. MacOS]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

The error you getting is related to configuring your docker hub account credentials in your execution env.

I have logged in using my own Docker Hub Credentials , attaching screenshot & my own image which worked  ( which is pulled from) https://hub.docker.com/repository/docker/shubhadeep14/faber-alice-demo. or my local repo

This issue is already catered in the develop branch


Context menu does not appear.

I have installed the app and it also runs in the Docker container.
However, the context menu does not appear for the files.

Hello. It should only appear for files with "image/png" and "image/jpeg" mime types

I will take a look at it a little bit later, and return to you with answer. Thanks you for pointing it.

should be fixed in 1.3.0 version.


Add Show Synapses and History to the network

Is your feature request related to a problem? Please describe.
Make show-synapses and Show History save and restore to the network file. This is already logged as needed in the clipboard too.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
If you select history and show-synapses neurons, this should be saved and restored both from the clipboard and from an XML file
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Remember that such a change in XML will require resilience of the program when it comes to loading files that don't yet have these features. Maybe make sure to have an XML BrainSimII version tag in the file to recognize similar changes in the future.


Does/will the GCE ingress controller support whitelist-source-range?

Can anyone comment on when we will be able to use the 'whitelist-source-range' annotation with the GCE Ingress Controller? From Googling plus experimentation the answer is not "it works right now" but perhaps we've made a mistake? If not, is this something which might happen in future? Thanks!

The L7 Google Cloud Load Balancer does not currently have firewall rules for source IPs. I'll keep this open in case the load balancer supports it in the future.

This would be extremely useful to have. @nicksardo is there an open issue somewhere for the L7 LB to support source IP firewall rules where we can track the status of it?

https://issuetracker.google.com/issues/35904903

This issue was moved to kubernetes/ingress-gce#38


Create a test helper to retrieve the latest version of a given dependency

          Create a test helper to retrieve the latest version of a given dependency

Originally posted by @fabapp2 in https://github.com/spring-projects-experimental/spring-boot-migrator/issues/730#issuecomment-1445044201

Can you pick this @sanagaraj-pivotal

Taking this

We decided to manually bump versions for now when required and ignore problematic tests for UpgradeDependencyVersion which is tested by OpenRewrite.


Ignore links in the frontmatter section

Could you add an option to ignore links in the frontmatter section (it's also called "properties").
It's the section at the top of a document. Example:
---
title: Some title
author: John smith
---

So anything inside that delimiter of dashes is ignored.
Thank you.

I'm sorry taking so long to reply.
In "Convert wikilinks to markdown links" command.
Thank you.

Plz check v.1.13.2 (see Skip Frontmatter)


disable mitigations against CPU vulnerabilities to enhance performance

as a pure gaming device performance should be the highest priority.
Can we set mitigations=off as a kernal parameter?

We discussed this in Discord and the consensus seemed to be this could lead to potential problems.
What we could do though is allow some configuration of the kernel parameters, as currently the kernel parameters are overwritten on each update.


The ssd size is rising rapidly when using findToWrite(key, true) function so that the data is evicted unexpectedly.

We need to frequently update the value of the key so that we use findToWrite function to invalidate nvm, but the ssd size is rising rapidly. Even though we set the max nvm size of 100G, the ssd is full easily and data is evicted unexpectedly. we use the default nvm config, Is there anything wrong?

Hi. Could you clarify what you meant by "the ssd size is rising rapidly"?
If you meant the NVM cache size, NVM cache size is fixed at the initialization and could not be changed. Also, if the NVM cache is full, no matter how much the space contains the live data, the NVM cache needs to perform the reclaims during which some items could be evicted or reinserted (depending on user provided policy).

Hi @random618: If you are going to frequently update the keys, we don't recommend using findToWrite API for nvm-cache use case as it will be a blocking API.
You can try the following workaround as the comment suggested:
auto readHandle = cache->find("my key");
if (!readHandle.isReady()) {
auto sf = std::move(readHandle)
   .toSemiFuture()
   .defer([] (auto readHandle)) {
   return std::move(readHandle).toWriteHandle();
  }
}

However, as what @jaesoo-fb said, this should only affect the lookup speed instead of increasing the ssd size. Hope to understand more on this part as well.

Hi. Could you clarify what you meant by "the ssd size is rising rapidly"?
If you meant the NVM cache size, NVM cache size is fixed at the initialization and could not be changed. Also, if the NVM cache is full, no matter how much the space contains the live data, the NVM cache needs to perform the reclaims during which some items could be evicted or reinserted (depending on user provided policy).

Sorry, I mean the nvm cache size. Concretely, I initialize nvm cache size as follows:
navyConfig.setSimpleFile("/data/mycache", 100 * 1024 * 1024 * 1024LL, false);
In our scenario, we use RangeMap structure. So when inserting data into RangeMap, we use the following code:
auto handle = cache->findToWrite(key, true);   if (handle) {     RangeMap map = RangeMap::fromItemHandle(*cache, std::move(handle));     map.insertOrReplace(mapKey, mapValue);   }
After running for a period of time, the size of the file '/data/mycache' increased quickly from 0 to 100G and some data is unexpectedly lost in one day. Before, we only use 16G memory without nvm cache but data can exist at least one day.
We want to use nvm cache to reduce cost, but it seems that we need more nvm cache size than memory so that data will not be easily lost in one day.

We want to use nvm cache to reduce cost, but it seems that we need more nvm cache size than memory so that data will not be easily lost in one day.

Actually, as you know, cachelib is a cache, but not a persistent storage. An item can be evicted at any time. There are several hooks like the admission policy, reinsertion policy, and destuctor callback; see Configure_HybridCache
However, please note that this usecase might not be well supported since this is apart from cachelib's design philosophy and intended use.


click event not fire with very very small movement

hi ionic team
some time click event not fire if there is very very small movement , this behavior is not in native apps

Hello! Thanks for opening an issue with us, but we need a little more info regarding your issue so that we can better help you with it. Would you be able to provide some steps we can follow to reproduce your issue? Also, if you could provide a code sample, plunkr or codepen that we can use to reproduce your issue that would be great! And finally if you could run ionic info and post the output here that would be awesome. Thanks again!

Hello! Thanks for opening an issue with us! Since it has been a little while since there was any activity on this issue i will be closing it, but feel free to reopen this issue if needed!


Fix null-valued headers

Found a bug with null-valued headers introduced in https://github.com/wiremock/wiremock/pull/1791.

Holding for now. I need to double check this. The behavior of getHeader/header returning null/"" is fairly nuanced.


GKE installation guide

new installation guide for deploying ondat onto a GKE cluster
removed the "Google GKE" page from the "Platform" section in favour of the "Install" section.

LGTM!

Wrote to Richa to set up redirection for https://docs.ondat.io/docs/platforms/google-gke/


Object reference not set to an instance of an object - @UI.Head()

Hi,
I have added newest Piranha to existing mvc 5 application.
Layout.cshtml was overwritten by instalation and when my webapp is loading I am experiencing this error:
[NullReferenceException: Object reference not set to an instance of an object.]
   Piranha.Web.UIHelper.Head() in c:\Proj\GitHub\Piranha-2.2\Piranha\Web\UIHelper.cs:118
   Piranha.Mvc.UI.Head() in c:\Proj\GitHub\Piranha-2.2\Piranha.Mvc\UI.cs:21
   ASP._Page_Views_Shared__Layout_cshtml.Execute() in d:\IT\PROJECTS\gitrepo\majakweb\aspnet\Majak.Web.Site\Views\Shared\_Layout.cshtml:8
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +271
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +122
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +145
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer) +41

My RouteConfig.cs has these routes:
routes.MapRoute(
  name: "ProfileView",
  url: "profile/{username}",
  defaults: new { controller = "Profile", action = "Index", username = UrlParameter.Optional });

routes.MapRoute(
  name: "Default",
  url: "{controller}/{action}/{id}",
  defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional },
  namespaces: new[] { "Majak.Web.Site.Controllers"  }).DataTokens["UseNamespaceFallback"] = false;

routes.LowercaseUrls = true;
routes.AppendTrailingSlash = false;

My Views/Shared/Layout.cshtml looks like:
<!DOCTYPE html>

<EMAIL_ADDRESS>        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

        @UI.Head()

        <link type="text/css" rel="stylesheet" href="~/content/css/style.css" />

        @RenderSection("head", required: false)

                <a class="site-title"<EMAIL_ADDRESS>                <p<EMAIL_ADDRESS>                <navigation role="main-navigation">
                    @UI.Menu(StopLevel: 1)
                </navigation>

            @RenderBody()

    @RenderSection("script", required: false)

Can somebody help me please?
Many thanks,
.miro

Hi there! If you check out the docs for creating a new installation at:
http://piranhacms.org/docs/introduction/getting-started
you can see that the preferred approach for adding Piranha CMS to an existing application is to use the PiranhaCMS.Mvc package and not the full template package PiranhaCMSMvc which includes views, assets & controllers.
The Layout-file you got from the nuget package assumes that the current page has been loaded from the CMS, and the @UI.Head method tries to retrieve the current page/post being executed. If you run a custom route from your existing application these values aren't set which is probably causing the exception.
If you want controllers that are completely separated from Piranha CMS, try remove all references to @UI from the Layout-page and add sections for Head & Menu and so on. You can then in you CMS-views add calls to @UI.Menu & @UI.Head in these sections and use the same Layout as the rest of your application.

Hi mate,
I really appreciate your quick reply!
Current status is that webpage (http://localhost:52345) was loaded fine as usual, but I am not promted to install cms or access manager view.
Do I need access some specific url please?

I have more investigated and when I have tried to add PiranhaCmsMvc to new asp.net web site I was promted with manager/welcome/install route.
This route is not working for my existing webapplication. I have existing HomeController and maybe therefore http://localhost:52345 url is routed to HomeController. Can this be problem?
Next In what controller it should be routed after installing Piranha to  show /manager/welcome/install page please?

And is it possible to add Piranha to Visual Studio as project and add it as reference to my existing mvc app to be able to debug it please?

First issue sorted out successfully :)  I have added Piranha and Piranha.Mvc as projects to Visual studio.

Then I have added them as reference to my existing project.

1.Issue
Locally I am redirected to /manager page but this error occurs:

2.Issue
Then I have deployed my app to test domain and no redirection to Piranha install page occurs.
When I have manually entered /manager/welcome/install it is luckily working. I have created database:

But then this error has occured:
http://test.spolocenstvomajak.sk/manager/page
`Introducing FOREIGN KEY constraint 'FK_dbo.category_dbo.sysuser_category_updated_by' on table 'category' may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints.
Could not create constraint. See previous errors.
Piranha.DataContext..ctor() in c:\Users\IEUser\Documents\Piranha\Piranha\DataContext.cs:59
Piranha.WebPages.WebPiranha.RegisterDefaultHostNames() in c:\Users\IEUser\Documents\Piranha\Piranha\WebPages\WebPiranha.cs:191
`
3.issue
And maybe because of Piranha loaded as referenced project some resources are missing at login page:

--
I have migration folder with many db migrations and so on. So I am still trying to add Piranha to my existing app and not to create new mvc project.
Any help would be great!
Many thanks

And latest I am experiencing this kind of issue instead of Introducing FOREIGN KEY constraint 'FK_dbo.category_dbo.sysuser_category_updated_by' :

Is it possible to use this https://github.com/tidyui/Blank and copy there all my controllers/migrations/ etc. please? Will it work?

Yes, download the Blank repo and compare what differs. I created it just for these kind of problems!
Regards

And the database errors are because the DbContext are accidentelly trying to create the database (which it shouldn't). The database should be created by the installation process which you don't seem to get!

Yes, I think the same. I have used Blank project and I was promted by install window. I have entered details and was successfully redirected to /manager/page but again this error has occured:
Introducing FOREIGN KEY constraint 'FK_dbo.category_dbo.sysuser_category_updated_by' on table 'category' may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints.
Could not create constraint. See previous errors.
I am just wondering why there is problem to create foreign key on category table.

Did you really change the connection string in the web.config and renamed it piranha? The error you're getting is because Entity Framework is trying to create the database instead of the embedded create-scripts. If you look at the create-script that is suppose to execute you can see that category has no cascade delete for the sysuser foreign key (as opposed to what your error message says).
https://github.com/PiranhaCMS/Piranha/blob/2.2.4/Piranha/Data/Scripts/Create.sql#L189
If you check your database, have the tables really been created? Also, what database are you using?

Yes, I have created this connection String:
<add name="piranha" connectionString="data source=localhost;initial catalog=majaksk_piranhadb;user id=majaksk_test;password=k1a2j3a4m5;multipleactiveresultsets=true;" providerName="System.Data.SqlClient" />

I am using arvixe hosting and SQL Server 2012 db.
After install window I was redirected to login page. So database was created as it is here:

If you want you can use login mistvan, pass asdfasdf at http://test2.spolocenstvomajak.sk/manager.
For `/manager/page there is now
[NullReferenceException: Object reference not set to an instance of an object.]
  Piranha.Areas.Manager.Controllers.PageController.Index(String id) +33`

For /manager/post still foreign key error.

Well that explains it. The current Entity Framework assumes that the tables are in the dbo-schema which it doesn't seem to be in your case. Take a look at this pull request:
https://github.com/PiranhaCMS/Piranha/pull/275
Even though @rattrick1 didn't come back with a pull request, maybe you can ask him for advice on the matter.
Best regards!
Håkan

Great, mentioned pull request helped me. Finally it is working for me:
http://test2.spolocenstvomajak.sk/
I really appreciate your help Hakan! This looks like really great project ;) Thanks!

Hi @mistvan, how did you get it to work under other schema, i have been trying but without success, i first create database accessing to manager/install and then move all tables from dbo to new schema also setting entitySchema value to my schema but i still getting same errors that you mentioned erlier.
Thanks in advance.

Hi @arbh89, this was long time ago. I no longer use piranhacms. Hard to find sources for what I mentioned, I am sorry.

I solved this way, first i create a schema called CMS then i moved all tables from dbo to CMS schema, the next step was to create a sql user and give default schema CMS, the connection string is using the new created user and also added  and is working like a charm.
I am letting this comment just for documentation in case somebody else is facing the same problem.


Proposed New Features

Features proposed by a Steam user, writing it down in case I forgot about them after the Harmony update mess, because back then I thought some of those are indeed interesting.
The guy proposed 3 features, and I try to summarize my thoughts/replies on them:

Dead trips on counter flow
Dead trips on counter flow, on the other hand, means buses from a depot do not pick up passengers until the start of the route, or do not let off passengers until the depot once those are pulled out of service. If AI chooses to pull a bus out of service, it should be able to allow passengers to be let off at a stop before going out of service (or, when starting a trip, allow the bus to board passengers at any stop until the start of the route, which may be an interesting thing to code).

Short-workings
[Operate from midway bus stops] is the same concept as short workings where you have a bus line that does multiple schools and letting them off at residential areas.

Operate from midway bus stops
Operating from midway stops means buses don't have to do the full trip and instead do part of the trip (e.g. if your bus line has a busy section and a quiet section, you can add more money and vehicles (say, 200%) on the busy section while keeping the value at 100% for the rest of the route).

My replies/views:

Update: TLM should have implemented something like "remain in service until reaching terminus"

I think we have implemented everything except perhaps "short working trips" (i.e., start from a terminus, service until a midway bus stop, and then pull away from service).
IMO this is an advanced feature that is out of scope: irl these situations will require the vehicle to have special markings at the vehicle front, and can cause confusion when the special service is using the same line number as the regular "full" service. In this case, eventually, the short service is officially branched from the main service and the short service receives a new line number.
We believe in this principle: as long as a vehicle is on the way, it has to serve until it reaches a terminus.
Therefore, everything in this post has been eventually implemented. Closing.


Doesn't work with prettier 2

When formatting a file with this, I get the following error:
  Error: Couldn't resolve parser "babylon"
It seems that this is because prettier renamed a parser in V2:
https://github.com/prettier/prettier-vscode/issues/1299#issuecomment-609747857

Thanks for the report. Unfortunately, I don't have time or interest to maintain this plugin anymore.
Many editors now have very good prettier integration, and this plugin may not be necessary today. If anyone's interested in taking this, let me know :)


Error on compilation

Dear Arumagam Lab,
I'm doing a system-wide installation of msamtools (which is why I can't use the recommended conda option). However, upon executing make I get the following error after a while:
gcc -W -Wall -Wwrite-strings -std=gnu99 -pedantic -DPROGRAM=\"msamtools\" -DHTSLIB_VERSION=\"1.9\" -I./deps/samtools/samtools-1.9/htslib-1.9 -I./deps/samtools/samtools-1.9 -g -O2   -o msamtools msamtools.o ./libmaui.a ./deps/samtools/samtools-1.9/libbam.a ./deps/samtools/samtools-1.9/htslib-1.9/libhts.a -lm -lz -largtable2
/usr/bin/ld: ./deps/samtools/samtools-1.9/htslib-1.9/libhts.a(cram_io.o): in function `itf8_decode_crc':
/home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/cram/cram_io.c:242: undefined reference to `libdeflate_crc32'
/usr/bin/ld: /home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/cram/cram_io.c:231: undefined reference to `libdeflate_crc32'
/usr/bin/ld: /home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/cram/cram_io.c:216: undefined reference to `libdeflate_crc32'
/usr/bin/ld: /home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/cram/cram_io.c:223: undefined reference to `libdeflate_crc32'
/usr/bin/ld: /home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/cram/cram_io.c:210: undefined reference to `libdeflate_crc32'
/usr/bin/ld: ./deps/samtools/samtools-1.9/htslib-1.9/libhts.a(cram_io.o):/home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/cram/cram_io.c:458: more undefined references to `libdeflate_crc32' follow
/usr/bin/ld: ./deps/samtools/samtools-1.9/htslib-1.9/libhts.a(bgzf.o): in function `bgzf_uncompress':
/home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/bgzf.c:518: undefined reference to `libdeflate_alloc_decompressor'
/usr/bin/ld: /home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/bgzf.c:524: undefined reference to `libdeflate_deflate_decompress'
/usr/bin/ld: /home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/bgzf.c:525: undefined reference to `libdeflate_free_decompressor'
/usr/bin/ld: ./deps/samtools/samtools-1.9/htslib-1.9/libhts.a(bgzf.o): in function `bgzf_compress':
/home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/bgzf.c:416: undefined reference to `libdeflate_crc32'
/usr/bin/ld: /home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/bgzf.c:391: undefined reference to `libdeflate_alloc_compressor'
/usr/bin/ld: /home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/bgzf.c:396: undefined reference to `libdeflate_deflate_compress'
/usr/bin/ld: /home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/bgzf.c:408: undefined reference to `libdeflate_free_compressor'
/usr/bin/ld: /home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/bgzf.c:402: undefined reference to `libdeflate_free_compressor'
/usr/bin/ld: ./deps/samtools/samtools-1.9/htslib-1.9/libhts.a(bgzf.o): in function `inflate_block':
/home/shiraz/apps/msamtools/deps/samtools/samtools-1.9/htslib-1.9/bgzf.c:583: undefined reference to `libdeflate_crc32'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:499: msamtools] Error 1
make[1]: Leaving directory '/home/shiraz/apps/msamtools'
make: *** [Makefile:547: all-recursive] Error 1

samtools in the deps subdir seems to compile fine.
zlib1g-dev is installed on the system too.
Any ideas?
Thanks, guys!

Hi Shiraz,
This is likely a problem with your server configuration. Assuming you are using Ubuntu, I just tried to install v1.1.3 on a freshly installed Ubuntu 22.04.2 LTS running on Windows Subsystem for Linux. I needed to install libargtable2-dev and zlib1g-dev as listed in the README, but the rest was straightforward, and the build was complete. I am afraid you would need to look at your server configuration.
Best,
Mani

Closing this issue. Please reopen if the problem persists.


Create Docs for Liger-Kernel

Summary
Fixes #64
Instead of using Sphinx which I found to be cumbersome to set-up and iterate upon, I have created the docs using Material for Markdown, which uses markdown files for pages and does not change the original markdown files to a greater extent.
To preview in your local system: run make serve in the terminal.
To build pages: run make build in the terminal.
Index page:

Examples page:

Please let me know if any styling or further corrections are needed and I will make the necessary changes.
cc: @ByronHsu

Could you please review the changes?
cc: @ByronHsu


Move error handling to topmost layer

The error handling, especially the validation errors, should be accessible from the topmost layer, in the case (which is very probable) that the functions are used as a library.
I suggest creating an error type with a slot for the validation errors, and raising it. myr should catch it when main is called and handle it with pretty parsing. If myr is used as a library, then the error can be caught and the validation errors can be handled as the programmer wishes.

With commit 117bef8523ab6a6 the MultipleViolationsError was introduced, so it is caught and handled at the topmost call (i.e. around main).
Still haven't done the same around the myr call (since it calls main) alone. Define a wrapper or something.


Fix Hide Duplicate Items

I made "Hide Duplicate Items 1.0", but it doesn't work correctly, as it sometimes doesn't account for power. Needs to be fixed.

Disabled it for now


nodes: AM2315 temperature/humidity sensor v3

v3:
No more sending cached data: if more reading requests happen before the two second interval has passed, all requests will be answered at the end of the interval.
Avoid some 'callocs' by storing callback data on am2315 struct.
Output data only in Kelvin - and sending a sol_drange instead of a raw value.
v2:
Use constant for scale factor;
Fine grained messages for user when getting invalid readings;
Make delay asynchronous - this involved a lot of work from previous version, but I hope everything should be ok.
Device (http://www.adafruit.com/datasheets/AM2315.pdf) has two sensors:
humidity and temperature, so two nodes were created. However, as device
reads both data together - and needs a minimum two second interval
between readings, both nodes actually access an underlying representation
of the device. This way, different nodes for the same device should be in
sync when really reading from device. If user asks for more readings
before some interval has passed, he/she will get cached readings.
A simple sample was also added.
Signed-off-by: Ederson de Souza<EMAIL_ADDRESS>

Someone?

@glima I recall you having issues with the 'burst' of packets after the two second interval. Are you sure that only one packet after N ticks is ok? Anything else?

Oh, I'm fine with 1 or more, I guess

If you document it explicitly

You will need update this PR to use the new I2C API, when you send the new version ping me and I will review.

On 12-08-2015 10:39, José Roberto de Souza wrote:

You will need update this PR to use the new I2C API, when you send the
new version ping me and I will review.
—
Reply to this email directly or view it on GitHub
https://github.com/solettaproject/soletta/pull/420#issuecomment-130307034.

ack

v4 on #508


Development

Hi,
Changed the  version for 'react-dev-utils' from "^10.0.0" to "10.1.0". This will fix the #18 issue for time being. Also the variables 'workspacesMainFields','mainFields' and 'includePaths' were repeated in 'webpack.config.js.' .Removed the duplicate ones .Please review.
Thanks,
Vimal

Resolve conflicts and I'll merge.

Hi,
Can ignore this request, since the #19  already been merged.
Thank You,
Vimal


French Translation pewpew | V1

13/02/2021 - V1 French Translation

Hello, thanks for helping with the translations! I will check it soon!


[Streaming, Preview] rewrite useWebSocket for low-level usage, remove from processActivity

Fixes #1386
Description
Change entry point for WebSocket Streaming connections from processActivity() to only useWebSocket().
useWebSocket() also no longer relies on restify to expose the socket and head for WebSocket consumption. As such, it is now a method that should be called in a handler for the 'upgrade' event. (See Testing for more information)
useWebSocket() continues to perform the authentication of the WebSocket Upgrade request from the client, and will send back the correct status code and close the socket connection if the authenticateConnection() call fails.
Specific Changes

BotFrameworkAdapter.useWebSocket() signature change

from public async useWebSocket(req: WebRequest, res: WebResponse, logic: (context: TurnContext) => Promise<any>): Promise<void>
to public async useWebSocket(req: IncomingMessage, socket: Socket, head: Buffer, logic: (context: TurnContext) => Promise<any>): Promise<void>

Remove restify dependencies in BotFrameworkAdapter
BotFrameworkAdapter.useWebSocket() now sends the correct status code back to the channel when the Upgrade request fails authentication

Testing:

Added test for BotFrameworkAdapter.useWebSocket() sad-path via the this.authenticateConnection() call.
Moved Helper classes out of botFrameworkAdapterStreaming.test.js and into separate files
Cleaned up tests
Finished the removal of using one helper class to cover both HTTP and Streaming Requests

Testing
Manually tested changes to BotFrameworkAdapter.useWebSocket() with 3 DLS clients concurrently.
The following code snippet shows the relevant information (i.e. the handling of the 'upgrade' event from the HTTP Server); but is otherwise derived from the Node.js 02.echo-bot sample.
// Create HTTP server.
const server = restify.createServer();
server.listen(process.env.port || process.env.PORT || 3978, () => {
    console.log(`\n${ server.name } listening to ${ server.url }`);
});

// BotFrameworkAdapterSettings configuration object
// Must have a valid appId and appPassword to use Direct Line Speech
const adapterSettings = {
    appId: process.env.MicrosoftAppId,
    appPassword: process.env.MicrosoftAppPassword
};

const { EchoBot } = require('./bot');
const myBot = new EchoBot();

// Listen for Upgrade requests to the same route to accept Upgrade requests for Streaming.
server.on('upgrade', async (req, socket, head) => {
    // Create an adapter scoped to this WebSocket connection to allow storing session data.
    const streamingAdapter = new BotFrameworkAdapter({
        ...adapterSettings,
        enableWebSockets: true
    });

    try {
        await streamingAdapter.useWebSocket(req, socket, head, async (context) => {
            // After connecting via WebSocket, run this logic for every request sent over
            // the WebSocket connection.
            await myBot.run(context);
        });
    } catch (err) {
        console.error(err);
    }
});

Pull Request Test Coverage Report for Build 92017

11 of 15 (73.33%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.5%) to 86.527%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder/src/botFrameworkAdapter.ts
11
15
73.33%

Totals

Change from base Build 91413:
2.5%

Covered Lines:
4869

Relevant Lines:
5407

💛  - Coveralls

I cherry picked the 4.6 branch changes pinning the TypeScript version and fixing the versioning script used on the CI machines.
The latest commit, b08c9fa, removes the unnecessary enableWebSockets flag.
The flag was deemed unnecessary because now the developer explicitly opts in to using WebSockets (even more so than before).
Because each BotFrameworkAdapter is scoped to the lifetime of the WebSocket connection, we don’t need to create and bind a websocketfactory to every BotFrameworkAdapter instance.


CupertinoSwitchListTile widget's activeColor not defaults to accent color of the current Theme

Steps to Reproduce
CupertinoSwitchListTile widget's activeColor not defaults to accent color of the current Theme as Source note.It defaults to CupertinoColors.activeGreen.

[✓] Flutter (Channel stable, v1.9.1+hotfix.4, on Mac OS X 10.15 19A602, locale en-CN)
    • Flutter version 1.9.1+hotfix.4 at /Users/wml/Development/flutter
    • Framework revision cc949a8e8b (4 weeks ago), 2019-09-27 15:04:59 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/wml/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/wml/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 40.2.2
    • Dart plugin version 191.8580
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.39.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.5.1

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

Hi @w4mxl
to better address the issue, would be helpful
if you could post a self contained app on github
or the steps to reproduce it.
Thank you
https://github.com/flutter/flutter/issues/35541

cc @LongCatIsLooong

Hi @iapicca
The Steps to Reproduce:
1.Set app theme's accent color Red
2.If i use SwitchListTile and not set activeColor, it has Red as active color
3.If i use CupertinoSwitchListTile and not set activeColor, it has CupertinoColors.activeGreen as active color.
I think they should keep the same logic. Just like what is said in the documentation: "Defaults to accent color of the current Theme."
Thank you!

@w4mxl sorry for the late reply. Looks like the documentation doesn't match the behavior of SwitchListTile.adaptive on iOS, but I'm not sure who's in the wrong here. Maybe it's a @willlarche question?

@LongCatIsLooong Hello, thanks for reply.
In order to achieve my purpose, now i use SwitchListTile.adaptive like this:
SwitchListTile.adaptive(
     ...
     activeColor: Theme.of(context).accentColor,
),

Hm, this does look like a bug:
https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/cupertino/switch.dart#L143
CupertinoDynamicColor attempts to resolve a color with respect to the UI's state (e.g., dark/light mode). From skimming the code, I don't believe it will fallback automatically to the theme.
I suspect the default (via ??) should have been read from the theme in this case.
@LongCatIsLooong did a bunch of this work, so I'll defer to him (since I don't have the full context on dynamic color resolution).

@brandondiamond the API documentation states that the active color should default to Theme.accentColor but I'm not sure this is the right thing to do on iOS. The material.io website has a cross platform guidelines section but it doesn't mention how theming should work with a native component (or maybe I missed it?).

Ahh, I see what you're saying. I'm not super familiar with iOS design conventions, so I'm afraid I don't know the best way forward.

We do not define theming for UIKit style components. Flutter can make a
choice.
On Thu, Nov 7, 2019 at 16:50 brandondiamond<EMAIL_ADDRESS>wrote:

Ahh, I see what you're saying. I'm not super familiar with iOS design
conventions, so I'm afraid I don't know the best way forward.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/43396?email_source=notifications&email_token=AAJWNZLVI7WCUJCTQF4LPCDQSSESPA5CNFSM4JEN5DH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDN6DEI#issuecomment-551281041,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJWNZJ6MRZMCZA4HM4UJE3QSSESPANCNFSM4JEN5DHQ
.

Issue still exist on
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

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

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

class Home extends StatefulWidget {
  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {
  bool _lights = false;

  @override
  Widget build(BuildContext context) {
    return CupertinoPageScaffold(
      navigationBar: CupertinoNavigationBar(
        middle: Text('Cupertino App Bar'),
      ),
      child: Center(
          child: CupertinoSwitch(
        value: _lights,
        onChanged: (bool value) {
          setState(() {
            _lights = value;
          });
        },
      )),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel dev, v1.16.3, on Mac OS X 10.15.4 19E266, locale en-GB)
    • Flutter version 1.16.3 at /Users/taha/Code/flutter_dev
    • Framework revision be3a4b37b3 (4 days ago), 2020-03-26 18:08:05 -0700
    • Engine revision b2bdeb3f0f
    • Dart version 2.8.0 (build 2.8.0-dev.17.0 1402e8e1a4)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.43.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[✓] Connected device (4 available)
    • iPhone 11  • 41EB2A85-7EB4-4FD2-8978-FBBE2A681D74 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator)
    • macOS      • macOS                                • darwin-x64     • Mac
      OS X 10.15.4 19E266
    • Chrome     • chrome                               • web-javascript •
      Google Chrome 80.0.3987.149
    • Web Server • web-server                           • web-javascript •
      Flutter Tools

• No issues found!

testing the code above with the latest master
doctor
[✓] Flutter (Channel master, 1.21.0-6.0.pre.17, on Mac OS X 10.15.5 19F101, locale en-GB)
    • Flutter version 1.21.0-6.0.pre.17 at /Users/nevercode/development/flutter_master
    • Framework revision e64fe11542 (9 hours ago), 2020-07-23 18:11:17 -0700
    • Engine revision 626244a72c
    • Dart version 2.9.0 (build 2.9.0-21.0.dev a3815b6590)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (4 available)
    • Pixel 3a (mobile) • 965AY0WP5C • android-arm64  • Android 10 (API 29)
    • macOS (desktop)   • macos      • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server (web)  • web-server • web-javascript • Flutter Tools
    • Chrome (web)      • chrome     • web-javascript • Google Chrome 84.0.4147.89

• No issues found!

the issue still persists
thank you

accentColor is deprecated this may need to change to something else.

There is no theme color applied to switch here and such color is not carried in any of the Cupertino Theme properties
https://github.com/flutter/flutter/blob/935d1478aac8329016846131c4d0091ed011be87/packages/flutter/lib/src/cupertino/switch.dart#L306

Reproduces with stable 3.3 and master 3.7

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-3.0.pre.33, on macOS 12.6 21G115 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-3.0.pre.33 on channel master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (38 minutes ago), 2022-12-05 18:27:21 -0800
    • Engine revision a309d239c4
    • Dart version 2.19.0 (build 2.19.0-463.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly
      to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.55.20221129

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.94

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.53.20221101

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

ThemeData.accentColor no longer exists, so this issue is no longer reproducible. I tried with the replacement ThemeData.colorScheme.secondary and it appears to be the right behavior. CupertinoSwitch also have a big update recently. If this issue does persist, please file a new report with updated code sample and flutter doctor. Thanks!


"Show attendees"-button does not show on events you cannot attend

What kind of an issue is this?

[x] Bug report
[ ] Feature request

What is the expected behaviour?
"Show Attendees"-button is shown on all social events.
What is the current behaviour?
"Show Attendees"-button is shown on only social events where the user can sign up for the event.
The attendees list is still in the HTML, but not shown on the page.

How do you reproduce this problem?
Enter an event where you cannot sign up, for example an event for 5. graders from a user in the 4. grade.

Other information

Hi,
Thanks for this issue. This is quite critical, and in the future we'd prefer if information about issues like these were sent privately by email.

Fixed in #2031 and #2033.


ninja should use succinct output in mintty

Long ago I submitted a pull request which tried to handle this situation automatically, but it doesn't appear to be working for me: https://github.com/ninja-build/ninja/pull/659
The root of the issue is that isatty() provided by MSVCRT doesn't return true inside a mintty window. My patch essentially reimplemented the logic of isatty() from the Cygwin/mingw C runtime. In the pull request, Nico said that ninja shouldn't cross the streams: if you build ninja with MSVC, it shouldn't have logic for trying to interact with Cygwin/mintty/MSys processes. If you build it with Cygwin or Mingw, it will link with the mingw C runtime, and isatty will return true when ninja is launched in a mintty window. I'd like to have a single ninja that works in both consoles, and I claim that mintty is popular enough to be worth supporting out of the box.
If you install git for windows and enable the "git bash here" explorer shell extension, today it defaults to launching bash in mintty. This seems to be the most popular way for LLVM developers to use git on Windows, since it also provides all the Unix utilities needed to run the test suite. I assume that most of them also accept the default terminal emulator of mintty, and they get the "dumb" ninja output.
I don't think Chromium developers are asking for this feature because they get git from depot_tools, which doesn't install the explorer extension.
Thoughts?

Win 10 cmd.exe supports ansi codes, right? (I haven't tried it.) If so, then ~everyone will probably just use that as shell on Windows and this will stop being a problem?

Win10 cmd does support ansi colors, but they don't seem to look right:

The ANSI support might get better, and maybe in the long run everyone will use cmd. I'll have to try it more and get back to you.


Introduce new interfaces for copy reader

i have kept the existing interface as is in bleve and added the 2 new interfaces here

CopyIndex : extension of Index interface (for getting the CopyReader)
CopyReader : extension of IndexReader interface (for supporting CopyTo and Close methods)


[$500] BA - Personal information / Beneficial Form entered offline isn't saved after returning online

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.1-6
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
Action Performed:

Go to staging.new Expensify.com or open Expensify App
Login with expensifail account
Go to existing or create new workspace
Go to Settings > Workspace > Bank Account
Select any connection type
Follow the flow until Personal Information page or Beneficial form page
Go offline
Fill out form
Reload page for web or kill app for apps
Go online
Go Settings > Workspace > Bank Account
Click / Tap 'Continue with setup'

Expected Result:
Information on Personal Information page or Beneficial form page entered offline should be saved
Actual Result:
Information on on Personal Information page or Beneficial form page was NOT saved
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/47b214cb-89f9-44e9-8337-dfae511e9311
https://github.com/Expensify/App/assets/115492554/5afe71d7-439f-4fd9-9b27-6350c9f21c1e

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0172d17b769e15f37c
Upwork Job ID:<PHONE_NUMBER>947712000
Last Price Increase: 2023-11-21

Issue OwnerCurrent Issue Owner: @madmax330

Not repro on production
https://github.com/Expensify/App/assets/115492554/bbc3507e-4cfe-4763-9569-5c7af354ecb5

Looks like a regression of the PR https://github.com/Expensify/App/pull/30568

We already have a PR that's adding the draft functionality https://github.com/Expensify/App/pull/31401 cc @kowczarz

@tienifr are you still able to work on a fix for this? I know we already have a PR adding drafts back to FormProvider, but that PR's main focus is something else and it seems like it won't get merged soon.

I'm gonna demote this to NAB. This is an existing issue with all forms using FormProvider and we have a fix for it here

Not needed anymore. I added this issue to the list of fixed issues in https://github.com/Expensify/App/pull/31401

This is mostly fixed by https://github.com/Expensify/App/pull/30525. The form is being saved correctly now except the date of birth which I think will be fixed in a follow up PR.

The checklist above ^ is not due yet. This issue is not totally fixed yet

@luacmartins Can you please remove the Awaiting Payment label?

@kowczarz Would you like to handle this? Since it's seems a regression from https://github.com/Expensify/App/pull/29098 (ref: https://github.com/Expensify/App/pull/31401#issuecomment-1824820003)

Yes, I will prepare a followup PR in following days.

@sakluger
STATUS:
I'm ooo through Jan 02
This is at the finish line and a PR has already been deployed to staging. after production the waiting period for payment will begin.

Issue reported by: Applause-Internal Team
Fix: @kowczarz
PR Review: @s77rt

The PR that introduced the bug has been identified: https://github.com/Expensify/App/pull/29098
The offending PR has been commented on: https://github.com/Expensify/App/pull/29098#discussion_r1435365362
A discussion in #expensify-bugs has been started: not needed
Determine if we should create a regression test for this bug: Yes

Regression Test Proposal

Open App
Create a workspace if you don't have one
Go to Settings > Workspaces > workspace > Bank Account
Click Connect manually
Follow the flow until you reach the "Company information" step
In incorporation date, select any date
Refresh the page or restart the flow
Verify that the selected date is preserved

@s77rt I sent you an offer via Upwork. Please let me know once you've accepted, thanks!

@sakluger  Accepted! Thanks!

Perfect, thanks! All paid out, thanks everyone 🙇


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_28niolc8q5/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_28niolc8q5/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_28niolc8q5/clone/recipe/meta.yaml:42: missing_description: The recipe is missing a description
Errors were found


[Firebase Messaging] Received messages instances doesn't contain Android notification channel ID

When the app receives a notification while in foreground via the onMessage callback would be very useful to have the Android notification channel ID inside the Map<String, dynamic> message parameter.
This would enable client-side business logic based on the notification channel value, and would also give the possibility to publish the notification in the system tray with the correct notification channel ID.
Proposed solution:
Something like message['android_channel_id'] containing the channel ID string.

Seems like in 8.0.0-dev builds this issue is solved, the plugin uses a new RemoteMessage class instead of Map<String, dynamic> and you can obtain the Android channel ID:
message.notification.android.channelId


Settings UI: Number sliders

Description
Number inputs may have slider in UI that can be helpfull in few cases.
Changes

added attribute show_slider to number type which will cause that slider will show in UI

Screenshot

Slider is working fine for mouse dragging. When trying to set a value manually, the slider is drawing itself only in a tiny part of a scale. Using a spinbox it is not possible to change a value behind a decimal point.

Slider is working fine for mouse dragging. When trying to set a value manually, the slider is drawing itself only in a tiny part of a scale. Using a spinbox it is not possible to change a value behind a decimal point.

Should be fixed now.


Remove singleton from services

Our services should just return the class. Singleton can be done in origin.js.
This will enable better testing.
Hat tip: @aiham for suggestion.

Fixed in #41


Revert option prompts for user input to revert changes on an unmodified buffer

From<EMAIL_ADDRESS>on 2012-02-28T18:17:10Z
Spyder Version:  2.2.0dev
Python Version:  2.7.2
Qt Version:      4.7.4, PyQt4 (API v1) 4.8.6 on Windows
What steps will reproduce the problem?

Open a File
Select File > Revert What is the expected output? What do you see instead? A dialog will pop up prompting the user to okay the reversion.  If the buffer is unmodified, this prompt is unnecessary.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=954

From pierre.raybaut on 2012-03-18T08:05:51Z
This issue was updated by revision 64a1d71d2355 .
Status: Fixed

From pierre.raybaut on 2012-03-18T08:06:01Z
This issue was updated by revision fc4919564087 .


Add support for options

Closes #35
Doesn't actually work yet. Emailed support@neos

Codecov Report

Merging #43 (2bdadef) into master (51dd53f) will increase coverage by 1.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
+ Coverage   92.72%   93.80%   +1.07%
==========================================
  Files           1        1
  Lines         110      113       +3
==========================================
+ Hits          102      106       +4
+ Misses          8        7       -1

Files Changed
Coverage Δ

src/NEOSServer.jl
93.80% <100.00%> (+1.07%)
:arrow_up:


Document: add separator as a param

This resolves https://github.com/TheRenegadeCoder/SnakeMD/issues/70
For backward compatibility the default stays at "-"
Thank you for considering this.

This won't get a release right away. If you want to expedite that process a bit, you'll have to go into the setup.py file and increment the version.


UI doesn't load on Safari

See Title.  Sits at the screen w/ Augur logo on Safari 8.0.7
works on Safari 8.1

Same problem here, but no matter what browser I use. Tried firefox and chrome. This is on an ubuntu system.
I started the server according to instructions with
geth --datadir "~/gethTest" --rpc --rpccorsdomain "http://client.augur.net http://localhost:8080" --rpcapi "db,eth,net,web3" --shh --networkid "007" --port "30303" --genesis genesis_block.json --autodag --mine --minerthreads "1" --unlock "0" console
(yes, created a datadir 'gethTest')
In the terminal I see that it has generated "DAG", then pops up messages about "commit new work on block.." and "Mined block ...".
but the website keeps saying 'loading'...

mark,  if you use the legacy "proceed in demo mode", does the UI load?
i just want to separate the browser claim here with the UI not handling you local geth node's state gracefully (which I'm guessing is the case).  the UI has gone through iterations to handle various failures, but it's by no means as robust as i'd like it.
also, if your geth instance isn't actually downloading groups of blocks and "catching up"  then you might have to wait longer or just nuke from orbit.

@marksmeets just realized I forgot to add our bootnodes to the instructions on docs.augur.net!  Try adding this flag to your geth command:
--bootnodes "enode://70eb80f63946c2b3f65e68311b4419a80c78271c099a7d1f3d8df8cdd8e374934c795d8bc9f204dda21eb9a318d30197ba7593494eb27ceb52663c8339e9cb70@[::]:30303,enode://405e781c84b570f02cb2e4ebb18c60528aba5a08ccd72d4ebd7aeabc09208ef24fa54e20ff3b10e478c203dd481f3820242e51fe72770a207a798eadfe8e7e6e@[::]:30303,enode://d4f4e7fd3954718562544dbf322c0c84d2c87f154dd66a39ea0787a6f74930c42f5d13ba2cfef481b66a6f002bc3915f94964f67251524696a448ba40d1e2b12@[::]:30303,enode://8f3c33294774dc266446e9c8483fa1a21a49b157d2066717fd52e76d00fb4ed771ad215631f9306db2e5a711884fe436bc0ca082684067836b3b54730a6c3995@[::]:30303,enode://4f23a991ea8739bcc5ab52625407fcfddb03ac31a36141184cf9072ff8bf399954bb94ec47e1f653a0b0fea8d88a67fa3147dbe5c56067f39e0bd5125ae0d1f1@[::]:30303,enode://bafc7bbaebf6452dcbf9522a2af30f586b38c72c84922616eacad686ab6aaed2b50f808b3f91dba6a546474fe96b5bff97d51c9b062b4a2e8bc9339d9bb8e186@[::]:30303"

(These are needed -- temporarily -- because we're on a private chain.)

also, @joeykrug,  if it works on 8.1, i say good riddance safari 8.0.7.  i hardly knew ye...

i cringe at our current private chain install instructions.  i would just use a big font and say, "use our hosted solution and play with your kids more!"

i cringe at our current private chain install instructions. i would just use a big font and say, "use our hosted solution and play with your kids more!"

While I can't bring myself to disagree with this, since we've got run-your-own-geth instructions on docs.augur.net anyway, I'm gonna update them to at least be correct!

Hi guys,
yes, demo mode works. Also, adding --bootnodes definetly does something. I can now proceed past the 'loading' screen, but am left with an empty, green screen.
This is my script:
mark@fasterix:~/augur$ cat augur.sh
geth --datadir "~/gethTest" --rpc
--rpccorsdomain "http://client.augur.net http://localhost:8080"
--rpcapi "db,eth,net,web3" --shh --networkid "007" --port "30303"
--mine --minerthreads "1"
--autodag
--unlock "0"
--bootnodes "enode://70eb80f63946c2b3f65e68311b4419a80c78271c099a7d1f3d8df8cdd8e374934c795d8bc9f204dda21eb9a318d30197ba7593494eb27ceb52663c8339e9cb70@[::]:30303,enode://405e781c84b570f02cb2e4ebb18c60528aba5a08ccd72d4ebd7aeabc09208ef24fa54e20ff3b10e478c203dd481f3820242e51fe72770a207a798eadfe8e7e6e@[::]:30303,enode://d4f4e7fd3954718562544dbf322c0c84d2c87f154dd66a39ea0787a6f74930c42f5d13ba2cfef481b66a6f002bc3915f94964f67251524696a448ba40d1e2b12@[::]:30303,enode://8f3c33294774dc266446e9c8483fa1a21a49b157d2066717fd52e76d00fb4ed771ad215631f9306db2e5a711884fe436bc0ca082684067836b3b54730a6c3995@[::]:30303,enode://4f23a991ea8739bcc5ab52625407fcfddb03ac31a36141184cf9072ff8bf399954bb94ec47e1f653a0b0fea8d88a67fa3147dbe5c56067f39e0bd5125ae0d1f1@[::]:30303,enode://bafc7bbaebf6452dcbf9522a2af30f586b38c72c84922616eacad686ab6aaed2b50f808b3f91dba6a546474fe96b5bff97d51c9b062b4a2e8bc9339d9bb8e186@[::]:30303"
console
(I've removed --genesis , I think that would overwrite my current data and mining efforts)
After entering the password (for which I'm only prompted after I press return in the console btw) I add the 4 peers in the instructions. Then the screen in the browser goes green.
After reloading the web page I'm stuck at 'loading' again though...
Hmm. After restarting the script I'm back to 'loading' for good
Thanks for the response so far.

Tried again, but now 'proceed in demo mode' gets stuck at loading as well. Both on chrome and firefox.
Also tried on a clean computer (never ran geth there). Here I can't get the demo mode up as well. This is on an ubuntu 15.04 with chromium.

i can't find this version of safari and given the weak circumstances of this bug, closing


Improve ParamSpec bindings

[ ] Missing param spec subclasses
[ ] At least some tests

All but the last commit should go into a bugfix release :)

You still need to add some tests before that. ;) Otherwise no issue for the bugfix release.

You still need to add some tests before that. ;)

Tests for? The existing tests found these bugs, just had to run in valgrind :)

You listed that in your first comment here. Just quoting. :)

Ah, those are in the last commit.

Oh indeed, went too fast and didn't see them. Looks good to me! :+1:


Add Eloquent release note for changes to CLI arguments

Related to #379
I'd still like to add a note to the migration guide, describing differences coming from ROS 1.

Is this a duplicate of #433

Yes, a duplicate.


docs: update issue template

Closes: #1555
Description
Updated the issue templates , added  new labels with template  and  new file for bug .
Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

@akshitagupta15june  take a look on pr


Zero-initialized aligned reallocation

mimalloc provides a non-trivial set of allocation options:

aligned
zero-initialized
reallocation
aligned reallocation
zero-initialized reallocation

However, according to the docs it doesn't seem to provide zero-initialized aligned reallocation. Is it an oversight?
We're going to investigate the suitability of mimalloc for use in Apache Arrow and this is a feature that would be useful to us.

Ah, I used to have it but as discussed in issue #63, we decided to drop it.
The reason is that zero-initialized reallocation only works when the original memory was allocated with calloc or zalloc and not with malloc . In the latter case, since mimalloc does not keep track of the original allocation in bytes, it is not possible to know on reallocation where the zero-initialization starts. So, generally it works but there are edge cases where it can lead to subtle bugs.....
I think this is why it is not part of Posix, and perhaps it is better to have the programmer initialize to zero explicitly when reallocating.

(btw, the function mi_recalloc is still exposed though... even though it has this unsafe behaviour..)

The reason is that zero-initialized reallocation only works when the original memory was allocated with calloc or zalloc and not with malloc .

Well, that sounds like a reasonable limitation to me.

I think this is why it is not part of Posix, and perhaps it is better to have the programmer initialize to zero explicitly when reallocating.

Isn't there a performance issue with this? If mimalloc allocates using mmap(), it knows the memory is already zero-initialized. The caller doesn't, and will call memset even when not needed.
POSIX doesn't have aligned reallocation either... but mimalloc does.

Also, for the record, jemalloc does support zero-initialized aligned reallocation through its flags argument to rallocx: http://jemalloc.net/jemalloc.3.html
So there's precedent for exposing such a feature.

Hmm, I took a look, and it seems that mimalloc zero-initialization blindly calls memset instead of taking advantage of page zeroing by the OS. So perhaps there isn't much performance advantage in having zero-initialized allocation functions.

Hi Pitrou,
I just pushed commit dev a6a956c  which adds back the zero-initialized reallocation api. Moreover, the new commit builds on earlier changes that detect if the memory is already zero-initialized on calloc etc to avoid using memset to zero.  Hope this works for Apache Arrow -- let me know how it goes.

To be clear, we aren't zero-initializing yet and this is a feature that we would like to investigate in the future (depending largely on its cost, I guess). But thanks for reintegrating those functions.

Thanks @pitrou , no worries. It seems a good API to have as long as one is aware of the gotcha so I put extra comments in the header file.

The reason is that zero-initialized reallocation only works when the original memory was allocated with calloc or zalloc

I think this is a reasonable restriction.
Instead of wording this comment as a warning, I think it would be better to word it more precisely as a guarantee. For example, we can say that if and only if the realloc grows the usable_size of the allocation to a new_usable_size > usable_size, the the range new_usable_size - usable_size will be zeroed. If the realloc does not grow the usable_size of the allocation, it has no effects.
That is, if one allocates with malloc(request) and obtains an allocation with usable_size, and then performs a zero-reallocation that doesn't modify the usable_size, then because there are no effects the range usable_size - request won't be zeroed.

In the latter case, since mimalloc does not keep track of the original allocation in bytes, it is not possible to know on reallocation where the zero-initialization starts. So, generally it works but there are edge cases where it can lead to subtle bugs.....

I don't know if there is space in any meta-data bitset anywhere to add a bit tracking this on a per allocation basis for debugging / checked build purposes, but I don't think we can be 100% certain that when this happen there is a bug in the user code, so we can at most only warn here.

@gnzlbg: good suggestion -- I will add that to the documentation.


pyuscope Windows?

Theory: may be able to use gstreamer Windows driver integration to more rapidly support cameras
I tried to setup pygstreamer last night, but couldn't quite get things working. If someone tries it again, a few bits of advice / notes:
-Use 32 bit libraries/python. 64 bit causes issue in some libraries
-Use python 2.7 (see )
-install pep for PIL dependency
-gstreamer 0.10: think I found a package that had it, but for some reason it wasn't "finding" the gstreamer libraries, despite the exact path existing. Possibly because I installed 64 bit first and some conflict there
-paramiko package exists, but isn't necessary to get testsrc up, so I ignored import warning
-I haven't formally researched what gstreamer supports under windows and/or what various microscope cameras export. I do know however that I've run micromanager in the past with touptek and Apogee (maybe through ASCOM) specific bindings, so its possible generic drivers don't exist

If someone cares about this we'll revisit


Circular linking between stacks

If you have a stack for balancers and another for microservices, the stacks have a circular linking. Trying to do rancher-compose create, up or start will raise a Warning that the link failed.

What version of rancher-compose are you using? We just released v0.3.0 that fixes the circular link for create and then start. Or if you just do a rancher-compose up should be working as of v0.2.5. The circular linking won't appear in the UI after the create, but the start should fix it (assuming you use the same docker-compose.yml)

@deniseschannon It's not a circular link inside the same stack/project/docker-compose-yml, they are from different stacks: balancers and microservices. I already tried up, start and create.
rancher-compose version is v0.2.6

Yes, there is probably some bug that we don't wait long enough for links to be established so we timeout. @ibuildthecloud

Closing in favor of the rancher issue that was created. @andrefreitas I tagged you in the issue so that you would be following it.


Update to new Collector and use it to fix agent.googleapis.com/disk/{io,operation}_time

Fixes b/185807918

Some unit tests seemed to failed: https://travis-ci.com/github/GoogleCloudPlatform/ops-agent/jobs/513784885.


Secure access to service account files

As a developer, I want to make sure that my private keys are secured so that no one else can wreck havoc on my behalf.

[ ] Secure service account files for Google integration so that only their owners can view/edit them
[ ] Make sure permissions still allow HA to access

I feel safe with mine open in the HA instance for now, since access to that is secured and I trust my teammates.

They're in the EC2 instance, which is protected by private keys, and the team agreed that's good enough.


manifest: hostap: Pull fix for build error

When debug is disabled, seeing a build error for unused variable.

@krish2718 needs a rebase to resolve the conflicts here

The manifest is already superseded, closing this PR


Deposit mining metric

amount of commodity mined should be recorded in stats to be used as a metric to measure profitability.

On trip home, deposit miner can log quantity mined in global (On the same tick as the stats runs). Upon successful logging, dMiner flips a bool in memory to prevent it from logging again.\
In stats function, check if any logs have been made to the global. If they have, log the new quantity, else log 0. Make sure to delete the global variable so it does not get used again on the next iteration!

Duplicate of #46 . Solution deployed


PIP Package

Use the configuration from ExtractVersion package

@tcitbiint3 you can take a look at the branch code-12-pip (already merged). It contains the whole toolchain implementation for creating a PIP package.
The only thing left is to publish the package on PyPi.org, so that we could pip install it from Actions pipeline

And the last update - PyCodegen contradicts the naming convention, I made the package name code-generation, and left the repo code-generator.
Thank you for your interest in the project.

Very nice, thanks!


React nano degree courses?

Hey,
Can you please add the React nano degree courses?
Thank you.

+1 I'm looking for the same

+1 from me too. Kindly please help us.
On 15-Jul-2017 21:19, "Lokesh Sharma"<EMAIL_ADDRESS>wrote:

+1 I'm looking for the same
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mikesprague/udacity-nanodegrees/issues/17#issuecomment-315542933,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIF_JHU2w_0sQRr7LLc-98gOmdoaB1tTks5sON-UgaJpZM4OY49H
.

Please see #15 and #13


question about DRMM term gating

According to DRMM_PairGenerator, the text_1 is padded with  fill_word which is the last vocabulary.
In the DRMM the term gating score is computed with softmax on the whole vector and no mask is used.
I think the missing mask will lead to wrong term gating score, am I right?

 It is the difference compared with original DRMM.  This may affect the learned weight in the term gating network, and lead to poor performance. The right way is to apply mask as you have described.  Thanks for your suggestion. We will fixed it as soon as possible!

l think it can be fixed by adding an OOV which IDF is negative infinity, am I right?

@thiziri The difference lies in the padding.  For IR-tasks, the length of queries and docs both vary significantly. In MatchZoo, DRMM solved the document length problem by histogram mapping. However, we have to pad queries to a predefined length to enable the tensor operation. For example, if the max query length is 5 in the dataset, give a query "US China relationship",  we have to pad it to "US China relationship XX XX", here the "XX" is an OOV word just for padding. as the vector value of "XX" is randomly assigned, it also affect the learned weight in term gating network.

Do you mean that I just have to tune the parameters "text1_maxlen" and "text2_maxlen" according to my dataset? An additional question about the random embeddings: how can I make a change in MatchZoo so that OOV words will be simply ignored instead of using random vectors? do the implementations in "matchzoo/models" generate an error if given word cannot be found in the embedding file?

Okay, thanks @faneshion for your responses. I'll try to set OOV embedding vectors to zeros.

I'm going to close this issue since it's has been solved.


Take line-height into account when measuring text height

This pull request changes how we measure text heights. Previously, it was not possible to use an equivalent of a css line-height for multiline text. Now it is, by specifying a font with a line-height for the text style's font property, e.g. 12px/1.5 sans-serif sets a line-height of 1.5.
Fixes #7976.

I've added this new option in the vector-label examples: https://github.com/openlayers/openlayers/commit/abb811179aff680a80729a5fe21c70e6a171427e
do you want to cherry-pick it?


bump fahclient to 7.6.21

Thanks, another week of the client proving stable and new containers will go out.

foldingathome/fah-gpu:7.6.21-rc1 is now live.


populate missing VCS information in the buildInfo

I have noticed that for some time now our projects are not uploading VCS revision information to Artifactory. For that I have raised the issue in "Build-Info" project https://github.com/jfrog/build-info/issues/544
However reviewing older version of Maven plugin I have noticed that this information was poplulated in Maven plugin not in the BuildInfo code.
What this change does it restores the functionality and uploads "vcs" information together with the BuildInfo as described here: https://www.jfrog.com/confluence/display/JFROG/Maven+Artifactory+Plugin

[x] All tests passed. I have modified one test to check for the vcsRevision information

I have read the CLA Document and I hereby sign the CLA

Hi @yahavi can you review this PR and approve CLA? It is a regression and we relay on this functionality. Thanks

@skulczycki
Thanks for your contribution.
We had a team conversation about it. We think that it is better to extract the VCS information the same way we do in the Jenkins Artifactory plugin, using Git.extractVcs().
The VCS information should be collected automatically for every build.
I create a PR that should add this functionality - https://github.com/jfrog/artifactory-maven-plugin/pull/23
We'd appreciate any feedback/review on this PR.

@skulczycki,
We released Maven Artifactory plugin 3.3.0. In this version, the VCS information is populated automatically.
We'd appreciated your feedback on that.

Many thanks for that, I will try new version this week.


"Out of Memory" error with CUDA.

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 2.00 GiB (GPU 0; 7.79 GiB total capacity; 4.95 GiB already allocated; 1.60 GiB free; 5.15 GiB reserved in total by PyTorch) If reserved memory is >>
allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

RTX 2070 8GB MAX-Q

Which documentation am I supposed to read to set up appropriate memory management? I can't seem to find it for some reason. Unsure about which settings to change and where.

Easy Diffusion doesn't have the best memory management because it uses uses Diffusers API and they are very wonky about their philosophy on what to do add, leaving most this stuff to users to submit custom pipelines, which often break with diffusers changes. A really bad implementation.
Are you running this local? If so, I suggest trying ComfyUI. Node network is a little overwhelming at first, but it's super fast, and very memory efficient. I can do bigger images in Comfy then I can in WebUI