Translations entities -- internal representation

Summary:
This PR relates to processing of entities from translations.txt. The goal is to use the required use cases implemented via PR #44 that allow to go from a Translation representing a row from translations.txt to a specific concrete internal representation.
Expected behavior:
Explain and/or show screenshots for how you expect the pull request to work in your testing (in case other devices exhibit different behavior).
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Run the unit tests with gradle test to make sure you didn't break anything
[ ] Format the title like "Fix #<issue_number> - " (for example - "Fix #1111 - Check for null value before using field")
[ ] Linked all relevant issues
[ ] Include screenshot(s) showing how this pull request works and fixes the issue(s)

PR branched from stop-entitiesinstead of master
@lionel-nj I close this, please open a new PR from the branch master


Feature request. New hook to monitor updates for the current user.

The useAuthState hook only updates if the user logs in or logs out and not if the user updates in any way. This is a limitation of the underlying onAuthStateChange method described here: https://firebase.google.com/docs/reference/js/firebase.auth.Auth#onauthstatechanged
Proposal
New useCurrentUser hook which listens to updates to the user as well as login / logout events
Thoughts
This is likely to need a few things:

A context provider that sits at the top level of the application and stores the current user
A series of hooks that wrap each of the update methods available in Firebase Auth and updates the user within the context

See https://github.com/CSFrequency/react-firebase-hooks/issues/108 for further background.

Has there been any updates on this? its exactly what I need for an app I'm working on.

Is there a reason you couldn't use onIdTokenChanged - It seems like this updates any time a user logins/logs out AND whenever the id token refreshes.
Is there a reason you wouldn't want to use that as the higher-level state? Could we make this an optional config in the the  useAuthState object or create a new hook useLegacyAuthState


Can't connect to Pervasive 64-bit ODBC source

I'm having an issue identical to that reported in #522 . This is especially an issue now that you've discontinued the 32-bit version of DBeaver.
32-bit DBeaver works with a 32-bit ODBC connection.  64-bit DBeaver refuses to work with 64-bit ODBC connection with error: [PSQL][ODBC Client Interface]Parameter number out of range.
The DB on the other end is Pervasive SQL. ODBC should not need any username/password to connect.  I tried checking "No authentication" in driver settings but it made no difference.
This source DOES successfully connect when I test it in the Windows 64-bit ODBC Connection Manager
Here is my dbeaver-debug.log :
2019-03-28 18:01:31.875 - DBeaver <IP_ADDRESS>903251040 is starting
2019-03-28 18:01:31.875 - OS: Windows 10 10.0 (amd64)
2019-03-28 18:01:31.891 - Java version: 1.8.0_77 by Oracle Corporation (64bit)
2019-03-28 18:01:31.891 - Install path: 'file:/C:/Program Files/DBeaver/'
2019-03-28 18:01:31.891 - Instance path: 'file:/C:/Users/srider/.dbeaver4/'
2019-03-28 18:01:31.891 - Memory available 61Mb/910Mb
2019-03-28 18:01:31.906 - Starting RMI server at 20488
2019-03-28 18:01:31.969 - Run workbench
2019-03-28 18:01:31.969 - > Start org.eclipse.e4.ui.workbench.swt [0.14.400.v20181022-1348]
2019-03-28 18:01:31.984 - > Start org.eclipse.e4.core.services [2.1.300.v20180930-0910]
2019-03-28 18:01:31.984 - > Start org.eclipse.e4.core.contexts [1.7.100.v20180817-1215]
2019-03-28 18:01:31.984 - > Start org.eclipse.e4.ui.services [1.3.300.v20180920-1522]
2019-03-28 18:01:32.031 - > Start org.eclipse.e4.ui.di [1.2.400.v20180920-1522]
2019-03-28 18:01:32.073 - > Start com.ibm.icu.base [58.2.0.v20170418-1837]
2019-03-28 18:01:32.074 - > Start org.eclipse.emf.common [2.15.0.v20180914-1817]
2019-03-28 18:01:32.089 - > Start org.eclipse.emf.ecore [2.16.0.v20181124-0637]
2019-03-28 18:01:32.167 - > Start org.eclipse.emf.ecore.xmi [2.15.0.v20180706-1146]
2019-03-28 18:01:32.308 - > Start org.eclipse.core.filesystem [1.7.200.v20180828-0158]
2019-03-28 18:01:32.355 - > Start org.eclipse.core.resources [3.13.200.v20181121-1020]
2019-03-28 18:01:32.480 - > Start org.eclipse.e4.ui.workbench.addons.swt [1.3.300.v20181102-1042]
2019-03-28 18:01:32.496 - > Start org.eclipse.core.expressions [3.6.200.v20180817-1401]
2019-03-28 18:01:32.527 - > Start org.eclipse.e4.ui.workbench.renderers.swt [0.14.400.v20181112-1716]
2019-03-28 18:01:32.621 - > Start org.eclipse.e4.ui.bindings [0.12.300.v20180913-1535]
2019-03-28 18:01:32.667 - > Start org.eclipse.e4.core.di.extensions [0.15.200.v20180817-1215]
2019-03-28 18:01:32.983 - > Start org.eclipse.e4.ui.css.swt [0.13.300.v20181030-1443]
2019-03-28 18:01:33.057 - > Start org.eclipse.e4.ui.css.swt.theme [0.12.100.v20180828-0227]
2019-03-28 18:01:33.791 - Initializing DBeaver 6.0.1
2019-03-28 18:01:33.791 - Host plugin: org.jkiss.dbeaver.core.application <IP_ADDRESS>903251040
2019-03-28 18:01:33.791 - Initialize Core...
2019-03-28 18:01:33.791 - Can't find BC security provider. Use default JCE.
2019-03-28 18:01:33.791 - BouncyCastle not registered, using the default JCE provider
2019-03-28 18:01:33.900 - > Start org.eclipse.team.core [3.8.400.v20181109-0825]
2019-03-28 18:01:33.916 - > Start org.jkiss.dbeaver.ui.navigator [<IP_ADDRESS>903251040]
2019-03-28 18:01:34.010 - Total database drivers: 71 (71)
2019-03-28 18:01:34.025 - > Start org.eclipse.equinox.security [1.3.0.v20181115-0746]
2019-03-28 18:01:34.041 - > Start org.eclipse.ui.net [1.3.300.v20180827-1041]
2019-03-28 18:01:34.041 - Proxy service 'org.eclipse.core.net.proxy.IProxyService' loaded
2019-03-28 18:01:34.041 - Core initialized (250ms)
2019-03-28 18:01:34.041 - Configure workbench window
2019-03-28 18:01:34.041 - > Start org.eclipse.core.net [1.3.400.v20181030-1645]
2019-03-28 18:01:34.057 - > Start org.eclipse.help [3.8.200.v20180821-0700]
2019-03-28 18:01:34.088 - Create actions
2019-03-28 18:01:34.088 - Disable Eclipse action set 'org.eclipse.ui.edit.text.actionSet.annotationNavigation'
2019-03-28 18:01:34.104 - Disable Eclipse action set 'org.eclipse.ui.WorkingSetActionSet'
2019-03-28 18:01:34.135 - > Start org.eclipse.ui.editors [3.11.300.v20180914-0606]
2019-03-28 18:01:34.135 - > Start org.eclipse.core.filebuffers [3.6.400.v20181028-0633]
2019-03-28 18:01:34.603 - > Start org.eclipse.search [3.11.400.v20181028-0633]
2019-03-28 18:01:34.619 - > Start org.eclipse.ui.workbench.texteditor [3.11.200.v20181108-1458]
2019-03-28 18:01:34.641 - Initialize workbench window
2019-03-28 18:01:34.641 - Finish initialization
2019-03-28 18:01:34.672 - > Start org.jkiss.dbeaver.ui.editors.sql [<IP_ADDRESS>903251040]
2019-03-28 18:01:34.782 - > Start org.jkiss.dbeaver.ext.erd [<IP_ADDRESS>903251040]
2019-03-28 18:01:34.875 - > Start org.jkiss.dbeaver.ui.editors.base [<IP_ADDRESS>903251040]
2019-03-28 18:01:35.657 - > Start org.eclipse.equinox.p2.core [2.5.100.v20180822-1532]
2019-03-28 18:01:35.672 - > Start org.eclipse.equinox.p2.operations [2.5.200.v20180928-1359]
2019-03-28 18:01:35.688 - > Start org.eclipse.equinox.p2.engine [2.6.100.v20180822-1302]
2019-03-28 18:01:35.688 - > Start org.eclipse.equinox.p2.metadata [2.4.200.v20181102-0649]
2019-03-28 18:01:35.703 - > Start org.eclipse.equinox.p2.ui.sdk.scheduler [1.4.200.v20181102-0649]
2019-03-28 18:01:35.703 - > Start org.eclipse.equinox.p2.updatechecker [1.2.100.v20180827-1122]
2019-03-28 18:01:35.719 - > Start org.eclipse.equinox.p2.metadata.repository [1.3.100.v20180822-1302]
2019-03-28 18:01:35.719 - > Start org.eclipse.equinox.p2.repository [2.4.200.v20181005-1131]
2019-03-28 18:01:35.750 - > Start org.jkiss.dbeaver.ui.editors.data [<IP_ADDRESS>903251040]
2019-03-28 18:01:35.844 - > Start org.eclipse.equinox.p2.ui [2.5.400.v20181113-1303]
2019-03-28 18:01:35.907 - > Start org.jkiss.dbeaver.ext.sample.database [<IP_ADDRESS>903251040]
2019-03-28 18:01:35.907 - > Start org.jkiss.dbeaver.ext.ui.tipoftheday [<IP_ADDRESS>903251040]
2019-03-28 18:01:42.622 - > Start org.jkiss.dbeaver.ext.generic [<IP_ADDRESS>903251040]
2019-03-28 18:01:49.375 - Connect with 'jdbc:odbc:FOSDATA' (odbc-169c689bcaf-601dcda38da69361)
2019-03-28 18:01:49.515 - Connection failed (odbc-169c689bcaf-601dcda38da69361)
2019-03-28 18:01:49.515 - org.jkiss.dbeaver.model.exec.DBCConnectException: [PSQL][ODBC Client Interface]Parameter number out of range.
org.jkiss.dbeaver.model.exec.DBCConnectException: [PSQL][ODBC Client Interface]Parameter number out of range.
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:179)
	at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.openConnection(GenericDataSource.java:124)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:89)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.initializeMainContext(JDBCRemoteInstance.java:86)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.<init>(JDBCRemoteInstance.java:54)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.initializeRemoteInstance(JDBCDataSource.java:105)
	at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.<init>(GenericDataSource.java:106)
	at org.jkiss.dbeaver.ext.generic.model.meta.GenericMetaModel.createDataSourceImpl(GenericMetaModel.java:67)
	at org.jkiss.dbeaver.ext.generic.GenericDataSourceProvider.openDataSource(GenericDataSourceProvider.java:95)
	at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:770)
	at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:70)
	at org.jkiss.dbeaver.ui.dialogs.connection.ConnectionWizard$ConnectionTester.run(ConnectionWizard.java:232)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:102)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.sql.SQLException: [PSQL][ODBC Client Interface]Parameter number out of range.
	at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6964)
	at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7121)
	at sun.jdbc.odbc.JdbcOdbc.SQLGetDataInteger(JdbcOdbc.java:3818)
	at sun.jdbc.odbc.JdbcOdbcResultSet.getDataInteger(JdbcOdbcResultSet.java:5637)
	at sun.jdbc.odbc.JdbcOdbcResultSet.getInt(JdbcOdbcResultSet.java:582)
	at sun.jdbc.odbc.JdbcOdbcConnection.buildTypeInfo(JdbcOdbcConnection.java:1513)
	at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:381)
	at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.lambda$0(JDBCDataSource.java:148)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:157)
	... 13 more
2019-03-28 18:01:58.835 - DBeaver is stopping
2019-03-28 18:01:58.835 - Stop RMI server

I've been having to use the 32 bit version of Dbeaver ever since I reported #522 .
I too noticed today that version 6.0 will be the last version of Dbeaver offered in 32bit.
I never wanted to use 32bit and have always wanted to use the 64bit version, but I can't until I figure out a way around issue #522 .

In the original issue use @serge-rider passingly mentioned to use JDBC instead, but gave no clue as to how to do that.  When I create a new connection in DBeaver, the list of Database types does not include JDBC.

By the way, why are you trying to use ODBC driver + bridge? Pervasive has JDBC driver, which is much more native for DBeaver.
Just tested it and at least it doesn't have connectivity problems.

Perhaps this is the way to go, but how do I do it??

I don't know. I always have trouble setting up those types of things. When I get it working, I just use the same thing until it stops working. For example, I'd really like to use Pervasive Database with Node.js on a Linux Server, but I can't figure out how to get the database driver working. Database drivers eat my lunch.

One way or the other, the 32-bit DBeaver can do it, and the 64-bit DBeaver can't.  That tells me that on some level there's an issue with 64-bit DBeaver.
For that matter, my PHP project is using ODBC to connect to the same database, and it's slow as anything. If there's a faster way via JDBC, I'd love to see it.  (I use DBeaver to write and test my queries, and view the DB, and then actually use the queries in a PHP web site.)

@strider72 Send me an email at lonniebest (@) startport.com
I'll delete this message soon, but I'd like to have your contact info; we have a lot in common and I suspect we'll be able to help each other. I've written a lot of queries for pervasive. I'd like to know more about your project and the business system you work with using Pervasive.

I think that the problem is in outdated ODBC-JDBC bridge driver (which we took from Java7 package).
But as far as I see there IS JDBC driver for Pervasive: (https://docs.actian.com/psql/PSQLv11/jdbc/wwhelp/wwhimpl/common/html/wwhelp.htm#href=jdbc_gd.1.3.html&single=true)
There is a bunch of different articles about it on the net. However I'm not sure how to obtain the driver itself, most likely it is included in the product distribution (which is now named PSQL?).
Anyhow, if you could test this - please do. We'll include Pervasive driver configuration in the default DBeaver distribution if it will work.
@Lonniebiz thanks :)

@lonniebiz check this out
https://stackoverflow.com/q/55408891/339440

@serge-rider not at my computer but appears to be a typo in commit:  “pervasice”
I’ll try this Monday when I’m back at work. (I tried to look for those articles you mention but I guess my google-foo failed me)

The following worked for me!

Note: On some systems (older installs?) the path to the drivers is C:\Program Files (x86)\Pervasive Software\PSQL\bin\.  Note "Pervasive Software", rather than "Actian"

@strider72  Ok, I'm going to try to do this from scratch. What did you choose on the first step? Pervasive is not listed; I see OCBC, but not JDBC.

@strider72  Wow! Many Thanks. I got it working now too.
I just chose ODBC on that first step then I edited the driver details to be like your screenshots. I added the same 3 files you did located here:

I didn't select one. I went to Database >Driver Manager and clicked "New"

@Lonniebiz driver configuration will be added in 6.0.2.

Driver is added.
Closed without testing

Just for the record: The built-in configuration added in 6.0.2 does NOT work for me, but the custom config described in this thread still works fine.  Possibly because the application we have uses Pervasive 11, but I have no way to test this.

After installing Dbeaver onto Kubuntu 20.04, I tried to connect to a Pervasive 13 database, but Dbeaver didn't offer the ability to automatically download the driver.
Ultimately, I found the driver here:
https://dbschema.com/jdbc-driver/Pervasive.html
I post this only because I hope you can make that driver available for auto-download when someone else sets up a Pervasive DB connection for the first time. These drivers on sometimes difficult to find and auto-providing this will ease the burden on the next guy.
There may be a more authoritative place where this driver file is hosted, but the link above is where I got it, and so far it is working flawlessly.


Bot won't respond

Hello, I seem to facing multiple issues. The first issue is that the user end bot won't reply to any messages, though there are topic suggestions as detailed on the manifest.json. There is no welcome message though, and it doesn't respond to anything typed.
For the expert side bot, for some reason it states that it can't connect to the app.
I've double checked all the steps and have done them twice, and I still can't figure out the issue.
I used the steps from 'Deployment Guide Manual' - or the manual deployment. Would this be avoided had I gone through the powershell deployment?

Hi @cdzltung,
Thanks for raising the issue. Could you please share the teams id so that we can discuss the issue and will try to solve it over the call.

Here is the teams id (of where I tried installing the expert side app?): https://teams.microsoft.com/l/team/19%3A91d6dbdb5e3144809acc47a0af685bec%40thread.skype/conversations?groupId=2d765ad0-3306-4955-8cb3-c95d5cababef&tenantId=9cfbedc9-c7e4-46e2-be3e-d7fa81d0798a
I'm available to call any time today, thank you

Hi @cdzltung ,
Could you please share your MS Teams id  so that we can discuss the issue and will try to solve it over the call.


https in RDF formatters

Since we decided "http == https" (see issues #849 and #854), we must now preserve otherwise the ingested protocol, such that when reading those Infotons in an RDF format - subjects will keep original protocol.
Rather than mangle the Infoton's path by s"https.$path", we will ingest a protocol field (nn) to the top-level parent. Those will be cached in WS such that when rendering any Infoton we will be able to know its original protocol.

https://gist.github.com/bryaakov/16fff50df27259b53b373fc27b831c59

Automated tests covering this feature were added to functional regression suite. Moving to Done.


Add authentication support

Hello,
Newer device started to use a new protocol and now require an authentication to be used. In python-kasa, we can either set KASA_USERNAME and KASA_PASSWORD so it's used globally or specify --username and --password on the command line to specify it.
Exemple is KS240 device that require it.
Thank you

Hi @nodiaque! You are right, I can see now in the library that there is a credentials attirbute:
Ref: https://python-kasa.readthedocs.io/en/latest/smartdevice.html#kasa.DeviceConfig
credentials=Credentials("myusername", "mypassword"),

I think that can be integrated into mqtt2kasa  for sure. I am currently out of cycles for doing that, but would love to play with it in the future. Thank you for creating this issue.


Crashes on 0.18

Error while running event TLBE::on_tick (ID 0)
TLBE/scripts/main.lua:11: attempt to index local 'playerSettings' (a nil value)
stack traceback:
TLBE/scripts/main.lua:11: in function <TLBE/scripts/main.lua:8>

yep me too
Hi, i want to test the Mod but after downloding and installing it from the Mod Website of Facotrio, a can't load any Savegames ^^
Image of the Error
Game Version: 0.18.32
Installed Mods: 110 (without the base Mod)
List of Mods:

1: 2x2-Chest
2: A Sea Block Config
3: aaa-log-active-mods
4: Advanced-Solar
5: AfraidOfTheDark
6: angels-smelting-extended
7: angelsaddons-oresilos
8: angelsaddons-petrotrain
9: angelsaddons-pressuretanks
10: angelsaddons-warehouses
11: angelsbioprocessing
12: angelsindustries
13: angelspetrochem
14: angelsrefining
15: angelssmelting
16: AutoDeconstruct
17: beautiful_bridge_railway
18: belt-reverser
19: Better-Power-Armor-Grid
20: BigBags
21: BigFluidWagon
22: BlueprintExtensions
23: blueprint_flip_and_turn
24: bobassembly
25: bobelectronics
26: bobenemies
27: bobinserters
28: boblibrary
29: boblogistics
30: bobmining
31: bobmods_gfxtweak
32: bobmodules
33: bobplates
34: bobpower
35: bobrevamp
36: bobtech
37: bobvehicleequipment
38: bobwarfare
39: ChangeMapSettings
40: CircuitProcessing
41: Compilatron
42: Crafting_Speed_Research
43: DragonIndustries
44: easy-wind-turbine
45: EasyCreative
46: Electric Furnaces
47: EnableResearchQueue
48: enhanced-pipette
49: even-distribution
50: even-longer-inserters
51: Exoskeleton Mark II
52: Explosive Excavation
53: factorio-reach
54: Factorissimo2
55: FastLongInserters
56: flib
57: Flow Control
58: fluid-void-extra
59: FluidFilter
60: FluidMustFlow
61: fluid_permutations
62: FNEI
63: HandyHands
64: helmod
65: industrial-engineering
66: infinite_buffer_fluid_tank
67: Inventory Sensor
68: jetpack
69: KS_Power
70: LandfillPainting
71: LaneBalancer
72: LoaderRedux
73: LogisticTrainNetwork
74: LtnManager
75: LTN_Combinator
76: manual-inventory-sort
77: miniloader
78: Nanobots
79: nice-try-train
80: nixie-tubes
81: NoRespawnGun
82: Noxys_Waterfill
83: Nuclear Fuel
84: OpteraLib
85: Orphan Finder
86: PavementDriveAssist
87: PersonalTeleporter
88: Power Armor MK3
89: qol_research
90: railloader
91: RaiLuaLib
92: reverse-factory
93: ScienceCostTweakerM
94: SeaBlock
95: ShinyAngelGFX
96: ShinyBobGFX
97: some-corpsemarker
98: SpaceMod
99: Squeak Through
100: stdlib
101: StorageTank2
102: TarawindBeaconsRE
103: Teleporters
104: textplates
105: TimeTools
106: TLBE
107: UltimateBelts_Owoshima_And_Pankeko-Mod
108: VehicleSnap
109: VoidChestPlus
110: Warehousing

pls fix that ;-)

Hi
Thank you for trying my mod :smile:
hm... looks like initialization of the mod is not working (it does for me, but I only tried a single player 'freeplay'.
Which type of game are you trying?
(I am all new to creating mods, so I though I initialized the required variables properly, but maybe only for freeplay?)

never mind, I tried a new game myself and also have the error... :disappointed:  (guess I meesed up some change during recording of the demo and never tried a new game after it)
I'll fix and make a release soon

The commit should fix the issue of @H4nSolo as it did not initialize when loaded into existing games (I could reproduce this scenario and now it worked for me)

@H4nSolo BTW the mod does not know the size of an existing base, so you'd need to build something in each corner in order for the mod to make screenshots of your complete base.

yep its fixed ;)
Thx for you work and have a nice day

Thanks for reporting, I uploaded the release to the mod portal.
I'll leave the report open to see if it is fixed for @arik123 as well.

ok but now it makes endles sreenshot of my position and actions ^^
https://imgur.com/a/yOgaHuo <--- ingame
https://imgur.com/J3YLnks <----- Screenshot Folder

Do you want my modpack and savegame for testing?

If you have default settings, you are recording with 25 frames per second, with a 'speed increase' of 1.5, so you'd end up with 25/1.5 = ~17 screenshots per second..! (not a real timelapse, more a 'fast rewind' :wink: )
Try increasing 'speed increase' to 60 (1 screenshot per minute -> ~1 per 2.4 second with 25fps), or even 120 (5 screenshot per 5 @ 25fps)
But yes, images will grow, the 8 hour play for my demo resulted in over 7000 screenshots (using 120 speed increase)

BTW the numbers in the image names are the game ticks the screenshots were taken, so in your case every 24 ticks a screenshot was taken (which is about 3 per second, as a second has 60 game ticks)

Works great for me, seems to work even on multiplayer 😄 Great mod, gonna use it on my next playthrough. Also, I would like to suggest you to set a bit more sensible default values.

seems to work even on multiplayer

This was on my todo list to check, thanks for reporting :smile:

I would like to suggest you to set a bit more sensible default values.

You have suggestions? (feel free to suggest :wink: ) Or it was more in general?

Make default capture rate 1/min or something like that, and turn chat spam off, maybe just print "Capture started" or something like that.

Thank you for your suggestions

default capture rate 1/min or something like that

Makes sense as a default yes

turn chat spam off, maybe just print "Capture started" or something like that.

I am going to completely disable, as it does not add any value (I started it as debug purpose, and then got annoyed by it :wink: ) (see #4)


Not working on firefox

Reddit reported "TouchEvent not defined."

After some quick googling, I think the fix might look something like this: https://github.com/tiny-devs/tiny-dungeon-online/commit/30f285c531b9a70f317a646f9eeadff8374778e4

It worked! I'll just fix some deploy errors caused by a new version of Deno and then publish it. Thank you very much @nico-abram

Great! Glad I could help. Sorry I didn't submit a pull request, I didn't have a chance to test it

No problem! It's deployed.


[Question]: Connection error

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
  llm = AzureOpenAI(
model="gpt-35-turbo-16k",
temperature=0,
deployment_name="my-custom-llm",
api_key=openai.api_key,
)

 service_context= ServiceContext.from_defaults(llm=llm)

 documents= SimpleDirectoryReader('/content/gdrive/MyDrive/original_data').load_data()
 index= VectorStoreIndex.from_documents(documents, service_context=service_context)
 query_engine= index.as_query_engine()
 response= query_engine.query("Rewrite the text more elegantly in the shakespear style?")
print(response)

APIConnectionError: Connection error?

I'm facing the same issue. Did you figure out a solution?


boot2docker upgrade 1.6.0 -> 1.6.1 fails

In the cli i issued the boot2docker upgrade command the i got the following error:
boot2docker upgrade
Backing up existing docker binary...
Downloading new docker client binary...
Success: downloaded https://get.docker.com/builds/Darwin/x86_64/docker-latest
        to /usr/local/bin/docker
        The old version is backed up to ~/.boot2docker.
Backing up existing boot2docker binary...
Downloading new boot2docker client binary...
Success: downloaded https://github.com/boot2docker/boot2docker-cli/releases/download/v1.6.1/boot2docker-v1.6.1-darwin-amd64
        to /usr/local/bin/boot2docker
        The old version is backed up to ~/.boot2docker.
Latest release for github.com/boot2docker/boot2docker is v1.6.1
Downloading boot2docker ISO image...
Success: downloaded https://github.com/boot2docker/boot2docker/releases/download/v1.6.1/boot2docker.iso
        to /Users/lpapp/.boot2docker/boot2docker.iso
error in run: Failed to start machine "boot2docker-vm": exit status 1

Manual VM start
I tried to start from VirtualBox, and this is what i received:
Failed to open a session for the virtual machine boot2docker-vm.

UUID {29bf05f2-0562-4268-b49c-077d32b91797} of the medium
'/Users/lpapp/VirtualBox VMs/boot2docker-vm/boot2docker-vm.vmdk'
does not match the value {fb89b4bb-87ac-41ab-91d8-8b78273ae65b}
stored in the media registry ('/Users/lpapp/Library/VirtualBox/VirtualBox.xml').

I was able to solve it by renaming the vmdk. Tip coming from Stackowerflow


Python does not properly interpolate

NeoVIM v0.9.5
flow.nvim: master
The interpolation seems broken when trying to run Python scripts.
A case:
  {
    'arjunmahishi/flow.nvim',
    opts = {
      output = {
        buffer = true,
        size = 80,
        focused = true,
        modifiable = false,
      },

      filetype_cmd_map = {
        python = [[echo "cd $pwd && python $curr_file"]], -- same for echo cd $pwd && echo python $curr_file
      }
    },
    config = true,
    cmd = { 'FlowRunFile' },
    keys = {
      {'<leader>R', ':FlowRunFile<CR>'},
      {'<leader>cR', ':FlowRunCustomCmd<CR>'},
      {'<leader>cL', ':FlowLauncher<CR>'},
    }
  },

Command:
nvim test.py

Expected:
cd /home/naquad/projects/tests && python3 test.py

Actual:
cd  && python

Other languages, such as Go, Rust, and Bash are working as expected.

Ahh... Thanks for pointing this out. The interpolation does not happen for the :FlowRunFile command at all (not sure how you got it working for Go, Rust, and Bash 🤔 ). Currently, the interpolation only happens while running custom commands.
        filetype_cmd_map = {
          python = [[echo "cd $pwd && python $curr_file"]],
          go = [[echo "cd $pwd && go run $curr_file"]]
        }

I tried this and they both don't work.

But your use case makes sense to me. I will push a commit that adds interpolation for all types of commands.

Feel free to reopen this issue if you want to discuss anything more. Thanks again! :)

For rust it is "cargo run" so no interpolation needed, no idea how it was working for go. After the update it works as expected :+1:  Thanks.


Also query org.gnome.desktop.interface color-scheme for auto theme

Right now the portal is used, but there's also a gnome specific thing https://github.com/GNOME/gsettings-desktop-schemas/blob/98ee09e0a7d1ce99a462eee4c26f51bc497c4d49/schemas/org.gnome.desktop.interface.gschema.xml.in#L297 .

What is the value of using Gnome specific setting if Gnome supports and prefers the existing standard anyway?
We had it implemented already here, but I'm not a huge fan of hard-coding Gnome specific stuff, so it was intentionally replaced with non-gnome specific solution, aka XDG settings portal.
Not opposed to adding it back, I just don't see a point.

We had it implemented already here, but I'm not a huge fan of hard-coding Gnome specific stuff, so it was intentionally replaced with non-gnome specific solution, aka XDG settings portal.

Mostly as a fallback to portal, I don't have portals at all for example, but have gnome stuff to configure gtk and set preferred theme there. I'm not sure you can be on GNOME without a portal though.

There's no benefit to using GNOME-specific interfaces when cross-desktop standards exist already.
If a desktop doesn't have a portal exposing basic preferences such as these, then imo it's broken.

I'm not sure you can be on GNOME without a portal though.

No, not without a very broken user experience.


Using MemoryRouter throws an error

What version of Remix are you using?
1.2.3
Steps to Reproduce
It's rather simple to reproduce this. Just embed MemoryRouter from 'react-router-dom'. This is an example reproducing this issue: link
Expected Behavior
This is expected to work as remix is built on react router.
Actual Behavior
This throws an error.

Closing this as this is not how we're expecting you to use Remix.


feat: centralize url state management in oss

Problem
Currently the state management was intermingled with the sidebar stuff, also navigation didn't work 100% of the time.
Explanation
This happens because of scrolling to ID and the intersection observer triggering after the fact
Solution

centralized all navigation logic
changed the hash to look like #tag=pet&method=get&path=/pet/findByStatus can be easily changed
use window.location.replace to move to section instead of scrollIntoview
renamed useNavigation to useSidebar since that's all it does now
moved all navigation logic into useNavigate

PR on pause for some re-configuration

This looks sweet, do you think it's possible to use <a> tags in the sidebar the was we do in the search?

This PR is closed in favour of https://github.com/scalar/scalar/pull/650


Feature: add support for other registries

We use jfrog.io as our registry for our private packages, but Greenkeeper only supports npmjs.org for private packages. Even though Greenkeeper still has value for us because of all the third party packages, we still would like to have support for our private packages too.
I think that JFrog offers the same API as npmjs, so I hope that implementing this would be fairly straightforward. If the API is standardized, you could even expand it to allow other registries as well?

If you can provide some hints on where to start, I can try to convince my manager to invest some time for a PR.

Hi @ronderksen, this is a very generous offer, thank you very much :)
For the support of alternative registries, we already have some infrastructure in place, so it is feasible to add this feature.
These are some of the considerations that have to go into this from our end:

[ ] The registry needs to emit events for package publishes, ideally as web hooks.
[ ] The registry needs to authenticate web hooks with an API key.
[ ] It must be easy for end-users to configure the API key with Greenkeeper.

this currently works by Greenkeeper supplying a webhook secret to the initial PR
If JFrog emits the same web hooks as npm, the same secret can already be used to send package updates.

Let us know if you have any questions :)

@ronderksen heya, any updates on this? :)

@janl Sorry, we've decided that greenkeeper doesn't work for us (devs were basically ignoring GK PRs), so I haven't invested any time in this issue anymore.

I'm also using JFrog as private npm registry. They have some kind of hooks, but I'm trying to send the notification to Greenkeeper directly from my continous integration pipeline (after publishing the new NPM module), with a script.
For that, I'm trying to reuse the npm hook on https://hooks.greenkeeper.io/npm, sending to it a HTTP POST request with this payload:
const payload = JSON.stringify({
        payload: {
                name: '@my_scope/my_package_name',
                'dist-tags': {
                        latest: "my_version"
                },
                versions: {
                        "my_version": {
                                gitHead: "git_commit_of_tagged_version",
                                repository: {
                                        type: "git",
                                        url: "github_repository_url"
                                }
                        }
                }
        }
});

The response server is 202: {ok:true}, so I suppose that the hmac is right. But I don't see any PR (or any other kind of activity) from greenkeeper in my GH repository after the POST (greenkeeper is configured, I'm getting PR's for public modules).
Should this integration work? What else would I need?


Toggle post-import tools Is disabled!

Pre-parse all content with my custom JavaScript  and Post-parse all content with my custom JavaScript didn't show any input box when checked or unchecked them.
we have this errors on console on home page of this plugin :
WebSocket connection to 'ws://forum.sanatisharif.ir/socket.io/?EIO=3&transport=websocket&sid=y503YP7m8nSQhawsAAAZ' failed: Establishing a tunnel via proxy server failed.
Uncaught Error: Load timeout for modules: settings,admin/modules/search,admin/plugins/import
http://requirejs.org/docs/errors.html#timeout

LOAD TIMEOUT FOR MODULES: ...
§ 2
Likely causes and fixes:
There was a script error in one of the listed modules. If there is no script error in the browser's error console, and if you are using Firebug, try loading the page in another browser like Chrome or Safari. Sometimes script errors do not show up in Firebug.
The path configuration for a module is incorrect. Check the "Net" or "Network" tab in the browser's developer tools to see if there was a 404 for an URL that would map to the module name. Make sure the script file is in the right place. In some cases you may need to use the paths configuration to fix the URL resolution for the script.
The paths config was used to set two module IDs to the same file, and that file only has one anonymous module in it. If module IDs "something" and "lib/something" are both configured to point to the same "scripts/libs/something.js" file, and something.js only has one anonymous module in it, this kind of timeout error can occur. The fix is to make sure all module ID references use the same ID (either choose "something" or "lib/something" for all references), or use map config.
http://requirejs.org/docs/errors.html#timeout

