ERROR with pnpm dlx command

Hi !
Thanks for your job.
I actually have difficulty to run the command pnpm dlx create-sveltex
I get an error String.prototype.split called on null or undefined as yo can see on the screenshot.

Same with npx and yarn dlx
$ npx      create-sveltex
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y)

npm warn deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated<EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
npm warn deprecated<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
[ERROR] String.prototype.split called on null or undefined

Thanks for the report! I'll try to further diagnose the issue and resolve it this weekend.

I tested this now and it seems the workaround only works with npx. My guess would be that pnpm dlx and bunx don't enforce the inquirer version lock properly. I haven't tested it with yarn dlx. I'll update the documentation to reflect this.

Thanks for your answer.
In fact, i still have the problem with pnpm.

Actually I can test your project by addind to an existing svelte project and it's great :)

@slozano54 Thanks for the kind words! I actually just published another update that seems to fix the issue for pnpm dlx and bunx as well (dfb6a100fd08127ae40463e7819cbf1fd0db096a). In my case I had to run pnpm dlx<EMAIL_ADDRESS>or bunx<EMAIL_ADDRESS>specifically to ensure the right version is run, but for users who don't have an outdated version cached this doesn't seem to be necessary.

@nvlang Everything works correctly with de command pnpm dlx<EMAIL_ADDRESS>I just tried without clearing the cache. Thanks a lot.


Scroll the viewport as I draw the line

As I draw the line to connect a node that is down below the ViewPort, I want the canvas to scroll automatically so that I could connect to the node (which is down somewhere).
Is there a known and easy workaround or this ?
Request kind help from someone.
Cheers,
Krish

Since the pane is draggable there is no need for a pane that is higher than the window.

Didnt get that @moklick  !  That is the requirement, like if there is a node that is down below how do we connect it ? Because as I start drawing the line and the node is below, it won't auto-scroll.  How do we do it now ? May be I am missing something.

@moklick  should this is a new feature that we need to build ? Please let me know.

Hey @Vkrish-Nimmagadda
I get it! It was a misunderstanding on my side.
Right now the nodes you want to connect have to be inside the viewport. There is no auto-scroll/auto-drag function yet.

Thank you much @moklick  ! Appreciate it.
Any quick tips on a decent approach from either you and/or community will help. I will see how to help build that feature.

We would be happy if you find a way and do PR :)

Cool .. good ! Thank you @moklick  !

This feature is available since v11.5.0


fix-qdf outputs small file with only object in it

I have a quite large QDF form file, baked with --preserve-unreferenced.
It starts with:

%PDF-1.5
...
%QDF-1.0
%% Original object ID: 1 0
1 0 obj
<<
/ID [
<...>
<...>
]
/Size 2
/Type /XRef
/W [
1
3
1
]
/Length 2 0 R

stream
...
endstream
endobj
%QDF: ignore_newline
2 0 obj
10
endobj
%% Original object ID: 2 0
3 0 obj
<<
/E 228616
/H [
1261
208
]
/L 228893
/Linearized 1
/N 1
/O 6
/T 228615

endobj
%% Original object ID: 3 0
4 0 obj
<<
/ID [
<...>
<...>
]
/Index [
2
97
]
/Info 106 0 R
/Prev 228616
/Root 6 0 R
/Size 99
/Type /XRef
/W [
1
3
1
]
/Length 5 0 R

stream
...
endstream
endobj
%QDF: ignore_newline
5 0 obj
485
endobj
%% Original object ID: 4 0
6 0 obj
<<
/Pages 123 0 R
/Type /Catalog

endobj

When I run fix-qdf on it, the output file is very small:

%PDF-1.5
...
%QDF-1.0
%% Original object ID: 1 0
1 0 obj
<<
/ID [
<...>
<...>
]
/Size 2
/Type /XRef
/Length 6
/W [ 1 1 1 ]
1
3
1
]

stream
...
endstream
endobj
startxref
52
%%EOF

If I remove --preserve-unreferenced in the first place, fix-qdf works as intended.
Would be great if you can fix this. Thanks!

Can you share the file? I use fix-qdf all the time on files with unreferenced objects, so there must be something else about the file that's breaking fix-qdf. If you are not able to share the file publicly but are able to share it privately, you can email me the file or send me a link privately by email at<EMAIL_ADDRESS>and I can delete the file when I've determined what the problem is.


refactor(WriteBack): Target field in the WriteBackConfig

Hey, this change is pretty small, but I'm trying to somehow reorganize the code around the WriteBack functionality.

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


sometimes fail to call imgur-screenshot

dont know why
using command to start imgur-screenshot is no problem , but  sometimes just can not call imgur-screenshot by hotkey , and if that happens , try to prss hotkey again and again and again , eventually it will be good to go.
is there any suggestions ?
https://i.imgur.com/4yGuoRf.png	/home/administrator/Pictures/imgur-2018_05_09-14:40:54.png
https://imgur.com/delete/NcUfwh8MMKWKu5j
https://i.imgur.com/xhQDJby.png	/home/administrator/Pictures/imgur-2018_05_09-14:42:38.png	https://imgur.com/delete/KAaZyCLEOmkm3EQ
https://i.imgur.com/8WqzM0c.png	/home/administrator/Pictures/imgur-2018_05_09-14:42:52.png	https://imgur.com/delete/uy84zRkszuQ1pKh
Failed to take screenshot 'imgur-2018_05_09-14:43:05.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
Failed to take screenshot 'imgur-2018_05_09-14:43:09.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
Failed to take screenshot 'imgur-2018_05_09-14:43:21.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
Failed to take screenshot 'imgur-2018_05_09-14:43:22.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
https://i.imgur.com/lbIzDt4.png	/home/administrator/Pictures/imgur-2018_05_09-14:43:25.png	https://imgur.com/delete/4VVPjDLH2073vJ5
Failed to take screenshot 'imgur-2018_05_09-14:43:52.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
Failed to take screenshot 'imgur-2018_05_09-14:43:56.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
Failed to take screenshot 'imgur-2018_05_09-14:43:58.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
Failed to take screenshot 'imgur-2018_05_09-14:43:59.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
Failed to take screenshot 'imgur-2018_05_09-14:44:11.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
https://i.imgur.com/hP0uUrC.png	/home/administrator/Pictures/imgur-2018_05_09-14:44:13.png	https://imgur.com/delete/3MC7lOrEhg1gSf9
Failed to take screenshot 'imgur-2018_05_10-16:11:08.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
Failed to take screenshot 'imgur-2018_05_10-16:11:15.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
https://i.imgur.com/dpmVqcE.png	/home/administrator/Pictures/imgur-2018_05_10-16:11:44.png	https://imgur.com/delete/rs4IoRhLzzElzrc
Failed to take screenshot 'imgur-2018_05_10-16:11:59.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
Failed to take screenshot 'imgur-2018_05_10-16:12:05.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
Failed to take screenshot 'imgur-2018_05_10-16:12:17.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
Failed to take screenshot 'imgur-2018_05_10-16:12:20.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
https://i.imgur.com/o98TisL.png	/home/administrator/Pictures/imgur-2018_05_10-16:12:23.png	https://imgur.com/delete/lpTbbFScHAtR41h

Can you try with --debug as the first option and piping the output to a file?

sorry for late reply
although  I append --debug to the shortcut key command , there still no error messages...
here is the video
https://www.youtube.com/watch?v=pVwgx3IbfJ4

Do you provide the full path to gimp/pinta? It might also not work if e.g. the DISPLAY environment variable is not present when your hotkey script runs.

add the full path to pinta does not help .

You'll have to figure out how to execute the command with debug output enabled, otherwise there's no way I can help you.
I'd try putting the line with the debug flag and output redirection in a separate shell script and calling that script via hotkey.

I make a script running imgur-screenshot --debug=/tmp/1.log and config the hotkey to run the script
and here is the logfile
2018-05-23 11:32:21 [changch@hqdc075 ~]$ cat /tmp/1.log
########################################
Enabling debug mode
Please remove credentials before pasting
########################################

Linux h075.abc.com.tw 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
'/home/changch/git/imgur-screenshot/imgur-screenshot.sh' '--debug'

Please select area
Failed to take screenshot 'imgur-2018_05_23-11:32:26.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
2018-05-23 11:32:33 [changch@hqdc075 ~]$

seems like nothing "special" ??

Can you please try this:
/home/changch/git/imgur-screenshot/imgur-screenshot.sh --debug >/tmp/1.log 2>&1

There should be a lot more output.

1 succesful  , 1 failed
########################################
Enabling debug mode
Please remove credentials before pasting
########################################

Linux hqdc075.ematters.com.tw 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
'/home/changch/git/imgur-screenshot/imgur-screenshot.sh' '--debug'

+ current_version=v1.7.4
+ imgur_anon_id=ea6c0ef2987808e
+ imgur_icon_path=/home/changch/Pictures/imgur.png
+ imgur_acct_key=
+ imgur_secret=
+ login=false
+ album_title=
+ album_id=
+ credentials_file=/home/changch/.config/imgur-screenshot/credentials.conf
+ file_name_format=imgur-%Y_%m_%d-%H:%M:%S.png
+ file_dir=/home/changch/Pictures
+ upload_connect_timeout=5
+ upload_timeout=120
+ upload_retries=1
+ is_mac
+ uname
+ grep -q Darwin
+ screenshot_select_command='scrot -s %img'
+ screenshot_window_command='scrot %img'
+ screenshot_full_command='scrot %img'
+ open_command='xdg-open %url'
+ open=false
+ mode=select
+ edit_command='/usr/bin/pinta %img'
+ edit=true
+ exit_on_album_creation_fail=true
+ log_file=/home/changch/.imgur-screenshot.log
+ auto_delete=
+ copy_url=true
+ keep_file=true
+ check_update=true
+ settings_path=/home/changch/.config/imgur-screenshot/settings.conf
+ '[' -f /home/changch/.config/imgur-screenshot/settings.conf ']'
+ '[' '' = --check ']'
+ '[' 0 '!=' 0 ']'
+ '[' false = true ']'
+ '[' -n '' ']'
+ '[' -z '' ']'
+ upload_files[0]=
+ for upload_file in "${upload_files[@]}"
+ '[' -z '' ']'
+ cd /home/changch/Pictures
++ date +imgur-%Y_%m_%d-%H:%M:%S.png
+ img_file=imgur-2018_05_24-11:05:52.png
+ take_screenshot imgur-2018_05_24-11:05:52.png
+ echo 'Please select area'
Please select area
+ is_mac
+ uname
+ grep -q Darwin
+ sleep 0.1
+ cmd=screenshot_select_command
+ cmd='scrot -s imgur-2018_05_24-11:05:52.png'
++ scrot -s imgur-2018_05_24-11:05:52.png
+ shot_err=
+ '[' 2 '!=' 0 ']'
+ tee -a /home/changch/.imgur-screenshot.log
+ echo 'Failed to take screenshot '\''imgur-2018_05_24-11:05:52.png'\'': '\'''\''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting'
Failed to take screenshot 'imgur-2018_05_24-11:05:52.png': ''. For more information visit https://github.com/jomo/imgur-screenshot/wiki/Troubleshooting
+ notify error 'Something went wrong :(' 'Information has been logged'
+ is_mac
+ grep -q Darwin
+ uname
+ '[' error = error ']'
+ notify-send -a ImgurScreenshot -u critical -c im.error -i /home/changch/Pictures/imgur.png -t 500 'imgur: Something went wrong :(' 'Information has been logged'
+ exit 1
+ remote_version=v1.7.4
+ '[' 0 -eq 0 ']'
+ '[' '!' v1.7.4 = v1.7.4 ']'
+ '[' -z v1.7.4 ']'
+ '[' -z v1.7.4 ']'
+ echo 'Version v1.7.4 is up to date.'
Version v1.7.4 is up to date.

Ah, yeah. This is an issue with scrot which sometimes fails when the hotkey is still pressed while scrot runs, where pressing the any key cancels the screenshot. The sleep 0.1 before the scrot line somewhat fixes this, but it doesn't always.
After all, scrot has a bunch of bugs and has been unmaintained for a long time, but comes pre-installed on many distributions and is therefore used as the default by imgur-screenshot. You can install and configure anything else that can take screenshots in your environment. (e.g. gnome-screenshot, escrotum, maim, …).
This is actually a common issue. I'll make sure to handle the error message better in #127 and improve documentation on this in the troubleshooting section.


Still maintained?

Hello,
I'm wondering if this is still maintained. Any plans on bringing it back to life with up-to-date RN and dependencies?

https://github.com/adminphoeniixx/react-native-custom-tabs
Try this

Thanks for taking up the torch, @adminphoeniixx. But FYI I still had to add maven { url "https://jitpack.io" } to my build.gradle before I could get it to work.

This is another option :) https://github.com/proyecto26/react-native-inappbrowser


Stick drift, software based

R36S arkos 2.0 03302024
Having a very hard time nailing down the issue and being able to make it reproducible for someone else. Many users on forums have reported this issue of stick drift, even after replacing the sticks with hall effect the drift remains. In all cores and ports.
I saw the previous issue reported here asking for a input checker. I'm not sure I'm advanced enough to implement whatever solution that user was talking about. Something to calibrate the sticks could be vital and I'm surprised it hasn't come up yet.

I don't support the R36s units so I can not help much with your issue.  You can try here for more assistance if help is available there:  https://github.com/AeolusUX/ArkOS-R3XS  You're welcome to help test this input tester here: https://github.com/christianhaitian/arkos/issues/1021#issuecomment-2063885581
I have no solution for stick calibration.  You can try what this user has tried here for calibration.  https://github.com/christianhaitian/arkos/issues/1023#issuecomment-2046195241

Ok. Pretend I have an rg351 then. No matter what I do I have drift. I never had this problem months ago. Now no matter regular sticks or hall effect when you press Right it does not return to center. Mostly only happens with right direction. Doesnt matter if I use a fresh install of arkos. I am using the same game sd though.


reconnect to queue dont work

If I restart RAbbitMQ docker, wso2 app where source ir rabbitmq does not automatically reconnect to exchange/queue to get new messages. We must restart worker to start working again.

Fixed by https://github.com/wso2-extensions/siddhi-io-rabbitmq/pull/48 ...


[Feature] - Allow to extend ComponentConsOption type definition.

I am using vue-facing-decorator with InertiaJS, InertiaJS implement some custom Component options like "layout" that I use in order to render persistent layouts. Those layouts works great with my component using vue-facing-decorator, however the property definition is not recognized by typescript and I have to use "ts-ignore" in order to ignore the type errors.
Is it any way of extend the ComponentConsOption in order to accept custom properties?
I provide and example of a component that use the layout:
import {Vue, Component} from 'vue-facing-decorator';
import DefaultLayout from<EMAIL_ADDRESS>
@Component({
    // @ts-ignore
    layout: DefaultLayout
})
export default class UserList extends Vue {
}

Try this https://facing-dev.github.io/vue-facing-decorator/#/en/class-component/component/component?id=options-1 for a temporary resolution.


Add Contributing.md

To pull together all information regarding adding code to this project, we should add a Contributing.md.
The content should contain at least following sections:

How to build this project
metric best practices
links to resources
allowed commit message styles and scopes

reference: https://github.com/bluecmd/fortigate_exporter/issues/100#issuecomment-877096726

Now addressed in #141


Finalize schema editor

fixes #172

Please make sure that all the checks pass. Please add here any additional information regarding this pull request. It's highly recommended that you link this PR to an issue (please create one if it doesn't exist for this PR)

@roll it is ready for review. Thank you!


Closing form tag before input

Challenge http://www.freecodecamp.com/challenges/waypoint-create-a-form-element has an issue. Please describe how to reproduce it, and include links to screen shots if possible.
It is marked as correct if you have the closing tag of the form before your input tags.

Thanks for spotting this! I've fixed this and will push the fix soon.


Use standard jsonio

Is it possible to split this up into smaller pull requests? One would be cleaning those variable names like x as it is extremely hard to review this pull request in a reliable manner right now.


JOSE template clobbering lists

In the JOSE PDF version, para. 2 of the 'Target Audience' section the list of learning objectives seems to be rendered inline, although in other markdown previews it looks OK. Any ideas what's causing it?

Nope but I can have a look and play around with it!

Fixed with this https://github.com/Edinburgh-Chemistry-Teaching/Data-driven-chemistry/commit/3028232beb4be5fbee6f3e4f2bf66a628fa5f5fe


Add time range in WheelTimePicker

thanks for the feature you suggested, this feature can be useful I think. It can be added next release.

this feature needs to be more cleaner code base because Timeformat and backwards features could be create conflict. I will review next rewrite.

Ok thanks, I will be waiting for this feature, it would be very useful to me for my project


merge multiple CSV files and generate one excel file with one tab by csv imported

i have multiple csv file generated by some scripts, th idea is to export all csv in one excell file, each csv file represents a tabs in the file
is it possible with the tools ?

Thanks for this guideline :)
when i have a functionnal scripts, i'm add it here .


Slash - Add old loader as obsolete

The loader component with the rotating square is deprecated, however as we have no solution right now for existing projects, we need to add it to the package. However it will be marked as obsolete.

Since we havent implemented the replacement, it will not be marked as obsolete for 1.0.0


quick Makefile tweak ; update chmod ; update chroot

Three commits:

Tweak Makefile so that when the make goal is test it only considers the TESTS variable when building dependencies.

Updates in chmod. Works, but I suspect it will have issues with non-UTF-8 filenames. This was probably always the case, though.

Updates in chroot (and in src/common/c_types.rs). Two things here:

For now, one of the fixes in c_types is slightly hacky (specifically: I commented out the Copy impls for several of the structs), but this will get fixed as necessary for other utils.

The call to the chroot function seems to fail in some cases. I am still investigating this, but I ran out of time for now.

Thank you.
Why &a[..] and not .as_ref()

To be honest I don't think it makes a difference, I'm just used to using &a[..]. I can revert if you prefer a.as_ref().

@kwantam don't need to revert, there are more important things just asked about if there is specifc case, however as_ref looks more readable for me personally

@Heather I agree as_ref is more readable specially for rust beginner.


refactor(settings): SettingsForm expose scope property

Before submitting a pull request, please make sure the following is done...

[x] Ensure the pull request title and commit message follow the Commit Specific in English.
[x] Fork the repo and create your branch from main.
[x] If you've added code that should be tested, add tests!
[x] If you've changed APIs, update the documentation.
[x] Ensure the test suite passes (npm test).
[x] Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

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

麻烦再提个commit，messge不符合规范

第一个单词要小写，一般用动词


SSL certificate

relevant links:
https://uk.godaddy.com/help/request-my-ssl-certificate-562
https://uk.godaddy.com/help/does-godaddy-support-third-party-ssls-on-its-products-3983
https://uk.godaddy.com/help/request-my-ssl-certificate-562


Feature request: parser for the Klein framework

Add a parser for the Klein framework.

I don't have plans to add this; this can be implemented as a separate library.

Hi @sloria, I just pushed a WIP PR that address this issue: https://github.com/sloria/webargs/pull/159
It's a twisted parser which is fully compatible with klein framework. Let me know if it's a good addition or better to release it as a webargs-twisted package.

@rolando Thanks for the contribution. I have decided not to add any new parsers for the time being. New parsers should exist as separate packages.
Let me know when you release webargs-twisted. I'll start a new section in the wiki with links to external packages.

@sloria sounds good to me!


Version history behaviors

If you copy, the copy gets fresh history.
If you copy to replace, the copy inherits the replaced history.
If you move, the history moves with it.

From @bosschaert: 1 & 3 are already the behavior.
Number 2 will need to be implemented.

On 2. above, what do you mean exactly? Replacing the content of an existing document with the content of another existing document, without replacing the target document's history? Because that is exactly what you get when you simply call PUT on a /source/... URL?

I worked on a prototype with @karlpauls during the AdaptTo conference last week. Plan is it finish this and create a PR.


TrainingCallbackAttributes  Error

When I try the ("grid-prior-du-no-depth", "none"), the error occurs.
(I can successfully run the   ("nerfacto-nerfiller-visualize", "none") and ("nerfacto-nerfiller", "none"))
Figure 1: Error:

Figure 2: TrainingCallbackAttributes  in nerfstudio

Oh yes! Can you run it with the Nerfstudio branch specified in the top of the NeRFiller README? The branch should be merged ASAP but not yet. It's quite minimal and should add the callback where it is missing.

Thanks for your reply. I manually set the trainer_base_dir to solve this problem. :no_mouth:

Oh yes! Can you run it with the Nerfstudio branch specified in the top of the NeRFiller README? The branch should be merged ASAP but not yet. It's quite minimal and should add the callback where it is missing.

It works~  :smiley:


mark inactive objects in repo list #1943

Inactive object are marked in the repo list
The sort order for changed files is not changed
unchanged inactive files come right after the changed files
#1943

This is step 1 to check if state determination works fine for all objects.
Step 2 will be to prevent export if there is any inactive file or staging of  inactive files

object implementation done up to zcl_abapgit_object_dtel (alphabetical order) - all others are considered as active

all interface implementations adjusted - nearly all with FM RS_INACTIVE_OBJECTS_WARNING implementation for now

you'r right! fixed and also added offline again

Hmmm, as it so happens I've been looking at changing this today, only to find this. Small comment:
A lot of the logic of FM RS_INACTIVE_OBJECTS_WARNING has to do with  fluff not relevant to abapGit, managing concurrent tasks in a transport and upgrades and such.
Underneath it all it just checks table DWINACTIV
Would this not be a bit simpler or did you find a reason to keep the FM?

The FM also handles sub objects like e.g. methods.
abapgit uses main objects only so the CLAS may be active, but some METH may be not.
And if there is some kind of API, use it - it's not that performance critical here


Organize and rename plugin contents

We will want to standardize the naming conventions and organization of our plugin folder for consistency and clarity. Things like material functions and blueprints should have a common theme.
It also may be a good idea to prefix most of the plugin .uassets with "Cesium", similar to CesiumSunSky, to differentiate them from other plugins and engine content.
One thing to keep in mind is that if we rename anything that is used in previously-created learning content, we'll have to edit the learning content to indicate the renaming. There may be other consequences as well, but I feel this is the best thing to do long term.
Also, not every asset has to be renamed, but if  it strays from the convention that the rest of the assets follow, there should be a specific reason.
I recommend the following:
All blueprints --> BP_Cesium[blueprintname]
All materials --> M_Cesium[matname](note that the current naming of these materials should be changed up, since they're already getting quite long.)
We should also create material instances for the cesium materials, and if possible set them to the default materials for tilesets.
Material functions --> MF_Cesium[functionname]
We can prefix other asset types similarly, but for the most part the plugin assets are materials, material functions, and blueprints.
If we decide we want to drop the prefix, that's OK, but including Cesium in the name is more important.

This has already been done a little bit in the watermask branch, the water material functions have been renamed.


v1.30 keyboard control works intermittently on some displays

v1.30 - Keyboard control seems to be working as far as the bezel notification (system brightness overlay) is displayed properly. However the actual Brightness is usually not changed or the changes are applied only intermittently. I have to long press F1 decreasing the brightness all the way down, then it eventually dims the display, or I have to long press F2 to increase brightness all the way up and it eventually brightens the display - or sometimes the changes are applied halfway, but not always. Single keystrokes almost never work. The manual slider seems to work but is a bit more choppier than the previous version.
v1.21 - Brightness control is silky smooth.
EDIT: the issue in v1.30 seems to be display specific. Brightness level control is semi broken on my LG 27UD88 4K display (+macbook 2017) but works properly on my Lenovo L24Q display (+mac mini 2012).
EDIT2: only a hunch: @reitermarkus said "I added a loop which tries more often to get the values from the display, since for me the default value of 10 tries in ddcctl does not work reliably. For me, the average is at about 200 tries, and can be up to 600 tries". The difference between the 27UD88 and L24Q is that ddcctl is unable to read values from the 27UD88 (this might be a bug in ddcctl itself, since LG's own DDC/CI control app for MacOS reads the settings just fine - or LG displays might have a nonstandard DDC/CI implementation). The choppiness might be related to the increase in the "tries"? I did not examine the code so it's only a guess on my behalf.

The loop I added is only used when getting the values, not when setting them, so it shouldn't have any effect on the controls.

Hi @waydabber ,
Thanks for the report, I'll look into it asap and edit this answer when I know more.

@reitermarkus, thanks for the clarification.
Just to be sure, I tried v1.30 on a differenct Mac and another LG display (an 27UD58B this time), I experienced the same issue. v1.21 is fine.

Closing, please see #82


Undefined name 'PPGANTrainer' in DCGAN_trainer.py

flake8 testing of https://github.com/facebookresearch/pytorch_GAN_zoo on Python 3.7.1
$ flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics
./models/trainer/DCGAN_trainer.py:19:16: F821 undefined name 'PPGANTrainer'
        return PPGANTrainer._defaultConfig
               ^
1     F821 undefined name 'PPGANTrainer'
1

E901,E999,F821,F822,F823 are the "showstopper" flake8 issues that can halt the runtime with a SyntaxError, NameError, etc. These 5 are different from most other flake8 issues which are merely "style violations" -- useful for readability but they do not effect runtime safety.

F821: undefined name name
F822: undefined name name in __all__
F823: local variable name referenced before assignment
E901: SyntaxError or IndentationError
E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree

https://github.com/facebookresearch/pytorch_GAN_zoo/pull/55


Add AutoML project

Related: https://github.com/kubeflow/testing/issues/749.
I added AutoML project and add @andreyvelich, @gaocegege @johnugeorge as owners.
I can see that I should create IAMPolicyMember for each owner.
@jlewi Should metadata.name be unique here?
@jlewi Do you know how we can give permission for our prow workflow?
As I can see here: https://github.com/kubeflow/katib/blob/master/test/workflows/components/workflows-v1beta1.libsonnet#L36, we set GCP creds via kubeflow-testing-credentials secret in CI cluster.
/assign @jlewi
/cc @gaocegege @johnugeorge

@jlewi I created another IAMPolicyMember<EMAIL_ADDRESS>to give access for our CI infra. We used secrets before that: https://github.com/kubeflow/katib/blob/master/test/workflows/components/workflows-v1beta1.libsonnet#L36
Is that correct name?

The GitOps infrastructure for GCP projects is maintained 20%. As noted in kubeflow/testing#737 this is not a scalable solution. The situation training currently finds itself is precisely the issue highlighted in that issue; i.e. it is dependent on individuals who are either unable or unwilling to meet the teams depending on them.
So I will approve this only if there is a commitement from the @kubeflow/training-leads to move to a more sustainable long term solution which I think means
Moving to infrastructure owned and maintained by a testing WG
Moving to infrastructure fully owned and maintained by @kubeflow/training-leads

/lgtm
/approve


Homebase now pulled directly from client and using config.

I have made some changes. Devices and stations are now fetched from the client api. My interest in your repo is based on me having to switch from an existing security system to eufy.

I expanded the platformConfig a bit. I'm receiving the security alarm later this week and will probably try to create a switch for cameras so they can be switched off by automations.

Also it would be nice to have a polling in seconds for updating status for devices.

Removed the comment. Thanks for contributing! My main motivation for this was to change the guard mode using a scene controller button I have on my wall connected to HomeKit. I keep my notifications on for my outdoor cameras even if I am home but I want a way to quickly turn it off if I am going to be outside on my deck. I still like to have the Eufy app record which is why I didn't just switch the recordings over to HomeKit. I find that the Eufy app usually starts recording about a second or so sooner than HKSV does. Been working on getting this quick and dirty solution working in the little free time I have. Hope to work on it this week a little.


Handle case where several user attribute items are set primary

If an item has a primary field and it's set True, set primary to False in all previous items where primary is set True
Otherwise, the API returns the error: "Invalid Input: Bad request for -" which doesn't explain that multiple items had primary True

If admin is specifying two orgs, phones, etc as primary, shouldn't we throw an error here? That allows admin to correct which one is primary without us making an arbitrary choice.


Mac Code Helper hight CPU - Insiders version

Issue Type: Performance Issue
Open VS Code
Use it for a little bit.

Issue occurs after briefly using the editor...then the code help stops working and my CPU is pegged and my computer fans start running on high.
VS Code version: Code - Insiders 1.33.0-insider (5a88160c7dc5db820a564e3872e0de087ff3563d, 2019-03-15T15:48:56.158Z)
OS version: Darwin x64 18.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 x 4000)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
4, 5, 6

Memory (System)
32.00GB (12.86GB free)

Process Argv

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   18	   131	 59043	code-insiders main
    6	    66	 59044	   gpu-process
    0	    98	 59217	   shared-process
    4	   295	 59318	   window (authenticationService.ts — Teamspace-Web)
    0	   131	 59319	     extensionHost
    0	    33	 59338	       /Applications/Visual Studio Code - Insiders.app/Contents/Frameworks/Code - Insiders Helper.app/Contents/MacOS/Code - Insiders Helper /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=59319
  236	  1442	 59445	       electron_node tsserver.js
    0	    66	 59446	         electron_node typingsInstaller.js typesMap.js
    0	    66	 59320	     watcherService
    0	    66	 59455	   window (Issue Reporter)
    0	     0	 59458	   /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=

Workspace Info
|  Window (authenticationService.ts — Teamspace-Web)
|    Folder (Teamspace-Web): more than 29314 files
|      File types: ts(9790) js(5224) html(4437) map(4392) json(984) png(903)
|                  svg(628) scss(585) dll(468) cs(203)
|      Conf files: package.json(49) tsconfig.json(15) csproj(7) sln(6)
|                  gulp.js(4) webpack.config.js(3) tslint.json(3)
|                  launch.json(2) grunt.js(2) tasks.json(1)
|                  settings.json(1)
|      Launch Configs: node(14) chrome;

Extensions (1)

Extension
Author (truncated)
Version

cpptools
ms-
0.21.0

Added this one also so you have the debug information for both versions of VS Code...feel free to close this one as a dup.

tsserver @mjbvz

When this issue occurs, Can you please share the output of running code-insiders --status from the command line. It includes additional system / project info that may be helpful

Same happens here since the lates release, but using the normal version.
In my case, if I quit vscode, the process of code helper is never ended and starting vscode again will create another process and after some time the new one will also touch the sky.

@ghs Please open a new issue for your problem

Are you by any chance doing some transpiling in the background? I am seing a similar thing when building my code. I am wondering if there is a way to tell vscode to ignore certain paths ?
I tried using the jsconfig.json
{
  "exclude": ["src/*/.serverless"], <-  Ignore all .serverless folders
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "~/*": ["src/*"]
    }
  }
}

But it seems to still go wild while doing transpilation in the background.

Closing as more info needed from original poster


Add function test for update firmware with sku pack

I add the tests for firmware update with sku packs. The skupacks with firmware are packed in an external link defined in global_config.json file.  To start a test, you need:

run command to update skupack"python run_tests.py -test ./tests/rackhd{API version}/test_rackhd{API version}api_skupack.py:test_rackhd_api_skupack.test_api{sku} -ora {rackhd ip}"
run command to test firmware update: "python run_tests.py -test ./tests/rackhd{API version}/test_rackhdkupack.py:test_rackhd{API version}/api_skupack.test_api{API version}_{sku and test name }-ora <IP_ADDRESS>"

@RackHD/corecommitters please review.

@nortonluo , is there a need to introduce new tests for the 1.1 API at this point?  from the 10/5 Core Committer meeting minutes we discussed not introducing any new functionality for this API (once 2.0 released, 1.1 is deprecated and no additional feature enhancements)
Also, is there a way to mock out the actual "write" part of the FW update process?  Not sure if this test is intended to run as a PR quality gate or at some other regular frequency.  Definitely don't want to exhaust the lifetime of the programmable devices if this is intended to be a PR quality gate.

@amymullins this is the test script we used for 2.1.0 release test, it is not a new test. This test is part of FIT test. I think the release 2.1.0 already passed these test before it get released.
I fully agree you concern about the lifetime. So I just set the attr parameter in the script to "regression=False, smoke=False". In this way, the smoke test and regression test will not automatically trigger this test case.

@nortonluo great work to add the FW upgrade test script in, which exactly matches what @iceiilin 's conclusion after postmortem 19 FW upgrade ODRs.  I can share you the details. In short, the top #1 action we identified is to add "FW upgrade" regression test in different HW platform/sku pack/fw packages. Not required in this PR, let's see how we can get "FW upgrade" regression test solution ready.

Thanks for the feedback @nortonluo and for adding in the flags for FW update.
As for 1.1 api support, even though these tests were performed for the 2.1 release, this PR is introducing  new 1.1 based files and tests that will be executed and require maintenance.  I'm wondering if upcoming RackHD releases will be 2.0 only so we may not require any 1.1 testing.  Not a showstopper IMO and can add this to the agenda for next weeks CC meeting for further clarification.

Also please consider updates to platform naming conventions: https://hardware.corp.emc.com/display/CI/_Glossary

Checking in on this PR.  It looks like the last activity was on 11/14.  Please update with further comment if you intend to move forward with this PR.  Otherwise, I will close on 2/18.

The Pull request is outdated. It was based on old FIT framework. Will open another based on new FIT.


feat: subset font glyphs for SVG export

Subset font glyphs based on the unique code points used across all the to-be export text elements contents.

Lazy load fonteditor-core and lazy init woff2.wasm (brottli) on export
Use fonteditor-core to perform a subset of glyphs based on the used codepoints

glyf table ends up being reduced (major bottleneck)
other tables, like gsub, gpos, cmap seem to be reduced as well, but even with one codepoint the font ends up quite big ~ likely not everything gets properly subsetted  & it's likely non-trivial, as fontkit also does not seem to have it

Closes #8300
Limitations
It seems that fonteditor-core does not support ligatures  (https://github.com/kekee000/fonteditor-core/issues/57) and other glyph substitutions/alternates defined by the GSUB table. The text-shaping results are relatively minor, but noticeable when compared to the editor and sadly observable among most of the existing fonts - Excalfont, Nunito, Lilita One and Cascadia. Future-wise it's not ideal from the perspective of custom fonts and other exotic fonts (CJK, Arabic, Hebrew, etc.).
Considered

fontkit is huge, not that actively maintained anymore, missess gsub / gpos and generates no standalone usable subset https://github.com/foliojs/fontkit/issues/17
cn-font-split - looks promising , based on harbuzz, but similarily to fonteditor-core, contains issues due to missinggposhttps://github.com/KonghaYao/cn-font-split/issues/29
fonttools - python-first scripts, usable sever-side  or during build step, but do not have browser bindings for creating subsets
subset-font - based on harfbuzz, but not browser compatible and relies on fontverer, which had issues reading our fonts

Before / after
https://github.com/user-attachments/assets/a6e4a41f-ae65-4d32-9ded-04341a5030db

Closing in favor #8384


pr2

Proposed changes
Issue Number: close #xxx

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

run buildall

run buildall

run buildall

To format the PR title, you can refer this:
https://doris.apache.org/community/how-to-contribute/commit-format-specification?_highlight=pr&_highlight=title#commit-format-specification


Modules are not in sync with latest features from official TF reources

The Cloud Run team produces official terraform resources for all Cloud Run resources. Every GA feature is guaranteed by design and process to be available in the terraform resource, see TF docs
This module is not in sync with the latest features added to Cloud Run. For example: containers should now accept a list of containers.
It is unclear what the value of this module is, compared to the drawbacks of it not capturing all Cloud Run features.
At a minimum, I would suggest to point at the TF resource from this module README. So that users are aware they could directly use the TF resource.

@steren
Im working on adding multicontainer support for cloud run module, you can check my progress here
I'll appreciate your suggestions.

ping


fix(IPFS): Changing address used for this repo

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


FormGroup items fragment

The FormField Item only generate 1 item on v-for because of Symbol(Fragment) type.
Need to check FormLayout/components/Group line ~18th, similar with Stack component loop

#166


docs(category): add some api docs

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?
[ ] Yes
[x] No

There's two changes to generic-category.ts that still need to be addressed but lgtm after those changes + rebase.

I think this needs a reapproval by @griest024


Incorrect identification of dead steps

Step definitions with the letters 'Or' within the string i.e (Ordinary) are identified as a dead step due to the 'Or' being removed.
This takes place when the build_steps_map method is invoked and step definitions are sanitised.
sanitized_step = step.gsub(STEP_STYLES, "")
STEP_STYLES = /(?

Thank you for the concise report! I will investigate soon. You are welcome to PR as well if you'd like!

This is still an issue.
I just spent a good chunk of time being confused by this behavior and narrowing down the root cause and was going to raise an issue myself but apparently this has already been found. When can users expect it to be fixed?


adding recursive search instead of exact location lookup

In order to support all version of the game, it is possible to remove the filevalidation check altogether, and instead when trying to open any file first call a function like:
os.Open(findFile(filename))
findFile searches recursively and returns the file irrespective of the exact location.
it also ignores cases for operating systems like mac or linux.
I also added a function named LevenshteinDistance that returns the best match when there is no exact match. this way it is possible to support all versions including SourceNext without any modification to the source.
if you give me write access I can push all the changes. if not here is the findFile.go file. you also have to replace all os.Open() calls to os.Open(findFile(filename)).
I tested this with multiple versions and it works perfectly.
package fileio

import (
	"os"
	"path/filepath"
	"strings"
  "fmt"
)

func LevenshteinDistance(a, b string) int {
	// Create a 2D slice to store distances
	dp := make([][]int, len(a)+1)
	for i := range dp {
		dp[i] = make([]int, len(b)+1)
	}

	// Initialize the base cases
	for i := 0; i <= len(a); i++ {
		dp[i][0] = i
	}
	for j := 0; j <= len(b); j++ {
		dp[0][j] = j
	}

	// Fill the table
	for i := 1; i <= len(a); i++ {
		for j := 1; j <= len(b); j++ {
			cost := 0
			if a[i-1] != b[j-1] {
				cost = 1
			}
			dp[i][j] = min(dp[i-1][j]+1, dp[i][j-1]+1, dp[i-1][j-1]+cost)
		}
	}

	return dp[len(a)][len(b)]
}

func min(a, b, c int) int {
	if a < b && a < c {
		return a
	} else if b < c {
		return b
	}
	return c
}

func Similarity(a, b string) float64 {
	distance := LevenshteinDistance(a, b)
	maxLen := float64(len(a))
	if len(b) > len(a) {
		maxLen = float64(len(b))
	}
	return 1 - float64(distance)/maxLen
}

func findFile(filePath string) string {
  fmt.Println(filePath);
  searchDirectory := "./data"
	filename := filepath.Base(filePath)
	var foundPath string
  best_similarity_score := 0.0
  var best_match string

	filepath.Walk(searchDirectory, func(path string, info os.FileInfo, err error) error {
		if err != nil {
			return err
		}
		if strings.EqualFold(info.Name(), filename) {
			foundPath = path
			return filepath.SkipDir
		}
    // also return true for cases like st0_pl.tim and st0_jp.tim. one of them is pal version the other is japanese version
    split1 := strings.Split(filename, "_")
	  split2 := strings.Split(info.Name(), "_")
    if len(split1)==2 && len(split2) == 2 && split1[0] == split2[0] && strings.HasSuffix(filename, ".tim") && strings.HasSuffix(info.Name(), ".tim") {
      foundPath = path
      return filepath.SkipDir
    }
    similarityScore := Similarity(info.Name(), filename);
    if similarityScore > best_similarity_score {
      best_similarity_score = similarityScore
      best_match = path
    }

		return nil
	})
  fmt.Println(foundPath);
	if foundPath != "" {
		return foundPath
	}
  fmt.Printf("Best Match: '%s', score = %.2f\n", best_match, best_similarity_score);
	return best_match
}

Thank you for the contribution. Could you make a pull request for your feature and add unit tests if possible?


Update Dart (1.19.0-dev.0.0) and analyzer (0.27.4-alpha.19).

Pulls in latest Dart dev SDK and corresponding analyzer package (and updates misc. dependencies).  Should give us a measurable perf bump for flutter analyze and watch (and in the IDE).
/cc @Hixie @abarth

Does this give us trailing comments? :)

Does this give us trailing comments? :)

I wish but I just missed the boat with my change which landed early this morning and Bill baked the build late last night. 😞

Hmmmm, that build error is exciting.  Investigating.

Phew.  Clean now.  Ready for @abarth or @Hixie  to take a look! 👍


Error on creating incident cant find field "incidentcommander"

teams.microsoft.com-1674235595204.log
Attached in the console logs from the web version I double-checked all my list I don't see anything wrong but I could not find a reference to the field in question.  Yes I am picking an incident commander but it like I probably screwed something else up when I built the silly thing.

Hi @rsnyder-feld ,
I see from the logs, that the IncidentCommander field is missing in the TEOC-IncidentTransaction list. Please check that and if that is not available, create the column manually in the list and then try creating an incident from the TEOC app.
Column Display Name: IncidentCommander
Column Internal Name: IncidentCommander
Column Type: Multiple lines of text

Closed due to inactivity. Please feel free to open a new ticket if the issue still persists.


How to style the canvas element in React?

The canvas is wrapped in unmarked div tags.

  <canvas>

Is there a way to apply styles to the canvas so I can manipulate it as a background of another element (position: 'absolute', top: 0, left: 0, zIndex: -1)? So far, my react styling does nothing but push the canvas down.
Additional info, I would like to be able to do this without needing an external css file. So far, I have the  and it would be great if I can somehow manipulate it's zIndex, position, and all other typical canvas styles.

If you put the <P5Wrapper /> into a component that have how to use some selector, you can use the document.querySelector(".MyComponent[ > .otherParentsElements] > div > canvas") like this, to get the <canvas /> element.

I found a css alternative around this using styled-components:
const ItemContainer = styled.article`
  ...
  canvas {
    flex: 1;
  }
`

I found a css alternative around this using styled-components:
const ItemContainer = styled.article`
  ...
  canvas {
    flex: 1;
  }
`

I can style the parent container that contains <P5 Wrapper> and target <canvas> child within.

I tried this by doing this
in react component

     <P5Wrapper sketch={background}/>

.css file
.background{
  z-index: -1;
}
canvas{
    z-index: -1;
}

But the canvas is still in front. Any ideas?

@slothdude may be position: absolute; in canvas. But why either z-index is setted to -1?

position:absolute / position:fixed fixed it, thanks!


Replace PHP filtering with pure SQL

This is coming along well and is ready for a look.
I also tried matching using a regex, but I changed it back to like because the regex wasn't buying anything. Worse: I couldn't get the regex matching/collating to match artwork with Unicode characters. like handles that just fine.
I can change it back to using a regex so you can see what I tried. It looked roughly like this:
// If query is "helen troy", match "Helen of Troy"
$wildcardQuery = preg_replace('| |', '.*', $query);

// If query is "male", don't match "female"
$wholeTermQuery = '^' . $query . '$';

$params[] = $wildcardQuery; // art.Name
$params[] = $wildcardQuery; // art.EbookWwwFilesystemPath
$params[] = $wildcardQuery; // a.Name
$params[] = $wildcardQuery; // aan.Name
$params[] = $wholeTermQuery; // t.Name

[...]
                      and (art.Name regexp ?
                            or art.EbookWwwFilesystemPath regexp ?
                            or a.Name regexp ?
                            or aan.Name regexp ?
                            or t.Name regexp ?)

We need to use regex because we should be matching on word boundaries, \b, not start/end of the whole string. I also don't think we need to guess what the user intended like with helen of troy, that's going down a rabbit hole that can't be solved well in our simple use case. helen troy is a bad query.
Maybe the first step here is thinking about how we expect particular queries to match. If we query renaissance male, how does that search break down in the back end, especially when searching tags? Presumably an artwork would be tagged with renaissance or male but not renaissance male.
On the other hand we may have things tagged with a single tag african american so the space becomes a point of difficulty in whether we're searching tags or fulltext.
I think the approach is to break down a query by spaces, and search across the contents of each tag by each word with word boundary. So for the query renaissance male we would do something like tag.Name regexp "\b(renaissance|male)\b". This would match malebut notfemaleand it would also match the theoreticalrenaissance male` tag if there was one.

Thanks a bunch, that makes sense. I tried the query for the tags that way, and it works. I think the same logic works well for the other fields, too, so I applied it there. Sorry for the bad query example above, here's a different, better one that now works: Monet Lilies. That query doesn't work today, but it would work after this PR because the now individual words can match different fields. It returns other matches, too, but I think that's ok.

Great, looks very good, thanks!

Although now that I look again there's a small problem, when we replace non-alphanumeric characters in the query with a space. What happens when I search for the painting dressmaker's daughter? Any painting with s in it is returned!

Crap, sorry about that. I'll send you a fix today.


MetricList for moving entire list of metrics onto GPU

🚀 MetricList
MetricList serves the same function for Metrics in PL as nn.ModuleList in PyTorch for Modules.
As such, they take care of flexibly moving all Metrics and their states onto GPU or CPU.
Motivation

As a dynamic inference researcher, I want to be able to test multiple setups for a single model (f.e. executing my model at different depths or widths).
For each of these setups, I want to be able to track mostly the same metrics (f.e. Classification Accuracy) and making separate PL Metrics for each one of these metrics is tedious.
Moreover, I might want to specify the amount of setups with a parameter which makes constructing them in a list format the most elegant solution.

Pitch

In regular PyTorch they introduced nn.ModuleList especially for this purpose (f.e. swapping out different FC layers for different setups)

Alternatives

Evaluating if any of the internal variables is a list that might contain metrics does not seem like good design to me, but has the advantages that the user will not need to know of the existence of MetricList.  Maybe we can add a warning or error to use a MetricList when any errors as per "Additional Context" happens?

Additional context

Using regular lists that hold metrics and updating them while training on GPU will now keep metric states on CPU leading to errors, see a BoringModel example here, that as expected returns:   Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
Happy to work on a PR for this feature, but wanted to know your thoughts.

Could you add to your description why nn.ModuleList doesn't work or reproduce it? Your linked repro script doesn't actually have any metrics or metrics list. Metrics are just modules, so they should work with ModuleList and ModuleDict and if not it's a bug

Could you add to your description why nn.ModuleList doesn't work or reproduce it? Your linked repro script doesn't actually have any metrics or metrics list. Metrics are just modules, so they should work with ModuleList and ModuleDict and if not it's a bug

Hi @awaelchli, thanks for checking it out. I noticed I sent the wrong repro script, my bad.
This is the correct link, failing with the relatively unhelpful Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!.
I did not know that Metrics are just modules, and adding them to a nn.ModuleList indeed works totally fine. Only now I notice that indeed, this is also explained clearly in the docs. I must have read over it.
That only leaves the question if there is some better information we can give in a stacktrace?

Hi @awaelchli, thanks for checking it out. I noticed I sent the wrong repro script, my bad.
This is the correct link, failing with the relatively unhelpful Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!.
I did not know that Metrics are just modules, and adding them to a nn.ModuleList indeed works totally fine. Only now I notice that indeed, this is also explained clearly in the docs. I must have read over it.
That only leaves the question if there is some better information we can give in a stacktrace?

That only leaves the question if there is some better information we can give in a stacktrace?

I doubt it, I wouldn't know an elegant way. It seems this would have to be addressed by pytorch directly.
I can only assume the reason why pytorch does not deal with lists directly is because it can be expensive to recursively traverse the object __dict__ and it could also have cycles. Just speculation, I did not find much info about that.

That only leaves the question if there is some better information we can give in a stacktrace?

I doubt it, I wouldn't know an elegant way. It seems this would have to be addressed by pytorch directly.
I can only assume the reason why pytorch does not deal with lists directly is because it can be expensive to recursively traverse the object __dict__ and it could also have cycles. Just speculation, I did not find much info about that.

I see, thank you so much for your fast help. Much obliged! I will close this issue then.

I see, thank you so much for your fast help. Much obliged! I will close this issue then.

thanks for reporting a potential issue

thanks for reporting a potential issue


A couple of patterns.

What this Pull Request (PR) does
I have created two new patterns:

Ask Uncle Duke is a Java-centric software development pattern.
Dialog with Socrates is a conversational pattern for developing critical thinking.

I hope soomeone else finds this helpful. ;^P


Set html accept attribute for file input form when FileAllowed is set for file upload

Currently, the generated html for file doesn't seem to use html "accept" attribute, which will be helpful to guide the users to select the proper files(at least with the correct file extension).
As there is FileAllowed to set the allowed file extensions, maybe it'll be also great to set it on the form?

You can pass accept in the render_kw parameter:
    photo = FileField("Photo", render_kw={"accept": "image/*"})

Thanks @azmeuk , I'll try it before it's supported to be set with FileAllowed!

@azmeuk Is that clear that to support some config to set at one place and apply to both front-end and back-end will not be considered? Thanks!


x/tools/cmd/goimports: external package is preferred over package level variable

In db.go
package api

type Stat struct {
}

type DB struct {
	Stats *Stat
}

var (
	store = &DB{&Stat{}}
)

In stats.go
package api

// this line is imported by goimports automatically, where it shouldn't
import "github.com/coreos/etcd/store"

func takeStats() {
	s := store.Stats

	s = nil
}

go version go1.5rc1 darwin/amd64
Tools revision: 9f2124f (HEAD)

Dup of #7463


implement in-circuit ToTernary

Currently we have in-circuit binary decomposition api.ToBinary implemented with hints. It would be useful to have also a base-3 decomposition (or base-5 too).

Also To2NAF might be interesting to try few things.

Need some preliminary work ( #270  ) .
Maybe also a good occasion to move some bits operations in a std/bits or std/math/bits package to avoid surcharging the base API 👍


[Question] The bot suddenly stopped working?

I did not modify any code, before or after the good now no matter what is sent can not be sent, error messages for the server internal error, Luis Service has been purchased, but still can not be resolved, but also updated Luis's key and ID, ask for help, thank you very much

@zxy66481 Please provide your bot's App ID so we can better assist you.
For reference, are you developing with .NET or Node.js SDK for BotBuilder?

. NET robot, ID I can't provide, preliminary judgment is Luis's problem

Hi @zxy66481
Thanks for reporting your issue to us. However, there is currently no known system wide problem that explains what you are experiencing.  We need more information in order to assist you.  We would not ask for the app id if there were a valid reason to keep it private (notice we never ask for the Microsoft App Password, or channel secrets, as these should be kept private).
If you cannot provide us with the information we've requested in the New Issue template https://github.com/Microsoft/BotBuilder/issues/new then please suggest to us how we should help you resolve this issue?

I'm now releasing the robot and testing it, when I send messages more than once, there will be one or two times to return the correct information, the other time to return to my robot code has a problem, so you can prove that the code is not a problem, I think it should be Luis has failed, but has purchased the Luis Service, and updated the key, But the problem persists, please help me, thank you very much @EricDahlvang

I have found the cause of the problem is Luis exceeded the quota, but I have already purchased the service, please help me, thank you very much!

@zxy66481 Maybe something here will help: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/manage-keys

Thank you for your help, the problem has been solved


Update link

Fixes #26604

@Potapy4 : Thanks for your contribution! The author, @JasonFreeberg, has been notified to review your proposed change.

#sign-off


Requested accessory was not registered by the plugin

Describe The Bug:
[7/3/2020, 5:10:52 PM] Error: The requested accessory 'SimpliSafe 3' was not registered by the plugin 'homebridge-simplisafe3'.
at Plugin.getAccessoryConstructor (/usr/local/lib/node_modules/homebridge/src/plugin.ts:101:13)
at /usr/local/lib/node_modules/homebridge/src/server.ts:348:30
at Array.forEach ()
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:330:29)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:156:12)
at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
This error occurs when starting home bridge. Config below.
To Reproduce:

Install home bridge via
sudo npm install -g --unsafe-perm homebridge

Install this plugin via
sudo npm install -g --unsafe-perm homebridge-simplisafe3

Add appropriate configuration details

Run homebridge

Expected behavior:
I expect it to load home bridge without error.
Logs:

Paste Homebridge Logs here

Homebridge Config:

{
	"bridge": {
		"name": "Homebridge",
		"username": "CC:22:3D:E3:CE:30",
		"port": 51826,
		"pin": "031-45-154"
	},

	"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",
	"platforms": [],
	"accessories": [{
		"accessory": "homebridge-simplisafe3.SimpliSafe 3",
		"name": "Alarm System",
		"auth": {
			"username": "[myEmail]",
			"password": "[myPassword]"
		}
	}]

}

Screenshots:

Environment:

Plugin version:  1.6.5
Node.js Version:  12.18.2
NPM Version:  6.14.5
Homebridge Version:  1.1.1
Operating System:  macOS 10.15.5

Hey all - first of all thank you for making this plugin, it is way more full featured than a previous homebridge plugin I was using! I am sure I am just doing something wrong but after looking through homebridge documentation and your previous GitHub issues nothing is popping out at me. Thanks in advance.

I knew I'd figure it out. I had it under "accessories" instead of "platforms" - whoops! Feel free to close - sorry about that!

Hi @aaronschendel Yes, the logs would indicate you have not installed the plugin correctly and / or have an issue with your homebridge setup.
Especially if the command line is not in your comfort zone (but honestly in general it’s super useful) I can’t recommend highly enough you install Config UI X, see: https://github.com/oznu/homebridge-config-ui-x (and if you’re using a Pi you may want to look at the official image also mentioned in that link). It has a GUI for installing plugins, updating them etc. If you prefer not to use that, I would try reinstalling homebridge and then this plugin again.


cmb-make fails with random.sml - smlnj legacy 110.99.4

Version
110.99.3 (Latest)
Operating System

[ ] Any
[ ] Linux
[X] macOS
[ ] Windows
[ ] Other Unix

OS Version
10.13.6
Processor

[ ] Any
[ ] Arm (using Rosetta)
[ ] PowerPC
[ ] Sparc
[X] x86 (32-bit)
[ ] x86-64 (64-bit)
[ ] Other

System Component
Installation
Severity
Major
Description
Hi,
The latest code available in git smlnj/legacy (it says 110.99.4) is failing while performing the build from source. The initial installation through 'config/install.sh -default 32' goes thru but the cmb-make fails with  random.sml file which I could see moved under newly added folders Target32bit and Target64bit. Please advice.
$ ./cmb-make -32 ../../bin/sml
[compiling $SMLNJ-LIB/Util/(smlnj-lib.cm):Target32Bit/random.sml]
../../smlnj-lib/Util/Target32Bit/random.sml:82.26-82.29 Error: unbound variable or constructor: kNN
../../smlnj-lib/Util/Target32Bit/random.sml:92.42-92.70 Error: operator and operand do not agree [tycon mismatch]
operator domain: Word64.word
operand:         Word32.word
in expression:
w32ToByte (w && 0wxFF)
../../smlnj-lib/Util/Target32Bit/random.sml:102.30-102.61 Error: operator and operand do not agree [tycon mismatch]
operator domain: Word64.word
operand:         Word32.word
in expression:
w32ToByte (mti' && 0wxFF)
../../smlnj-lib/Util/Target32Bit/random.sml:103.30-103.59 Error: operator and operand do not agree [tycon mismatch]
operator domain: Word64.word
operand:         Word32.word
in expression:
w32ToByte ((mti' >> 0w8))
../../smlnj-lib/Util/Target32Bit/random.sml:115.34-115.37 Error: unbound variable or constructor: kNN
../../smlnj-lib/Util/Target32Bit/random.sml:121.47-121.50 Error: unbound variable or constructor: kNN
../../smlnj-lib/Util/Target32Bit/random.sml:132.32-132.35 Error: unbound variable or constructor: kNN
../../smlnj-lib/Util/Target32Bit/random.sml:120.49-120.61 Error: operator and operand do not agree [tycon mismatch]
operator domain: Word32.word * word
operand:         Word64.word * 'Z[WORD]
in expression:
(get 1 << 0w8)
../../smlnj-lib/Util/Target32Bit/random.sml:120.39-120.62 Error: operator and operand do not agree [tycon mismatch]
operator domain: Word32.word * Word32.word
operand:         Word64.word * _
in expression:
get 0 || (get 1 << 0w8)
../../smlnj-lib/Util/Target32Bit/random.sml:124.45-124.78 Error: operator and operand do not agree [tycon mismatch]
operator domain: Word32.word * Word32.word
operand:         Word32.word * Word64.word
in expression:
(w << 0w8) || get (bi + j)
../../smlnj-lib/Util/Target32Bit/random.sml:262.13-262.47 Error: operator and operand do not agree [tycon mismatch]
operator domain: Word64.word
operand:         Word32.word
in expression:
Word.fromLargeWord (W32.>> (w,0w1))
../../smlnj-lib/Util/Target32Bit/random.sml:46.1-281.6 Error: unmatched type specification: rand
../../smlnj-lib/Util/Target32Bit/random.sml:46.1-281.6 Error: unmatched value specification: rand
uncaught exception Bind [nonexhaustive binding failure]
raised at: ../compiler/Elaborator/elaborate/elabmod.sml:624.13-624.67
../compiler/Elaborator/elaborate/elabmod.sml:1362.32
../compiler/Basics/stats/stats.sml:198.40
../cm/util/safeio.sml:41.55
../cm/compile/compile.sml:383.18
../cm/compile/compile.sml:560.50
../cm/parse/parse.sml:377.19
../cm/util/safeio.sml:41.55
../cm/parse/parse.sml:502.47
../cm/parse/parse.sml:377.19
../cm/util/safeio.sml:41.55
../cm/parse/parse.sml:502.47
../cm/parse/parse.sml:377.19
../cm/util/safeio.sml:41.55
../cm/parse/parse.sml:502.47
../cm/parse/parse.sml:377.19
../cm/util/safeio.sml:41.55
../cm/parse/parse.sml:502.47
../cm/parse/parse.sml:377.19
../cm/util/safeio.sml:41.55
../cm/parse/parse.sml:502.47
../cm/util/safeio.sml:41.55
../cm/bootstrap/btcompile.sml:419.47
Transcript
No response
Expected Behavior
No response
Steps to Reproduce
$ ./cmb-make -32 ../../bin/sml
Additional Information
No response
Email address
<EMAIL_ADDRESS>

I can't reproduce this problem, mainly because I don't have access to a Mac that supports 32-bit applications any more (running macOS Ventura, 13.3.1 on an Intel 27" iMac).  I also find that I cannot build the 64-bit legacy code after doing

cd ~/sml/Dev/github/legacy
rm -rf bin lib
config/install.sh

This fails with
[compiling $/(basis-2004.cm):basis.sml]
base/old-basis/2004/basis.sml:14.18-14.27 Error: unbound signature: MATH_2004
base/old-basis/2004/basis.sml:20.18-20.27 Error: unbound signature: REAL_2004
FAILURE: stabilization of libraries failed
config/install.sh: !!! Installation of libraries and programs failed.
I do not understand what old-basis is for, but something seems to have gone missing.

@JohnReppy, @dmacqueen, Could you advice on this, I could see, random number generator module is updated in Jan. This is breaking while rebuilding from source. We tried in both Linux and MacOS machines, it failed in both. Surprisingly this doesn't happen while installation for the first time. Attaching here install and recompilation logs for version 99.3 directly downloaded from smlnj.org vs legacy from git.

993 Apr 21 CMB success.txt
993 Apr 21 Install success.txt
Legacy Apr 21 CMB Make fail.txt
Legacy Apr 21 Install success.txt

I'll try to find some time to look at this.  As Dave mentioned, it is hard for use to test 32-bit platforms these days, but I think that I still have a machine that I can use for that purpose.

Is there a reason for using the 32-bit version?  Is there an older combination of Mac hardware and macOS (Mac OS, OS X, etc.) such that the 64-bit build doesn’t work?
Anyway, I’m for declaring the 32-bit version deprecated, since it is only going to get gradually more difficult for us to maintain it.
Dave

On Apr 21, 2023, at 11:13 PM, John Reppy @.***> wrote:
I'll try to find some time to look at this. As Dave mentioned, it is hard for use to test 32-bit platforms these days, but I think that I still have a machine that I can use for that purpose.
—
Reply to this email directly, view it on GitHub https://github.com/smlnj/legacy/issues/277#issuecomment-1518528184, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGXNPJKX6ITCU4DYN6EK7DXCNZIVANCNFSM6AAAAAAXHHJ2GA.
You are receiving this because you were mentioned.

David MacQueen
@.***

Hi Dave,
Initially when we started working on this project we encountered the issue, structure Backend failing in 64 bit top level, we even raised an issue on this, it was working on 32 bit, so we continued 32 bit with the assumption at some point backend structure will get available in top level for 64 bit.
Yesterday we could verify that, with our change 'execute as a script with mute compiler', we could see the backend structure getting available in top level and our changes are working fine. We believe the new dummy function introduced to preload backend structure for script execution has made an impact.
For now we are good continuing with 64 bit and doesn't need 32 bit.
Thanks
Daya
Sent from a limited access device.

From: David MacQueen @.>
Sent: Saturday, April 22, 2023 11:49:34 PM
To: smlnj/legacy @.>
Cc: Natarajan, Daya @.>; Author @.>
Subject: Re: [smlnj/legacy] cmb-make fails with random.sml - smlnj legacy 110.99.4 (Issue #277)

Caution: This email originated from a sender outside Heriot-Watt University.
Do not follow links or open attachments if you doubt the authenticity of the sender or the content.

Is there a reason for using the 32-bit version? Is there an older combination of Mac hardware and macOS (Mac OS, OS X, etc.) such that the 64-bit build doesn’t work?
Anyway, I’m for declaring the 32-bit version deprecated, since it is only going to get gradually more difficult for us to maintain it.
Dave

On Apr 21, 2023, at 11:13 PM, John Reppy @.***> wrote:
I'll try to find some time to look at this. As Dave mentioned, it is hard for use to test 32-bit platforms these days, but I think that I still have a machine that I can use for that purpose.
—
Reply to this email directly, view it on GitHub https://github.com/smlnj/legacy/issues/277#issuecomment-1518528184, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGXNPJKX6ITCU4DYN6EK7DXCNZIVANCNFSM6AAAAAAXHHJ2GA.
You are receiving this because you were mentioned.

David MacQueen
@.***
—
Reply to this email directly, view it on GitHubhttps://github.com/smlnj/legacy/issues/277#issuecomment-1518890662, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXIFUWMNOJFBO45X4C4E7WDXCRN75ANCNFSM6AAAAAAXHHJ2GA.
You are receiving this because you authored the thread.Message ID: @.***>

Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences. This email is generated from the Heriot-Watt University Group, which includes:

Heriot-Watt University, a Scottish charity registered under number SC000278
Heriot- Watt Services Limited (Oriam), Scotland's national performance centre for sport. Heriot-Watt Services Limited is a private limited company registered is Scotland with registered number SC271030 and registered office at Research & Enterprise Services Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS.

The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.

Please grab the latest version of smlnj-lib/Util/Target32/random.sml and try it.  I believe that it should work, but I don't have access to a 32-bit machine right now to test it.

Hi John,
Still the 32-bit version recompile fails with below error,
../../smlnj-lib/Util/Target32Bit/random.sml:46.1-284.6 Error: unmatched type specification: rand
../../smlnj-lib/Util/Target32Bit/random.sml:46.1-284.6 Error: unmatched value specification: rand
uncaught exception Bind [nonexhaustive binding failure]
raised at: ../compiler/Elaborator/elaborate/elabmod.sml:624.13-624.67
         ../compiler/Elaborator/elaborate/elabmod.sml:1362.32

         ../compiler/Basics/stats/stats.sml:198.40

         ../cm/util/safeio.sml:41.55

         ../cm/compile/compile.sml:383.18

         ../cm/compile/compile.sml:560.50

         ../cm/parse/parse.sml:377.19

         ../cm/util/safeio.sml:41.55

         ../cm/parse/parse.sml:502.47

         ../cm/parse/parse.sml:377.19

         ../cm/util/safeio.sml:41.55

         ../cm/parse/parse.sml:502.47

         ../cm/parse/parse.sml:377.19

         ../cm/util/safeio.sml:41.55

         ../cm/parse/parse.sml:502.47

         ../cm/parse/parse.sml:377.19

         ../cm/util/safeio.sml:41.55

         ../cm/parse/parse.sml:502.47

         ../cm/parse/parse.sml:377.19

         ../cm/util/safeio.sml:41.55

         ../cm/parse/parse.sml:502.47

         ../cm/util/safeio.sml:41.55

         ../cm/bootstrap/btcompile.sml:419.47

Please note: We are not using 32-bit machine, we were forcing the installation with 32-bit option on a 64-bit machine. But this has changed, now we have switched to 64-bit installation. I have given the details in the previous update.
thanks
Daya

From: John Reppy @.>
Sent: 23 April 2023 18:54
To: smlnj/legacy @.>
Cc: Natarajan, Daya @.>; Author @.>
Subject: Re: [smlnj/legacy] cmb-make fails with random.sml - smlnj legacy 110.99.4 (Issue #277)

Caution: This email originated from a sender outside Heriot-Watt University.
Do not follow links or open attachments if you doubt the authenticity of the sender or the content.

Please grab the latest version of smlnj-lib/Util/Target32/random.sml and try it. I believe that it should work, but I don't have access to a 32-bit machine right now to test it.
—
Reply to this email directly, view it on GitHubhttps://github.com/smlnj/legacy/issues/277#issuecomment-1519120763, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXIFUWKM4JCVCPNHMC5OJCDXCVUE3ANCNFSM6AAAAAAXHHJ2GA.
You are receiving this because you authored the thread.Message ID: @.***>

Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences. This email is generated from the Heriot-Watt University Group, which includes:

Heriot-Watt University, a Scottish charity registered under number SC000278
Heriot- Watt Services Limited (Oriam), Scotland's national performance centre for sport. Heriot-Watt Services Limited is a private limited company registered is Scotland with registered number SC271030 and registered office at Research & Enterprise Services Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS.

The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.

Thanks.  I think that I've sorted the signature as well now.  Please try again.

Many thanks John, I can confirm the 32-bit recompile is working as expected. We are good to close this issue.
Thanks
Daya
From: John Reppy @.>
Date: Sunday, 23 April 2023 at 20:01
To: smlnj/legacy @.>
Cc: Natarajan, Daya @.>, Author @.>
Subject: Re: [smlnj/legacy] cmb-make fails with random.sml - smlnj legacy 110.99.4 (Issue #277)

Caution: This email originated from a sender outside Heriot-Watt University.
Do not follow links or open attachments if you doubt the authenticity of the sender or the content.

Thanks. I think that I've sorted the signature as well now. Please try again.
—
Reply to this email directly, view it on GitHubhttps://github.com/smlnj/legacy/issues/277#issuecomment-1519133631, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXIFUWOQUZLXP22BZUDHOSTXCV4A7ANCNFSM6AAAAAAXHHJ2GA.
You are receiving this because you authored the thread.Message ID: @.***>

Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences. This email is generated from the Heriot-Watt University Group, which includes:

Heriot-Watt University, a Scottish charity registered under number SC000278
Heriot- Watt Services Limited (Oriam), Scotland's national performance centre for sport. Heriot-Watt Services Limited is a private limited company registered is Scotland with registered number SC271030 and registered office at Research & Enterprise Services Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS.

The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.

About the use of the “Backend” structure for hosting your new functionality:
It appears that Backend is visible in the top-level environment because it appears in the .cm file
system/smlnj/compiler/current.cm

along with many other internal modules of the compiler (e.g. Control, Types, Symbols, …).  This cm file seems to
be what implements the current version of the “visible compiler”, perhaps in conjunction with some of the .cm files
in system/smlnj/viscomp.  [I am not sure how the files in system/smlnj/compiler and system/smlnj/viscomp are related
and how the work during the compiler build process, but I am trying to find out!]
As an alternative to using the existing Backend structure, we could easily introduce a kind of dummy structure (perhaps
we could call it “Extra”) that would initially be empty (contain no declarations), and then arrange for it to be included in the
top-level environment by adding it to the exports specified in system/smlnj/current.cm.  This would be “cleaner” than putting
it into some more or less random “visible compiler” structure like Backend.
By the way, how did you originally discover that Backend was an internal structure that was visible in the top-level environment
of the REPL (interactive system)?
Dave

On Apr 23, 2023, at 12:41 PM, dn2007hw @.***> wrote:
Many thanks John, I can confirm the 32-bit recompile is working as expected. We are good to close this issue.
Thanks
Daya
From: John Reppy @.>
Date: Sunday, 23 April 2023 at 20:01
To: smlnj/legacy @.>
Cc: Natarajan, Daya @.>, Author @.>
Subject: Re: [smlnj/legacy] cmb-make fails with random.sml - smlnj legacy 110.99.4 (Issue #277)

Caution: This email originated from a sender outside Heriot-Watt University.
Do not follow links or open attachments if you doubt the authenticity of the sender or the content.

Thanks. I think that I've sorted the signature as well now. Please try again.
—
Reply to this email directly, view it on GitHubhttps://github.com/smlnj/legacy/issues/277#issuecomment-1519133631, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXIFUWOQUZLXP22BZUDHOSTXCV4A7ANCNFSM6AAAAAAXHHJ2GA.
You are receiving this because you authored the thread.Message ID: @.***>

Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences. This email is generated from the Heriot-Watt University Group, which includes:

Heriot-Watt University, a Scottish charity registered under number SC000278
Heriot- Watt Services Limited (Oriam), Scotland's national performance centre for sport. Heriot-Watt Services Limited is a private limited company registered is Scotland with registered number SC271030 and registered office at Research & Enterprise Services Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS.

The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.
—
Reply to this email directly, view it on GitHub https://github.com/smlnj/legacy/issues/277#issuecomment-1519140901, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGXNPIFYTAQYORTW7XG553XCWAYBANCNFSM6AAAAAAXHHJ2GA.
You are receiving this because you were mentioned.

David MacQueen
@.***

Hi Dave,
We were trying to find the entry point where the command line arguments and how the instructions in the interactive mode are processed. We figured cm-boot.sml does the part and the useFile imported from Interact structure does the evaluation thru evalloop. That’s where we started diving deep into Interact, we tried to keep our changes completely out of Backend structure by having a new independent structure, declare in current.cm, even under compiler and Viscom's, but it didn’t work. After exploring few other structures like Control, TextIO and Backend, how they work and available in top level, this was a dead end for us and unsuccessful in bringing into top level, that's when we raised request 273. We decided to add under Backend since it's the only appropriate place we could find to add our changes.
Thanks Daya
Sent from a limited access device.

From: David MacQueen @.>
Sent: Monday, April 24, 2023 3:53:54 AM
To: smlnj/legacy @.>
Cc: Natarajan, Daya @.>; Author @.>
Subject: Re: [smlnj/legacy] cmb-make fails with random.sml - smlnj legacy 110.99.4 (Issue #277)

Caution: This email originated from a sender outside Heriot-Watt University.
Do not follow links or open attachments if you doubt the authenticity of the sender or the content.

About the use of the “Backend” structure for hosting your new functionality:
It appears that Backend is visible in the top-level environment because it appears in the .cm file
system/smlnj/compiler/current.cm
along with many other internal modules of the compiler (e.g. Control, Types, Symbols, …). This cm file seems to
be what implements the current version of the “visible compiler”, perhaps in conjunction with some of the .cm files
in system/smlnj/viscomp. [I am not sure how the files in system/smlnj/compiler and system/smlnj/viscomp are related
and how the work during the compiler build process, but I am trying to find out!]
As an alternative to using the existing Backend structure, we could easily introduce a kind of dummy structure (perhaps
we could call it “Extra”) that would initially be empty (contain no declarations), and then arrange for it to be included in the
top-level environment by adding it to the exports specified in system/smlnj/current.cm. This would be “cleaner” than putting
it into some more or less random “visible compiler” structure like Backend.
By the way, how did you originally discover that Backend was an internal structure that was visible in the top-level environment
of the REPL (interactive system)?
Dave

On Apr 23, 2023, at 12:41 PM, dn2007hw @.***> wrote:
Many thanks John, I can confirm the 32-bit recompile is working as expected. We are good to close this issue.
Thanks
Daya
From: John Reppy @.>
Date: Sunday, 23 April 2023 at 20:01
To: smlnj/legacy @.>
Cc: Natarajan, Daya @.>, Author @.>
Subject: Re: [smlnj/legacy] cmb-make fails with random.sml - smlnj legacy 110.99.4 (Issue #277)

Caution: This email originated from a sender outside Heriot-Watt University.
Do not follow links or open attachments if you doubt the authenticity of the sender or the content.

Thanks. I think that I've sorted the signature as well now. Please try again.
—
Reply to this email directly, view it on GitHubhttps://github.com/smlnj/legacy/issues/277#issuecomment-1519133631, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXIFUWOQUZLXP22BZUDHOSTXCV4A7ANCNFSM6AAAAAAXHHJ2GA.
You are receiving this because you authored the thread.Message ID: @.***>

Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences. This email is generated from the Heriot-Watt University Group, which includes:

Heriot-Watt University, a Scottish charity registered under number SC000278
Heriot- Watt Services Limited (Oriam), Scotland's national performance centre for sport. Heriot-Watt Services Limited is a private limited company registered is Scotland with registered number SC271030 and registered office at Research & Enterprise Services Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS.

The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.
—
Reply to this email directly, view it on GitHub https://github.com/smlnj/legacy/issues/277#issuecomment-1519140901, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGXNPIFYTAQYORTW7XG553XCWAYBANCNFSM6AAAAAAXHHJ2GA.
You are receiving this because you were mentioned.

David MacQueen
@.***
—
Reply to this email directly, view it on GitHubhttps://github.com/smlnj/legacy/issues/277#issuecomment-1519305733, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXIFUWJXUPRG7UY3KOQ4N3LXCXTMFANCNFSM6AAAAAAXHHJ2GA.
You are receiving this because you authored the thread.Message ID: @.***>

My problem building legacy in the above message has been resolved.  The problem occurred because I had a stale boot.amd64-unit.tgz tarball in my legacy clone root directory.  When I deleted that file, config/install.sh worked and I was able to run base/system/fixpt successfully.  So ignore that message.


HADOOP-18103. High performance vectored read API in Hadoop

Description of PR
Add support for multiple ranged vectored read api in PositionedReadable. The default iterates through the ranges to read each synchronously, but the intent is that FSDataInputStream subclasses can make more efficient readers especially object stores implementation.
How was this patch tested?
Added new tests. Ran older test suites in ap-south-1. All good.
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[x] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

@steveloughran , @mehakmeet  So will go ahead and merge this if Yetus is okay?

as discussed in a call, I think should be merged as a merge commit of the chain, rather than through the github IDE. I will help with this; it can be done through the cli or sourcetree.

test failure hadoop.mapred.TestLocalDistributedCacheManager is mine; TestHDFSCLI is known

Other test failures seems unrelated to this
OutOfMemoryError: unable to create new native thread

./hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java:614:    final int maxReadSizeVectored = (int) longBytesOption(conf, AWS_S3_VECTOR_READS_MAX_MERGED_READ_SIZE,: Line is longer than 100 characters (found 105). [LineLength]
This is the only checkstyle which is new and can be fixed.

merged manually, closing work. great work mukund & owen, once we get this picked up it is going to deliver significant speedups. get those apachecon demos ready!


CHANGELOG link in the gemspec is broken

If you go to the gem's page on RubyGems, the CHANGELOG link is not found when you click on it.

Fixed by a9f0d83822177b2d


Can't speak Polish language in real device

Hi, there is a problem with polish speaking in android real device. I have nativescript - angular app, and in an android SDK emulator everything works properly, but not in the real device. On real device Polish words are spoken with English accent.
this.synth.speak({
  text: 'przykład',
  speakRate: 1.0,
  volume: 1.0,
  language: 'pl',
  finishedCallback: function () {},
});

Any idea why is the difference between the android SDK emulator and the real device with android?

Does the device has the same SDK installed? My first guess is the device doesn't have any knowledge of Polish for text to speech so it falls back to en-US. I would suggest searching for information on the device and how to determine if the specific android device does support polish speech and go from there.
let me know what you find. Thanks.

Oh just noticed you have language as an option, try using locale instead. See if that helps


Resized icons to fit the actual svgs

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fixes #58
Test URLs:

Original: https://www.sunstar-foundation.org/award

Before: https://main--sunstar-foundation--hlxsites.hlx.live/award

After: https://i-58-icons-fix--sunstar-foundation--hlxsites.hlx.live/award

[ ] New Blocks introduced in this PR
If yes, please provide details below

Block Name
Documentation

For e.g. cards
doc-link

[ ] New variations introduced in this PR

Variation Name
Documentation

For e.g. cards (grid)
doc-link

@ehrro I have a slight suspicion that there are misaligned icons on the sunstar.com project as well, have you seen such cases?


Notifications for NetworkStatus

@kevintaing86  could you assist me with getting this to work? I've made some progress in the networkNotify branch

We will need to determine what OS the user is using and based on that we user specific notification functions

I fixed it up should I submit a PR?

@kevintaing86  check out electron notifications and electron tray   might be good ways of implementing
Alternatively we could use
electron-notify
node-pushnotifications


[Silo Request] Goodreads.com

I noticed that today @edent has made some great progress on syndicating Schema.org data to Goodreads
Finally got the code working! You can now syndicate book reviews from your blog to Goodreads.Code: https://gitlab.com/edent/schema-to-goodreads/tree/master Write up: https://shkspr.mobi/blog/2019/12/add-review-to-goodreads-from-schema-markup/Goodreads API is trash and their ISBN lookup is flaky. But it all (mostly) works!— Terence Eden (@edent) December 26, 2019
And it seems like it may be something cool to have handled by Brid.gy so folks don't have to manage it themselves.

awesome! and ooh, it's in python, even better. agreed, i'd love to see someone tackle this! @edent's work is a great first step. here are instructions for adding a new silo to bridgy.

API TOS looks fine. looks like all calls support XML, and some also support JSON, either by URL path extension (.xml vs .json) and/or the format query param.
specific relevant calls:

get comments
post a read status
post a review
like something

haven't yet found a way to get individual likes aka ratings on a specific review or read status. here are examples in the UI though: review, read status.

Bad news, from an email I got just now:

As of December 8th 2020, Goodreads will no longer issue new developer keys for our public developer API and plans to retire these tools.

https://help.goodreads.com/s/article/Does-Goodreads-support-the-use-of-APIs says basically the same thing.

^ Closing due to this.


Does Swagger Security support custom error responses (for unauthorized requests)??

When Swagger Security determines that a given request has been unauthorized it sends back a response with a 403 status code (which is good) and a string message which seems to be the stacktrace that describes the error which was sent via the swagger security callback to denote the request was unauthorized, what has me stuck at the moment is I don't see a way to avoid this and instead send a custom response to our API consumers, we would like to send a JSON response (with status code 403) with a custom object with some properties that have information about what happened when a request to a given API method has been unauthorized. Is this possible right now in the swagger security middleware? if so please tell me how
Thanks in advance!

swagger-security sends the authorization error downstream like any other middleware error gets handled.  Here is where it happens: https://github.com/apigee-127/swagger-tools/blob/master/middleware/swagger-security.js#L73  Long story short, this is a common pattern for connect-style middleware.  This means that all you have to do is provide an error-handler middleware to receive the error and style it however you want.  Express has a very simple guide on how to do this: http://expressjs.com/en/guide/error-handling.html

Thanks whitlockjc for the clear explanation! I will give that a try

Let me know if I can help further.


Add a possibility to change style of Notes in ERD

It would be great to have a styling option for the notes in ERD. It can be a new point in the context menu that opens Note styling settings. These settings can include:

Font size
Font colour
Font style (bold, italic, underline)
Show/hide borders
Background colour

Each Note can have own styling settings and can be modified separately.

Bulletpoints ordered and unordered?

Reopened.
Window is minimized after applying of any customize option.
Also the same options are available but not applied(except background color and transparent) for tables

@Bullnados Nope. Adding any rich-text formatting is too heavy for notes. You can change only colors and font.
@uslss Fixed. Now we show only applicable styles. Issue with window minimization on some Linuxes is not related.

verified


Proposal For Copy Writing

I just checked your project and i feel it is missing out some important details like faq, about us, contact us, privacy policy etc. If i you dont mind i am available and i can write it for you.
<EMAIL_ADDRESS>

Pull requests are always welcome! Closing this issue as it's not tracking something specific.

FAQ is at https://flutter.io/faq/

What about.... About us
On Tue, May 8, 2018, 8:09 AM Günter Zöchbauer<EMAIL_ADDRESS>wrote:

FAQ is at https://flutter.io/faq/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/17108#issuecomment-387306675,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfjhQJf45-QAlxdcyfcvzaEkJXX2lVNQks5twUSzgaJpZM4TsNkx
.