Some caching issues related to labels

If I make the following addition (adding a ! to the end of the literal) and replace the data in the RDF store.
<https://linked.data.gov.au/def/address-type> a owl:Ontology,
        skos:ConceptScheme ;
    dcterms:created "2020-03-25"^^xsd:date ;
    dcterms:creator <https://linked.data.gov.au/org/gsq> ;
    dcterms:modified "2023-03-16"^^xsd:date ;
    dcterms:provenance "Derived from  Australian Standard AS 4590.1:2017" ;
    dcterms:publisher <https://linked.data.gov.au/org/gsq> ;
-    skos:definition "The role or use of the address in relation to a party. An address may have more than one purpose."@en ;
+    skos:definition "The role or use of the address in relation to a party. An address may have more than one purpose.!"@en ;
    skos:hasTopConcept <https://linked.data.gov.au/def/address-type/business-address>,
        <https://linked.data.gov.au/def/address-type/delivery-address>,
        <https://linked.data.gov.au/def/address-type/overseas-address>,
        <https://linked.data.gov.au/def/address-type/postal-address>,
        <https://linked.data.gov.au/def/address-type/primary-property-address>,
        <https://linked.data.gov.au/def/address-type/residential-address>,
        <https://linked.data.gov.au/def/address-type/secondary-property-address> ;
-     skos:prefLabel "Address Type"@en .
+     skos:prefLabel "Address Type!"@en .

Prez is combining the results from the RDF store with a local cache and the result becomes:
<https://linked.data.gov.au/def/address-type> a owl:Ontology,
        skos:ConceptScheme ;
    dcterms:created "2020-03-25"^^xsd:date ;
    dcterms:creator <https://linked.data.gov.au/org/gsq> ;
    dcterms:modified "2023-03-16"^^xsd:date ;
    dcterms:provenance "Derived from  Australian Standard AS 4590.1:2017" ;
    dcterms:publisher <https://linked.data.gov.au/org/gsq> ;
    skos:definition "The role or use of the address in relation to a party. An address may have more than one purpose.!"@en ;
    skos:hasTopConcept <https://linked.data.gov.au/def/address-type/business-address>,
        <https://linked.data.gov.au/def/address-type/delivery-address>,
        <https://linked.data.gov.au/def/address-type/overseas-address>,
        <https://linked.data.gov.au/def/address-type/postal-address>,
        <https://linked.data.gov.au/def/address-type/primary-property-address>,
        <https://linked.data.gov.au/def/address-type/residential-address>,
        <https://linked.data.gov.au/def/address-type/secondary-property-address> ;
    skos:prefLabel "Address Type"@en,
        "Address Type!"@en .

I suspect the caching is only for labels because notice there's still only one skos:definition value but two skos:prefLabel values.

This is problematic when it comes to performing data loading/updates. There will be mismatch of data since Prez will keep a stale copy of the labels, presumably in the tbox_cache.ttl.
Performing a curl https://api.gsq-prez.dev.kurrawong.ai/purge-tbox-cache results in an internal server error.
JSON response: {"detail":"Internal Server Error"}.
Logs:
INFO:     <IP_ADDRESS>:0 - "GET /purge-tbox-cache HTTP/1.0" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 78, in call_next
    message = await recv_stream.receive()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.11/site-packages/anyio/streams/memory.py", line 94, in receive
    return self.receive_nowait()
           ^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.11/site-packages/anyio/streams/memory.py", line 87, in receive_nowait
    raise EndOfStream
