Headless Chrome Not Working

On Splinter 0.7.5 following exactly what is in the documentation: http://splinter.readthedocs.io/en/latest/drivers/chrome.html?highlight=headless#using-headless-option-for-chrome
>>> from splinter import Browser
>>> browser = Browser('chrome', headless=True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/dist-packages/splinter/browser.py", line 63, in Browser
    return driver(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/splinter/driver/webdriver/chrome.py", line 28, in __init__
    self.driver = Chrome(chrome_options=options, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'headless'

The documentation applies to the master branch version of Splinter.
To install Splinter directly from github:
   pip install -e "git+git@github.com:cobrateam/splinter.git@21f714f377e161cc7321de1edbfaebd5cca28b3b#egg=splinter"

this feature was released in 0.7.6.

Where are the latest releases and changelog kept?
Latest PyPi is 0.7.5 https://pypi.python.org/pypi/splinter/
Laatest Github is 0.7.4 https://github.com/cobrateam/splinter/releases

you can see the changelog in https://splinter.readthedocs.io/en/latest/news/0.7.6.html


API Changes: Sol-str-slice #2143

Replace the caseeq keyword with case_eq
sol_str_slice_to_int() now receive a pointer to long int.
issue #1663
Changes made after #2151
Signed-off-by: Amanda Coelho<EMAIL_ADDRESS>

:+1:

merged !


Student Dashboard

Student Dashboard, where you can update student data

Photo
First Name
Password
Email

Edit Photo It's ready with JS (cropper)

@jamesperes working this issue


How to deploy based on kubernetes？

Describe your problem
How to deploy based on kubernetes? What I mean is that ragflow is currently supported to be deployed through docker-compose. When will it be supported to deploy ragflow through helm charts or yaml files?

kustomize would be nice too

@KevinHuSh Are there any updates on this feature? I have converted all the Docker Compose files to YAML format. If this feature is still being addressed, I can take care of this task and use Helm to make it easier to install on Kubernetes.

@janineguo maybe submit a PR for this? would love to have this as well!

Not any updates yet.

Not any updates yet.

I'm working on creating a helm chart for RAGFlow. I have some questions about the version of dependencies, like MySQL, redis, MinIO and so on. Whether there's a specific version of these dependencies? Or just using the latest version is OK?

Not any updates yet.

I'm working on creating a helm chart for RAGFlow. I have some questions about the version of dependencies, like MySQL, redis, MinIO and so on. Whether there's a specific version of these dependencies? Or just using the latest version is OK?

would be nice 👌

It would help to have a docker-compose / containers that run a single process /service per container i.e. server, task manager etc instead of all of them together. Once that is done a helm chart can be generated by claude.ai in minutes.
I think having services segregated in the main repo docker-compose would really help to maintain integrity.

@nakroy docker-compose.yml records the version of dependencies(MySQL, redis, MinIO, ElasticSearch)

@nakroy docker-compose.yml records the version of dependencies(MySQL, redis, MinIO, ElasticSearch)

I get it. Last two weeks I use deployments yaml files to deploy RAGFlow and it works. One little problem would be the service_conf.yaml, it needs to be dynamic created in kubernetes environment because the host of these services are used with   kubernetes service domains

I'll provide you with an idea. Use the 'docker compose config' command to export the configuration to a file, and then use the 'kompose convert -f file -o path' command to get the desired deployment, daemonset, service, and pvc. If needed, I can provide a PR after adjusting the Values file.


fix routing on npm run start

What would you like to be added:
fix duplicate routes
Why is this needed:
resolve bug
/assign

@Arhell How do you find it? I want to try it on my side.


Eas Update not working - export failed

Build/Submit details page URL
No response
Summary
I have an app that is on the app stores and I often need to update the app with small bug fixes.
I used to do Expo Publish, but now that I'm on SDK 49, I need to use eas update.
When I run that, I get the following error:
✖ Export failed
/*/node_modules/expo/bin/cli exited with non-zero code: 1
Error: update command failed.
Managed or bare?
Managed
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.4.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.16.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.5.1 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
IDEs:
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
npmPackages:
@expo/metro-config: ~0.10.0 => 0.10.7
expo: ^49.0.13 => 49.0.15
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.72.6 => 0.72.6
npmGlobalPackages:
eas-cli: 5.4.0
expo-cli: 6.3.10
Expo Workflow: bare
✔ Check package.json for common issues
✔ Validate global prerequisites versions
✔ Validate Expo Config
✔ Check for conflicting global packages in project
✔ Check for incompatible packages
✔ Check compatible dependency versions for the installed Expo SDK
✔ Verify prebuild support package versions are compatible
Didn't find any issues with the project!
Package.json:
{
"name": "***.app",
"version": "1.0.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject",
"postinstall": "patch-package"
},
"dependencies": {
"@expo/config-plugins": "~7.2.2",
"@expo/metro-config": "~0.10.0",
"@expo/prebuild-config": "~6.2.4",
"@gorhom/bottom-sheet": "^4",
"@react-native-async-storage/async-storage": "1.18.2",
"@react-native-community/datetimepicker": "7.2.0",
"@react-native-firebase/analytics": "^18.5.0",
"@react-native-firebase/app": "^18.5.0",
"@react-native-firebase/auth": "^18.5.0",
"@react-native-firebase/firestore": "^18.5.0",
"@react-native-firebase/functions": "^18.5.0",
"@react-native-firebase/storage": "^18.5.0",
"@react-navigation/material-bottom-tabs": "^6.2.16",
"@react-navigation/native": "^6.1.7",
"@react-navigation/native-stack": "^6.9.13",
"@rneui/base": "^4.0.0-rc.7",
"@rneui/themed": "^4.0.0-rc.7",
"@sentry/react-native": "5.5.0",
"@turf/turf": "^6.5.0",
"expo": "^49.0.13",
"expo-application": "~5.3.0",
"expo-av": "~13.4.1",
"expo-build-properties": "~0.8.3",
"expo-camera": "~13.4.4",
"expo-checkbox": "~2.4.0",
"expo-constants": "~14.4.2",
"expo-dev-client": "~2.4.11",
"expo-device": "~5.4.0",
"expo-file-system": "~15.4.4",
"expo-haptics": "~12.4.0",
"expo-image-manipulator": "~11.3.0",
"expo-image-picker": "~14.3.2",
"expo-linking": "~5.0.2",
"expo-location": "~16.1.0",
"expo-mail-composer": "~12.3.0",
"expo-media-library": "~15.4.1",
"expo-network": "~5.4.0",
"expo-notifications": "~0.20.1",
"expo-splash-screen": "~0.20.5",
"expo-store-review": "~6.4.0",
"expo-task-manager": "~11.3.0",
"expo-tracking-transparency": "~3.1.0",
"expo-updates": "~0.18.16",
"moment": "^2.29.4",
"patch-package": "^6.5.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.72.6",
"react-native-device-info": "^10.8.0",
"react-native-dropdown-picker": "^5.4.6",
"react-native-gesture-handler": "~2.12.0",
"react-native-google-mobile-ads": "^11.1.1",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-maps": "1.7.1",
"react-native-onboarding-swiper": "^1.2.0",
"react-native-paper": "^4.12.4",
"react-native-reanimated": "~3.3.0",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "~3.22.0",
"react-native-stars": "^1.2.2",
"react-native-vector-icons": "^9.2.0",
"react-native-webview": "13.2.2",
"react-query": "^3.39.3",
"sentry-expo": "~7.0.0",
"shorthash": "^0.0.2",
"styled-components": "^6.0.4",
"update": "^0.7.4",
"zustand": "^4.3.9"
},
"devDependencies": {
"@babel/core": "^7.19.3"
},
"resolutions": {
"@expo/config-plugins": "^7.2.2",
"@expo/prebuild-config": "^6.2.4",
"expo-modules-autolinking": "~1.5.0"
},
"private": true,
"dev": "APP_VARIANT=development expo start"
}
EAS.JSON:
{
"cli": {
"version": ">= 0.52.0"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
"env": {
"APP_VARIANT": "development"
}
},
"preview": {
"distribution": "internal",
"developmentClient": true,
"ios": {
"simulator": true
}
},
"production": {
"android": {
"buildType": "app-bundle"
},
"ios": {
"image": "macos-ventura-13.3-xcode-14.3"
}
}
},
"submit": {
"production": {
"ios": {

  }
}

}
}
Error output
✖ Export failed
/*/node_modules/expo/bin/cli exited with non-zero code: 1
Error: update command failed.
Reproducible demo or steps to reproduce from a blank project
I run eas update

hey @NOxDriver can you run
npx expo  export --output-dir dist --dump-sourcemap --dump-assetmap --platform=all and report on the output?

Hi,
Thanks for being willing to help!
Here is what I got:
Error: JavaScript engine configuration is inconsistent between app.config.js and iOS native project.
In app.config.js: Hermes is enabled
In iOS native project: Hermes is not enabled
Please check the following files for inconsistencies:

/Users/nadavossendryver/Latest Sightings Dropbox/Nadav Ossendryver/Kruger/Technology/1_Phone_App/5.inHouse/LatestSightingsApp/app.config.js
/Users/nadavossendryver/Latest Sightings Dropbox/Nadav Ossendryver/Kruger/Technology/1_Phone_App/5.inHouse/LatestSightingsApp/ios/Podfile
/Users/nadavossendryver/Latest Sightings Dropbox/Nadav Ossendryver/Kruger/Technology/1_Phone_App/5.inHouse/LatestSightingsApp/ios/Podfile.properties.json
Learn more: https://expo.fyi/hermes-ios-config
Error: JavaScript engine configuration is inconsistent between app.config.js and iOS native project.
In app.config.js: Hermes is enabled

In iOS native project: Hermes is not enabled
Please check the following files for inconsistencies:

/Users/nadavossendryver/Latest Sightings Dropbox/Nadav Ossendryver/Kruger/Technology/1_Phone_App/5.inHouse/LatestSightingsApp/app.config.js
/Users/nadavossendryver/Latest Sightings Dropbox/Nadav Ossendryver/Kruger/Technology/1_Phone_App/5.inHouse/LatestSightingsApp/ios/Podfile
/Users/nadavossendryver/Latest Sightings Dropbox/Nadav Ossendryver/Kruger/Technology/1_Phone_App/5.inHouse/LatestSightingsApp/ios/Podfile.properties.json
Learn more: https://expo.fyi/hermes-ios-config
at Object.maybeThrowFromInconsistentEngineAsync (/Users/nadavossendryver/Latest Sightings Dropbox/Nadav Ossendryver/Kruger/Technology/1_Phone_App/5.inHouse/LatestSightingsApp/node_modules/@expo/dev-server/build/HermesBundler.js:124:11)
at async assertEngineMismatchAsync (/Users/nadavossendryver/Latest Sightings Dropbox/Nadav Ossendryver/Kruger/Technology/1_Phone_App/5.inHouse/LatestSightingsApp/node_modules/@expo/cli/build/src/export/fork-bundleAsync.js:24:5)
at async Promise.all (index 0)
at async Object.bundleAsync (/Users/nadavossendryver/Latest Sightings Dropbox/Nadav Ossendryver/Kruger/Technology/1_Phone_App/5.inHouse/LatestSightingsApp/node_modules/@expo/cli/build/src/export/fork-bundleAsync.js:29:5)
at async Object.createBundlesAsync (/Users/nadavossendryver/Latest Sightings Dropbox/Nadav Ossendryver/Kruger/Technology/1_Phone_App/5.inHouse/LatestSightingsApp/node_modules/@expo/cli/build/src/export/createBundles.js:39:21)
at async Object.exportAppAsync (/Users/nadavossendryver/Latest Sightings Dropbox/Nadav Ossendryver/Kruger/Technology/1_Phone_App/5.inHouse/LatestSightingsApp/node_modules/@expo/cli/build/src/export/exportApp.js:64:21)
at async exportAsync (/Users/nadavossendryver/Latest Sightings Dropbox/Nadav Ossendryver/Kruger/Technology/1_Phone_App/5.inHouse/LatestSightingsApp/node_modules/@expo/cli/build/src/export/exportAsync.js:45:5)

What should I do?

Oh interesting... usually when that happens it's due to the app not being configured correctly. Could you check that everything is configured correctly using the guide here: https://docs.expo.dev/eas-update/debug/

What solved my issue was to run the following command
npx expo start -c
then eas update

Closed due to inactivity

Do we have any solution for this ?

i couldnt find solution yet..

@serkanbilsel I'm having same issue

Hi,
I found a solution.
Steps for fix:
1 - Add environment variable in bashrc ”export NODE_OPTIONS=--max-old-space-size=8192”
2 - Before run eas update, run this command in your terminal: export NODE_OPTIONS=--max-old-space-size=8192
3 - After step 2, run eas update!
This is worked for me. OBS: I use linux, so, I tested only on linux!


Creating offer as SU

As an superuser,
I want to have adequate fixtures,
In order to create a new offer
Context: As superuser I want to be able to create a new offer, eg. for training purposes.

CC: @riv2q

It should be done for developers, but most probably it will be done as a django's manage.py command.


Get Unity activation file

Can't see the actions run, even though configured to happen on push, so let's try a PR...

Ugh, wrong directory 🤦


Improve performance of type literals / instantiations

Currently the Dart VM compiles uses of uninstantiated type literals, such as
class X<T> {
  Type get getTypeLiteral => T;
}

into
   v3 <- LoadField(v2 . :type_arguments {final}) T{TypeArguments}
   v5 <- InstantiateType:12(X0, instantiator_type_args(v3), function_type_args(v0)) T{*?}
   Return:16(v5)

This InstantiateType will always perform a runtime call.
We should optimize the implementation of InstantiateType in the VM to avoid runtime calls whenever possible.
/cc @gaaclarke

@gaaclarke Could you find out what the Dart code in flutter looks like that causes those runtime calls? It would help ensuring any optimizations cover that case.

Here are the places I found it in the framework.  Some of them sound pretty fundamental.  I'll see if I can figure out who is the culprit but it's a bit difficult since the stacktrace is truncated  at Precompiled_Stub_CallToRuntime for some reason:

https://github.com/flutter/flutter/blob/f5f9ad915e554283ccff109fed969d9ef255fb91/packages/flutter/lib/src/foundation/key.dart#L112:L112
https://github.com/flutter/flutter/blob/f5f9ad915e554283ccff109fed969d9ef255fb91/packages/flutter/lib/src/widgets/localizations.dart#L132:L132
https://github.com/flutter/flutter/blob/f5f9ad915e554283ccff109fed969d9ef255fb91/packages/flutter/lib/src/foundation/basic_types.dart#L237:L237
https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/widgets/actions.dart#L213:L213
https://github.com/flutter/flutter/blob/f5f9ad915e554283ccff109fed969d9ef255fb91/packages/flutter/lib/src/widgets/actions.dart#L767:L767
https://github.com/flutter/flutter/blob/f5f9ad915e554283ccff109fed969d9ef255fb91/packages/flutter/lib/src/widgets/actions.dart#L796:L796
https://github.com/flutter/flutter/blob/f5f9ad915e554283ccff109fed969d9ef255fb91/packages/flutter/lib/src/widgets/actions.dart#L727:L727
https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/foundation/diagnostics.dart#L2836:L2836

I put print statements around all the usages listed in https://github.com/dart-lang/sdk/issues/48757#issuecomment-1091962607 and none of those are the things that are getting called with each build.  There must be another construct that leads to InstantiateType  I tried putting print statements around things like Type type = foo.runtimeType as well.  I could not find it.
I briefly looked at CallToRuntime to figure out why it is truncating my stacktrace, that seems like a bug too.  I see that it's making a new frame, maybe that resetting it.  This quickly got beyond me.

This is really helpful, thanks @gaaclarke! It seems that all those usages are simply using T as the type literal, which we can add a fast case for rather easily. I may look into doing that.

Have sent out [cl/]241968](https://dart-review.googlesource.com/c/sdk/+/241968) for review, which should make the cases mentioned above in the links very fast (10x+ faster than currently)

On startup of a large internal application we hit DRT_InstantiateType 1020 times has the following breakdown:
dart::DRT_InstantiateType (runtime_entry.cc)
1,020	100.00%	Stub_CallToRuntime
	1,020	100.00%	Stub_InstantiateType
		642	62.94%	Element.dependOnInheritedWidgetOfExactType_1483
		125	12.25%	Element.getElementForInheritedWidgetOfExactType_7011
		124	12.16%	AnnotatedRegionLayer.findAnnotations_39092
		57	5.588%	Element.findAncestorWidgetOfExactType_40699

there are few other call-sites with lower counts. I think these should all be hit by @mkustermann optimization.

The most common cases should be handled now and since there's no other immediate work in this area planned, I'll close this issue for now.

This gave us a ~7% reduction in our build microbenchmarks: https://flutter-flutter-perf.skia.org/e/?end=1651129200&queries=sub_result%3Dstock_build_iteration%26sub_result%3Dstock_build_iteration_probability_5pct


setting EmailVerification/Enable to true in identity.xml not reflected in UI

uncommenting the block for EmailVerification, setting Enable to true, and restarting the server is populating all other relevant fields, but not checking the box to enable:
<EmailVerification>
  <Enable>true</Enable>
  <ExpiryTime>1440</ExpiryTime>
  <LockOnCreation>true</LockOnCreation>
  <Notification>
    <InternallyManage>true</InternallyManage>
  </Notification>
  <AskPassword>
    <ExpiryTime>1440</ExpiryTime>
    <PasswordGenerator>org.wso2.carbon.user.mgt.common.DefaultPasswordGenerator</PasswordGenerator>
  </AskPassword>
</EmailVerification>

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


memory exceed !

can anyone explain why this bug happened ? how can I solve ? I am using cornerstone viewport and i just load image ids and tools to and Viewport mange request and other aspects ?! so why this bug happened ?

you got any solution its happening in edge or chrome why happening i don't even we setting   cornerstone.imageCache.setMaximumSizeBytes(maxSizeInBytes); also and i using purgecatch but when large frame its there its crashing

hello mdimranpatel250

hello mdimranpatel250
I also encountered the same problem. Have you solved it? How

Regularly clear cornerstone memory
Or use Firefox browser
On Tue, 13 Aug, 2024, 7:45 am Seeker, @.***> wrote:

hello mdimranpatel250
I also encountered the same problem. Have you solved it? How
—
Reply to this email directly, view it on GitHub
https://github.com/cornerstonejs/cornerstone/issues/592#issuecomment-2285212784,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQVGUTANXUPAPEMEMYNDUK3ZRFT2JAVCNFSM6AAAAABMNIU366VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBVGIYTENZYGQ
.
You are receiving this because you commented.Message ID:
@.***>

Regularly clear cornerstone memory

How to clear memory regularly? It's by reload?

Performance. Memory
Check how much heap allocation is through this api allocated to cache image
40% to 50%
Cornerstone. Imagecahe. Setmaximusizebytes()
On Wed, 11 Sept, 2024, 4:21 pm Seeker, @.***> wrote:

Regularly clear cornerstone memory
How to clear memory regularly? It's by reload?
—
Reply to this email directly, view it on GitHub
https://github.com/cornerstonejs/cornerstone/issues/592#issuecomment-2343302662,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQVGUTAPH2EY26ESAFN55B3ZWAODBAVCNFSM6AAAAABMNIU366VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBTGMYDENRWGI
.
You are receiving this because you commented.Message ID:
@.***>

This repository/library is deprecated and no longer maintained. Please use Cornerstone3D and refer to the migration guides.


Test to see that timers respond to isValid prior to calling isValid

The timers are being destroyed.  Should test for isValid using respondsToSelector and if that fails, DSLog the type of object (or whatever) the timer object has become and NSAlert the user that CP is about to crash and ask the user to provide full details of the crash and/or post on the forums

Good idea, I'll put the whole check and invalidate in a category
method, so we can easily use it everywhere.
Sent from my iPhone
On 16 Dec 2011, at 14:01, Dustin Rue
<EMAIL_ADDRESS>wrote:

The timers are being destroyed.  Should test for isValid using respondsToSelector and if that fails, DSLog the type of object (or whatever) the timer object has become and NSAlert the user that CP is about to crash and ask the user to provide full details of the crash and/or post on the forums

Reply to this email directly or view it on GitHub:
https://github.com/dustinrue/ControlPlane/issues/99

Might be useful - http://stackoverflow.com/questions/4936261/retaining-repeating-nstimer-for-later-access

I wrote a small program to test this, it should work fine.
You can't call any method on an object pointer that is invalid, so respondsToSelector wouldn't have helped. With retain and this checkAndInvalidate (which also releases) things should work better.
I still find this weird that I never had this crash... (I could recreate it in the small test program easily).


Feature/cax portal@cplp 200 & cplp 327: refactoring of registration service, bulk creation of users

Enabling for https://jira.catena-x.net/browse/CPLP-200 Users Bulk Upload
https://jira.catena-x.net/browse/CPLP-327 Refactor Registration Service

@TobiScw Could you please review the backend changes?
@vsamarora  Could you please review the frontend changes?

did double-check and some minor cleanup: https://github.com/tractusx-team-portal-onboarding/tractusx/pull/129
as soon this is (also double-checked) merged, I'm fine with merging this PR into feature/CAX-portal


ALINE doesn't appear in some circumstances

Reported by hankin on 12 Jun 2000 17:14 UTC
May be demonstrated by removong the line
ppl plot/over    ! needs 2 times to get aline to work - don't know why
from the script right_axis_plot.jnl and then running multi_variable_demo.jnl
Consequences (presumably) of this problem reported by Roelof Burger
<EMAIL_ADDRESS>in messages "Re: multi_yaxis_overlay - bug?" 5-6/2000
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/78

Comment by<EMAIL_ADDRESS>on 11 Apr 2001 16:45 UTC
Date:
Wed, 11 Apr 2001
Hi Ferreters,
Object: PPL ALINE
The ppl aline command with the nouser qualifier
seems not to work properly when horizontal axis is time.
To illustrate:

let a=i[a
ppl aline/nouser 1,2,7,5,3 ! this ok for now
message "this is ok: plot + line"
let a=l[l=1:100](i=1:100]
plot)
def axis/t=15-JAN-1970:15-DEC-1980/npoints=100 tyty ! define a dummy time axis
let b=a[gt=tyty@asn]
plot b
ppl aline/nouser 1,2,7,5,3
message "this is not ok: plot + line put at a wrong place"

Thanks for any help.
Regards
Patrick

Comment by<EMAIL_ADDRESS>on 21 Oct 2003 20:15 UTC
Moving from the<EMAIL_ADDRESS>user to the<EMAIL_ADDRESS>user.

Comment by<EMAIL_ADDRESS>on 31 Oct 2003 22:39 UTC
*** Bug 163 has been marked as a duplicate of this bug. ***

Comment by<EMAIL_ADDRESS>on 3 Nov 2003 23:09 UTC
reassign to Ansley


Comments and suggestions about speed (purgeCSS & local assets)

The Eureka theme looks great but feels quite slow. According to Google's benchmark:

It can take a few seconds to fully load the page, which is quite painful. The main reasons seem to be 1) render blocking resources and 2) unused CSS.
I think that there are a few low-hanging fruits that could improve significantly improve speed. For instance, look at the following coverage map:

Here are a few ideas to improve things. I already tried some of them with encouraging results and I'm happy to open a PR (but I would need some help since I'm not a Hugo expert):

Eliminate unused CSS with a tool like PurgeCSS. eureka.min.css is truly enormous: 3.9M! I ran PurgeCSS by hand on my website and it reduced this file down to 12K. I'm not sure how to integrate it into the theme with Hugo pipes, but this resource might help: https://github.com/dirkolbrich/hugo-theme-tailwindcss-starter#how-does-that-work-anyway
Remove unused JS dependencies. It seems that HighlightsJS is always loaded even if we don't use syntax highlighting.
Give the option to serve JS libraries and fonts locally. For people who already serve their website over a CDN, it makes little sense to make another request to Google Fonts or JSDelivr.net (even if these websites are fast, the DNS+SSL handshake takes time and seems unnecessary). Here is an example where I tweaked Eureka to serve these assets locally: https://github.com/tholop/hugo-eureka. Also, it is better for privacy.
Only load the necessary icons from FontAwesome, instead of dumping a 1.2M .js file. I'm not sure if it's a good idea but we could look into the CSS version of FontAwesome, host it locally and prune it with PurgeCSS to only serve the icons that are actually used.

Thanks for reading and let me know what you think!

Ran into a similar issue. For 1, I was able to get this working locally by copying the files from the 'assets/css' folder into my root folder then updating the postcss.config.js to the following:
const themeDir = __dirname + '/../../'

module.exports = {
  plugins: [
    require('postcss-import')({
      path: [themeDir],
    }),
    require('tailwindcss')(themeDir + 'assets/css/tailwind.config.js'),
    require('autoprefixer')({
      path: [themeDir],
    }),
    require('@fullhuman/postcss-purgecss')({
      // see https://gohugo.io/hugo-pipes/postprocess/#css-purging-with-postcss
      content: ['./hugo_stats.json'],
      defaultExtractor: (content) => {
        let els = JSON.parse(content).htmlElements
        return els.tags.concat(els.classes, els.ids)
      },
    }),
  ],
}

and updating the config/_default/config.yaml with this:
build:
  writeStats: true

hugo --minify now minifies my css file to 12KB vs 4MB.

We can tree shake the FA icons by adding the following:
assets/js/font-awesome-min.js:
import {
  faCoffee,
  faUser,
  faGlobe,
  faAdjust,
  faSun,
  faMoon,
  faBars,
  faUserCircle,
  faCaretRight,
  faThList,
  faFolder,
  faClock,
  faCalendar,
  faEdit,
  faRss,
  faEnvelope,
} from '@fortawesome/free-solid-svg-icons'
import {library, dom} from '@fortawesome/fontawesome-svg-core'
import {
  faGithub,
  faLinkedin,
  faTwitter,
} from '@fortawesome/free-brands-svg-icons'

library.add(
  faCoffee,
  faUser,
  faGlobe,
  faAdjust,
  faSun,
  faMoon,
  faBars,
  faUserCircle,
  faCaretRight,
  faThList,
  faFolder,
  faClock,
  faCalendar,
  faEdit,
  faGithub,
  faRss,
  faEnvelope,
  faTwitter,
  faLinkedin,
)
dom.i2svg()

Updating the head: layouts/partials/head.html to include our script instead of the FA cdn script:
{{ $js := resources.Get "js/font-awesome-min.js" | js.Build "fa.min.js"}}
<script defer type="text/javascript" src="{{ $js.RelPermalink }}"></script>

And adding some deps to package.json (there might be a few packages that can be removed):
...
  "dependencies": {
    "@fortawesome/fontawesome-free": "^5.15.4",
    "@fortawesome/fontawesome-svg-core": "^1.2.36",
    "@fortawesome/free-brands-svg-icons": "^5.15.4",
    "@fortawesome/free-regular-svg-icons": "^5.15.4",
    "@fortawesome/free-solid-svg-icons": "^5.15.4"
  }
}

All these changes improve my lighthouse score:
Before:

After:

Hi all,

Eliminate unused CSS with a tool like PurgeCSS. eureka.min.css is truly enormous: 3.9M!

Eureka is supposed to purge css by default, but I found that the resources had been changed by a previous PR which made the css so large. And I have fixed this in 4aaf514. Since this would greatly improve the performance, I also released a new patch version 0.8.4.
I agree with point 2 and 3. And I think @cfu288 's solution of point 4 is pretty decent. Since I am not very familiar with font awesome, I will dive into point 4 and see want we can do to improve it. Any PR is also welcome.
Thanks all for your advices and contributions to Eureka ;-)

Hey thanks @wangchucheng for making such a great theme!
My comment above for #4 was just a quick fix I used locally to minimize the bundle for my site. The only problem with my approach is that I'm hard coding the icons users can import so I can tree shake, but theoretically users may want to import any icon like in the authors section:
'''
social:

icon: envelope
iconPack: fas
url<EMAIL_ADDRESS>icon: twitter
iconPack: fab
url: https://example.com/
icon: github
iconPack: fab
url: https://example.com/
'''

I haven't figured out a way to make these imports dynamic while still supporting tree shaking yet which is why I haven't tried to make a PR (also I'm sort of new to Hugo)

Yes, that is a issue so I have not changed this. For now, I do not have a concise way to import dynamically. So if anyone has ideas, please fell free to post it.
在 2021年11月10日，12:03，Chris Fu @.***> 写道：

Hey thanks @wangchuchenghttps://github.com/wangchucheng for making such a great theme!
My comment above for #4https://github.com/wangchucheng/hugo-eureka/issues/4 was just a quick fix I used locally to minimize the bundle for my site. The only problem with my approach is that I'm hard coding the icons users can import so I can tree shake, but theoretically users may want to import any icon like in the authors section:
'''
social:

icon: envelope
iconPack: fas
url<EMAIL_ADDRESS>icon: twitter
iconPack: fab
url: https://example.com/
icon: github
iconPack: fab
url: https://example.com/
'''

I haven't figured out a way to make these imports dynamic while still supporting tree shaking yet which is why I haven't tried to make a PR (also I'm sort of new to Hugo)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/wangchucheng/hugo-eureka/issues/141#issuecomment-965549375, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJEXGNCG6PKDZOSE55C7VTLULKQVLANCNFSM5GT2ZI2Q.

An update on this: Eureka now reduce Font Awesome size with tree shaking in 89c48bd. Based on the icons we have used now, Font Awesome JS will be ~50kb instead of ~1.2mb.


docs: JavaScript in JSX with Curly Braces

Closes #425
Description
Translate the JavaScript in JSX with Curly Braces  page.
Page URL: JavaScript in JSX with Curly Braces

@naufaldi need to resolve the requests from @resir014

@naufaldi Hi, any updates? If there are no updates within the next 24 hours, the maintainers will take over this PR.


Do not prebuild projects that don't have .csproj file

In prebuild script used by the Binder, we try to do dotnet build on all katas and tutorials listed in https://github.com/microsoft/QuantumKatas/blob/main/Dockerfile, regardless of whether they actually have a .csproj file to build:
https://github.com/microsoft/QuantumKatas/blob/a8437af4a1a06d24e6dd0bf915acaef0a4f0a045/scripts/prebuild-kata.sh#L7
We have several tutorials, ComplexArithmetic and LinearAlgebra, which are Python-based, and don't have an underlying .csproj file, so prebuilding them yields errors which look confusing in Binder log. It would be nice to check whether the folder has a .csproj file and run dotnet build only if it does, skipping that step otherwise. (The next line, jupyter nbconvert, should be executed regardless, since all prebuilt katas and tutorials have a Notebook frontend.)

@tcNickolas  Hi, I'd like to work on this issue. If it isn't assigned already, can you please assign this to me?

@deepto98 Sure! I recommend holding off the pull request for 24 hours to make sure it qualifies for Hacktoberfest :-)

@tcNickolas I added this check in this PR (https://github.com/microsoft/QuantumKatas/pull/667). Do let me know if this would work.
😃

Yes, that looks like it works :-) Thank you!

You're welcome. I want to contribute more to the project, do let me know if there are any other issues I can work on.


Automatic mapping

This PR corrects a small error in one test and adds a badge on README for the "mapping & testing" workflow.

Automatic mapping and testing workflow gives green light 🟢  merging is possible.


chore: pre-commit autoupdate [ci skip]

:tada: This PR is included in version 1.5.0-develop.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Pso gdc live

Pull Request Template
Please, go through these steps before you submit a PR.

Make sure that your PR is not a duplicate.

Before submitting the PR, review your changes:

Adjust the code to the existing style.
Add a set of unit tests for the changes and ensure they all pass.
Add accompanying README.md file with instructions on usage. See awesome-readme for good examples of high-quality READMEs.
Add a link to your contribution in the top-level README (alpha-order).
Add Apache 2.0 license headers with an up-to-date copyright date attributed to Google LLC.
Remove unnecessary LICENSE files. There's no need to include an additional license since all repository submissions are covered by the top-level Apache 2.0 license.
For new tools/examples, file your project with the PSO Engineering Council.

After these steps, you're ready to open a pull request.

Give a descriptive title to your PR.
Provide a description of your changes.
Include the Engineering Council bug ID with your pull request.
Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).

PLEASE REMOVE THIS TEMPLATE BEFORE SUBMITTING

lgtm! Thanks!


BUG: Recurring Donations with -none- for the Open Ended Status exhibit weird behavior.

Here is the original hub thread related to this: https://powerofus.force.com/0D58000001YDhPV
Here is the original bug we fixed related to this: bug #1114. https://github.com/SalesforceFoundation/Cumulus/issues/1114
Also related to bug #1246 https://github.com/SalesforceFoundation/Cumulus/issues/1264
Here are updated reproduceable instructions (from the post):
Jeff Issenberg (Exponent Partners)
I've just run into this again so I did some more systematic testing. I seem to be getting this result when I choose "--None--" which is different than choosing "None" for the Open Ended Status. Do others get the same result? I've got Donations listed in the Recurring Donation's Donations related list. When I open any of these donations I get "Record deleted". Then 4 minutes later when I open the records they are there!! Strange.

Included in beta release version 3.35 (Beta 13) and higher

Included in production release version 3.35


rebuild web gui with open ui 5

[x] complete keremkoseoglu/kifu#97
[ ] architecture: old web should be available (via databus.json)
[ ] rebuild databus web

too much effort with too little value-add.


Klaw does not automatically show promoted topics in new environments

Hi everyone,
we have found a bug with the newest version of klaw when we promote topics from one environment to the next one.
We are using one Kafka cluster per environment and when we promote topics the promotion travels to the kafka cluster
however it is not reflected in klaw (ui) and we need to synchronize the topic back manually.
Steps to replicate

setup Klaw

add two different aiven clusters in two different projects

add multiple teams to requestor and approver

setup promotion order in klaw tenant

create topic

promote topic from one cluster to another (from on environment to second)

Outcome:
Topic is successfully created on the target cluster but does not show in klaw UI, only the promotion request and approval are visible
Expected outcome:
Topic is successfully created on the target cluster and is synced back to klaw under same team as the original owner team

Closing this issue, as it's fixed.


Add game category to AndroidManifest

The category is used by some launchers to categorize the app icons.

Interesting. Problem is that not all apps made with libGDX are games and having it as a default is not a good idea. I guess the proper solution would be to have a checkbox on the gdx-setup app but I'm afraid it may be a hard sell considering that, at the moment, these settings are for a very niche set of devices afaik.

I know not all applications made with libgdx are games, but after all, it still is a game development framework and I am sure developers making non-games are reviewing and changing the manifest anyway.

I think more people are making games with libgdx than those who are not. Seems like a sensible default.


All not valid CT-CT report

Now this is part of the Validation Report pages. Here's the case for Pancreas https://hubmapconsortium.github.io/ccf-validation-tools/Pancreas/#relationship-ct-ct-report


youtube option don't work

Are you using the latest version of the program? v0.15.0

I was with the lasted I'm downloading the new update


deprecate kubermetes-release bucket

This PR replaces references of https://storage.googleapis.com/kubernetes-release with https://dl.k8s.io/.
https://github.com/kubernetes/k8s.io/issues/2396

Can someone please take a look at this PR?

Sorry I missed this. We shouldn't just be updating stuff inside the vendor/ directory - is there a new release of sigs.k8s.io/testing_frameworks?


Put something in useful in footer

Put links to the github page, docs, contributors etc.

v0.9.08


UI Issue in search bar in order section at customer's end.

Bug Report
Issue Description
the "x" icon in the search bar is overlapping the "search icon" in order's section
Bagisto Version

[x] master branch
[ ] 1.3.3
[ ] 1.3.2
[ ] 1.3.1
[ ] 1.3.0

Steps To Reproduce

Place an order
Go to order section and type something in the search bar.

Actual Result

Expected Result
The "x" icon should not overlap

Can't reproduce issue.


AWS Cognito userPoolClient keeps updating with no visible diffs

What happened?
We have a bunch of userPoolClient provisioned through pulumi that we use for m-2-m auth. Since we created them, every time we do a pulumi up we see an update for each one of them in the plan.
The details don't show anything really, except for a generic update next to the resource (like ~aws:cognito/userPoolClient:UserPoolClient: (update))
The good news is that this is not creating any issue in aws, as nothing really changes. The bad ones is that it takes ages (~2.4h) to push any update in our production env where we have ~100 of these clients.
Example
Resources for the stack
POOL_NAME = f"pool-{stack}"
POOL_SCOPE_NAME = f"access-{stack}"

user_pool = aws.cognito.UserPool(
    resource_name=POOL_NAME,
    name=POOL_NAME,
    mfa_configuration="OFF",
    username_attributes=["email"],
    auto_verified_attributes=["email"],
)

user_pool_resource_server = aws.cognito.ResourceServer(
    resource_name=f"{POOL_NAME}-resource-server",
    name=f"{POOL_NAME}-resource-server",
    identifier=f"{POOL_NAME}-resource-server",
    user_pool_id=user_pool.id,
    scopes=[
        aws.cognito.ResourceServerScopeArgs(
            scope_description="machine access", scope_name=POOL_SCOPE_NAME
        )
    ],
)

user_pool_domain = aws.cognito.UserPoolDomain(
    resource_name=f"{POOL_NAME}-user-pool-domain",
    domain=f"{POOL_NAME}",
    user_pool_id=user_pool.id,
)

Resource for the client (one for each client):
    cognito_app_client = aws.cognito.UserPoolClient(
        resource_name=f"{POOL_NAME}-app-client",
        name="app",
        user_pool_id=user_pool.id,
        generate_secret=True,
        access_token_validity=24,
        id_token_validity=24,
        enable_token_revocation=True,
        explicit_auth_flows=["ALLOW_REFRESH_TOKEN_AUTH"],
        allowed_oauth_flows=["client_credentials"],
        allowed_oauth_scopes=user_pool_resource_server.scope_identifiers,
        allowed_oauth_flows_user_pool_client=True,
    )

Output of pulumi about
CLI
Version      3.94.2
Go Version   go1.21.3
Go Compiler  gc

Plugins
NAME        VERSION
auth0       2.24.1
aws         6.2.0
aws-native  0.78.0
python      unknown
random      4.14.0
tailscale   0.13.2

Host
OS       darwin
Version  14.1.1
Arch     arm64

This project is written in python: executable='/Users/luca/.pyenv/shims/python3' version='3.10.4'

Backend
Name           luca-Macbook-M2.local
URL            s3://orcamobility-pulumi-state
User           luca
Organizations
Token type     personal

Dependencies:
NAME               VERSION
pip                23.3.1
pulumi-auth0       2.24.1
pulumi-aws         6.2.0
pulumi-aws-native  0.78.0
pulumi-random      4.14.0
pulumi-tailscale   0.13.2
setuptools         69.0.2
wheel              0.41.3

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

I swear I searched for it before opening mine and could find anything lol. Thanks for the pointer @justinvp , it looks like the exact same issue we are hitting!

Sorry you had this issue @lucabergamini and thanks for the repro!
I had a quick go at debugging this but unfortunately don't have a workaround yet. It looks like the problematic properties are analytics_configuration and token_validity_units. I tried setting them in ignore_changes but it doesn't seem to help = (
Here are the GRPC logs from the diff:
{
    "method": "/pulumirpc.ResourceProvider/Diff",
    "request": {
        "id": "2talj499aj6o403njn2dr6lof1",
        "urn": "urn:pulumi:dev1::cognito::aws:cognito/userPoolClient:UserPoolClient::pool-dev1-app-client",
        "olds": {
            "accessTokenValidity": 24,
            "allowedOauthFlows": [
                "client_credentials"
            ],
            "allowedOauthFlowsUserPoolClient": true,
            "allowedOauthScopes": [
                "pool-dev1-resource-server/access-dev1"
            ],
            "authSessionValidity": 3,
            "callbackUrls": [],
            "clientSecret": "e4fhc9b8l52b8ogk4gbpvfkpq13apfshfat4ncfo5mvaov3ng37",
            "defaultRedirectUri": "",
            "enablePropagateAdditionalUserContextData": false,
            "enableTokenRevocation": true,
            "explicitAuthFlows": [
                "ALLOW_REFRESH_TOKEN_AUTH"
            ],
            "generateSecret": true,
            "id": "2talj499aj6o403njn2dr6lof1",
            "idTokenValidity": 24,
            "logoutUrls": [],
            "name": "app",
            "preventUserExistenceErrors": "",
            "readAttributes": [],
            "refreshTokenValidity": 30,
            "supportedIdentityProviders": [],
            "userPoolId": "us-west-2_bnqFDRKnh",
            "writeAttributes": []
        },
        "news": {
            "accessTokenValidity": 24,
            "allowedOauthFlows": [
                "client_credentials"
            ],
            "allowedOauthFlowsUserPoolClient": true,
            "allowedOauthScopes": [
                "pool-dev1-resource-server/access-dev1"
            ],
            "enableTokenRevocation": true,
            "explicitAuthFlows": [
                "ALLOW_REFRESH_TOKEN_AUTH"
            ],
            "generateSecret": true,
            "idTokenValidity": 24,
            "name": "app",
            "userPoolId": "us-west-2_bnqFDRKnh"
        },
        "ignoreChanges": [
            "analyticsConfiguration",
            "tokenValidityUnits",
            "tokenValidityUnits",
            "analyticsConfiguration"
        ],
        "oldInputs": {
            "accessTokenValidity": 24,
            "allowedOauthFlows": [
                "client_credentials"
            ],
            "allowedOauthFlowsUserPoolClient": true,
            "allowedOauthScopes": [
                "pool-dev1-resource-server/access-dev1"
            ],
            "enableTokenRevocation": true,
            "explicitAuthFlows": [
                "ALLOW_REFRESH_TOKEN_AUTH"
            ],
            "generateSecret": true,
            "idTokenValidity": 24,
            "name": "app",
            "userPoolId": "us-west-2_bnqFDRKnh"
        }
    },
    "response": {
        "changes": "DIFF_SOME",
        "diffs": [
            "analyticsConfiguration",
            "tokenValidityUnits"
        ]
    },
    "metadata": {
        "kind": "resource",
        "mode": "client",
        "name": "aws"
    }
}

Both these properties are defined as ListNestedBlocks in the upstream schema with a SizeAtMost(1) validator: https://github.com/hashicorp/terraform-provider-aws/blob/66dcdb554936952190b046164cf09b82ae5f5d8b/internal/service/cognitoidp/user_pool_client.go#L297C1-L297C1

I agree with @justinvp. I'm closing this issue as a duplicate of https://github.com/pulumi/pulumi-aws/issues/2868.


delete nested views when a mount is deleted

This is the first, simpler, part of the fix for #1448, cleaning up when a mount is deleted so that no strange directory is left behind containing only the views.
Wanted to get this merged since this is the part that impacts the frontend most directly. Another PR will follow with the change to move nested views when a mounts is MOVEd. That change will be  a bit more involved because it will require a new term in the Mounting algebra.

Current coverage is 65.83% (diff: 100%)

Merging #1492 into master will increase coverage by 0.02%

@@             master      #1492   diff @@
==========================================
  Files           308        308
  Lines         14281      14285     +4
  Methods       13931      13934     +3
  Messages          0          0
  Branches        209        210     +1
==========================================
+ Hits           9398       9404     +6
+ Misses         4883       4881     -2
  Partials          0          0

Powered by Codecov. Last update cfd454d...c25304c


Fix: sync broadcast to peers

Description
blocking peers from being added or removed in the broadcast loop
Changes include

[x] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

[x] I have assigned this PR to myself
[x] I have added at least 1 reviewer
[x] I have added the relevant labels
[ ] I have updated the official documentation
[ ] I have added sufficient documentation in code

Testing

[x] I have tested this code with the official test suite
[ ] I have tested this code manually

I have to say, you shouldn't change this logic just to satisfy unit tests.
The average block time would not be 2 seconds when broadcasting synchronously to to all your peers .


cooklang-parser on the linux command line

Hello @biowaffeln,
I would like to use your cooklang-parser on the linux command line. How can I achieve that?
Thanks for your support and best regards.

Hi! This project is just a couple of TypeScript files, you can use the code in Node.js and create a CLI app with it. I haven't published it on npm yet... for now you'd have to copy-paste it.
What's the use-case you have in mind? If you just want to organise your recipes, generate shopping lists, etc. you can use the official cooklang CLI for that: https://github.com/cooklang/CookCLI

Alright, so I went ahead and published the package on npm so it's easier to get started: https://www.npmjs.com/package/cooklang-parser
Here's a good blog post for how to get started with Node.js CLIs:
https://developer.okta.com/blog/2019/06/18/command-line-app-with-nodejs
What cooklang-parser does is take a recipe and return an object containing the recipe information (if you go to the demo and click on "AST", you'll see what it looks like). So essentially what you have to do is:

read the recipe from the file system
parse it with cooklang-parser
generate HTML from the parsed result
write the HTML to the disc

Here's how I generate the markup in my demo, might be useful as a reference (I'm using React): https://github.com/biowaffeln/cooklang-parser/blob/main/demo/src/components/RecipeRenderer.tsx#L42
Hope that helps, let me know if you have any questions!

@biowaffeln, thanks for these instructions. Now I managed to learn that much of JavaScript and node.js, that I could set up a program which executes step 1 and 2. Also I am sure that I will be able to realize step 4. But with step 3, I cannot find a way to integrate your RecipeRenderer. As I find the output generated by this renderer very good, and do not want to reinvent the wheel, I would appreciate to learn from you, how to use it in my JavaScript program. Can you help me there?

Ok so what you want to do is go over the steps/ingredients/cookware-array and concatenate them together into a single string. One way you could do that is with a couple of for loops, here's an example for how you could do it for the steps:
function generateSteps(recipe) {
  let content = ""

  for (let step of recipe.steps) {
    // we put each step into its own p tag
    content += `<p class="step">`

    // we put each token inside a step into its own span tag
    for (let token of step) {
      if(step.type === "text")
        content += `<span class="text">${step.value}</span>`
      if(step.type === "ingredient")
        content += `<span class="ingredient">${step.name}</span>`
      // ...
    }

    // don't forget to close the tag!
    content += "
"
  }

  return content;
}

const html = `

    <title>${recipe.metadata.title}</title>

  ${generateSteps(recipe)}

`

The code for the ingredients, cookware, etc. would look very similar.

@biowaffeln, thanks for these hints. This works for metadata, ingredients, and cookware. But especially for steps it does not work. The output of the cooklang-parser for steps looks like this:
steps: [
    [
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object]
    ],
    [ [Object], [Object], [Object], [Object], [Object], [Object] ],
    [
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object]
    ],
    [ [Object] ],
    [ [Object], [Object] ],
    [ [Object], [Object] ],
    [ [Object], [Object], [Object], [Object], [Object] ]
  ]

So I don't know how to handle this.
The other question is: is there no way to make the RecipeRenderer a CLI app? That would shorten the way to get recipes in HTML format a lot.

Ohh I just realised I had a typo in my original code 😅 mixed up "token" and "step" in that inner for loop...
Anyway, here's a working example: https://replit.com/@biowaffeln/cooklang2html
I think this is more of a "do one thing well" type of library, having a CLI app that generates HTML is out of scope.  Might be useful for other people.
I'm closing this issue now since it's not really pertinent to this repo. If you have any questions related to your project I'm happy to chat, just send me an e-mail or DM me on twitter.


Update to nan 2 for Node.js 4.0.0 compatibility.

Adding to the list: https://github.com/nodejs/node/issues/2798.
Related: #8.

Also related to comments in #8.  Would be very grateful for a Nan update. :+1:

+1 There is tool: https://github.com/nodejs/nan/blob/master/tools/1to2.js

Could someone who's familiar with the socketwatcher library (that is, has directly used it before) help review my PR by testing it in your own applications? There are no tests for this project so it is helpful if you could throw code at it.


ZMCZ translated in case of target language other than English

The plugin is changing cache substitution replacer like {{A}} with ZMCZ or kind of for online service and in case when target language is not English and target language have similar chars to English Z,M,C, the chars can be also translated and will not be replaced back to {{A}} replacer for translation cache.
For example I will use Russian as target language but there same case for any target language where exist similar chars.
Example:
_substitutions.txt
John=Джон
Then we have for example source English text appeared:
John walking back.
Then for online service the line will be replaced with (source EN):
ZMCZ walking back.
And online service can translate it as (target RU):
ЗМЦЗ идет обратно,
Atleast it can happen in case with Deepl service but possible with any.
In result I encountering wit cached translations like this:
Isabeau and Eustace interrupted their date...=ЗМЦЗ и Юстас прервать их свидание...
Esther {{A}}=Эстер ЗМКЗ
The lines above is from autogenerated txt of real tests wit en->ru pair with latest XUA version.
I will refer to the pull request #322 because there is some comments about the replacers and variant of using <1> <2> <3>... <?> instead of ZM?Z.

I will refer to the pull request #322 because there is some comments about the replacers and variant of using <1> <2> <3>... <?> instead of ZM?Z.

actually <1> <2> <3>... <?>
not exactly an ideal solution either
since Google translator can insert spaces in different places of these keys
example
<1> can become <1> or <1> or <1> after translation, and I mainly use queries to Google API; I don’t know what another translator will do with these keys

For digits can be added check and restoration of <# > or < #> or < # > to <#>.  But strings cant be translated in 99% of cases when target language is not have any digits analog. Only see some issues with digits with Japanese target language because theoretically there is it can be changed to unicode analogs.
Maybe custom replacers option in settings for marks for online service then user can change them to any most suitable for specific service. But then need to rewrite function for the marks replacing back for cache.


Update readme

Add more emojis, make it more welcoming for the boss contributors.
fix typos
Add additonal resources if required.

hi i am interested
Please convey me further details.
Name-Biswadeep Giri
Roll Number-2021BCS0151
<EMAIL_ADDRESS>

Let me know by when u can get the work done.
There are 2 markdown file one on the main page when u open the repo ->  this contains the details of the enlace project. this should be inviting in nature.
the other when u click on the enlace-main folder , this should give u the details of the of the tech stack used and other nessary stuff.
Visit other popular repos and get more info how they organize there readmefiles


[BEAM-10200] Respect profile_memory option and add memory profiler to…

… sdk worker
Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @angoenka

retest this please

Run Python PreCommit

Run Portable_Python PreCommit

This also change the behavior from periodic heap dump to i think on demand heap dump.
Shall we also summarize how it should be used?

Do you mean the deletion of MemoryReporter? I don't think it is used anywhere but we can also keep it if it is useful for users.

Can you please take a look at failing tests.
We can merge it after they are healthy.

retest this please

@angoenka I think this PR can be merged


cgo - unclear how to use //export and separate deifinition and declaration C code file

This part of the cgo doc is a bit unclear

Using //export in a file places a restriction on the preamble: since it is copied into two different C output files, it must not contain any definitions, only declarations. If a file contains both definitions and declarations, then the two output files will produce duplicate symbols and the linker will fail. To avoid this, definitions must be placed in preambles in other files, or in C source files.

I already have the declaration and the definition file in separate files, but I am still getting the duplicate symbols error.
What version of Go are you using (go version)?
go version go1.8 darwin/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/krasimir"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
What did you do?
go run pa.h

package main

/*
#cgo pkg-config: portaudio-2.0
#include <portaudio.h>
#include <pa.h>
*/
import "C"

import (
	"fmt"
	"time"
	"unsafe"
	_ "os"
	_ "runtime"
	"reflect"
)

var (
inputParameters = new(C.PaStreamParameters)
stream = new(C.PaStream)
)

// DeviceInfo contains information for an audio device.
type DeviceInfo struct {
	index                    C.PaDeviceIndex
	Name                     string
	MaxInputChannels         int
	MaxOutputChannels        int
	DefaultLowInputLatency   time.Duration
	DefaultLowOutputLatency  time.Duration
	DefaultHighInputLatency  time.Duration
	DefaultHighOutputLatency time.Duration
	DefaultSampleRate        float64
}

type Stream struct {
	paStream            unsafe.Pointer
	inParams, outParams *C.PaStreamParameters
	in, out             *reflect.SliceHeader
	args                []reflect.Value
	callback            reflect.Value
	closed              bool
}

func main() {

	if err:=C.Pa_Initialize();err != C.paNoError {
		fmt.Println(err)
	}
	defer func(){
		if err := C.Pa_Terminate();err != C.paNoError {
			fmt.Println(err )
		}

		}()

	inputParameters.device = C.Pa_GetDefaultInputDevice(); /* default input device */
	if (inputParameters.device == C.paNoDevice) {
				fmt.Println("Error: No default input device.")
	}
	inputParameters.channelCount = 1
	inputParameters.sampleFormat = C.paFloat32
  inputParameters.suggestedLatency = C.Pa_GetDeviceInfo( inputParameters.device ).defaultLowInputLatency
  inputParameters.hostApiSpecificStreamInfo = nil

stream:=&Stream{}
		err := C.Pa_OpenStream(
                 &stream.paStream,
                 inputParameters,
                 nil,                  /* &outputParameters, */
                 C.double(44100),
                 C.paFramesPerBufferUnspecified,
                 C.paClipOff,      /* we won't output out of range samples so don't bother clipping them */
                 C.paStreamWrap,
                 unsafe.Pointer(stream.paStream) );
       if( err != C.paNoError ) {
				 fmt.Println(err)
				 }

       ;
       if err := C.Pa_StartStream( unsafe.Pointer(stream.paStream) ); err != C.paNoError {
				 fmt.Println(err)
				 }

			 for x:=0;x<20;x++{
				 time.Sleep(1*time.Second)
				//  x:=C.Pa_IsStreamActive(unsafe.Pointer(stream))

				//  fmt.Println(x)
			 }
      //  while( ( err = Pa_IsStreamActive( stream ) ) == 1 )
      //  {
      //      Pa_Sleep(1000);
      //      printf("index = %d\n", data.frameIndex ); fflush(stdout);
      //  }

}

func duration(paTime C.PaTime) time.Duration {
	return time.Duration(paTime * C.PaTime(time.Second))
}

//export streamCallback
func streamCallback(inputBuffer, outputBuffer unsafe.Pointer, frames C.ulong, timeInfo *C.PaStreamCallbackTimeInfo, statusFlags C.PaStreamCallbackFlags, userData unsafe.Pointer) {
	fmt.Println("called")
}

>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// pa.h file

int cb(const void *inputBuffer, void *outputBuffer, unsigned long frames, const PaStreamCallbackTimeInfo *timeInfo, PaStreamCallbackFlags statusFlags, void *userData);
PaStreamCallback* paStreamWrap;

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//pa.c file

#include <portaudio.h>

int cb(const void *inputBuffer, void *outputBuffer, unsigned long frames, const PaStreamCallbackTimeInfo *timeInfo, PaStreamCallbackFlags statusFlags, void *userData) {
	streamCallback((void*)inputBuffer, outputBuffer, frames, (PaStreamCallbackTimeInfo*)timeInfo, statusFlags, userData);
	return paContinue;
}
PaStreamCallback* paStreamWrap = cb;

What did you expect to see?
successful run
What did you see instead?
# command-line-arguments
duplicate symbol _paStreamWrap in:
    $WORK/command-line-arguments/_obj/_cgo_export.o
    $WORK/command-line-arguments/_obj/pa.cgo2.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Try
// pa.h file

extern PaStreamCallback* paStreamWrap;

this time it errors:
Undefined symbols for architecture x86_64:
  "_paStreamWrap", referenced from:
      __cgohack_paStreamWrap in _cgo_main.o
     (maybe you meant: __cgohack_paStreamWrap)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

How do you build the package? Is pa.c placed in the same directory as pa.h and the Go code?

yes all files are in the same directory , I just run go run pa.go

Run go build in the directory.
go run cannot find the C code.

go build or go build pa.go
# command-line-arguments
duplicate symbol _paStreamWrap in:
    $WORK/command-line-arguments/_obj/_cgo_export.o
    $WORK/command-line-arguments/_obj/pa.cgo2.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

without  #include <pa.h>
could not determine kind of name for C.paStreamWrap

Did you still have extern in pa.h?
Try go build (bot NOT go build pa.go) with #include <pa.h> and extern in pa.h.

go build
./pa.c:5:2: warning: implicit declaration of function 'streamCallback' is invalid in C99 [-Wimplicit-function-declaration]

@cherrymui did you mean:
extern void streamCallback(void *inputBuffer, void *outputBuffer, unsigned long frames, PaStreamCallbackTimeInfo *timeInfo, PaStreamCallbackFlags statusFlags, void *userData);

and that renders similar error:
./pa.c:5:2: warning: implicit declaration of function 'streamCallback' is invalid in C99 [-Wimplicit-function-declaration]
# github.com/krasi-georgiev/noCursing/pa
duplicate symbol _paStreamWrap in:
    $WORK/github.com/krasi-georgiev/noCursing/pa/_obj/_cgo_export.o
    $WORK/github.com/krasi-georgiev/noCursing/pa/_obj/pa.cgo2.o
duplicate symbol _paStreamWrap in:
    $WORK/github.com/krasi-georgiev/noCursing/pa/_obj/_cgo_export.o
    $WORK/github.com/krasi-georgiev/noCursing/pa/_obj/pa.o
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@krasi-georgiev
No, I mean put extern PaStreamCallback* paStreamWrap.

go build
./pa.c:5:2: warning: implicit declaration of function 'streamCallback' is invalid in C99 [-Wimplicit-function-declaration]

This looks like only a warning, i.e. build succeeded. You should see the executable.
BTW, to suppress the warning, you need to declare streamCallback in pa.c.

yes that worked here are the final files
// pa.h
extern PaStreamCallback* paStreamWrap;

//pa.c

#include <portaudio.h>
void streamCallback( void* inputBuffer, void *outputBuffer, unsigned long frames, const PaStreamCallbackTimeInfo *timeInfo, PaStreamCallbackFlags statusFlags, void *userData);

int cb(const void *inputBuffer, void *outputBuffer, unsigned long frames, const PaStreamCallbackTimeInfo *timeInfo, PaStreamCallbackFlags statusFlags, void *userData) {
	streamCallback((void*)inputBuffer, outputBuffer, frames, (PaStreamCallbackTimeInfo*)timeInfo, statusFlags, userData);
	return paContinue;
}
PaStreamCallback* paStreamWrap = cb;

could you maybe explain what happens?
Do you think there is any way to simplify it?
Is there any way to make it work with go run ?

could you maybe explain what happens?

By "declaration" in C, it means you need extern for declaring global variables. Without extern it is a definition.

Is there any way to make it work with go run ?

No. go run is meant to be used for quick testing.  You can do "build+run" in one line as something like go build -o exe && ./exe.

Do you think there is any way to simplify it?

If pa.h is just a single line, you can write it directly in Go code, i.e. in Go code replace #include <pa.h> with extern PaStreamCallback* paStreamWrap; and drop pa.h.

Now the problem is solved.
I think the documentation is clear: by "declaration" in C, it means extern is needed for declaring global variables. Do we close the issue?

I think maybe adding a small example to the docs would help others.

I don't think we want an example of this in https://golang.org/cmd/cgo.  It's too esoteric and is really more about C than about Go.  This is more like a detail for a blog post somewhere.
I'm going to close this issue.


Update Reference Solution for Exercise "Book Store" (Replace Workaround)

resolves: #215

downport of FILTER is missing = https://github.com/abaplint/abaplint/pull/2720
@bau-mann feel free to join the abapGit slack channel, https://abapgit-slackinviter.herokuapp.com (this is a public invite link, so everyone is welcome), we have a #exercism channel there

tried with latest and it works:
    "@abaplint/transpiler-cli": "^2.7.101",
    "@abaplint/cli": "^2.102.54",
    "@abaplint/runtime": "^2.7.101"

merge?


Add some support for loading fake modules

works only if open_code patch mode is not off
see #1079

This will not handle all possible cases. Relative imports are not supported, and for absolute imports in dot notation an __init__.py is expected in module paths above the leaf module.
Tasks

[x] Unit tests added that reproduce the issue or prove feature is working
[x] Fix or feature added
[x] Entry to release notes added
[x] Pre-commit CI shows no errors
[x] Unit tests passing
[x] For documentation changes: The Read the Docs preview builds and looks as expected

@Aran-Fey: I only added two tests (one of them basically your example test), please check if you need more cases covered.

I'm surprised that relative imports don't work, but that's not a problem for me. This will help a lot, thanks!

I'm surprised that relative imports don't work

You are right, this is easy to fix. Will do this.


Account for used memory in the sorting projector.

Summary of the changes / Why this improves CrateDB
Checklist

[x] User relevant changes are recorded in CHANGES.txt
[x] Touched code is covered by tests
[x] Documentation has been updated if necessary
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

@mfussenegger adapted the SortingProjector here as well (it's not worth to wait for this PR to go through to open the next one, even though 2 small PRs were my aim)


Update not implemented functions

Added note about missing crypto_box_seal and crypto_box_seal_open functions. Source
If I looked over it and didn't see it, I'm sorry please ignore me.

crypto_box_seal and crypto_box_seal_open have been implemented. Closing


iOS example

Hi it would be nice with an iOS example to get one started quickly.

Apologies, I was not watching this repository (I've fixed that now) so I did not see this issue.
I agree, it would be great to have an iOS example. Unfortunately I don't have the bandwidth to work on that at the moment.
PRs are welcome, otherwise I hope to one day have some time to put up an iOS example.

Hi everyone,
I have the same problem :S, @TSkovsgaard you have any example for iOS?

I'll try to find some time in the coming weeks to use Compose multiplatform to demo running SensorTag example app on iOS. 🤞

Took a lot longer to get to this than I had originally anticipated, but I'm now actively working on this.


Embedding arguments keyword does not work with "Wait Until Keyword Succeeds"

Embedding arguments keyword does not work with "Wait Until Keyword Succeeds"
I tried to send a list/dictionary/object by embedding keyword.
It doesn't work when the keyword is right after Wait Until Keyword Succeeds
It shows error message like this:
Resolving variable '${object.member}' failed: AttributeError: 'str' object has no attribute 'member'
Seems like the embedded arguments is convert into str.

This is a duplicate of #1595. Unfortunately not very easy to fix.


REST API equivalent to swarm join

Hi,
I would like to add a Docker Host(Register it ) to Swarm Manager like below
./swarm join --advertise=<IP_ADDRESS>:2375 token://6fae3c32908e47c9daf43ca6e116747c
Above works fine when I use swarm binary.
I would like to know if REST API exists to do same ? to join a docker host to a cluster ?
Murali G D

Hi @gdmurali
yes, the doc is here: https://github.com/docker/swarm/tree/master/discovery/token#add-new-nodes-to-a-cluster

@gdmurali shall we close this issue?

Sure.
On Tue, Aug 11, 2015 at 6:47 PM, Chanwit Kaewkasi<EMAIL_ADDRESS>wrote:

@gdmurali https://github.com/gdmurali shall we close this issue?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/swarm/issues/1076#issuecomment-129868654.


Logic for validating new client authorities does not match documentation

The documentation (docs/UAA-APIs.rst) states that
clients.write - scope required to create and modify clients. The scopes/authorities are limited to be prefixed with the scope holder's client id. For example, id:testclient authorities:client.write may create a client that has scopes/authorities that have the 'testclient.' prefix.
However, looking at the code in ClientAdminEndpointsValidator starting at line 176, it seems that this is not the case:
Set<String> validAuthorities = new HashSet<String>(NON_ADMIN_VALID_AUTHORITIES);
if (requestedGrantTypes.contains("client_credentials")) {
    // If client_credentials is used then the client might be a
    // resource server
        validAuthorities.add("uaa.resource");
    }

for (String authority : AuthorityUtils.authorityListToSet(client.getAuthorities())) {
    if (!validAuthorities.contains(authority)) {
        throw new InvalidClientDetailsException(authority + " is not an allowed authority for caller="
        + callerId + ". Must be one of: " + validAuthorities.toString());
    }
}

If the documentation's description is correct, then a simple startsWith check (as is done for scopes on lines 149-150) would solve this issue. I'd be happy to submit this as a pull request if this is indeed the desired behavior.

Pull requests are always welcome with accompanied test cases. we love PRs!!!

Update documentation to reflect behavior
https://github.com/cloudfoundry/uaa/commit/0ad08f33e7e19b0d620519fe0a2368c6bf078d00


x/playground: vet produces incorrect results on programs that set // GOEXPERIMENT=rangefunc

Go version
go dev branch
What operating system and processor architecture are you using (go env)?
n/a

What did you do?
https://go.dev/play/p/vAn7V6xqpWQ?v=gotip
What did you expect to see?
The program compiles.
What did you see instead?
package play
	imports iter: build constraints exclude all Go files in /usr/local/go-faketime/src/iter

I don't think we've said anywhere that it should work

I'm not sure this is documented anywhere, but it was implemented in https://go.dev/cl/511640. I don't see why this wouldn't be working.
cc @rsc @findleyr

Note that the program does compile; https://go.dev/play/p/DexLktKrFTb?v=gotip makes that easier to see. The problem appears to be that vet isn't being told about the experiment and thus doesn't work.

I suppose https://go.dev/cl/549015 probably fixes this, but need to remember how to test.

This was fixed by https://go.dev/cl/612456.


Describe how to customise fonts

Close in favour of https://github.com/nextbitlabs/Rapido/issues/3.


Implement VolumeInspectByName for RBD storage.

Instead of retrieve the information about all the RBDs, individual RBD can be queried. This speeds up storage mounting via Docker rexray.
This is possible due to https://github.com/codedellemc/libstorage/pull/561

 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.Valentin S seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

// volumeName and volumeID are the same for RBD

I have a question, if the inspect per RBD is the same for name or ID then why add the ByName variant? Is it to just make it so the RR CLI doesn't have to do the list prior to a direct inspect?

@akutz VolumeInspect @ volume_routes.go invokes either VolumeInspectByName or Volumes (if VolumeInspectByName is not implemented). Volumes queries information about all volumes whilst VolumeInspectByName inspects only the RBD which is being mapped. For a small number of RBDs the there might not be a huge difference. However, for a larger number of RBDs the execution time increases exponentially.

@codenrhoden It was good to help. I think it should be implemented for all the other drivers as well.

Hi @vstoican,
Thank you for the explanation. I wrote all that code, but it's been a while. However, what confused me is that the workflow logic is only optimized if the "byName" QS is provided forcing the inspect to look up a volume by its name. I just wanted to be clear that unless the API consumer is doing that this change won't have any effect.

@akutz -- just to follow-up, the history here is that the API consumer in this case is the Docker Volume Driver -- which uses the Linux integration driver.
I added support for that here: https://github.com/codedellemc/libstorage/blob/master/drivers/integration/linux/linux_utils.go#L43-L44, in this PR: https://github.com/codedellemc/libstorage/pull/561
So any driver that can implement this can save a lot of time for large number of volumes when using Docker. This enhancement is not yet able to be taken advantage of when using the REX-Ray CLI.
@vstoican One interesting point, is that not all storage provider APIs have a way to look up a volume by name. So not every driver can do it.


Ensure unnecessary copies of referenced assemblies are not created

Reproducibility
Always

hello

It is basically impossible to control which NuGet packages are copied to the output folder and which are not...


Correlate Map Indexes with Original Servers

Summary
There are couple of hints in the client code that indicate that original map numbers may not line up with what would be expected based upon level requirements or even map name. An example of this is the internal number of 29 for Galaxy City, which has a map name of City_01_03 and is one of the starting zones.
Proposal
The community has data-mined nearly all the original map numbers while the game was still live. I propose we utilize those numbers in SEGS. The benefits of this may not be readily apparent, but it's early enough in our development that the change wont have any real impact.
The easiest place to find the original zone indexes is in the zone.cfg and travel.cfg files used with Paragon Chat. I've attached them here.
P.S. in the future we can create scripts to be read from, similar to these cfgs here.
zone.cfg.txt
travel.cfg.txt
Tasks to Complete This Issue

[ ] Re-index the maps in map_definitions.cpp to the official numbers pulled from zone.cfg (linked above)
[ ] Exclude, or comment out, maps that our client version doesn't have. The existing list in map_definitions.cpp should be definitive (missions maps aside)
[ ] Test to verify we didn't bork something

**Example: **
{3, "City_01_03", "maps/City_Zones/City_01_03/City_01_03.txt", "Galaxy City"},
// would become:
{29, "City_01_03", "maps/City_Zones/City_01_03/City_01_03.txt", "Galaxy City"},

Bonus Tasks that would make you the most awesome-est person evah!

Add spawn indicator name to the vector in map_definitions.cpp and leverage it for /stuck or zoning
Move g_defined_map_deltas vector to some sort of flat file, either json, lua, (yaml?) or cfg, that we can read from on loading the server. This will make server-customization and (future) custom maps possible
Utilize the attached travel.cfg to generate a list of zones for /mapmenu

Hey, I thought I'd have a go at this as I want to help, I'm pretty terrible with C\C++ but this struck me as a mostly data sanitation issue where I could probably help.
In map_definitions.cpp there is one zone I can't find anywhere in the provided cfg files or via googling. It's called "Enviro Nightmare". I've had a pretty good look but I can't seem to match it to anything. Anyone know if it's called something else in game?

It's either Eden or Creys Folly

I believe that Eden was also called Woodvale and Crey's Folly was Venice in some of the documentation if that helps. Also, the Rikti Crash Site/War Zone was White Plains.

Unless I remember wrong, Enviro Nightmare is a dev zone only and was never available to the public. I think there's a couple of zones that are like this

Can someone zone there and confirm?

Looks like it. Loading there gives no load screen (just a random texture rather than a map name and map image), there's no name in the window title, there's no objects in the zone.

Awesome. Thanks for checking

I think I've got this working locally with the provided indexes. /mapmenu now uses the new indexes and it displays the correct names and teleports you to the correct zones.
As far as the bonus tasks go:
Is the "spawn indicator name" just the SpawnLocation from the zone.cfg.txt? For example Eden would be "LinkFrom_City_04_01"
The second task talks about g_defined_map_deltas but I can't find this vector in the code, Is it a typo in the issue and it should be g_defined_map_datas? If I move this data out to a JSON file is there a place in the file hierarchy for it? I was thinking Projects\CoX\Data
Lastly, do you want me to open my own issue for these questions, or do I do that when I have a PR ready?

You don't need to worry about the spawnLocation from the zone.cfg.txt as it looks like they just use a random possible spawn location. We read them from the scenegraph on load and store them separately as they're used for a number of things.
g_map_defined_deltas should be g_map_defined_datas yes. Having the file in Projects\CoX\Data seems fine to me.
You can raise a PR and just link to this issue. @broxen can assign this to you as you're working on it. Ask any questions in here or discord.

OK, Do I need any special permissions? I tried to push a branch to create a PR and I got a permission error.

You should fork Segs to your own repository, then push it to that. You can then PR from your repository to the main Segs repository


Rename documentation theme folder to sonarwhal

Our theme folder is called documentation (/src/hexo/themes/documentation) which is a bit misleading. We should rename it to sonarwhal` and update all the references.

I have made a pull request for this issue. I believe I followed your contributing documentation as it is stated. I had 2 commits initially but I squashed them into one and included an Update tag in my commit message. Let me know if there is anything else you need me to do.


Where is currencies.util.calculate_price?

Hi, I'm just upgrading dependencies in one of my project, I notice the function currencies.utils.calculate_price is gone, I used to use this to do some currency conversion in a backend process.
I have tracked the deletion up to this commit 39b785a, and I notice there's now a currencies.utils.calculate is that the same function that just got renamed? The commit message isn't helpful at all, it doesn't explain the changes that were made.
Thanks for the help!

Please excuse me, this was posted in the wrong prject 😩


device is unresponsive

everything was working fine until recently, the device set value commands appear to be working, As from about a month ago all ESP devices now show on the Alexa app as unresponsive every few seconds,  voice commands are ok, after a few days they disappear altogether from the alexa app, and no voice commands, all devices will rediscover ok, then show as unresponsive again, voice ok, I have 39 devices spread over 4 ESPalexa ESP's and 1 fauxmo ESP
I wonder if amazon have done any changes recently.
Anyone any ideas?

Seemed to be an issue with the app? I had the same issue, but now seems to be not present (after app update)?


integration with PSBT airGAP signers (Krux, seedsigner). Should I wait?

You are missing a great feature.  Separate the coordinator function from the signer.
When do you integrate airgap signers such as Krux and Seedsigner?

as told on our telegram group, we waiting them to integrate miniscript first, thats a blocking point for now, we cannot do it w/o them :grin:

i close this issue in favor of #539


UX - dropdown on mobile not styled properly

The dropdown in desktop looks really nice and in line with our brand/design. On mobile - not sure if this is standard to use the native component or what - looks a little bit clunky. I definitely think we should use the default iOS selection view, but the clickable menu itself should probably be changed.
Running: iOS, chrome

👀 We could replace the jQuery library with a React version that works on mobile!

Closed by use of react-select + https://github.com/defund12/defund12.org/pull/1575


On homepage show recent sign-ups and whether or not they received sign-up gift card

This relates to #67.
As soon as a user logs in to Patterns, the landing page should show recent testers who have signed up to be part of the CUTGroup. Underneath their name it should show whether or not they have received a gift card.
Here is the wireframe page as an example:
https://moqups.com/smartchicago/W9OgjlHV/p:ac51dcde6
If the tester has not received a gift card there will be two ways to add that information:

by clicking on the tester name, you will be directed to their tester profile page where you will be able to add the gift card information directly
by clicking on the link labeled "Gift Cards" in the navbar you can bulk upload gift card information for multiple testers

Change "Received Gift Card" to "Gift Card Mailed"

This is live. Closing issue!


MinecraftClientData.getInstance().platformIdMap.get(platformId).routes is always empty

Before reporting, I have confirmed that

[X] This bug does not appear to be reported on GitHub Issues before.
[X] This bug still exists in the latest version of the Minecraft Transit Railway mod.
[X] I have tested this in the official version of Minecraft Transit Railway, not a modified, custom, or unofficial build.

Describe the Bug

This is a simple code that calls mtr core to get the Route list by platformId, but the routes of MinecraftClientData.platformIdMap is always empty
Reproduction Steps

Write a getRouteStream method, as shown above
Enter the game test and test that the platform corresponding to platformId has a route
Send debugging information: routes is empty.

In-game Log and Crash Report

Mod Loader
Fabric
Minecraft Version
1.20.4
Minecraft Transit Railway Version
4.0.0
Operating System
Windows 11
List of Mods or Modpack You Were Using

Extra Information
No response

This may be because I created the station in advance, but how should I get the Data of the entire map?

Query simplifedRoutes instead of routes, which should exist in the client side.


Added 3D auto and vanes L/R support

Hi,
The original module got updated last week with USE_EXTENDED_FRAME_SIZE like WF-RAC module.
https://github.com/absalom-muc/MHI-AC-Ctrl/commit/6d747e1af37ba65575c1816809d378fb89beb7ef
Have you already tried to update this esphome fork?
II think that these commands are not supported by esphome climate entities. Should I try to make a service like actual vanes control?

Already done by @RobertJansen1
https://github.com/RobertJansen1/MHI-AC-Ctrl-ESPHome


Question: Do not use One PHP if You are building big full stack projects

Could you say why?
Thank you

Hi @sebastienratez, because it's simple in its core, OnePHP do not provides important things for big projects like a pre-installed ORM (like Doctrine), or full feature template system like ie: Twig, form validations, vendors, etc.
Instead you will need to implement or install them by hand, so it fits better in small projects with fewer dependencies. The cool thing with OnePHP is that you do not add anything you don't want or need in your application, it's minimalist or a micro-framework.
Let me know if any doubt, :wink:

Hey! Thanks for the feedback.
From a certain perspective (mine at least), your answer is in fact backing up the complete opposite statement: to me it seems I should be using your framework. I have my own ORM, all I need is a light and community supported rest framework.
Now my real concern is more in terms of bugs and performance. Is there any reason why, from this angle, I should be careful when using your work?
Thanks again, I'm anyway already implementing it so I'll give you feedback when I can.
Regards

Hey, you do understand me,
For what you said sounds like you  already have the others tools, so in your case it should work perfect, it will not get in your way.

Now my real concern is more in terms of bugs and performance. Is there any reason why, from this angle, I should be careful when using your work?

My statement is not because of less performance or bugs  :+1:  in fact it is super fast because the way is built (basically a router, please don't hesitate to look at the source code is pretty straightforward).
Is all about use the tools that fits you best, from my own experience OnePHP fits better in restful APIs and to build quick web apps.
Hope it works well for you,
Regards!


Almost evebody is called 'Someone' in 1.28.0

#3968 ## Summary
Almost evebody is called 'Someone' since 1.28.0
Environment Information

Mattermost App version: 1.28.0 via F-Droid

Steps to reproduce
Simply watch a chat
Expected behavior
Profile names are shown, like was before
Observed behavior

Working for me. Can you update the server you're using? Check what data is being returned? This looks like a fallback to me in case names are not there in the data

It works with the previous version of Mattermost beta and the current version of Mattermost classic.
Using Mattermost Enterprise Edition 5.7.0

@PanderMusubi Would you be open to upgrading your server version to the latest (v5.21.0)? v5.7.0 is not a supported version anymore.

I'm not in control of the server but I can ask.

Server will be upgraded and I will retest. Will post result in here a few days. Thanks.

@PanderMusubi please also help upgrade to the latest mobile app version v1.29.0

@PanderMusubi please also help upgrade to the latest mobile app version v1.29.0

FYI the F-Droid repo does not have the v1.29.0 yet.

Build is requested at https://gitlab.com/fdroid/fdroiddata/-/issues/1987 Will report back when 1.29.0 is installed and our server has been upgraded.

When I click on an image, I do not display a detailed image. I'm checking the latest version, commit 3013 - Bump app build number to 280 (# 4139)

Can't retest as https://github.com/mattermost/mattermost-mobile/issues/4146 is blocking

1.31.2 does not help?

Fxied, thanks


Always show Untitled-1 that the content is long time ago input on  open VSCODE, not empty.

Version: 1.39.2
Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390
Date: 2019-10-15T15:33:00.827Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Darwin x64 18.6.0
Steps to Reproduce:

open VSCODE

Does this issue occur when all extensions are disabled?: Yes
I can't clear and change the content of Untitled-1 on open.
I changed the settiing to "workbench.startupEditor": "welcomePage", still not work.

fix it by uninstall and reinstall.


Replace non-atomic load with an atomic one

Fixes #70 by replacing the non-atomic load in get_inner with an atomic one.

You should add a test that makes sure the issue isn't still active.

Tried earlier, and it's surprisingly hard to get miri to fire with a minimal repro. I'll take another stab at this soon.

Added a test, and then added miri to the CI to ensure that the test (and others) are tested against miri for all future PRs.

As a final sanity check, I reran the benchmarks in the repo, and it seems like this shouldn't negatively affect performance, at least not on x86 platforms:
get                     time:   [2.6138 ns 2.6172 ns 2.6216 ns]
                        change: [-2.8757% -2.6826% -2.4831%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
  6 (6.00%) high mild
  4 (4.00%) high severe

insert                  time:   [9.9271 ns 10.080 ns 10.221 ns]
                        change: [-6.3852% -3.7294% -1.0880%] (p = 0.01 < 0.05)
                        Performance has improved.
Found 4 outliers among 100 measurements (4.00%)
  4 (4.00%) high m

We are waiting on #69 to fix CI. This will bump the Rust version used in CI, so you will be able to use black_box for benchmarks.


bigtable-shc: SBT assembly merge fails

SBT assembly gives lots of merge duplication errors such as the below:
deduplicate: different file contents found in the following: /home/tiko/.ivy2/cache/org.apache.hadoop/hadoop-hdfs/jars/hadoop-hdfs-2.6.5.jar:org/apache/hadoop/fs/Hdfs$2.class
See assembly-stdout.txt for full error log.
I tried changing the sbt merge directives to have the following just to pick the first on merge conflict
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/blob/master/scala/bigtable-shc/build.sbt#L41
case PathList("META-INF", xs @ _*) => MergeStrategy.discard

  case x => MergeStrategy.first

With the above the assembly gets created, but, then when I submit the job I get the error below, so I cannot trust that a wrong dependency was merged in:
Caused by: com.google.bigtable.repackaged.io.grpc.ManagedChannelProvider$ProviderNotFoundException: No functional channel service provider found. Try adding a dependency on the grpc-okhttp, grpc-netty, or grpc-netty-shaded artifact         at com.google.bigtable.repackaged.io.grpc.ManagedChannelProvider.provider(ManagedChannelProvider.java:60)         at com.google.bigtable.repackaged.io.grpc.ManagedChannelBuilder.forAddress(ManagedChannelBuilder.java:37)         at com.google.bigtable.repackaged.com.google.cloud.bigtable.grpc.BigtableSession.createNettyChannel(BigtableSession.java:525)         at com.google.bigtable.repackaged.com.google.cloud.bigtable.grpc.BigtableSession$3.create(BigtableSession.java:412)         at com.google.bigtable.repackaged.com.google.cloud.bigtable.grpc.io.ChannelPool.<init>(ChannelPool.java:246)

Closing as this sample has been updated/moved to: https://github.com/GoogleCloudPlatform/java-docs-samples/tree/main/bigtable/spark. See https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/tree/main/scala/bigtable-shc for more details.


Optimize ISlideCollection.Add()

Discussed in https://github.com/ShapeCrawler/ShapeCrawler/discussions/273

Originally posted by shanaki August 29, 2022
When insert a slide from source presentation file and add to target presentation file,
it looks like ppt/media contains duplicated images.
Originally, source.pptx has one image file(in slide master), I can confirm it in ppt/media after remaned to source.zip and unzip it.
target.pptx has also one image file(in slide master), I can also confirm it in ppt/media after remaned to target.zip and unzip it.
Both image files are identical.
Then, run following program.
using IPresentation source = SCPresentation.Open("C:\testdir\source.pptx", true);
using IPresentation dest = SCPresentation.Open("C:\testdir\target.pptx", true);
// Copy the first slide from source and add to the last slide in dest
ISlide copyingSlide = source.Slides[0];
dest.Slides.Add(copyingSlide);
dest.Save();
As a result, target.pptx has two image files in ppt/media. They are duplicated ones.(the same image files)
It looks like image in slide master of source presentation is copied to the target presentation.
Is this intentional behavior or kind of an issue?
testfiles.zip
I also found that ppt\presentation.xml contains weird relationship id like this in target presentation file after rename target.zip and unzip it.
<p:sldId r:id="rId2" id="256"/>
<p:sldId r:id="rId3" id="257"/>
<p:sldId r:id="rId4" id="258"/>
<p:sldId r:id="R94ea77bcca954761" id="259"/>
I'm not sure this is related to the above issue, or separated issue.

When open target.pptx in PowerPoint and just save it. Then, it looks like issue is gone away. For example, media file is just one. This is interesting thing.

Fixed. It will be available in the next v0.38.0 version.

I verified that duplicated image issue is fixed in the latest version(0.41.4). However, ppt/presentation.xml issue is still reproducible. Is it NOT fixed yet?

No, it is not fixed. Will do it.

Generating inconsistent RelationshipId also has been fixed and will be available in the next version.


Add support for secure websocket

Since we already added TLS support, we should add capability for secure websocket, too.

We added the instance member for it but not sure it does anything yet: https://github.com/vkottler/vtelem/blob/master/vtelem/daemon/websocket.py#L57

Our TLS stuff for HTTP: https://github.com/vkottler/vtelem/blob/master/vtelem/daemon/http.py#L65-L71


Speech verbs & conditional markup modification

About the PR

implementation:

adds SpeechVerbPrototype which can do a couple things:

change speech verb
modify font size & font type
modify boldness of message

changes SpeechComponent to allow specifying a default speech verb prototype, as well as corresponding suffixes to different speech verb protos per entity

misc

filled out various speech sounds for everything i could see that had a TG equivalent (say_mod) and some on discretion like arachnids or space dragons
gave moths typing indicators since i noticed it

Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Speech verbs will now change depending on the entity saying them and from punctuation. Have fun chittering as a mothperson.
add: Ending a message with '!!' will now bold the message.
add: Mothpeople now have custom typing indicators.

Is this the moth cloak indicator? I had thought about giving it to moths but didn't want to give them too much
(honestly sick though moth superiority)

i think so? i dont remember if tg uses this by default for moths but i think they do. i think its fine for them to have it though

CMO declares, "You can't consent to being a pizza."

Doesnt this mean voice masks dont work as well since anyone can tell if they’re another species? Before i could pretend to be human as a moth

Before i could pretend to be human as a moth

you have wings

Before i could pretend to be human as a moth

you have wings

i wasnt caught for an entire hour because you could barely see the wings, the only reason i was caught was because i laughed once and they noticed i didnt sound like a human

if they didnt notice the wings they wont note chitters


Link to guix.sigs repo rather than gitian sigs

Guix is now the release process, and linking to gitian is at least
causing confusion, see https://github.com/bitcoin-core/docs/issues/76.

See also #807

Tested ACK 353e34ee5552e96a3ddcced7214d430ce7844132 Thanks!


Add missing full stop

name: "\U0001F4DD Documentation Fix"
about: Fixing a problem in an existing docs page
Checklist

[x] Is there an existing issue for this PR?
[x] Have the files been linted and formatted?

What docs page needs to be fixed?

Section: Redux Essentials - Part 5 Async Logic
Page: Tutorial

What is the problem?
Full stop and space are missing after the sentence ends.
What changes does this PR make to fix the problem?
Adds the missing full stop and space to the end of the sentence.

Thanks!


docs: add mTLS section

Codecov Report

Merging #1325 (4e9b825) into main (cc4de69) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main     #1325   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          310       310
  Lines        21094     21094
=========================================
  Hits         21094     21094


Update README.md verbiage regarding file names

Indicated that yml files should be in lower case, which benefits sorting of lists.

What do you think about my proposed verbiage in #1273? I think saying all lowercase is not ideal as it implies no numbers.

@drewbrew Sorry, hadn't seen your PR.  I've never thought of "lower case" meaning no numbers and I think kebab-case is too obscure a term.  But the wording on your PR is fine.  Cheers.

That's why I chose not to use the term in the actual readme and instead went with my-awesome-company.yml.


Invalid channel: 2 error

Steps to reproduce

open a scala file
make sure ensime is running
:wqa to close neovim
errors show up

Expected behaviour
exiting errors should not show up.
...
Actual behaviour
Error detected while processing function 158_PollFileParseResponse[1]..158_Pyeval[2]..provider#python3#Call:
line   18:
Invalid channel: 2
Invalid channel: 2
Invalid channel: 2
Invalid channel: 2
Invalid channel: 2
Error detected while processing function EnTick:
line    1:
E475: Invalid argument: Channel doesn't exist
Error detected while processing function 158_PollFileParseResponse[1]..158_Pyeval[2]..provider#python3#Call:
...

Wondering if this can be related to #407 as the error message is similar and it's also happening on neovim.


Release: 0.7.1

[x] Bump __version__ in __init__.py. Use semantic versioning to decide whether it's a major, minor, or patch bump.
[x] Make a release commit: git commit -m 'RLS: v0.2.0'
[x] Push the RLS commit git push upstream master
[x] Make a GitHub release

[x] Call the release the current version, e.g. v0.2.0 and pin it to master
[x] This will trigger this github action job. Ensure that it completes in the actions tab
After a few minutes, confirm that the PyPI version is updated
[x] If it's a minor/major version bump, add some simple release notes.
If you wish, use github-activity to generate a changelog, eg github-activity pydata/pydata-sphinx-theme --since v0.2.2 --until v0.3.0.

[x] Celebrate, you're done!

This is done!

Thanks!