Force re-render of a specific resource / row

Is your feature request related to a problem? Please describe.
I believe the request would be new functionality as I don't see anything in docs referring to this issue. I would like a way to refresh / re-render one single row / resource / interval row in the calendar.
As background, I am using day-resource view with left (resource) side showing a Room, and the right (interval) side showing time based events (absolutely positioned). The right side also has a second row (i.e., positioned below row 1 containing the time based events) for each resource that shows one single "note" associated with the resource.
Describe the solution you'd like
I would like the second row (containing the note) to show / hide based on a checkbox click on the left (resource) side. Currently, I can use the events to toggle a model for show/hide, but unfortunately, the interval side for that row does not re-render / refresh based on the value of the model. It appears it only checks the model at the first render.
Describe alternatives you've considered
I have considered forcing a render of the complete schedule but this is distracting to the user and takes time for complete refresh since I have about 100 rows and about 150 events in the calendar.

@psarin Any chance you can make a codepen? https://codepen.io/Hawkeye64/pen/RwwwKQL

Yes, will try to get you a code sample - will have to refactor / simply my logic before I can create an example.
FYI, I was able to do a workaround by using an Observable when the resources are created but I'm not sure if this will be the best / most performant way to do this.

@psarin My problem is I am not sure if I am visualizing the same thing you are and I'd rather be on the same "page" before trying to resolve something that may or may not be correct.
I do truly appreciate it if you can get a codepen together and then we can talk more.
Are you on Discord? Same name? When you have the codepen, we can try a Discord chat while looking at the pen at same time.

Hi, so I was able to create a sample at: https://codepen.io/psarin/pen/GRjoXXK?editors=1010 (unfortunately, wasn't able to save under yours).
So this version works, in the sense that you can click the checkbox on the left and it will show/hide the note on the right side. I made it work using an Observable in VueJS2 (see the showNote property) or ref() in VueJS3.
The question is: is this the correct way to do it?
Other questions:

The event times might change (i.e., starttime changes from 13:00 to 14:00 for one event and from 15:30 to 15:35 for another event). Will a change of times for one event cause a re-render for all (>100) objects (i.e., the EVENT_LIST will have to be re-computed)? If so, it goes back to the original question of, possible to re-render just one row.

Is there an easy way to change the height for the row, to match the height of the event plus the note (i.e., right now the note overlaps the event). I compensated by manually saving a calculated height of via Observable (not shown in the CodePen).

@psarin Thanks for doing that (btw, looks really nice!)
I will look at this sometime today to see if I can fully understand the issue. It's morning here and just got up.

@psarin I finally have been able to take some time and look into this. So, what's happening is your data is not reactive. You have done that with the checkbox, so when it is toggle, Vue gets notified to redraw.
There are somethings that you can do:

Store your data in a Vuex store
Store your data in the data() method as an array. When adding/removing items from the array, use the splice command so it doesn't break Vue's reactivity.
Force reactivity on a single item as you have done  (Vue.observabe)
Force reactivity on the whole object (Vue.observabe)

Not much I can do from a QCalendar stand-point. This is how Vue's reactivity works.
I have attached a project (that I made from your Codepen). You might want to see how I did things slightly different.
calendar-test2.zip


Fixes #813 V1 component constructor

This uses Reflect.constructor in order to make the inheritance of HTMLElement work properly in V1.
Also we had to move some attr initialisation to the attach callback in order to avoid DOM exceptions, more info here https://www.w3.org/TR/custom-elements/#custom-element-conformance

@treshugart take a look, test are green now. The only thing I don't like how it looks is that I had to add a timeout to lifecycle/defined test in order to make it work on Firefox 😥.
In the it was not necessary to modify this https://github.com/skatejs/skatejs/blob/master/src/lifecycle/props-init.js#L112. Let me know if I'm missing something

I'll have a look in a bit. @bengummer might be interested in reviewing this as well.

We should ensure https://github.com/skatejs/skatejs/pull/817/files#diff-d3ff8469a13e890ec2a5c73b90df75abR29 doesn't set attributes if props are linked.

this PR is continued in #824 (just so we could get the Saucelabs tests to run) so this PR can probably be closed


Helm chart not properly restarting pods after initial tiered storage settings are applied

What happened?
With a new deployment, my tiered storage settings are not activated. Looking at the cluster, it's in a state saying it requires restart:
redpanda@redpanda-0:/$ rpk -Xuser=admin -Xpass=xxx config status
NODE  CONFIG-VERSION  NEEDS-RESTART  INVALID  UNKNOWN
0     4               true           []       []
1     4               true           []       []
2     4               true           []       []

What did you expect to happen?
Tiered storage settings should be activated with my settings.
How can we reproduce it (as minimally and precisely as possible)?. Please include values file.
Deploy Redpanda via Helm using some of the following storage settings:
storage:
  persistentVolume:
    enabled: true
    storageClass: csi-driver-lvm-striped-xfs
  tiered:
    config:
      cloud_storage_enabled: true
      cloud_storage_api_endpoint: storage.googleapis.com
      cloud_storage_credentials_source: gcp_instance_metadata
      cloud_storage_enable_remote_write: true
      cloud_storage_enable_remote_read: true
      cloud_storage_region: my-region
      cloud_storage_bucket: my-bucket

Anything else we need to know?
A workaround is to force a restart via:
kubectl rollout restart statefulset/redpanda

Which are the affected charts?
Redpanda
Chart Version(s)
5.7.37
Cloud provider
GCP / GKE

The root problem is .bootstrap.yaml does not have tiered storage configuration. The post-install hook is configuring tiered storage due to problem with secrets described in https://github.com/redpanda-data/helm-charts/pull/1054.

Just some notes for the future:
I think the best option for now will be to use .bootstrap.yaml for the initial configuration and then have a pre-upgrade job that sets the cluster configuration.
We'll need to consolidate the config rendering into a single place in order to mitigate issues like the tiered storage one Rafal is referencing.


Can't install crouton

Please paste the output of the following command here: sudo edit-chroot -all
``` install: cannot stat '/usr/local/bin': No such file or directory

#### Please describe your issue:
Attempting to use (below) to install crouton, get above message please help, very new to this

sudo install -DT /usr/local/bin -m 755 ~/Downlaods/crouton -

#### If known, describe the steps to reproduce the issue:

Linux is very picky about case sensitivity, you need to use a lowercase 't' with that install command.
       -t, --target-directory=DIRECTORY
              copy all SOURCE arguments into DIRECTORY

       -T, --no-target-directory
              treat DEST as a normal file

Also, you misspelled the Downloads directory so it cannot find the crouton file.
Copy-n-paste this command and see if it works better:

sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton

For more details and examples see -

https://github.com/dnschneid/crouton#usage

Hope this helps,
-DennisLfromGA

similar issue, "install: cannot stat '/home/user/Downloads/crouton': No such file or directory"
my command seems to be perfectly fine
sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton
(new to linux)


iOS 9 - No devices detected, no changes in HAP status regarding existing devices

Hi,
Has anyone tried this under iOS 9? I'm using an adaptation of homebridge to micasaverde Vera (this one https://github.com/Hackworth/VeraHomeKitBridge) and while it worked fine with iOS 8.x (I added some scenes and was controlling those with Siri), now it doesn't detect any device and the HAP server status doesn't show any change.
I even tried removing one of them to see if it would pop back up, but to no avail, it wasn't detected.
Do you have any idea of what I can try here?

The project that homebridge sits on top of had to make some adjustments for iOS 9. You can see that commit here: https://github.com/KhaosT/HAP-NodeJS/commit/19a4bee7d82674ac0051706687def1e3570c2b68 with an explanation here.
So maybe VeraHomeKitBridge needs to make some of the same kind of adjustments.

Also, heh, to actually answer your question: yes, homebridge works with iOS 9. But only after some changes and having to remove all devices and re-add them.

Ok, thank you for that info, I appreciate it.


Add pre commit

Codecov Report

Merging #8 (16d9121) into main (cf0de1d) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main       #8   +/-   ##
=======================================
  Coverage   96.40%   96.40%
=======================================
  Files           4        4
  Lines         250      250
=======================================
  Hits          241      241
  Misses          9        9

Impacted Files
Coverage Δ

pynction/either.py
100.00% <100.00%> (ø)

pynction/stream.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Difficulties creating a holomap of composed rasterized images

The code below should generate a holomap of holoviews rasterized images bunched together using + operators.
import numpy
import matplotlib
import bokeh
from matplotlib.cm import viridis, plasma, gist_ncar, gist_stern, PuBu, Blues
import holoviews
from holoviews.operation.datashader import rasterize
holoviews.extension('bokeh')
#AggregationMethods = [ 'mean','max','mode','std']
AggregationMethods = [ 'mean','max']
Hows = [ 'linear', 'bilinear' ]
# uncomment the next line to see a different error message
#Hows = [ 'nearest', 'linear' ]

OutputImageFilePattern = 'TestImage_%s_%i_%s_%s'
ImageIntensityScale = 100000
PlotHeight = 100
PlotSizes = [500]
for library in ['numpy', 'matplotlib', 'holoviews']:
    print ( library + ' ' + str(eval(library + '.__version__')))

def PlotCluster(MatrixClusters, MatrixDistances, OutputFile, How, AggregationMethod, PlotSize, PlotHeight = PlotHeight):
    "plot the cluster"
    DistBarData = holoviews.Image(MatrixDistances)
    ShadedDistBar = rasterize (DistBarData, aggregator = AggregationMethod, interpolation = How, dynamic  = True).opts(cmap=PuBu, xaxis=None, yaxis=None, height=PlotHeight, width=PlotSize, tools=['hover'])
    ClusterBarData = holoviews.Image(MatrixClusters)
    ShadedClusterBar = rasterize (ClusterBarData, aggregator = AggregationMethod, interpolation = How, dynamic  = True).opts(cmap=PuBu, xaxis=None, yaxis=None, height=PlotHeight, width=PlotSize, tools=['hover'])
    Merged = (ShadedDistBar + ShadedClusterBar).cols(1)
    return Merged

HoloMapDict = {}
numpy.random.seed(1)
UnitDistanceVec = numpy.random.rand(25000)
UnitClusterVec = (numpy.random.rand(25000)*100).astype(int)
print (UnitDistanceVec[:10])
print (UnitClusterVec[:10])
BarSize = (PlotHeight,1)
UnitClusterVecRearranged = numpy.array(UnitClusterVec)
MatrixClusters = numpy.tile( UnitClusterVecRearranged, BarSize).astype(int)
UnitDistanceVecsRarranged = numpy.array(UnitDistanceVec)
UnitDistanceVecAsInt = (numpy.array(UnitDistanceVecsRarranged)/max(UnitClusterVec)*ImageIntensityScale).astype(int)
MatrixDistances = numpy.tile( UnitDistanceVecAsInt, BarSize)

for AggregationMethod in AggregationMethods:
    for How in Hows:
        for PlotSize in PlotSizes:
            OutputFile = OutputImageFilePattern%('',PlotSize,How,AggregationMethod)
            Merged = PlotCluster(MatrixClusters,MatrixDistances, OutputFile, How, AggregationMethod, PlotSize)
            HoloMapDict[(AggregationMethod, How )] = Merged
Combined = holoviews.HoloMap(HoloMapDict, kdims=['Aggregation', 'interpolation'])
holoviews.save(Combined, 'combined', 'html')

The code above does not work as expected and generates the following printout:
numpy 1.16.3
matplotlib 3.0.3
holoviews 1.12.1
[4.17022005e-01 7.20324493e-01 1.14374817e-04 3.02332573e-01
 1.46755891e-01 9.23385948e-02 1.86260211e-01 3.45560727e-01
 3.96767474e-01 5.38816734e-01]
[91 86 65 77 59 47 48 45  8 87]
WARNING:param.Warning: Nesting Layouts within a HoloMap makes it difficult to access your data or control how it appears; we recommend calling .collate() on the HoloMap in order to follow the recommended nesting structure shown in the Composing Data user guide (https://goo.gl/2YS8LJ)
Traceback (most recent call last):
  File "Test2.py", line 50, in <module>
    holoviews.save(Combined, 'combined', 'html')
  File "C:\Users\Work\Anaconda2\envs\py3\lib\site-packages\holoviews\util\__init__.py", line 749, in save
    return renderer_obj.save(obj, filename, fmt=fmt)
  File "C:\Users\Work\Anaconda2\envs\py3\lib\site-packages\holoviews\plotting\renderer.py", line 549, in save
    plot = self_or_cls.get_plot(obj)
  File "C:\Users\Work\Anaconda2\envs\py3\lib\site-packages\holoviews\plotting\bokeh\renderer.py", line 134, in get_plot
    plot = super(BokehRenderer, self_or_cls).get_plot(obj, renderer, **kwargs)
  File "C:\Users\Work\Anaconda2\envs\py3\lib\site-packages\holoviews\plotting\renderer.py", line 190, in get_plot
    obj = collate(obj)
  File "C:\Users\Work\Anaconda2\envs\py3\lib\site-packages\holoviews\plotting\util.py", line 75, in collate
    return obj.collate()
  File "C:\Users\Work\Anaconda2\envs\py3\lib\site-packages\holoviews\core\spaces.py", line 349, in collate
    drop_constant=drop_constant)()
  File "C:\Users\Work\Anaconda2\envs\py3\lib\site-packages\holoviews\core\element.py", line 468, in __call__
    dict(constant_keys))
  File "C:\Users\Work\Anaconda2\envs\py3\lib\site-packages\holoviews\core\element.py", line 519, in _add_dimensions
    new_item[k] = self._add_dimensions(v, dims[::-1], constant_keys)
  File "C:\Users\Work\Anaconda2\envs\py3\lib\site-packages\holoviews\core\element.py", line 508, in _add_dimensions
    new_item = new_item.add_dimension(dim, 0, val)
  File "C:\Users\Work\Anaconda2\envs\py3\lib\site-packages\holoviews\core\spaces.py", line 1804, in add_dimension
    raise NotImplementedError('Cannot add dimensions to a DynamicMap, '
NotImplementedError: Cannot add dimensions to a DynamicMap, cast to a HoloMap first.

I tired using collate on the holomap object created after creating the holomap object and adding data directly to the object, yet I am getting the same error.
I need a solution to have combo boxes that will alow me to switch between different aggregation and interpolation method - if holoviews does not implement it, can I do it with panel? My alternative is using tab layout in panel - however, it would be nice having it with the holoviews combo boxes if possible. In any case, I want it to be a static html page without the need to run a server. Hopefully iy is possible.

The rendering code path is hitting collate which can be avoided if the hierarchy you build conforms to nesting structure described here. It should be possible to reorganize things so you don't hit collate but still offer the same functionality.

Thanks for the comment, yet the layout you pointed to shows raster images and holomap in different paths. How can I create a few combo boxes that allow me to switch between rasterized images? I assumed my solution was to use holoviews holomap. Can I do it with panel instead and still be able to generate a static html page that does not need a server to allow changing a combo box to switch between the rasterized images?
I know I should be able to do it with panel switching between html pages generated for each rasterized image using a tab layoout object. Yet since its multidimensional data, I want to use the combo boxes. If panel should work, I will switch to it since holoviews is moving towards integrating with it, yet I want to make sure I can do it before investing the effort.

Apart from adding collate, I think all you need is dynamic=False, which isn't a problem if you're exporting to HTML anyway.  The underlying problem is that rasterize creates a DynamicMap if dynamic=True, and you can't simply collate and reorganize a dynamic process like that. Instead, this code should be rewritten to create one big DynamicMap with non-dynamic components, but that's a complete reorganization, and this should work for now since you don't need the result to be dynamic anyway...
import numpy
import matplotlib
import bokeh
from matplotlib.cm import viridis, plasma, gist_ncar, gist_stern, PuBu, Blues
import holoviews
from holoviews.operation.datashader import rasterize
holoviews.extension('bokeh')
#AggregationMethods = [ 'mean','max','mode','std']
AggregationMethods = [ 'mean','max']
Hows = [ 'linear', 'bilinear' ]
# uncomment the next line to see a different error message
#Hows = [ 'nearest', 'linear' ]

OutputImageFilePattern = 'TestImage_%s_%i_%s_%s'
ImageIntensityScale = 100000
PlotHeight = 100
PlotSizes = [500]
for library in ['numpy', 'matplotlib', 'holoviews']:
    print ( library + ' ' + str(eval(library + '.__version__')))

def PlotCluster(MatrixClusters, MatrixDistances, OutputFile, How, AggregationMethod, PlotSize, PlotHeight = PlotHeight):
    "plot the cluster"
    DistBarData = holoviews.Image(MatrixDistances)
    ShadedDistBar = rasterize (DistBarData, aggregator = AggregationMethod, interpolation = How, dynamic  = False).opts(cmap=PuBu, xaxis=None, yaxis=None, height=PlotHeight, width=PlotSize, tools=['hover'], axiswise=True, framewise=True)
    ClusterBarData = holoviews.Image(MatrixClusters)
    ShadedClusterBar = rasterize (ClusterBarData, aggregator = AggregationMethod, interpolation = How, dynamic  = False).opts(cmap=PuBu, xaxis=None, yaxis=None, height=PlotHeight, width=PlotSize, tools=['hover'], axiswise=True, framewise=True)
    Merged = (ShadedDistBar + ShadedClusterBar).cols(1)
    return Merged

HoloMapDict = {}
numpy.random.seed(1)
UnitDistanceVec = numpy.random.rand(25000)
UnitClusterVec = (numpy.random.rand(25000)*100).astype(int)
print (UnitDistanceVec[:10])
print (UnitClusterVec[:10])
BarSize = (PlotHeight,1)
UnitClusterVecRearranged = numpy.array(UnitClusterVec)
MatrixClusters = numpy.tile( UnitClusterVecRearranged, BarSize).astype(int)
UnitDistanceVecsRarranged = numpy.array(UnitDistanceVec)
UnitDistanceVecAsInt = (numpy.array(UnitDistanceVecsRarranged)/max(UnitClusterVec)*ImageIntensityScale).astype(int)
MatrixDistances = numpy.tile( UnitDistanceVecAsInt, BarSize)

for AggregationMethod in AggregationMethods:
    for How in Hows:
        for PlotSize in PlotSizes:
            OutputFile = OutputImageFilePattern%('',PlotSize,How,AggregationMethod)
            Merged = PlotCluster(MatrixClusters,MatrixDistances, OutputFile, How, AggregationMethod, PlotSize)
            Merged = holoviews.Image(MatrixDistances) + holoviews.Image(MatrixClusters)
            HoloMapDict[(AggregationMethod, How )] = Merged

Combined = holoviews.HoloMap(HoloMapDict, kdims=['Aggregation', 'interpolation']).collate()
holoviews.save(Combined, 'combined', 'html')

You can also use Panel for this, which would be very straightforward.

Thanks James,
Eliminating Dynamic does fix the code so it will work, yet for some reason the saved holomap does not work as intended  - with drop down boxes . The html file generated on my machine just shows the image for one holomap bin without the drop down menus one usually sees in a holomap - is this related to the fact that those are rasterized images? Or is this related to something else - I really want to have those drop down boxes if easy.

The widgets are there in Jupyter:

@jlstevens, is there anything special that needs to be done for the widgets to be in the saved html file?

Sorry James,
This is very odd, the html generated also has other artifacts like not following the correct color or size. Here is an image of what I see:

code versions I am using are:
numpy 1.16.3
matplotlib 3.0.3
holoviews 1.12.1
Also:
python 3.7.3
bokeh 1.1.0
If this is another problem, I'll be happy to open another issue.
I tried panel tabs and it works nice, yet if possible, I would like this beautiful drop down menu functionality holoviews can offer.

Oh, the loss of options is just due to a debugging bit I had in the above code; now fixed (removed "Merged = holoviews.Image(MatrixDistances) + holoviews.Image(MatrixClusters)").

If this helps locate the issue, note that using panel save function of the holoviews object works well and shows the drop down menu. So it seems I have a solution. Thanks for the rapid responses.

One correction, when using panel to show the holoviews object, the drop down menus are shown, yet they are populated with the Cartesian product of all dimensions and selecting a value from those drop down boxes does not change the image. It seems that there is something not working even when this holoviews object is viewed when panel is generating the html.

Hi ,
Is there any other way in which i keep dynamic =True and still plot using Holomap and get the dynamic data available in each plot.

Is there any other way in which i keep dynamic =True and still plot using Holomap and get the dynamic data available in each plot.

No, a plot is either dynamic or isn't.

Hi,
My Holomap is working fine when i am making dynamic=False i.e :-
def plotthis(datetime):
gg=rasterize(gv.TriMesh((tri_sub,gv.Points(verts)) ),dynamic=False).options(**opts)
return gg
allplot={k:plotthis(k)for k in perdelta(strt, strt + timedelta(days=1), timedelta(hours=9))}
#datetostr=allplot.strftime("%Y%b%d%H")
hmap = hv.HoloMap(allplot, kdims='date')
hmap
Then Holomap is be working fine but i lost the dynamic property of plot i.e while zoomin no update of data.
so i am thinking to plot using Holomap in which dyanmic data also work .
:)

There is no way a HoloMap will ever support dynamic updates, that's the whole point of a HoloMap. If you want to have the dynamic features apply rasterize to the HoloMap, i.e.:
def plotthis(datetime):
    return gv.TriMesh((tri_sub,gv.Points(verts)))

allplot={k:plotthis(k)for k in perdelta(strt, strt + timedelta(days=1), timedelta(hours=9))}
hmap = hv.HoloMap(allplot, kdims='date')
rasterize(hmap).options(**opts)

@philippjfr
Thanks alot for replying so fast.
After using the suggested code:-
`
return gv.TriMesh((tri_sub,gv.Points(verts))).options(**opts)
allplot={k:plotthis(k)for k in perdelta(strt, strt + timedelta(days=1), timedelta(hours=9))}
hmap = hv.HoloMap(allplot, kdims='date')
tt=rasterize(hmap)
tt
I am getting keyError
KeyError: (numpy.datetime64('2019-07-03T00:00:00.000000000'),)
:DynamicMap   [date]
`

Hi ,
Or i should do using Panel instead of Holomap for getting dynamic data ?

This specific problem was solved by James a long time ago - I should have been closed.  So I am closing it so it wont bother the developers. There was another issue there with saving the html with the widgets which is related to another issue I started (https://github.com/pyviz/holoviews/issues/3849) that deals with saving.
To close this problem I am reiterating the code that will work.
import numpy
import matplotlib
import bokeh
from matplotlib.cm import viridis, plasma, gist_ncar, gist_stern, PuBu, Blues
import holoviews
from holoviews.operation.datashader import rasterize
holoviews.extension('bokeh')
#AggregationMethods = [ 'mean','max','mode','std']
AggregationMethods = [ 'mean','max']
Hows = [ 'linear', 'bilinear' ]
# uncomment the next line to see a different error message
#Hows = [ 'nearest', 'linear' ]

OutputImageFilePattern = 'TestImage_%s_%i_%s_%s'
ImageIntensityScale = 100000
PlotHeight = 100
PlotSizes = [500]
for library in ['numpy', 'matplotlib', 'holoviews']:
    print ( library + ' ' + str(eval(library + '.__version__')))

def PlotCluster(MatrixClusters, MatrixDistances, OutputFile, How, AggregationMethod, PlotSize, PlotHeight = PlotHeight):
    "plot the cluster"
    DistBarData = holoviews.Image(MatrixDistances)
    ShadedDistBar = rasterize (DistBarData, aggregator = AggregationMethod, interpolation = How, dynamic  = False).opts(cmap=PuBu, xaxis=None, yaxis=None, height=PlotHeight, width=PlotSize, tools=['hover'], axiswise=True, framewise=True)
    ClusterBarData = holoviews.Image(MatrixClusters)
    ShadedClusterBar = rasterize (ClusterBarData, aggregator = AggregationMethod, interpolation = How, dynamic  = False).opts(cmap=PuBu, xaxis=None, yaxis=None, height=PlotHeight, width=PlotSize, tools=['hover'], axiswise=True, framewise=True)
    Merged = (ShadedDistBar + ShadedClusterBar).cols(1)
    return Merged

HoloMapDict = {}
numpy.random.seed(1)
UnitDistanceVec = numpy.random.rand(25000)
UnitClusterVec = (numpy.random.rand(25000)*100).astype(int)
print (UnitDistanceVec[:10])
print (UnitClusterVec[:10])
BarSize = (PlotHeight,1)
UnitClusterVecRearranged = numpy.array(UnitClusterVec)
MatrixClusters = numpy.tile( UnitClusterVecRearranged, BarSize).astype(int)
UnitDistanceVecsRarranged = numpy.array(UnitDistanceVec)
UnitDistanceVecAsInt = (numpy.array(UnitDistanceVecsRarranged)/max(UnitClusterVec)*ImageIntensityScale).astype(int)
MatrixDistances = numpy.tile( UnitDistanceVecAsInt, BarSize)

for AggregationMethod in AggregationMethods:
    for How in Hows:
        for PlotSize in PlotSizes:
            OutputFile = OutputImageFilePattern%('',PlotSize,How,AggregationMethod)
            Merged = PlotCluster(MatrixClusters,MatrixDistances, OutputFile, How, AggregationMethod, PlotSize)
            HoloMapDict[(AggregationMethod, How )] = Merged

Combined = holoviews.HoloMap(HoloMapDict, kdims=['Aggregation', 'interpolation']).collate()
holoviews.save(Combined, 'combined.html')

Thanks again.


Add model gateway example (AI use case)

Purpose
Add example for model gateway https://github.com/wso2-enterprise/choreo/issues/25622

This sample is added to the choreo-samples repo instead (https://github.com/wso2/choreo-samples/pull/86)


Clarify when Consumers get the default value

https://twitter.com/timarney/status/981912479730159617

I rewrote it, IMO this is a bit clearer

Thanks @gaearon that should do it


delete this repo

there is already a true dockerfile: https://hub.docker.com/r/tianon/true/
ping @ChrisAubuchon

This was created because there was an issue with tianon/true not having a /tmp directory and failing underneath our docker images. I don't see a reason to delete the repo.

@ChrisAubuchon Sounds good thanks for clarifying!


Visualize probe collections

Previously, probes were just displayed as pure text. This made it harder to interpret the data fast or find outliners.

With this PR, two visualizations were introduced which support number collections and point collections.

A visualize button is added to supported collections to toggle a scale and the graph itself. Note that the icon is not final and should be exchanged with bar-chart-2 from https://feathericons.com/?query=chart. The visualizations are aligned over the values themselves to allow a fast backtrack-search in the collection itself to eg inspect the object in question. The user can also hover the visualization points to get the displayed value.
The visualization encodes information through color.
Red points in the line chart mean that a point is in the upper 10% of the range, blue for the lowest 10%. Same goes for the borders in the rectangle chart. A black border means x/y is low and the other coordinate is high.
Red lines mean we have a decrease between two values, green increase.

@JoeAtHPI not a request, just a question: is there a reason why the visualization does not use the trace directly?

@codeZeilen "@JoeAtHPI not a request, just a question: is there a reason why the visualization does not use the trace directly?" do you mean that BPVisualization would take the trace and an id and internally assign aTrace valuesForProbeId: self id  as its values? or that one can access the probe's values anytime w/o needing to call aTrace valuesForProbeId: self id by the stack? for the second case: i didn't find this more direct way myself. for the first: i thought it'd be nicer for the BPVisualization to decouple itself from needing a trace as it contains far more information than the BPVisualization really needs. i wanted its API to take the mere basics for modularity (while still naming the variables traces related as this is the use case rn)

In addition to replacing Point class with Point this should be:
[:aTracedValueClass
| aTracedValueClass withAllSuperclasses includes: supportedClass]
Note that #isKindOf: tests for something different than you intended. It
checks whether the class is of the same type of class, which is probably
not what you meant. It is the result of the Metaclass inheritance hierarchy:
a Point - instanceOf -> Point
Point - subclassOf -> Object
Point - instanceOf -> Point class
Point class - subclassOf -> Object class
!!! Point class - instanceOf -> Metaclass !!!
The last one is used for isKindOf: checks:
isKindOf: aClass
  "Answer whether the class, aClass, is a superclass or class of the
receiver."
   ^ self class == aClass or: [ self class inheritsFrom: aClass ]

Am Mi., 28. Apr. 2021 um 01:09 Uhr schrieb Joana Be. <
@.***>:

@JoeAtHPI commented on this pull request.
In
packages/Babylonian-UI.package/BPRectangleChart.class/class/supportedClass.st
https://github.com/hpi-swa-lab/babylonian-programming-smalltalk/pull/38#discussion_r621677396
:

@@ -0,0 +1,5 @@
+support
+supportedClass

^ Point class

If changed, I have to update BPVisualization >
visualizationClassesForValues: traceValues from
containedClasses allSatisfy: [:aTracedValueClass | aTracedValueClass
isKindOf: aSubclass supportedClass] to containedClasses allSatisfy:
[:aTracedValueClass | aTracedValueClass isKindOf: aSubclass supportedClass
class] and aSubclass supportedClass class sounded weird for me. No strong
feelings here though, what do you prefer?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hpi-swa-lab/babylonian-programming-smalltalk/pull/38#discussion_r621677396,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEI3YANL7LIYJ4F22HF42LTK47YZANCNFSM43G24JKA
.

Worked in the feedback. Pipeline seems to be failing for the same reason it's failing on develop

Yes, its annoying. One of the dependencies can not be resolved correctly
-.-'
Am Di., 4. Mai 2021 um 17:40 Uhr schrieb Joana Be. @.***

:

Worked in the feedback. Pipeline seems to be failing for the same reason
it's failing on develop @codeZeilen https://github.com/codeZeilen
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hpi-swa-lab/babylonian-programming-smalltalk/pull/38#issuecomment-832040022,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEI3YBU4EGQUO3O74KFWK3TMAIODANCNFSM43G24JKA
.

Pull Request Test Coverage Report for Build 879084115

81 of 629 (12.88%)  changed or added relevant lines in 109 files are covered.
13 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-4.2%) to 60.998%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/Babylonian-Core.package/BPExample.class/instance/traceInBackground.st
0
1
0.0%

packages/Babylonian-Core.package/BPExamples.class/instance/paddedTracesOfActiveExamples.st
0
1
0.0%

packages/Babylonian-UI.package/BPAnnotationMorph.class/instance/emptyTraces.st
0
1
0.0%

packages/Babylonian-UI.package/BPAnnotationMorph.class/instance/getTraces.st
0
1
0.0%

packages/Babylonian-UI.package/BPExampleMorph.class/instance/configurationButtonClicked.st
0
1
0.0%

packages/Babylonian-Core.package/BPExample.class/instance/traceAsyncNotifying..st
0
2
0.0%

packages/Babylonian-Core.package/BPScriptExample.class/instance/asPragma.st
0
2
0.0%

packages/Babylonian-Core.package/BPTraceValue.class/instance/traceHasFailedBefore.st
0
2
0.0%

packages/Babylonian-Core.package/BPExamples.class/instance/activeExamples.st
0
4
0.0%

packages/Babylonian-Core.package/BPExamples.class/instance/exampleIdentifiers.st
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

packages/Babylonian-Core.package/BPTraceValue.class/instance/traceHasFailedBefore.st
1
0%

packages/Babylonian-Core.package/BPExample.class/instance/isActive.st
4
0%

packages/Babylonian-Core.package/BPExample.class/instance/isActive..st
4
0%

packages/Babylonian-Core.package/BPExample.class/instance/liveSpecimen.st
4
0%

Totals

Change from base Build 810450107:
-4.2%

Covered Lines:
4218

Relevant Lines:
6915

💛  - Coveralls

Green pipeline, nice, so is it good to go? :D


fix(semantic release): Testing semantic release

:tada: This PR is included in version 1.0.1 :tada:
Your semantic-release bot :package::rocket:


Crash on iOS

Not working on iOS, it crashes.
OS: Mojave 10.14.6
Xcode: 11.2.1 (11B53)
Flutter: 1.14.4-pre.17 channel master
Tested on iPhone X

@brunoramonalmeida +1

Yep, it does crash...

So, I've made a PR to fix this. https://github.com/rohit1814/flutter_open_whatsapp/pull/7

Anyway, I found this plugin quite useless as per you can simply use launch() function in Dart

launch

How??

launch

How??

launch("whatsapp://send?phone=$phone&text=$text");
or
launch("https://api.whatsapp.com/send?phone=$phone&text=$text");
plus, launch() function has a few nice arguments you can play with

Still crashes

Still crashes.. i made it happen using launch with whatsapp api.. but it redirects to the browser before going to the app.

Did you look inside launch()? There are arguments could help you...
Anyway, I think this repo is not the place to discuss it

Yeah true..
But it actually worked.. the canLaunch was returning false so i did not call launch().. but it was because i didnt have whatsapp on the emulator.. on the phone it worked! Thanks!

Im not sure if this is related to an issue I reported here https://github.com/rohit1814/flutter_open_whatsapp/issues/14, maybe I duplicated it?


disableCombineTextItems like pdf-parse

Nice work on this library! Just wondering...
A lot of text comes out very difficult to parse, because multiple items of text on a line get combined, with no separator. The pdf-parse library had a disableCombineTextItems property on render options which could improve this situation. Perhaps something like that, or a "line items separator" string you could specify that gets inserted in between same-line items of text.

@JonSilver hi and thank you :)
Sorry for the late reply. Actually, I always try to answer in the next few days but I was on vacation for a week.
That's right the text contents are combined per line.
Currently I am working on another parsing function that allows you to access the complete content of the pdf.
All composites will be returned in an array.
Would this be a solution for you?

Hi @lublak. Hope you had a great vacation 😁
Yes I suppose an array of items would be pretty good too, but an optional, settable delimiter to be included in the output text between items would be great for regex parsing. Different purposes, different solutions. 😊

@JonSilver yes I had :)
I will think about it but a solution I will offer in any case.

The current development I have now for the time being publicly pushed into an extra branch, to be found here: https://github.com/lublak/pdfdataextract/tree/contentinfoextractor


Mamesaver.scr - This application could not be started. Do you want to view information about this issue? ...

After downloading https://github.com/mika76/mamesaver/releases/download/3.0/Mamesaver.scr and moving into my updated 64-bit W7 HPE SP1's c:\windows\system32, I couldn't configure and run it due to "Mamesaver.scr - This application could not be started. Do you want to view information about this issue? Yes No". I clicked yes and was taken to https://docs.microsoft.com/en-us/dotnet/framework/deployment/initialization-errors-managing-the-user-experience?version=(null)&processName=Mamesaver.scr&platform=0009&osver=5&isServer=0&shimver=4.0.30319.0 -- ".NET Framework initialization errors: Managing the user experience..."

Seems to me like it's struggling to run .net? Do you have.net framework 4.6 installed?

How do I know what version I have installed? I know I have .NET, but which version(s)?

Paint.NET uses .NET, and it's fine.

Seems the latest pain.net uses 4.7. I would have thought that would work with mamesaver too. You could always try install 4.6 and see what happens.

Or maybe you have an older paint.net with an older framework? Here Microsoft's instructions on how to determine which is installed : https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

From my regedit.exe:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client]
"Version"="4.7.02558"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"MSI"=dword:00000001
"Servicing"=dword:00000000
"InstallPath"="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\"
"Release"=dword:000709fe
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client\1033]
"Version"="4.7.02558"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"Servicing"=dword:00000000
"Release"=dword:000709fe
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full]
"Version"="4.7.02558"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"MSI"=dword:00000001
"Servicing"=dword:00000000
"InstallPath"="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\"
"Release"=dword:000709fe
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\1033]
"Version"="4.7.02558"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"Servicing"=dword:00000000
"Release"=dword:000709fe

I am using paint.net v4.1.6. BTW, I'm going to sleep soon.

Seems you have 4.7 which should run it without problems. Hmm I'll have to play around with it a bit and see if I can figure it out...

I was able to reproduce it in a clean, updated 64-bit W7 HPE SP1 in a virtual machine (VM) with VirtualBox. Its registry shows:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client]
"Version"="4.6.01055"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"MSI"=dword:00000001
"Servicing"=dword:00000000
"Release"=dword:0006041f
"InstallPath"="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client\1033]
"Version"="4.6.01055"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"Servicing"=dword:00000000
"Release"=dword:0006041f
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full]
"Version"="4.6.01055"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"MSI"=dword:00000001
"Servicing"=dword:00000000
"InstallPath"="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\"
"Release"=dword:0006041f
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\1033]
"Version"="4.6.01055"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"Servicing"=dword:00000000
"Release"=dword:0006041f
https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed says this is v4.6.1. :( Do you have an updated 64-bit W7 SP1? If not, then try it in a machine (virtual is fine to use since I reproduced it).

Hey try and place it in c:\windows\syswow64 and let's see if that's the issue... I'm pretty sure we compile for any cpu but who knows...

Woah. That worked! I'm configuring it now. I hope it works with old MAME v0.177. I haven't updated for years since I don't play games these days. :(

They changed the format of their xml output a while ago (don't know specific ver though) so if the build list function doesn't work then it's that and you'll probably need a newer version...

Hey try and place it in c:\windows\syswow64 and let's see if that's the issue... I'm pretty sure we compile for any cpu but who knows...

I was just about to recommend that! I recall this issue before, but didn't pay much heed to it. We should verify that we are indeed compiling for AnyCPU, @mika76.

Darn it. I can't use MAME64 v0.177 since it didn't find any games. Boo! This will take a while for me to update my ROMs too. Bah!

I'm going to sleep! Thanks! ;)

I don't believe it would be too much effort for me to add support for earlier versions of MAME. What are your thoughts?

Nullpainter: Try it. Let's keep this one about .NET version issue. https://github.com/mika76/mamesaver/issues/53 for the older MAME version issue that I just made.

All fixed. PR submitted; will be in next release. The issue wasn't actually about .NET - it was that the screensaver was inadvertently being built as a 32 bit application. Thanks for reporting this, @antdude.

You're welcome. :D


CODECOWNERS file has error condition - Unknown owner

Unknown owner on line 1: make sure @jimmyraywv exists and has write access to the repository
What steps did you take and what happened:
Read the file
What did you expect to happen:
No errors
Anything else you would like to add:
Environment:

Ratify version: (use the image tag): N/A
Kubernetes version: (use kubectl version): N/A

Fixed by granting the write access.

Thanks @binbin-li!


After clicking back to a previous song, refreshing plays last song on the history list

Refreshing should make the last song played play, not the last song on the history list

This happens because playedSongs is not reflecting a technically accurate history; for example, out of A B C D, if B is played again, playedSongs = [A, B, C, D] not [A, B, C, D, B]. Argh.

Not a bug, I think this is the behavior we want. Will wait to see if anyone complains.


Training dataset

The training dataset is being uploaded at https://huggingface.co/datasets/datamol-io/safe-gpt (62%).
I finally had to use.a GCP VM (order of magnitude faster for all the steps).
But HF has an hourly quota limit so I can only upload ~30% by ~30%. Should be done soon - will close here once it is.

@maclandrol

Done!
By tweaking the sharding size, I have been able to overcome the limits (less number of files).
Should be all good now.


Default Redux dispatch() return value is being overridden/removed

The default return value for a Redux dispatch() is the action that was launched by the call. This package is breaking that default behavior, and dispatch() is only returning undefined.
To show a real-world application of this feature, here is a chunk of code from a project that is using the returned actions:
fetchAPI(secretKey, method, url)
.then(json => json.plugins.map(plugin => dispatch(foundPlugin(plugin))))
.then(pluginActions => pluginActions.forEach(
    ({ plugin: { name, methodsURI, visualizersURI } }) => {
        dispatch(loadMethods(name, methodsURI));
        dispatch(loadVisualizers(name, visualizersURI));
    }));

Where the json.plugins.map(dispatch()) was producing a list of the actions that were dispatched and would pass them along to the next step in the chain. After adding redux-electron-store, all that is returned is a list of undefined's.
I tried hooking into the postDispatchCallback() to see if I could pump the action through using one of the available API methods, but it doesn't seem like that will work since telling that callback to return the action will just return it to the doDispatch method body, and not out of the dispatch() call itself.

Ah good point, I did not know dispatch had a return value, so thanks for bringing it up.
If you could submit a PR to fix this that would be most helpful, since I'm pretty busy for the next week or so.

I can definitely look into it.
Thanks for this awesome package, by the way! It was a huge help with removing ipc "hacks" that threw objects between windows.

Published in v0.3.11 :+1:, thanks for contributing!

Awesome!  Thank you again, for this awesome package!


⚠ ClamAV has degraded performance

In ab953c6, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 91 ms

Resolved: ClamAV performance has improved in 62d323a.


Fix MoltenVK detection

There have recently been changes to the logic detecting Vulkan SDK on MacOS.
I have MoltenVK installed using homebrew and the macos-arm64_x86_64 is not available on my system.
Hence I have added code to detect multiple arch variants.
Following is info about my MoltenVK installation:
$ brew info molten-vk
==> molten-vk: stable 1.2.7 (bottled), HEAD
Implementation of the Vulkan graphics and compute API on top of Metal
https://github.com/KhronosGroup/MoltenVK
/opt/homebrew/Cellar/molten-vk/1.2.7 (145 files, 89.6MB) *
  Poured from bottle using the formulae.brew.sh API on 2024-02-02 at 14:16:49
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/m/molten-vk.rb
License: Apache-2.0
==> Dependencies
Build: cmake ✔
==> Requirements
Build: Xcode >= 11.7 (on macOS) ✔
Required: macOS >= 10.12 (or Linux) ✔, macOS ✔
==> Options
--HEAD
        Install HEAD version
==> Analytics
install: 1,133 (30 days), 4,053 (90 days), 15,190 (365 days)
install-on-request: 580 (30 days), 2,120 (90 days), 7,696 (365 days)
build-error: 102 (30 days)

$ brew ls molten-vk
/opt/homebrew/Cellar/molten-vk/1.2.7/bin/MoltenVKShaderConverter
/opt/homebrew/Cellar/molten-vk/1.2.7/Frameworks/MoltenVK.xcframework/ (2 files)
/opt/homebrew/Cellar/molten-vk/1.2.7/Frameworks/MoltenVKShaderConverter.xcframework/ (2 files)
/opt/homebrew/Cellar/molten-vk/1.2.7/include/MoltenVK/ (6 files)
/opt/homebrew/Cellar/molten-vk/1.2.7/include/MoltenVKShaderConverter/ (4 files)
/opt/homebrew/Cellar/molten-vk/1.2.7/lib/libMoltenVK.dylib
/opt/homebrew/Cellar/molten-vk/1.2.7/lib/libMoltenVK.a
/opt/homebrew/Cellar/molten-vk/1.2.7/libexec/include/ (120 files)
/opt/homebrew/Cellar/molten-vk/1.2.7/libexec/lib/ (3 files)
/opt/homebrew/Cellar/molten-vk/1.2.7/share/vulkan/icd.d/MoltenVK_icd.json

$ ls /opt/homebrew/Frameworks/MoltenVK.xcframework/
Info.plist  macos-arm64

Thanks!

Doesn't seem trivially cherry-pickable for 4.2/4.1 as we haven't backported 94238d046228dcca57ec3d5eeb94b8c0110f6d01. If those branches have the same issue, the detect.py refactor part of 94238d046228dcca57ec3d5eeb94b8c0110f6d01 could likely be cherry-picked together with this PR.


OAuthPlayGround Login Issue

Describe the bug
I'm not able to login and test OAuthPlayGround
To Reproduce
Steps to reproduce the behavior:

Go to https://localhost:9031/OAuthPlayground/welcome
Click on Implict
Provide User Credentials
See error

Logs

ERROR [SystemErr] Aug 26, 2019 2:21:05 PM com.unboundid.util.Debug debugLDAPResult
pingfederate_1     | INFO: level="INFO" threadID=148 threadName="Connection reader for connection 34 in pool 'pingdirectory' to pingdirectory:389" ldapSDKVersion="4.0.11" revision="3
4e39aab27ea4fb92659a6888933db08099c7e41" connectionID=34 connectionPoolName="pingdirectory" connectedTo="pingdirectory:389" readLDAPResult="SearchResult(resultCode=50 (insufficient access rig
hts), messageID=6, diagnosticMessage='The requested operation requires the config-read privilege')"

Screenshots

Environment:

Github Repo: pingidentity-devops
Docker Container: Docker-Compose/ 01-SimpleStack (EDGE)
Local Environment : Windows 10

Additional Info
I was successfully able test all flow until last week, not sure if its related to new updates

Hi, sorry for a late response. I've just tested and was unable to reproduce the error.
note. for login information I used user.0/2FederateM0re
I assume if this was an error, it was fixed over time. I'm going to close this issue on the assumption it's fixed.


Add answer_predfix to prevent model from refusing to answer typo?

Do you mean answer_prefix in README. Is this like forced_generation? Model can still refuse to answer.

We add answer prefix as the start tokens of assistant message. This can prevent model from refusing to answer.

Yes I think there is typo saying answer_predfix which I think is a typo


boards: arm: mps2_an521: force secure firmware image by default

In order to increase code coverage, we force building a Secure
Firmware image by default (i.e. with option
CONFIG_TRUSTED_EXECUTION_SECURE set), when building for
mps2_an521 board. CONFIG_TRUSTED_EXECUTION_SECURE enables
compiling-in all TrustZone-related code in the tree, that is,
all ARM-specific code inside #ifdef CONFIG_ARM_SECURE_FIRMWARE.
Signed-off-by: Ioannis Glaropoulos<EMAIL_ADDRESS>Closes #16148

@galak do you think we can get this in?

Currently on top of #18082. The patch is the top 2 commits.
@microbuilder @galak @andrewboie can we try to get that in for 2.0?
In brief:

the top commit forces CONFIG_TRUSTED_EXECUTION_SECURE=y when building for mps2_an521. So it forces Secure mode, which is, anyways, the default mode for TrustZone-M CPUs; all the patch does, is to compile-in all code under #ifdef CONFIG_ARM_SECURE_FIRMWARE, so we get this code built, which, otherwise is a dead code, cause we have no samples, yet, for Secure ARM code. So this is about increasing code coverage
there's also a minor tweak in the second commit, @galak @microbuilder; normally, non-banked faults (BUS, NMI, etc.) are routed to non-secure firmware. This aligns well with TF-M's view of running full Zephyr in non-secure domain (so it would need to utilize all kinds of CPU exceptions). But that would break some tests in the tree that actually generate NMIs and BusFaults (e.g. to test them, such as arch/arm/arm_runtime_nmi suite). So I added a Kconfig option to have this "routing" configurable; and not route these exceptions to Non-Secure if we are in test mode (that is, keep the default behavior in production mode)

FYI @karl-zh


critical flag, better JSON response

Adding a critical flag to identify services that should not cause a health check failure
Adding better JSON response (to include response time)
Adding to README code example to reinit a backend so it can be renamed and have its default flags changed (for instance, the new critical flag)

Codecov Report

Merging #189 into master will increase coverage by 0.59%.
The diff coverage is 95.45%.

@@            Coverage Diff             @@
##           master     #189      +/-   ##
==========================================
+ Coverage   73.92%   74.52%   +0.59%
==========================================
  Files          28       28
  Lines         303      314      +11
==========================================
+ Hits          224      234      +10
- Misses         79       80       +1

Impacted Files
Coverage Δ

health_check/backends.py
100% <100%> (ø)
:arrow_up:

health_check/views.py
97.29% <95.23%> (-2.71%)
:arrow_down:

Continue to review full report at Codecov.

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

Hi @alexdlaird thanks for the contribution. Seems like you have been quite busy here. That's great! Only problem I have to review it all... could you do me a favor a split things up a little.
I see that you did changes to the usage of concurrent futures as well as to the json view a .gitignore file.
I would suggest to put all of those changes into separate PRs. That way I can merge and release them as quick as possible without being held back by another part of the patch.
Let me know if you need any help.

@codingjoe Sorry about that :). Was pushing a bit from my own fork to get it to where I wanted it for my project—I've since tagged that and am using the changes in production, so I'll go back and break this into two (maybe three) different PRs for you to evaluate.

Alright, I've created three other PRs for you (added a Twilio health check as well)—I offer them to you as-is. They're a bit cobbled together from my own fork, as I added additional changes to my own fork that are more specific to my use case and I don't think you'd want to merge into the mainline branch, so if they work for you, great! Otherwise feel free to close them out.


filter tag is out of box in search key term for long product name

Bug report
Title
filter tag is out of box in search key term for long product name
Issue Description
filter tag is out of box in search key term for long product name
Preconditions
1. framework Version- master

Steps to reproduce
1. step1- add product with product name having atleast 200 char
2. step2- search the product

Expected result

Actual result

[points....]

now working fine https://prnt.sc/tq007e


Registering a handler for HTTPException has no effect

When registering a handler for werkzeug.exceptions.HTTPException, it has no effect when an HTTP error is raised.
Assume the following handler:
@app.errorhandler(HTTPException)
def http_err_handler(error):
    response = jsonify({
        "success": False,
        "message": error.name
    })
    response.status_code = error.code
    return response

When requesting a page for which no route exists, a JSON response should be returned by the error handler, but instead, the usual Flask-generated HTTP error page is returned.
On the other hand, if the error handler is defined to handle a specific error code (by passing the error code to the app.errorhandler decorator), the exception is trapped and the JSON message returned.
As wekzeug.exceptions.HTTPException is the class raised internally by the abort() function, why isn't it possible to create a "catch-all" handler like this? Am I missing something?

#839 doesn't fix the issue OP posted. #839 only handles subclasses of HTTPException.

Could you provide a testcase that fails?

import unittest

from werkzeug.exceptions import HTTPException, NotFound

import flask

class ErrorHandlerTest(unittest.TestCase):

    def setUp(self):
        app = flask.Flask(__name__)

        @app.errorhandler(HTTPException)
        def http_exception(e):
            return 'generic', 500

        @app.errorhandler(NotFound)
        def notfound_exception(e):
            return 'not found', 404

        @app.route('/error')
        def error():
            flask.abort(500)

        self.app = app

    def test_notfound_handler(self):
        rv = self.app.test_client().get('/')
        self.assertEqual(rv.status_code, 404)
        self.assertEqual(rv.data, 'not found')

    def test_http_handler(self):
        rv = self.app.test_client().get('/error')
        self.assertEqual(rv.status_code, 500)
        self.assertEqual(rv.data, 'generic')

if __name__ == '__main__':
    unittest.main()

$ venv/bin/python app.py
F.
======================================================================
FAIL: test_http_handler (__main__.ErrorHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "app.py", line 35, in test_http_handler
    self.assertEqual(rv.data, 'generic')
AssertionError: '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>500 ...' != 'generic'

----------------------------------------------------------------------
Ran 2 tests in 0.021s

FAILED (failures=1)

Code 500 is an InternalServerError (subclass of HTTPException). Since there is no specific handler for it (unlike NotFound), one would hope it would be handled by @app.errorhandler(HTTPException)

Ahh, I think this is because HTTPException doesn't have a HTTP code, but the error handling logic tries to find an errorhandler with the HTTP code.
cc @flying-sheep

Has anybody reviewed/tested #1383? I was not very sure by looking at the changes.

Yeah this slipped through the cracks!
I wonder whether we shouldn't remove the code/no-code distinction because of this bug though.

right, i didn’t think of this, sorry!
so the legal classes to register handlers for: HTTPException, the finite set of all subclasses of it (synonymous with error codes), and subclasses of subclasses (e.g. class ForbiddenBecauseNotRegistered(Forbidden): ...
and the legal instances of exceptions to raise are instances of subclasses of HTTPException but not direct instances of HTTPException.

this means the following assumptions hold:
if isinstance(e_instance, HTTPException):
	assert e_instance.code is not None
if issubclass(e_class, HTTPException):
	assert e_class is HTTPException or e_class.code is not None

we should add a way to add a handler for HTTPExceptions without allowing users to raise an instance of HTTPException.
so we should probably simply change this line to:
if issubclass(exc_class, HTTPException) and exc_class is not HTTPException:

@Bekt that PR should be closed, it was written against the old broken behavior that I replaced.

For those who simply want to override the default behavior of the default HTTPException subclasses, you can do something like this:
import flask
from werkzeug.exceptions import default_exceptions

def create_app():
    app = flask.Flask(__name__)
    ....
    for code, ex in default_exceptions:
        app.error_handler_spec[None][code] = _handle_http_exception

def _handle_http_exception(error):
    if flask.request.is_json:
        return jsonify({
            'status_code': error.code,
            'message': str(error),
            'description': error.description
        }), error.code
    raise error

#2144 seems to solve this issue

Resolved by https://github.com/pallets/flask/pull/2314

@Bekt I'm a bit late to the party, hope you're around... I'm trying to get flask to return JSON errors when there are exceptions. Your code works great except for raise error.get_response(). According to werkzeug docs:

If you call get_response() on an exception you will get back a regular BaseResponse object, even if you are using a custom subclass.

This results in raise error.get_response() returning TypeError: exceptions must derive from BaseException. Did I miss something? Is there a better way of doing this in 2019 as opposed to 2015.

@antgel i would be lying if i said i remember even remotely what this thread is about... i miss my flask days.

I mean, the error message is pretty clear: error.get_response returns a Response, not an Exception, so you have to either return that response from your view or handle the error through some mechanism (idk what’s best, middleware? a view function decorator?

So late, but this is NOT a bug, this is a design decision. HTTPException is the base type for all http exceptions in werkzeug.
and werkzeug or flask themselve, never raise an instance of HTTPException, instead they raise different subclasses of it.
so this is implemented this way to enforce that HTTPException is the base type, and should not be raised directly. but you
could register an error handler for HTTPException and handle all subclasses of it without any problem.

Long story short: It is a bug, it's a flaw in the design, it's easy to work around as a user, so it's rather low priority to fix. :S

Hi
So late, but this is NOT a bug, this is a design decision. HTTPException is the base type for all http exceptions in werkzeug.
and werkzeug or flask themselve, never raise an instance of HTTPException, instead they raise different subclasses of it.
so this is implemented this way to enforce that HTTPException is the base type, and should not be raised directly. but you
could register an error handler for HTTPException and handle all subclasses of it without any problem.


[5.7] Modify MSSQL driver order

Before this PR dblib was always used for connecting to MSSQL if it was installed on the server, no matter if the user chose via config to prefer ODBC or if sqlserver was also installed. Dblib is deprecated, both by Microsoft and PHP itself (http://php.net/manual/en/ref.pdo-dblib.php)

This extension is not available anymore on Windows with PHP 5.3 or later.
On Windows, you should use SqlSrv, an alternative driver for MS SQL is available from Microsoft.
If it is not possible to use SqlSrv, you can use the PDO_ODBC driver to connect to Microsoft SQL Server and Sybase databases, as the native Windows DB-LIB is ancient, thread un-safe and no longer supported by Microsoft.

The state after this PR:

check if the user prefers ODBC, if yes then use that
check for sqlsrv, if it's available use that
if ODBC was not used, and sqlsrv is unavailable then and only then use dblib

Fixes https://github.com/laravel/framework/issues/25133

Is there any way I can disable dblib extension from php on my mac? My php seems to have it bundled with it (installed v7.3 via homebrew) and I do not find it anywhere in php.ini to disable. I'm using Laravel 5.5 and cannot upgrade at the moment so Laravel always defaults to dblib as in_array('dblib', $this->getAvailableDrivers() returns true. I want to force it to use getSqlSrvDsn without having to modify this code (src/Illuminate/Database/Connectors/SqlServerConnector.php)

I'm having the same problem. Did you figure out how to use getSqlSrvDsn w/o modifying Illuminate/Database/Connectors/SqlServerConnector.php?
For some reason Eloquent returns a SQL Server DATE type, e.g. '2020-03-06' as 'Mar  6 2020 12:00:00:AM' when using dblib but returns it as '2020-03-06' when using sqlsrv


License?

Would love to start building with this, need to know the license.

Hey @joshdance,  Added the license :)

awesome! thank you
On Mon, Nov 20, 2017 at 2:48 PM, Shivkanth B<EMAIL_ADDRESS>wrote:

Hey @joshdance https://github.com/joshdance, Added the license :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/shivkanthb/tiktok/issues/1#issuecomment-345842913,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkff8CdlnGKNYHDANJLK60i6XVpcX8Hks5s4fO1gaJpZM4QkzEo
.

--
-J

joshdance.me/
I make YouTube videos I think you will like
http://bit.ly/ShootTubeEmailSig.
I solve problems


[Asana] The due dates in the extension are off by 24 hours

Extension
https://www.raycast.com/raycast/asana
Description
When I'm using the Asana web app, the dates are correct. For example I have a task due tomorrow and it shows up correctly in the UI. After connecting the extension to my Asana count the same task reports the due date as today. I checked my system time and everything is set correctly.
Steps To Reproduce

Invoke Asana extension and select 'My Tasks'
Due dates show up as due 24 hours earlier than they should

Current Behaviour
See above.
Expected Behaviour
The dates in Raycast to match what's on the Asana app.
Thanks!

Thanks for flagging this issue. Maybe it's a timezone issue? When did you see that and what was your timezone?

It's been present since installing the extension. I figure it has to be timezone related, but I can find the discrepancy the settings for either my laptop or Asana. My timezone is EST.

Thanks for the additional info. I’ve added it to our team’s backlog, but it may take some time before we can implement it.
In the meantime, feel free to submit a pull request if you’d like to tackle this issue. I’d be happy to review it! You can contact me here or in the Slack community if you need further help.

Thanks for the additional info. Would you like to work on it? I can provide some guidance on how to contribute to this extension so that you can open a pull request. You can contact me here or in the Slack community if you need further help.


docs/olm-integration revert changes from #2989, fix grammar

Description of the change:

docs/olm-integration/generating-a-csv.md: revert changes from #2989, fix grammar

Motivation for the change: didn't get a review in before #2989 was merged (my fault). See the original PR for comments related to these changes.
/kind documentation

/lgtm
Sorry had merged it before getting review.


BUG[Improving UI of Rate US PAGE]

Describe the bug
No stying for texts and heading in rate us page
Expected behavior
I make to style heading and paragraphs corresponding to webpage.
Screenshots (Mandatory)

Are you contributing under any open-source program ?
yes, JWOC'24 - phase 2

https://github.com/apu52/Travel_Website/assets/115262737/8c9c74c0-9ba6-4022-9774-b1718c4cbc57

https://github.com/apu52/Travel_Website/assets/115262737/9fc6e99c-223b-4248-a48d-263d22598b27
@apu52 please could you review my PR


Added Sponsors page

What's new?

Added Sponsors Page

Visual aids

Hey @icepeda I'm getting a cors error when trying to test, how did you get over that?

@eatskolnikov to test it you have to use a extension for the cors, maybe can work with this extension : https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf?hl=es

No sabia que tenia un extension activado. Este he estado usando: https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf?hl=en

Make sure framed sections are aligned and have the same size

I think that it is better to move the requests to an endpoint in the backend, so that everyone who tests that section does not have to install the extension to test

Check the documentation for the opencollective graphql
https://medium.com/open-collective/open-collective-graphql-api-preview-3b42ed1d55ff

Fixes has been made. Thanks for the feedback guys, hope they keep on coming.
The primary change was made in the controller. Now instead of calling opencollective from AJAX, i make the call from the controller, this way we can avoid CORS issues for this specific case.
UI Changes

(pinedax chin is a bit to large 😅 ):


Added Quick sort in C++

Hello adi-gor,
please create an issue then wait for your assignment on it.
Please request on #44


Added new words to the Dictionary...

What new changes did you make? Tick all applicable boxes

[x] Added new abbreviation
[x] Fixed something in the source code
[ ] Added a new feature
[ ] Fixed the docs (README.md, CONTRIBTUING.md, etc)

Describe the new changes you added.

Added new slangs: hth,idgaf, fwb, and diy.
I also added a missing semi-colon to the idg.json file to fix the error

Thank

Ohh, you got a good one! Thank you for your contribution 🎉

Thank you too


Hitting issues trying to use UUID instead of ID as primary key

I'm trying to use UUIDs instead of IDs as my primary key. I'm using:

rails 5.2.0
mysql-binuuid-rails 1.1.0
mysql 5.6.40

My code mostly looks like the following: https://gist.github.com/kevinjalbert/07ec608500680e9d6fb4446e59f12f38
From a single model's perspective everything works. I can create and access the model using the id field (which is really a binuuid).
pry(main)> User.create
   (0.4ms)  SET NAMES utf8mb4,  @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'),  @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
   (0.8ms)  BEGIN
  User Create (0.7ms)  INSERT INTO `users` (`id`) VALUES (x'289ae6e6d1c8432ba0fa8579933cc577')
   (2.2ms)  COMMIT
=> #<User:0x0000557e40a3ca78 id: "289ae6e6-d1c8-432b-a0fa-8579933cc577">

pry(main)> user = User.find("289ae6e6-d1c8-432b-a0fa-8579933cc577")
  User Load (0.6ms)  SELECT  `users`.* FROM `users` WHERE `users`.`id` = x'289ae6e6d1c8432ba0fa8579933cc577' LIMIT 1
=> #<User:0x0000557e40a89558 id: "289ae6e6-d1c8-432b-a0fa-8579933cc577">

I hit some interesting issues when trying to do relationships with it though:
pry(main)> user.posts.create
   (0.5ms)  BEGIN
  Post Create (1.0ms)  INSERT INTO `posts` (`id`, `user_id`) VALUES (x'082c13a29bc345df8b01f0e6e0e80d5a', x'32383961653665362d643163382d343332622d613066612d383537393933336363353737')
   (0.4ms)  ROLLBACK
ActiveRecord::ValueTooLong: Mysql2::Error: Data too long for column 'user_id' at row 1: INSERT INTO `posts` (`id`, `user_id`) VALUES (x'082c13a29bc345df8b01f0e6e0e80d5a', x'32383961653665362d643163382d343332622d613066612d383537393933336363353737')
from /usr/local/bundle/gems/mysql2-0.5.2/lib/mysql2/client.rb:131:in `_query'

