Opening file paths directly is very slow

Explain the bug
After setting Files as the default file manager using the registry editor code found in the official documentation, clicking on links to open file paths directly works very slowly.
To reproduce

Find any link which directly points to a path. For example, open chrome://downloads in Chrome.
For any item in the list, click on the "Show in folder" button.
If it opens normally on the first click, try clicking once more. Sometimes the first click behaves normally.

Expected behavior
It should open the Downloads folder reasonably fast. Currently, manually opening the Files app and navigating to the Downloads folder is much faster than clicking on the link I described above.
Logfile
debug.log
debug_fulltrust.log
System Information

OS Version:

Edition: Windows 11 Pro
Version: 21H2
Installed on 29-06-2021
OS build: 22000.100
Experience: Windows Feature Experience Pack 421.18901.0.3

App version: <IP_ADDRESS>

Additional comment
Add any other comment about the problem here.

Does this problem happen again after restarting the app? Yes

Hi! Just checked, and this issue still persists. Any workarounds?

So after stumbling on the same issue. I tried some other file managers to se how they implement the "set as default file manager" option and all of them use mostly the same Registry edit, that defines a command for opening the file manager as the default for Windows Shell Directory opening.
So after testing some different applications I came to the conclusion that this is a bug in the Browsers (Chrome, Firefox) and Electron based apps (Skype, Teams, Slack, Discord) which are also basically browsers. All of these applications had the same bug when using the "Show in folder" option.
I'm not completely sure that it is related to the browsers only, because I had only one native windows application that used the Windows Shell for opening folders and it worked correctly there. (Technically the file manager is another one and the context menu item works there normally as well).
So, at the end I created an application that checks when the file explorer is opened, gets the opened folder, closes it and opens another application. This approach isn't perfect also, because the file explorer is visible for a split second, but it doesn't bother me too much.
I had recently uploaded it on Github, so you can read more and see how it works there and decide if you want to use it. The default settings are configured for "Files", so no need to change anything there.

Hello,
First of all, thank you for providing such a great file explorer !
I've juste updated to Files v<IP_ADDRESS> and enabled the "Set Files as the default file manager" option.
I don't have any issue when opening folders from Chrome downloads page.
However, when I use the "Reveal in File Explorer" of VSCode, the Files app pops up and the loading indicator spins for like 15 seconds.

After these 15 seconds, the content of the folder appears but the left pane remains empty.
Feels like there is some kind of timeout or something :

After another 15 seconds, the left pane finally updates with its content :

The same happens when opening like from Visual Studio 2022 Team Explorer (which is not an electron app).
On the other hand, launching Files from the command line with the very same path is instantaneous.

The log files mentions an FTP connection. Which seems weird.
I do host a FTP server on this computer but I don't think this is related.
2022-01-17 22:57:47.3795|INFO|OnLaunched|App launched. Prelaunch: False
2022-01-17 22:57:48.0225|INFO|GetDrivesAsync|Drive added: C:\, Fixed
2022-01-17 22:58:11.5987|INFO|OnActivated|App activated by CommandLineLaunch
2022-01-17 22:58:12.0027|INFO|GetDrivesAsync|Drive added: C:\, Fixed
2022-01-17 22:58:26.9097|WARN|BuildConnection|Could not initialize FTP connection!
	System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xad
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at Files.Helpers.NamedPipeAsAppServiceConnection.<Connect>d__10.MoveNext() + 0x148
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x89
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() + 0xf
   at Files.Helpers.AppServiceConnectionHelper.<BuildConnection>d__8.MoveNext() + 0x11b

2022-01-17 22:58:26.9537|INFO|IsRunningOnArm|Running on ARM: False
2022-01-17 22:58:42.0379|WARN|BuildConnection|Could not initialize FTP connection!
	System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xad
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at Files.Helpers.NamedPipeAsAppServiceConnection.<Connect>d__10.MoveNext() + 0x148
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x89
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() + 0xf
   at Files.Helpers.AppServiceConnectionHelper.<BuildConnection>d__8.MoveNext() + 0x11b

One last note : The 15 seconds delays only happen when VSCode is launched as administrator. So I think it must be related to security for some reason.
Maybe some latency in the privileges processing required for a Windows Store app launched from an elevated native process. Or maybe some failed telemetry requests to report these unusual behaviors.

Thank you for your feedback, we're working on improving the startup speed for Files.


Group by can not use indexes

discovered at https://github.com/src-d/empathy-sessions/issues/37#issuecomment-470041061
I think it's related or caused by https://github.com/src-d/gitbase/issues/720
If filtering by language without indexes, it takes ~15s
time srcd sql "SELECT file_path, language(file_path, blob_content)
FROM files
WHERE language(file_path, blob_content)='JSX';"
real	0m12.926s

Then I created an index, following your example to create an index on language expresion
$ srcd sql "CREATE INDEX files_lang_idx ON files USING pilosa (language(file_path, blob_content));

And query again, and the time processing was reduded from ~15s to ~.3s what is nice.
Then I query grouping by lang and it takes ~10s because the index is not applyed on aliased cols https://github.com/src-d/gitbase/issues/720.
$ time srcd sql "SELECT count(*), language(file_path, blob_content) as lang
FROM files
GROUP BY lang;"
+----------+--------------------+
| COUNT(*) |        LANG        |
+----------+--------------------+
|      563 | JSON with Comments |
|     1568 | JSON               |
|      ...                      |
+----------+--------------------+

real	0m10.908s

Also tryed grouping by language func, but GROUP BY does not let you do it
$ srcd sql "SELECT count(*), language(file_path, blob_content) as lang
FROM files
GROUP BY language(file_path, blob_content);"
2019/03/06 10:20 rpc error: code = Unknown desc = SQL query failed: Error 1105: unknown error:
                 group by aggregation 'language(files.file_path, files.blob_content)' not supported

The last issue you mention should be fixed when we upgrade go-mysql-server.

and the first one could be also fixed by #720
If you close this issue once the fix has been released, and I'll try both :)

Regarding your original request with this query:
SELECT count(*), language(file_path, blob_content) as lang
FROM files
GROUP BY lang

Indexes are only used when you specify a condition.
For example, this would use the index:
SELECT count(*), language(file_path, blob_content) as lang
FROM files
WHERE language(file_path, blob_content) = 'JSX'
GROUP BY lang

(the second language could become lang once gitbase is updated)
So this is working as intended. Without any filter, it's a full scan, and indexes are not used in full scans. It does not have anything to do with the group by.

Total newbie on this field, but let me try...
having this index:
CREATE INDEX commits_idx ON commits USING pilosa (commit_author_name, commit_author_when);

Then we query:
SELECT min(commit_author_when)
  FROM commits
  GROUP BY commit_author_name

And considering your explanation:

without any filter, it's a full scan, and indexes are not used in full scans
it will be performed a full scan because commits_idx index won't be used.
Did I understood you?

But what I understood is that full scan could be avoided in that situation because of the index.
Same about the ordering.
Having this query:
SELECT commit_author_name
  FROM commits
  ORDER BY commit_author_name

Is it not speeded up by the index?
I think it should rely on index order instead of doing a full scan, and sorting on memory.
Or is it a pilosa limitation?
And my major doubt about index use.
Since we can index computed values, and since they can be the result of heavy operations, why not relying on the index if possible?
having this index:
CREATE INDEX files_lang_idx ON files USING pilosa (language(file_path, blob_content));

during the index creation it will be queried bblfsh to get the language for every file, ending with something like lang -> file;
Then doing something like:
SELECT count(*), language(file_path, blob_content) as lang
  FROM files
  GROUP BY lang;"

could get the results only with the info from index, instead of doing a full scan, and querying again bblfsh.
More info:
Did not read it completely, but I saw there some concepts that align with the ideas I exposed above:

https://dev.mysql.com/doc/refman/8.0/en/group-by-optimization.html
https://dev.mysql.com/doc/refman/8.0/en/order-by-optimization.html
https://www.itprotoday.com/sql-server/indexing-sort-performance

Or maybe it is not aplicable at all because our index can not offer that features.

Oh, yes, it's a limitation of our current implementation (as in it's not implemented yet, but probably could be). Indexes could perfectly be used for full scans (even though it would probably only be worth it for indexes with expensive expressions already computed), order bys and group bys. It's something we know could be done, but it's not a priority AFAIK.

So I think this could be considered as a feature request.
If you or @ajnavarro agree I could reopen, or to create a new one somewhere :)


Missing items: [BRILLIANT WIZARD OIL] (for warlock)

Links to WOTLK Wowhead for each item:
https://www.wowhead.com/wotlk/item=20749/brilliant-wizard-oil
good oil for warlock even in TBC

Warlock Stones added to regular consume picker
Warlocks have the regular consume picker now


Opacity Animation Can't be Stopped

For some reason opacity animations won't stop when you tell them to.

This has since been fixed. It's was about this one is closed :)


Why are the {C,ITER,}JMP instructions encoded with a 4-byte padding?

Hello,
I'm trying to get a good grasp of the bytecode and VM and I was wondering why the JMP opcodes (including CJMP and ITERJMP) have their argument (the jump destination address) padded to 4 bytes in the []byte bytecode slice, but not the other opcodes that take an argument (e.g. CONSTANT)?
My initial hunch was that this was for Opcodes to always be "aligned" on modulo-4 indices, but that's clearly not the case since there are argument-less opcodes that encode to a single byte and opcodes with non-padded arguments, but also it's only the argument part that takes 4 bytes (so the complete jump instruction takes 5 bytes with the Opcode itself).
AFAICT there's no comment that explains this, and I checked the git commit when that was introduced but couldn't get a good understanding there either. It's very possible that it's something obvious that eludes me :)
Thank you and a happy new year!
Martin

After seeing https://github.com/google/starlark-go/issues/418, I believe that's the reason - the jump addresses are always 4 bytes so that they could be patched should a debugger or some other program insert breakpoints in the instructions. The other opcodes that take an argument don't need that because they point to static tables (names, globals, functions, etc.), not addresses that may vary if the bytecode is being manipulated.
Leaving open in case there's more to it, but feel free to close otherwise!
Thanks,
Martin

After seeing https://github.com/google/starlark-go/issues/418, I believe that's the reason...

In fact, the reason is not debugging: though I never had time to finish a prototype of the debugger, breakpoints can be implemented by defining a single-byte BREAKPOINT instruction and then replacing the first byte of any other instruction (not just JMP) with it.
The true reason is simplicity of implementation. If all instructions have a known size, then the address of each basic block can be computed easily before emitting the instruction stream. But if there are two kinds of jump instruction (wide and narrow target address), then you need a more complex algorithm. You can use either an optimistic or a pessimistic approach. The optimistic approach assumes that all jumps can be narrow, but may have to fix up jumps to a block whose address is too wide; this fixing-up may in turn may cause other block addresses to become wide, requiring further fix-ups, and so on. The pessimistic approach starts by assuming all jumps are wide, and optimizes ones with small addresses, which makes blocks more compact, enabling further optimization. Either way, you need a fixed-point iteration to select the most compact jump instruction for all cases.
If data supports this optimization, I would accept a PR to implement it, but it seems unlikely to be important. I think there are bigger gains to be made by changing the instruction set more generally so that there is no loop required to decode the argument of every instruction.


Future parties are not displayed in party search

Expected behavior
All open future parties should be displayed in the party search.
Actual behavior
I set up many parties under CID 4287 Judy Zimmerman
Some have Sept and Oct.
When I do the party search by State in Big C for IL
The Sept and Oct parties are not appearing.

Steps to reproduce behavior
Set up parties in myHQ that have a future date.
Execute party search in Big C.

This is ready to test

8-17 SH - Fixed


[WIP] uORB pub/sub graph

This adds a python script to extract uORB pub/sub information from the source tree and create 2 possible graph outputs: JSON for D3.js or Graphviz.
See it in action: https://logs.px4.io/plot_app/static/graphs_selectable/index.html
Fixes #6189 (See also https://github.com/PX4/Firmware/issues/6189#issuecomment-347507465)
I added the D3.js html file, but it does not need to live in this repo. To test it, create the graph with:
./Tools/uorb_graph/create.py -e src/examples -f Tools/uorb_graph/graph_full

Then open the html file and select the full graph.
TODO:

generate from a cmake config target: required is only the list of modules. @dagar any good idea, so that we don't do that on every (local) build?
handle Subscription & Publication classes (I planned to refactor those first, so this can wait)
integration into the dev-guide. @hamishwillee I could need your help with that. It's 2 static files: a html and one or more JSON files with the graph (due to same-origin policy, the JSON file needs to come from the same server).
CI and automatic updates based on master

This is super cool!
I have a few cosmetic comments:

can you prevent items from overlapping?
can you add a legend ? I did not realize immediately that there were modules in grey and topics in color, and subscribe/publish in dashed/solid lines
possibly make topics look different from module. For example modules get slightly taller square boxes while topics get thin boxes with rounded corners
add tiny arrows from publisher to subscriber for extra clarity

@dagar any good idea, so that we don't do that on every (local) build?

Not immediately, but we could consider unifying the per module metadata culling. Identifying all the params, publications, subscriptions used per module would really help identify the cruft.

If hover over something it shows me the network for that module. BUT if I filter on logger (say) and then hover over it I don't get the network. Would be good if we could make the filtered items reappear (just) when hovering.

Thanks for your feedback.

can you prevent items from overlapping?

I already tried different things, and so far this is the best that I got. It uses anti-collision forces to avoid overlapping, but in areas with many nodes it's still possible that they overlap. I planned to take another look at it when integrating to the dev-guide (since other things might change as well, such as the plot size). Meanwhile feel free to play around with it - the force parameters can be adjusted in https://github.com/PX4/Firmware/pull/8393/files#diff-317a01bc575611cdfa242b1536ac3dbaR85 (and the following lines) and https://github.com/PX4/Firmware/pull/8393/files#diff-317a01bc575611cdfa242b1536ac3dbaR262

can you add a legend ?

Definitely. The graph needs some explanations, I also planned to do that when adding to the dev-guide.

possibly make topics look different from module. For example modules  get slightly taller square boxes while topics get thin boxes with  rounded corners

Yep I'll look into that.

add tiny arrows from publisher to subscriber for extra clarity

Would be nice, but this one is going to be difficult, because the lines end at the center of the box.

If hover over something it shows me the network for that module. BUT if I filter on logger (say) and then hover over it I don't get the network. Would be good if we could make the filtered items reappear (just) when hovering.

Do you mean showing the network when hovering, but only when hovering over a search result match? Or do you mean showing just a single node or the network when hovering and in filter mode independent whether the node under the mouse matches? The current behavior is such that you can search and scroll the graph, and only see on the results without distraction. Clicking anywhere on the graph will give you back the full graph.

can you add a legend ?

Definitely. The graph needs some explanations, I also planned to do that when adding to the dev-guide.

Adding to the devguide may require some thought because available space is constrained. We should try this.

If hover over something it shows me the network for that module. BUT if I filter on logger (say) and then hover over it I don't get the network. Would be good if we could make the filtered items reappear (just) when hovering.

Do you mean showing the network when hovering, but only when hovering over a search result match?

I mean that when I hover over something in an unfiltered view I see it's connections and everything else is hidden. I'd like to see that same view (when hovering) when I hover over an item in a filtered view. i.e. including the things that were filtered out.
Basically I filter to be able to find a module, but I still then want to see its connections, whether or not they would be filtered out. Does that make sense?

Basically I filter to be able to find a module, but I still then want to see its connections, whether or not they would be filtered out. Does that make sense?

Yes, and I updated accordingly.
I tested adding it to the dev-guide and it somewhat works: https://bkueng.gitbooks.io/px4-devguide/content/en/middleware/uorb_graph.html (however I need to reload the page twice before the graph is visible. I think it's because the <script> tag for d3 should be in the <head>, not in the <body>). Also the size is a bit of a hack: I made it wider than the usual site content is.
I also updated the forces, so that there are less overlapping nodes, and the modules have now rounded corners.
@dagar I added a cmake target, so all the graph files can be created with:
./Tools/uorb_graph/create_from_startupscript.sh
./Tools/uorb_graph/create.py --src-path src --exclude-path src/examples --file Tools/uorb_graph/graph_full
make px4fmu-v2_default uorb_graph
make px4fmu-v4_default uorb_graph
make posix_sitl_default uorb_graph

Should we get this automatically running and posting to the gitbook?

Still lots of fun. One issue is that if you hover over something and the connections are offscreen, there is no way to navigate to them and find out what they are.
Not sure how you would fix that - maybe some sort of "latch", or have items reposition closer if you hover for a little while.
How did you hack the page width? Globally or for the page? I might consider not doing this - instead add a note telling them to collapse the left sidebar.

Should we get this automatically running and posting to the gitbook?

Yes once we have a working solution.

How did you hack the page width? Globally or for the page? I might consider not doing this - instead add a note telling them to collapse the left sidebar.

Here's the diff: https://github.com/bkueng/Devguide/commit/d95d46cd60bf9579ef317f5aacc1e0af0b2f1a53. I did not change the page width, I just let the image overflow and center it. I'd like to keep it fixed size with an aspect ratio of 1. Everything else will make things much more complicated.
I did not know that you can collapse the sidebar. Can we do that programmatically per page?
Dragging the whole graph should also be possible.

Thanks. I doubt page collapsing can be done programmatically - or rather not without writing a plugin. What you've done looks good.

Dragging the whole graph should also be possible.

Yes. The problem is that once you move mouse to drag your page, you're no longer hovering over your object of interest.

I fixed the graph loading and added some description: https://bkueng.gitbooks.io/px4-devguide/content/en/middleware/uorb_graph.html
I was also thinking of adding a checkbox to hide the two most heavy modules, which are mavlink and commander. Thoughts?

I was also thinking of adding a checkbox to hide the two most heavy modules, which are mavlink and commander. Thoughts?

Yes that sounds good, although I was actually hoping for checkboxes for all modules. That wait I could isolate a certain subset for any explanatory (or exploratory) purpose.

Nice. Thanks for making the hover over a filtered topic show all the connections :-)
Just a thought - it might be good to push most of the description to the bottom of the page - as people will only read it once. So something like
This page provides a uORB publication/subscription graph that shows the communication between modules. It is based on information that is extracted directly from the source code. Usage instructions are provided below [LINKED].
## Module Graph
<MODULE IMAGE>
## Graph Properties
The graph has the following properties:
* Each topic has its own color
...

Here is some slightly modified text you may wish to use for the descriptions ...

Modules are displayed as gray boxes with rounded corners while topics are displayed as coloured rectangular boxes.
Associated modules are topics are connected by lines.  Dashed lines indicate that the module subscribes to the topic, while solid lines indicate that the module publishes the topic.
Some modules and topics are excluded:

Topics that are subscribed/published by many modules: parameter_update, mavlink_log and log_message.
The set of logged topics, and topics that have no subscriber or no publisher.
Modules in src/examples.

Hovering over a module/topic highlights all its connections.
Double-clicking on a topic opens its message definition.
Make sure your browser window is wide enough to display the full graph (the sidebar menu can be hidden with the icon in the top-left corner). You can also zoom the image.
The Preset selection list allows you to refine the list of modules that are shown.
The Search box can be used to find particular modules/topics (topics that are not selected by the search are greyed-out).

I can explain the above if needed.

Thanks @hamishwillee. I was counting on you to come up with some better text :)
https://bkueng.gitbooks.io/px4-devguide/content/en/middleware/uorb_graph.html

although I was actually hoping for checkboxes for all modules. That wait I could isolate a certain subset for any explanatory (or exploratory) purpose.

That's almost a bit too much I think. And then you would also need to have perma-links, right?

Very nice. Even though there may be other things people want, I vote we push this live and iterate on the released version.