@sohrabafard some crashed the server, please provide server logs, not client.

@akhoury nodebb in dev mod have this :
12/12 19:52 [31206] - info: NodeBB Ready
12/12 19:52 [31206] - info: Enabling 'trust proxy'
12/12 19:52 [31206] - info: NodeBB is now listening on: <IP_ADDRESS>:4567
12/12 19:58 [31301] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.

  * nodebb-plugin-blog-comments
  * nodebb-plugin-dbsearch
  * nodebb-plugin-recent-cards

12/12 19:58 [31301] - info: [plugins/spam-be-gone] Settings loaded
12/12 19:58 [31301] - info: NodeBB Ready
12/12 19:58 [31301] - info: Enabling 'trust proxy'
12/12 19:58 [31301] - info: NodeBB is now listening on: <IP_ADDRESS>:4567

Nginx logs are empty

this is my server configurations :
https://community.nodebb.org/topic/7219/nodebb-0-9-2-some-errors-route-websocket-uncaught-error-load-timeout-for-modules
Also I don't know what is " Enabling 'trust proxy'" in nodeBB logs.

trust proxy is fine if your behind nginx.
Did you actually complete the import process? or was it interrupted?

when i install this plugin for first time, every thing was OK,
in progress of import break connection by restarting server,
so I import database again with flush option,
After that I have this issue.

something is wrong in log:
i watching dev log for long time, when i restart nodebb i see this:
warn: [socket.io] Clustering detected, you are advised to configure Redis as a websocket store.

but i don't have redis, at the beginning i used redis, but i purge that and then install mongodb then import again ( It was here that the server be restarted and then did the operation again with flush option),
So I don't have any redis in my server

I install redis-server , and import it's config in config.js so fix this issue,
I don't know why ? my nodebb use mongodb not redis database !!!

usually if if the import was

incomplete
reinstalled your node_modules after import
or delete the Tmp files

this should fix it, create this file lastimport then restart nodebb and refresh the import admin page
cd /path/to/NodeBB
echo "1234567890" > node_modules/nodebb-plugin-import/server/tmp/lastimport
./nodebb restart

thanks a lot


Fix verify functions' return type to be bool

Targeting v0.11, since it is a breaking API change

Closing in favor of #145


Fix issue with noBackdrop and swipe gestures.

If a modal has no backdrop and and contains swipe gestures, if you gesture in any direction not listed in props will result in the following error.
Swiping down with these props results in the error below.
hasBackdrop={false}
swipeDirection="up"

Available in<EMAIL_ADDRESS>


display flash usage in cards as blocks

The amount of blocks used can be computed, just Math.floor(size/4096)
Display that as blue blocks like in the flash usage pane. This has two benefits: It provides a feeling of the impact on size, and is the only way to get an insight into blobs in compressed sections, such as with UEFI; see also https://github.com/theopolis/uefi-firmware-parser/pull/94#issuecomment-715420292.
TODO: Should we display compressed, uncompressed or both sizes that way? Editing the set of compressed blobs influences the overall size of a compressed section, e.g., common large chunks do not simply add up in size, but merely add some bytes etc..

This is now implemented to some degree. Not much thought has been put into what exactly to be shown. UEFI filesystems are compressed, so the number of blocks is a bit misleading; it does leave an impression in terms of size when extracted though.


Support query when neo4 return the actual number instead of a object.

NOTE: Please review this PR as we are using this Lib our MVP, @ciminf if in case of any misunderstanding or miscommunication in this description please contact me back.
This PR adds just a small check when the retured value from the neo4J is actually a number.
This situation happens when dev sets disableLosslessIntegers:true options in the driver configurations https://www.npmjs.com/package/neo4j-driver
Hope this PR gets merged ASAP :hand:

Thank you for you PR,
I fixed it using the code below
...
    if (this.timestamp && record && record[this.timestamp]) {
      result[this.timestamp] = new Date(Number(result[this.timestamp]));
    }
...

I also added end to end tests to validate the disableLosslessIntegers use case on cats app static-import-cat.e2e.spec.ts
Let me know if it doesn't work for you or if you need additional changes.

Awesome!, Just waiting for it to publish onto NPM.

It should be available in 0.5.12

Yup it works, Thanks for helping out!


Whisper failed to recognize Chinese contents

Here is the code that I used to extract subtitles from a video that I recorded. So it uses ffmpeg to extract the audio track first, then send it to whisper-rs for inferencing. However, the extracted subtitle is irrelevant to the video that I recorded. I tried to tweak around the BeamSearch, best_of as well as the initial prompt, but no success.
Am I doing wrong with my code?
use rodio::Source;
use whisper_rs::{WhisperContext, WhisperContextParameters, FullParams, SamplingStrategy};

mod audio_conversion;

fn main() {

    // extract an audio track from the video
    use std::path::Path;

    let videopath = Path::new("./video.mov");

    if !videopath.exists() {
        println!("video file is not seen.");
    } else {
        println!("{}", videopath.file_name().unwrap().to_str().unwrap());
    }

    match audio_conversion::AudioVideoConverter::convert_video_to_audio(
        videopath.to_str().unwrap(),
        "./extracted_audio.wav"
    ) {
        Ok(_) => println!("audio extraction finished."),
        Err(error) => println!("{:?}", error)
    };

    // getting into whisper
    let mut whisper_parameters = FullParams::new(
        SamplingStrategy::Greedy { best_of: 0 }
    );

    whisper_parameters.set_language(Some("zh" as &str));
    // whisper_parameters.set_initial_prompt("以下是普通话句子：" as &str);
    whisper_parameters.set_print_realtime(true);

    let whisper_context = match WhisperContext::new_with_params(
        "ggml-large-v2-q5_0.bin",
        WhisperContextParameters::default()
    ) {
        Ok(result) => result,
        Err(error) => panic!("{}", error)
    };

    use std::fs::File;
    use std::io::BufReader;
    use rodio::Decoder;

    let audio_track = match File::open("./extracted_audio.wav") {
        Ok(result) => BufReader::new(result),
        Err(error) => panic!("{}", error)
    };

    let decoded_audio_track: Vec<i16> = match Decoder::new(audio_track) {
        Ok(result) => result
            .convert_samples::<i16>()
            .map(|sample| sample)
            .collect(),
        Err(error) => panic!("{}", error)
    };

    let mut samples: Vec<f32> = vec![0.0f32; decoded_audio_track.len()];
    whisper_rs::convert_integer_to_float_audio(&decoded_audio_track, &mut samples)
        .expect("sample conversion failed.");

    // now we can run the model
	let mut state = whisper_context.create_state().expect("failed to create state");
	state
		.full(whisper_parameters, &&samples[..])
		.expect("failed to run model");

	// fetch the results
	let num_segments = state
		.full_n_segments()
		.expect("failed to get number of segments");
	for i in 0..num_segments {
		let segment = state
			.full_get_segment_text(i)
			.expect("failed to get segment");
		let start_timestamp = state
			.full_get_segment_t0(i)
			.expect("failed to get segment start timestamp");
		let end_timestamp = state
			.full_get_segment_t1(i)
			.expect("failed to get segment end timestamp");
		println!("[{} - {}]: {}", start_timestamp, end_timestamp, segment);
	}

}

Closed the issue. As I figured, the issue is on the model, since the English inference is okay. After I changed the model to a fine tuned version, it works just fine.


Support old version state machine designer artifacts

Why you need it?
New version state machine designer uses JSON with style information that is great similar to the user-written JSON. However, the JSON file that old version (i.e., the one implemented in GGEditor) is in a very different form. The new version should be backward-compatible.
How it could be?
Extend SagaImporter to be backward-compatible.
Other related information
Please merge related PR to the refactor_designer branch.

I would like to work on this issue. Could you please assign it to me?

@ptyin I would like to work on this issue. Could you please assign it to me?

Sure. You can first shed some lights on it (how would you like to design and test), and then work on implementation.

@ptyin I would like to work on this issue. Could you please assign it to me?

Sure. You can first shed some lights on it (how would you like to design and test), and then work on implementation.

My  idea might be simpler. Add a converter function that checks whether the JSON is in the old version format. If so, convert it to the new version format.
And I want to know,how many versions before?Which version of Seata uses the old JSON format?

@ptyin I would like to work on this issue. Could you please assign it to me?

Sure. You can first shed some lights on it (how would you like to design and test), and then work on implementation.

My idea might be simpler. Add a converter function that checks whether the JSON is in the old version format. If so, convert it to the new version format. And I want to know,how many versions before?Which version of Seata uses the old JSON format?

There is a breaking change on the designer introduced by the following PR,

https://github.com/apache/incubator-seata/pull/6169

The old JSON format indicates the one before this PR. So what you should concern about is the one. You can checkout the 2.0.0 branch to see the older version,
https://github.com/apache/incubator-seata/tree/2.0.0/saga/seata-saga-statemachine-designer


RuntimeError: 3 : Feature does not belong to this component

Test Tray v1.zip
Thanks for sharing! I was about to write something similar, so this saved me a heap of work.
My use case is lasercutting, so I can only perform 2D operations. I've attached the project and the settings as images to this issue.
When processing the attached file, I get the following error:
EventHandler.notify: Traceback (most recent call last):
File "C:\Users/Alastair/AppData/Roaming/Autodesk/ApplicationPlugins/BoxJoint.bundle/Contents\fusion_util.py", line 48, in notify
handler(eventArgs)
File "C:\Users/Alastair/AppData/Roaming/Autodesk/ApplicationPlugins/BoxJoint.bundle/Contents\fusion_cf_addin.py", line 191, in onPreview
self._createCustomFeature(params)
File "C:\Users/Alastair/AppData/Roaming/Autodesk/ApplicationPlugins/BoxJoint.bundle/Contents\fusion_cf_addin.py", line 247, in _createCustomFeature
customFeature.setStartAndEndFeatures(features[0], features[-1])
File "C:\Users/Alastair/AppData/Local/Autodesk/webdeploy/production/9852aa66f5af6660db76d8087c75a7da16ce322c/Api/Python/packages\adsk\fusion.py", line 62319, in setStartAndEndFeatures
return _fusion.CustomFeature_setStartAndEndFeatures(self, startFeature, endFeature)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: 3 : Feature does not belong to this component
EventHandler.notify: Traceback (most recent call last):
File "C:\Users/Alastair/AppData/Roaming/Autodesk/ApplicationPlugins/BoxJoint.bundle/Contents\fusion_util.py", line 48, in notify
handler(eventArgs)
File "C:\Users/Alastair/AppData/Roaming/Autodesk/ApplicationPlugins/BoxJoint.bundle/Contents\fusion_cf_addin.py", line 199, in onExecuteCreate
self._createCustomFeature(params)
File "C:\Users/Alastair/AppData/Roaming/Autodesk/ApplicationPlugins/BoxJoint.bundle/Contents\fusion_cf_addin.py", line 247, in _createCustomFeature
customFeature.setStartAndEndFeatures(features[0], features[-1])
File "C:\Users/Alastair/AppData/Local/Autodesk/webdeploy/production/9852aa66f5af6660db76d8087c75a7da16ce322c/Api/Python/packages\adsk\fusion.py", line 62319, in setStartAndEndFeatures
return _fusion.CustomFeature_setStartAndEndFeatures(self, startFeature, endFeature)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: 3 : Feature does not belong to this component
Interestingly enough, the tabs have been created successfully and are available in the timeline.

The Box Joint add-in currently does not work on bodies in different components.
The workaround is to add your joints before you separate bodies into different components.
The root cause of this error is comes from the "CustomFeature API" used by the add-in does, which does not work on bodies in different components.
Right now, I don’t see a way around this.
Autodesk would have to make their "CustomFeature"s work across different components.
I may have to update the add-in to prevent and warn against use across multiple components.

Hmm, I thought I had all the bodies in 1 component. I'll double check next time I boot into Windows.


Amplify hosting not detected

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v18.17.1
Amplify CLI Version
12.4.0
What operating system are you using?
Windows 10
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
Amplify hosting MAYBE was added from console?
Describe the bug
I have changed my application from angular to plain JS
The build and deploy works fine and I can see the new files, but I can fetch the old files from the angular version.
I have executed
amplify publish -c
🛑 Add hosting to your project before publishing your project
Command: amplify hosting add

It's and old Amplify inhalation and I'm not sure how the hosting was added.
Hosting add not works
amplify hosting add
√ Select the plugin module to execute · Hosting with Amplify Console (Managed hosting with custom domains, Continuous deployment)
You have already connected branches to your Amplify Console app. Please visit the Amplify Console to manage your branches.

Expected behavior
Some way to sync hosting options with amplify pull
Reproduction steps
I can't reproduce the error.
Project Identifier
e2a6b48c5b48584b6f1162da36d4e8de
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Hey @CGarces, thank you for reaching out. The issue occurs when the hosting category has been via the AWS console, running amplify pull does not pull the hosting config. Unfortunately this information is only captured when hosting is added to the project on amplify add hosting.
marking this as bug for DX improvements.

I have deatached the branch, and added again from CLI.
but I can't execute amplify publish - c, only give the option of made a git push.
I still have the problem of old content served from cloud front.

Hi!
Cache Invalidation

If you select Amazon S3 & Amazon Cloudfront for hosting your Amplify project in the amplify add hosting flow, the frontend build artifacts will be uploaded to the S3 hosting bucket, and then if Amazon CloudFront is enabled along with it, the amplify publish command executed with the --invalidateCloudFront or -c flag will send an invalidation request to the Amazon CloudFront service to invalidate its cache.

I need to move to Amazon CloudFront and S3, due this problems and the cache miss, the managed cloudfront is useless to me.

I have a open case with AWS<PHONE_NUMBER>1
Looks like cloudfront is using the old index.html and made a redirection (the old version was an standard Angular application with routing).
Also the bug  #2563 is another reason to stop using hosted app.
Also the comment from https://github.com/aws-amplify/amplify-hosting/issues/2563#issuecomment-1723204047 provide a lot of information about what is probably going wrong with my deploy.
But In any case the main topic of the issue "Amplify hosting not detected" is solved, so I'll close the issue.

@CGarces I understand. I am going to keep the issue open as this would enable us in tracking the CLI improvements on the hosting flow.


Help : don't understand the behavior of 2d cast_motion

Godot version:
3.0.2 win64
OS/device including version:
Windows 10 1803 x64 / OpenGL ES 3.0 Renderer: AMD Radeon (TM) R9 380 Series
Issue description:
As from the doc, cast_motion should be used to test if a shape can move successfully to a point. I have made many tests but unsuccessful so far. I'm unable to understand the result. Perhaps caused by wrong parameters. This person seems to have the same problem as mine https://www.reddit.com/r/godot/comments/88cqph/how_does_cast_motion_work/
Steps to reproduce:
Created a root node and 2 bodies. 1 Kinematicbody2D and 1 StaticBody2D respectively with 1 rectangle CollisionShape2D each.
Added the script below to the CollisionShape2D of the KinematicBody2D.
extends CollisionShape2D

# class member variables go here, for example:
# var a = 2
# var b = "textvar"
var origin = Vector2()
var dest = Vector2()
var collision_safe = Vector2()
var angle = 0

func _ready():
	# Called every time the node is added to the scene.
	# Initialization here
	pass

func _process(delta):
#	# Called every frame. Delta is time since last frame.
#	# Update game logic here.
	origin = self.position
	dest = origin + (Vector2(1, 0) * 400).rotated(deg2rad(angle))

	var space_state = get_world_2d().direct_space_state

	var global_origin = global_transform.xform(origin)
	var global_dest = global_transform.xform(dest)

	var param = Physics2DShapeQueryParameters.new()
	param.collision_layer = $"..".collision_layer
	param.set_shape(self.shape)
	param.motion = (dest - origin)
	param.transform = self.transform
	#param.exclude = [self, $".."]

	var dir = space_state.cast_motion(param)

	var vec = dest - origin
	collision_safe = origin
	if not dir.empty():
		vec *= dir[0]
		collision_safe = origin + vec

	angle += 10 * delta

	update()
	pass

func _draw():
	# Draw some graphics
	draw_line(origin, dest, Color(255, 0, 0))
	draw_line(origin, collision_safe, Color(0, 255, 0), 2)

Minimal reproduction project:
CastMotionRoot.tscn inside d2 asset folder.
godot-learn.zip
Best regards.

Is this a bug or just a question ?
Here is the documentation of cast_motion:

Checks how far the shape can travel toward a point. Note that both the shape and the motion are supplied through a Physics2DShapeQueryParameters object. The method will return an array with two floats between 0 and 1, both representing a fraction of motion. The first is how far the shape can move without triggering a collision, and the second is the point at which a collision will occur. If no collision is detected, the returned array will be 1, 1.
If the shape can not move, the array will be empty (dir.empty()==true).

It seems pretty clear to me. What's is the problem in your situation ?

Hello,
I's more a question but perhaps a bug too as I'm not able to achieve any acceptable behavior. I think I did it like what's mentioned in the documentation.
I created a Physics2DShapeQueryParameters, filled the collision layer, the shape, the motion (vector towards the destination). But it never reports a hit dir is always [1, 1].
I really don't know if I passed the right parameters. You can see what I mean inside the test project. Green is how far the shape should be able to travel. It's always green even inside the other shape.
As I said I'm perhaps using the wrong parameters so excuse me if I'm wrong.
Best regards.

Yeah, this isn't a bug. Where you set the transform of the query parameters (param.transform = self.transform), you need to supply the transform of the body itself rather than the transform of the CollisionShape2D node (so that line should be param.transform = $"..".transform instead). With this change, your code works correctly.
Just as a heads-up, the CollisionBody nodes are just helpers and really shouldn't be in possession of this kind of collision-checking code (I don't really know the specifics, sorry); it should ideally be in a script attached to the actual body (in this case, the KinematicBody2D node the CollisionBody2D is a child of).

Ok, closing as it's not an engine problem then. :)

Yes, it works. Thanks for your time and sorry for that false issue.

Just as a heads-up, the CollisionBody nodes are just helpers and really shouldn't be in possession of this kind of collision-checking code (I don't really know the specifics, sorry); it should ideally be in a script attached to the actual body (in this case, the KinematicBody2D node the CollisionBody2D is a child of).

Yes thanks. This setup is for testing purposes only. I did like what you said the first time, but I suspected that there was some problem with how I passed the transform so I put the script directly there.
I think what I didn't understand in the doc (Physics2DShapeQueryParameters) is :

Transform2D transform - the transform matrix of the queried shape.

so I passed the CollisionShape every time (It's more clear now :))
Thanks again.
Best regards.

I think what I didn't understand in the doc (Physics2DShapeQueryParameters) is :

Transform2D transform - the transform matrix of the queried shape.

so I passed the CollisionShape every time (It's more clear now :))

Ah, I can see how you got confused. The docs probably need some clarification, though I'm not really sure how. Glad you fixed your problem, in any case.

Funny, I had to use the global_transform of the shape, not the parent, or it didn't work. There's little examples about using this calls so I'm commenting in case someone else has problems getting the collision detection to work.
My shape object had an offset and the collision detection didn't account for it unless I passed the transform from the shape. It seems the documentation was correct after all or I totally missing something and still it works.
I'm using Godot 3.4-beta4.


getAll() fails if my localStorage contains non-valid jsons

If any of my values in localStorage are non-valid json, I get the following error when calling Lockr.getAll()

Shouldn't we return missing; here ?

Hey, can you provide a stacktrace and preferably some code that reproduces this bug?

Sure, I'll try to do this this evening

Thank you!

Here's a jsfiddle: https://jsfiddle.net/stropitek/hc8ru0uz/2/
The problem seems to be the presence of characters that need to be escaped according to the json spec, for example double-quotes or tabulation.


Create an Account

As a food representative
I need to create an account on the platform
So that I can manage my food bank’s profile and events.
Details and Assumptions

[x] setup superbase authentication
[x] setup middleware to handle protect routes
[x] Setup signup & login
[ ] UI Design

Acceptance Criteria
Given [some context]
 When [certain action is taken]
Then [the outcome of action is observed]

The supabase is set up with a dev environment.
If you want to use auth please use email registered with supabase

Still Need UI design


fix(View): input could not be focus if selected

https://github.com/daybrush/moveable/issues/110

https://github.com/daybrush/moveable/issues/110 #

lgtm


fix: NVSHAS-9624 rewrite swagger validation

Use redocly/cli to replace swagger-validator-action.
Upgrade related actions and golang version.
Fixed a few issues in api docs.
Validate internal_apis.yaml

LGTM

@williamlin-suse if you're okay with it, could you help to approve this PR?  Thanks!


web-sys agent conversion

This is building on top of #817 and therefore also on #813.
Turned out very clean so far, there are some performance improvements that may be gained here by not converting to JS arrays, I will look into this later.
Cc #558, #826, #813, #817, #827, #841.

Properly split PR now.

I added a new API to Agent: fn is_module() -> bool.
This makes a worker support js modules, at this point in time only chrome supports it behind a flag or chrome beta. But it will arrive in chrome with the next release, version 80 on Feb 4.
This is mainly to help with wasm-bindgen not supporting no-modules to the fullest extent: e.g. not supporting js snippets.

Forgive my force pushing here, I forgot to give the commit a message 😞.
I am experimenting with cfg-if and cfg-match in this PR, will let the members of this project decide if that makes the code look better or not.


RLP-832 Handle invite 2 lc's

This PR attempts to fix a bug on the matrix client sync method.
Problem
When we have a fresh account and we start the node using that account (or in the LC case we onboard with a brand new account). The sync method used to get all the status of the network just end up getting stuck because of the amount of data that matrix returns. The specific error is in the presence process, basically we have an array with all the presence changes on all the public rooms on matrix for each user, and for each of those events we are creating threads and processing the data, the amount of events causes the main thread of the sync process to be slow and that's why we have a sync problem.
Solution
For now the solution is to remove the presence listener logic and we decided to not update that since we are not using it. In the future if we keep using matrix we will need to get back this code and filter the events in a smarter way so we don't have such amount of data to process.
Changes:

Removing the presence listener
Removing the presence listener call on sync

This affects the sync of matrix, it fixes an error on the first execution of the client when we update all the network state.

@JONAF2103 can you put here the jira issue created for reviewing this in a future?

Manual tests are working, the baseline gave me some differences on testing matrix, i will fix that and update this PR

Test Results are ok, i will merge this now


Logout

Implement the Logout:

Remove the Session Cookie of the User
Invalidate the Spring Session

https://www.baeldung.com/spring-security-session

When you find out why the session still has a valid user after /auth/logout is called, please let me know.
This is the code that calls the endpoint on the frontend:
https://github.com/Abstractolotl/azplace-frontend/blob/main/src/api.ts#L83


Indy-node docker build is failing

Describe the bug
Docker build of indy-node is failing
https://hub.docker.com/repository/registry-1.docker.io/hyperledgerlabs/indy-node/builds/ffee351d-faf7-4f79-9679-99ab0d1f6bc5
epends: python3-psutil (= 5.4.3) but 5.6.6 is to be installed
Depends: python3-psutil (= 5.4.3) but 5.6.6 is to be installed
Depends: python3-pympler (= 0.5) but 0.8 is to be installed
E: Unable to correct problems, you have held broken packages.

Removing intermediate container cb384d2d73d4
The command '/bin/sh -c apt-get update -y && apt-get install -y indy-plenum=${indy_plenum_ver} indy-node=${indy_node_ver} python3-indy-crypto=${python3_indy_crypto_ver} libindy-crypto=${indy_crypto_ver} python3-pyzmq=${python3_pyzmq_ver}' returned a non-zero code: 100

To Reproduce
Steps to reproduce the behavior:

Go to 'platforms/hyperledger-indy/images/indy-node'
Run docker build as per the readme of the folder
The build fails

Expected behavior
Indy Node build should be successful.
Environment (please complete the following information):

OS: ubuntu
Version <IP_ADDRESS>

Issue seems to be related to packages dependencies that would need to be upgraded. Will have a look at the issue and test in the process. Adding this comment as a placeholder

@sownak @suvajit-sarkar Indy-node build is now successful after fixing the package dependency issue.
Step 22/22 : ENTRYPOINT ["/var/lib/indy/start-indy-node.sh"]
 ---> Using cache
 ---> d5ad7be60c73
Successfully built d5ad7be60c73
Successfully tagged hyperledgerlabs/indy-node:1.11.0


Bring the 3.13 branch up to date

This PR brings the 3.13 up to date with the 3.12 branch.

@jamezp thanks. I got a HTTP 500 server error from GitHub while merging this, but it looks like the changes were actually properly merged. So I now have to close the PR here.


Fix require of eventemitter3

eventemitter3 module directly exports EventEmitter, not a named property as events had before a19a9e2dec6ef984f97ba882231a7e25a33016b6

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:

CLA is valid!

@turadg you will also need to update the package.json with the current version.

Merged in https://github.com/yahoo/dispatchr/commit/52b703de801e5c71cd3143da0171f0a6948f3540


Annoying Scroll Bug

Hentoid Version:1.2.1r2

Device/Android Version:Huawei P9lite 6.0 EMUI 4.1.1

Issue details / Repro steps:When you scroll your download page, endless mode or page mode, it would show "Go on, download something" after. It's kinda annoying. It works last time by gently scrolling, but now it won't. I can't read my earlier downloads 😥

Stack trace / LogCat: Sorry I still don't know how to do this.
paste stack trace and/or log here

Me doing it rough:
https://youtu.be/lOIAZck6PbE
Me doing it gently:
https://youtu.be/lOIAZck6PbE
@AVnetWS/admin-team

There have been some scrolling improvements already implemented in the current dev branch (I was already aware of the scrolling issues).
I still want to improve that a bit more, which is why there has not been an update pushed out with said fixes.
Most of the issues here is dealing with slower SD Cards (internal and external) and loading from the database.
Anyways, thank you for documenting this.

That's good to hear. Thanks for the update.


Support for Matlab users

Many people who might be interested in this tool are primarily Matlab users. We should make it as easy as possible for them to integrate FOOOF into their pipelines.
Options (non-exclusive):

Would could have a demo notebook / script, that serves a template for the minimum required to load PSDs (from a mat file), run FOOOF, and save them back out, for further analysis back in Matlab.
To assist with above, we could add a FOOOF save option to save out to .mat? (This would be useful if loading the default json files is not so good / straightforward from Matlab).
Is there for simple Matlab code we can write for loading and parsing FOOOF result files (jsonlines)?
Can we add a Matlab wrapper? How easy is it to call python from Matlab? Can we avoid people having to move to python entirely? (Didn't pacmat do this?  cc @srcole).

Hey guys, any further thoughts/progress on a matlab-friendly FOOFlite?
The power spectrum slope has suddenly become very relevant in one of my projects... but our lab is still in matlab. Figured it would be better to use your established method than start from scratch if possible.

For now, it's best to just save mat files of the data, feed those in to fooof, and then export the slope fits (or whatever other features) to pull back into matlab.

@dlevenstein
We are not currently planning a re-implementation of the algorithm in Matlab, but I finally got around to making the support materials / functions for using FOOOF from Matlab - either as a wrapper from Matlab directly, or in a workflow that has you efficiently in and out of Python, as part of a Matlab pipeline.
All this stuff is now available here:
http://github.com/voytekresearch/fooof_mat
Note: this is all brand new - so if you do test it out, please let us know if it all works, and make any comments / suggestions, etc.

Thanks guys! I'll let you know how it goes.
Dan

On Jul 1, 2018, at 2:57 AM, Tom<EMAIL_ADDRESS>wrote:
@dlevenstein
We are not currently planning a re-implementation of the algorithm in Matlab, but I finally got around to making the support materials / functions for using FOOOF from Matlab - either as a wrapper from Matlab directly, or in a workflow that has you efficiently in and out of Python, as part of a Matlab pipeline.
All this stuff is now available here:
http://github.com/voytekresearch/fooof_mat
Note: this is all brand new - so if you do test it out, please let us know if it all works, and make any comments / suggestions, etc.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@dlevenstein Sounds good!
If you do have any comments, please open issues over at fooof_mat:
http://github.com/voytekresearch/fooof_mat
@ everyone:
Since we covered the points of this issue, and related stuff has been moved, I'm going to close this issue. Any further discussion should be over at fooof_mat.


Includes Hindi & Gujarati localization strings.

Great work here. Thank you!

Cheers, thanks for merging.


[JAMES-3943] fix package pulsar smtp docker image with jib

docker-configuration folder does not exists, was making the docker build with Jib failing for pulsar smtp module.
cc @jeantil :)

sorry about that: I do have an empty docker-configuration folder locally, so local builds worked and since its empty it fell out of git's radar.

Ah no worries @jeantil !


typo: repesenting -> representing

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

outlook/How-to/Using-Visual-Basic-to-Customize-Outlook-Forms/reference-the-active-user.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


workrave fails to compile on nixos-unstable

Steps To Reproduce
Build workrave
Build log
CPPFLAGS="-Wno-cast-function-type" CFLAGS="-g -O2" LDFLAGS="" CC="gcc" PKG_CONFIG="pkg-config" GI_HOST_OS="" DLLTOOL="false"  /nix/store/fzi3lmlx93alqmdi8ahxnspxrpchgr63-gobject-introspection-1.72.0-dev/bin/g-ir-scanner  --add-include-path=. --add-include-path=./../include --warn-all --include GObject-2.0 --include Gtk-3.0 --include cairo-1.0 --namespace=Workrave --nsversion=1.0 --libtool="/nix/store/zwjm0gln1vk7x1akpyz0yxjsd1yc46gi-bash-5.1-p16/bin/bash ../../../../libtool"  --include=GObject-2.0    --library=libworkrave-private-1.0.la  --cflags-begin  -I/nix/store/05i1vqf87i34paws4ssg7axm4d1ylm5p-glib-2.72.1-dev/include -I/nix/store/05i1vqf87i34paws4ssg7axm4d1ylm5p-glib-2.72.1-dev/include/glib-2.0 -I/nix/store/ckj0g3ycva2an405zf4mh4bvqhj44zr5-glib-2.72.1/lib/glib-2.0/include -I/nix/store/pf2zxhxpp6iz52xspkni9d4gxlrd8qsf-glibmm-2.66.4-dev/include/giomm-2.4 -I/nix/store/p1j2aphjaxvvklc42zhczv3rv2sws2g1-glibmm-2.66.4/lib/giomm-2.4/include -I/nix/store/pf2zxhxpp6iz52xspkni9d4gxlrd8qsf-glibmm-2.66.4-dev/include/glibmm-2.4 -I/nix/store/p1j2aphjaxvvklc42zhczv3rv2sws2g1-glibmm-2.66.4/lib/glibmm-2.4/include -I/nix/store/rp097s6ns75jwa1k0c01vss3pz6a2yvg-libsigc++-2.10.8/include/sigc++-2.0 -I/nix/store/rp097s6ns75jwa1k0c01vss3pz6a2yvg-libsigc++-2.10.8/lib/sigc++-2.0/include -I/nix/store/6s48s8wx9ib0c19jipqni09czv92fvzz-gtkmm-3.24.6-dev/include/gtkmm-3.0 -I/nix/store/ywh629a0swrz8pmhnhk6fb9dyd2knffc-gtkmm-3.24.6/lib/gtkmm-3.0/include -I/nix/store/6s48s8wx9ib0c19jipqni09czv92fvzz-gtkmm-3.24.6-dev/include/gdkmm-3.0 -I/nix/store/ywh629a0swrz8pmhnhk6fb9dyd2knffc-gtkmm-3.24.6/lib/gdkmm-3.0/include -I/nix/store/qjcx0f8ypilx5aihrp25ngnnvrrvg2s1-gtk+3-3.24.34-dev/include/gtk-3.0/unix-print -I/nix/store/qjcx0f8ypilx5aihrp25ngnnvrrvg2s1-gtk+3-3.24.34-dev/include/gtk-3.0 -I/nix/store/m3kfyz7p7h645nvi0s0qmnkix1z2vw55-atk-2.38.0-dev/include/atk-1.0 -I/nix/store/7q2wg81xgs5svgini137wr2smag1h3cg-cairo-1.16.0-dev/include/cairo -I/nix/store/0iyadd7k48mwx2g21rms14y6a8k13ca7-freetype-2.12.1-dev/include/freetype2 -I/nix/store/0iyadd7k48mwx2g21rms14y6a8k13ca7-freetype-2.12.1-dev/include -I/nix/store/k8gdc3ljmwh4ig16fbdng108zyi2asgy-gdk-pixbuf-2.42.8-dev/include/gdk-pixbuf-2.0 -I/nix/store/x4fambwvf7lbn9xjzws5cih98p9fwkzq-pango-1.50.7-dev/include/pango-1.0 -I/nix/store/7jwmq82i6scrw5b840bh2azvjpbv2m8y-harfbuzz-3.3.2-dev/include/harfbuzz -I/nix/store/fbn610scm90vl147zfs6nj997j2zwnr0-atkmm-2.28.2-dev/include/atkmm-1.6 -I/nix/store/cp4vs6hqnfk8wdql0hwmjdlnq1wgvxpq-atkmm-2.28.2/lib/atkmm-1.6/include -I/nix/store/jq9q4d4nxsk650g034nlk717n3vpvqp6-cairomm-1.14.3-dev/include/cairomm-1.0 -I/nix/store/8mpmpbgx79456yf73g59n63zr0hi08wx-cairomm-1.14.3/lib/cairomm-1.0/include -I/nix/store/blamm3s9pfb7m4x6wa0nk66v0hr095gb-pangomm-2.46.2-dev/include/pangomm-1.4 -I/nix/store/bf22yxyb5pgdirdml7swda55wanf02sj-pangomm-2.46.2/lib/pangomm-1.4/include -I./../include --cflags-end  timebar.c timerbox.c control.c ../include/timerbox.h ../include/timebar.h libworkrave-private-1.0.la --output Workrave-1.0.gir
Traceback (most recent call last):
  File "/nix/store/fzi3lmlx93alqmdi8ahxnspxrpchgr63-gobject-introspection-1.72.0-dev/bin/g-ir-scanner", line 94, in <module>
    from giscanner.utils import dll_dirs
  File "/nix/store/nq9bphg86yk33dz8wy0xcdxvx09haq7c-gobject-introspection-1.72.0/lib/gobject-introspection/giscanner/utils.py", line 29, in <module>
    from typing import Dict
  File "/nix/store/953sy41qycqbnjy33wcrcsw19qskhdl1-python2.7-typing-<IP_ADDRESS>/lib/python2.7/site-packages/typing.py", line 782, in <module>
    AnyStr = TypeVar('AnyStr', bytes, unicode)
NameError: name 'unicode' is not defined
make[5]: *** [/nix/store/fzi3lmlx93alqmdi8ahxnspxrpchgr63-gobject-introspection-1.72.0-dev/share/gobject-introspection-1.0/Makefile.introspection:156: Workrave-1.0.gir] Error 1
make[5]: Leaving directory '/build/source/frontend/applets/common/src'
make[4]: *** [Makefile:488: all-recursive] Error 1
make[4]: Leaving directory '/build/source/frontend/applets/common'
make[3]: *** [Makefile:488: all-recursive] Error 1
make[3]: Leaving directory '/build/source/frontend/applets'
make[2]: *** [Makefile:488: all-recursive] Error 1
make[2]: Leaving directory '/build/source/frontend'
make[1]: *** [Makefile:619: all-recursive] Error 1
make[1]: Leaving directory '/build/source'
make: *** [Makefile:521: all] Error 2

Additional context
N/A
Notify maintainers
Workrave: @prikhi
GI: @bobby285271 @hedning @jtojnar @dasj19 @maxeaubrey
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.43, NixOS, 22.11 (Raccoon), 22.11pre386147.e0a42267f73`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.9.1`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

See https://github.com/NixOS/nixpkgs/issues/167216, or https://github.com/NixOS/nixpkgs/issues/118452, of which this is likely a duplicate.

This is now making workrave uninstallable on 22.05. Whatever that workaround was meant to accomplish, it apparently didn't fix Workrave...

That workaround was only for pycairo. The underlying problem was not fixed.

builds on latest master c1329a147a5fc2bb49367f6c2cd84bdfeccade43
 nix-build -A workrave
/nix/store/ivyx301p1c5fcc2yz5g62kpjx4grbkz4-workrave-1.10.50

Closing as a duplicate of https://github.com/NixOS/nixpkgs/issues/118452, with the specific instance being worked around by https://github.com/NixOS/nixpkgs/commit/4f30fc6b4d94d1099934dd3629e31c8f658ae86d.


QVector build issue (#4750)

QVector has't got constructor from std::vector iterators, so
it's better to use static function: fromStdVector

Thanks for this @GregorGall!

Thanks for this @GregorGall! Please sign CLA and we are good to merge.

I have already done it. That's kind of strange:
The following contributors were found for this pull request:
✅ 373b105 Author: @GregorGall<EMAIL_ADDRESS>✅ 05dfad4 Author: @pierricgimmig<EMAIL_ADDRESS>❌ 05dfad4 Co-Author: @orbitprofiler-bot<EMAIL_ADDRESS>(Only the first commit for a unique contributor is listed.)

So I fixed the issue with the bot. However, it will only apply for future commits from it. So you still need to rebase and remove the bot as co-author.

Thanks again for the fix. I resolved the issue with the bot and merged the change.


New Network Request : Whitebit testnet

Network information

Name: Whitebit Testnet
ChainId: 2625
RPC http/s address: https://rpc-testnet.whitebit.network
Chainlist link : https://chainlist.org/chain/2625
(Optional) Blockexplorer: https://testnet.whitebit.network/
[X] I have run RPC='http://my-rpc-address' yarn estimate
[X] I have sent requiredFunds to 0xE1CB04A0fA36DdD16a06ea828007E35e1a3cBC37

{"jsonrpc":"2.0","id":44,"error":{"code":-32000,"message":"insufficient funds for gas * price + value"}}
Please send more funds

Sent more funds to address 0xE1CB04A0fA36DdD16a06ea828007E35e1a3cBC37
Transaction link

0x4406c2dfe4b9c040093d79ea2e7ec2ed3c2c05a08025d34ffd5b22baf4aac4a1


quote the binary name in the warning

to avoid confusion when the warning happens inside a workspace, example:
pwd is rustlearnage/rust_books/1_first_edition/closures/
and cargo run shows:
warning: path `src/main.rs` was erroneously implicitly accepted for binary match,
please set bin.path in Cargo.toml

(note that 'match' is not quoted, so it's confusing)
the 'match' project that it's referring to is in rustlearnage/rust_books/1_first_edition/match/
(note: Cargo.toml [workspace] is in rustlearnage/ )

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Thanks @xftroxgpx ! Would you mind fixing other similar error messages in this file as well?
Am I correct that this happens for https://github.com/icanrealizeum/rustlearnage/tree/master/rust_book/match project? Looks like we probably should not issue a warning in this case at all, I'll look into this!

My pleasure, will do.
See https://github.com/rust-lang/cargo/issues/4293#issue-243665550 regarding why the warning happens, and
it links to the new rustlearnage revision. (icanrealizeum is the old repo/revisions etc. still me tho xD)

Thank you, @xftroxgpx !
@bors r+

:pushpin: Commit 7fdcd74 has been approved by matklad

:hourglass: Testing commit 7fdcd749635d0d7fd53aa6a3d8bb62980d4a7610 with merge 93b444fa6363c5f5187cd9e3fe57da6344f6404b...

:sunny: Test successful - status-appveyor, status-travis
Approved by: matklad
Pushing 93b444fa6363c5f5187cd9e3fe57da6344f6404b to master...


Where to get the username and password?

Hello im bit confuse where to get the username and password for local?

Hello!
The username and password for accessing the local server are displayed in the 'Local Server' section on the app's home screen. For a visual guide, you can refer to the example screenshot provided at https://sms.capcom.me/getting-started/local-server/:

In the given example Authorization: Basic sms:P3lXvzu1, the portion sms before the colon : represents the username, and the text following the colon P3lXvzu1 is the password.

Thanks it's already been working great
How long these will be free btw

The Local Server mode is completely free to use and this will not change; it will remain free forever.
Regarding the other modes:
Cloud Server: The existing feature set will always be free for sending up to 100 messages per day. If your messaging needs exceed this limit, please reach out to me at<EMAIL_ADDRESS>with details about your use case and message volume. This information is crucial in helping me provide an optimal experience for all users of the service.
Private Server: There are no plans to charge for the use of the Private Server mode as it incurs minimal traffic on my servers.
In summary:

All current features will remain free for existing users, provided that the service is not used for spamming or generating excessive load on my infrastructure.
While I may introduce a payment system for new users at some point in the future, this will not affect users who have already used the app.
New features may be developed and offered with an associated cost from their initial release.

See also: https://sms.capcom.me/pricing/

I wanted to check in to see if you have any further questions. If everything has been resolved to your satisfaction, I'll proceed to close this issue. Please let me know if there's anything else I can help you with.
Thank you!


feat: Disable drop for popup and devtools window

Fix #160

Codecov Report

Merging #162 into master will decrease coverage by 0.85%.
The diff coverage is 14.28%.

@@            Coverage Diff             @@
##           master     #162      +/-   ##
==========================================
- Coverage   26.19%   25.33%   -0.86%
==========================================
  Files          16       16
  Lines         210      221      +11
  Branches       36       39       +3
==========================================
+ Hits           55       56       +1
- Misses        123      131       +8
- Partials       32       34       +2

Impacted Files
Coverage Δ

src/js/components/Tab/Tab.js
16.66% <ø> (ø)
:arrow_up:

src/js/components/Window/Title.js
5.88% <0%> (-1.81%)
:arrow_down:

src/js/components/Tab/DraggableTab.js
8.69% <0%> (-1.84%)
:arrow_down:

src/js/components/Window/index.js
42.85% <50%> (-2.6%)
:arrow_down:

Continue to review full report at Codecov.

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


Rendering issue in tmux

Steps to reproduce:

Open tmux in a toolbox container,
type ls a few times
type clear
Expected: console should be cleared
Actual: it isn't cleared but glitched instead.

This was tried both on silverblue 30 and fedora workstation 30
See screenshot of the issue: https://imgur.com/a/qyi2ap4
(a seperate bug can also be seen where i try to install software that's not in the container, but it says that it is installed already, presumably because it's installed on the host os)
My issue is different from #60 because i don't get the error output from locale, and i also have tried the solutions posted there.
I also sometimes get error connecting to /tmp/tmux-1000/default (No such device or address)
when trying to open tmux in a container, but i don't know what triggers that exactly (still works fine in a fresh container and on the host)

Duplicate of #14


Add German Translation

The German Translation is at 100% on Weblate so I think it should be added to the localization footer.

will be resolved by #7066


sendMessage(Reliability.UNRELIABLE_SEQUENCED, packet); not working at all

When I set sendMessage(Reliability.UNRELIABLE_SEQUENCED, packet); packets are not sent at all
When I set peer.sendMessage(Reliability.RELIABLE_ORDERED, packet); works fine

Could I see the code you are using?

/*

To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
package ru.samp_net.voiceserver2;

import com.whirvis.jraknet.RakNetPacket;
import com.whirvis.jraknet.peer.RakNetClientPeer;
import com.whirvis.jraknet.protocol.Reliability;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ru.samp_net.imdb.ImdbManager;
import ru.samp_net.imdb.ImdbPlayerLocation;
/**
*

@author Khlupin
*/
public class Player {
private final static List playerList = new ArrayList<>();
private static final Logger logger = LoggerFactory.getLogger(Player .class);
public static synchronized void register(int playerid, RakNetClientPeer peer) {
Player player = get(playerid);
if (player != null) {
player.peer = peer;
return;
}
playerList.add(new Player(peer, playerid));
}
public static synchronized void disconnect(RakNetClientPeer peer) {
Player player = get(peer);
if (player != null) {
playerList.remove(player);
}
}
public static synchronized Player get(int playerid) {
for (Player player : playerList) {
if (player.playerid == playerid) {
return player;
}
}
return null;
}
static synchronized Player get(RakNetClientPeer peer) {
for (Player player : playerList) {
if (player.peer.getGloballyUniqueId() == peer.getGloballyUniqueId()) {
return player;
}
}
return null;
}
static void sendData(ImdbManager imdbManager, int playerid, RakNetPacket packet) {
List imdbPlayerLocationList = imdbManager.getLocationList(playerid, 30.0f);
for (ImdbPlayerLocation imdbPlayerLocation : imdbPlayerLocationList) {
Player player = Player.get(imdbPlayerLocation.getPlayerid());
if (player == null) {
continue;
}
player.send(packet);
}
}
RakNetClientPeer peer;
int playerid;
public Player(RakNetClientPeer peer, int playerid) {
this.peer = peer;
this.playerid = playerid;
}
private void send(RakNetPacket packet) {
logger.info("send voice");
peer.sendMessage(Reliability.UNRELIABLE_SEQUENCED, packet);
}

}

/*

To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
package ru.samp_net.voiceserver2;

import com.whirvis.jraknet.InvalidChannelException;
import com.whirvis.jraknet.Packet;
import com.whirvis.jraknet.RakNetException;
import com.whirvis.jraknet.RakNetPacket;
import com.whirvis.jraknet.identifier.Identifier;
import com.whirvis.jraknet.peer.RakNetClientPeer;
import com.whirvis.jraknet.protocol.ConnectionType;
import com.whirvis.jraknet.protocol.Reliability;
import com.whirvis.jraknet.server.RakNetServer;
import com.whirvis.jraknet.server.RakNetServerListener;
import java.net.InetSocketAddress;
import java.util.List;
import org.apache.commons.lang3.exception.ExceptionUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ru.samp_net.imdb.ImdbManager;
import ru.samp_net.imdb.ImdbPlayerLocation;
/**
*

@author Khlupin
*/
public class VoiceServer2 {
private static final Logger logger = LoggerFactory.getLogger(VoiceServer2.class);
public static void main(String args[]) throws RakNetException {
 // Create server
 RakNetServer server = new RakNetServer(6999, 999, new Identifier("Samp-net Voice server"));
 ImdbManager imdbManager = new ImdbManager();
 logger.info("Protocol Version: " + server.getProtocolVersion());
 // Add listener
 server.addListener(new RakNetServerListener() {
     @Override
     public void onConnect(RakNetServer server, InetSocketAddress address, ConnectionType connectionType) {
         RakNetServerListener.super.onConnect(server, address, connectionType); //To change body of generated methods, choose Tools | Templates.
     }

     @Override
     public void onLogin(RakNetServer server, RakNetClientPeer peer) {
         logger.info("Client from address " + peer.getAddress() + " has connected to the server");
     }

     @Override
     public void onDisconnect(RakNetServer server, InetSocketAddress address, RakNetClientPeer peer, String reason) {
         Player.disconnect(peer);
         logger.info("Player has been disconnected");
     }

     @Override
     public void handleMessage(RakNetServer server, RakNetClientPeer peer, RakNetPacket packet, int channel) {
         try {
             int code = packet.readInt();
             logger.info("New packet with code: " + code + " and packetId = " + packet.getId());
             switch (code) {
                 case 20: {
                     int playerid = packet.readInt();
                     Player.register(playerid, peer);
                     Packet destPacket = new Packet();
                     destPacket.writeByte(135);
                     destPacket.writeInt(0);
                     peer.sendMessage(Reliability.RELIABLE_ORDERED, destPacket);
                     logger.info("New connection player with id: " + playerid);
                     break;
                 }
                 case 21: {
                     Player player = Player.get(peer);
                     if (player == null) {
                         logger.warn("Player not found on sending voice data");
                         break;
                     }
                     List<ImdbPlayerLocation> locationList = imdbManager.getLocationList(player.playerid, 30.0f);
                     logger.info("Locations list size: " + locationList.size());
                     for (ImdbPlayerLocation imdbPlayerLocation : locationList) {
                         Player.sendData(imdbManager, imdbPlayerLocation.getPlayerid(), packet);
                     }
                     break;
                 }
                 default:
                     logger.warn("Unknown code: " + code);
             }
             logger.info("Client from address " + peer.getAddress() + " sent packet with ID "
                     + packet.getId() + " on channel " + channel + " with code: " + code);

         } catch (InvalidChannelException ex) {
             logger.error(ex.getMessage());
             logger.error(ExceptionUtils.getStackTrace(ex));
         }
     }

 });

// Start server
server.start();
}
}

This is a part from game:
		RakNet::BitStream bsOut;
		bsOut.Write((RakNet::MessageID)ID_GAME_MESSAGE_1);
		bsOut.Write(21);
		bsOut.Write(VoiceClient::playerid);
		bsOut.Write(packetWithVoice.size);
		bsOut.Write(packetWithVoice.data, packetWithVoice.size);
		VoiceClient::peer->Send(&bsOut, HIGH_PRIORITY, RELIABLE_ORDERED, 0, VoiceClient::systemAddress, false);

When you say it does not work at all, do you mean the packet is never received? Also, have you tried sending on different reliabilities? If possible, try sending on different reliabilities. Also, I notice you are using something called a VoiceClient, which I believe is built into RakNet. JRakNet does not support this by default. When RakNet packets are sent and are unimplemented by JRakNet, they are sent down to the handleUnknownMessage() method in the RakNetServerListener. I believe the packet is being received, but just not handled and sent to that method. If nothing shows up in that handleUnknownMessage() method, try sending a different packet with an ID greater than 0x86 with the UNRELIABLE_SEQUENCED reliability.

Ok I have added onHandlerException
My code on C++ RakNet:
RakNet::BitStream bsOut;
bsOut.Write((RakNet::MessageID)ID_GAME_MESSAGE_1);
bsOut.Write((byte)1);
peer->Send(&bsOut, HIGH_PRIORITY, UNRELIABLE_SEQUENCED, 0, packet->systemAddress, false);
Exception on server:
18:45:40 [ERROR] VoiceServer: readerIndex(131) + length(1) exceeds writerIndex(131): UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 131, widx: 131, cap: 131)
18:45:40 [ERROR] VoiceServer: java.lang.IndexOutOfBoundsException: readerIndex(131) + length(1) exceeds writerIndex(131): UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 131, widx: 131, cap: 131)
at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1405)
at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:707)
at com.whirvis.jraknet.Packet.read(Packet.java:155)
at com.whirvis.jraknet.protocol.message.EncapsulatedPacket.decode(EncapsulatedPacket.java:162)
at com.whirvis.jraknet.protocol.message.CustomPacket.decode(CustomPacket.java:118)
at com.whirvis.jraknet.server.RakNetServer.handleMessage(RakNetServer.java:677)
at com.whirvis.jraknet.server.RakNetServerHandler.channelRead(RakNetServerHandler.java:144)

bsOut.Write((RakNet::MessageID)ID_GAME_MESSAGE_1); see as (byte)135

Did you do of what I asked, and send on another reliability?
Did you try the handleUnknownMessage() function, to make sure that the server is actually getting nothing and not simply ignoring a RakNet packet it has not implemented?
Did you try sending another packet with an ID greater than 0x86 with the UNRELIABLE_SEQUENCED reliability?

Please answer these questions. Also you must always send Java code with stack traces, it makes it impossible to discover the cause otherwise.

1 - yes it works
2 - Yes I did, exception is during the parsing.
3 - This is pure your stacktrace and error before my code
Anyway here is my code:
public class VoiceServer2 {
private static final Logger logger = LoggerFactory.getLogger(VoiceServer2.class);

public static void main(String args[]) throws RakNetException {

    // Create server
    RakNetServer server = new RakNetServer(6999, 999, new Identifier("Samp-net Voice server"));
    ImdbManager imdbManager = new ImdbManager();
    logger.info("Protocol Version: " + server.getProtocolVersion());
    // Add listener
    server.addListener(new RakNetServerListener() {
        @Override
        public void onConnect(RakNetServer server, InetSocketAddress address, ConnectionType connectionType) {
            RakNetServerListener.super.onConnect(server, address, connectionType); //To change body of generated methods, choose Tools | Templates.
        }

        @Override
        public void onLogin(RakNetServer server, RakNetClientPeer peer) {
            logger.info("Client from address " + peer.getAddress() + " has connected to the server");
        }

        @Override
        public void onDisconnect(RakNetServer server, InetSocketAddress address, RakNetClientPeer peer, String reason) {
            Player.disconnect(peer);
            logger.info("Player has been disconnected");
        }

        @Override
        public void handleMessage(RakNetServer server, RakNetClientPeer peer, RakNetPacket packet, int channel) {
            try {
                int code = packet.readInt();
                logger.info("New packet with code: " + code + " and packetId = " + packet.getId());
                switch (code) {
                    case 20: {
                        int playerid = packet.readInt();
                        Player.register(playerid, peer);
                        Packet destPacket = new Packet();
                        destPacket.writeByte(135);
                        destPacket.writeInt(0);
                        peer.sendMessage(Reliability.RELIABLE_ORDERED, destPacket);
                        logger.info("New connection player with id: " + playerid);
                        break;
                    }
                    case 21: {
                        Player player = Player.get(peer);
                        if (player == null) {
                            logger.warn("Player not found on sending voice data");
                            break;
                        }
                        List<ImdbPlayerLocation> locationList = imdbManager.getLocationList(player.playerid, 30.0f);
                        logger.info("Locations list size: " + locationList.size());
                        for (ImdbPlayerLocation imdbPlayerLocation : locationList) {
                            Player.sendData(imdbManager, imdbPlayerLocation.getPlayerid(), packet);
                        }
                        break;
                    }
                    default:
                        logger.warn("Unknown code: " + code);
                }
                logger.info("Client from address " + peer.getAddress() + " sent packet with ID "
                        + packet.getId() + " on channel " + channel + " with code: " + code);

            } catch (InvalidChannelException ex) {
                logger.error(ex.getMessage());
                logger.error(ExceptionUtils.getStackTrace(ex));
            }
        }

    });

// Start server
server.start();
}
}

After a bit of digging, it seems this is an issue on my end. I'll do my best to try and fix this, I'll let you know if I need more info and when I've fixed the issue :)

OK thank you. Maybe you can tell me some hotfix strategy? It's blocker for me

@diclofoss I would suggest using v2.10.7, which does not seem to have any of these issues. v2.11.0 is extremely similar, with the main difference being some name changes and many redocs. It seems that when writing 2.11.0 I changed more code than I bargained for, and ended up causing a bunch of glitches in the process. If these issues are in v2.10.7 as well, please let me know. :)

Unfortunately this issue in 2.10.7

That's no good. I'll get to work right away to try and resolve this issue as soon as possible.

@diclofoss For me, I am having no issues sending a packet with ID 0x87 (ID_GAME_MESSAGE_1) with second byte being 0x01. I'm not sure why you're having these issues. Does the packet exceed the MTU limit? If it does, that's probably where the issues is arising.

Hello!
Packet was not larger than MTU. Anyway we need to chek new version

Alright, let me know if this issue is fixed in the new version I sent you :)


NME Triplanar block: Add a switch to better project the textures in the case of a cube

See https://forum.babylonjs.com/t/orientation-of-textures-with-triplanar-node-material/40528
The switch also helps for more rounded shapes:

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/13833/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13833/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13833/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13833/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13833/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13833/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13833/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13833/merge#BCU1XR#0


Uncaught error on line 44

Hi i ran your example and it actually got this error. I am using php7.4. Not sure what is the issue..
Notice: Array to string conversion in D:\xampp\htdocs\fg\form.class.php on line 44
Notice: Undefined property: Form::$Array in D:\xampp\htdocs\fg\form.class.php on line 44
Notice: Trying to access array offset on value of type null in D:\xampp\htdocs\fg\form.class.php on line 44
Fatal error: Uncaught Error: Function name must be a string in D:\xampp\htdocs\fg\form.class.php:44 Stack trace: #0 D:\xampp\htdocs\fg\form.class.php(197): Form->parse(Array) #1 D:\xampp\htdocs\fg\form.class.php(207): Form->render() #2 D:\xampp\htdocs\fg\example.php(19): Form->show() #3 {main} thrown in D:\xampp\htdocs\fg\form.class.php on line 44

Fixed. the problem was about function name string conversion in PHP7. I tested the example with PHP version 7.2.29 and it works fine.
Thanks for the test and report this bug.