I don't know where the long value for the user_id is coming from here:
pry(main)> user.id
=> "289ae6e6-d1c8-432b-a0fa-8579933cc577"

I've dug into this a bit more and it looks like the string uuid is being casted again as it goes into the database. At least that is what I'm seeing (as the values match-up):
 pry(main)> user.id.unpack("H*")[0]
=> "32383961653665362d643163382d343332622d613066612d383537393933336363353737"

-- https://github.com/nedap/mysql-binuuid-rails/blob/master/lib/mysql-binuuid/type.rb#L19

Any suggestion on how to proceed? Maybe I'm using this gem the wrong way, or I'm going against the grain in trying to use uuid values instead of ids.

@markoudev I get the same error with that approach. I suspect it is following the same double unpacking code path.
I'm not too familiar with the ActiveRecord side of things from a casting perspective. It sounds to me that "the first thing that comes to mind is avoiding double unpacking by checking if it's already unpacked" approach would work, and would be contained to where the unpacking happens.
I worry if there might be some edge case in that check though? Fortunately, UUIDs follow a fairly standard format and thus a quick check wouldn't be terrible from my perspective.

I was digging into this a little more, and got the same error. I created two models with UUIDs as their primary key, and with a reference to each other. Then I realised I forgot to make the reference column a binary column as well.
When I specified that it worked.
Then I looked at your gist again, and found that in Post you say it belongs_to :user. That means that there is a column named user_id. Since the id of a User in your example is a UUID as well, you need to specify the attribute on Post:
attribute :user_id, MySQLBinUUID::Type.new
Is this a silly thing something we looked over completely? 😅

I'm closing this to clean up the open issues.


Account Suspended

My Instagram account was suspended after only 3 days, with just 5 strikes. Could you please share a solution for this issue?

I'm so sorry about that, I've been using this method since June and haven't received any suspensions or restrictions so for now I have no idea how to fix it. I don't know what could cause it besides making bulk requests.

@ahmedrangel kindly share your live site or app where you did integrate this code


Deal only in quay.io/ image names

quay.io is where we push images, so just build images with that in the
name, rather than requiring people (i.e., me) to retag.

NB I have also removed the pushing of :latest images. :latest images are to make something you shouldn't do more convenient to do.


Destructuring writer treats strings as Enumerable

This is causing truncation in the write node because the internal element count is being incremented.

N/A - this wasn't the problem


What is the release policy?

Could you please clarify, what the policy for backporting changes from master to release branches is? If you don't mind, I think it should be added to the README. The only mention I could find is #944, but it doesn't seem very official. And if it is, I would like to ask why it is like so.
I contributed with the readline package recently, mainly because it was useful for me, and therefore began using home-manager from master branch on NixOS 19.09. It worked perfectly, until a change related to GPG compatible with unstable NixOS only was merged to home-manager and therefore my configuration couldn't be built. I understand this is a minor issue, I can simply keep my own fork, but generally I feel like home-manager is a great tool developing very rapidly and having to wait for a new release or having to use unstable NixOS is unnecessary for changes that can be ported one-to-one.
Or if you just feel like it is too much work, would you mind us, the contributors, to open PRs to the latest release branch with changes from master we find relevant?
Thanks in advance

I guess the policy is

Bug fixes and minor changes that are relevant to the stable version are backported, either as soon as possible for critical bugs or in a batch whenever I have the time for non-critical ones.
New modules and major changes are only backported on request and if they are unlikely to cause issues for other users. Since backporting is generally a quick operation it is sufficient to create an issue.

I'll take this issue to be a request for backporting the readline module and will see about getting it into the 19.09 branch 🙂

Thanks for the answer.
Is #1046 acceptable for you?

Closing since the PR got merged.


The 2 fields " Location" and " Department" of the "Incidents" on Sharepoint not be updated

Cascading selection work fine. However, when I add " Submit" button to update the form, the 2 fields " Location" and " Department" is updated as blank, the other fields is updated as my input.

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

ID: 234f0d1d-814d-f901-b165-211bed69242e
Version Independent ID: bfc7f9ce-90d5-5367-85fb-463c564a3db9
Content: Create a dependent drop-down list in a canvas app - PowerApps
Content Source: powerapps-docs/maker/canvas-apps/dependent-drop-down-lists.md
Service: powerapps
GitHub Login: @emcoope-msft
Microsoft Alias: emcoope

I'm having the same issue.

Solved by Change the "Location DataCard" and "Department DataCard".
1/ Select the Location_DataCard on the left hand panel-> Go to the Advanced tab on the right hand panel-> Change the "Update" property to DataCardValue17.Selected.Result and " AllowedValue" to Distinct(Locations,
Location)
2/ Select the Department_DataCard on the left hand panel-> Go to the Advanced tab on the right hand panel-> Change the "Update" property to DataCardValue18.Selected.Result and " AllowedValue" to Distinct(Filter(Locations, Location = DataCardValue17.Selected.Result),Department)

Hi, I'm new to powerapps and I can't seem to find where to make the above correction.  Where do I find the location to change the "update" property?


Add DEV and STAGING in the stage_type UI list

Related to these two PRs: https://github.com/pinterest/teletraan/pull/1355
https://github.com/pinterest/teletraan/pull/1365

The three PRs need to be tested together on integ. If everything is good, we can add the banner back to ask user to update the stage type.


Welcome editor always jumps to the front

Steps to Reproduce:

use a fresh user data dir
open once, notice welcome appearing, close it
open settings editor
quit
start again

=> settings editor opens but then welcome comes to the front stealing focus

The underlying reason is this check:
https://github.com/microsoft/vscode/blob/9b2e9634aa7cca984acd9d408bb4342cb1613aca/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.ts#L157
Since this is with an empty window, we always seem to restore the welcome page 🤔


Rommellayco make stale seconds configurable

About this change - What it does

Implement a exponential backoff when stalling on backup download

Why this way

There is https://github.com/Aiven-Open/rohmu/pull/194 and https://github.com/Aiven-Open/pghoard/pull/631 which I think probably already solve most of our problems.

The conflict is caused by the merge of #631. After fixing conflicts, I have tested this in dev env and LGTM.
self.max_stale_seconds can double as many times as the self.stall_max_retries allows, and it can become quite large. I assume that if us (or other pghoard users) use the restore progress for monitoring and alerting purpose, it should not be a problem?