Yes, currently we generate metadata in every build (https://github.com/PX4/Firmware/blob/master/Jenkinsfile#L291), but then have a separate job (http://ci.px4.io:8080/job/PX4/job/Devguide/) that runs nightly to update the Devguide with the latest.
Eventually this will probably all migrate to the pipeline we get a handle on the new system.
For uorb_graphs should we only bother running it in master?

Ok, I'm merging this. @dagar can you add the necessary CI things? It would be good to run at least something like ./Tools/uorb_graph/create.py --src-path src on a PR, as it has some checks. For example if a new special case needs to be added, it will output:
Traceback (most recent call last):
  File "./Tools/uorb_graph/create.py", line 616, in <module>
    graph.build(args.src_path, args.exclude_path, use_topic_pubsub_union=args.use_topic_union)
  File "./Tools/uorb_graph/create.py", line 285, in build
    self._build_recursive(path)
  File "./Tools/uorb_graph/create.py", line 338, in _build_recursive
    self._build_recursive(file_name)
  File "./Tools/uorb_graph/create.py", line 338, in _build_recursive
    self._build_recursive(file_name)
  File "./Tools/uorb_graph/create.py", line 350, in _build_recursive
    self._process_source_file(file_name)
  File "./Tools/uorb_graph/create.py", line 415, in _process_source_file
    self._orb_id_vehicle_attitude_controls_topic)
  File "./Tools/uorb_graph/create.py", line 130, in extract
    +file_name+' ('+module+'). You need to add another special case.')
Exception: Subscription w/o ORB_ID(): _controls_topics[i] in src/drivers/snapdragon_pwm_out/snapdragon_pwm_out.cpp (snapdragon_pwm_out). You need to add another special case.


TikTok Utilities broken

The BOT is currently broken (Not working), I am currently working on an update to fix the issues.
Please be patient,
Thanks!

1year and 2 months???

Hey mate, been way to busy to work on the project but I have announced on my discord server about an update in the works with evidence. Just working out the TikTok api

can i revice a link for ur discord server?


Add coordinationValues property for file definitions

PR diagram

Towards #1244
Towards #1128
Checklist

[ ] Ensure PR works with all demos on the dev.vitessce.io homepage
[ ] Open (draft) PR's into vitessce-python and vitessce-r if this is a release PR
[ ] Documentation added or updated

See comment in #1244 ... in principle this makes sense but my issue is similar to that in #1241 where it's not totally explicit at the moment (to me) how views connect with datasets, at least in some of the hairier cases.
Ah ok, so this is resolved by #1250?

Yes #1250 adds the hook useMatchingLoader which leverages this new coordinationValues property of file definitions to do the matching.


Implemented various versions of trash, as well as a trash factory. Re…

This PR includes:

Various new Trash implementations
** ProxiedTrash
** MockTrash: for simulate
** ImmediateDeletionTrash: for skip trash
** TestTrash: for an instance used for testing
TrashFactory to automatically select correct trash implementation based on properties.
Many trash tests.
Whitelist predicate for Dataset cleaner.

@ydailinkedin can you review?

@ydailinkedin Addressed comments, and fixed a bug where new methods in ProxiedFileSystem cache were not actually using cache.


[fix](restore tablet)fix restore_tablet() null_ptr

_exec_env is null，use StorageEngine::instance()
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 48.34 seconds
stream load tsv:          583 seconds loaded<PHONE_NUMBER>9 Bytes, about 122 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          33 seconds loaded 861443392 Bytes, about 24 MB/s
insert into select:          29.6 seconds inserted 10000000 Rows, about 337K ops/s
storage size:<PHONE_NUMBER>0 Bytes


Are all of the commands on this article live?

'-EnableFileTransfer' doesn't seem like it is live at the moment, we have attempted to run it, but receive the following error:
"You are not permitted to invoke Set-CsExternalUserCommunicationPolicy with the following parameters: EnableFileTransfer"
Please can we have some clarification on the status of the commands that are currently available? Specifically the EnableFileTransfer command.

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

ID: 9e6ed2c7-9452-dec6-2b82-efa9947a54e8
Version Independent ID: be814e59-80a8-4da0-6774-de732e23041f
Content: New-CsExternalUserCommunicationPolicy (skype)
Content Source: skype/skype-ps/skype/New-CsExternalUserCommunicationPolicy.md
Service: skypeforbusiness-powershell
GitHub Login: @tomtau
Microsoft Alias: tomkau

@officedocsbot assign @yogkumgit

Hello @tomkau Tom
I could verify what the user is here saying, it seems that the parameter EnableFileTransfer hasn't been enabled to be specified by users. Can you please confirm this?
I appreciate.

I sent a note to the team that owns the cmdlet to ask for clarification.

I sent a note to the team that owns the cmdlet to ask for clarification.

Hello @tomkau , any replies from the team? Thank you

Hello,
I could confirm that the current and only parameter available to set using this cmdlet is EnableP2PFileTransfer
For the others, the current statement in the description This parameter is reserved for internal Microsoft use. remains, so we will proceed closing this issue.
Thank you

@get-itips  Thank you very much for the contribution and sharing this explanation. @Skempf94
Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Artisan config cache will fail the JWT

Upon inspection of the code, I found references to env function. This could cause a major issue going forward when one would do php artisan config:cache in the production environment.
reference: https://laravel.com/docs/5.6/configuration#configuration-caching
If you would agree to this, then the problem can be broken into two parts:

JWT_SECRET should be via config function call.
Cache handling. Here I see that you have used predis client but wrote a custom implementation in the CacheTrait. I couldn't figure out the reason behind that and not using Laravel's inbuilt Cache API.

I can help straighten these out if you need a hand.

Hi - yes those issues are existing:

There are problems with laravel-modules configuration - it seems like only standard properties from global .env set to the app environment (Illuminate\Config\Repository), so even if u execute
php artisan config:cache
it won't be there, thus u can't get value by config('extra_key')
This will definitely be implemented.

PS if you want to help by implementing those features with functional/integrity tests u r always welcome.
Thank u for research.

done - https://github.com/RJAPI/raml-json-api/releases/tag/1.9.3

done - https://github.com/RJAPI/raml-json-api/releases/tag/1.9.4

Thank u once again - those will be much better implemented this way.

@arthurkushman :thumbsup:
Awesome work


Transpiler service alters circuit parameter names

Circuit returned by the transpiler service has its parameter names altered. For example:

from qiskit.circuit.library import RealAmplitudes
from qiskit_transpiler_service.transpiler_service import TranspilerService

circuit = RealAmplitudes(num_qubits=2, reps=1)
print(f"Before parameters: {circuit.parameters}")

transpiler = TranspilerService(backend_name="ibmq_manila", optimization_level=1)
isa_circ = transpiler.run(circuit)
print(f"After parameters: {isa_circ.parameters}")

This prints
Before parameters: ParameterView([ParameterVectorElement(θ[0]), ParameterVectorElement(θ[1]), ParameterVectorElement(θ[2]), ParameterVectorElement(θ[3])])

After parameters: ParameterView([Parameter(_θ_0_), Parameter(_θ_1_), Parameter(_θ_2_), Parameter(_θ_3_)])

A workaround is to have a mapping of the before/after parameter names using they position. For example, one can track that parameter θ[0] is at position 0. So any parameter values that were supposed to go to θ[0] will now go to the new position 0 parameter named _θ_0_

Thank you for submitting the issue @jyu00 ! Since it belongs to our internal repo instead of this one, I will create the issue there and close this one, ok?

I opened this issue here so other people who encounter the same issue can see the progress. For that reason, I'd prefer to leave this open until it's fixed.

Hi @jyu00, can you check if this issue is still happening in last version? We started using QPY as exchange format with service, so QASM3 bug should not appear anymore.


Update Elixir to 1.7.2

Hi, @andyone
Could you update Elixir to 1.7.2?

Looks good for me. Merged.

Elixir 1.7.0, 1.7.1, 1.7.2 and 1.7.3 were added to kaos-testing repository.


Move to ESLint

JSHint chokes on function bind syntax:
$ git checkout 357db73
$ ./node_modules/.bin/jshint test/es6.js
test/es6.js: line 13, col 26, Missing semicolon.
test/es6.js: line 13, col 26, Expected '}' to match '{' from line 12 and instead saw ':'.
test/es6.js: line 13, col 27, Expected ')' and instead saw ':'.
test/es6.js: line 13, col 28, Missing semicolon.
test/es6.js: line 39, col 1, Unrecoverable syntax error. (63% scanned).

5 errors

@stoeffel do you have experience with ESLint? I’ve heard good opinions.

Hi, I'd be happy to help answer any questions you've got about ESLint.

eslint doesn't support function bind syntax refs #https://github.com/eslint/eslint/issues/2728
But maybe there is a plugin for that.
@IanVS Thanks, do you know a plugin to allow function bind syntax (f.e. func::curry(1, 2))?

let's try https://github.com/babel/babel-eslint

Done! There’s a fair share of warnings there, by the way: https://travis-ci.org/stoeffel/chickencurry/jobs/73223568.

Sorry, I'm not aware of any such plugins.
The warnings ESLint generates initially can be a little overwhelming.  I wrote eslint-nibble to try to make it a little easier to chip away and fix the errors.  It will give you an overview of how many errors there are across all of your project, grouped by rule, and then allow you to focus in on one rule at a time.  Maybe it will be helpful to you.

Thanks @IanVS, it’s much better now: https://travis-ci.org/stoeffel/chickencurry/jobs/73225562. Your program looks good. At the moment I’m quite happy with my setup: https://atom.io/ + https://atom.io/packages/linter + https://atom.io/packages/linter-eslint – but I’ll try the nibble thing out when I’m in for something new.

Sorry, I'm not aware of any such plugins.

babel-eslint does a good job so far.

Thanks @IanVS, it’s much better now: https://travis-ci.org/stoeffel/chickencurry/jobs/73225562.

Ooops, it’s not. It looked good on my dev machine, but it seems like it lints transpiled files on Travis. Hmm, does that mean that eslint ignores the --ignore-path .gitignore option we’ve specified? I’ve got the same problems after npm running transpile.

I wonder if this has to do with https://github.com/eslint/eslint/issues/1862.  Perhaps the *.js is not being applied correctly?  Maybe you could try changing the .gitignore to ./*.js as an experiment.

It's the same on my machine.