anyio.EndOfStream

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/.venv/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 429, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.11/site-packages/fastapi/applications.py", line 276, in __call__
    await super().__call__(scope, receive, send)
  File "/app/.venv/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/app/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/app/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/app/.venv/lib/python3.11/site-packages/starlette/middleware/cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
    response = await self.dispatch_func(request, call_next)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/prez/app.py", line 78, in add_cors_headers
    response = await call_next(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
    raise app_exc
  File "/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/app/.venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/app/.venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/app/.venv/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/app/.venv/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/app/.venv/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/app/.venv/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/app/.venv/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
               ^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.11/site-packages/fastapi/routing.py", line 237, in app
    raw_response = await run_endpoint_function(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.11/site-packages/fastapi/routing.py", line 163, in run_endpoint_function
    return await dependant.call(**values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/prez/routers/management.py", line 15, in purge_tbox_cache
    os.unlink("../tbox_cache.ttl")
FileNotFoundError: [Errno 2] No such file or directory: '../tbox_cache.ttl'

Overall, I'd like to get an understanding of why we need a tbox cache, and if it's not required, remove it to simplify the process of performing updates to the RDF store.

Anything from Prez UI will require the annotated labels every time (through a secondary query).
Performance problems to get labels every time.
Options: (1 recommended, 2 optional, 3 for consideration, 4 longer term)

Fix purge option to be able to update the cache. Delete on disk cache, update in memory. Restart Prez required.
Validate if adding to the query to get labels every time reduces the performance significantly. Optionals cause issues, could be refactored to a union, but adds complexity.
Consider including common ontologies in Prez.
Use a separate cache like Redis. For horizontal scaling considerations.

Will be resolved by https://github.com/RDFLib/prez/issues/124

on disk cache has been removed
NB addition of /tbox-cache endpoint which shows the tbox cache; also fix of /purge-tbox-cache endpoint.
no restart of prez required

Closed in https://github.com/RDFLib/prez/pull/127.


Responsive Navbar Added

I have added a responsive navbar to your project. I have used a little bit of javascript to toggle the navbar.
Thank you.

Did you add hactoberfest label?

Please add hactoberfest label so that it counts in hactoberfest PR

added

what problem are you facing write it down here ??


jcenter will close on august 15, 2024. from which repository can we download this repo

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Same issue here.

Same issue

Same issue here.

https://jitpack.io/#smarteist/Android-Image-Slider
follow instructions on this page

@SanketKudale
This solution doesn't work...


test(cypress): add integration tests

https://jira.dhis2.org/browse/DHIS2-10503
Testing lib docs

https://testing-library.com/docs/cypress-testing-library/intro
https://testing-library.com/docs/queries/about#priority

Abstraction
There's some repetition in the test code. I've been trying to follow suggestions like the ones found in the cypress docs: https://docs.cypress.io/api/cypress-api/custom-commands.html#Best-Practices

Testing in Cypress is all about readability and simplicity. You don’t have to do that much actual programming to get a lot done. You also don’t need to worry about keeping your code as DRY as possible. Test code serves a different purpose than app code. Understandability and debuggability should be prioritized above all else.

Let me know if you feel the code could be made more readable.
Todo

[x] List route
[x] View route
[x] Not authorized route
[x] Add route
[x] Edit route

Follow up

[ ] Update components that aren't accessible in ui, and replace component in Temporary with ui components (see TODO comments here 0596432)
[ ] Update tests to use more accessible selectors

LGTM ✔
I particularly like how the accessible selectors and helpers make the tests easier to read. I hope all future cypress tests across our apps are written like this 👌

Yeah I agree, I like it as well. Not too much of a hassle to set up either. All in all quite a useful lib.


BaseGraph as asset, changing gameobject and scrolling, nulls out gameobject

Hello. I posted this in discord, but the channel doesn't seem to be too active.
Using Unity 2021.2.x, when you load a graph that was saved as an asset, any changes to game objects are lost when the user scrolls.
At first I thought that maybe my code was had something wrong, but this happens with the example graphs as well?
https://user-images.githubusercontent.com/1197137/144150304-2d71289f-92ac-41b0-88d8-c1477c24cfe9.mp4

The graph is an asset and a gameobject is in the scene. An asset cannot reference a scene object, which is a general Unity rule. So that is totally ok. It wouldn't make sense, since the asset cannot rely on the scene with the gameobject even being loaded.
So this is not a NGP issue but a Unity rule (not even a limitation, since it is correctly not possible).


BizTalkSample Echo test fails

BizTalkSample Echo test fails.  Need to use explicit physical path for IIS extensions and fix port name on Echo subscription.
This work item was migrated from CodePlex
CodePlex work item ID: '3741'
Assigned to: 'tfabraham'
Vote count: '0'

[UnknownUser@2/3/2009]
Resolved with changeset 18268.

[UnknownUser@2/21/2013]

[UnknownUser@5/16/2013]


Adding custom markdown like Bold

I want to make a custom markdown including toolbar button just like "Bold"
i want the markdown to appear like : @@@text@@@
and for the WYSIWYS i want to wrap it with span element
import type {Context} from '@toast-ui/editor/types/toastmark';
import type {HTMLMdNode, PluginContext, PluginInfo} from '@toast-ui/editor';
import {Selection, TextSelection, Transaction} from "prosemirror-state";

export function createTextNode(schema: any, text: string, marks?: any) {
	return schema.text(text, marks);
}

const PREFIX = 'toastui-editor-';

function createSelection(
	tr: Transaction,
	selection: Selection,
	SelectionClass: typeof TextSelection,
	openTag: string,
	closeTag: string
) {
	const {mapping, doc} = tr;
	const {from, to, empty} = selection;
	const mappedFrom = mapping.map(from) + openTag.length;
	const mappedTo = mapping.map(to) - closeTag.length;

	return empty
		? SelectionClass.create(doc, mappedTo, mappedTo)
		: SelectionClass.create(doc, mappedFrom, mappedTo);
}

function createToolbarItemOption() {
	return {
		name: 'placeholder',
		tooltip: 'Placeholder',
		className: `${PREFIX}toolbar-icons color`,
		command: 'placeholder',
	};
}

export default function placeholderPlugin(
	context: PluginContext,
): PluginInfo {
	const {pmState} = context;
	const toolbarItem = createToolbarItemOption();

	return {
		markdownCommands: {
			placeholder: (payload, {tr, selection, schema}, dispatch) => {
					const slice = selection.content();
					const textContent = slice.content.textBetween(0, slice.content.size, '\n');
					const openTag = `@@@`;
					const closeTag = `@@@`;
					const text = `${openTag}${textContent}${closeTag}`;

					tr.replaceSelectionWith(schema.text(text)).setSelection(
						createSelection(tr, selection, pmState.TextSelection, openTag, closeTag)
					);

					dispatch!(tr);

					return true;
			},
		},
		wysiwygCommands: {
			placeholder: (payload, {tr, selection, schema}, dispatch) => {
				if (selection) {
					// TODO: ...

					return true;
				}
				return false;
			},
		},
		toolbarItems: [
			{
				groupIndex: 0,
				itemIndex: 3,
				item: toolbarItem,
			},
		],
		toHTMLRenderers: {
			// TODO: ...
		},
	};
}

@izikd-
Sorry for the late reply. Have you checked this link?
I think you can code what you want with it. Thanks.

@izikd-
Sorry for the late reply. Have you checked this link?
I think you can code what you want with it. Thanks.

Thank you for the replay.
What I'm trying to achieve is a brand new command.
something like this:

@izikd-
Sorry for the late reply. Have you checked this link?
I think you can code what you want with it. Thanks.

Can I open image dialog with it, but with different text and different functionality? Like change image to file?


Issue: Add social media

Not sure if it's in the template, but looks like the design system website isn't using social media meta tags.
https://www.metatags.org/all-meta-tags-overview/the-important-meta-tags/social-media-metatags/
@artuoma 👋

Hey Luke! @lukefretwell We are using metatags - if you can't see them, would love to know more of where you are looking - they are minified,
I have done a lot of work with getting an 'all social media' compliant spec that works in our publishing systems - WordPress (using SEO Framework, a commonly used WordPress plugin that content teams use to write their social media tags) as well as 11ty. Jon Jensen @xjensen  helped with getting this connected to the front-matter editors for our Design System pages - basically we have a schema for rendering social media on headless sites, correctly.
Writing it, publishing it is another story & there is a lot of room for growth, education and validation of the importance that this does matter - and often it's the first experience of any content that's been shared by individuals to friends, family members and groups, on text messages, in Gmail, etc.
It may help to develop some assets on why and how social media unfurls matter, and helping teams make use of them. Are you aware of any government use cases where teams are doing this well @lukefretwell ?
@yesenia-gtz  @artuoma It would be great if you can note this too.
It's my dream for this to happen and become common (as someone who worked on a marketing team for a major TV event in a past job - I really really want this for any State website that wants to reach people through social media shares - and it's technically complicated - so proud of what we've done to make a spec & it's ready for integration into content & design processes.)
Right now, we are working on including social media alt text as part of normal content processes.
@ashleydraper & I discussed an idea of adding guidance to the Design System site on creating accessible social media, perhaps in June? This is a good training opportunity for understanding how any ca.gov web page is used in any way that Californians may share content, guidance, resources and services. This can link to guidance on writing good ALT text in general.
See this thread https://github.com/cagov/design-system/issues/470 for the bigger conversation (content)
This thread https://github.com/cagov/design-system/issues/601 (engineering support & notes for a future guidance doc.)

@chachasikes it looks like the meta tags are now showing. 🤔
I was DMing with @artuoma in LinkedIn a few weeks ago and it was showing as broken.
Definitely something that gets overlooked on the content management side and, as you say, is extremely important because of how information is shared these days.
@chachasikes thank you for the thorough and thoughtful response. ❤


HIVE-25266: Fix TestWarehouseExternalDir

What changes were proposed in this pull request?

moved the initializing parts from the constructor to BeforeClass
moved the database connection initialization and close into setup/teardown methods
removed unnecessary logging
swapped deprecated warehouse default database location constant

Why are the changes needed?
Fix the flakiness of TestWarehouseExternalDir tests.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Run the hive-flaky-check job: http://ci.hive.apache.org/job/hive-flaky-check/509
The tests were executed successfully 87 times, the interrupting error seems to be environment related and not caused by the test.

The TestCliDriver[mapjoin_memcheck] test failure seems to be an intermittent issue. It is passing locally.


virtualservice match rule value from db ?

now, I use cookie regex userid to manage user's version.
    - match:
        - headers:
            cookie:
              regex: '.*uid=([0-9]{1,3});.*'
      route:
        - destination:
            host: login.canary.svc.cluster.local
            subset: v2

But this method is difficult to manage when there are more users.
If i set user's version in db. How do i use userid from db get user's version in virtualservice?
For example:
db
userid      version
11111           v2

virtualservice
    - match:
        - headers:
               userid:
                  xxxx            # use userid to get user's version from db.  My guess.
      route:
        - destination:
            host: login.canary.svc.cluster.local
            subset: v2

Or there are other better ways? Please tell me, thanks!

Please consult this doc.
https://istio.io/latest/docs/reference/config/networking/virtual-service/#HTTPMatchRequest

Please consult this doc.
https://istio.io/latest/docs/reference/config/networking/virtual-service/#HTTPMatchRequest

I have read this doc.  I did not find a solution slave myql proble.

If you want to do some callout in order to affect routing, you'd need to use Wasm or Lua to inject a customized plugin, or use ext authz extension if you db service could support Envoy ext authz protocol.

Closing as this is answered by ^. For future questions please use discuss.istio.io or stack overflow. Thanks!


Add replicas to the partitioning distributor when they come online.

This change addresses the fact that the partitioning.Distributor was never being updated when replicas came online/offline. Prior to this commit it implemented Online() and Offline() methods that were a holdover from presence.Observer interface that has since been replaced with the more generic observer.Observer interface, which is based on "fact" structs.

/cc @danil - as per discussion yesterday.


y-websocket provider throws unknown type error and RangeError with Hocuspocus server

Description
y-websocket provider doesn't work with Hocuspocus server. However when the y-websocket is switched with the HocuspocusProvider it works.
Steps to reproduce the bug
My server setup is very simple:
const server = new Hocuspocus({   port: 8000 }); server.listen();
In the client I have a yjs doc with 2 maps.
The HocuspocusProvider client works as expected but when I try to use the yjs WebsocketProvider the server shows the following errors:
[1] closing connection because of exception Error: Received a message with an unknown type: 222
[1]     at MessageReceiver.readSyncMessage (C:\work\git\ca-backend\services\nodes-ms\node_modules@hocuspocus\server\dist\hocuspocus-server.cjs:1639:23)
[1]     at MessageReceiver.apply (C:\work\git\ca-backend\services\nodes-ms\node_modules@hocuspocus\server\dist\hocuspocus-server.cjs:1518:22)
[1]     at C:\work\git\ca-backend\services\nodes-ms\node_modules@hocuspocus\server\dist\hocuspocus-server.cjs:1811:55
[1]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[1] closing connection because of exception RangeError: Invalid typed array length:<PHONE_NUMBER>
[1]     at new Uint8Array ()
[1]     at createUint8ArrayViewFromArrayBuffer (C:\work\git\ca-backend\services\nodes-ms\node_modules@hocuspocus\server\dist\hocuspocus-server.cjs:734:77)
[1]     at readUint8Array (C:\work\git\ca-backend\services\nodes-ms\node_modules@hocuspocus\server\dist\hocuspocus-server.cjs:822:16)
[1]     at readVarUint8Array (C:\work\git\ca-backend\services\nodes-ms\node_modules@hocuspocus\server\dist\hocuspocus-server.cjs:837:38)
[1]     at IncomingMessage.readVarUint8Array (C:\work\git\ca-backend\services\nodes-ms\node_modules@hocuspocus\server\dist\hocuspocus-server.cjs:947:16)
[1]     at MessageReceiver.apply (C:\work\git\ca-backend\services\nodes-ms\node_modules@hocuspocus\server\dist\hocuspocus-server.cjs:1541:66)
[1]     at C:\work\git\ca-backend\services\nodes-ms\node_modules@hocuspocus\server\dist\hocuspocus-server.cjs:1811:55
[1]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Expected behavior
The expected behavior for the yjs WebsocketProvider is to work with the Hocuspocus server and be interchangeable with the HocuspocusProvider client provider
Screenshot, video, or GIF

Environment?

operating system: Windows 11
browser: Chrome
Hocuspocus version: 2.0.6
Node version: 18.15.0

Additional context
The yjs document contains information for nodes and edges from reactflow

@alexazarh We are not compatible with y-websocket provider.

@janthurau In this case it's worth updating the docs. According to this page you are compatible:

You can use the Hocuspocus server with y-websocket, the Hocuspocus provider with the y-websocket server, the Hocuspocus provider with y-webrtc … whatever you like.
https://tiptap.dev/hocuspocus/provider/introduction

ohhh shit! Thanks for the hint. Updating right away.


Install machine controller on cluster creation (optional).

This is hidden behind a new --enable-machine-controller flag while I work out any kinks, and only works on GCE. It creates a service account, gives it the compute.instanceAdmin.v1 role, imports its credentials into a cluster secret, and creates a pod on the master for the machine controller.

This change is


Feature/atrayano/split4d

Description

This PR adds full support for handling 4d fields in MAPL. The main feature is the ability to split the 4d fields into series of 3d fields in History
Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)

Checklist:

[x ] I have tested this change with a run of GEOSgcm (if non-trivial)
[x ] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[ ] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

Updated branch with new develop should allow this to merge. Sorry about that.


Fix eventhandler async methods

Summary
Fixes a bug where async Event Handler methods were not properly awaited (and thus also exceptions ignored) if they did any async work. In the process, also found a bug related to delete results returned from async Projection and Embedding methods, that would not be handled correctly.
Fixed

Return the Promise from Event Handler methods in the EventHandlerClassBuilder to handle async methods properly.
Await results from Projection/Embedding on() methods, so that async delete results are handled properly.

Changing the Error types to any is because we are catching things thrown potentially from user-code, so we have no way of knowing that it actually is an Error or just whatever other type. The code was not building (ts -b) because of that in one place, so I also went through and changed it consistently so that we don't assume any wrong types.
I will double check that the createOnMethod handles it, but it did return a T | Promise<T> before my changes, so I just assumed that it would work. Will comment back on my findings.

The on method for Embeddings and Projections is called here:
https://github.com/dolittle/JavaScript.SDK/blob/a6d6c012b34efbd76f51793d285b4c54a3ebb52d/Source/embeddings/Internal/EmbeddingProcessor.ts#L211
https://github.com/dolittle/JavaScript.SDK/blob/a6d6c012b34efbd76f51793d285b4c54a3ebb52d/Source/projections/Internal/ProjectionProcessor.ts#L191
The result will be the returned value from the code I changed in createOnMethod, so it is safe to return a promise here.


This is really useful!

Hi Lucas, couldn't find out how to reach you but this is the best BottomSheet replacement I've found. Using it in my new app and it's great!
https://twitter.com/jordibruin/status/1433718836902178818?s=21
Thanks,
Jordi

Yes, I’m not on twitter only instagram, but thank you a lot for your appreciation ❤
I’m always happy to hear from people who like my work.


Undocumented difference between findAll and query

Hey,
as discussed with @oskarrough on embers slack, there is an undocumented difference between store.findAll('model') and store.query('model', {}).
query
This fetches all the data and registers child_added, child_removed and value-change-listeners. So updating, inserting and deleting data is reflected in the app.
findAll
This fetches all the data and registers for child_added only. This has the sideeffect that value-changes on existing data will not be reflected in the store, but value-changes on newly pushed data, will be reflected. You can find this in https://github.com/firebase/emberfire/blob/master/addon/adapters/firebase.js#L349

To me this seems more like a bug then an undocumented feature since if you wanted to provide one way of dealing with self-updating data and one way to deal with static data, you also should not have binded the child_added event to findAll or at least only push new records once, but don't watch for valuechanges on them.
My vote would cleary go in the direction of handling findAll the same way as query.
Non the less, even if you disagree this difference should clearly be mentioned in the docs. Also the source-codes comment is misleading in this case as it states:

After .findAll() is called on a modelName, continue to listen for child_added, child_removed, and child_changed

Thanks for digging into this @Suven @oskarrough, I'll carve out some time over the next couple days to look into this


Update Waterfox Classic 56.5

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

This is apparently just a hotfix/PR merge, no new version number
Microsoft Reviewers: Open in CodeFlow

@KevinLaMS before you merge, i'm doing this correct right? Because the Author have 2 different version numbers..

There is also a problem with Waterfox.Waterfox where G is not the latest version, and the earlier versions are actually correct but the application name is Waterfox Current

Link to all versions
https://cdn.waterfox.net/releases/win64/installer/


Adding Manish Dangi as contributor on Meshery.io

Current Behavior
@manishdangi98 is a new community contributor.
Desired Behavior
A profile for @manishdangi98 should be created and visible on /community.

Thank you, @willcalcote

fixed by #186


Resolve-Path param that allows skipping IfExists check

My eyes were scanning for something like "In 2017, finally PowerShell team has added..." while reading this QA https://stackoverflow.com/questions/3038337/powershell-resolve-path-that-might-not-exist. 😞
For users to skip existence check, please consider adding a parameter to Resolve-Path cmdlet something similar to one of the following option:
Resolve-Path -Unresolved <arg>
Resolve-Path -Unmonitored <arg>
Resolve-Path -Pretend <arg>
Resolve-Path -Force <arg>
Resolve-Path -SkipExistence <arg>

@kasper3 Thanks for your report! Could you please add repo steps in the issue description?

@iSazonov, it's not a bug report but a feature request to add a parameter in Resolve-Path cmdlet

I ask repo steps because it is easy to understand desire behavior in simple script context - we could use such sample scripts as base for tests.
Perhaps we need Normalize-Path cmdlet.

In dotnet it's called Path.GetFullPath, so perhaps Get-FullPath cmdlet?
Even better, a more familiar analogous to Unix' readlink https://linux.die.net/man/2/readlink, perhaps Get-ReadLink cmdlet (with readlink alias) to match with POSIX std.
Get-ReadLink ~/.nuget
# -> c:\Users\username\.nuget

mkdir /temp
mkdir /temp/tE$T
readlink /temp/te$t\some\non/existing/path  # casing of tE$T is wrong on purpose
# -> c:\temp\tE$T\some\non\existing\path  (with correct casing)

The UNC path rules on Windows are quite detailed to get covered by any interpreter. See @JeremyKuhne's implementation https://github.com/JeremyKuhne/WInterop. Not sure to what extent they can be covered in PowerShell as currently BCL seems to lack some cases.
Note readlink also resolves the symlink. On Windows soft/hard links and Junctions can be covered by the same semantics?
We can also start with simple usecases (without symlinks and UNCs) and then gradually include more features in subsequent releases.

this came up today and a suggestion was to use $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath( $InputPath )
but given we have Resolve-Path or Convert-Path these should have the [switch] as suggested above.


Camera Jitter

After updating to 3.0.0 release or above, camera follow now seems to have a random 1-pixel jitter that affects everything on the screen, like some kind of off-by-one or rounding error. This was never an issue in beta 20 or earlier.
This is my game config:
{
      parent,
      type: Phaser.WEBGL,
      width: 400,
      height: 225,
      pixelArt: true,
      physics: {
        // @todo: Switch to 'matter' so we can use sloped tiles
        default: 'arcade',
        arcade: {
          // debug: true,
          gravity: {
            y: 450
          }
        }
      },
      scene: new RootScene(projectPath)
    }

In my create() function I have this call:
this.cameras.main.setRoundPixels(true);

It may be worth noting that the jitter happens on both the X and the Y axis even though the camera boundary height is the same as the screen resolution height.
If I call setRoundPixels(false) instead then the issue goes away, BUT I get slight corruption in the edges of tiles being rendered plus a warbling/underwater effect due to pixel columns being slightly different sizes.

The issue apparently started in commit 7b1ad0b307401bbd44921215228432b09a5a0513. The commit immediately before that doesn't have the issue.

You can see the problem in action in the follow sprite example if you add the following line after startFollow() on line 35:
this.cameras.main.setRoundPixels(true);

I attempted to provide a fix for this by removing the lines from the preciously mentioned commit which were causing the rounding problems that lead to the jittering. Please let me know if this in an acceptable way to fix the problem, or else please provide more insight into why those changes were made in the first place so I can figure out another way to remedy this.

Hiya - thanks for your work on this and your PR. We have independently fixed this as part of a different batch of work on the renderer and this has now been pushed to the master branch. If you've time it would be great if you could build a version to test, but the fix will be part of the next official release too.

Yes, the issue does appear to be fixed now. Thank you!


Remove docker exec

Remove docker exec command when retrieving oidc-token. Use liboidcagent and try to connect to a local or a remote socket.

Oidc-agent does not support server mode anymore (https://github.com/indigo-dc/oidc-agent/blob/master/gitbook/oidc-agent-server/oidc-agent-server.md). An alternative is to use mytoken


syntax about function definition

is it possible to get back Forth-like syntax (actually cicada-like syntax)
in parable (maybe by syntax extension ?)
to change
[ &STATUS @ #2 / floor &STATUS ! ] 'even' define

into
: even
  &STATUS @ #2 /
  floor &STATUS !
; define-function

to do another compare for fun ::

first

     define-function factorial
       << n -- n! >>
       dup one? if
         end
       then
       dup sub1 factorial *
       end
     end

second

     : factorial
       << n -- n! >>
       dup one? if
         end
       then
       dup sub1 factorial *
       end
     ; define-function

For this, I'd use a front end translator (something I'm exploring with Apologue, the iOS interface to Parable). I've written some translators that can take Forth-style syntax and convert it into Parable. See https://github.com/crcx/parable/blob/master/translators/rx2p.py
Parable's parser wants definitions to be on a single line. Apologue, which uses a server side component to execute code, uses a translator to get around this by allowing \ at the end of a line to join it with the next. The code for this is:
def condenseLines(code):
    m = len(code)
    s = ''
    r = []
    i = 0
    c = 0
    while i < m:
        if code[i].endswith(' \\\n'):
            s = s + ' ' + code[i][:-2].strip()
            c = 1
        else:
            c = 0
            s = s + ' ' + code[i]
        if c == 0:
            if s != '' and s != ' \n':
                r.append(s.strip())
            s = ''
        i = i + 1
    return r

Coupling this with the Forth/Retro translator would allow something close to what you are looking for, apart from recursion. (Since recursion is handled through redefinition in Parable, a little trickery would be needed to detect it, and then insert an empty definition initially. E.g., your example:
 : factorial
   << n -- n! >>
   dup one? if
     end
   then
   dup sub1 factorial *
   end
 ; define-function

Would need to compile into something like:
[ ] 'factorial' define
[ "n -- n!"  dup one? [ end ] if-true dup sub1 factorial * end ] 'factorial' define

I may try to write a translator for this soon. It could be beneficial. Do you separate functions with a blank line? (I need to figure out some way to identify where a function ends for the translation to be successful).

there is a word ":" in front of "factorial"
and a ";" in front of "define-function"
I think your last question is due to a neglect of these little chars
(I also found they are hard to be recognized under the font github is using)
these two words identifies the beginning and the end of a function definition

in detail, my interpreter views the following as a string :
: factorial
  << n -- n! >>
  dup one? if
    end
  then
  dup sub1 factorial mul
  end
;

i.e. the same as :
"factorial
  dup one? if
    end
  then
  dup sub1 factorial mul
  end"

thank you for considering to write a translator ^-^
but IMO it is too early to do so
for my language is so un-mature

I think more documentations as design reviews
would be more appropriate and much easier to achieve

I would like to write some docs to compare syntax and implementation technology
hopefully, soon :)


On OSX the hud is not topmost view

Every control that had focus prior to activating hud, and table views appear over the hud like shown in the attached image. Maybe I am using it wrong. Any suggestions?

Yes, same problem with text view.

@cool8jay  @AntonijoDev  problem solved
see : https://github.com/Foxnolds/MBProgressHUD-OSX/pull/6


https://issues.apache.org/jira/browse/AMQ-5837

This commit adds an Inflight message size statistic to SubscriptionStatistics so we can know the size of all the messages that are inflight, besides just the count.

@cshannon unfortunately the current implementation of this feature simply doesn't scale, with a large number of consumers and producers the broker is prone to running out of memory. See https://issues.apache.org/jira/browse/AMQ-6940


Add Video Games category and 5 icons

Add Video Games category
Add icons inspired by Borderlands 2, Counter-Strike: Global Offensive, Half-Life, Overwatch and Portal

Preview available in my repository.

Thanks :smile:


Where is hydrogen documentation?

I can't seem to find any documentation or tutorials about how to use hydrogen. It uses many ideas from ipython/jupyter, but it is not the same.
Example:
%%bash
shift-enter gives: "UsageError: %%bash is a cell magic, but the cell body is empty."
%%bash
ls

shift-enter give directory listing
%%bash
a=10

shift-enter puts a check mark by a=10
%%bash
a=10
echo $a

shift-enter gives
File "<ipython-input-29-54540ec9478a>", line 1
    echo $a
         ^
SyntaxError: invalid syntax

I cannot find a guide for how to understand this behavior, or in general how to use hydrogen.

@abalter You're right our documentation is a bit sparse at the moment. Contributions are highly welcome 😄 🎉
Cell magics like %%bash or anything else beginning with %% inside a notebook apply to a block of code below them, therefor the first command fails if only the line with the cell magic is executed.
On the other hand only executing echo $a will fail since the python interpreter doesn't know about the cell magic above and that it should be a bash command. Instead it assumes you're trying to execute python code.
If you want to use them make sure to execute the desired code together with the cell magic.
For example by selecting the entire block of code or by excuting the whole file. You can find more information about how to do this here.

@abalter have you seen the newly added gitbook?


JRE and JDK Examples Not Working

Which image/versions are related to this issue/feature request?
jre-17
jdk-17
Issue/Feature description
So when I run through the README.md in both the jre and jdk images for the openjdk17 example.
When I run the docker build step I'm met with the following error:
> docker build -t my-simple-java-app .
[+] Building 0.7s (9/10)
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 278B                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for cgr.dev/chainguard/jre:openjdk-17                                                                                0.3s
 => [internal] load metadata for cgr.dev/chainguard/jdk:openjdk-17                                                                                0.3s
 => CACHED [stage-1 1/2] FROM cgr.dev/chainguard/jre:openjdk-17@sha256:aeec1483538f4617a521ac13a9e5b693743f1f0641ea27fcbffb0d27a2610d8f                                                                                0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 168B                                                                                0.0s
 => CACHED [stage-0 1/3] FROM cgr.dev/chainguard/jdk:openjdk-17@sha256:1a1c55b9503d3cb993d24917348d71a6a165efb94d791cf9d536f386d8a62749                                                                                0.0s
 => [stage-0 2/3] COPY HelloWolfi.java /home/build/                                                                                0.0s
 => ERROR [stage-0 3/3] RUN /usr/lib/jvm/openjdk/bin/javac HelloWolfi.java                                                                                0.2s
------
 > [stage-0 3/3] RUN /usr/lib/jvm/openjdk/bin/javac HelloWolfi.java:
#9 0.208 /bin/sh: /usr/lib/jvm/openjdk/bin/javac: not found
------
executor failed running [/bin/sh -c /usr/lib/jvm/openjdk/bin/javac HelloWolfi.java]: exit code: 127

Seems like we need to update it to use $JAVA_HOME/bin/javac instead.  On it.

@kaniini  Not sure if it's the same area or if another issue is needed to be raised, but am having issues importing certificates into the Java trust store?
$JAVA_HOME/bin/keytool -storepasswd -new mysecretpassword  -storepass changeit -keystore $JAVA_HOME/lib/security/cacerts
$JAVA_HOME/bin/keytool  -import -trustcacerts -file /usr/local/share/ca-certificates/ca.crt -alias my-issuing-ca -keystore $JAVA_HOME/lib/security/cacerts -storepass mysecretpassword

Am getting the following
Warning: use -cacerts option to access cacerts keystore
keytool error: java.lang.IllegalArgumentException: File does not exist or it does not refer to a normal file: /usr/lib/jvm/java-11-openjdk/lib/security/cacerts


Comment.java should use java.time.Instant

instead of milliseconds
Type system makes it clearer (more type-safe), and there won't be such problem when long is too small - when number of milliseconds from epoch doesn't fit the type anymore. Instant has more range than long

more type-safe

So it's hard to accidentally reinterpret it as hours instead of milliseconds


dotnet core system capabilities not detected in self hosted agents

Agent Version and Platform
Version of your agent? 2.150.3
OS of the machine running the agent? Windows
Azure DevOps Type and Version
visualstudio.com
What's not working?
I have created a new VM in Azure to be used as a self-hosted agent which has .NET Core installed. I run commands to register this agent as a self-hosted agent in Azure Devops project. Everything works fine and the agent is registered.
But when I check the System Capabilities, I find that .NET Core is not registered as a system capability.

@RonakThakkar, the agent doesn't register .NET Core as a system capability.
We're in an ongoing process to deprecate the capability concept, so it's now up to the pipeline scripts and code to keep track of where the .NET core SDK and runtime directories are located on disk.
You can use either run the dotnet --list-sdks and dotnet --list-runtimes commands to find out where they are located, or you can install your own side-by-side copy.

If you are deprecate the capability concept, how would a build choose a a build agent from the pool that is fit for the job?

@juliobbv would you can you answer the question of @bitbonk ?


Enable password validation

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Added validations in login and signup pages for password field


Issue with k8s.io/docs/reference/command-line-tools-reference/kubelet/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
Most of the kubelet flag options documentation was deleted in 1.11
Proposed Solution:
Not sure if this was intentional? If not please add them back in
Page to Update:
https://kubernetes.io/...

Never mind this has already been fixed in staging I see.


Remove debug output from module

The module prints to stdout when connection cables. Please remove/disable that.
You don't have to update the version number for our release purposes as it has not been released yet, but you may do so for your own tracking.
Thank you.

@cschol Got it! Thanks for pointing that out. I've removed it now.


Cache not working

It seems that tweets are always fetched. From my debugging and limited Ruby experience, the problem is the following:
An Oembed instance gets created. It's key is <url>- (note the empty right part). After the tweet is fetched, that key becomes <url>-{id: <id>}. So when we check on the cache, we use one hash, but when we store, the hash changes.
I'm not sure how @params gets modified (unless when calling @client.oembed tweet, @params that modifies them, of course).
At least for my use case, making the key just <url> works, but having the @params as part of the key might have some implications I'm not fully aware of.

Good spot. It seems the Twitter gem is inserting the Tweet ID into the hash - I dont think they mean to as it's for their own internal calls.
In the meantime I will fix this end just to pass in a copy.
Thanks for letting me know I had not noticed that. I used @params as part of the key so that if these change then the cached content is invalidated.


NPM version 5.5.1 is causing build error

Environment
Server: VSTS
Account: colossusinformatica.visualstudio.com
Build: cls-angular-controls-build-on-commit-CI
Build number: Build 20180206.4
Team Project: cls-angular-controls
Agent: Hosted
Agent queue name: Hosted VS2017
Issue Description
Npm version 5.5.1 is causing build error on my projects. Locally, I solved with update to version 5.6. Is there any way to use the old version?
Error logs
2018-02-07T01:35:19.7853753Z ##[section]Starting: PowerShell Script
2018-02-07T01:35:19.7858153Z ==============================================================================
2018-02-07T01:35:19.7858291Z Task         : PowerShell
2018-02-07T01:35:19.7858421Z Description  : Run a PowerShell script
2018-02-07T01:35:19.7858523Z Version      : 1.2.3
2018-02-07T01:35:19.7858625Z Author       : Microsoft Corporation
2018-02-07T01:35:19.7858762Z Help         : More Information
2018-02-07T01:35:19.7858886Z ==============================================================================
2018-02-07T01:35:19.8319616Z ##[command]. 'D:\a\1\s\build-vsts.ps1'
2018-02-07T01:35:20.4962526Z off
2018-02-07T01:35:20.5685083Z
2018-02-07T01:35:20.5686822Z EXECUTANDO O BUILD...
2018-02-07T01:35:21.4364940Z
2018-02-07T01:35:21.4365668Z ><EMAIL_ADDRESS>build D:\a\1\s
2018-02-07T01:35:21.4365918Z > node build.js
2018-02-07T01:35:21.4366355Z
2018-02-07T01:35:21.7166168Z Start building...
2018-02-07T01:35:21.7235806Z Start AoT compilation
2018-02-07T01:35:21.7236707Z ngc -p tsconfig-build.json
2018-02-07T01:35:25.1702938Z AoT compilation completed
2018-02-07T01:35:25.1703571Z Start bundling
2018-02-07T01:35:25.1703821Z rollup -c rollup.config.js
2018-02-07T01:35:25.8426976Z ##[error]./dist/index.js ΓåÆ ./dist/bundles/cls-angular-controls.umd.js...
created ./dist/bundles/cls-angular-controls.umd.js in 108ms
2018-02-07T01:35:25.8455426Z Bundling completed
2018-02-07T01:35:25.8455607Z Start minification
2018-02-07T01:35:26.3359296Z Minification completed
2018-02-07T01:35:26.3408699Z End building
2018-02-07T01:35:26.3757641Z
2018-02-07T01:35:26.3760536Z EXECUTANDO SCRIPT PACK...
2018-02-07T01:35:27.2532409Z
2018-02-07T01:35:27.2533131Z ><EMAIL_ADDRESS>pack D:\a\1\s
2018-02-07T01:35:27.2533401Z > npm pack ./dist
2018-02-07T01:35:27.2533557Z
2018-02-07T01:35:28.8811016Z cls-angular-controls-2.0.0.tgz
2018-02-07T01:35:28.9020121Z CAPTURANDO ARQUIVO GERADO...
2018-02-07T01:35:28.9808999Z
2018-02-07T01:35:28.9810248Z PUBLICANDO PACOTE...
2018-02-07T01:35:28.9816954Z SE OCORRER ERRO, VERIFIQUE SE ESTA? RELACIONA A 'anonymous access'. A SOLUA╪AƒO ESTA? NO ARQUIVO DE INSTRUCOES DE PUBLICACAO!!!
2018-02-07T01:35:28.9817328Z cls-angular-controls-2.0.0.tgz
2018-02-07T01:35:30.7025294Z ##[error]npm ERR! Cannot read property 'algorithm' of undefined
npm ERR!      C:\npm\cache_logs\2018-02-07T01_35_30_633Z-debug.log
2018-02-07T01:35:31.3066525Z ##[error]Process completed with exit code 1 and had 2 error(s) written to the error stream.
2018-02-07T01:35:31.3087520Z ##[section]Finishing: PowerShell Script

npm can be used to update itself, something like npm -g npm@version

eric's suggestion is good.  We also have the node installer task which will install the corresponding npm.
Closing as it's not a task issue - it's an npm issue.

Node Installer Task works to me! Thank you


Update 4.0beta1 release date

Hi folks, I'm a very keen user who is chomping at the bit to try out the new code folding capability landing in 4.0. Just wondering when the beta release is expected, I see there are 5 outstanding issues remaining and hope we're soon for a release!!

I'll try to do this release later today or tomorrow.

This is released! Please see
https://github.com/spyder-ide/spyder/releases
to see how to install it.

@ccordoba12 this is great, thanks! I also dropped a new issue down at #7680, which at least for me would make using the beta release(s) easier alongside the "production" versions..


Change version to latest

Hello There,
I have been working on developing a pe-agent upgrader. One thing that I noticed was chocolaty would do an upgrade when I ran the puppet agent in debug. So testing it out with just chocolatey:
C:\ProgramData\chocolatey\chocolateyInstall\chocolatey.cmd update pe-agent -source nuget-repo

Nothing to update.

So to test that my nuget package was right, I ran an install vs upgrade and it works as planned, with one lingering affect, puppet tries to change 3.3.2 to latest all the time (this I can likely fix in the puppet manifest with a version number vs latest)
Debug: Executing 'C:\ProgramData\chocolatey\chocolateyInstall\chocolatey.cmd upd
ate pe-agent  -source nuget-repo'
Notice: /Stage[main]/Puppet_enterprise_agent_upgrade/Package[pe-agent]/ensure: e
nsure changed '3.3.2' to 'latest'
Debug: /Package[pe-agent]: The container Class[Puppet_enterprise_agent_upgrade]
will propagate my refresh event

Full details can be found on this google groups forum:
https://groups.google.com/forum/#!topic/puppet-users/SKCmygyNTnA
Thanks
Jason.

@onzyone is your issue resolved?

Yes ...
On Wed, Mar 18, 2015 at 2:39 PM, Rob Reynolds<EMAIL_ADDRESS>wrote:

@onzyone https://github.com/onzyone is your issue resolved?
—
Reply to this email directly or view it on GitHub
https://github.com/chocolatey/puppet-chocolatey/issues/42#issuecomment-83115558
.


Issues on iOS while sorting

Hi,
This plugin was working fine until last iOS update. I tried this page demo hoping it was my code issue and it doesn't work.
What happens is that when you pick an item in a sortable list from an iPhone, the placeholder is shown right in the same location of the element and the element follows your finger while moving. However, the placeholder keeps the same original position and doesn't change while moving the element.
Any idea of solving this? Is this logged as a "bug" pending to fix here?

Hi I will be looking this in 1 or 2 days . and it is already filed via #209.

@ibaivalencia it works fine on android & the demo section of 'sprint' works on ios.
only the 'kanban' section of the demo which uses bootstrap cols is not working on iOS.
this is very strange and it was working earlier. do you have any instance when it stopped working.
any recent updates? i was not testing this on iOS for a while.

I haven't updated my ng-sortable recently. I don't know what version do I have (suggestion: could you add version info inside the ng-sortable.js for the future?). And yes, the same, it was working fine until one day stopped working.
I guess something related to iOS 8 update... They could have changed sth in Safari? It's not working yet :(

@ibaivalencia
Also to narrow down the problem.

this is not related to ng-sortable - I did tested with a 1.0 version of ng-sortable and the problem exists, but this used to work earlier.
this is not related to a specific browser issue - happens in all browsers.
may not only be related to bootstrap styles. the demo of sprint example still works.

we need to see in other aspects, that what that extra presents in the demo page of kanban which is causing this issue.
could be something related to this.. or anything in the same lines?
https://github.com/scottjehl/Device-Bugs/issues/14

Hi @a5hik ,
Hummm, it's not related to "webkit-overflow-scrolling", I had issues with other plugin in the past with that CSS property so I removed it several months ago. Besides, that issue is quite old, it should be fixed in iOS8.
Do you have any other idea about this? Your simple example ( http://a5hik.github.io/ng-sortable/plunker.html ) is not working as well in my iPhone. So I think there is something weird with the plugin and the last iOS8 update because I didn't change anything and it stopped working nice.
I think that this works fine in Android though.
Regards,
Ibai

Hi,
This is not happening with all touchable devices. I tried today with an Android and it drag&dropped fine.
Regards,
Ibai

I am also having the same issue as described, since updating to iOS 8.4. (iOS 9 works fine). Any movement or possible work arounds? Thanks for the great plugin.

It appears to be related to "$document[0].elementFromPoint(targetX, targetY)" which is returning the parent element (In my case the app frame) as opposed to the list or list items. I'll keep digging and report anything if I find something I think would be useful.

Few more pointers from..  #209 @johnbrunnings
To TEST you must use Safari on iPad
This can easily be demo'd using ng-sortable's own demo pages -
Simple:
http://a5hik.github.io/ng-sortable/plunker.html
Advanced:
http://a5hik.github.io/ng-sortable/
Both no longer work on iPad Safari, but did until recently.
Further you can see this still works using the referenced horizontal sorting plnkr on iPad Safari:
http://plnkr.co/edit/OcaMzBV3c0K3CL1nw9L4?p=preview
This does not contain Bootstrap Cols and thus works.
Finally, if Bootstrap Cols are on only the items themselves, but not on any parent element, ng-sortable does still work. But if ANY parent element uses a Bootstrap Col, iPad Safari will not sort.
Did Bootstrap introduce this issue or ng-sortable?
This is breaking the site we're currently building, which must work on iPad Safari. Please let us know if we need to take this up with Bootstrap.

Does anyone know what exactly it is about the bootstrap cols which prevents it from working because I am getting the same issue and I am not using bootstrap cols, so maybe its some of my own CSS? Any help would be greatly appreciated.

this trick is not working, anymore (didn't test with ios9):
https://github.com/a5hik/ng-sortable/blob/master/dist/ng-sortable.js#L835-L836
Using addClass with promise resolve this issue, but dragging element start flickering.

Had exactly the same issue with iOS 8.4.1 on my Ipad, just updated it to iOS 9, now it works again :)

@jesben this is a good update, had no clue what was going wrong.

@a5hik adding hidden class to dragging element was to slow:
https://github.com/a5hik/ng-sortable/blob/master/dist/ng-sortable.js#L834-L835
so elementFromPoint get dragging element itself, any slow operation that postpones elementFromPoint call (eg console.log ;) before line 835, fix  issue, but I haven't found the right solution yet.

hence it works on the latest ios update. i'm closing this.

@a5hik I have added the plugin to our project which has support from iOS 8.4. The drag and drop is not working on iPad which has version 8.4.1. Is there any workaround for this issue?


Add HintArrows to API

Expose hint arrows to API to be able to set them in plugins.

Instead of two different methods for setHintArrow for both a Player and NPC, couldn't you simplify it to setHintArrow(Actor actor)?

I would like to avoid the usage of instanceof and improve clarity.


TLS+TCP and TCP transports caches the IP address

when resolving a DNS address this leads to broken sockets when the actual IP address changes.

I casually glanced at the websocket transports and their dial methods seemed okay. at least they were using a string and not caching a IP.
as for the listeners, they also cache the IP address so likely yes. but the scope of the issue seems smaller as you're binding to a local address as opposed to a remote.

added back in the initial address resolution.


BUGFIX: Don't shadow wallet import in mobile package.

This prevents the mobile package from building which, among other things, breaks Travis builds.

Coverage remained the same at 33.117% when pulling bffcf42dc8261ac23ff4d8a2404a334d67529428 on TS_fix_mobile into c51cf883ae661609f78ad3000525b0a822cbe770 on master.

This is fixed in PR #1072


[THOUGHT] Make composite public for point

I'm playing with adding projectiles to a game and I'm attaching those projectiles to Points. I however had to make my own point class that had the composite public:
class ProjectilePoint { 	public var composite:Composite; 	public function new(pos:Vector2)  	{ 		composite = new Composite(); 		composite.particles.push(new Particle(pos)); 		Verlet.Instance.composites.push(composite); 	} }
Would this be a sensible change in your own opinion to the base Point Class?

I went ahead and made the composites public for all classes in Objects.hx in 2bed4a4. I had already changed the Tire class to be like that since I've been using that a lot, not sure why I didn't update all of them before. Thanks for the catch!
By the way, I'd love to see what you're making :) I didn't realize anyone was working with VerletKha other than Lewis and myself.

Thanks for making the change, I'll pull it in shortly! The game is the grow your hoard folder found here: https://github.com/jrdoughty/Kha-examples
Its an old Ludem Dare game I did that I'm converting to Kha, and I wanted to use a new physics engine. This one took a bit to figure out, but I've got a handle now I think on how I can make it do what I need, which is make projectiles fly!


Zero123++

Is it possible to add support for StableZero++?
https://github.com/SUDO-AI-3D/zero123plus/?tab=readme-ov-file
You may be able to achieve more permanent results with NeuS

I tried Zero123++ before, those results you saw on their Github page is quite cheery picked, range image results are not as good as those they showed🙃
Try MVDiffusion model from CRM I just updated, it's fine-tuned from ImageDream, consistency wise is best I've seen so far


Remove option to sign taco using packager

Instead of having our packager to call jarsigner from python, we want users to call jarsigner directly. This means we do not have to match the interface of jarsigner in the packager, and means partners can use external docuemntation for signing jar files to sign the taco file. This pull request must be matched with a documentation change directing partners to the official jarsigner documentation.

Since this is a breaking change we need to increment the version.


A typo in docs/configure_swagger.md to be fixed

ENV
[#9#root@ubuntu-1604 ~]$docker version
Client:
 Version:      17.09.0-ce
 API version:  1.32
 Go version:   go1.8.3
 Git commit:   afdb6d4
 Built:        Tue Sep 26 22:42:18 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.09.0-ce
 API version:  1.32 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   afdb6d4
 Built:        Tue Sep 26 22:40:56 2017
 OS/Arch:      linux/amd64
 Experimental: false
[#10#root@ubuntu-1604 ~]$
[#10#root@ubuntu-1604 ~]$docker-compose version
docker-compose version 1.16.1, build 6d1ac21
docker-py version: 2.5.1
CPython version: 2.7.13
OpenSSL version: OpenSSL 1.0.1t  3 May 2016
[#11#root@ubuntu-1604 ~]$

harbor version => harbor-offline-installer-v1.2.0.tgz

EXPERIMENT
Executing the command below, there is much chance of meeting some errors.
The Bad one
[#174#root@ubuntu-1604 /opt/apps/harbor]$docker-compose down -v & docker-compose up -d
[1] 21224
Stopping nginx             ... done
Stopping harbor-jobservice ...
Stopping harbor-ui         ...
Stopping harbor-jobservice ... done
Creating harbor-log ... done
Creating harbor-adminserver ...
Removing nginx             ...
Removing harbor-jobservice ...
Removing harbor-ui         ...
Creating registry ...
Creating harbor-db ...
Removing nginx             ... done
Creating harbor-db
Removing harbor-ui         ... done
Removing network harbor_harbor
ERROR: network harbor_harbor id 36c40e20d82b90ff739df91a1138ae816e5f2c394159a651f91d07fb5c1b4d89 has Creating harbor-db ... done

ERROR: for ui  No such container: 6b786fbc6bc9b2fa5d9685b67ead9a6a75297c82c455dfb9d5f8451c3cb67000
ERROR: Encountered errors while bringing up the project.
[1]+  Exit 1                  docker-compose down -v
[#175#root@ubuntu-1604 /opt/apps/harbor]$

The Good one
[#175#root@ubuntu-1604 /opt/apps/harbor]$
[#175#root@ubuntu-1604 /opt/apps/harbor]$docker-compose down -v & docker-compose up -d
[1] 22049
Stopping registry           ...
Stopping harbor-db          ...
Stopping harbor-adminserver ... done
Stopping harbor-log         ...
harbor-log is up-to-date
Starting harbor-adminserver ...
Stopping registry           ... done
Starting registry ...
harbor-db is up-to-date
Starting registry ... done
Creating harbor-ui ...
Creating harbor-ui ... done
Creating nginx ...
Stopping harbor-db          ... done
Creating nginx
Creating nginx ... done
[#176#root@ubuntu-1604 /opt/apps/harbor]$

Maybe this is a typo, the RIGHT command should be
docker-compose down -v && docker-compose up -d

Thanks for pointing. @moooofly PR to fix it is welcome.


SkyModel.explore_sky() needs additional parameters

SkyModel.explore_sky() misses some optional parameters:

vmin and vmax, currently they are set to None. The user needs to be able to set these values differently in order to investigate the data
plot is in wcs coordinate system, but what if the user wants to look at the data in the original coordinate system, in which he entered the data? It should be possible to choose  wcs=enabled/disabled
add an additional parameter: plt.savefig('title'), s.t. the user can save the plot if he wants

I've made the according changes in the branch LG_203_address_unige_report. I'm not completely sure if it makes sense how I implemented wcs_enabled=False. I just excluded the conversion and all resulting variables to produce the plot. I think I can make a PR soon (there are also other api changes in this branch).


RBD volume support

@dmacvicar This PR adds minimal changes to provide RBD volume support.
As documented, it relies on libvirt sysadmin to have provisioned template images on the Ceph/RBD pool and have the named pool defined at libvirt's level first, as to minimize configuration impact at Terraform level.
libvirt currently does not support source volume copying through backing store for anything else than directory pool type.
So when RBD volumes come into play, we use the volume clone and resize functions instead.

@gxben thanks for the PR.
I don't know much about RBD. Why do we need to put configuration in the disk, instead of having a pool of type RBD and have the disk refer to the volume and pool by name/id?

Hi @dmacvicar ,
Care to detail which part of the "configuration in the disk" you mean so I can help ?


Review superclasses of RegressionEstimator

To Evaluate:
Can the IterControl() object be embedded in the abstract RegressionEstimator() base class rather than be embedded in TRME and TRME_RR?
Then OLS Estimator, and the QR decomposition can be in the first superclass (this is done)
and RME can be in the next super class.
Look at this after you have a first cut of TRME_RR #15

After review it is best to leave this as it is now.  The specific IterControl object we are using as bound to TRME, TMRE_RR.
A future improvement could involve the following:

Move r0, and u0 out of iter_control and instead make them parameters in the config which are defined in the case that the regression engine is TRME or TRME_RR, or any that depends on Huber weights  and redescending.
This would be best done if we were going to add other robust regression methods in which case we could look at using https://scikit-learn.org/stable/modules/generated/sklearn.base.BaseEstimator.html or similar to make these methods more general

Even if we leave iter_control bound to TRME, TRME_RR, it would still be desireable to create an RME class that lives in between RegressionEstimator and {TRME, TRME_RR}
The RME class can manage the beta (see issue#27), Huber Weights,  R2, etc


Server Internal Error. DiagCode: 500#1203002.@ while trying to join a teams call with audio

Describe the issue
I am developing a teams bot which should join and record the audio.
The echobot example works fine on my workstation therefore I assume there are no issues with my ngrok pro or certificate configuration.
The main difference lies in the development and deployment model. The solution is written as a Azure Cloud Extended Service as .net framework 4.8 service. The setup is quite similar to the policy recording bot.
Any help would be greatly appreciated.
Version:

Microsoft.Graph.Communications.Calls.Media <IP_ADDRESS>63
Microsoft.Skype.Bots.Media <IP_ADDRESS>1-preview

Call ID
4003f80-1314-4c75-b265-a185bf7b17cf
07003e80-d896-4554-9f18-324f8b80e977"
Logs
{
<EMAIL_ADDRESS>"#microsoft.graph.commsNotifications",
    "value": [
        {
<EMAIL_ADDRESS>"#microsoft.graph.commsNotification",
            "changeType": "updated",
            "resource": "/app/calls/34003f80-1314-4c75-b265-a185bf7b17cf",
            "resourceUrl": "/communications/calls/34003f80-1314-4c75-b265-a185bf7b17cf",
            "resourceData": {
<EMAIL_ADDRESS>"#microsoft.graph.call",
                "state": "establishing",
                "chatInfo": {
<EMAIL_ADDRESS>"#microsoft.graph.chatInfo",
                    "threadId": "19: @thread.v2",
                    "messageId": "0"
                },
                "meetingInfo": {
<EMAIL_ADDRESS>"#microsoft.graph.organizerMeetingInfo",
                    "organizer": {
<EMAIL_ADDRESS>"#microsoft.graph.identitySet",
                        "user": {
<EMAIL_ADDRESS>"#microsoft.graph.identity",
                            "id": " ",
                            "tenantId": " "
                        }
                    }
                },
                "callChainId": "7381d501-77a0-40a1-bfae-7d53b6805293"
            }
        }
    ]
}

Results instantly in:
{
<EMAIL_ADDRESS>"#microsoft.graph.commsNotifications",
    "value": [
        {
<EMAIL_ADDRESS>"#microsoft.graph.commsNotification",
            "changeType": "deleted",
            "resource": "/app/calls/34003f80-1314-4c75-b265-a185bf7b17cf",
            "resourceUrl": "/communications/calls/34003f80-1314-4c75-b265-a185bf7b17cf",
            "resourceData": {
<EMAIL_ADDRESS>"#microsoft.graph.call",
                "state": "terminated",
                "resultInfo": {
<EMAIL_ADDRESS>"#microsoft.graph.resultInfo",
                    "code": 500,
                    "subcode": 1203002,
                    "message": "Server Internal Error. DiagCode: 500#1203002.@"
                },
                "chatInfo": {
<EMAIL_ADDRESS>"#microsoft.graph.chatInfo",
                    "threadId": "19: @thread.v2",
                    "messageId": "0"
                },
                "meetingInfo": {
<EMAIL_ADDRESS>"#microsoft.graph.organizerMeetingInfo",
                    "organizer": {
<EMAIL_ADDRESS>"#microsoft.graph.identitySet",
                        "user": {
<EMAIL_ADDRESS>"#microsoft.graph.identity",
                            "id": " ",
                            "tenantId": " "
                        }
                    }
                },
                "callChainId": "7381d501-77a0-40a1-bfae-7d53b6805293"
            }
        }
    ]
}

I finally figured out why it wasn't working.
The required parameters were described in the readme of https://nuget.info/packages/Microsoft.Skype.Bots.Media/<IP_ADDRESS>1-preview
!!! Breaking Change !!!
  =======================
  This SDK requires modifying your existing startup script prior to service startup.

  This is applicable only when running the SDK on .NET Framework.
  No change is needed when running on .NET 6 or later.

  Background:
  ==========
  Prior to startup, services generally run some commands to bind the IP
  and listening ports to an SSL cert. Additionally, services also add HTTP
  registrations to the IP/Port so that the Windows HTTP.sys server routes
  incoming requests to the right service on the VM.
  This is typically done with the help of netsh command-line utility.

  Setup Instructions:
  ==================
  Add the following extra commands to the startup or entrypoint script:

  # %InstanceMediaControlPort% is the internal media control listening port
  # that is configured when the `MediaPlatform` is initialized;
  # i.e., it is the `InstanceInternalPort` property on the `MediaPlatformInstanceSettings`

  # Delete ssl cert bindings
  netsh http delete sslcert ipport=%InstanceIpAddress%:%InstanceMediaControlPort%

  # Delete http registrations
  netsh http delete urlacl url=https://+:%InstanceMediaControlPort%/

  # Bind ssl cert to the IP/Port
  netsh http add sslcert ipport=%InstanceIpAddress%:%InstanceMediaControlPort% "appid={00000000-0000-0000-0000-000000000001}" cert=%ServerCertificate%

  # Add http registrations
  netsh http add urlacl url=https://+:%InstanceMediaControlPort%/ user="NT AUTHORITY\NETWORK SERVICE"

After these changes the bot is able to join the teams call


How to handle boolean fields?

This is my test example:
type Test struct {
	Name     string `gorm:"Column:name;Size:100;DEFAULT:"`
	IsAdmin  bool   `gorm:"Column:is_admin;Size:1;DEFAULT:false"`
}

When I use gorm Create() function
db.Create(&Test{
	Name: "n1",
	IsAdmin: false,
})

I will get sql like:
INSERT INTO test (name,is_admin) VALUES ('n1','0')
When I use gormbulk.BulkInsert()
gormbulk.BulkInsert(
	db, []interface{}{
		Test{
			Name: "n1",
			IsAdmin: false,
		},
	}, 3000,
)

I will get sql like:
INSERT INTO test (name, is_admin) VALUES ('n1','false')
How should I deal with boolean fields to get results similar to gorm Create()?

TL;DR: Don't use false as default value in your struct tag if using MySQL. Remove the default value or set it to 0.

Postgres has a boolean type which can be set to real true or false but MySQL uses TINYINT(1) as boolean storage. Newer versions of MySQL has the keyword boolean to define tables but they still store true as 1 and false as 0.
As for your example, I cannot get your definition to auto migrate with the empty default value. If I add an empty string and run gorm.AutoMigrate(&Test{}) I get the following schema:
+----------+--------------+------+-----+---------+-------+
| Field    | Type         | Null | Key | Default | Extra |
+----------+--------------+------+-----+---------+-------+
| name     | varchar(100) | YES  |     |         |       |
| is_admin | tinyint(1)   | YES  |     | 0       |       |
+----------+--------------+------+-----+---------+-------+

The actual SQL created by this package will result in a prepared statement, something like this:
INSERT INTO `tests` (`is_admin`, `name`) VALUES (?, ?), (?, ?)

The bound values will be whatever you have in your slice. These values are sent to gorm.Exec() and that's where the handling of the values are being made.
  It's related to your default value false which isn't compatible with how gorm handles your query. Since false is the default value for a boolean column you can just remove it. If you for some reason would like to keep it explicitly, change it to 0 instead of false (for MySQL).
Fully working example creating table and inserting booleans
package main

import (
	"database/sql"
	"fmt"
	"log"
	"os"

	"github.com/jinzhu/gorm"
	gormbulk "github.com/t-tiger/gorm-bulk-insert"

	_ "github.com/jinzhu/gorm/dialects/mysql"
)

const (
	// docker run --rm -it -e MYSQL_ALLOW_EMPTY_PASSWORD=1 -p 3306:3306  mysql:latest
	testDB  = "test_db"
	testDSN = "root:@/" + testDB + "?parseTime=1"
)

// Test is for testing.
type Test struct {
	Name    string `gorm:"Column:name;Size:100;DEFAULT:''"`
	IsAdmin bool   `gorm:"Column:is_admin;Size:1;DEFAULT:0"`
}

func main() {
	var (
		sqlDB, _ = sql.Open("mysql", testDSN)
		db, _    = gorm.Open("mysql", testDSN)
		logger   = log.New(os.Stdout, "[DB DEBUG] ", log.LstdFlags)
	)

	db.LogMode(true)
	db.SetLogger(logger)

	defer db.Close()

	initCommands := []string{
		fmt.Sprintf("DROP DATABASE IF EXISTS `%s`", testDB),
		fmt.Sprintf("CREATE DATABASE `%s`", testDB),
	}

	for _, q := range initCommands {
		if _, err := sqlDB.Exec(q); err != nil {
			panic(err)
		}
	}

	// Create base table
	db.AutoMigrate(&Test{})

	toInsert := []interface{}{
		Test{Name: "first", IsAdmin: false},
		Test{Name: "second", IsAdmin: true},
	}

	if err := gormbulk.BulkInsert(db, toInsert, 3000); err != nil {
		panic(err)
	}
}

@bombsimon
Thank you very much for your reply, it is very helpful to me


Added conditional task for GCE

GCE centos instances don't have yum-utils installed by default. I've added a task to install them based on provider, otherwise the timeout increase task will fail.

This doesn't fail when actually using GCE, those builds are false errors!

@lowwalker Sorry, those erronious failures will be fixed with #1245

I've also seen this on DigitalOcean, would you mind changing this to mirror https://github.com/CiscoCloud/mantl/pull/1250?

This is already in the common role: https://github.com/CiscoCloud/mantl/blob/master/roles/common/tasks/main.yml#L21-L27. We should figure out why that's not working. It also doesn't seem to be a provider-specific issue. Thanks for pointing this out @lowwalker!

It was added in https://github.com/CiscoCloud/mantl/blob/master/roles/common/tasks/main.yml#L21-L27


feat: Deno tests

configure devcontainer:

image: default + Deno
extensions: +Deno +Prettier
Deno extension: only enabled for Deno test files

configure Deno to ignore Jest tests
configure Jest to ignore Deno tests
add simple sign and verify Deno tests (more can be added later)
GitHub workflow: configure test.yml to set-up Deno

Refs #80

can the deno.json file be somehow moved into test/deno?

I'll check; if it cannot then I can drop the import map file (import full URLs instead for std/testing/asserts.ts) and update the deno test command to specifying the test directory

Do we need the .vscode and .devcontainer files?

need? no
I added them because they helped me but your comment helped me see why committing these might not be desired; I will remove, thanks:

We are trying to keep dotfiles and other config files to a minimum, and if they are necessary move them into folders where they make more sense in context


del (DELETE requests) should support a request body

Currently the methods get(), head() and del(ete)() do not support a request body. While this is okay for HTTP GET and HEAD requests, a DELETE request can carry a meaningful body. For example we currently have a use case, where the deletion of a resource should be accompanied by a comment from the person deleting it.
This change will be breaking, as the options argument will get shifted.

Implemented on master (v0.9.0).
Breaking Change
The del method (or its alias version delete´) now supports a datafor the request body as second argument. This shifts theoptionsargument from position two to three in the arguments list. Hence, if onlyoptionsand nodatashould be passed todel, simple use undefined` as second argument:
hal.del( theUrl, undefined, myOptions );


Treejs glft problem

hello I have a question that goes beyond the threejs porting.
In my file format (a zip with the individual mesh geometries inside and then a json for matrices and positioning)
I'm trying to save the individual geometries in glft.
I think that the gltf optimization changes the base coordinates of the vertices and therefore the subsequent positionings are all wrong. Here's what happens by loading only the instances, without rotations and positionings.
Those with gltf all appear "normalized" on the origin, while the other vertices maintain their original positions.
How can I reposition the vertices (manipulated I think by the gltf optimizer) in order to use the matrices saved in my file?
Geometry saved from "obj"... manteins the "vertex coordinates"

Geometry optimized with gltf ... seems 0,0 based

This is my javascript and testmodel file
Uploading input_test.zip…

... it runs well only if I use the main "scene" node from the "loader.parse".
I was trying to use the internal mesh of the scene node....
I don't know if  it could worsen the performance...

hello
how did you make your gltf file?

With gltfpack.
After some reading on the web, I found out that the problem is solved by using the "scene" created by GLTFLoader rather than the geometry/mesh data...
I'm wondering if it's possible to port gltfloader to c#.
I'm using these libraries
https://cdn.jsdelivr.net/npm/three/examples/js/loaders/GLTFLoader.js
https://cdn.jsdelivr.net/npm/three/examples/js/loaders/DRACOLoader.js
meshopt_decoder.js
meshopt_decoder.zip

I think you can save your obj files to gltf using Assimp.net
I've commited AssimpLoader.cs please refer to

Hi. I Need to use stream, so I've added a
public Group Load(Stream stm, string formatExtensionHint= null)
{
    AssimpContext importer = new AssimpContext();
    var scene = importer.ImportFileFromStream(stm, PostProcessSteps.GenerateSmoothNormals | PostProcessSteps.Triangulate, formatExtensionHint);

    //var scene = importer.ImportFile(path, PostProcessSteps.GenerateSmoothNormals | PostProcessSteps.Triangulate);
    this.FilePath = "";

    lineMaterialSet.Clear();
    pointMaterialSet.Clear();

    basicMaterial.Color = Color.Hex(0xffff00);

    foreach (Assimp.Mesh m in scene.Meshes)
    {
        if (m.PrimitiveType == PrimitiveType.Point)
            pointMaterialSet.Add(m.MaterialIndex);
        else if (m.PrimitiveType == PrimitiveType.Line)
            lineMaterialSet.Add(m.MaterialIndex);
    }

    CreateMaterial(scene, lineMaterialSet, pointMaterialSet);

    return ProcessNode(scene.RootNode, scene);
}

bet then I get this exceptin from assimp (it's a glb file)
Assimp.AssimpException: 'Error importing file: No suitable reader found for the file format of file "$$$magic$$$.".'
with these stream of file
f1.zip
Any ideas?

I'm using https://gltf-viewer.donmccurdy.com/ => it's ok
https://glb.ee/ => it's ok
https://imagetostl.com/it/visualizza-glb-online#convert  => it's ok
https://sandbox.babylonjs.com/  => it's ok
https://www.3dpea.com/it/view-GLB-online => it's ok
it uses
KHR_mesh_quantization and EXT_meshopt_compression.


USR1 signal method issues

Hello, consider the following example:
> node --harmony ./webpack/dev-server.js
> node-inspector
> kill -s USR1 $(lsof -i:3000 -t)

After the second command I get the following stdout:
Node Inspector v0.10.1
Visit http://<IP_ADDRESS>:8080/debug?ws=<IP_ADDRESS>:8080&port=5858 to start debugging.

After the third command:
Starting debugger agent.
Debugger listening on port 5858

After I open up node-inspector in chrome Version 43.0.2357.81 (64-bit) I see an empty dev tools without any code, on the other hand it totally froze my koajs server i sent the signal to. After a while in the terminal window where i started node-inspector there will be an error: Cannot send response - there is no front-end connection.
There is an open source project you can reproduce the problem yourself. What you should know about it is, it runs koajs (es6 generators) and also uses babel require hook.
After a while I will also see a bunch of errors in the dev tools console on http://<IP_ADDRESS>:8080/debug?ws=<IP_ADDRESS>:8080&port=5858.
Error: Injection failed: no require in current frame.
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/lib/components/number.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/lib/react-intl.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/node_modules/intl-messageformat/node_modules/intl-messageformat-parser/lib/parser.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/lib/components/time.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/lib/components/date.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/lib/en.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/node_modules/intl-messageformat/lib/core.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/node_modules/intl-relativeformat/lib/diff.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/node_modules/intl-messageformat/lib/utils.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/node_modules/intl-relativeformat/lib/en.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/node_modules/intl-relativeformat/lib/core.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/lib/components/message.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/lib/escape.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/node_modules/intl-messageformat/lib/en.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/lib/components/html-message.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/lib/mixin.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/node_modules/intl-messageformat/lib/compiler.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/lib/components/relative.js.map'
Network.loadResourceForFrontend failed.
Error: ENOENT, open '/Users/tsm/Sites/__Learn/isomorphic-flux-boilerplate/node_modules/react-intl/node_modules/intl-format-cache/lib/memoizer.js.map'

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/19825884-usr1-signal-method-issues?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github).

Hi, I'm getting the same error, Cannot send response - there is no front-end connection.
it's like if the code of the main app were not visible to node-inspector.... Without any change yesterday it worked, but today, don't, I'm using virtual machines, so I think that this thing is related with the start order and params... but I haven't found till now the exact solution....

wow, solution in minutes! XD, while I was writting the post, I left open the browser, and after a few minutes it worked, so the thing was.... if there is no connection just do nothing, just wait 30 seconds more...

Can you try to run node-inspector --no-preload. Is this solves 30 seconds issue?

Great! Yes... I understand how node-inspector works. Yes, it started instantly with node-inspector --no-preload, but I wanted to debug controller *.js files, so I had to wait also till all files were load, but despite of this, I think that load all by the half of time, thank you!


Buttons on home page

When you click the next button on the home page (src/home.html), the picture changes (after the second click) but makes all other pictures disappear. When you click the previous button, nothing happens. On the home.js getElementById("img") is used in the displayNextImage function but I think that should be different since img is never used as a ID.
I'm going to try and fix them if I have time, but they're open for whoever wants to try to fix them!

I have referenced this in #212 . Do take a look at this and the other issues I have addressed there. I am soon going to lock the appearance of the front end in home.html, these are the last remaining changes I want. What would be great is that next button and prev button fast-forward the scrolling in the respective directions.

This has been fixed lately. Closing this.


Turn on declaration option for package

I use TS in my project, and TS cannot find typings because lib/index.d.ts doesn't exist.

Also I fixed typings for constructor options cause all options are optional.

@sigorilla Thanks! 👍

@sigorilla A new version just published<EMAIL_ADDRESS>Thanks for fixing it types again.


Added un-prefixed CSS properties for Ffx, IE

Tested in Firefox, works as expected. Not tested in IE.

Our apologies for this PR slipping through the cracks. With the new rewrite under way, older experimental elements like this are only periodically being reviewed. Landing your change now. Thank you :)


Change "Amazon Gift Card" to "One4all Gift Card" in all deals and benefits pages

What's to be corrected: All texts in the deals pages (Birthday and Corporate) where it says "Amazon Gift Card" needs to be changed for "One4all Gift Card".
How should it look like (screenshot or sketch): Instead of saying "Amazon Gift Card" it will say "One4all Gift Card".
How should it work (write use case): N/A
Priority (tag accordingly): urgent / regular (next column) or non-urgent / wontfix (backlog column)
Domain (tag accordingly): frontend / backend
Tested on: (platform, OS, browser, version)
Branch: (commit directly to staging / PR to master if it's urgent)
Work on it

Work on staging or master (if it's urgent)
Tag with ongoing and move the card to ongoing.
Correct the default
Commit your work
Create a PR (if it's urgent) and ask for validation. Move the card to staged.
Close the issue if all the work have been done

** Validate **

Check on mobile and on desktop if the default have been correctly corrected.
If everything is working fine, move the card toaccepted column.
If the feature isn't completely implemented, re-open the issue with a comment clearly what the problem is and what is the desired result. Move the card to have issues column.

Please follow https://github.com/Whichost/frontend/wiki/Git-workflow

Just want to reinforce that this is urgent. 😉
I can't continue to send emails with "Amazon Gift Card" up there. 👍
Also, Abtran likes this and they are evaluating it.
Thanks.

@RohrerHope this will be done on my side in approximately 15 minutes.

@RohrerHope this will be done on my side in approximately 15 minutes.

Thanks. Please make sure you search for all sections in which "Amazon Gift Card" could be in it. In the intro page, T&Cs, Examples for the Corporate Deal.
Same thing for the Birthday Deal. Please check every section.
All "Amazon Gift Card" messages and references need to be changed to "One4all Gift Card".
Thanks 👍

Done. Used the branch set-up-deal-pages. Pull request will follow.

Hi guys. Where can I test this?

Points 6 and 6.1 existed because of the Amazon Gift Cards. With One4all cards, those points are not necessary and we have to remove them. Especially because they make reference to Amazon.
Thanks. 👍

I am working on it.
Work on it:

Place the card in ongoing column
Tag it with ongoing

Hi @lcoenen
I marked this issue as urgent but it seems that is not what triggers an issue to be taken care off immediately and push to master.
What is the procedure in order to report an issue that needs to be pushed to master with urgency (like the same day)?
That was my intention with this one, and that's why I marked it as urgent.
Thanks 👍

You followed the procedure all right, but the PR have been created to staging instead of master.
We will talk about that tomorrow.

This will be pushed through staging since the PR have been incorrectly created.
The issue is fixed.

I checked again and it looks good to me.


error: must specify at least one argument for '...' parameter of variadic macro

I am building Boost 1.83.0 with the Intel LLVM compiler and -std=c++14. It previously compiled without issue; however, I upgraded the compiler to 2024.0.0, and it now gives errors of the following form:
[ 33%] Building CXX object libs/mysql/test/unit/CMakeFiles/boost_mysql_unittests.dir/test/execution_processor/static_execution_state_impl.cpp.o
In file included from /home/src/boost/1.83.0/libs/mysql/test/unit/test/execution_processor/static_execution_state_impl.cpp:28:
/home/src/boost/1.83.0/libs/mysql/test/unit/test/execution_processor/static_execution_processor_helpers.hpp:30:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
   30 | BOOST_DESCRIBE_STRUCT(row1, (), (fvarchar, ftiny))
      | ^
/home/src/boost/1.83.0/libs/describe/include/boost/describe/class.hpp:64:33: note: expanded from macro 'BOOST_DESCRIBE_STRUCT'
   64 |     BOOST_DESCRIBE_MAYBE_UNUSED BOOST_DESCRIBE_BASES_(C BOOST_DESCRIBE_PP_UNPACK Bases) \
      |                                 ^
/home/src/boost/1.83.0/libs/describe/include/boost/describe/class.hpp:51:36: note: expanded from macro 'BOOST_DESCRIBE_BASES_'
   51 | #define BOOST_DESCRIBE_BASES_(...) BOOST_DESCRIBE_BASES(__VA_ARGS__)
      |                                    ^
/home/src/boost/1.83.0/libs/describe/include/boost/describe/detail/bases.hpp:48:62: note: expanded from macro 'BOOST_DESCRIBE_BASES'
   48 | { return boost::describe::detail::base_descriptor_fn_impl( 0 BOOST_DESCRIBE_PP_FOR_EACH(BOOST_DESCRIBE_BASE_IMPL, C, ##__VA_ARGS__) ); }
      |                                                              ^
/home/src/boost/1.83.0/libs/describe/include/boost/describe/detail/pp_for_each.hpp:120:33: note: expanded from macro 'BOOST_DESCRIBE_PP_FOR_EACH'
  120 |     BOOST_DESCRIBE_PP_FOR_EACH_0))(F, __VA_ARGS__))
      |                                 ^
/home/src/boost/1.83.0/libs/describe/include/boost/describe/detail/pp_for_each.hpp:64:9: note: macro 'BOOST_DESCRIBE_PP_FE_EXTRACT' defined here
   64 | #define BOOST_DESCRIBE_PP_FE_EXTRACT(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, V, ...) V
      |         ^

This appears to be a typical case of increasing compiler strictness. Here is the full list of error: lines seen in make -k output:
/home/src/boost/1.83.0/libs/mysql/test/unit/test/detail/typing/row_traits.cpp:48:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
/home/src/boost/1.83.0/libs/mysql/test/unit/test/detail/typing/row_traits.cpp:54:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
/home/src/boost/1.83.0/libs/mysql/test/unit/test/detail/typing/row_traits.cpp:61:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
/home/src/boost/1.83.0/libs/mysql/test/unit/test/detail/typing/row_traits.cpp:67:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
/home/src/boost/1.83.0/libs/mysql/test/unit/test/detail/typing/row_traits.cpp:80:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
/home/src/boost/1.83.0/libs/mysql/test/unit/test/execution_processor/static_execution_processor_helpers.hpp:30:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
/home/src/boost/1.83.0/libs/mysql/test/unit/test/execution_processor/static_execution_processor_helpers.hpp:38:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
/home/src/boost/1.83.0/libs/mysql/test/unit/test/execution_processor/static_execution_processor_helpers.hpp:49:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
/home/src/boost/1.83.0/libs/mysql/test/unit/test/execution_processor/static_execution_processor_helpers.hpp:56:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
/home/src/boost/1.83.0/libs/mysql/test/unit/test/execution_processor/static_execution_processor_helpers.hpp:64:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
/home/src/boost/1.83.0/libs/mysql/test/unit/test/static_execution_state.cpp:34:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
/home/src/boost/1.83.0/libs/mysql/test/unit/test/static_results.cpp:35:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]

This looks derived from Boost.Describe. I've just checked with the author and it's a spurious warning, related to a feature that's widely supported but technically only allowed in newer C++ standards. The solution is thus to suppress it.
The warnings you're receiving are related to tests though, not to actual library code - you should be able to use the library without building these.
On my side, I'll add warning suppression code for Describe uses in my code so this doesn't happen.
Thanks for reporting,
Ruben.

Same issue with the Cray compiler 16.0.0 (based on clang)

I'm in the process of solving it and adding a CI build. Is this fix urgent enough for you as to include a hotfix in Boost 1.84, or can we wait to release it until 1.85?

If there's a simple enough patch I can apply to 1.83 to get the build working again, then that'll take off the pressure. (My org builds and runs the tests, for higher confidence in our use of Boost.)

You can get rid of this error by applying this patch. The library hasn't changed a lot in 1.84. I've tested the patch with the 1.84 beta and it works, too. The patch disables pedantic warnings for Boost.MySQL tests.
I've raised #186 to track this. A major update is coming with 1.85, so I'll apply the actual changes there, recovering the pedantic flag where possible and suppressing any warnings coming from it.
Please confirm that the patch solved your issue and I'll close this.
Thanks,
Ruben.

I had to tweak the patch to apply to [ab]/libs/mysql/cmake/test_utils.cmake rather than [ab]/cmake/test_utils.cmake, as I am building the big tarball, but yes---it resolves the build error that spurred this bug report.
Thank you for addressing this issue diligently. I am indeed building Boost with CMake, as the B2 build was unusable for me, and with tests enabled for greater confidence in the result.


Getting None__dev as SFDX Alias

Describe the bug
When I delete a scratch org via DX CLI that is known to CumulusCI, CumulusCI gets an error opening and deleting it and suggests to remove it from the keychain via
cci org remove dev

A subsequent scratch org gets the prefix 'None__' (e.g. None__dev) as alias instead of the project name.
I can fix this by running
cci org scratch dev dev

I don't really get why this fixes the issue. Can somebody help me to understand?
cci org scratch --help

does not offer any explanation.
@davidmreed suggested to open this as issue/bug
Reproduction steps

Use CumulusCI to create a dev scratch org cci flow run dev_org --org dev
Delete Scratch Org manually in Env Hub, via VS Code, or DX CLI
Run cci org browser --org dev
see an error message suggesting to remove Org from keychain
Remove org from keychain: cci org remove dev
Use CumulusCI to create another dev scratch Org
Notice: None__dev is the Scratch Org Alias
Run cci org scratch dev dev
Run cci flow run dev_org --org dev, Org is created with correct alias

Your CumulusCI and Python versions
CumulusCI version: 3.73.0
Python version: 3.10.5
Operating System
Windows
Windows environment
PowerShell
CumulusCI installation method
pipx
Error Gist
No response
Additional information
No response

Yea, despite having a project:name all of my scratch orgs created via cci org info <org> are being created with an sfdx org alias of None__<org>

After a little bit of testing, it seems to happen if my project name has - in it. mybestproject works just fine (makes org called myproject__dev). my-best-project however, makes an org called None__dev.
For sfdx, - is perfectly valid so my-best-project__dev should be allowed

When you say project, do you refer to
a) Folder Name
b) CumulusCI Project name in cumulusci.yml
c) sfdx-project.json
?
I tried using no - at all this time and still end up with None__dev

I am referring to the project name in the CumulusCI.yml file

Thank you.  I tried that and on my machine, I still end up with None__dev until I run cci org scratch dev dev.


Parsers for MACs and keys

On top of #48 (diff).
For use in zodiac and eminence, which need to decode them and store them in databases and such.
Also specify the length of a SymmetricKey for tinfoil purposes as 256 bits, just because I don't see any benefit to allowing other key lengths; anyone see any problems with this?
@markhibberd

:ideograph_advantage: on :green_book:

:yen: for the changes since my :ideograph_advantage:

:+1: