Unable to open Windows Terminal any more

Windows Terminal version
1.19.10302.0
Windows build number
10.0.22631.3155
Other Software
No response
Steps to reproduce
I'm getting a similar issue as #16730 .  I don't have macType.  I just click on terminal from the start menu and nothing happens.  The dialog doesn't even flash up,  and nothing in the event log.
Expected Behavior
Should open
Actual Behavior
The odd thing is that if I open Powershell (x64) it will open.  But if I try to open a new tab, it crashes with this:
Faulting application name: WindowsTerminal.exe, version: 1.19.2401.30002, time stamp: 0x65b9ada4
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.22621.3155, time stamp: 0xa0b6eeba
Exception code: 0xc000027b
Fault offset: 0x0000000000873530
Faulting process id: 0x0x71E8
Faulting application start time: 0x0x1DA65063E2CFEFC
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.19.10302.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report Id: 49a8f447-eb8c-4473-94b1-5c94f3088e53
Faulting package full name: Microsoft.WindowsTerminal_1.19.10302.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

Btw I already tried repairing and uninstalling/re-installing.

Thanks for filing. Could you capture a trace using Feedback Hub? This'll help us look into the issue further.
/feedback

<bot hat>
Hi there!Can you please send us feedback with the Feedback Hub with this issue? Make sure to click the "Start recording" button, then reproduce the issue before submitting the feedback. Once it's submitted, paste the link here so we can more easily find your crash information on the back end?Thanks!

Captured on Feedback Hub

I am having the same issue on a fresh win 11. It was working on this computer with no issues before a bad GPU install wrecked everything and I was forced to do a full reinstall of win11. Now, the terminal won't open at all, even though I can open PowerShell and Command Prompt with no issues.

Captured on Feedback Hub

Thanks! Would you mind sharing the link so we could look at it?

Reinstall Terminal, try to turn off Settings-Rendering-Use the new text renderer("AtlasEngine) may help.

Reinstall Terminal, try to turn off Settings-Rendering-Use the new text renderer("AtlasEngine") may help.

@Samary1999 I already had renderer("AtlasEngine")  set.

Waiting for feedback.  Still an issue.

@cmarkwick365 When you filed feedback, you need to click this button:
https://user-images.githubusercontent.com/18221333/62478649-6de55400-b760-11e9-806e-5aab7e085a9f.png
And paste the link it generates here. Otherwise, it's impossible for us to find the feedback you filed. Thanks!

@zadjii-msft Here is the feedback link
https://aka.ms/AApeuqb

{
 "version": 7,
 "providerName": "Microsoft.Windows.Terminal.App",
 "hresult": "2147942402",
 "fileName": "C:\\__w\\1\\s\\src\\cascadia\\TerminalApp\\AppActionHandlers.cpp",
 "lineNumber": "459",
 "module": "TerminalApp.dll",
 "failureType": "2",
 "message": "",
 "threadId": "11248",
 "callContext": "",
 "originatingContextId": "0",
 "originatingContextName": "",
 "originatingContextMessage": "",
 "currentContextId": "0",
 "currentContextName": "",
 "currentContextMessage": ""
},
{
 "version": 7,
 "providerName": "Microsoft.Windows.Terminal.App",
 "hresult": "2147942402",
 "fileName": "C:\\__w\\1\\s\\src\\cascadia\\TerminalApp\\TabManagement.cpp",
 "lineNumber": "92",
 "module": "TerminalApp.dll",
 "failureType": "1",
 "message": "winrt::hresult_error: The system cannot find the file specified.",
 "threadId": "11248",
 "callContext": "",
 "originatingContextId": "0",
 "originatingContextName": "",
 "originatingContextMessage": "",
 "currentContextId": "0",
 "currentContextName": "",
 "currentContextMessage": ""
},

at the bottom of TerminalPage::_OpenNewTab
https://github.com/microsoft/terminal/blob/563b7312b62fd68596ccb4a66af6217852f77ed9/src/cascadia/TerminalApp/TabManagement.cpp#L92
{
 "version": 7,
 "providerName": "Microsoft.Windows.Terminal.Connection",
 "hresult": "2147942402",
 "fileName": "C:\\__w\\1\\s\\src\\inc\\til\\env.h",
 "lineNumber": "132",
 "module": "TerminalConnection.dll",
 "failureType": "1",
 "message": "",
 "threadId": "11248",
 "callContext": "",
 "originatingContextId": "0",
 "originatingContextName": "",
 "originatingContextMessage": "",
 "currentContextId": "0",
 "currentContextName": "",
 "currentContextMessage": ""
},
{
 "version": 7,
 "providerName": "Microsoft.Windows.Terminal.Connection",
 "hresult": "2147942402",
 "fileName": "",
 "lineNumber": "0",
 "module": "TerminalConnection.dll",
 "failureType": "1",
 "message": "C:\\__w\\1\\s\\src\\inc\\til\\env.h(150)\\TerminalConnection.dll!00007FFD4FBF9160: (caller: 00007FFD4FBE7049) Exception(1) tid(2bf0) 80070002 The system cannot find the file specified.\r\n",
 "threadId": "11248",
 "callContext": "",
 "originatingContextId": "0",
 "originatingContextName": "",
 "originatingContextMessage": "",
 "currentContextId": "0",
 "currentContextName": "",
 "currentContextMessage": ""
}

https://github.com/microsoft/terminal/blob/9acb15b626571f145c551cca93407954592e40bd/src/inc/til/env.h#L150
interesting...

Wild. Pretty sure this is around
https://github.com/microsoft/terminal/blob/9acb15b626571f145c551cca93407954592e40bd/src/inc/til/env.h#L423-L428
can you run conhost -- cmd from the Run dialog, then run set, and copy-paste the output here[^1]? Looks like there's some env var somewhere in there that's blowing up our env var loader/?
Alternatively, testing if this repros the same in 1.20 preview
[^1]: this may have some amount of PII in it

Specifically the dumps reference Terminal v1.18.3181.0. There was one last 1.18 servicing release, Terminal v1.18.10301.0, which had a couple additional fixes in it, but nothing that immediately stands out.

Weird, but okay 🤷 feedback hub is wack sometimes. The env vars might still be helpful.

Still waiting for a resolution.

Reinstall Terminal, try to turn off Settings-Rendering-Use the new text renderer("AtlasEngine") may help.

Not quite sure I'm seeing the exact same issue, but turning off "AtlasEngine" seems to help me... My WindowsTerminal has crashed frequently the last week or so, sometimes e.g. when doing git log but also when rescaling the window, creating crash dumps and logs quite similar to the original poster's crash log above.
I can't tell when the "AtlasEngine" was enabled by default, but I'm running 1.19.10573.0 and according to [https://devblogs.microsoft.com/commandline/windows-terminal-preview-1-20-release/] the "AtlasEngine" was enabled by default in the 1.20 preview release? Hence I should not have been affected by this, still I am (or at least was until now)...
I've not had a crash all day, since I disabled it. Before that, Windows Terminal had become useless and I had to run wsl.exe from the Command Prompt instead.

@mhjartstrom Thanks for the suggestion.  It did not make a difference.

Reinstall Terminal, try to turn off Settings-Rendering-Use the new text renderer("AtlasEngine") may help.重新安装终端，尝试关闭设置-渲染-使用新的文本渲染器（“AtlasEngine”）可能会有所帮助。

you save me a lot

Another idea:

Does running cmd from the Run dialog open Command Prompt in the Terminal?
Does wt -w 0 new-tab --inheritEnvironment work to open a new tab/?

@mhjartstrom @jmpecx The option to disable AtlasEngine will go away in the future. Could you please assist me in figuring out why it crashes? To do so, please enable AtlasEngine again and send me a crash dump. You can find my email address in my GitHub profile. Here's how to enable crash dumps: https://github.com/microsoft/terminal/wiki/Troubleshooting-Tips#capture-automatically

@lhecker Email sent with dump file/

@lhecker Email sent with dump file.

@mhjartstrom Thanks for the dump! Unfortunately I can't quite pinpoint the origin of the heap corruption. Would you be willing to help me further test this?
If so, one thing I'd like to test is whether Windows Terminal Canary crashes for you. You can install it here: https://aka.ms/terminal-canary-installer
After installing it, make sure it has imported all your settings from your regular Windows Terminal. (Otherwise open the settings file with Ctrl+Shift+, in both applications and copy it over.)

@lhecker OK, I've sent another crash dump for when using Windows Terminal Canary.

@lhecker resent dump file.  Canary had the same behavior.

@lhecker I take it that you noticed this in the dump I sent?
FAILURE_BUCKET_ID:  STOWED_EXCEPTION_XAML_TEXT_Class_not_registered_80040154_Microsoft.UI.Xaml.dll!winrt::hresult_error::hresult_error

@cmarkwick365 For others it's crashing due to a heap corruption, but your terminal is crashing in an entirely different place. I believe your system may be corrupted, because I can see:
*** WARNING: Check Image - Checksum mismatch - Dump: 0x12261cd, File: 0x1226255 - C:\Symbols\sym\Windows.UI.Xaml.dll\E6498AA71226000\Windows.UI.Xaml.dll

I would suggest checking your system with chkdsk, dism and sfc. For instance:
chkdsk C: /f
dism /Online /Cleanup-image /Restorehealth
sfc /scannow

If it is a corruption of Windows.UI.Xaml.dll, it may be necessary to reinstall Windows. I'm not 100% sure if it's a corruption though - I certainly haven't seen this warning before.

@mer30hamid @mhjartstrom I'll address you both in this comment, because I've asked both of you for dumps and both of you have heap corruptions.
Coincidentally, you also both use 8+ year old Intel Graphics drivers. Can you check if there's a newer driver available for you? You can find instructions on how to find the latest drivers here: https://www.intel.com/content/www/us/en/support/articles/000005629/graphics/processor-graphics.html
In theory it should be one of these 2 drivers: https://www.intel.com/content/www/us/en/search.html#sort=relevancy&f:@tabfilter=[Downloads]&f:@stm_10385_en=[Graphics,Processor Graphics,Intel® HD Graphics Family]&f:@operatingsystem_en=[Windows 11 Family*]
(I know I selected Windows 11 there, but I think this is fine. If you go to each of the driver's pages it'll say that it's compatible with Windows 10.)

@cmarkwick365 For others it's crashing due to a heap corruption, but your terminal is crashing in an entirely different place. I believe your system may be corrupted, because I can see:
*** WARNING: Check Image - Checksum mismatch - Dump: 0x12261cd, File: 0x1226255 - C:\Symbols\sym\Windows.UI.Xaml.dll\E6498AA71226000\Windows.UI.Xaml.dll

I would suggest checking your system with chkdsk, dism and sfc. For instance:
chkdsk C: /f
dism /Online /Cleanup-image /Restorehealth
sfc /scannow

If it is a corruption of Windows.UI.Xaml.dll, it may be necessary to reinstall Windows. I'm not 100% sure if it's a corruption though - I certainly haven't seen this warning before.
@mer30hamid @mhjartstrom I'll address you both in this comment, because I've asked both of you for dumps and both of you have heap corruptions.
Coincidentally, you also both use 8+ year old Intel Graphics drivers. Can you check if there's a newer driver available for you? You can find instructions on how to find the latest drivers here: https://www.intel.com/content/www/us/en/support/articles/000005629/graphics/processor-graphics.html
In theory it should be one of these 2 drivers: https://www.intel.com/content/www/us/en/search.html#sort=relevancy&f:@tabfilter=[Downloads]&f:@stm_10385_en=[Graphics,Processor%20Graphics,Intel%C2%AE%20HD%20Graphics%20Family]&f:@operatingsystem_en=[Windows%2011%20Family*] (I know I selected Windows 11 there, but I think this is fine. If you go to each of the driver's pages it'll say that it's compatible with Windows 10.)

I tried to update my intel graphic driver but no update available for it, I have dual graphic processor and switched to NVIDIA and problem is gone!

@lhecker There is no newer Intel graphics card driver as far as I can tell. But it's working splendidly without the AtlasEngine, so I take it that this is caused by something that you do, not that Intel does?

It's unfortunate to hear that the newer drivers don't work for you! I was hoping you two would be using a 6th gen Intel CPU or newer, because then you could use the 30.* series drivers that I've linked above.

But it's working splendidly without the AtlasEngine, so I take it that this is caused by something that you do, not that Intel does?

Graphics drivers run in user-mode nowadays, within each process (within WindowsTerminal.exe). If the driver has a bug then this can cause the application to crash. Normally, I wouldn't assume that it's a driver bug, but given that @mer30hamid can resolve this issue by simply switching to his Nvidia GPU, it makes me very, very suspicious of your Intel GPU drivers. AtlasEngine has no vendor-specific code, so no matter whether you use your Intel or any other GPU, the exact same code with the exact same inputs should be running. If it's crashing with one GPU driver but not the other then this is somewhat suspicious.
The reason it works when AtlasEngine is disabled is because the older text renderer is based on Direct2D which uses older and simpler graphics APIs. However, AtlasEngine has an internal mode to use Direct2D as well, which is currently only activated when it runs on very old GPUs.
So my idea to resolve your issue is to simply add a setting to Windows Terminal that forces it to use Direct2D for rendering. @mhjartstrom If you want to help test my idea can you try running these commands?
d3dconfig apps --add WindowsTerminal.exe
d3dconfig device feature-level-limit=9_3

Afterwards, restart Windows Terminal. Does it still crash then?
When you're done with testing I would recommend running
d3dconfig --reset --confirm

and disabling AtlasEngine again.

can you try running these commands?
d3dconfig apps --add WindowsTerminal.exe
d3dconfig device feature-level-limit=9_3

Yes!

Afterwards, restart Windows Terminal. Does it still crash then?

No ! no crash anymore even I enabled the "AtlasEngine" option
After running this command: d3dconfig --reset --confirm windows terminal crashed again by resizing, so I disabled "AtlasEngine" again.

... @mhjartstrom If you want to help test my idea can you try running these commands?
d3dconfig apps --add WindowsTerminal.exe
d3dconfig device feature-level-limit=9_3

Afterwards, restart Windows Terminal. Does it still crash then?

I would very much like to help out, as I'm eager to have this issue resolved, but now I'm on vacation two weeks starting today... I'll be sure to try this out as soon as I'm back - if you still want me to, or are you on a deadline for this?

Windows Terminal started working again for me again.  Whatever was in the latest release must have fixed it.

Reinstall Terminal, try to turn off Settings-Rendering-Use the new text renderer("AtlasEngine") may help.

This worked. I opened Windows Terminal in Admin mode and changed the settings. It worked. Thanks!

Reinstall Terminal, try to turn off Settings-Rendering-Use the new text renderer("AtlasEngine") may help.

This worked. I opened Windows Terminal in Admin mode and changed the settings. It worked. Thanks!

That wasn't the issue.  It resolved itself after an update.

Many of you are probably using MacType which had a bug that made us crash (to be clear, it's not a bug in Windows Terminal). Since this comes up relatively often, we have recently added some code to detect the outdated MacType versions here: #17369


Refactor + minor fixes + tests

Pull Request Test Coverage Report for Build 49

20 of 20 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+4.4%) to 82.041%

Totals

Change from base Build 48:
4.4%

Covered Lines:
402

Relevant Lines:
490

💛  - Coveralls


CFE: No error message when using nonfunction type aliases with previous language versions

The following code is erroneous, since it attempts to use the nonfunction type alias feature with a previous language version.  The CFE reports no error for this code currently.
// @dart = 2.12
typedef A = int;
void main() {}

cc @johnniwinther @stefantsov @eernstg

I don't think this is exclusive to the nonfunction type aliases experiment, i.e. we currently don't enforce that unreleased experiments are only supported in the current sdk version.

Assigning to @johnniwinther, please reassign as you see fit

we currently don't enforce that unreleased experiments are only supported in the current sdk version.

Note that at least in this case I don't think this has to do with it being an unreleased experiment.  With this cl which enables the experiment by default, if I run the following program (without specifying any experiment flags):
// @dart=2.6

typedef A = int;

void main() {
  A? a;
}

I get the following output:
../../../tmp/test.dart:6:4: Error: Null safety features are disabled for this library.
Try removing the `@dart=` annotation or setting the language version to 2.12 or higher.
  A? a;
   ^
../../../tmp/test.dart:1:1: Context: This is the annotation that opts out this library from null safety features.
// @dart=2.6
^^^^^^^^^^^^

The CFE is correctly rejecting the use of nullability features in a Dart 2.6 file, but is allowing nonfunction type aliases to be used.

Created https://dart-review.googlesource.com/c/sdk/+/193480


Turn off the magic

Magic is usually not a good idea. Here. I've just added a couple of columns and sorted by continent:

I did not ask for this aggregation, and it is confusing.
Let's never aggregate automatically, it's just confusing.l

Turned off by default with @katush's last PR #351. I close this here.


Sprint Planning #2

Sprint Planning
Week: 3
Tasks

icons? (https://fonts.google.com/icons)
max settings -> white
change reds used to a darker colour
gap between the big boxes
add the hero and footer in
Get the form working with java script
make it responsive
make the boxes have rounded corners
get rid of spaceship counter
change site favicon
add white border 1 px
big sections get drop shadows
add animations for header and calls to action

goal to have it done by end of thursday/start of friday

google slides - use template
slides planning done by sat
script done by sun/mon

Blockers

We are all very busy with the last week of school.

wooooooooooooooooooooooooooooooow

change reds used to a darker colour - done
the gap between the big boxes -done
make the boxes have rounded corners -done
get rid of the spaceship counter - done
add the hero and footer in -done
big sections get drop shadows - done
Done picking icons for services - just need to add them in

icons have been added


Images on Homepage

Home page is bland right now. We should have photos of RCOS or from projects on the homepage.

This is a duplicate of #6


Plugins are not available for the new cellxgene version 1.0.1

@z5ouyang Upon upgrading cellxgene to version 1.0.1, the plugins are not available anymore!

I have the same issue. After installation there's a prompt to update to version 1.0.1 with pip install. After that the VIP panel disappeared. @interactivereport @z5ouyang any suggestions please?

After communicating with the developers, version 1.0.1 is not ready yet. So users should refrain from upgrading to v1.0.1 for now. Additionally it is advisable to use the Scanpy contained within the VIP virtual environment to generate the .h5ad files. I used a later version (v1.9.1) and cellxgene won't recognize the .h5ad file generated that way.

Thanks for the update @JialiUMassWengLab .

Same issue

Some datasets fail to launch on cellxgene-VIP using s3 urls as well. Although it has to with cellxgene version 0.16.8 and not VIP per se, but this issue has been fixed with cellxgene version >=1.0.1, so I'm curious if there are any plans to update VIP

If you run "config.sh" again in your conda env. will be using cellxgene v1.1.1


Russian translation

Signed-off-by: Bugo<EMAIL_ADDRESS>

Thank you Bugo, I added one more helptext in my last commit could you please include that as well ?
https://github.com/SychO9/smf-fa-board-icons/blob/6a771deddf9eecf2aa52befdb4355200f88f14c4/FA-BoardIcons.english.php#L39

Thank you Bugo, I added one more helptext in my last commit could you please include that as well ?
smf-fa-board-icons/FA-BoardIcons.english.php
Line 39 in 6a771de
$helptxt['fabi_board_icon'] = 'You can force use a single icon and color on all boards from this page';

Yes, updated :)


FL_ALIGN_INSIDE  is needed

FL_ALIGN_INSIDE  is needed
const Fl_Align FL_ALIGN_INSIDE = (Fl_Align)16

The issue is not clear. It's needed where?

It should be available in 0.10.15 tonight.

It should be available in 0.10.15 tonight.
Edit: It's now available as
Align::Inside

That's a very timely response .  thanks for your hard work!

Thank you


Calculations should only occur on the calculate question types

type
name
label
calculation

text
random
Random
4*6

At the moment, this is converted successfully to generate xml that contains this:
<bind calculate="4*6" nodeset="/demo_file/random" type="string"/>
This should not be the case, as calculations should only be valid in calculate question types.

This is a very valuable feature! It does have to be either combined with read_only or once(calc)/if(. = '', calc, '')/coalesce(., calc) so that the calculation doesn't overwrite user data. Perhaps there could be a warning added but we'd lose some really important functionality if this were blocked.
See https://docs.opendatakit.org/form-logic/#setting-default-responses

On additional thought, maybe once true dynamic defaults are in this is a good idea. It would break some existing forms that people would want to edit but the warning could tell them how to use the default column to achieve what they want.

I would second @lognaturel's statement on the value of calculations in non-calculate questions.  We have seen many, many customers use calculations in other field types; this provides visual feedback to the user of the calculation to confirm expectations (as examples, determining a re-inspection date for a feature, or overall hazard level based on inputs).  As pointed out, this also provides a way to supply an appropriate default value that can then be overwritten by the user if the calculated answer is not correct given field conditions.

We now explicitly consider calculation for any type a way to get typed calculates - #70.


pymbar and high or low potential energy values

Hi, everyone!
I'm having a problem with my pymbar potential energy input.
I am performing alchemical free energy calculations in LAMMPS. As outputs from the simulations, I have Gaussian potential energy values in each of the 11 lambda state values. The LAMMPS energy output is in the unit (kcal/mol x atoms).
When I am using the energy  in (kcal/mol x atoms) to perform the pymbar calculations, the results are consistent with the sampled values of the potential energy derivative. However, if I divide the potential energy value by the total number of atoms in the system (Nat = 2048), the pymbar doesn't seem to work properly. The reweighting performed is not consistent with the sampled values of the potential energy derivative. The free energy result is not proportional to that obtained in the first case.
Instead of dividing the potential energy value, I multiplied it by a large number (eg. 1000). In this case, the reweighting performed seems to be better. If I multiply by a very large number, there is an error in the Wn array.
In the simulations, the potential energy is a lambda function as follows
U(r, lambda) = f(lambda)U_gauss(r)
dU/dlambda = df/dlambdaU_gauss(r)
So, I think that multiplying or dividing the value of U_gauss(r) by some constant shouldn't affect the final result of the pymbar method, except for the proportionality with the applied constant. However, the presence of the constant is drastically changing the behavior of the variables obtained by reweighting as well as the free energy.
Could this problem be something related to memory allocation?
Do you think it's a problem with pymbar or my data?
The folder with the code and results:
free energy example.zip

Adding a constant from all of the energies should result in the same answers in the end, because energy differences are what matters.
Dividing by an arbitrary constant c won't give physical results, because that is the same as taking the probability to the 1/c'th power, which doesn't have any physical meaning.

Thanks for the replies, Prof. Chodera and Prof. shirts.
I'm using reduced potential units.
The output of LAMMPS is in [kcal/mol x atoms]. So I'm dividing the potential by RT in [kcal/mol]. But if I also divide the potential by the number of atoms in the system, pymbar doesn't work well. However, when I use the reduced potential in "atom" units, without dividing by the number of atoms, pymbar works fine. For me the last case should work and is the correct one.
Sorry for answering you so late. I had some problems during this period.
Thank you for your attention!


Question: Any plans to port soft bodies to GPU?

Pretty please? Because that would be awesome.

No plans for soft bodies.


:robot: Add jd-gui.vm

Automated PR from https://github.com/mandiant/VM-Packages/issues/533 :rocket:

Duplicate.


[BUG] Status code 500 for hybrid queries with preference=_local flag

What is the bug?
We are getting status 500 on open search dashboard when running hybrid queries with preference=_local and request_cache=true flags. The initial investigation shows the error occurs if the index has 1 shard.
How can one reproduce the bug?

Create one index with only one shard
Populate the data
Run hybrid query with the search pipeline and with preference=_local and request_cache=true flags

What is the expected behavior?
The query should return the matching result with status code 200
What is your host/environment?
AWS Managed OpenSearch 2.11
Do you have any screenshots?
Please find the screenshot attached
Do you have any additional context?

adding @navneet1v in loop, Navneet do we have any ETA for this issue?

@ksingh17i We are evaluating the effort. Will update the ETA soon.

Hi @vamshin, could you please help prioritizing this and let us know by when can we expect a fix for this.

@martin-gaievski lets close this issue as the feature is merged.


Make error dialog behavior consistent between OK button and close box (return to starting screen)

Fix #300
Also display string errors in the error dialog box

LGTM


Braque::Model should permit providing remote resource names

Closed https://github.com/dylanfareed/braque/commit/692667faec943aae79ee52a53477ae8ece805173


Move import-remote from module-federation/utilities

Moving the package from module-federation/utilities to the NX monorepo. Updated the package.json and project.json files and configured for building with TSC

This functionality is already available in utilities package exported as InjectScript function.
https://github.com/module-federation/nextjs-mf/blob/8f43e810da5bf67b2516efdb5de2f3dba7f068ad/packages/utilities/src/utils/common.ts#L72-L178
Perhaps you can rename or enhance this function to the needs of this package.

I didn't know this. IClosing the PR


datetime limited to full minutes only ?

The readme says: The date + time to show the notification, as a string in the format 'yyyy-mm-dd hh:mm'
And indeed I am not able to add seconds. Is there a reason for this limitation ? From the Apple docs I understand that seconds (even milliseconds) should be possible ?
I want to use local notifications for timing sub-minute events. So its important to have seconds support and I wonder if that is possible at all.

I've noticed that android (or at least some versions of android) display the notifications somewhere in the minute after it has been specified. It seems that when they are created at for example 14:00:15 and set to display at 14:30, they pop up at 14:30:15... reason unknown and not further investigated because it's fine for me.
Another reason why I think minute intervals are good enough is that you do not want to annoy your users to often... :-)
For your specific use case, does it make sense to send only a notification when the event is done with the duration of the event? It seems to me that you want to know the duration, when looking to your notifications periodically, so why don't you just keep a log file/table in your app? In case of a lot of events your notification screen will be spammed all over!
Anyway, feel free to update the code and send me a pull request such that if seconds are given, they are used and else ignored/default 00... I will then merge it in next release!
FYI: the reason why i chose to use text is that no conversion is needed when setting notification based on cloud-fetched json data, and that every date/time helper package should be able to export to a string.
(For pull requests: solution must work on both, iOS and android, or at least degrade gracefully without losing major functionality. I really hate packages that have ios and android specific configuration in it...)


Use the template in a thesis-like project

Let me point out that I'm quite new to the TeX world.
Is it possible to use such a template in a thesis-like project? More specifically I'd like to add a few things to the template:

Some kink of logo to the first page
A table of content that keeps track of the markdown headers (in a multi-markdown numbered pages scenario )
being able to add one (or more) footnotes to the pages

Thanks.

Some kind of logo to the first page

You can do that with the includegraphics command. Here is an example of how you could do it. The result looks like this.

A table of content that keeps track of the markdown headers (in a multi-markdown numbered pages scenario )

A table of content is included in the document by adding the option --toc when running pandoc. You could also add one manually somewhere in the document with \tableofcontents by writing raw LaTeX mixed in your markdown. Keep in mind that the latex-commands don't get converted when using some other output format like HTML or DOCX.

being able to add one (or more) footnotes to the pages

The syntax for footnotes in Pandoc markdown is like this:
Some sentence in your document.^[This is a footnote.] This is another sentence.

Thank you so much. That's perfect!


Slack login

How do I integrate Slack as a login option to WordPress with WSL?

By adding Slack.php under hybridauth/Hybrid/Providers/ ;-)

Great! Perhaps this request will make someone more pro on auth to create one? :-)

But, it seems quite easy to create one...

https://github.com/hybridauth/hybridauth/blob/master/additional-providers/hybridauth-slack/Providers/Slack.php could be used as a start, however WSL uses slightly modified version of Hybridauth.


OpenAPI spec is missing documentation for perspectives

Description
As discussed on Slack, the new feature that allows assigning values to perspectives, is not documented in the workspace API. In fact, I can't find any mention of perspectives at all.
Since https://github.com/Midnighter/structurizr-python/ is basically a thin client around the workspace API, it will be very interesting to have perspectives in the OpenAPI spec.
Steps to reproduce
Search https://github.com/structurizr/json/blob/master/structurizr.yaml for perspectives.
Screenshot
No response
Code sample
No response
Configuration
No response
Severity
Minor
Priority
I have no budget and there's no rush, please fix this for free
More information
No response

Thank you for your fast reaction. I'll work on reactivating the Python client in the new year to use this.


[Bug]: AssertionError in neuron_model_runner.py assert len(block_table) == 1

Your current environment
PyTorch version: 2.1.2+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.29.2
Libc version: glibc-2.35
Python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-1031-aws-x86_64-with-glibc2.35
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Address sizes:                   48 bits physical, 48 bits virtual
Byte Order:                      Little Endian
CPU(s):                          192
On-line CPU(s) list:             0-191
Vendor ID:                       AuthenticAMD
Model name:                      AMD EPYC 7R13 Processor
CPU family:                      25
Model:                           1
Thread(s) per core:              2
Core(s) per socket:              48
Socket(s):                       2
Stepping:                        1
BogoMIPS:                        5299.99
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch topoext perfctr_core invpcid_single ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr rdpru wbnoinvd arat npt nrip_save vaes vpclmulqdq rdpid
Hypervisor vendor:               KVM
Virtualization type:             full
L1d cache:                       3 MiB (96 instances)
L1i cache:                       3 MiB (96 instances)
L2 cache:                        48 MiB (96 instances)
L3 cache:                        384 MiB (12 instances)
NUMA node(s):                    4
NUMA node0 CPU(s):               0-23,96-119
NUMA node1 CPU(s):               24-47,120-143
NUMA node2 CPU(s):               48-71,144-167
NUMA node3 CPU(s):               72-95,168-191
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Not affected
Vulnerability Retbleed:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP always-on, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Versions of relevant libraries:
[pip3] numpy==1.25.2
[pip3] nvidia-nccl-cu12==2.18.1
[pip3] torch==2.1.2
[pip3] torch-neuronx==<IP_ADDRESS>.1.0
[pip3] torch-xla==2.1.2
[pip3] torchvision==0.16.2
[pip3] triton==2.1.0
[conda] Could not collectROCM Version: Could not collect
Neuron SDK Version: (0, 'instance-type: inf2.48xlarge\ninstance-id: i-0e6cfafa7d8d7bcfc\n+--------+--------+--------+-----------+---------+\n| NEURON | NEURON | NEURON | CONNECTED |   PCI   |\n| DEVICE | CORES  | MEMORY |  DEVICES  |   BDF   |\n+--------+--------+--------+-----------+---------+\n| 0      | 2      | 32 GB  | 11, 1     | 80:1e.0 |\n| 1      | 2      | 32 GB  | 0, 2      | 90:1e.0 |\n| 2      | 2      | 32 GB  | 1, 3      | 80:1d.0 |\n| 3      | 2      | 32 GB  | 2, 4      | 90:1f.0 |\n| 4      | 2      | 32 GB  | 3, 5      | 80:1f.0 |\n| 5      | 2      | 32 GB  | 4, 6      | 90:1d.0 |\n| 6      | 2      | 32 GB  | 5, 7      | 20:1e.0 |\n| 7      | 2      | 32 GB  | 6, 8      | 20:1f.0 |\n| 8      | 2      | 32 GB  | 7, 9      | 10:1e.0 |\n| 9      | 2      | 32 GB  | 8, 10     | 10:1f.0 |\n| 10     | 2      | 32 GB  | 9, 11     | 10:1d.0 |\n| 11     | 2      | 32 GB  | 10, 0     | 20:1d.0 |\n+--------+--------+--------+-----------+---------+', '')
vLLM Version: 0.4.1
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
Could not collect
🐛 Describe the bug
We tried to run tinyllama on inferentia and run into the follow problem
    |   File "/home/ubuntu/vllm/vllm/worker/neuron_model_runner.py", line 72, in _prepare_prompt
    |     assert len(block_table) == 1
    | AssertionError

To provide some additional info:
AWS Instance type: inf2.48xlarge
We followed the instructions in side of this:
https://docs.vllm.ai/en/latest/getting_started/neuron-installation.html
The offline inference provided in this works:
https://docs.vllm.ai/en/latest/getting_started/examples/offline_inference_neuron.html
However, when we try to run the OpenAI compatible server following: https://docs.vllm.ai/en/latest/serving/openai_compatible_server.html
With some adjustments to the command. The original command is here:
python -m vllm.entrypoints.openai.api_server --model TinyLlama/TinyLlama-1.1B-Chat-v1.0 --dtype auto --api-key api-key --max-num-seqs 8 --max-model-len 128 --block-size 128

This gives an error complaining about the --block-size and won't compile, saying that the only supportable block size is 8, 16 and 32, so we removed that:
python -m vllm.entrypoints.openai.api_server --model TinyLlama/TinyLlama-1.1B-Chat-v1.0 --dtype auto --api-key api-key --max-num-seqs 8

Now it compiles, but when we try to run an inference, it responds with Internal Server Error, and on the server, we see the above AssertionError.
Here's the full stack trace:
INFO:     <IP_ADDRESS>:60772 - "POST /v1/chat/completions HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
  + Exception Group Traceback (most recent call last):
  |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
  |     yield
  |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/middleware/base.py", line 190, in __call__
  |     async with anyio.create_task_group() as task_group:
  |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 678, in __aexit__
  |     raise BaseExceptionGroup(
  | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 411, in run_asgi
    |     result = await app(  # type: ignore[func-returns-value]
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 69, in __call__
    |     return await self.app(scope, receive, send)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__
    |     await super().__call__(scope, receive, send)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/applications.py", line 123, in __call__
    |     await self.middleware_stack(scope, receive, send)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__
    |     raise exc
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__
    |     await self.app(scope, receive, _send)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/middleware/base.py", line 189, in __call__
    |     with collapse_excgroups():
    |   File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    |     self.gen.throw(typ, value, traceback)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
    |     raise exc
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/middleware/base.py", line 191, in __call__
    |     response = await self.dispatch_func(request, call_next)
    |   File "/home/ubuntu/vllm/vllm/entrypoints/openai/api_server.py", line 142, in authentication
    |     return await call_next(request)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/middleware/base.py", line 165, in call_next
    |     raise app_exc
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/middleware/base.py", line 151, in coro
    |     await self.app(scope, receive_or_disconnect, send_no_error)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/middleware/cors.py", line 85, in __call__
    |     await self.app(scope, receive, send)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 65, in __call__
    |     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    |     raise exc
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    |     await app(scope, receive, sender)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/routing.py", line 756, in __call__
    |     await self.middleware_stack(scope, receive, send)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/routing.py", line 776, in app
    |     await route.handle(scope, receive, send)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/routing.py", line 297, in handle
    |     await self.app(scope, receive, send)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/routing.py", line 77, in app
    |     await wrap_app_handling_exceptions(app, request)(scope, receive, send)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    |     raise exc
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    |     await app(scope, receive, sender)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/starlette/routing.py", line 72, in app
    |     response = await func(request)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/fastapi/routing.py", line 278, in app
    |     raw_response = await run_endpoint_function(
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
    |     return await dependant.call(**values)
    |   File "/home/ubuntu/vllm/vllm/entrypoints/openai/api_server.py", line 94, in create_chat_completion
    |     generator = await openai_serving_chat.create_chat_completion(
    |   File "/home/ubuntu/vllm/vllm/entrypoints/openai/serving_chat.py", line 135, in create_chat_completion
    |     return await self.chat_completion_full_generator(
    |   File "/home/ubuntu/vllm/vllm/entrypoints/openai/serving_chat.py", line 298, in chat_completion_full_generator
    |     async for res in result_generator:
    |   File "/home/ubuntu/vllm/vllm/engine/async_llm_engine.py", line 663, in generate
    |     raise e
    |   File "/home/ubuntu/vllm/vllm/engine/async_llm_engine.py", line 657, in generate
    |     async for request_output in stream:
    |   File "/home/ubuntu/vllm/vllm/engine/async_llm_engine.py", line 78, in __anext__
    |     raise result
    |   File "/home/ubuntu/vllm/vllm/engine/async_llm_engine.py", line 39, in _raise_exception_on_finish
    |     task.result()
    |   File "/home/ubuntu/vllm/vllm/engine/async_llm_engine.py", line 498, in run_engine_loop
    |     has_requests_in_progress = await asyncio.wait_for(
    |   File "/usr/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
    |     return fut.result()
    |   File "/home/ubuntu/vllm/vllm/engine/async_llm_engine.py", line 472, in engine_step
    |     request_outputs = await self.engine.step_async()
    |   File "/home/ubuntu/vllm/vllm/engine/async_llm_engine.py", line 214, in step_async
    |     output = await self.model_executor.execute_model_async(
    |   File "/home/ubuntu/vllm/vllm/executor/neuron_executor.py", line 89, in execute_model_async
    |     output = await make_async(self.driver_worker.execute_model)(
    |   File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    |     result = self.fn(*self.args, **self.kwargs)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    |     return func(*args, **kwargs)
    |   File "/home/ubuntu/vllm/vllm/worker/neuron_worker.py", line 87, in execute_model
    |     output = self.model_runner.execute_model(seq_group_metadata_list)
    |   File "/opt/aws_neuronx_venv_pytorch_2_1/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    |     return func(*args, **kwargs)
    |   File "/home/ubuntu/vllm/vllm/worker/neuron_model_runner.py", line 176, in execute_model
    |     ) = self.prepare_input_tensors(seq_group_metadata_list)
    |   File "/home/ubuntu/vllm/vllm/worker/neuron_model_runner.py", line 152, in prepare_input_tensors
    |     prompt_lens) = self._prepare_prompt(seq_group_metadata_list)
    |   File "/home/ubuntu/vllm/vllm/worker/neuron_model_runner.py", line 72, in _prepare_prompt
    |     assert len(block_table) == 1
    | AssertionError
    +------------------------------------

@liangfu Saw that you wrote most of the code here for Neuron. Do you have any clue on this one?

same

This should be fixed by https://github.com/vllm-project/vllm/pull/7562 . Would you try the latest main branch?


replace potentially unsafe binary comparisons with logical ones

Scope & Purpose
Replace potentially unsafe binary VPack comparisons with logical comparisons

[x] Bug-Fix for a released version (did you remember to port this to all relevant release branches?)
[x] The behaviour change can only be verified via automatic tests

Testing & Verification
This change is already covered by existing tests, all agency & cluster tests.
https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5019/

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5025/

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5033/

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5037/

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5051/

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5064/


Using TLS options makes redis.connect() not resolve

Passing in options for lazyConenct: true into the Redis constructor means we need to call the redis.connect() method manually which is supposed to return a promise. If TLS params are included, the method hangs on the promise resolve.
Example code:
const Redis = require('ioredis');
const { readFileSync } = require('fs');

const redis = new Redis({
    host: 'example.com',
    port: 6379,
    password: 'somePass',
    lazyConnect: true,
    // If we cut out `tls` options, redis.connect() returns a promise.
    tls: {
        key: readFileSync('./private.pem'),
        cert: readFileSync('./certificate.crt')
    }
});

const start = async () => {
    try {
        console.log('connecting...');
        // redis.connect().then(() => console.log('really connected')); <--- Never gets there.
        // await redis.connect(); <--- This hangs
        redis.connect(); // <--- This is not a promise anymore, but will allow execution to continue and redis commands will work
        console.log('connected!');
    } catch (err) {
        console.error(err);
    }
};

(start)();

Closing. Need to await on redis.secureConnect()

Hi, thank you for pointing this out! This issue exists on v3.x and have been fixed on v4.x.

Just released v4.0.0. Closing this issue.


Fix dependency name in example

Very minor README change

We mention futures in alot of examples, the book, and also depend upon it in dev-deps of some packages. I think we should change all instances to futures-util at once if we want to do this. It should nearly just be a search and replace

Newer iterations of the README have a completely different example code that uses neither of the futures crates. Closing this stalled PR.


Chinese pronunciation needs improvement

你好，demo里面中文的音调感觉不太正常，早是三声，但是读不能读三声，是否有计划吧中文语调支持更完善一下？

updating base model for CN

Chinese base speaker added. Please see demo_part1.ipynb

Any audio sample?

Listened the new mp4 Chinese pronounce didn't get better

It's not in the video. It's in demo_part1.ipynb.

@Zengyi-Qin I can not run the code due to complciated env setup, does there any voice demo?

The env setup should be very basic and easy. What specific issue did you encounter?

Hi - I wonder if you have any follow-up questions. We will consider closing this issue if there's no follup-ups

inactive


Change DELETE action from "*" to "delete"

With token authentication, requiring the "*" action for DELETE requests
makes it impossible to administratively lock a repository against pushes
and pulls but still allow deletion.  This change adds a new "delete"
action for DELETE requests to make that possible.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "delete-action" git@github.com:nwt/distribution.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Just saw #2120.

I'm reopening this in case it's preferable to #2120.

Current coverage is 51.20% (diff: 100%)

Merging #2121 into master will decrease coverage by 10.02%

@@             master      #2121   diff @@
==========================================
  Files           129        129
  Lines         11416      11416
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6990       5846   -1144
- Misses         3535       4821   +1286
+ Partials        891        749    -142

Powered by Codecov. Last update 8e065ad...ccb839e

@nwt Need to confirm that * in a token appropriately matches delete.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "delete-action" git@github.com:nwt/distribution.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842353174928
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

@jlhawn PTAL

SGTM

LGTM

LGTM


[Feature Request | Extension Idea] CodeHintList Image thumbnails

Description
While traversing a CodeHintList menu of image files, a smaller rescaled version of that image file appears next to the menu item.
For example, using the tag below:
<img src=""
the menu will show up and you'll navigate to the filename of the image you have on disk. This extension will display a rescaled version of that image so that if you have long, non-descriptive filenames, you'll quickly determine which image you were looking for. This is also useful if you are working on a webpage in Brackets and you have a long list of image files. Searching by looking for an image would be easier than search by looking for a name.

@bpoleonjr Are you asking for something like a inline preview of the image as part of the hint menu?

+1 Great idea!


what definition of DarkSquare and GreenSquare?

back-link: ch04/index.html#keys-element

Need to look into this.


JSON_PRETTY_PRINT as default?

Should we serve problem details in json with JSON_PRETTY_PRINT flag? For debugging maybe it's useful, but in normal working it's add additional data to transfer.
My proposition is to enable this flag in debug mode or remove it in default settings.

@snapshotpl @weierophinney I've created PR #34 for it.

@snapshotpl can be closed in favor of #34

@samsonasik thanks! Looks perfect for me :+1:


Updates to news and careers

News
Seminar series for March
Visiting scientist appointment
Careers
Updated senior software engineer and senior bioinformatician
Added Technical Project Manager, Student Office Assistant and Student
Event Coordinator
Minor update to Research pilot projects

@philloooo For your review and merge.

:+1:


Use an LDO regulator for lower deep sleep power consumption

See: https://randomnerdtutorials.com/esp8266-voltage-regulator-lipo-and-li-ion-batteries/

Interesting experiment:
https://www.youtube.com/watch?v=IYuYTfO6iOs

Check the datasheet for using the internal LDO
http://www.advanced-monolithic.com/pdf/ds1117.pdf


Add Code of Conduct

Closes https://github.com/pydata/pandas/issues/11873
The bulk of it came from http://contributor-covenant.org/version/1/3/0/code_of_conduct.md
I took part of the section on reporting from https://swift.org/community/#code-of-conduct
I'm happy to be on the list of people to contact. I figured we could have a couple contributors and a couple community members. And just some policy to reaffirm that they're still OK with being contacted with reports every couple months or so.

Thanks, this is great. I'm happy to be on the CoC committee as needed

thanks Tom. I would volunteer as well.

1

I would gladly volunteer as well, but I think we have to limit ourselves a bit, and make the list not too long (3 people seems good to me)

It sounds like you'll have no shortage of volunteers, but if you want an "external member" or two in the mix then I'd be happy to serve as well.

lgtm

I would urge you to find a diverse CoC committee.

Let's return to this -- I can make some contacts outside the core committership. I think it would be great to have a diverse set of perspectives

Conclusion from the dev meeting was: "Text seems to be fine, just would like a diverse committee.
Titus Brown put me (Tom) in contact with a couple people who said they’d be interested in being on it, would post on the PR (haven’t yet)"
@TomAugspurger What remains is filling in those names I think (and asking if they want to do it)?

Through email @camillescott said she'd be interested, is that still the case? If not, feel free to ignore 😄
Also, @sarguido might have expressed interest? If I misread that conversation, again feel free to ignore.

Been travelling and whatnot, def still interested

@camillescott it would be great to have you on the committee.
@captainsafia would you be interested in helping with this?
From the other volunteers on the thread (would be great to have @njsmith if you're still up for it?), I think we can set a crew of 5 or so and have a quick consensus vote.

@wesm: Sure — happy to help!

cool!
Team: what do you all think about this for our inaugural pandas CoC committee:

Tom Augspurger @TomAugspurger
Camille Scott @camillescott
Safia Abdalla @captainsafia
Nathaniel Smith @njsmith
Joris van den Bossche @jorisvandenbossche

If anyone of you would not like to be on the committee, let me know. This includes 2 pandas core members and 3 members from the broader contributor base / community.
If you're all on board we can have a (lazy) consensus vote (leave your +1 if you agree) from the core team and close the vote in 72 hours or so.
Thanks!

+1
Thanks Safia, Camille, and Nathaniel.

On Jul 28, 2016, at 15:56, Wes McKinney<EMAIL_ADDRESS>wrote:
cool!
Team: what do you all think about this for our inaugural pandas CoC committee:
Tom Augspurger @TomAugspurger
Camille Scott @camillescott
Safia Abdalla @captainsafia
Nathaniel Smith @njsmith
Joris van den Bossche @jorisvandenbossche
If anyone of you would not like to be on the committee, let me know. This includes 2 pandas core members and 3 members from the broader contributor base / community.
If you're all on board we can have a (lazy) consensus vote (leave your +1 if you agree) from the core team and close the vote in 72 hours or so.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

+1 -- vote passes by lazy consensus =) I'll amend the governance documents to reflect the new CoC committee. Thank you everyone


no charts found for repo stable

No charts found from monocular after upgrading to 0.7.0, and it worked on 0.6.2
The log is found below:
2018/05/28 09:47:45 data.Charts AllFromRepo(stable) error (no charts found for repo stable
)
[negroni] 2018-05-28T09:47:45Z | 404 |   201.758µs | monocular.ddd.com | GET /v1/charts/stable
[negroni] 2018-05-28T09:47:45Z | 200 |   1.343836ms | monocular.ddd.com | GET /v1/repos
[negroni] 2018-05-28T09:47:45Z | 404 |   65.056µs | monocular.ddd.com | GET /auth/verify
but some charts can be found in monocular-api container:

seeing same error, it's weird, sometimes api won't kickoff downloading charts at all, and then it gives this error which makes sense, but sometimes it downloads everything but still complain this error.

ok, I will have a try once the fix is released.

still same thing.
2018/05/31 15:07:01 data.Charts AllFromRepo(stable) error (no charts found for repo stable
)
[negroni] 2018-05-31T15:07:04Z | 200 | 	 726.981µs | <IP_ADDRESS> | GET /v1/repos
[negroni] 2018-05-31T15:07:04Z | 404 | 	 363.24µs | <IP_ADDRESS> | GET /auth/verify
[negroni] 2018-05-31T15:07:04Z | 200 | 	 1.339554ms | <IP_ADDRESS> | GET /v1/repos
[negroni] 2018-05-31T15:07:04Z | 200 | 	 664.444µs | <IP_ADDRESS> | GET /v1/repos
[negroni] 2018-05-31T15:07:05Z | 404 | 	 80.322µs | <IP_ADDRESS> | GET /auth/verify
2018/05/31 15:07:05 data.Charts AllFromRepo(stable) error (no charts found for repo stable
)
[negroni] 2018-05-31T15:07:05Z | 404 | 	 811.863µs | <IP_ADDRESS> | GET /v1/charts/stable
[negroni] 2018-05-31T15:07:05Z | 404 | 	 77.244µs | <IP_ADDRESS> | GET /auth/verify
2018/05/31 15:07:05 data.Charts AllFromRepo(stable) error (no charts found for repo stable
)
[negroni] 2018-05-31T15:07:05Z | 404 | 	 219.409µs | <IP_ADDRESS> | GET /v1/charts/stable
[negroni] 2018-05-31T15:07:06Z | 200 | 	 1.061847ms | <IP_ADDRESS> | GET /v1/repos
[negroni] 2018-05-31T15:07:06Z | 404 | 	 88.524µs | <IP_ADDRESS> | GET /auth/verify
2018/05/31 15:07:06 data.Charts AllFromRepo(stable) error (no charts found for repo stable
)
query for charts returns 200 though, but not listing anything on GUI
[negroni] 2018-05-31T15:05:35Z | 200 | 	 6.141344ms | <IP_ADDRESS> | GET /v1/charts
stable folder contents
/cache/repo-data/stable#  ls
acs-engine-autoscaler/  coscale/                 gcloud-sqlproxy/       kapacitor/             mcrouter/                 nginx-ldapauth-proxy/    presto/                          rocketchat/             sumokube/
aerospike/              dask/                    gcp-night-king/        keel/                  mediawiki/                oauth2-proxy/            prometheus/                      sapho/                  sumologic-fluentd/
anchore-engine/         datadog/                 ghost/                 kibana/                memcached/                odoo/                    prometheus-cloudwatch-exporter/  schema-registry-ui/     superset/
artifactory/            dex/                     gocd/                  kong/                  metabase/                 opencart/                prometheus-mysql-exporter/       selenium/               sysdig/
artifactory-ha/         dmarc2logstash/          grafana/               kube2iam/              metallb/                  openebs/                 prometheus-node-exporter/        sematext-docker-agent/  tensorflow-notebook/
bitcoind/               docker-registry/         hackmd/                kube-ops-view/         minecraft/                openvpn/                 prometheus-postgres-exporter/    sensu/                  tensorflow-serving/
buildkite/              dokuwiki/                hadoop/                kubernetes-dashboard/  minio/                    orangehrm/               prometheus-pushgateway/          sentry/                 testlink/
burrow/                 drupal/                  heapster/              kube-slack/            mongodb/                  osclass/                 prometheus-rabbitmq-exporter/    seq/                    traefik/
centrifugo/             elastabot/               horovod/               kube-state-metrics/    mongodb-replicaset/       owncloud/                prometheus-redis-exporter/       signalfx-agent/         uchiwa/
cert-manager/           elastalert/              inbucket/              kubewatch/             moodle/                   pachyderm/               prometheus-to-sd/                sonarqube/              unbound/
chaoskube/              elasticsearch-exporter/  influxdb/              lamp/                  msoms/                    parse/                   quassel/                         sonatype-nexus/         verdaccio/
chartmuseum/            etcd-operator/           ipfs/                  linkerd/               mssql-linux/              percona/                 rabbitmq/                        spark/                  weave-cloud/
chronograf/             ethereum/                janusgraph/            locust/                mysql/                    percona-xtradb-cluster/  rabbitmq-ha/                     spartakus/              weave-scope/
cluster-autoscaler/     external-dns/            jasperreports/         luigi/                 namerd/                   phabricator/             redis/                           spinnaker/              wordpress/
cockroachdb/            factorio/                jenkins/               magento/               neo4j/                    phpbb/                   redis-ha/                        spotify-docker-gc/      zeppelin/
concourse/              filebeat/                joomla/                magic-namespace/       newrelic-infrastructure/  phpmyadmin/              redmine/                         stackdriver-exporter/   zetcd/
consul/                 fluent-bit/              k8s-spot-rescheduler/  mailhog/               nfs-server-provisioner/   postgresql/              rethinkdb/                       stolon/
coredns/                gcloud-endpoints/        kanister-operator/     mariadb/               nginx-ingress/            prestashop/              risk-advisor/                    suitecrm/

@prydonius seems 0.7.1 does not fix the issue either, it just returns {"data": null} by /v1/charts

Does the previous version of Monocular work fine? helm install monocular/monocular --version 0.5.2?

@prydonius helm install monocular/monocular --version 0.6.2 works fine

@samifruit514 any ideas, wondering if this might be related to some of your recent changes?

Our monocular (version 0.7.2) isn't downloading any chart at all. The api logs display the following error:
level=info msg="Using cache directory" path="/monocular/repo-data"
level=info msg="periodic job ran and returned error (error unmarshaling JSON: json: cannot unmarshal string into Go value of type map[string]interface {})"


tested on windows 11 & added settings icon

Files adjusted:
app.manifest
src/main.rs
I tested on Windows 11 Version 22H2 and added that to the app.manifest.
Here is a screenshot of how it looks on my screen:

For main.rs:
You can see the settings icon I added. I would like to get it along the bottom of the window like in TwinkleTray in a new row. We could add it to the top right to keep it in the text_box row.

I think the best way to create the bottom bar would be to put the main stackpanel into another grid.
A quick VisualStudio mockup:
<Grid>
    <Grid.RowDefinitions>
        <RowDefinition Height="*"/>
        <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
    <StackPanel Grid.Row="0" Padding="10" Spacing="8">
        <StackPanel>
            <StackPanel Orientation="Horizontal" Spacing="8" >
                <FontIcon FontFamily="Segoe Fluent Icons" Glyph="" FontWeight="ExtraBold" />
                <TextBlock Text="Monitor 1" FontSize="20"/>
            </StackPanel>
            <Grid ColumnSpacing="8">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="Auto"/>
                </Grid.ColumnDefinitions>
                <Slider Grid.Column="0" VerticalAlignment="Center"/>
                <TextBlock
                    Grid.Column="1"
                    Padding="10,0,10,0"
                    Text="50"
                    TextAlignment="Center"
                    FontSize="20"
                    FontWeight="Medium"
                    VerticalAlignment="Center"/>

            </Grid>

        </StackPanel>
        <StackPanel>
            <TextBlock>Monitor 1</TextBlock>
            <Slider/>
        </StackPanel>

    </StackPanel>
    <Grid Grid.Row="1" Background="AliceBlue">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        <TextBlock Grid.Column="0" Text="Adjust Brightness" VerticalAlignment="Center" Padding="30,0,0,0"/>
        <StackPanel Grid.Column="1" Orientation="Horizontal" FlowDirection="RightToLeft" Grid.Row="1">
            <AppBarButton Icon="Pause" Label="Pause"/>
            <AppBarButton Icon="Setting" Label="Settings"/>
        </StackPanel>
    </Grid>

</Grid>

updated main stackpanel:


limit order table style

after creating a new limit order, a table shows up with all currently available limit orders i have created.
the table design/style is off.

Stale


Feature request: Timeslider & workflow design ideas

There's a bit of discussion over on Bugzilla regarding a Javascript widget that will work as a time selector for users of the OHM.
Should we move that discussion over here or keep it on Bugzilla or ... ?

For people still on this ticket, we now have a timeslider.
Will be changing this to on-hold & good discussion of timeslider.

This is a good thread, but going to close it to clean things up a bit.

This is a good thread, but going to close it to clean things up a bit.


hash_hmac(): Argument #3 ($key) must be of type string, Firebase\JWT\Key given

I was trying a simple application using php 8.1
if (Auth::attempt($credentials)) {
    return [
        'token' => Auth::user()->token()
    ];
}

response.zip

Thanks! Fixed just now!


Spacing Issue After First Command

[x] I am on the latest Hyper.app version

[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: macOS 10.12 (16A323)

Hyper.app version: Version 1.1.0 (<IP_ADDRESS>8)

Link of a Gist with the contents of your .hyper.js: https://gist.github.com/elithrar/fd41632ccfe22ee1bc5f7ad1a952a748

Relevant information from devtools N/A

The issue is reproducible in vanilla Hyper.app: Yes.

Issue
After entering a command in a fresh terminal, the letter spacing between the prompt and the input 'disappears' on all subsequent commands.

A hard reload resolves this.

Looks like I didn't vet this thoroughly enough: removing hyperlinks fixes it. Will report this there.


[new rule] validate subgraph according federation 2

Part of https://github.com/dimaMachina/graphql-eslint/issues/1824
I am new in the Federation spec and feel like validation should be split into 2 rules

validation of supergraph
validation of subgraph (current PR)

What's needed to move this forward?


Initial draft of the book after including training materials

Description:
Include and structure all the training notebooks in the CUQI-book. The aim is to disconnect the CUQIpy-Demo repository and migrate everything into the CUQI-book. Render the initial draft of the book after this update.
Definition of done:

[x] The training material is added (with complete git history) as the first part of the book (right after the simplest Bayesian inverse problem in the world example)
[x] The book is compiled and compilation issues are solved (if any) : (see notes below)
[x] Any migration blockers/issues that are not solved are identified, documented, and reported to the team (see notes below)
[x] Licenses information of different notebooks are incorporated (see notes below)
[x] These updates are merged in main
[ ] These updates are showcased to the team

Note:

The history from the CUQIpy-Demos is carried over to the CUQI-Book repo. However, the commits hash key is changed.
Execution is disabled for the notebooks, so when the book is compiled, the notebooks are not executed. They can be executed interactively in principle (at least for those that do not require  CIL, FEniCS or PyTorch) or downloaded and ran.
License files resides in the directories of CUQI-Book now

Hi team (@jakobsj , @nabriis , @chaozg )
I believe we can close this issue tomorrow in the SCRUM daily, the book with the training material is updated (initial draft). I also removed many of the repeated material and/or things that were specific to the course from the book. Also, see the "notes section" above in the issue description for some considerations.
https://cuqi-dtu.github.io/CUQI-Book

Thank you @jakobsj for taking on reviewing this issue


feature request: SetByPath

First off, I love this project, such a cool idea. Especially since ( I think) working with JSON remains one of the pain points of newcomers to go (including myself! lol). At any rate, I wonder how hard it would to implement a deep property setter.
Much like GetByPath, it would work something like :
var exampleJSON = `{ "someObj": [1, { "neatKey": "neatVal" }, true] }`

c, err := dora.NewFromString(exampleJSON)
if err != nil { ... }

if err := c.SetByPath("$.someObj[1].neatKey", "EvenNeaterVal"); err != nil {
  fmt.Printf("\nError executing SetByPath query: %v\n", err)
}

result, err := c.GetByPath("$.someObj[1].neatKey") // result == "EvenNeaterVal"
if err != nil { ... }

It may or may not fit with the goals of Dora but thought I ask anyway in case there is any interest.
Again, super cool idea! / thank you!

Hey @dviramontes thanks for adding this! I like the idea a lot, maybe we can take a look at what this would entail.


Closing fullscreen mode sets proper pane widths again.

This pairs with https://github.com/mozilla/thimble.mozilla.org/pull/2227
The goal of this is to correctly set the panel widths after exiting fullscreen mode so that the bars above the panels in Thimble can size themselves properly.

Fixed the nit and merging! TY


Fix footnote numbered list

Probably best to review the two commits separately. This probably should have been two PRs, but here we are :sweat_smile:
The issue was that the code for pushing the list prefix would only check the last element pushed in the element_stack when processing CharacterTokens(_), but the footnote reference generates the following HTML

A footnote ↩

which means that a ListItem is pushed on followed by a Paragraph(_) before hitting any character tokens
This PR changes things to set a pending_list_prefix when processing an opening "li" element and then checking if pending_list_prefix is set in the appropriate place when processing CharacterTokens(_) which should handle nesting better. The first commit is just some twiddling to make HtmlInterpreter testable since it's a big bundle of mutable state, and I don't want to accidentally regress something. A fun part of this is that the second commit shows how the list prefix is now correctly getting pushed onto the footnote reference
diff --git a/src/snapshots/inlyne__interpreter__tests__lists_get_prefixed.snap b/src/snapshots/inlyne__interpreter__tests__lists_get_prefixed.snap
index d4e5391..f27b437 100644
--- a/src/snapshots/inlyne__interpreter__tests__lists_get_prefixed.snap
+++ b/src/snapshots/inlyne__interpreter__tests__lists_get_prefixed.snap
@@ -75,6 +75,23 @@ expression: finished_queue
             indent: 50.0,
             font_size: 16.0,
             texts: [
+                Text {
+                    text: "1. ",
+                    color: None,
+                    link: None,
+                    is_bold: true,
+                    is_italic: false,
+                    is_underlined: false,
+                    is_striked: false,
+                    font_family: SansSerif,
+                    hidpi_scale: 1.0,
+                    default_color: [
+                        0.0,
+                        0.0,
+                        0.0,
+                        1.0,
+                    ],
+                },
                 Text {
                     text: "First footnote ",
                     color: None,

Side note: The single test added with this PR bumps the line test coverage from 25% to 33% :tada:
Demo
A footnote[^1]

- Unordered list
- Unordered list

Another footnote[^2]

1. Ordered list
1. Ordered list

[^1]: 1st footnote
[^2]: 2nd footnote

It looks like a spacer gets pushed between the footnotes, but that also happens on main, so it's not a regression from this PR at least

On second thought I ripped out the work to make the interpreter testable. There's still more that I want to do, and I don't want to blow up the size of this PR by pulling all of that in. Instead it will be coming soon (aka this weekend)

since it's a big bundle of mutable state

I find this very offensive. Interpreter.rs is 900 lines of finite state machine goodness that blesses those who gaze upon it. In all seriousness though sometimes I'm afraid to touch it and break something. If anything needs testing its that.
On windows at least it seems like anchors aren't being called because open::that will actually accept an anchor like #ref1. Easy fix though, we just need to switch positions between the if and else statements for open::that.
That spacing is actually true to the html. If you print the htmlified output and put it in firefox, it gives:

Good catch on window's! I should probably setup a test environment there
Feel free to push a fix if you want

@CosmicHorrorDev yep I will tomorrow, got a few other bug fixes I need to do as well. Seems like single glyph links broke with the glyphon PR but I know why which is good.

Awesome! I really appreciate the review

The fix looks good to me :+1:


Some questions

Hi，
I'm running  simulator_ test.py in Python, and found that jbw-render-v0 defines reward_fn by itself.  I can regist a jbw env with register() function , but where to set up reward (collect,avoid,explore) and reward schedule(fixed,periodic,random)?
The paper (https://arxiv.org/abs/2002.06306)mentioned that the final results  using the reward rate measure to evaluate performance. Where can I see this measurement result?

There are multiple. Sh files under script, but I haven't run it successfully so far. I see that reward: collectjellybeans and PPO algorithm are defined in these files.
The result of running in script and  Python simulator_test.py， what is the relationship between the two? In Python programs, can't we execute scenarios such as non episodic, non stationary, vision + scene? Do I need to write this Python code myself?
If there is something wrong with my understanding, please correct me in time.
Thank you!

Hi @zhaoyueplc ! All the experiments we present in the paper were written in Swift using the Swift API we provide (including the reward functions, the PPO implementation, and the evaluation code). The Python API does provide the functionality you'd need to implement these reward functions and set up the same experiments but, as you said, you'd have to implement them yourself. Regarding PPO, you could probably try using an existing Python implementation like the ones provided by OpenAI.

Hi @eaplatanios，
But there are so many parameters in this project that it is difficult to rewrite them in Python for developers who don't know the parameters and their corresponding values.
It is also relatively easy for people with experience in development to change swift, but it is difficult to cross platform. I don't have a Mac environment on hand. I'm trying to execute swift with windows. I find it more difficult and restricted.
Just a suggestion. Would you help to  make all functions support Python?

Thank you for the suggestion.
Are you trying to reproduce the experiments in the paper? Or are you trying to run your own RL code using the JBW? You don't need Swift to run your own code, as the Python API is currently fully capable of supporting that. However, if you do want to reproduce the experiments in the paper, then yes, we would need to port the Swift code into Python. Another option you could try is to use Swift from a Linux environment, such as Ubuntu.

I'd like to try to do some experiments, and how to evaluate these effects (you have just implemented these evaluation methods). In this case, I need to compare different, very rich experiments. So I still need to understand the experiments you created first, because I haven't understood how to create richer experiments.I'm using swift in Ubuntu..

Our evaluation was quite simple, and we describe it in our paper: we just plot the "reward rate" over time. Where the reward rate is defined as the total reward in the past N time steps, divided by N. The N is the moving window, and we use N = 100,000 in our experiments.

In our experiments, the reward depends on the experiment (i.e. the task). For example, if the task is Collect[Jellybean], the agent receives +1 reward whenever it collects a jellybean item. If the task is Avoid[Onion], the agent receives -1 reward whenever it collects an onion item. If the task is Collect[Jellybean] & Avoid[Onion], then both of these conditions are simultaneously true.
But our experiments are intended to be more of a baseline for future work using the JBW. The code (including the Python API) enables you to define your own reward functions, environments, and evaluation metrics.

I've been trying to run these swift files with Ubuntu recently, but unfortunately, so far it hasn't worked. I'm not sure whether this project uses swift for tensorflow. Swift for tensorflow doesn't support Linux very well at present. And I'm sure to make some code changes in the future. In fact, there is no percent IDE for swift in Linux yet. It's going to be very difficult for me and unlikely to happen.
If these experiments can only be carried out on swift, it is estimated that many developers have the same problems as me. Of course, it's a friendly thing to develop swift.
So, I am wondering  if you have plans to implement relevant experiments on Python or C++?

Yes the Swift experiments require Swift for Tensorflow. In the README, it is listed under both the Requirements and Using Swift sections that you need Swift for Tensorflow 0.8.
We were able to run our experiments just fine on Ubuntu. What is the error you are running into?
Atom and VS Code are great IDEs with Swift support. I would guess SublimeText also has an addon for Swift.

Another great IDE with Swift support that also works with the Swift for TensorFlow toolchain is CLion by Jetbrains (and it should also work on Ubuntu). For what it's worth, many of our experiments were run on Ubuntu machines and so there should be no problems running our code there.

Hi,
Sorry, I have been busy with other things recently, but I do have a problem：
zhaoyue@zhaoyue-virtual-machine:~/jelly-bean-world/api/swift/Sources$ swift run -c release JellyBeanWorldExperiments run  --reward collectJellyBeans  --agent ppo  --observation vision  --network plain
/home/zhaoyue/jelly-bean-world/.build/checkouts/swift-rl/Sources/ReinforcementLearning/Utilities/Protocols.swift:307:30: error: expected 'wrt:' or 'where' in '@differentiable' attribute
@differentiable(wrt: self, vjp: _vjpFlattenedBatch)
^
/home/zhaoyue/jelly-bean-world/.build/checkouts/swift-rl/Sources/ReinforcementLearning/Utilities/Protocols.swift:319:30: error: expected 'wrt:' or 'where' in '@differentiable' attribute
@differentiable(wrt: self, vjp: _vjpUnflattenedBatch)
^
[2/4] Compiling clibc libc.cerror: fatalError
ubuntu 18.04, Swift for TensorFlow 0.8 toolchain


SCPI_Input() and input buffer overrun

I think SCPI_Input() doesn't handle input buffer overruns properly. It checks for overrun and returns -1 if it happens. But, what can I do next? If I continue to feed SCPI_Input() with the data it will continue to return -1 and basically block the SCPI parser. I can't reset the buffer, except if I call SCPI_Input() with 0, but in that case it will call SCPI_Parse() with partially received data.
If buffer overrun is detected in SCPI_Input() I think it should generate -363, "Input buffer overrun" error, ignore everything until \r\n and reset the input buffer after that so it can start fresh again.

You are right, that it should generate -363. Problem is, that only way, how to detect end of command is full blown parse. Arbitrary data can contain false positive \r\n.
Because of that, I can reset input buffer in that case and forget everything including current input. No search of end of command.

I agree. Thanks!

I must change return value of SCPI_Parse and SCPI_Input to scpi_bool_t. It make more sense.


Uncaught TypeError: Cannot read property 'dataset' of null

[Enter steps to reproduce below:]

...
...

Atom Version: 1.4.1
System: Mac OS X 10.11.2
Thrown From: swackets package, v0.10.0
Stack Trace
Uncaught TypeError: Cannot read property 'dataset' of null
At /Users/willsenisi/.atom/packages/swackets/lib/swackets-view.coffee:89

TypeError: Cannot read property 'dataset' of null
    at SwacketsView.module.exports.SwacketsView.sweatifyLineGroups (/Users/willsenisi/.atom/packages/swackets/lib/swackets-view.coffee:89:57)
    at SwacketsView.module.exports.SwacketsView.sweatify (/Users/willsenisi/.atom/packages/swackets/lib/swackets-view.coffee:68:10)
    at /Users/willsenisi/.atom/packages/swackets/lib/swackets-view.coffee:1:1

Commands
     -3:40.3.0 core:close (atom-text-editor.editor.is-focused)
     -3:37.4.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -3:18.6.0 core:close (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -3:18 settings-view:open (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -2:57.1.0 core:close (button.btn.icon.enablement.icon-playback-pause)
  5x -2:47.6.0 core:backspace (atom-text-editor.editor.is-focused)
  4x -2:46.1.0 core:undo (atom-text-editor.editor.is-focused)
  2x -2:43.5.0 core:redo (atom-text-editor.editor.is-focused)
     -2:39 core:undo (atom-text-editor.editor.is-focused)
  2x -2:36.1.0 core:save (atom-text-editor.editor.is-focused)
  5x -0:13.4.0 core:close (atom-text-editor.editor.is-focused)

Config
{
  "core": {}
}

Installed Packages
# User
Remote-FTP, v0.7.15
atom-beautify, v0.28.21
autoclose-html, v0.20.0
figlet, v0.5.3
minimap, v4.19.0
pigments, v0.22.1
swackets, v0.10.0
terminal-plus, v0.14.5

# Dev
No dev packages

+1

Steps to reproduce

Install the beta
Open Atom

Atom: 1.19.0-beta0 x64
Electron: 1.6.9
OS: Mac OS X 10.12.5
Thrown From: swackets package 0.26.0
Stack Trace
Uncaught TypeError: Cannot read property 'dataset' of null
At /Users/henno/.atom/packages/swackets/lib/swackets-view.coffee:111

TypeError: Cannot read property 'dataset' of null
    at SwacketsView.module.exports.SwacketsView.sweatifyLineGroups (/packages/swackets/lib/swackets-view.coffee:111:57)
    at SwacketsView.module.exports.SwacketsView.sweatify (/packages/swackets/lib/swackets-view.coffee:90:10)
    at /packages/swackets/lib/swackets-view.coffee:1:1

Commands

Non-Core Packages
apex-syntax 0.1.0
apex-ui 0.2.1
apex-ui-slim 0.0.0
atom-material-syntax 1.0.6
atom-typescript 11.0.3
autocomplete-modules 1.6.10
busy-signal 1.4.3
color-picker 2.2.5
docblockr 0.10.3
double-tag 0.8.0
duotone-dark-forest-syntax 2.1.0
duotone-dark-sea-syntax 2.1.0
duotone-dark-space-syntax 2.1.0
duotone-dark-syntax 2.1.0
duotone-darksky 1.1.5
duotone-light-syntax 2.1.0
duotone-snow 2.2.0
editorconfig 2.2.2
emmet 2.4.3
firewatch-syntax 1.1.1
fold-comments 0.6.0
fold-functions 0.5.0
genesis-syntax 1.0.9
genesis-ui 0.5.0
hydra-syntax-theme 3.0.1
intentions 1.1.2
language-ejs 0.4.0
language-vue 0.23.0
linter 2.1.4
linter-eslint 8.2.1
linter-ui-default 1.6.1
one-dark-vivid-syntax 1.7.1
pigments 0.39.1
predawn-syntax 1.0.4
predawn-ui 1.0.7
project-manager 3.3.5
react 0.16.2
seti-icons 1.5.3
swackets 0.26.0
toggle-quotes 1.0.1
tool-bar 1.1.0
tree-view-autoresize 2.1.0
vue2-autocomplete 0.1.0-alpha.4

+1

+1

+1

+1
Atom 1.19 was released yesterday. Therefore this error start affecting all users now who upgraded to the latest atom.

+1
on Atom 1.19.0 x64

Having issue with this with latest version of atom

I just commented those two lines on ~110 & ~111, I commented out the lines and restarted Atom myself. worked on 1.19.0 x64
It started switching colors every second endlessly after scrolling to the bottom. So it isn't really fixed.

+1
Atom 1.20.0 on macOS. The editor is virtually unusable.


Creation of CustomElements array and corresponding elements.

I've created a PR to your branch adding CustomElements to System. Please, take a look into it before merging this PR

Would you be willing to meet with the work group to discuss your use-case? The meeting is on Fridays, 2:30 pm PST.

@kevinkirkl3y I would love to. How I could meet with the work group?

@kevinkirkl3y I think you need to merge upstream, this PR would undo changes from #228

@cwhanse I ran into some issues during the merge process but it should be resolved.


params nested query bug in pagination links

hi
I used 5.0.0.beta1 and used kaminari master branch.
my current url is 'http://<IP_ADDRESS>:3000/admin/clients/search?utf8=✓&q[keyword]=test'
but next page link is 'http://<IP_ADDRESS>:3000/admin/clients/search?page=2&q=%23<ActionController%3A%3AParameters%3A0x00000007710fa0>'
this is a but.
I use this helper url_for((params.permit!.to_h.deep_merge(page: 2))) can generate a right url http://<IP_ADDRESS>:3000/admin/clients/search?page=2&q%5Bkeyword%5D=test&utf8=%E2%9C%93

The master and 0-17-stable branches both should work fine now.


[Speedtest] Speedtest failed

Extension – Speedtest
Author: @tonka3000

Description
Getting "spawn Unknown system error -86" everytime I run the extension.
Steps To Reproduce

Open Raycast
Launch Speedtest

Raycast version
Version: 1.33.1

Try to clear the local cache via "Clear CLI Cache" action and restart Speedtest.

Also check if Rosetta is installed and active on your system.

Hi @tonka3000,
I tried the command and restart Raycast then the extension but it still doesn't work. Yes I have Rosetta installed on my Mac

Maybe softwareupdate --install-rosetta fix the problem. Users which have the same error message with other applications mention that this sometimes help to fix the issue.

The issue is fixed. Thanks for your help :)

I was running into this same issue (also mentioned in #563).
I'm assuming the Speedtest.net CLI still relies on some Intel-only dependencies? I'd love to be able to run this without installing Rosetta, but it sounds like that might be determined by @teamookla.
Until then though I'm wondering if it might be worth noting this requirement in the README.

Hi @djpowers ,
Can you try to install Speedtest cli via homebrew. Maybe this is already M1 enabled. I have no M1 Mac and I can not test that easily.
Adding a notice to the README is a good idea.

Hi @tonka3000, I just installed the CLI via homebrew by following these instructions: https://www.speedtest.net/apps/cli
I was not prompted to install Rosetta 2 as part of the process, and was able to successfully run a test after accepting the license terms. (Trying to install a known Intel-only cask from homebrew is still failing, for comparison.)
The extension is still failing for me with the same error.

@djpowers The only option to get it to work is to active open with Rosetta for Raycast itself as mentioned above. I assume that MacOS don't support indirect automatic activation of Rosetta. Raycast => NodeJS => speedtest-cli.


config and training setps for train a multitask model?

Hello, Thank you for your contribution and this is really a nice work.
Recently I'm trying to train a multi-task model based on your work, the method I used is simply adding the map head to the det config, but the det and seg performances all degraded severely. Have you ever tried to improve the performance of multitask model? I wander If it's possible to share the config and method for multitask model? My email is<EMAIL_ADDRESS>Thanks!!

hello, we have the save problem. We try to add config in the nuscenes\det\default.yaml

we change the grid_transform to match those in detection.
But the result is very low for the first epoch, map/mean/iou@max: 0.2930, object/map: 0.6539.
Strangely,when we train on det, it takes 3 days for 6 epoches. When training seg, it takes 5 days  for 20 epoches. But when trained together, it only takes 1 day for 6 epoches.
Do you have any suggestions or guess?

PS: We followed https://github.com/mit-han-lab/bevfusion/issues/263#issuecomment-1346905589 , the results are  map/mean/iou@max: 0.3571 and object/map: 0.6554

Thank you for your interest in our project. This repository is no longer actively maintained, so we will be closing this issue. Please refer to the amazing implementation at MMDetection3D. Thank you again!


Night CI 2023-03-20: Failed

action url: https://github.com/spidernet-io/spiderpool/actions/runs/4465162628

The same issue as #1477.


request.postData()  returns undefined

Steps to reproduce
Tell us about your environment:

Puppeteer version:2.0.0
Platform / OS version:win7 64 bits
URLs (if applicable):
Node.js version:10.15.0

What steps will reproduce the problem?
Please include code that reproduces the issue.

const loginRequest = loginResponse.request();
let requestBody = JSON.parse(loginRequest.postData());

What is the expected result?
loginRequest.postData() return a string representing data posted.
What happens instead?
postData() returns undefined.
This issue doesn't exist in puppeteer 1.2.0. But after I upgraded puppeteer to 2.0.0, it happens like this.

Can you make a test like this, so we can test?

Can you make a test like this so we can test?

const puppeteer = require('puppeteer');
var expect = require('chai').expect;
describe('Request.postData', async function () {
this.timeout(50000);
it('should work', async (done) => {
const browser = await puppeteer.launch({
headless: false
});
const page = (await browser.pages())[0];
var http = require('http');
server = http.createServer(function (req, res) {
  res.writeHead(200, { 'Content-Type': 'text/plain' });
  res.end('Hello, world!\n');
}).listen(8080);
page.goto('http://localhost:8080');
let loginResponsePromise = page.waitForResponse(response => {
  return response.request().url().startsWith('http://localhost');
});
page.evaluate(() => fetch('http://localhost:8080/aa', { method: 'POST', body: JSON.stringify({ foo: 'bar' }) }));
let response = await loginResponsePromise;
let request = response.request()
console.log(request.postData())
expect(request.postData()).to.equal('{"foo":"bar"}');
done();

});
});

The problem with your example is that you are not awaiting the goto, and the waitForResponse is too generic, so it's returning the goto's response.
It worked for me doing this change:
await page.goto('http://localhost:8080');
let loginResponsePromise = page.waitForResponse(response => {
  return response.request().url().startsWith('http://localhost:8080/aa');
});

The problem with your example is that you are not awaiting the goto, and the waitForResponse is too generic, so it's returning the goto's response.
It worked for me doing this change:
await page.goto('http://localhost:8080');
let loginResponsePromise = page.waitForResponse(response => {
  return response.request().url().startsWith('http://localhost:8080/aa');
});

Thanks very much. I figured it out. Puppeteer 2.0.0 counts browser OPTIONS request while puppeteer 1.2.0 doesn't. So the response actually is browser OPTIONS request's response. Then request.postData() is undefined. I added response.request().method() == 'POST'; then it works fine as before.
const puppeteer = require('puppeteer');
var expect = require('chai').expect;
describe('Request.postData', async function () {
this.timeout(50000000);
it('should work', async (done) => {
const browser = await puppeteer.launch({
headless: false
});
const page = (await browser.pages())[0];
var http = require('http');
server = http.createServer(function (req, res) {
  if(req.url == 'http://localhost:8080/' || req.method == 'OPTIONS') {
    res.writeHead(200, { 'Content-Type': 'text/plain',
    'Access-Control-Allow-Origin':'*',
    'Access-Control-Allow-Headers': 'Content-Type'
   });
   res.end('Hello, world!\n');
  } else {
    res.writeHead(403, { 'Content-Type': 'text/plain',
   });
   res.end('Hello, world!\n');
  }
}).listen(8080);
await page.goto('http://localhost:8080/');
let loginResponsePromise = page.waitForResponse(response => {
  return response.request().url().startsWith('http://contoso.com:8080/aa') && **response.request().method() == 'POST';**
});
console.log('evaualte');
page.evaluate(() => {
  var xmlhttp=new XMLHttpRequest();
  xmlhttp.open("POST", 'http://contoso.com:8080/aa' , true);
  xmlhttp.setRequestHeader("Content-type","application/json");
  xmlhttp.send(JSON.stringify({ foo: 'bar'}));
});
let response = await loginResponsePromise;
console.log('response');
let request = response.request()
console.log(request.headers())
console.log(response.status())
expect(request.postData()).to.equal('{"foo":"bar"}');
done();

});
});

Figured out. It is not a bug.

According to what you said, I still return undefined, I hope to get an answer, thank you
page.on("request",(httpRequest) => {
let url = httpRequest.url();
if (url.includes("n.gif")){
if (httpRequest.method() === "POST"){
console.log("xxxxx",httpRequest.postData())
}
httpRequest.continue()
}else {
httpRequest.continue()
}
})

I'm also a bit surprised by an undefined on request.postData() for JSON content types. Here's a minimal example:
const puppeteer = require("puppeteer"); // ^13.5.1

const html = `
<body>
<script>
fetch("https://jsonplaceholder.typicode.com/todos", {
  method: "POST",
  body: JSON.stringify({foo: "bar"})
});
</script>
</body>
`;

let browser;
(async () => {
  browser = await puppeteer.launch({headless: true});
  const [page] = await browser.pages();
  const responsePromise = page.waitForResponse(response =>
    response.url() === "https://jsonplaceholder.typicode.com/todos"
  );
  await page.setContent(html);
  const response = await responsePromise;
  console.log(response.request().postData()); // => foo=bar
})()
  .catch(err => console.error(err))
  .finally(() => browser?.close())
;

The above code works as expected, logging foo=bar. But change the fetch code to:
fetch("https://jsonplaceholder.typicode.com/todos", {
  method: "POST",
  headers: {
    "Accept": "application/json",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({foo: "bar"})
});

while leaving the Puppeteer code the same and you'll see undefined logged. The culprit/delta seems to be "Content-Type": "application/json".

I should have read the thread a bit more carefully, as this answer pretty clearly shows that ensuring the request method is POST will avoid an OPTIONS request taking over:
const responsePromise = page.waitForResponse(response =>
  response.url() === "https://jsonplaceholder.typicode.com/todos" &&
  response.request().method() === "POST"
);

This is a bug that I also have experienced when using request interception: POST requests that are the result of an OPTIONS have an undefined return from postData().
We have found that you can use the client object on the request to get the request post data directly via CDP:
const cdpBody = await request.client.send('Network.getRequestPostData', {requestId: request._requestId});


Use the new EKS bootstrap script

Just what it says on the tin.

BTW - Any reason we aren't running integration tests on PRs (or merges to master)?  Seems it would be useful to run that extra validation.


Balance not loading - Unable to initialize the API

Doesn't seem to be working at all as balance is not displaying. Noted error in the console.
FATAL: Unable to initialize the API: createType(Metadata):: Unable to create Enum via index 12, in V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11

Seems like spec change and broke polkadot api. We need to bump api version, hopefully its gonna work

No longer relevant, at some point of refactoring this issue is resolved.


Fix wrong JSON::LD::API.expand example in README

Coverage remained the same at 88.743% when pulling 89bb7028bd44ea18a52a8f8bb54a4510fb885f81 on marcelotto:patch-1 into cfc2701bf4ce55b1ad08e5ea93cdcc4550ecc864 on ruby-rdf:develop.

Coverage remained the same at 88.743% when pulling 89bb7028bd44ea18a52a8f8bb54a4510fb885f81 on marcelotto:patch-1 into cfc2701bf4ce55b1ad08e5ea93cdcc4550ecc864 on ruby-rdf:develop.

Coverage remained the same at 88.743% when pulling 89bb7028bd44ea18a52a8f8bb54a4510fb885f81 on marcelotto:patch-1 into cfc2701bf4ce55b1ad08e5ea93cdcc4550ecc864 on ruby-rdf:develop.


Numerical Keyboard is not showing up on Android

Running into an issue where the inputs with the credit-cards bindings are working fine and displaying the numerical keyboard on iOS but not Android.

Android does not support the numeric pattern. I'm not an Android users so I don't pay super close attention to any of its behavior.
The internet is unclear on whether there's a well-supported method:
http://stackoverflow.com/questions/18998732/how-to-open-a-number-pad-on-android-chrome-with-input-type-text
http://stackoverflow.com/questions/35437429/force-numeric-input-when-viewing-website-on-android-ios
If you do the research and come back with screenshots and corresponding HTML snippets I'd be happy to add special behavior using is-android.

Hmm ok, I opted to trigger the ionic soft keyboard on click and that seems to do the trick. Thanks.

Sounds good!


Locust check

@bugout-dev summarize

https://github.com/bugout-dev check require Where checks 2

@bugout-dev check

[ ] test

@bugout-dev check

[ ] test2


Missing package/file

Hello, I'm trying to reproduce the result. And while running infer_features_sequential.py, it requires TextProcessor from text_processing. However, there is no such local file. And the pip package text_processing doesn't work. How should I fix this?

Thank you so much for your help!