would like to plot sources on top of a PV map

Hi, I used extract_pv_slice to make a PV image and I am using an example from the PV extractor pages to display the image with matplotlib. Looks good.
But then, I want to plot on top a list of sources (I have positions, LSR radial velocities). I am converting their DEC positions into offsets using the initial point of the path I defined to make the PV.
I used matplotlib scatter like
ax.scatter(dec_offset,rvlsr,marker='o', s=4, alpha=0.5)
the problem is, all the sources clump in a corner of the figure.
I tried  to use set_xlim and set_ylim, but then , the limits on
the image get garbled.
Thanks in advance

Are you sure you're using the right units?
You might need to use a transform to get the data into the right coordinates.... I'm not entirely sure, but could probably help more if you show a complete example.

just before I wrote this, I noticed that if I write the axis limits,
they are in pixel units

a1=ax.get_xlim()
a2=ax.get_ylim()
print(a1,a2)
(-0.5, 1099.5) (-0.5, 66.5)

this is the header print
CTYPE : 'OFFSET'  'VRAD'
CRVAL : 0.0  11160.17929
CRPIX : 1.0  34.0
CDELT : 0.002083333333<PHONE_NUMBER>
NAXIS : 1100  67
so perhaps I just need to convert my star data into pixel units? However
that complicates adding errorbars etc.
Here is the script so far
from astropy import units as u
from astropy.coordinates import Galactic
from pvextractor import Path
from pvextractor import extract_pv_slice
from spectral_cube import SpectralCube
from astropy.coordinates import FK5
from astropy.io import fits
import matplotlib.pyplot as plt
from astropy import wcs
import astropy
from astropy.io import ascii
import numpy as np
#this is a path defining a vertical cut across declination on an image of width=2.4 deg
g = FK5([98.0771989,98.07775522] * u.deg, [3.4367890,5.7280606] * u.deg)
path1=Path(g,width=2.4*u.deg)
#I extract the slice from the cube, it looks correct
cube=SpectralCube.read('somecube.fits')
slice1=extract_pv_slice(cube,path1,spacing=1)
slice1.writeto('my_PVslice.fits', overwrite=True)
#took this from the example in the documentation, the image looks OK
#axis is in velocity (m/s) vs offset (degrees) units and the colorbar in temperature (K)
ww=wcs.WCS(mifits[0].header)
ax = plt.subplot(111, projection=ww)
im = ax.imshow(mifits[0].data, interpolation='nearest', aspect='auto',cmap='binary')
cb = plt.colorbar(mappable=im)
#sources list
slist='RMC.csv'
cft = ascii.read(slist,format='csv')
ra=cft['RA']
dec=cft['DEC']
rvlsr=cft['RV_LSR']
#this should in m/s and offset units
dec_offset = dec - 3.4367890
vlsr_ms=rvlsr*1000.0
ptt = ax.scatter(dec_offset,rvlsr,marker='o', s=4, alpha=0.5)
and then all sources are piled up because the image is in pixel units
Spectral_PV-DIAGRAM2.pdf
thanks in advance

indeed, converting to pixel units makes it right
#pass offset, vlsr as N,2 array
mm=np.column_stack((dec_offset,vlsr_ms))
#convert to pixel units
kk=ww.all_world2pix(mm,0)
#add them to the plot
ptt = ax.scatter(kk[:,0],kk[:,1],marker='o', s=4, alpha=0.5)
Spectral_PV-DIAGRAM2.pdf


Updated Upgrade Instructions & apt-get install

I accidentally submitted my last 2 changes to master instead of develop.  This corrects the mistake.

Thanks!


#13 done

@ShwetKhatri2001 done removed depandabot from this file

Well Done ! Merging it now !
A suggestion : From next time provide good title and description on your PRs including the issue its fixing ( Exa. Fixes #13 )


Fire event on window blur if page is visible

If our page contains an iframe and user clicks on it - it is outside click, but web browser doesn't emit proper event due to security reasons. It would be great to have a work-around for it. I suggest to listen to window blur event and emit outside click event if page is visible like in the following example:
    window.addEventListener('blur', () => {
        setTimeout(() => {
            if (!document.hidden) {
                console.log('outside click event');
            }
        });
    });

Let me know what you think, so I will prepare PR.

@arkon, could you have a look at this topic?

Sounds reasonable. An option called [emitOnBlur] or something would make sense.


p-value for estimator vs p-value for refutation of estimator with bootstrap

Hello,
Can you explain me what is the difference between the two tests? They looks too similar to me and they are give me the same results when I run locally the functions giving them hardcoded the estimate_value (of course in the causal estimator's case I run the code from  # Processing the null hypothesis estimates and below ).
https://py-why.github.io/dowhy/v0.8/_modules/dowhy/causal_estimator.html#CausalEstimator
    def _test_significance_with_bootstrap(self, estimate_value, num_null_simulations=None):
        """ Test statistical significance of an estimate using the bootstrap method.

        :param estimate_value: Obtained estimate's value
        :param num_null_simulations: Number of simulations for the null hypothesis
        :returns: p-value of the statistical significance test.
        """
        # Use existing params, if new user defined params are not present
        if num_null_simulations is None:
            num_null_simulations = self.num_null_simulations
        do_retest = self._bootstrap_null_estimates is None or CausalEstimator.is_bootstrap_parameter_changed(
            self._bootstrap_null_estimates.params, locals())
        if do_retest:
            null_estimates = np.zeros(num_null_simulations)
            for i in range(num_null_simulations):
                new_outcome = np.random.permutation(self._outcome)
                new_data = self._data.assign(dummy_outcome=new_outcome)
                # self._outcome = self._data["dummy_outcome"]
                new_estimator = type(self)(
                    new_data,
                    self._target_estimand,
                    self._target_estimand.treatment_variable,
                    ("dummy_outcome",),
                    test_significance=False,
                    evaluate_effect_strength=False,
                    confidence_intervals=False,
                    target_units=self._target_units,
                    effect_modifiers=self._effect_modifier_names,
                    **self.method_params
                )
                new_effect = new_estimator.estimate_effect()
                null_estimates[i] = new_effect.value
            self._bootstrap_null_estimates = CausalEstimator.BootstrapEstimates(
                null_estimates,
                {'num_null_simulations': num_null_simulations, 'sample_size_fraction': 1})

        # Processing the null hypothesis estimates
        sorted_null_estimates = np.sort(self._bootstrap_null_estimates.estimates)
        self.logger.debug("Null estimates: {0}".format(sorted_null_estimates))
        median_estimate = sorted_null_estimates[int(num_null_simulations / 2)]
        # Doing a two-sided test
        if estimate_value > median_estimate:
            # Being conservative with the p-value reported
            estimate_index = np.searchsorted(sorted_null_estimates, estimate_value, side="left")
            p_value = 1 - (estimate_index / num_null_simulations)
        if estimate_value <= median_estimate:
            # Being conservative with the p-value reported
            estimate_index = np.searchsorted(sorted_null_estimates, estimate_value, side="right")
            p_value = (estimate_index / num_null_simulations)
        # If the estimate_index is 0, it depends on the number of simulations
        if p_value == 0:
            p_value = (0, 1 / len(sorted_null_estimates))  # a tuple determining the range.
        elif p_value == 1:
            p_value = (1 - 1 / len(sorted_null_estimates), 1)
        signif_dict = {
            'p_value': p_value
        }
        return signif_dict

https://py-why.github.io/dowhy/v0.8/_modules/dowhy/causal_refuter.html#CausalRefuter.test_significance
    def perform_bootstrap_test(self, estimate, simulations):

        # Get the number of simulations
        num_simulations = len(simulations)
        # Sort the simulations
        simulations.sort()
        # Obtain the median value
        median_refute_values = simulations[int(num_simulations/2)]

        # Performing a two sided test
        if estimate.value > median_refute_values:
            # np.searchsorted tells us the index if it were a part of the array
            # We select side to be left as we want to find the first value that matches
            estimate_index = np.searchsorted(simulations, estimate.value, side="left")
            # We subtact 1 as we are finding the value from the right tail
            p_value = 1 - (estimate_index/ num_simulations)
        else:
            # We take the side to be right as we want to find the last index that matches
            estimate_index = np.searchsorted(simulations, estimate.value, side="right")
            # We get the probability with respect to the left tail.
            p_value = estimate_index / num_simulations
        # return twice the determined quantile as this is a two sided test
        return 2*p_value

They are the same :)
Sometimes, it is useful to differentiate them. For example, some estimators (E.g., linear regression estimator) may use parametric confidence intervals which is fast, and then we may want to refute the analysis using a bootstrap p-value which makes no parametric assumptions.
But yeah, if you are already using the bootstrap method for testing significance, then the refutation by bootstrap is redundant.

Closing this as the question seems to be answered. Please re-open if not. Thanks.


SOCA deployment error - runtime parameter of python3.7 is no longer supported for creating or updating AWS Lambda

They new SOCA 2.7.4 deployment is failing due to "runtime parameter of python3.7 is no longer supported for creating or updating AWS Lambda"
About this deployment
Version 2.7.4
Released 07/2023
Author AWS
2024-02-29 15:36:22 UTC-0500 | cpf-sdt-demo | ROLLBACK_IN_PROGRESS | The following resource(s) failed to create: [CheckPreRequisiteLambda]. Rollback requested by user.
2024-02-29 15:36:22 UTC-0500 | CheckPreRequisiteLambda | CREATE_FAILED | Resource handler returned message: "The runtime parameter of python3.7 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (python3.12) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: 0cf21685-ed73-440c-aa57-f3646e09e4dd)" (RequestToken: 4a86b131-c7c3-063d-8559-6c4dd4af5abe, HandlerErrorCode: InvalidRequest)

Hello @andrei-xdlab -
We are about to push a new SOCA version which will address this issue. Feel free to email me mcrozes -at - amazon.com if you need additional details.


Add Resolved Clusters API for Commands

/api/v3/commands/{id}/resolvedClusters will execute the criteria resolution against the clusters in the database to see which would be selected for each criterion at that point in time
Update gRPC dependencies to match internal versions

Coverage increased (+0.03%) to 92.868% when pulling e4578600b24a198e61ebe9ae94241ffb777a67fe on tgianos:GENIE-374 into 5cbf42385ccabb02a0909c90d80cb81457a3cb06 on Netflix:master.


Train from checkpoint

Hi,
I train model on colab, after a while it will be disconnected. I can train again after a few hours, but I have to train again from the author's checkpoint. How can I continue to train from the checkpoint (weight) that I trained last time.
Thanks!

Hi,
When running train.py, use this option --saved_model saved_models/{the folder including your checkpoint}/best_score.pth. Then your training continues from your last checkpoint.
Hope it helps :)


Update RightFont to 2.2.1

Thank you for the contribution. It was merged directly as c47f302e891cf03e35fb17f6e7aec332cf479191 to keep commit history cleaner. Your contribution is still credited to you.


Xmlns -> xmlns

@Mikejo5000 Can you look at this one?

@Mikejo5000 should this element be lowercase?

@imba-tjd Thanks for the fix! @gewarren Fix matches the Syntax section.

#sign-off


Variable ${fileDirname} not resolved

Brief Issue Summary

Why ${fileDirname} resolving is not enabled in cmake.sourceDirectory and cmake.buildDirectory?
I saw this (#869) Issue that led to the enable of a variable.
I think that it will be really useful.. in my setup I have a workspace with many folders inside and each folder is a different small school project, but I still need the bigger workspace because it gives me all my setup and settings and also it is my git "root" folder.

We don't support ${fileDirname} for those settings because it's not stable.  It can change whenever you open a new file.  We do support multi-root workspaces though and you could create a workspace that opens your folders. In that case I would think you could specify those settings at the Workspace level and they'd apply the same across all folders (assuming the folders are set up in a similar way).  I would even think that the default values might be sufficient and you wouldn't have to change them at all.

Thanks, I resolved my problem with your suggestion.


Add custom labels on pods

We would like to add custom labels on forwarder and runner pods. We will use them in order to show which team is responsible for this pods.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix nodeSelector, affinity, tolerations in the Helm chart

Proposed changes
nodeSelector, affinity, and tolerations are currently ignored unless initContainers is set to a non-empty value, due to a misplaced if in the template.
This change fixes the issue.

@v-yarotsky, nice catch! That was a big L from my side! 😱


Advanced Magboots Noslip

Gives advanced magboots proper noslip because right now it still slips you for half a second and then prediction shoves your character around a lot.

Any reason not to just put it on the parent?

i think having noslip be intrinsic on the parent magboot would be a bit overpowered but im open to it. my thoughts is that engineers already have a lot going for them gear wise and this would make the advanced magboots an even more enticing high risk item

Does the issue you describe not happen on normal magboots?

no normal magboots still slip like normal, dont know why this one is fucky

no normal magboots still slip like normal, dont know why this one is fucky
Make sure to have an issue so the actual bug can get fixed at some point. This PR at least mitigates it and fixes the magboot sprite. It sounds like a prediction issue so you probably want to tell @ElectroJr


Development fix login without password after logout issue

Description
fix login without password after logout issue by set _confirmPasswordUpdated to false when logout
Changes
TfChainConnector component
Related Issues

https://github.com/threefoldtech/tfgrid-sdk-ts/issues/1011

Checklist

[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings
[ ] Screenshots/Video attached (needed for UI changes)

I've tried the mentioned scenario and seems everything working well.
Screencast from 08-21-2023 03:53:58 PM.webm


PP-11793: Make GOV.UK Pay's documentation compliant with the technical content style guide

Context
In November, GDS released a technical content style guide. The guide covers the style, structure, and terms we should use for content aimed at technical users, such as the users of the GOV.UK Pay tech docs.
The Pay documentation is used for examples throughout the guide, so we're already compliant for a lot of it. However, there are a few areas we need to fix.
Changes proposed in this pull request
This PR makes us compliant with the following rules:

'API request', not 'API call'
'turn off', not 'disable'
'turn on', not 'enable'
'Google Chrome', not 'Chrome'
'onscreen', not 'on-screen'
'problem', not 'issue' (where appropriate)
'lets', not 'allows' (where appropriate)
'check', not 'consult'
removes 'easily'
'make sure', not 'ensure'
'meet', not 'fulfil'
'so you can', not 'in order to'
'show' or 'tell', not 'inform'
'needs', not 'requires' (where appropriate)
'complete', not 'undertake'
removes 'underlying'

Great work making the required — sorry, needed — changes to allow — sorry, let — our users read the docs without any issues — sorry, problems.

I'm going to print and frame this approval, @alexbishop1


[Docs] Readme Cypress logo no longer working

hi @AleksandarDev  i want to fix this

No longer needed due to
https://github.com/Enterwell/react-starter/issues/399


Adding .DS_Store to .gitignore

I've added csv, xlsx and sav to the gitignore. I've also deleted .DS_Store from the repo
The intention here is to be able to store the Kaggle data locally, within the repo folder, and not have it end up here.


Typo or more esoteric comp sci question?

"Write a get_prim method in python/perl/bash/pseudo."
Is this asking for a method to find a minimum spanning tree in a weighted undirected graph (an implementation of Prim's Algorithm), or was there a typo and what you really meant to ask for was an algorithm for finding prime numbers ('get_primes' perhaps)?

I see :) ... I mean a function/algorithm for finding some prime numbers, you are right "get_primes" would be a better name. But anyway, questions about graphs and spanning tree would also be a possibility. feel free to submit a PR with your questions.


Rivers and streams without area outlines seem to be missing

Only looked because of mapping a river area in the Castiglione Messer Raimondo zone to notice that there's no showing of any stream/river blue (now an hour ago). Visited other places where they are mapped which makes them visible but only for the area mapped sections. The river runs north south here between the 2 tree strips where I've pencilled in a line.

Duplicate of https://github.com/StrandedKitty/streets-gl/issues/33


added variant install tests to test_release

just turned some code I had for understanding how rez-release handles variants into a formal unittest...

Closing this now that master is the target branch - see:
https://github.com/nerdvegas/rez/pull/262


Showell update user tests

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

Hmmm, I'm a little perplexed by the mypy warning here.

This one is arguably one the rare cases that mypy shouldn't complain about.  Basically the issue is there's an empty container (the dict on that line) which mypy can't figure out the type of and thus type-check.  You can fix the issue by adding a # type: Dict[str, Any] (or whatever the type is) on that line, but probably simpler would be to just pass {} to the function directly.

Fair enough, I can see why empty containers are tricky for static checkers.  Ok, I just inlined {} as you proposed.

Merged, thanks @showell!  You're really on a tear with these test coverage fixes :)

Haha, @timabbott, yep. :)  This is one more item off of #1002 -- I will try to get to the file upload stuff tomorrow.


Is it possible to "freeze" the queries in a page so they only refresh manually, and don't when you refresh tabs?

Is your feature request related to a problem? Please describe.
I have a page with a handful of different views to keep track of tasks, its takes a moment to load each time, and reloads when I switch from the tab and back to it.
Describe the solution you'd like
Perhaps Dataview should keep a list of pages in the settings which the user doesn't want refreshed automatically, and if its not already implemented, there should be a way to keep views and queries cached so they stick when the user switches between tabs.

Duplicate of https://github.com/blacksmithgu/obsidian-dataview/issues/42

@MarioRicalde Skimming that post its looks like its about converting query results into markdown. Here I still want the query to be shown, I just don't want it to automatically refresh.

The other one can achieve what you want, if implemented properly. Keeping the query adjacent and generating the markdown so it's "frozen". This is something that I already got going for my index tables.

@YousufSSyed This what I would suggest (and is also how I am currently using Dataview)

Increase the "Refresh Interval" in the Dataview settings to a longer interval like 60000 ms (60secs) so it does not refresh too often
Use the Dataview Command: "Force Refresh All Views and Blocks" to manually refresh your views.
Use the "Commander" community plugin to add this command as a clickable button to the ribbon to make it more accessible


UTOPIA-430: Questionaire Updates

Description
This PR includes the following proposed change(s):

Updates PPQ Form to reflect iteration 2 of designs
Re-configures interfaces to match questions
Reworks styling to be more responsive and support different browsers
Fixes weird Navbar margin issue that was occurring on some pages

NOTE!!!
Form submission still responds with a 400 and I have yet to accurately diagnose the problem. Any help here would be greatly appreciated.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Refactoring / Documentation
[x] Version change

How Has This Been Tested?

Ran the app in multiple browsers to test compatibility
Checked screen size responsiveness
Submitted form to check API response (still WIP)

Development Dependency Working Agreement

[x] My code DOES NOT include the importing of new dependencies into the DPIA ecosystem
[ ] My code DOES include the importing of new dependencies into the DPIA ecosystem
If new dependencies are being introduced to the DPIA ecosystem:
[ ] The functionality of the dependency drastically reduces code complexity and makes my changes more easily maintainable and readible
[ ] The dependency being introduced does not contain multiple layers of nested dependencies introducing maintainability complexity to the DPIA ecosystem

Frontend Development Changes

[ ] N/A
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to project documentation or diagrams that reflect my changes
[ ] New and existing unit tests pass locally with my changes
[x] My code follows Airbnb React Style Guidelines

API Development Changes

[x] N/A
[ ] I have performed a self-review of my own code
[ ] My code follows standards and practices outlined in the BC Government API Development Guidelines
[ ] New and existing unit tests pass locally with my changes
[ ] My changes includes Swagger documentation updates that reflect the changes I am introducing

Definition of Done

I think you did not merge latest main branch to your branch cause the 400 error. I checked the main branch, the ppq dto already update but your backend still have email etc.  after you merge with main,then
try run docker system prune -a to remove all the containers
then run  docker volume rm $(docker volume ls -q) to remove all the volumes
then run make app-run to start the app, it should be work

I think you did not merge latest main branch to your branch cause the 400 error. I checked the main branch, the ppq dto already update but your backend still have email etc. after you merge with main,then try run docker system prune -a to remove all the containers then run docker volume rm $(docker volume ls -q) to remove all the volumes then run make app-run to start the app, it should be work

I followed your instructions and, unfortunately, I still receive a 400 response on POST.


WIP - Rendering pipeline.

I don't intend to merge this yet; I'm opening this PR as a proposal and as a way to ask questions as they come along.
The motivation for a rendering pipeline is because I don't think Rack is the best place to do asset_hash, asset_host, and other content substitution for a rendered page because:

The HTTP context is not needed. e.g. we can assume all requests to Middleman are GET requests.
Its difficult to access the Resource object from the Rack context. In the case of the inline_url_writer, which is used by the asset extensions, Middleman has to jump through a bunch of hoops to figure out if an asset is of a certain type. For example, the Rack middleware looks at file extensions to determine if something is a css asset. Wouldn't it be cleaner to just iterate through a list of resources and call Resource#content_type?

I also think this is a much cleaner API for extension developers to tap into so they don't have to understand all of the stuff going on in rack (don't forget to make the last element in the response array an array!)
Currently the code in this PR is capable of:
# From config.rb ... a contrived example of URL rewriting
ready do
  sitemap.resources.each do |r|
    r.pipeline << (body) -> { body.gsub('https://non-cdn-host.com', 'https://cdn-host.com') }
  end
end

Implementation plan

[x] Get feedback from @tdreyno about the current approach and gain understanding of:

Resource life-cycle - Is ready the right block to configure the pipeline? Where should I add filters to the resource pipeline when the app boots? When a page reloads? When the config reloads?
Pipeline could be confused with ExternalPipeline. Bike shed for 2 seconds on naming (Filters?).
How can I make these filters performant? e.g. where can I memoize the pipeline? It gets wiped out every time a resource is reloaded.

[ ] Write unit tests for the new Pipeline class.
[ ] Pick a core extension to port over into the pipeline. The InlineUrlRewriter is pretty gnarly so I might start with that.
[ ] If everything feels right, port over all middleman core extensions (and maybe a few contrib extensions, like middleman-syntax) to use the rendering pipeline.

Naming: Rewriter, Middleware, Filter, ContentFilter
I'm guessing a rewritten inline url rewriter could look something like:
HTML:
sitemap.resources
    .select { |r| extensions.include?(r.ext) }
    .each { |r| r.pipeline << make_rewriter() }

Where make_rewriter is the regex stuff. Would be nice to keep the functionality abstract so others could build filters which parse URLs from content.
As far as the response proc, how about we allow 2 options:

A proc, takes a string, returns a string.
A class instance which responds to execute_filter which takes a resource and a string, returns a string.

This will allow more complex filters, things that need shared state or caches.
Finally, when to do things. I would think it would still happen in a manipulation step. Inline in config.rb may have additional complications, we'll just have to see.
Thanks for diving into this!

Thanks @tdreyno! This is going to be a slow roll since I just had a child 22 days ago. Feel free to close this PR if you want to keep this repo clean and I'll just re-open when I make some progress on this.

Congrats! No rush, this can sit for a while. Maybe I'll contribute as well if I get some down time

Exploring more, here https://github.com/middleman/middleman/commit/6b6bb2eaffca060f9d7643db13862e6d31ec96b3

Closing in favor of: https://github.com/middleman/middleman/pull/1900


package not working on Atom

Just installed the package and .feature file is not highlighted and no autocomplete is working
I have the .feature files under feature directory of my app

Do you have the language-gherkin package installed? I didn't at first, and noticed similar behavior.


Provide a way to copy dynamic metadata

Currently, if we want to copy the metadata from one plug to another, we can use:
Gaffer.Metadata.plugValue(srcPlug, metadataValueName)
However, that computes the value, at that time, for any dynamic plugValue (when you register a function call).
There should be some way of getting the function, and no the result from the function, so we can copy it to the new plug and keep it dynamic.

I think this relates to another metadata request - the ability to register a metadata function per-instance rather than only at the node/name level. We'd need that in order to be able to serialise the function when saving the file. The key problem being that I've been unable to find a good way of automatically serialising a python function - if anyone knows of one, I'm all ears.


Using appveyor to git bisect the compilation failure in libsass 3.3.2

This served its purpose. Thank you AppVeyor.


animation_started signal for AnimationPlayer

signal is called animation_started and have one parameter name of the animation that had just started

Does it work with blended animations?

Yeah it should work with blended animations as well, the signal is emitted from the 'play' function which is the only one which is able to start an animation directly (blending is configured inside this function also).

I have just noted this, from the #10729 issue, by philosophy we never add signals that are emitted when a function is directly called, so I guess this should be reverted/removed

What with the case when animation is played because of next (auto queue) in blend times dialog?
Or when animation is started by external animation player (lets say someone who cant code is using additional animation player to steer animation playback of other animation players?)


Line 1438 : Illegal function call (LOCATE errors at smaller screen sizes)

Hey Ashish! Thanks for submitting this issue.
Try opening \data\settings.datnet with an editor and increasing the third value (somehwere from 1.0 to 2.5). The line that causes the Illegal function call is a LOCATE statement, so it is likely out of bounds.
How big is the screen you're starting DATANET on?

@loudar I have 1366 x 768

@loudar I have 1366 x 768

That should technically work I think. Have you tried changing the value?

Fixed the issue by implementing set screen sizes for screens bigger than 1500, below that it's just the desktop width. Will have to check that all placement will be done inside the window.


[BUG] TransportationName: calculate rank doesn't handle major roads that are not part of a preconfigured network

Describe the bug
In Germany Planetiler is generating only few refs for major roads like motorways or trunks. The reason seems to be that Planetiler calculates the rank of a relation based on if it's part of a set of preconfigured networks (like US:). If these are not set, Planetiler uses other tags for hiking networks etc to figure out the rank. See the code here.
Here are two examples from Germany where this approach does not work properly which leaves major roads without road signs.
Motorway: https://www.openstreetmap.org/relation/2166961
Trunk: https://www.openstreetmap.org/relation/1506786
Expected behavior
As these are important roads, it would be good to have road signs for these roads.
Screenshots
Here is a comparison on z11 between OMT (has road signs) and Planetiler (no road signs):

Potential fix
The transportation_name_minor could be only used for minor roads. This would invalidate the fix for #145.
So how about we apply a low rank for relations with network=e-road and when getting the relations of a road, we order them by rank? So right now, the default rank is 3, so maybe e-roads could be rank 4?

Haven't heard back, is this something you would like a contribution? Or is this something that wouldn't be that relevant to you?

Hey sorry I just haven't had a chance to look into this. For B313 at least it looks like it does show up (because each of the ways in it also has a ref tag), but only starting at z12:

The reason is that openmaptiles sets a min length of 8km for transportation_name segments to appear at z11. The trunk portion of B13 is just over 9km so gets emitted, but planetiler translates that length limit to a min pixel size of the feature on a tile and that segment happens to cross a tile boundary

I can see two possible fixes here:

Use a larger buffer for transportation_name tiles at z11 and below so the min length computation includes the full segment
To catch the case where a way is in a relation that has a ref but no network (and there's no ref on the way) we could add an option that breaks from openmaptiles compatibility and uses that ref on the transportation_name linestring

What do you think @boldtrn ?

Use a larger buffer for transportation_name tiles at z11 and below so the min length computation includes the full segment

Actually we already do that... it turns out that the issue here is that some onramps/offramps to B313 are tagged with ref=B 313 (for example https://www.openstreetmap.org/way/845773628) and the line merging code stops merging at 3-way intersections and none of the line segments ends up exceeding the 8km min-lenth limit.  I'm planning to refactor the line merging code at some point (#54) so it's more robust to these kinds of issues.
In the meantime you can run planetiler with --transportation-name-limit-merge which groups onramps separately from main roads. When I run with that option, I can see B313 shield as low as z8

That option is disabled by default since it differs from openmaptiles, but if you find that the output is actually closer to openmaptiles with it enabled then we can enable it by default.

Thanks @msbarry for the proposal. Are there any side-effects when using --transportation-name-limit-merge? Is there anything I should look out for when using this parameter?

Nope, it should be isolated to only affect transportation_name layer, and in general will make road labels show up a bit more frequently on the map at lower zooms. It should not be a huge difference though.

Thanks @msbarry this parameter seems to indeed improve the rendering of highway signs. Compared to OMT there are still fewer highway signs (B10 and A8 is still missing).

Is there be something else that I could try? If a code change is required I can create a PR as well, but I might need a hint or two :).

Are you sure they're not showing up in the underlying tile data and it's not a style rendering issue? When I look in tileserver-gl I see B10 and A8:

Thanks for the hint, you are right, sorry for the troubles, they indeed appear in the data (I should have checked that).
Should we close this issue then?

@boldtrn I think this is good to close for now? #298 tracks the long-term improvements to feature merging

Sounds good, thanks for your work @msbarry 👍


[CP][stable channel] Merge a3767f7db86a85fcd6201e9357ad47b884002b66 to stable channel (2.13)

commit(s) to merge: a3767f7db86a85fcd6201e9357ad47b884002b66
merge instructions: clean merge
What is the issue: Flutter AOT precompiler crashes (https://github.com/flutter/flutter/issues/83094)
What is the fix:  Generate non-speculative Unbox instructions for Phis
Why cherrypick: This crash was reported by a Flutter user and it is possible other Flutter users may also run into this crash. When such a crash is reported it is not obvious the crash is because of this issue and we would spend additional engineering cycles investigating the crash and narrow it down to this cause.
Risk: The change has landed in master and is in the process of being rolled into Flutter. We should wait for it to be rolled fully which I hope will happen over the weekend.
Link to original  issue(s):  https://github.com/flutter/flutter/issues/83094
/cc @kevmoo @mit-mit @whesse @athomas @vsmenon @franklinyow @alexmarkov

CC @kf6gpe

@alexmarkov @mraleph
The original issue flutter/flutter#83094 is still open.
Can you give an update on the roll progress?

I don't think this made the last cherrypick window. @christopherfujino can you confirm?
If not, let's keep this in mind for the next hotfix release. There's not one scheduled, but I could see taking this if we get enough to proceed.

@kf6gpe We have not approved this pick.  So this won't be in the last cherrypick window.

Got it. I'll wait until it's approved and then add it to the list. Thanks!

Description:
Fix an crashing issue in Flutter precompiler  , see flutter/flutter#83094 for detail

Merged to stable in 516eb3b05c252ef3d34255d06700c1f09f7f4502 (2.13.3).


Add parse datetime from string

Hello, a new user of Explorer here! I'm not sure if this is already implemented, please point me to the right direction 🙏
I would like to be able to parse string columns into datetime columns without having to drop down to Elixir. In particular, I have something like the following in mind:
  series = Series.from_list(["2023-01-05 12:34:56", "XYZ", nil])

  assert Series.parse_datetime(series, "%Y-%m-%d %H:%M:%S") |> Series.to_list() ==
           [~N[2023-01-05 12:34:56.000000], nil, nil]

  df =
    DF.new(
      a: ["2023-01-05 12:34:56", nil],
      b: ["2023/30/01 00:11:22", "XYZ"]
    )

  df1 =
    DF.mutate(df,
      c: parse_datetime(a, "%Y-%m-%d %H:%M:%S"),
      d: parse_datetime(b, "%Y/%d/%m %H:%M:%S")
    )

  assert DF.to_columns(df1, atom_keys: true) == %{
           a: ["2023-01-05 12:34:56", nil],
           b: ["2023/30/01 00:11:22", "XYZ"],
           c: [~N[2023-01-05 12:34:56.000000], nil],
           d: [~N[2023-01-30 00:11:22.000000], nil]
         }

If this would be useful, I've taken a first stab at implementing it here.

Looks great to me! I would call it strptime and we can add strftime too.


Rustdesk's headless mode.

Issue description
Since 1.2, rustdesk support headless mode. It try to install services to system. However, it failed. It should be included in nixpkgs.
Steps to reproduce

Allow linux headless
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
This is an feature request. So it was not required.
CC @0x4A6F for adding the new feature.

systemd.services.rustdesk = {
    enable = true;
    description = "rustdesk";
    serviceConfig = {
      ExecStart = "${pkgs.rustdesk}/bin/rustdesk --service";
      ExecStop = "pkill -f \"rustdesk --\"";
      PIDFile = "/run/rustdesk.pid";
      KillMode = "mixed";
      TimeoutStopSec = "30";
      User = "root";
      LimitNOFILE = "100000";
    };
    wantedBy = [ "multi-user.target" ];
    requires = ["network-online.target"];
    after = ["display-manager.service"];
  };

This is my way

It sometimes report that the root permission is required. However it runs with root. I think that's because it didn't detect the services correctly and it tries to install the service. We should find some ways to make it happy.


Zwave thermostat fan mode function not working after upgrading from 0.43

zwcfg_0xd1e3b820.zip
Home Assistant release (hass --version):
0.52.0
Python release (python3 --version):
Python 3.4.2
Component/platform:
Zwave
OpenZwave Version 1.4.2384
I'm attaching zwcfg file
Description of problem:
I  updated to 0.52 from 0.43 and now my Zwave thermost fan cannot be controlled anymore. All other Zwave devices and the thermostat itself are working with the exception of being able to set the fan state. Here’s an automation that worked fine before upgrading:
- alias: Turn off House Fan with B5 or B8
  trigger:
    - platform: mqtt
      topic: '/X10/B5'
      payload: 'Off'
    - platform: mqtt
      topic: '/X10/B8'
      payload: 'Off'
  action:
    service: climate.set_fan_mode
    entity_id: climate.trane_model_tzemt400ab32maa_cooling_1
    data:
      fan_mode: 'Auto Low'

when this automation runs, I see this in my logs:
TypeError: expected bytes, str found
2017-08-19 12:11:42 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
    result = coro.throw(exc)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/core.py", line 1025, in _event_to_service_call
    yield from service_handler.func(service_call)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/climate/__init__.py", line 359, in async_fan_mode_set_service
    yield from climate.async_set_fan_mode(fan)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/climate/zwave.py", line 191, in set_fan_mode
    self.values.fan_mode.data = fan
  File "/srv/homeassistant/lib/python3.4/site-packages/openzwave-0.3.1-py3.4.egg/openzwave/value.py", line 292, in data
    self._network.manager.setValue(self.value_id, value)
  File "src-lib/libopenzwave/libopenzwave.pyx", line 2825, in libopenzwave.PyManager.setValue (src-lib/libopenzwave/libopenzwave.cpp:21717)
TypeError: expected bytes, str found

Thermostat is a trane_model_tzemt400ab32maa
Here's a list of the attributes:

fan_list: Auto Low,On Low
fan_mode: Auto Low
min_temp: 45
old_entity_id: climate.trane_model_tzemt400ab32maa_cooling_1_6_2
value_instance: 1
fan_state: Idle
temperature: 79
current_temperature: 80
operation_list: Aux Heat,Off,Auto,Heat,Cool
operating_state: Idle
operation_mode: Cool
node_id: 6
value_index: 2
new_entity_id: climate.trane_model_tzemt400ab32maa_cooling_1
friendly_name: Trane Cooling
max_temp: 95
unit_of_measurement: °F

Expected:
Fan mode should be able to accept data modes as it did previously
Additional info:
I've made a post on this on the forum and was directed to generate a ticket.  You can see that thread here:
https://community.home-assistant.io/t/updated-to-0-51-1-from-0-43-now-zwave-tstat-fan-doesnt-work/24951

I just used 'OpenZWave Control Panel' and am able to change 'Fan Mode' without problem.  This seems to definitely be a bug in HASS.

You most probably have the wrong python-openzwave version installed. This was changed som time ago in python-openzwave.

@turbokongen Thanks for the tip.  I'm not sure how to check this but perhaps this is right?
pi@hassbian:~$ python /srv/homeassistant/src/python-openzwave/pyozw_version.py
0.3.1

That is right, but wrong ;) The correct version would be <IP_ADDRESS> for latest. You should atleast have a <IP_ADDRESS> version or higher. You can install it with pip now;)

@turbokongen Sorry.  Jumped the gun.  That's my 0.43 install.  I need to swap cards to see what's on the 0.52.0 version.
Wouldn't it be strange that that's the only function that's not working and that all other zwave functions work without problem?

Setting the thermostat mode will also not work. Otherwise, everything else will work as normal.

@turbokongen I just had a chance to check and I indeed was running 0.3.1 on the 0.51 version as well.  I did
sudo pip install python_openzwave
When I run the above command I still return with 0.3.1 but when I run 'pyozw_check' it returns <IP_ADDRESS> .  It seems that I have both versions installed now but HASS is still using the older version as the error message I get when setting the fan mode has a path that shows the older version:
 File "/srv/homeassistant/lib/python3.4/site-packages/openzwave-0.3.1-py3.4.egg/openzwave/value.py", line 292, in data
I think I'm pretty close to getting this solved.  Can I trouble you one last time to help me straighten out this versioning issue?  Thank you immensely!

It looks like you are running hass in a virtualenv and have installed with sudo(root)

First stop homeassistant.
First do sudo pip uninstall python-openzwave
Enter your virtualenv sudo su -s /bin/bash HOMEASSISTANT_USER followed by source /srv/homeassistant/bin/activate
Do sudo pip uninstall python-openzwave and finally pip uninstall python-openzwave
You might get some errors, but that is just due to already uninstalled package.
The restart homeassistant.

Did as instructed.  I'm getting this error when trying to set fan mode:
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
    result = coro.throw(exc)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/core.py", line 1025, in _event_to_service_call
    yield from service_handler.func(service_call)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/climate/__init__.py", line 359, in async_fan_mode_set_service
    yield from climate.async_set_fan_mode(fan)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result

OZW log shows:
2017-09-16 10:12:56.930 Always, OpenZwave Version 1.4.2384 Starting Up
Any ideas on what might be happening?  The error is different than the previous error.

There's more to that traceback than you have pasted.

I'm pulling this from the home-assistant.log file.  Is that correct?
2017-09-16 10:14:13 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform cast is taking over 10 seconds.
2017-09-16 10:42:39 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
    result = coro.throw(exc)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/core.py", line 1025, in _event_to_service_call
    yield from service_handler.func(service_call)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/climate/__init__.py", line 359, in async_fan_mode_set_service
    yield from climate.async_set_fan_mode(fan)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/climate/zwave.py", line 191, in set_fan_mode
    self.values.fan_mode.data = fan
  File "/srv/homeassistant/lib/python3.4/site-packages/openzwave-0.3.1-py3.4.egg/openzwave/value.py", line 292, in data
    self._network.manager.setValue(self.value_id, value)
  File "src-lib/libopenzwave/libopenzwave.pyx", line 2825, in libopenzwave.PyManager.setValue (src-lib/libopenzwave/libopenzwave.cpp:21717)
TypeError: expected bytes, str found
2017-09-16 12:08:57 ERROR (Thread-15) [pychromecast.socket_client] Error reading from socket.

Looking at this now it appears that it is still using openzwave-0.3.1 despite OZW log showing it's using 1.4 .   I followed your instructions using user 'homeassistant'.  That user owns the files in /srv/homeassistant/lib/python3.4/site-packages/openzwave-0.3.1-py3.4.egg so I'm assuming that that is the correct user to use.  Also, you state using sudo in the venv which I've read does not exist.  I did not do this as sudo.  Lastly, you put unintsall twice but I'm cetain that was typo and should have been install which I did.
As stated before, I'm using HASSBian distro.  That distro has a script for install OZW.    I've attached that script in the hopes that it might help in diagnosing.
Thank you again for your time and effort.  I really thought the upgrade to 0.51 would have updated everything necessary but it seems that, in my case, additional steps needed to be taken.  I think we're close and I'm excited to get my system current.  Thanks!
install_openzwave .sh.txt

openzwave and python-openzwave are different packages.
Your openzwave version is 1.4 and your python-openzwave version is 0.3.1
It's the python-openzwave part that is wrong.
If you do sudo find / -type d | grep zwave you will get everywhere zwave libs are installed.
Uninstall all except homeassistant source files.
If you can't get them with pip uninstall remove them manually with rm -f -R DIRECTORY_TO_DELETE
Homeassistant will automatically install python-openzwave 0.4.31 and openzwave for you at startup.

I've removed all libs but left the source files.  I've restarted and I see this in the logs:
2017-09-16 13:02:20 ERROR (MainThread) [homeassistant.loader] Unable to find component zwave
2017-09-16 13:02:20 ERROR (MainThread) [homeassistant.setup] Setup failed for zwave: Component not found.
2017-09-16 13:02:21 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.climate.zwave. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 142, in get_component
    module = importlib.import_module(path)
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/climate/zwave.py", line 12, in <module>
    from homeassistant.components.zwave import ZWaveDeviceEntity
ImportError: No module named 'homeassistant.components.zwave'
2017-09-16 13:02:21 ERROR (MainThread) [homeassistant.loader] Unable to find component climate.zwave

I've checked the running processes via top and it doesn't look like it's building anything.

That's wierd...
Anyhow, you can manually install by doing: pip install python-openzwave inside your virtualenv.

Just tried manually installing and all seemed to go well.  On reboot I get the same errors as mentioned above.
Should I try using the HASSBian script I posted above after uninstalling what I just installed?

Give that a try :+1:

@turbokongen So I've restored from my original image, and then used the HASSBian install script.  Rebooted and have the same issue.  I just went into my venv and did a ' pip install --upgrade python_openzwave', rebooted, saw that it was building something (saw python and ccp compilers in top), tried the fan mode again and still errors:
2017-09-16 15:16:01 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
    result = coro.throw(exc)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/core.py", line 1025, in _event_to_service_call
    yield from service_handler.func(service_call)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/climate/__init__.py", line 359, in async_fan_mode_set_service
    yield from climate.async_set_fan_mode(fan)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/climate/zwave.py", line 191, in set_fan_mode
    self.values.fan_mode.data = fan
  File "/srv/homeassistant/lib/python3.4/site-packages/openzwave-0.3.1-py3.4.egg/openzwave/value.py", line 292, in data
    self._network.manager.setValue(self.value_id, value)
  File "src-lib/libopenzwave/libopenzwave.pyx", line 2825, in libopenzwave.PyManager.setValue (src-lib/libopenzwave/libopenzwave.cpp:21717)
TypeError: expected bytes, str found

I guess I just don't understand how to update and/or uninstall python-openzwave as it appears that it is still using the 0.3.1 version.  Thank you for your patience with me.  This is pretty frustrating.

We are on the right track ;)
First you ended up with mising library, which meant that homeassistant was not automatcally installing the zwave lib. Then you ran the hassbian script, and ended up with the original error and python-openzwave.
Based on those facts, I would say that you are running an older version of Homeassistant.

I'm having the same issue, running Hassbian on a pi. hass version 0.53.1, Python 3.4.2.
Stack trace:
2017-09-20 20:38:53 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/core.py", line 1025, in _event_to_service_call
yield from service_handler.func(service_call)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/climate/__init__.py", line 376, in async_operation_set_service
yield from climate.async_set_operation_mode(operation_mode)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/climate/zwave.py",line 196, in set_operation_mode
self.values.mode.data = operation_mode
File "/srv/homeassistant/lib/python3.4/site-packages/openzwave-0.3.2-py3.4.egg/openzwave/value.py", line 292, in data
self._network.manager.setValue(self.value_id, value)
File "src-lib/libopenzwave/libopenzwave.pyx", line 2835, in libopenzwave.PyManager.setValue (src-lib/libopenzwave/libopenzwave.cpp:21886)
TypeError: expected bytes, str found

I suspect some part of pip3 install --upgrade homeassistant isn't upgrading the python-openzwave library, although I don't know enough about python package management to know why. So, I ran pip3 install --upgrade python-openzwave' (from my hassbian's homeassistantaccount) which installedpython_openzwave-<IP_ADDRESS>`
I started up the service again and had the same problem. Here are the logs:
Sep 20 20:55:41 hassbian hass[27767]: 2017-09-20 20:55:41 INFO (Thread-2) [homeassistant.util.package] Attempting install of python_openzwave==<IP_ADDRESS>
[ roughly 7 minutes of compiling later… ]
Sep 20 21:03:48 hassbian hass[27767]: 2017-09-20 21:03:48 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Sep 20 21:03:48 hassbian hass[27767]: Traceback (most recent call last):
Sep 20 21:03:48 hassbian hass[27767]: File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
Sep 20 21:03:48 hassbian hass[27767]: result = coro.throw(exc)
Sep 20 21:03:48 hassbian hass[27767]: File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/core.py", line 1025, in _event_to_service_call
Sep 20 21:03:48 hassbian hass[27767]: yield from service_handler.func(service_call)
Sep 20 21:03:48 hassbian hass[27767]: File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/climate/__init__.py", line 376, in async_operation_set_service
Sep 20 21:03:48 hassbian hass[27767]: yield from climate.async_set_operation_mode(operation_mode)
Sep 20 21:03:48 hassbian hass[27767]: File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
Sep 20 21:03:48 hassbian hass[27767]: yield self  # This tells Task to wait for completion.
Sep 20 21:03:48 hassbian hass[27767]: File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
Sep 20 21:03:48 hassbian hass[27767]: value = future.result()
Sep 20 21:03:48 hassbian hass[27767]: File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
Sep 20 21:03:48 hassbian hass[27767]: raise self._exception
Sep 20 21:03:48 hassbian hass[27767]: File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
Sep 20 21:03:48 hassbian hass[27767]: result = self.fn(*self.args, **self.kwargs)
Sep 20 21:03:48 hassbian hass[27767]: File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/climate/zwave.py", line 196, in set_operation_mode
Sep 20 21:03:48 hassbian hass[27767]: self.values.mode.data = operation_mode
Sep 20 21:03:48 hassbian hass[27767]: File "/srv/homeassistant/lib/python3.4/site-packages/openzwave-0.3.2-py3.4.egg/openzwave/value.p$", line 292, in data
Sep 20 21:03:48 hassbian hass[27767]: self._network.manager.setValue(self.value_id, value)
Sep 20 21:03:48 hassbian hass[27767]: File "src-lib/libopenzwave/libopenzwave.pyx", line 2835, in libopenzwave.PyManager.setValue (src$lib/libopenzwave/libopenzwave.cpp:21886)
Sep 20 21:03:48 hassbian hass[27767]: TypeError: expected bytes, str found

It looks like it's still using the old python-openzwave, despite the first line in my log excerpt. Any ideas on getting python-openzwave upgaded for reals?

Please install latest version of Hassbian (1.3) and see if that solves your problems.
https://github.com/home-assistant/pi-gen/releases/tag/1.3

@turbokongen I'm just seeing this but I did exactly that this weekend.  It indeed fixed the problem albeit a very brute force way of doing so.  In copying my configuration files back over, I noticed that I was explicitly specifying the old version in my install directory (if I'm remembering that right).   I remember that I had to use that last year when I set up HASS.  That's probably the problem I had all along.  Apologies for the trouble.  Closing the ticket.


Feed Dialog support?

Can I update status with this plugin?
https://developers.facebook.com/docs/sharing/reference/feed-dialog

are you integrate this dialog? i trying right now but i got a problem with android, ios works good


How to call an Azure trigger with Javascript SDK createDocument() is missing from all documentations

I searched the internet for an example or an api definition that says how to call the trigger when creating documents and I could not find anything. Microsoft just creates tons of documentation but not in any depth. The example here is with container.items.create(), but there is also a collection.createDocument() given in other examples, especially the stored procedures. I do not know what is the difference calling either and when to use what. Just random examples using either. No reference to an API documentation
For example, I try to call that by using multiple examples together and a lot of guessing:
collection.createDocument(collection.getSelfLink(), {"name": "A"},  {preTriggerInclude: ["test"]})
It does not call the trigger and now I doubt if the "preTriggerInclude" is a valid value when using createDocument() call, but nowhere I can find any reference for this. How does Microsoft expect people to find this information. Just random code examples everywhere without reference to an official documentation page for that function or entity.
When you visit the trigger section it shows examples with container.items.create(), but if you go for the store procedure section it shows collection.createDocument() as the way to create. There is no logic on why one or the other is chosen. If a person wants to call a trigger when inserting a new "item" through stored procedure he is stuck. Because Microsoft just creates random documentation and not backed up by any API reference. Just frustrated trying to make a simple, basic thing work.
Note: I find it strange, from my experience, that a trigger does not get automatically triggered and the clients can choose to call or not call and the default is not to call. But that is on the product and I can only blame the organization for buying products from Microsoft. But wasting my life looking for information from Microsoft documentation, I blame myself

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

ID: 41c14e93-d46f-7b9d-a0e0-730f8978c388
Version Independent ID: cc46cf3b-eaa4-8a7a-78f1-88fd8526aa3a
Content: Write stored procedures and triggers using the JavaScript query API in Azure Cosmos DB
Content Source: articles/cosmos-db/sql/how-to-write-javascript-query-api.md
Service: cosmos-db
Sub-service: cosmosdb-sql
GitHub Login: @seesharprun
Microsoft Alias: sidandrews

Hi @sijucm,
Thanks for sharing your observation.
We will investigate and assign it as approriate.

Hi @eesharprun,
Could you please look into this request and assist as appropriate. Thanks!

@sijucm, you are right that it's confusing comparing the two ways you can use JavaScript with Azure Cosmos DB:

Node.js SDK for Azure that includes support for Azure Cosmos DB
Server-side native JavaScript support

On the server-side JavaScript support, you are right that the collection.createDocument() syntax is based on an older version of the JavaScript SDKs for Azure Cosmos DB.
We have some work planned to revamp our server-side JavaScript documentation to make it clear it's based on a completely different SDK than the Node.js code samples for working with Azure Cosmos DB from your own code.
I hope this is helpful
#please-close


Slow load on rendering JSON response, Slim 3.8.1

Hello--- I'm building a simple API based on Slim framework 3.8.1. I'm having an issue where the response is taking ~10 seconds to render. I've verified by process of elimination that it's the actual render of the response that's taking ~10 seconds--- it's not the database query, application bootstrap, etc.
I'm loggin the data I'm getting from the endpoint and it retrieves and renders it more or less instantly. The route actually even renders the JSON output right away in the browser, but then continues to spin for ~10,000ms.
Not sure what's going on here, especially since it's a pretty small set of data. Verified that this is happening in various browsers and also tests in REST clients like Postman.
I verified the middleware has long since executed when this waiting has happened, so that doesn't appear to be it.
Here's the minimal version of what I'm doing.
    <?php
    $api = new Slim();

        $api->any('/{plant}/{noun}', function ($request, $response, $args) {
           //... $my_json created near instantly
            return $response->withStatus($status)->withJson(
                                $my_json
                            ); // ^^^ json displays right away on page load but then page spins
        })->add(new RoutingMiddleware());

If I use ->write() and just send a short text string instead it's fine. If I pass JSON to ->write() it hangs the same, for ~10 seconds.
Oddly though if I do something simple like  return $response->withStatus(404)->withJson(['foo'=>'bar']); it returns a response instantly, with the caveat that the response body is truncated and just shows {" instead of the full {"foo":"bar"} response I'm expecting.
Here's the JSON body I'm passing successfully but that renders for ~10 seconds:
    {
      "data": {
        "id": "14",
        "user_id": "1",
        "name": "foozzz",
        "description": "1q234567u12349",
        "sku": "",
        "price": "123.00",
        "shipping": {
          "r1-1": "123.00",
          "r1-1+": "123.00",
          "r2-1": "123.00",
          "r2-1+": "123.00"
        },
        "flexible_price": "1",
        "digital_fulfillment": "1",
        "physical_fulfillment": "1",
        "physical_weight": "0",
        "physical_width": "0",
        "physical_height": "0",
        "physical_depth": "0",
        "available_units": "-1",
        "variable_pricing": "0",
        "fulfillment_asset": "9",
        "descriptive_asset": "64",
        "creation_date": "1499186300",
        "modification_date": "1499707715",
        "variants": {
          "attributes": [],
          "quantities": [
            {
              "id": "13",
              "key": "\"{\\\"123\\\":\\\"PURPLE\\\",\\\"2442\\\":\\\"djdoos\\\"}\"",
              "formatted_name": "",
              "value": "13"
            },
            {
              "id": "14",
              "key": "\"{\\\"123\\\":\\\"PURPLE\\\",\\\"2442\\\":\\\"dskmkdjjd\\\"}\"",
              "formatted_name": "",
              "value": "10"
            },
            {
              "id": "15",
              "key": "\"{\\\"123\\\":\\\"dappsajd\\\",\\\"2442\\\":\\\"djdoos\\\"}\"",
              "formatted_name": "",
              "value": "123"
            },
            {
              "id": "16",
              "key": "\"{\\\"123\\\":\\\"dappsajd\\\",\\\"2442\\\":\\\"dskmkdjjd\\\"}\"",
              "formatted_name": "",
              "value": "81"
            }
          ]
        }
      },
      "status": 200,
      "status_uid": "commerce_item_200"
    }

Originally I was thinking it was slow because of the size of the response, but this also takes ~10 seconds to finish loading (once again it renders instantly and then spins for the duration:
    {
      "status": 404,
      "status_uid": "general_404",
      "status_message": "Route not found, or server error",
      "error_name": "There was an error while getting a response",
      "error_message": "The request failed."
    }

Running this on PHP 5.6.30 on Apache/2.2.15 with no other problems like this. Any thoughts of why this might be occurring?
Just to recap: it's taking ~10 seconds to load, but verified it's not the database or middleware. If I take out the return $response the page loads right away, and this happens both with ->write() and ->withJson().
Any thoughts? Thanks!

Got it--- apparently Slim was adding a super long Content-Length header size to the $response and it was making the request take a lot longer to load.
I changed the initialization to this and it fixed the problem:
    $api = new Slim(['settings' => [
        'addContentLengthHeader' => false,
    ]]);

Confirmed that the full render + load time is now 113 ms instead of 10,000ms.
Thanks!

I'm glass you sorted it. I wonder why it's getting the wrong length.


Select dropdown "disabled" items cursor shouldn't be pointer

http://materializecss.com/forms.html
In a select dropdown menu, those with "disabled" shouldn't have pointer as the cursor, instead it should be set to initial.

https://github.com/Dogfalo/materialize/pull/1087

Fixed in 1da02426e9d7d0249eea2da9f73af28aafa74046


Add parameter overload for CakeTaskBuilder.Does.

I would to use a pattern like the following to dynamically build tasks.
The problem is that by running .\build.ps1 -target DefaultB I get an null reference for folder in the does delegate. This is possible through closure, isn't it?
var folders = new []{"A","B"};
var target = Argument("target","DefaultA");

foreach(var folder in folders)
{
  Task("Default"+folder)
    .Does(folder =>
    {
      CreateDirectory(folder);
      //something else
    });
}

RunTarget(target);

Typing on phone now but try something like
var folders = new []{"A","B"};
var target = Argument("target","DefaultA");

Array.ForEach(folders,
    folder=> {
Task("Default"+folder)
    .Does(ctx =>
    {
      CreateDirectory(folder);
      //something else
    });
});

RunTarget(target);

Wow thanks for the fast response. This works.
Still it would be a nicer syntax if we didn't have to use such workarrounds.
Would it be worth the hassle to add this?

Well issue is that you're passing folder as an lambda parameter but it's already declared as a string. Which is invalid c#. So wouldn't call it a workaround per say.
Also I choose Array.ForEach because it has better variable scoping, which leads to more deterministic handling of the captured variables in your Does delegate.
But on the go so I might be missing what the task issue is 😄

My orginal code snippet wasn't quiet right.
var folders = new []{"A","B"};
var target = Argument("target","DefaultA");

foreach(var folder in folders)
{
  Task("Default"+folder)
    .Does(()=>
    {
      CreateDirectory(folder);
      //something else
    });
};

This gets me a null ref exception for folder. I thought that the compiler makes this work by creating a closure.

I believe the correct way is this:
var folders = new []{"A","B"};
var target = Argument("target","DefaultA");
{
  var localFolder = folder;
  Task("Default"+folder)
    .Does(()=>
    {
      CreateDirectory(localFolder);
      //something else
    });
};

After struggling a while with proposal of @RichiCoder1. I found out that only the one from @devlead in the first comment (https://github.com/cake-build/cake/issues/1370#issuecomment-262208959) works  (with 0.17.0). BTW: It works when started from VS Code in debug mode.
I have no glue why the results are different and I wanted to peek into the created assembly but I don't know how to get it out of cake.
Here is my solution, including adding dependency to default task
var configurations = new List<Tuple<string, string>>()
{
    Tuple.Create("Release", "Win32"),
    Tuple.Create("ReleaseClient", "Win32"),
    Tuple.Create("ReleaseClient", "x64"),
    Tuple.Create("Debug", "Win32"),
};

var defaultTask = Task("Default");
defaultTask.Task.AddDependency("Clean");
defaultTask.Task.AddDependency("Restore-NuGet-Packages");

// Create tasks based on configurations list
configurations.ForEach(conf =>
{
    var taskName = String.Format("Build-{0}-{1}", conf.Item1, conf.Item2);
    Task(taskName)
        .Does(() =>
        {
            BuildProject(conf.Item1, conf.Item2);
        });
    defaultTask.Task.AddDependency(taskName);
});

void BuildProject(string configuration, string platform)
{
    MSBuild("./Example.csproj", new MSBuildSettings()
        .SetConfiguration(configuration)
        .WithProperty("platform", platform)
        .SetMSBuildPlatform(MSBuildPlatform.Automatic)
        .SetVerbosity(Verbosity.Minimal)
        .SetNodeReuse(false)
    );
}

Thanks for this great tool.

This is addressed by #1767


Have you planned to give any support for codec ?

Hi Oney,
This is very exciting library for react native , and easy to install.
I was able to use this pretty easily, just wanted to give my thoughts or ask you if you are going to support codec in future releases ?
This question appears because when I tried the library over 2G/3G there was NOT as expected support.  Need to have good feasibility of network.
Regards,
RD.

codecs are included in webrtc native library itself at compile time.
we can track this issue in #79.
once we came out a way to handle those version issue, then we can discuss about what codecs should we included in this repo. ( to have a balance between library size and compatibility )
FYI, codecs I saw on android currently are:
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10; useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:127 red/8000
a=rtpmap:126 telephone-event/8000


UI: fixes login button not work and Single Sign-On tab disabled after logout

Description
This PR for fixes:

[x] The login button in Single Sign-On tab not working
[x] Single Sign-On tab is disabled when logout from the application

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan ui

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6197 (SL-JID-1339)

@blueorangutan ui

@rohityadavcloud a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6197 (SL-JID-1345)

Ping for review @rohityadavcloud @Pearl1594


[Bug] Invoke-DBAQuery -File AbsolutePath throw error

Environmental information

#### PowerShell version:

Name                           Value
----                           -----
PSVersion                      4.0
WSManStackVersion              3.0
SerializationVersion           <IP_ADDRESS>
CLRVersion                     4.0.30319.36543
BuildVersion                   6.3.9600.19170
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion      2.2

#### dbatools Module version:

Name    : dbatools
Path    : C:\ps\modules\dbatools\dbatools.psd1
Version : 1.0.82

# Replace with output of Get-Culture

SQL Server:

/* REPLACE WITH output of @@VERSION */

/* REPLACE WITH output of @@LANGUAGE */

Report

When I run  Invoke-DbaQuery -File AbsolutePath I get "Method invocation failed because [System.Uri] does not contain a method named 'New'."
Invoke-DbaQuery -sqlinstance localhost -File "C:\ps\sql\test.sql"
Host used

[X] powershell.exe
[ ] ISE
[ ] VS Code
[ ] Other (please specify)

If anything other than powershell.exe was used, please confirm that you can duplicate the issue with powershell.exe

[X] Still buggy in powershell.exe

Errors Received

PSMessageDetails      :
Exception             : System.Management.Automation.RuntimeException: Method invocation failed because [System.Uri]
                        does not contain a method named 'New'.
                           at CallSite.Target(Closure , CallSite , RuntimeType , Object )
                           at Invoke-DbaQuery<Begin>(Closure , FunctionContext )
TargetObject          :
CategoryInfo          : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : MethodNotFound
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at Invoke-DbaQuery<Begin>, C:\ps\modules\dbatools\allcommands.ps1: line 46638
                        at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}

Steps to Reproduce

Create a file in the directory "c:\sql" named "test.sql"
In the file type: "SELECT @@Version"
Run the Command: Invoke-DbaQuery -SqlInstance MyServer\MyInstance -File C:\sql\test.sql
Expected Behavior

Query is run without exceptions thrown
Actual Behavior

The following exception is thrown and query is executed:
Method invocation failed because [System.Uri] does not contain a method named 'New'.
At C:\ps\modules\dbatools\allcommands.ps1:46601 char:29

                        $uri = [uri]::New($item)

                        ~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : MethodNotFound

Column1
Microsoft SQL Server 2012 (SP4-OD) (KB4091266) - 11.0.7469.6 (X64) ...

#6184 duplicate


Default value for custom scalar type

As asked by @helfer on graphql-js issue 461, I have written a quick reproduction.
To reproduce, you can give a look on this commit.

hi @denneulin , thanks for reporting!
can you please open a PR for a failing test?

nvm, i was able to reproduce using your repo and it turns out to be graphql parser bug..

Actually, this may be something we have to work around in graphql-tools, because there's no way to specify parseLiteral functions in schema language, which is what you'd have to do in order to properly parse the default value.

But then how it suppose to work? Parse gets text..

i think i've found the place the magic happens.
https://github.com/graphql/graphql-js/blob/7e8e57b9d13d82a54ecc72cb176baad0452cd564/src/utilities/valueFromAST.js#L113
anyway. i don't see an easy way to workaround this..

and this is the place the defaultValue: false is coming from...

Hey - this hasn't had any discussion in a while, and it's not clear if it's still an issue. Please let me know if it is, but I'm going to close for now.


Add new university

@if413017 Please provide us with:

the school official website URL,
the school street address,
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the school
a proof showing that the school recognizes the domain which you are submitting as an official email domain for the students.
Thank you!

@if413017 I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for the understanding!


[perses] version 0.7.1

@hannahbrucemacdonald My attempt to locally package perses is unable to run tests because it doesn't pull down nose. Do you mind if I add that to the recipe?

Please do!

My bad! Sorry!
Thanks @j-wags !

Ok, I think I've got this worked out. Since I built this locally, I don't want the automated build system to see it, so I'm moving perses/ to a new local_builds/ subdirectory until we get the automated builds back.
Tests are passing for me on mac and linux:
git clone git@github.com:choderalab/perses.git

cd perses

git checkout 0.7.1

conda create --yes -n temp_perses -c conda-forge -c omnia/label/rc -c omnia -c openeye perses

conda activate temp_perses

GITHUB_ACTIONS=true nosetests perses --verbosity=3 --with-timer -a '!advanced'

If there are no objections in the next two hours, I'll move this package to the main label and merge this PR.

@j-wags : Thanks so much for helping with this!
I think there's a fatal flaw here: We can't use noarch since the setup.py contains an entry-point:

      entry_points={
       'openmm.forcefielddir' : ['perses=perses:get_datadir'],
       'console_scripts' : ['perses-relative = perses.app.setup_relative_calculation:run','perses-fah = perses.app.fah_generator:run']
      },

When you package with python 3.6, we end up with the entry point command-line executable that only works if your environment is python 3.6:
#!/home/chodera/miniconda/envs/perses/bin/python3.6
# -*- coding: utf-8 -*-
import re
import sys
from perses.app.fah_generator import run
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(run())

So it's not really noarch as a result.


TcpProxy: proxy half-closes

Added optional half-close semantics to Connection.  This is disabled by default
to avoid making all code deal with half-close semantics when they don't need it.
Risk Level: Medium-high
Testing: Existing tests pass.  TODO: write tests for all new code
Docs Changes: N/A
Release Notes: Added
Fixes #2067

@ggreenway will take a look in the morning. While I'm going through and auditing coverage, can you take a look at the missing coverage in TCP proxy?
https://s3.amazonaws.com/lyft-envoy/coverage/report-master/coverage.source_common_filter_tcp_proxy.cc.html
Both of the missing cases seem like it would be good to cover. Thank you.

@mattklein123 The first of those I'd like to delete; I want to make the config be required, so then there won't be an else case at all. Right now, that uncovered code is only hit for websockets.
For the second one, I'll have to think about the right way to test that.  That code is supposed to run if envoy is exiting with open connections, which is tricky to test.  I could probably write a unit test for it, but it wouldn't tell us much, because really we want to know that it works correctly at the stage of shutdown it is called from.  I'll see what I can do on that.

The first of those I'd like to delete; I want to make the config be required, so then there won't be an else case at all. Right now, that uncovered code is only hit for websockets.

Agreed, we should just have a config in all cases to unify the logic.

I think when I wrote that code, you said it wasn't worth the effort to come up with a test for it.

Sorry I think I meant not an integration test. A unit test does have follow because it will usually catch issues with delayed deletion logic (via ASAN, etc.). It's not a huge deal but not a bad idea to add if you have time.

You notice the tsan/asan fails?

@alyssawilk Looks like it's the filter-example failing to build, although I don't understand why only asan and tsan failed.  Please review/merge https://github.com/envoyproxy/envoy-filter-example/pull/34.

Current status: Main code and integration tests in reasonable shape, and I think code review feedback is addressed.  Unit tests aren't finished yet; need more coverage of the new behavior still.

Current status: mostly ready for review, and feedback on where more tests may be needed.
Still have one failure in tcp_proxy_integration_test, and one more test I want to write (TODO in file to remind me).

@alyssawilk There currently isn't any unit test coverage of the transports.  I think that's probably because all they do is make syscalls or call into the ssl library, both of which make unit testing not very practical.  I think I have reasonable coverage of the transports in the integration tests.  Thoughts?

Our connection tests used to use raw underlying connections until @lizan's recent refactor which mocked them out.  I think it's a bad plan to just not have unit tests of real TCP/TLS socket code going forward but @mattklein123 can override me here.  If the TLS side is a pain I don't mind if we wrapper it in a connection which uses a real tls transport socket iff that makes things easier.  I think you can just socket_pair for the raw socket test so that should be pretty straight-forward.

Our connection tests used to use raw underlying connections until @lizan's recent refactor which mocked them out. I think it's a bad plan to just not have unit tests of real TCP/TLS socket code going forward but @mattklein123 can override me here. If the TLS side is a pain I don't mind if we wrapper it in a connection which uses a real tls transport socket iff that makes things easier. I think you can just socket_pair for the raw socket test so that should be pretty straight-forward.

I admit I didn't fully track what @lizan did in the tests. It seems like all of our connection_impl_tests should use real sockets. I thought he actually did do that? Where are we using mocks now?

OK, this is at least partially my hurried reading of code.    There are at least some tests with a mocked out transport socket but there's plenty more with createClientConnection( Network::Test::createRawBufferSocket()) and the ConnectionImplTests added seem to use that.  So we're good there.
Still trying to track down where/if we have TLS coverage of the new half-close

OK, that's ssl_socket_test which you're touching but doesn't seem to have half-close unit tests.  So let's do that one?

@mattklein123 any final comments on your end?

Will look through today.


Bug on Shift Select

Describe the Bug
When the user try to drag after multi select with shift, it continues with the "shift pressed", just when enter shift again it releases the shift
Your Example Website or App
https://userflows.d.visualsitemaps.com/
Steps to Reproduce the Bug or Issue

Grab some nodes
select them with shift
try to drag

Expected behavior
I expect to drag after shift is released
Screenshots or Videos
https://user-images.githubusercontent.com/36650520/164105994-4a8356e5-a832-4089-8904-ece7a617136f.mp4
Platform

OS: Linux
Browser: Chrome

Additional context
No response

Was just a problem with autofocus input, solved


Enables a platform list reponse from uframe.

@DanielJMaher , @bnfish , @brian-smith723
This asset will be our bread and butter, it's pretty much got full asset to stream support (it's in our uframe asset list AND in what rutgers has online):
"CP02PMCI": {
    "assetId": 525,
    "assetInfo": {
      "description": null,
      "name": null,
      "owner": null,
      "type": "WiFi"
    },
    "coordinates": [
      null,
      null
    ],
    "url": "/uframe/assets/525"
  }

@bnfish , @brian-smith723 :
This is the asset record (we have) for what rutgers has at this url:
http://uframe-test.ooi.rutgers.edu:12575/sensor/inv/CP02PMCI
{
  "assetId": 525,
  "assetInfo": {
    "description": null,
    "name": null,
    "owner": null,
    "type": "WiFi"
  },
  "attachments": [],
  "class": ".AssetRecord",
  "events": [],
  "manufactureInfo": {
    "manufacturer": null,
    "modelNumber": "1319G",
    "serialNumber": "WIFI SN 012"
  },
  "metaData": [
    {
      "key": "Platform",
      "metaId": 6049,
      "type": "java.lang.String",
      "value": "CP02PMCI"
    },
    {
      "key": "MAC Address",
      "metaId": 6048,
      "type": "java.lang.String",
      "value": "DC9FDB6A0086"
    }
  ],
  "notes": [],
  "physicalInfo": null,
  "purchaseAndDeliveryInfo": null
}

@birdage , we can do a PUT on this asset to give it real coordinates if you want.

@FBRTMaka ben is working on a shortcut (that we talked about) at the min to get the asset locations in place. basically overriding the platform deployments with the uframe platform locations.

@birdage @FBRTMaka Someone give me status here?

@DanielJMaher Just making sure the structure of this is logically sound, almost done.

@FBRTMaka @birdage soooooo?

New way of doing this inbound...stay tuned.


[TestNet] Error 500 after going to transactions page

Environment:
Win 10 Home (64 bit) Version 1709 Build 16299.371
Browser:
Chrome 66.0.3359.139 (64 bit)
Example url:
https://neoscan-testnet.io/transactions/1
Description:
Getting internal server error after going to transactions page.

Fixed.


feat: added ignoreCassetteRequestBody option

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add a layer alpha slider for easier image editing

A feature I need in a pixel art editor is to temporarily make some layers semi-transparent so that I can work on something. This PR adds an alpha-slider that allows the user to temporarily change the alpha of a layer. This is not reflected in the final image nor is this saved beyond the session in which the alpha is set. Will add to save-data if felt necessary (in my opinion isn't)

Looks good to me, I'll merge it but Surely will move it somewhere else.

Thanks For The PR!


Set up GitHub properly

[x] Issue templates
[x] Issue Labels that make sense
[x] PR template

Think with the recent discussion and streamlining of target labels for issue templates, this can now be closed.


implement notepad app

this PR adds a Notepad clone:

It follows patterns from other apps (My Computer / IE), with the bulk of the actual notepad implemented as a simple textarea. The textarea is modified to handle tabs and include the monospace Notepad font. The toolbar logic / styling that is common among all apps should probably be pulled out into its own component, but that is outside the scope of this PR.
A Notepad icon is also added to the desktop.

Thank you @comoody!
But I just messed up something. Can you open another PR?


Make 11.x work with Electron 6 and above

This PR picks up changes from master which supports Electron 6x:
To make version 11.x works with Electron 6.x (and above). We need that because we are still using electron-forge version 5.2.4 and electron-forge internally using electron-packager 11.x

I'm not inclined to merge this as I don't have the bandwidth to maintain multiple versions of Packager. As an alternative, you can use yarn resolutions to force Electron Forge v5 use Packager v14.2.1 (or whatever version you want).


inViewport not working when you select SVG as a file in Vivus instance.

When I import the SVG as a file in my Vivus instance the inViewport method does not work.  When I look at the code it looks like the SVG is placed after the Vivus options, which is why I think it's not working.  Any help would be greatly appreciated!

Here's the example:
http://museforyoushop.com/example/


md-order not being recognized  - help please

Hi, first of all thanks for this great contribution to the angular community.
I am having problems trying to make the md-order works, I think it is not being recognized by the directive. I am doing this in the template:
<thead md-head md-order="vm.query.order">
and in the controller:
vm.query = {             order: '-taskName',             limit: 5,             page: 1         };
I tried to implement the example you have in documentation but the order didn't work neither so I am thinking that maybe I am missing something.
Here you can find the code http://plnkr.co/edit/wO0gVUcSkP3ti0U8WTlz
Thanks.

It looks like you are not using vm.query.order in your ng-repeat expression.
<tr md-row ng-repeat="task in vm.tasks | filter: vm.filterByStatus(criteria) | orderBy: vm.query.order">

@daniel-nagy wow amazing, thank you very much, i guess i am one of the many that owe you a beer.
Cheers!


You offer 1.4 for download but the current version on github is 1.3 ?

Could you please update the github code to 1.4+ ?
And perhaps add some tags / branches for the versions 1.3, 1.4?
Thanks a lot

Tags are now available. thanks.


Do you also stop developing chainer chemistry?

Did you also stop developing chainer-chemistry as chainer?
Do you have the recommended library with pytorch?
I knew deepchem and found openchem, pytorch-chemistry.
Will you develop a similar library with pytorch?

Thank you for your interest in our library development.

Did you also stop developing chainer-chemistry as chainer?

Yes. As announced, further development will be limited to only serious bug-fixes and maintenance.

Will you develop a similar library with pytorch?

Sorry, we have no concrete plan yet.

Thank you for your great development so far.

Did you also stop developing chainer-chemistry as chainer?
Do you have the recommended library with pytorch?
I knew deepchem and found openchem, pytorch-chemistry.
Hello, can you tell me which library is pytorch-chemistry ?
Will you develop a similar library with pytorch?

Hello, can you tell me which library is pytorch-chemistry ?

Hello, it is still in the very early stages of development.
https://github.com/0h-n0/pytorch_chemistry


Automatic numbering

Subsequent uploads to same gallery start over at #1

Fixed in https://github.com/macterra/artx-market/commit/96d2df6739e5fdd61c3e0e4a19faabf6d749cf4f


My apps cant load the map properly

Please help, the program said something related to Java, is there anyone happened sth .like this?

Same problem. Have been using my API since day 1, never a problem until tonight.