Maybe you could try changing the .gitignore to ./*.js as an experiment.

This worked! Thanks.
//cc @IanVS

Thanks @stoeffel. I just wonder if /*.js and ./*.js means the same to git. That could be quite an important difference.

Alright, it does seem to mean the same:

Alright, it does seem to mean the same:

Yop. I think it's /*.js in the root of your machine and ./*.js in the root of the repo

Actually, no. I was wrong. ./*.js excludes all nested files as well:

I think it's /.js in the root of your machine and ./.js in the root of the repo

/*.js is the root of the repo. See http://git-scm.com/docs/gitignore.

Actually, no. I was wrong.  ./*.js  excludes all nested files as well:

What does your .gitignore look like?

./*.js doesn’t ignore JS files at all:

What does your .gitignore look like?

https://github.com/stoeffel/chickencurry/blob/1a7cd601e734d60a0b433dcb9ebcd7d6beacd506/.gitignore

Strange.  Maybe this is a case where it would be best to just create a .eslintignore file and not worry about the weird inconsistencies between .gitignore and ESLint.

Yeah, maybe you’re right. I managed to fix this temporarily at @c6b5b8e .

Thanks for pointing us in the right direction though @IanVS!

No problem. Feel free to submit an issue in ESLint if you think docs or behavior could be improved.


kx-aspe-cli: init at 0-unstable-2024-04-06

Description of changes

Add kx-aspe-cli  to manage keyoxide.org profiles
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 311464 run on x86_64-linux 1

1 package built:

kx-aspe-cli


[Infra updates] xcode 13.1, swift 5.5, etc.

Update swiftlint
Update jazzy
Update bundler
Update workflows
Xcode 13.1

Danger failures expected because of APIs that are WIP


mon: remove unnecessary arg public bind addr

since ceph reef, monMapArg --public-bind-addr is not required anymore.

Description of your changes:
Which issue is resolved by this Pull Request:
Resolves #185
Checklist:

[ ] Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
[ ] Reviewed the developer guide on Submitting a Pull Request
[ ] CI tests has been updated, if necessary.
[ ] Documentation has been updated, if necessary.
[ ] Unit tests have been added, if necessary.

Quincy is still supported in upstream Rook, so we may still need this argument for now...

Quincy is still supported in upstream Rook, so we may still need this argument for now...

https://github.com/rook/kubectl-rook-ceph/pull/273 I tested here it is working

Quincy is still supported in upstream Rook, so we may still need this argument for now...

#273 I tested here it is working

Ok great to hear it also works with Quincy


Push notifications issues

From yesterday we faced with problem related to push notifications. We were testing custom events and it worked before but now we don't get any notifications. It looks like there is no problem with subscriptions, but i found this error from admin interface logs: Error: getaddrinfo EMFILE fcm.googleapis.com : getaddrinfo EMFILE fcm.googleapis.com. It looks like DNS issue. Also i noticed that some fcm events was missing in push notifications query admin interface and now links to logs are disabled

Can you confirm, if it's a temproary issue on your server side or look into this?

sorry, I forgot to answer you after consultation with the back-end team, now it should work, check, please

thanks, fixed!


Failed to parse 0 and 1 as boolean at insertion

What type of bug is this?
User Experience
What subsystems are affected?
Standalone mode
Minimal reproduce step
First create the table in a standalone greptimedb:
create table foo(ts timestamp time index, b boolean)

Use the following java code to insert values:
String sql = "insert into foo(ts, b) values(?,?)";

try (Connection conn = DriverManager.getConnection("jdbc:mysql://<IP_ADDRESS>:4002")) {
  PreparedStatement ps = conn.prepareStatement(sql);

  ps.setObject(1, System.currentTimeMillis()); // ts
  ps.setObject(2, true); // b

  ps.addBatch();
  ps.executeBatch();
  ps.clearBatch();
}

With mysql jdbc driver
<dependency>
  <groupId>mysql</groupId>
  <artifactId>mysql-connector-java</artifactId>
  <version>8.0.33</version>
</dependency>

Then the db complains:
2024-02-23T10:02:43.576713Z DEBUG on_query: servers::mysql::writer: Failed to handle mysql query, error: 0: Failed to execute query, query: insert into foo(ts, b) values(1708682506490,1), at /Users/luofucong/repo/greptime/my-greptimedb/src/servers/src/query_handler/sql.rs:89:22
1: Table operation error, at src/frontend/src/instance.rs:270:14
2: Failed to parse SQL, at src/operator/src/req_convert/insert/stmt_to_region.rs:199:14
3: Failed to parse value: Fail to parse number 1, invalid column type: Boolean(BooleanType)

What did you expect to see?
Successfully insert the values, since the client codes are valid.
What did you see instead?
Failed to insert.
What operating system did you use?
macos
What version of GreptimeDB did you use?
main
Relevant log output and stack trace
No response

A little track down to the mysql jdbc driver codes suggest that it does convert boolean values to 0 or 1:
// in com.mysql.cj.protocol.a.BooleanValueEncoder:
@Override
public void encodeAsQueryAttribute(Message msg, BindValue binding) {
  boolean b = ((Boolean) binding.getValue()).booleanValue();
  NativePacketPayload intoPacket = (NativePacketPayload) msg;
  intoPacket.writeInteger(IntegerDataType.INT1, b ? 1L : 0L);
}

So I think we should adapt to that.


Set/Delete Categories on Work Items

From @michaelkleinhenz on September 28, 2016 18:31
Description
As a user, I want or add or remove categories to/from work items on the work item detail view.
Function Acceptance Criteria

The user is able to view the currently associated categories on the view.
The category list may be empty.
The user is able to add a new category association by selection an available category from a list.
The user can remove an already associated category. Removing a category does not need a confirmation.

Non-functional Acceptance Criteria

Adding or removing categories is performed in-place and is directly visible.

Dependencies

Userstory #298

Copied from original issue: almighty/almighty-core#310

From @nimishamukherjee on September 29, 2016 5:49
We need the definition of Category.

From @ldimaggi on September 28, 2016 19:19
Just to confirm - is the user able to assign one or many categories to a work item?

@nimishamukherjee see #299.

@ldimaggi yes, it's like tags and very much the same, but in a new field.

From @Mgranfie on September 29, 2016 12:53
@michaelkleinhenz @nimishamukherjee so are these different than tags? what is the purpose of a category verses a tag? Not sure what is meant by "but in a new field."
As a user why would I want to use a Tag vs. a Category?

From @Mgranfie on October 5, 2016 16:4
@Len I would think so...  how I understood it... anyone else that can
confirm or deny?
On Wed, Oct 5, 2016 at 11:58 AM, Len DiMaggio<EMAIL_ADDRESS>wrote:

Do you see this as hierarchical? Can each category be annotated by one or
more tags?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/almighty/almighty-core/issues/310#issuecomment-251717939,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARTwq801EqYZUIflQvynLtEetWJ1eVJQks5qw8k8gaJpZM4KJKIP
.

@Mgranfie In the implementation, it's very similar, it's just another functional value. Think "keywords" (tags) against "system components" (categories). I think the intention is to have a minimal meaning schema given for a project so that WIs do not get "tag spill" with many tags assigned to a WI with different semantic meanings intermixed.

From @ldimaggi on October 5, 2016 15:58
Do you see this as hierarchical? Can each category be annotated by one or more tags?

@ldimaggi @Mgranfie I see it as hierarchical in its final form, but not yet. At one point we will need to be able to create for example "subcomponents of components" that would be modelled using categories. Like "the frontend of our photo management software has a large import feature, that should be a seperate category for WIs, but it is a subcomponent of the software frontend".
At this time, though, I would go with a flat approach first.


solr-indexer

Creates a SolrSubmission class that takes a Submission and makes it look like a solr document
adds helper methods to Submission to pull information / format information how solr needs it
Creates an index_submission method in the SolrDataImportService

I didn't touch any of the existing methods, and this code is not called yet from the application
TODO
The access fields aren't being populated, I think these fields are so that https://github.com/projectblacklight/blacklight-access_controls will work. I'm not sure if we are going to be using access_controls in new explore, we might want to write our own methods to simplify this? I'm not sure
I'll need to write up some tests
Wire these methods into the app
My thought for this is to put the new indexing behind a feature flag. something like
   results = if ENV.fetch('SOLR_HOST', nil)
                SolrDataImportService.new.index_submission(submission)
              else
                SolrDataImportService.new.delta_import
              end

where we are using the delta_import etc.
Once we migrate to solrcloud everywhere, we can remove all the dead code.
Extra Credit might be to wrap the SolrDataImport into a background job so we can do parallellism on full imports / not hang the clients.
Sorry for the wall of text. I wanted to put this out early for review.

Oh and, as you mentioned above, we'll need tests for most of this.

I really like the SimpleDelegator, i didn't know you could do that. 🎉

LGTM 🎉


Working geofence repo

Is there any working geofence repo?
Regards

This plugin has been deprecated. Please find the other alternative

Hello, which is "the other alternative"? thanks

check
https://github.com/compelling/cordova-plugin-geofence

check
https://github.com/compelling/cordova-plugin-geofence


Do notation with block doesn't yield methods

Describe the bug
After using dry-transaction I had a habit to call "commands" special way with passing a block to it and matching result, example:
TransactionCommand.new.call(params) do |result|
  result.success { process_success }
  result.failure { process_failure }
end

When I tried to do the same with transaction, i encountered bug: yield some_method always returns nil.
I know that passing a block to do monad isn't a case, but it'll be nice to raise some error if it's not supported.
To Reproduce
require 'dry/monads'
require 'dry/monads/do'

class ValidateAccount
  include Dry::Monads[:result]
  include Dry::Monads::Do.for(:call)

  def call(params)
    values = yield validate(params)
    Success(values)
  end

  def validate(params)
    Success(params)
  end
end

# always returns `nil`
ValidateAccount.new.call({ hello: 'world' }) do |result|
  result.success { |values| puts values }
  result.failure { |error| puts error }
end

# returns `Success({ hello: 'world' })`
ValidateAccount.new.call({ hello: 'world' }) do |result|
  result.success { |values| puts values }
end

Expected behavior
I'm not sure what behavior should be, but here are possible scenarios:

Raise error if block passed to #call
Support dry-transaction-like code: https://dry-rb.org/gems/dry-transaction/0.13/basic-usage/#calling-a-transaction

Your environment

Affects my production application: NO
Ruby version: 2.6.5
OS: macOS 10.15.5

I don't think I follow. How is the code you posted supposed to work? You only have dry-monads modules in the class.
Sidenote: blocks passed to a method discards do notation, it's intentional. It allows you to mix both styles in a class when you include Dry::Monads[:do] i.e. wrap all methods. We probably could raise an exception when do notation is added via .for(...) but it would be a breaking change for 1.0.

My code supposed to work if it is written with dry-transaction like here: https://dry-rb.org/gems/dry-transaction/0.13/basic-usage/#calling-a-transaction.
I know that monads are completely different from transaction, but I spent few hours trying to understand why my code didn't work 😁. If I'm only one confused with this, you can close this issue, no problem!

blocks passed to a method discards do notation, it's intentional. It allows you to mix both styles in a class when you include Dry::Monads[:do] i.e. wrap all methods.

It's interesting. Maybe some examples in the docs would be great help!
Thanks

The link you posted has another module included, namely MyApp::Transaction. Your ValidateAccount has only dry-monads modules. Presumably, you have something like include Dry::Transaction(container: Container) in your class you need to include Dry::Monads::Do.for(:call) before that line. It is important because dry-transaction includes dry-matcher which, in order, intercepts the outer block hence should be added later.
I would suggest you switch to pattern matching which doesn't have such quirks.

It's interesting. Maybe some examples in the docs would be great help!

Feel free to send a patch.


az aks update can cause node image update that can lead to downtime

Type of issue
Missing information
Feedback
Hello,
az aks update --resource-group myResourceGroup --name myAKSCluster --load-balancer-outbound-ports 4000

Microsoft documentation doesn't state elsewhere that this command could update node image version to the latest available, which might cause potential downtime. Please, describe this behavior in a more clear way.

Page URL
https://learn.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest#az-aks-update
Content source URL
https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/aks.yml
Author
@dbradish-microsoft
Document Id
75b0c352-762e-16ae-5cc6-d807ffc1dc3f

@mykolaichuk
Thanks for your feedback! We will investigate and update as appropriate.

@mykolaichuk
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@mykolaichuk, I am moving your feedback to Azure/azure-cli where the engineering team will be notified and can respond. Please continue the conversation with az aks engineering in 30495.


Damage apply issue

If you make full attack - damage apply is doubled on every attack you make. Single attack is okay.

Found the problem. Should be fixed in the next release!

The issue should be fixed with v0.8.


Script Fails on first measurement

I've set up the docker versionto use my sonoff S31 (running ESPhome) to measure a LIFX bulb, and after measuring the standby and setting the first hs setting, it spits out this error:
Traceback (most recent call last):
File "measure.py", line 515, in
main()
File "measure.py", line 512, in main
measure.start()
File "measure.py", line 194, in start
power = self.take_power_measurement(variation_start_time)
File "measure.py", line 266, in take_power_measurement
self.take_power_measurement(start_timestamp, retry_count)
File "measure.py", line 266, in take_power_measurement
self.take_power_measurement(start_timestamp, retry_count)
File "measure.py", line 266, in take_power_measurement
self.take_power_measurement(start_timestamp, retry_count)
[Previous line repeated 2 more times]
File "measure.py", line 258, in take_power_measurement
raise OutdatedMeasurementError(
powermeter.errors.OutdatedMeasurementError: Power measurement is outdated. Aborting after 5 retries
I've tried decreasing the update interval on the sonoff, but that didn't help so I'm not sure what to do next

I reran with debug logging on:
2021-12-14 06:24:01,173 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8123
2021-12-14 06:24:01,179 [DEBUG] http://<IP_ADDRESS>:8123 "GET /api/states/light.orb HTTP/1.1" 200 369
2021-12-14 06:24:01,185 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8123
2021-12-14 06:24:01,193 [DEBUG] http://<IP_ADDRESS>:8123 "POST /api/services/light/turn_off HTTP/1.1" 200 10
2021-12-14 06:24:01,195 [INFO] Measuring standby power. Waiting for 20 seconds...
2021-12-14 06:24:21,210 [DEBUG] Taking sample 0
2021-12-14 06:24:21,215 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8123
2021-12-14 06:24:21,220 [DEBUG] http://<IP_ADDRESS>:8123 "GET /api/states/sensor.sonoff_s31_power HTTP/1.1" 200 235
2021-12-14 06:24:21,729 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8123
2021-12-14 06:24:21,738 [DEBUG] http://<IP_ADDRESS>:8123 "POST /api/services/light/turn_on HTTP/1.1" 200 10
2021-12-14 06:24:21,740 [INFO] Start taking measurements for color mode: hs
2021-12-14 06:24:21,741 [INFO] Waiting 10 seconds...
2021-12-14 06:24:31,752 [INFO] Changing light to: HsVariation(bri=1, hue=1, sat=1)
2021-12-14 06:24:31,756 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8123
2021-12-14 06:24:31,765 [DEBUG] http://<IP_ADDRESS>:8123 "POST /api/services/light/turn_on HTTP/1.1" 200 10
2021-12-14 06:24:36,770 [DEBUG] Taking sample 0
2021-12-14 06:24:36,775 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8123
2021-12-14 06:24:36,780 [DEBUG] http://<IP_ADDRESS>:8123 "GET /api/states/sensor.sonoff_s31_power HTTP/1.1" 200 237
2021-12-14 06:24:37,282 [INFO] Measured power: 0.44
2021-12-14 06:24:37,283 [INFO] Changing light to: HsVariation(bri=1, hue=2001, sat=1)
2021-12-14 06:24:37,288 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8123
2021-12-14 06:24:37,297 [DEBUG] http://<IP_ADDRESS>:8123 "POST /api/services/light/turn_on HTTP/1.1" 200 10
2021-12-14 06:24:42,304 [DEBUG] Taking sample 0
2021-12-14 06:24:42,309 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8123
2021-12-14 06:24:42,316 [DEBUG] http://<IP_ADDRESS>:8123 "GET /api/states/sensor.sonoff_s31_power HTTP/1.1" 200 237
2021-12-14 06:24:43,321 [DEBUG] Taking sample 0
2021-12-14 06:24:43,325 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8123
2021-12-14 06:24:43,331 [DEBUG] http://<IP_ADDRESS>:8123 "GET /api/states/sensor.sonoff_s31_power HTTP/1.1" 200 237
2021-12-14 06:24:44,335 [DEBUG] Taking sample 0
2021-12-14 06:24:44,339 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8123
2021-12-14 06:24:44,343 [DEBUG] http://<IP_ADDRESS>:8123 "GET /api/states/sensor.sonoff_s31_power HTTP/1.1" 200 237
2021-12-14 06:24:45,346 [DEBUG] Taking sample 0
2021-12-14 06:24:45,350 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8123
2021-12-14 06:24:45,354 [DEBUG] http://<IP_ADDRESS>:8123 "GET /api/states/sensor.sonoff_s31_power HTTP/1.1" 200 237
2021-12-14 06:24:46,357 [DEBUG] Taking sample 0
2021-12-14 06:24:46,361 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8123
2021-12-14 06:24:46,365 [DEBUG] http://<IP_ADDRESS>:8123 "GET /api/states/sensor.sonoff_s31_power HTTP/1.1" 200 237
2021-12-14 06:24:47,369 [DEBUG] Taking sample 0
2021-12-14 06:24:47,373 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8123
2021-12-14 06:24:47,377 [DEBUG] http://<IP_ADDRESS>:8123 "GET /api/states/sensor.sonoff_s31_power HTTP/1.1" 200 237
Traceback (most recent call last):
File "measure.py", line 515, in
main()
File "measure.py", line 512, in main
measure.start()
File "measure.py", line 194, in start
power = self.take_power_measurement(variation_start_time)
File "measure.py", line 266, in take_power_measurement
self.take_power_measurement(start_timestamp, retry_count)
File "measure.py", line 266, in take_power_measurement
self.take_power_measurement(start_timestamp, retry_count)
File "measure.py", line 266, in take_power_measurement
self.take_power_measurement(start_timestamp, retry_count)
[Previous line repeated 2 more times]
File "measure.py", line 258, in take_power_measurement
raise OutdatedMeasurementError(
powermeter.errors.OutdatedMeasurementError: Power measurement is outdated. Aborting after 5 retries

I retried it in docker on my mac and got the same error, not sure how to figure out if its a script error or a problem with my sonoff's configuration.

I had to change the update interval for my zwave plug from 3600 to every 10 seconds. Otherwise it would only send changes above a set threshold.

Interesting. the update interval on the sonoff was 1s, but home assistant was showing up to 13s since an update. I've changed the sleep time to 15s and its been working for a few hours. Later I'll see if i can find a slow enough update interval that home assistant shows it accurately, but for now its working!


Unable to load the service index for source https://api.nuget.org/v3/index.json

I have created a new application in Service Fabric Mesh and added dotnet core 2.2 Web API project.
In debug mode everything works properly. But in release mode, I am getting the following error
Restoring packages for C:\src\Web1\Web1.csproj...
C:\Program Files\dotnet\sdk\2.1.503\NuGet.targets(114,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [C:\src\Web1\Web1.csproj]
C:\Program Files\dotnet\sdk\2.1.503\NuGet.targets(114,5): error :   No such host is known [C:\src\Web1\Web1.csproj]
The command 'cmd /S /C dotnet restore Web1/Web1.csproj' returned a non-zero code: 1
SFA1003 : Building dockerfile 'C:\Users\keshav.k\source\repos\Application1\Web1\Dockerfile' failed.
Normal Web API project(without service fabric mesh) with docker support works fine in release mode.

There is a known error on the network side of things, it might not be this, but it can be worth give it a try.
Assuming you are on windows, the easy way to know if this is the case is in your dockerfile add:
RUN ping google.com
And if it cannot find the host then it's most certainly this issue.
Then execute this powershell: Get-NetIPInterface and see if your WIFI & Ethernet adapters are low enough.  Somehow docker for windows (which mesh relies on) does not goes out for dns if the other is different.
So in short, give 'Wi-Fi' and 'Ethernet' adapters a low metric value.

@andre

There is a known error on the network side of things, it might not be this, but it can be worth give it a try.
Assuming you are on windows, the easy way to know if this is the case is in your dockerfile add:
RUN ping google.com
And if it cannot find the host then it's most certainly this issue.
Then execute this powershell: Get-NetIPInterface and see if your WIFI & Ethernet adapters are low enough. Somehow docker for windows (which mesh relies on) does not goes out for dns if the other is different.
So in short, give 'Wi-Fi' and 'Ethernet' adapters a low metric value.

Sorry for the late reply, My colleagues who are on the same network were not getting the same error. So I re-installed Visual Studio, Docker and Service Fabric Mesh and everything are working properly.


Files just crashed after closing the settings

Description
My app crashed after I enabled the option that it should start where I left off.
Steps To Reproduce
No response
Expected behavior
Open settings
Activate option
CRASH
Files Version
<IP_ADDRESS>
Windows Version
Windows 10 Version 21H1
Relevant Assets/Logs
debug.log

Was it today at 7pm?

Yes

Is this still an issue in the latest preview build? https://files.community/download/preview

Is this still an issue in the latest preview build? https://files.community/download/preview

No.


Modules missing?

OS Information (Linux flavor, Python version)
Ubuntu 16.04.5
Python 2.7.12
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
Trying to run empire after i have installed it:
./empire Traceback (most recent call last):   File "./empire", line 13, in <module>     from lib.common import empire, helpers   File "/opt/Empire/lib/common/__init__.py", line 8, in <module>     import helpers   File "/opt/Empire/lib/common/helpers.py", line 50, in <module>     import iptools ImportError: No module named iptools
Screenshot of error, embedded text output, or Pastebin link to the error
Any additional information
Have tried to run install.sh several times, and getting the same error.

Just did a clean install, got it to work now..


Rename German readme to fit naming standards, fix typos

The other README files are called README.[language]-[country].md. This file should follow this naming standard.
This pull request also contains typo fixes and one grammatical correction ("hat die" -> "folgt dem" in line 16).

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

Thanks for taking the time to contribute this localization pull request. However, we are not able to accept contributions to this historical reference repository at this time.


I don't get the itteration/epoch offset

While trying to implement tqdm for training, I couldn't figure out why resuming a training needs an offset in epoch-iterration count.
https://github.com/Mangio621/Mangio-RVC-Fork/blob/8223f4c72e8739682122d70e41429cca097b9a1f/train_nsf_sim_cache_sid_load_pretrain.py#L187
Why do we make an offset of one epoch for iterations? Don't we want to continue training on the last epoch instead of re training the last and then continuing?
It's also present in the upstream 🤔

After testing it seems to have 0 negative effect, and can be adjusted.


ASTScope: Remove "re-expansion" mechanism

The subset of the AST that participates in unqualified lookup should be effectively immutable. Delayed parsing can fill in members of nominal types and extensions, as well as function bodies, but since we lazily expand scopes, and the relevant getter methods on IterableDeclContext and AbstractFunctionBody trigger parsing, ASTScope should always see a consistent view of the world.

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@davidungar I'm planning on switching the call to getMembers() to use getParsedMembers() instead. This evaluates a request which produces a once-allocated ArrayRef which is guaranteed to never change.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please test source compatibility


Update CONTRIBUTING.md

Successfully added the github contribution instructions.
closes #73

@PradnyaGaitonde change the file name to CONTRIBUTING_DESKTOP.md

@mdazfar2  Changed the file name.


The angularJS ignore option in the main readme.md does not work !

this instead does:
ignore: /ng-[a-z-]+/

@michahell: you should make a PR.

Doesn't seem that big a deal.


Missing Ligatures Operator Mono SSm Light

I think there are some ligatures that are missing from the Light variant
Operator Mono SSm Book

Operator Mono SSm Light

@hhquerybuilder I compiled a full list of missing ligatures and opened an issue to track their inclusion.
See #102

Fixed in v2.2.4


Live presentation updates

Currently the slides are parsed at presentation start and edits of the file break the presentation.
It would be nice if we could have live updates (useful for screen extended sharing).
Another level to this would be to be able to modify the slides and for it to update the buffer (useful for duplicate screen sharing).

I agree, this would be nice!
I'm not sure how to implement something like it while keeping the code base small.
Suggestions welcome!


fix(grpc): forward grpc options to getInfo

Description:
Needed in conjunction with https://github.com/LN-Zap/node-lnd-grpc/pull/45
Motivation and Context:
Connection attempt not timing out if call to getInfo fails during the connection attempt.
How Has This Been Tested?
Manually
Types of changes:
Bug fix
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage remained the same at 20.132% when pulling 8dd29e64b0fc01135fdddf63cceb5336ca471e74 on mrfelton:fix/grpc-timeout into f5465cd5f593f2b524a9b66e346295be316bd0b4 on LN-Zap:master.


GCESysprep - WinRM HTTPS Listener configuration on Windows 10 2004 silently fails

Overview
On a "vanilla" Windows 10 Enterprise 2004 image, the instance_setup.ps1 script fails to configure the HTTPS listener for WinRM. The script does not produce an error, but when the GCESysprep has completed, the HTTPS listener has not been created.
Steps to reproduce

Prepare a VMware VM running Windows 10 Enterprise 2004
Apply all available Windows Updates
Install the Google Cloud SDK
Import the VM using the GCE Import Image tool
Use the image to create a VM on a sole-tenant node.
Connect to the GCE VM and run GCESysprep (no command-line switches)
Power on the VM after GCESysprep completes (or create an image and a new VM).
Observe the Serial port 1 output to confirm that no errors are reported and the "Setup of WinRM complete." message is logged
Connect to the instance via RDP (or non-HTTPS remote PowerShell) and run the following PowerShell command from an elevated prompt: Get-ChildItem -Path WSMan:\localhost\Listener
Note that the HTTPS listener is not present.

Proposed workaround
Running 'winrm quickconfig' prior to configuring the listener resolves the issue.
I inserted the following commands at line 134 of instance_setup.ps1 and confirmed that the HTTPS listener is successfully created:
winrm quickconfig -quiet -force

Thanks for reporting this issue. Since configuring winrm can take a few seconds, I think it's better to do this in the import process instead of in the first boot.
The PR to address this is https://github.com/GoogleCloudPlatform/compute-image-tools/pull/1455


Financial Expenses - Organizer Expenses Form

Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)
Administration
Describe the feature you'd like to request
We need a form for the organizers to be create an expense which has the following schema:

Type* - hardcoded type of the expense synced with the financial team with an option for "Others" for non-standard types
Date* - date of the expense
Amount* - amount of the expense
Currency* - currency of the expense
Description - description of what that expense consists of
Files* - .pdf, .jpg, .png files (should we allow other types?) which can be uploaded as proof of the expense (maybe we should have 1 of them be mandatory)

Describe the solution you'd like
Create a form on a new page which allows creation, deletion, edit of the expense explained in the first section.
There needs to be a way to indicate whether the expense has been Declined and you are resubmitting, or you are submitting for the first time. Maybe the button for submit should change text based on the action you are doing:
Create - Send for approval
Edit - Send revision
Describe alternatives you've considered
No response

Current form:

I believe we can close this now.


I wish LiveShare Audio would remember my preferred microphone between sessions.

My particular setup is a MacBook Pro with an external monitor and webcam connected.  I prefer using the webcam's microphone in this setup since my laptop lid is closed.
As it works now, each time I start a new LiveShare session with an audio call, I have to manually switch the microphone from the built-in one to the webcam one every time.  I'd prefer it if it remembered that preference between sessions (assuming that microphone is still available).
(Of course it doesn't really matter at the moment because I'm suffering from #3254)

@fubaduba FYI - a feature request for audio feature.

We just released an update to the audio extension (v0.1.91) to the VS Code Marketplace that should address this issue and #3254. I'm going to close this and related items as fixed. Thanks for all your help!


[CI check installers] MSI installer check fails

This appears to be caused by azd.exe being in use at the time of the uninstall and the uninstall process hangs as a result.


Itemvalue misc fixes

I told myself I should stop making PR past midnight but here's one.
this is #101 but the diff work this time
og. lowercase commit was split into #103
includes multiple small fixes to ItemValue functionality:
b21f576 Renamed world.item_values_cache to world.itemvalue_rule_cache to stop potential confusion with world.item_values
88854ef Split/changed the force reset parameter of the cache of get_items_with_value to be a skip instead. Mainly so it work more like the ItemValue rule function. I made some helper.py functions to replace the reset usage
5150bbc Made both datavalidation of ItemValue (prefill and assert) only check for region with locations in it and their parents using some recursion tech
to explain the how/why of 5150bbc
my fix for https://discord.com/channels/1097532591650910289/1307802587839594617
WHY:
I could easily add a check to only test for region with locations but its still possible for a region without to be logically required since parent region can be empty
HOW:
it work basicaly the same for the PreFill test and the Assert one
the only difference is the way to find the parents

Assert: Since we only have the basic json I build a dict(child,list(Parent)) that way I can do the recursion bellow
Prefill: I could probably also use the json but I decided to use the entrances since multiworld did it for me anyway

in both case:

it check every location for an ItemValue requirement and if it does add the region to a list
since a region can be empty but still be a parent of any of the region on the "has ItemValue Loc", Check recursively the parent of the region in the "has ItemValue Loc" for a ItemValue requirement.

if it does add said region to the list
if it doesnt skip it
in both case add the region to a "already checked" list so its skipped in future recursion

once all the region with Used ItemValue are identified check if we have the Item for those values.

I was waiting for some ItemValue bug report before undrafting this PR but it seems that report wont come so ill mark this as ready


[Bug]: invalid openapi output running from github actions on ubuntu-latest

Describe the bug
When running the tsp compiler from github actions it produced an invalid openapi file. When I try to parse that schema in to https://editor.swagger.io/ it gives me compile erros.
I am trying to compare a typespec generated openapi file with my dotnet project's openapi file. Using json2yaml and openapi-diff. When parsing to openapi-diff I get a parse error. Also errors are occuring on the editor.swagger.io.
Then I started comparing the output files from the github actions container (running the action locally with act) and also the output from running it from windows.
Below is from my scenario, but in the reproduction section I show the issue with the different output.
All code is here: https://github.com/royberris/TypeSpec.NET
You can see the pipeline failing: https://github.com/royberris/TypeSpec.NET/actions/runs/9138378149
Reproduction
Workflow:
jobs:
  compare-openapi:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout repository
      uses: actions/checkout@v3

    - name: Setup Node.js
      uses: actions/setup-node@v3
      with:
        node-version: '20'

    - name: Install TypeSpec CLI
      run: npm install -g @typespec/compiler

   - name: NPM install
      run: |
        cd typespec
        npm install

   - name: Generate TypeSpec OpenAPI spec
      run: |
        tsp compile typespec/main.tsp

The main.tsp
import "@typespec/http";
import "@typespec/rest";
import "@typespec/openapi3";
import "@typespec/versioning";

using TypeSpec.Http;
using TypeSpec.Versioning;

@service({
  title: "Weather API",
})
@route("/api/weather")
@versioned(Versions)
namespace Weather {
    enum Versions {
        "v1"
    }

    model WeatherResult {
        name: string;
        givenDate?: plainDate;
    }

    @get
    @route("/weather")
    op getWeather(@query location: string, @query date?: plainDate): {
        @statusCode statusCode: 200;
        @body result: WeatherResult;
    };
}

The config
emit:
  - "@typespec/openapi3"

The output running TypeSpec from a windows environment:
openapi: 3.0.0
info:
  title: Weather API
  version: v1
tags: []
paths:
  /api/weather/weather:
    get:
      operationId: getWeather
      parameters:
        - name: location
          in: query
          required: true
          schema:
            type: string
        - name: date
          in: query
          required: false
          schema:
            type: string
            format: date
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WeatherResult'
components:
  schemas:
    Versions:
      type: string
      enum:
        - v1
    WeatherResult:
      type: object
      required:
        - name
      properties:
        name:
          type: string
        givenDate:
          type: string
          format: date

Running it from the github actions:
openapi: 3.0.0
info:
  title: Weather API
  version: v1
tags: []
paths:
  /api/weather/weather:
    get:
      operationId: getWeather
      parameters:
        - name: location
          in: query
          required: true
          schema:
            type: string
        - name: date
          in: query
          required: false
          schema:
            type: string
            format: date
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WeatherResult'
components:
  schemas:
    Versions:
      type: string
      enum:
        - v1
    WeatherResult:
      type: object
      required:
        - name
      properties:
        value:
          name:
            value:
              type: string
            kind: code
          givenDate:
            value:
              type: string
              format: date
            kind: code
        kind: code

Checklist

[X] Follow our Code of Conduct
[X] Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

@royberris the problem here seems to be it is loading the global compiler version you have instead of hte one defined in the typespec folder. I think as a workaround for now you can run tsp compile . from the typespec folder instead of above

@timotheeguerin that does seem to resolve the issue. But still unexpected that it outputs that WeatherResult object with the extra value property and the kind properties. Is this because when it is outside the typespec folder it doesn't know the configuration etc?

That is an issue because it is doing some instance of comparaison but loading a différent version of the class. Will keep it open because there is a few things we can do here.

Have the openapi emitter create its own emitter framework
Resolve the compiler to use from the main file


build.sh fails when running without clang

I tried installing the package without clang but the build.sh files fails. The reason being that the if condition in the build file is incorrect. I have made the required change and was able to install it successfully. I will send a pull request.

Hello,
I am having problem running build.sh too.  When I was installing the AdaGram I write "Pkg.build("AdaGram")" it gives me an error of "could not spawn,  `../build.sh: unknown error  while loading DIRECTORY, in expression starting line 1".
And I used your solution changed the build.sh but it still gives me same error.
Do you have any idea? Thank you.


Not working in fullscreen

Sorry if this has been covered elsewhere, but I can't get Huestacean to work in fullscreen on Netflix, Google Play, or Amazon Prime. Oddly enough it works for YouTube. I've tried both Chrome and Edge. Any advice?

They're probably activating whatever mode it is that blocks recording. If
they use HDCP that does it. I'm unaware of any tricks to get around this
but there probably are some. I want to see how OBS records the screen ...
On Fri, Apr 26, 2019, 17:40 stinyo7<EMAIL_ADDRESS>wrote:

Sorry if this has been covered elsewhere, but I can't get Huestacean to
work in fullscreen on Netflix, Google Play, or Amazon Prime. Oddly enough
it works for YouTube. I've tried both Chrome and Edge. Any advice?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BradyBrenot/huestacean/issues/124, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE2QWB6TIHHRYJTWFSQBRDPSNZDXANCNFSM4HI2QG4A
.

Might work if you turn off hardware acceleration in Chrome settings, but yeah, otherwise it's Windows' built-in HDCP protection stuff, I can't do anything about this.
It doesn't look like OBS can record in this situation either, regardless of the method used to hook the window. At best the browser window and the video controls all show up, but the video itself is still black. At least this is the case for me with Edge; with Chrome, I can still use Huestacean and OBS, but it doesn't go above 1080p on Netflix, I assume it's not using hardware acceleration like Edge / the Windows 10 app do.


Add trace stress test suit

Add tracee stress test suite and fix several flaws found by the suite:

Create a deep copy of the tag family map data.
Decrease snapshot references in the get element query function.

Please fix CI.

Codecov Report
Attention: Patch coverage is 66.66667% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 47.66%.  Consider uploading reports for the commit 1129c98 to get more accurate results

Files
Patch %
Lines

banyand/stream/tstable.go
0.00%
6 Missing :warning:

banyand/stream/part.go
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #422      +/-   ##
==========================================
- Coverage   48.07%   47.66%   -0.42%
==========================================
  Files         175      175
  Lines       21646    21646
==========================================
- Hits        10407    10317      -90
- Misses      10348    10457     +109
+ Partials      891      872      -19

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


feature request: switching versions of clips

For reviewing stuff, it's always great to compare different versions of a shot or render. It would be cool if DJV had a feature/hotkey to swap the current clip with another "version".
Now, this wish could open a can of worms because why stop at just switching versions. Why not do an A/B compare with all bells and whistles (like RV) multi-track compositing (like pdplayer) and so on...
But for my daily use it would be enough to jump up and down a version, maybe using an overlay like the layer widget to directly select the version of the clip that is shown (The Foundry's Hiero player for example allows you to press "V" to pop up a list of alternative versions including their thumbnails).
There are probably just a hand full of common file naming conventions that people are using for different versions with "something_v01.#####.dpx" for sequences and "something_v01.mov" for quicktime movies probably being the most common ones. Most of the time I guess image sequences are stored in separate folders next to each other and the version number string (v01 or v001) is contained in each folder's name.

Hi, I like that idea, I definitely want A/B comparison and multi-track compositing at some point but this seems like a good interim solution. The naming is a bit tricky but I guess that could be solved with some regular expressions and reasonable defaults like your examples. Also some settings for how may folders to search.


[gui error report] SyntaxError: Unexpected end of JSON input: Error: open /Volumes/MPDE/.ip

Desktop: 0.37.0
OS: darwin 21.6.0 x64
Electron: 31.0.1
Chrome: 126.0.6478.36

SyntaxError: Unexpected end of JSON input: Error: open /Volumes/MPDE/.ipfs/config: no such file or directory
    at JSON.parse (<anonymous>)
    at Daemon._getConfig (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:368:21)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Daemon.init (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:158:9)
    at async getIpfsd (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/daemon.js:63:7)
    at async startDaemon (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/daemon.js:210:17)
    at async startIpfs (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/index.js:49:17)
    at async setupDaemon (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/index.js:116:3)
    at async Promise.all (index 1)
    at async run (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/index.js:68:5)

I had 0.35.0 on the machine which didn't work and had just installed (replaced the app in the app folder with the new one) and launched it for the first time.  I have received this error after clicking restart (from the restart or report bug screen).

This appears to be the same issue as in 2836


Infowindow hint template rendered wrongly

STR

Create a new map for a point dataset
Enable pop-up (which style doesn't matter)
Click a point

Actual result:

Expected result:

A popup with some hint text

@matallo didn't find any existing issues so not sure if it's a known or not, if there is one feel free to close it.
Looks like a typical double-escaping done somewhere.

Taking care of it -> https://github.com/CartoDB/cartodb/pull/9201


WIP: raise ValueError if param.depends is used without arguments or without defining dependencies

To raise an error in these cases where the depends decorator is used either without arguments or without providing any dependencies (same on methods on Parameterized classes).
@param.depends
def foo():
    pass

# ValueError: The depends decorator on the callable 'foo' cannot be used without arguments.

@param.depends()
def foo():
    pass

# ValueError: The depends decorator on the callable 'foo' require dependencies to be defined.

WIP because as such the following would raise an error (since internally Panel uses the depends decorator when it binds a callable) while the approach retained is to warn in this case (https://github.com/holoviz/panel/pull/3545).
import panel

def foo(val):
    return val

pn.panel(pn.bind(foo, val='bob'))

Emitting a warning instead of raising an error when no dependencies are defined may be a better idea (that Panel could silence).

Codecov Report

Merging #631 (5877097) into master (d960230) will decrease coverage by 0.44%.
The diff coverage is 88.09%.

@@            Coverage Diff             @@
##           master     #631      +/-   ##
==========================================
- Coverage   82.91%   82.47%   -0.45%
==========================================
  Files           5        5
  Lines        3073     3001      -72
==========================================
- Hits         2548     2475      -73
- Misses        525      526       +1

Impacted Files
Coverage Δ

param/parameterized.py
82.80% <88.09%> (-0.53%)
:arrow_down:

param/serializer.py
86.48% <0.00%> (-0.48%)
:arrow_down:

numbergen/__init__.py
80.38% <0.00%> (-0.33%)
:arrow_down:

param/_async.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

I don't think this is correct, @param.depends() is documented and the behavior is well defined in the user guide:

Conversely, if you want to declare that a given method does not depend on any parameters at all, you can use @param.depends().

So I'm perfectly happy to disallow param.depends without calling it but we should not disallow param.depends().

I'm not sure what the interaction with Panel is, but I agree with @philippjfr that depends() is not an error but depends is.

I no longer see much value in the changes I made in this PR. As stated above@param.depends() is valid. @param.depends could either raise an error or be accepted and made equivalent to @param.depends(). As I don't want to decide that now and this is definitely super low priority, I'm just going to close this. Let's revisit when this comes up again, if ever!


Uploading data to sharedrive

Uploading data to sharedrive instead of a test database.

Previously the data folder was connected to sharedrive. But it was used Indrajit's Unikey. I tried to use my unikey to connect the share drive. The issue is when the server reboot each time, we have to re-connect the share drive by entering the unikey password manually. Grieve lab also had this issue, but they have a special account for the server, and they saved the unikey and password into the server, so the server could auto login every time. I think we may also need an account for the server to connect the RDS.


[RFC] Ascon Comportable IP Spec

Description
TL;DR
This issue is to track  the Google Doc Ascon Comportable IP Spec. The TC approved the RFC on March 21, 2023.
Overview
This document specifies the Ascon hardware IP functionality. Ascon is a sponge-based, single pass, online Authenticated Encryption Scheme (that can also be used for hashing). It was selected by NIST as the winner of the NIST lightweight cryptography competition and is soon to be standardized.
Features
The Ascon units supports the following features:

Authenticated encryption/decryption using either Ascon-128 (64 bit block size, 6 rounds per block update) or Ascon-128a (128 bit block size, 8 rounds per block update), whichever variant is standardized by NIST, with a key and tag size of 128 bit, which leads to 128 bit security, and a state size of 320 bits.
Support for Hashing might be implemented at a later time
First-order masking of the cipher core using domain-oriented masking (DOM) to deter side-channel analysis (SCA) is planned for the final version.
The latency of the Ascon permutation per 64/128 bit block is 6/8 clock cycles (unmasked) and presumably 12/16 clock cycles (DOM) for Ascon-128/Ascon-128a. Overall, 1 cycle is needed to absorb the data, 6/8 cycles are needed for the permutation and again 1 cycle to extract the output. However, the extraction and absorption are done simultaneously. Thus, in total, for long messages, the latency between a corresponding plaintext-ciphertext block is 1 cycle, and the latency between two consecutive ciphertext/plaintext blocks is 7/9 cycles; assuming large input sizes such that initialization and tag computation are negligible.
TBD. Automatic as well as software-initiated reseeding of internal pseudo-random number generators (PRNGs).
Countermeasures for deterring fault injection (FI) on the control path (for more details see Security Hardening).
Register-based data and control interface.
System key manager interface for optional key sideload to not expose key material to the processor and other hosts attached to the system bus interconnect.

This Ascon unit targets medium performance (~1 clock cycle per round for the unmasked implementation). High-speed, multiple rounds per clock cycles for high-bandwidth data streaming is not required.
ToDos

[ ] File Skeleton PR
[ ] Convert RFC into Markdown

Duplicate https://github.com/lowRISC/opentitan/issues/22178


service.js in src folder is different from the Service in the bundled versions (resource folder)

Looks like these are out of sync. The version of the service being used in the resource folder has an entirely different version of vcRecaptchaService than the one defined in src/service.js, and does not expose the vcRecaptchaServiceProvider described in the documentation.

It sounds like you are pulling from master, which has had changes made to it since the last release. You should use the release versions unless you need something that has not been released (such as the service provider you mention). In the case you need a feature not yet released, you'll have to built a release version locally using grunt.

The release was done. Reopen if this is still an issue.

Having an issue with bower,
$ bower install angular-recaptcha --save
bower cached        git://github.com/VividCortex/angular-recaptcha.git#3.0.0
bower validate      3.0.0 against git://github.com/VividCortex/angular-recaptcha.git#3.0.0

my bower.json
"angular-recaptcha": "^3.0.0",

your bower.json
"name": "angular-recaptcha",
"version": "2.5.0",

Trying to use the service provider, but it's methods don't exist.

Hey @agkunz,
Thanks for reporting this.
I think i fixed it. Could you please try again and let me know?

Tried in my project, didn't see an immediate change.
Tried a blank project
$ mkdir test; cd test;
$ npm init; spam enter;
$ bower init; spam enter;
$ bower install angular-recaptcha --save;

Still no difference.

That's probably doing it's thing. Could you please try bower cache clean ?

Great, I've got the right version now.
Unless you did something else, I'll just assume it took a few minutes for the registry to update.
Thanks for your prompt response!

Awesome! Thank you for bringing this up to us! :beer:

Hey, me again.
Yesterday, I took the new version number at face value.
Coming back to it today, I notice the service provider methods still aren't available.
The date in the script itself shows 2016-02-18, which is the same as the 2.5.0 release.
I downloaded the release package and the script is identical.
Am I missing something?

Hey!
I guess master wasn't built then after the last merge. I just built and bumped a patch release. That should fix it.

Cool, appears to be working now.  Thanks again!

don't forget to update the download link in README.md, it still points to 3.0.0

Done. Thanks @knigal


etag in appinsight could not be deserialized

Bicep version
run bicep --version via the Bicep CLI, az bicep version via the AZ CLI or via VS code by navigating to the extensions tab and searching for Bicep
az bicep version
Bicep CLI version 0.5.6 (5f2f88f0f0)
Describe the bug
A clear and concise description of what the bug is vs what you expected to happen
In Microsoft.Insights/components resource reference below, etag property (It is available in 2020-02-02 api version) with value '*'  is added into appInsigts object, but encountered a validation error with 'etag' not member of type 'TemplateResource'
resource appInsights 'Microsoft.Insights/components@2020-02-02' = {
    name: ...
    location: ...
    properties: ...
    kind: 'other'
    etag: '*'
}

etag member not found
The request content was invalid and could not be deserialized: 'Could not find member 'etag' on object of type 'TemplateResource'. Path 'properties.template.resources[1].etag', line 1, position 1691.'

To Reproduce
Steps to reproduce the behavior:
Additional context
Add any other context about the problem here.

What behavior are you looking for from this property? I think the property is incorrectly marked in swagger. It should be a read-only property.

Thanks @alex-frankel for looking into it. I encountered pre-condition error in provisioning app insight resource, that error looks like bumping up from https://aka.ms/CosmosDB/sql/errors/precondition-failed, thus I attempted to set etag to overcome the error, and then hit this error


'FAR-HO/tests/check forward.ipynb' is not working!

When I run this notebook I get the following error:
First I am told that the param lambda is not even connected with the model, which doe not make any sense.
Then it fails at the assertion a t line 113 in file utils.py
Please help, and it would be really helpful, if you could also provide an example notebook with ForwardHG for MNIST (both) with and without online learning ...
Thanks in advance ...
Habib
//----------------------------------------------------------------------------------------------------------
Hyperparameter <tf.Variable 'lambda_components/0:0' shape=() dtype=float32_ref> is detached from this optimization dynamics.

AssertionError                            Traceback (most recent call last)
 in ()
----> 1 ss, farho, cost, oo = _test(far.ForwardHG)
2
3 tf.global_variables_initializer().run()
4
5 # execution with gradient descent! (looks ol)
 in _test(method)
25     optim_oo = tf.train.AdamOptimizer(.01)
26     farho = far.HyperOptimizer(hypergradient=method())
---> 27     farho.minimize(oo, optim_oo, cost, io_optim)
28     return ss, farho, cost, oo
/volume1/scratch/r0605927/backMeUpPlz/lib/python2.7/site-packages/far_ho/hyper_parameters.pyc in minimize(self, outer_objective, outer_objective_optimizer, inner_objective, inner_objective_optimizer, hyper_list, var_list, init_dynamics_dict, global_step, aggregation_fn, process_fn)
132         """
133         optim_dict = self.inner_problem(inner_objective, inner_objective_optimizer, var_list, init_dynamics_dict)
--> 134         self.outer_problem(outer_objective, optim_dict, outer_objective_optimizer, hyper_list, global_step)
135         return self.finalize(aggregation_fn=aggregation_fn, process_fn=process_fn)
136
/volume1/scratch/r0605927/backMeUpPlz/lib/python2.7/site-packages/far_ho/hyper_parameters.pyc in outer_problem(self, outer_objective, optim_dict, outer_objective_optimizer, hyper_list, global_step)
117         :return: itself
118         """
--> 119         hyper_list = self._hypergradient.compute_gradients(outer_objective, optim_dict, hyper_list=hyper_list)
120         self._h_optim_dict[outer_objective_optimizer].update(hyper_list)
121         self._global_step = global_step
/volume1/scratch/r0605927/backMeUpPlz/lib/python2.7/site-packages/far_ho/hyper_gradients.pyc in compute_gradients(self, outer_objective, optimizer_dict, hyper_list)
343                 # d_E_T = dot(vectorize_all(d_oo_d_state), vectorize_all(zs))
344                 d_E_T = [dot(d_oo_d_s, z) for d_oo_d_s, z in zip(d_oo_d_state, zs)
--> 345                          if d_oo_d_s is not None and z is not None]
346                 hg = maybe_add(tf.reduce_sum(d_E_T), d_oo_d_hyp)  # this is right... the error is not here!
347                 # hg = maybe_add(d_E_T, d_oo_d_hyp)
/volume1/scratch/r0605927/backMeUpPlz/lib/python2.7/site-packages/far_ho/utils.pyc in dot(a, b, name)
111     Dot product between vectors a and b with optional name
112     """
--> 113     assert a.shape.ndims == 1, '{} must be a vector'.format(a)
114     assert b.shape.ndims == 1, '{} must be a vector'.format(b)
115     with tf.name_scope(name, 'Dot', [a, b]):
AssertionError: Tensor("Mean_1_1/gradients/mul_5_grad/Reshape:0", shape=(2, 3), dtype=float32) must be a vector

Hi habibrk,
Yes you're right.  Let me know!
For the examples you're right as well. As soon as I can I'll add some with ForwardHG and Real-Time HO...
I'll keep the issue open.

@lucfra it seems to work now, thanks again.
Yes, having ForwardHG and RTHO for MNIST would be awesome, looking forward to them.

Hi, after quite a long time, I've uploaded a notebook that contains a simple experiment with RTHO, that I've recently done for AutoML workshop at ICML 2018.
Here it is!
If you're still interested and have any questions feel free to write!
Cheers,
Luca


Preparation of meeting and guide for creating of quiz questions

Scope of the meeting has to be proposed and time of it is needed.

02.08 (Wednesday) 18:00 - meet