Thanks for fixing the conflict. I assume it should be self.max_stale_seconds = min(self.max_stale_seconds * 2, 480) ?
(min, not max. Otherwise self.max_stale_seconds will jump from 120 to 480, and then 960...)


In the event that @profile doesn't work, is it possible to print a list of accounts followed by user?

For reasons I don't understand, @profile command hasn't worked for in my case for a while and just saves to session.
If the user has a lot of accounts that are followed, wouldn't it make sense to have those accounts stored into a file to be used for passing arguments. I don't know how to work with not being able to use the profile command otherwise

Can you show the command that you have been using ??

Can you show the command that you have been using ??
i've used this with success before
instaloader --login username --no-posts --no-profile-pic @profile

Loaded session from e:\users\Admin1\appdata\local\temp/.instaloader-admin1/session-username. Logged in as username. Retrieving followees of profile... Saved session to e:\users\admin1\appdata\local\temp/.instaloader-admin1/ session-username.
I have no issues when logging in and downloading from other profiles.
#319

Try python module that gives you flexibility and it is more powerful. Maybe that could help you with your issue. It is working for me. There doesn't seem to be an issue with your command.

the python module gives the same results unfortunately. i'm not sure what the problem is. i've tried 2 accounts so far and still nothing. I wish I could see what was going on underneath to understand why there's nothing being written

i'm not exactly sure of how to do that
I understood this part but I'm unsure of where to go from here
`import instaloader
#class Profile(context, node) possibly needed?
L = instaloader.Instaloader()
profile = Profile.from_username(L.context, USER)
print("{} follows these profiles:".format(profile.username))
for followee in profile.get_followees():
print(followee.username)`
`Traceback (most recent call last):
File "E:/instaloader-master/test/main.py", line 6, in
profile = Profile.from_username(L.context, USER)
NameError: name 'Profile' is not defined
Process finished with exit code 1
`

import instaloader
from instaloader import Instaloader, Post, Profile, load_structure_from_file
from datetime import datetime
from itertools import dropwhile, takewhile
L = instaloader.Instaloader()
L.interactive_login('your_way_of_login')
# Your preferred way of logging in:
profile = instaloader.Profile.from_username(L.context, 'id_username_in')

Perform the operation now :) also so Profile is the class and you'd have to import profile too. Hope it works now.

Thank you! That got everything needed. I'll be studying the documentation and python quite a bit more in the meantime


Make Hello World compatible with GraphiQL

This allow newcomers to follow documentation to get started and then
keep exploring with GraphiQL
Closes #87

As a sidenote if GraphiQL way of sending things becomes/became a de-facto standard, it might be worth considering a sort of helper so end-users don't have to re-implement JSON parsing.

Coverage remained the same at 93.717% when pulling 5ca69c6ec8a5f4b57426b2533db05edc0a8911c3 on PowerKiKi:patch-1 into ac5c518cbe2e71fcad11b9131ff1f3fb7237ac2b on webonyx:master.

@PowerKiKi Thanks for the PR!

Btw is there a Gitter or mailing list to talk about usage of this project ? Specifically I am interested in advice/experiences about integrating with doctrine...

@PowerKiKi Not really. At this point we don't have that many bug reports, so feel free to create an issue on Github for any questions / discussions. This way we can also keep the knowledge base in one location and don't split the community.