Where is the data stored without an account

If I run ferdi from source with DEBUG=Ferdi:* npx misty and use it without an account, where is the data stored?
It seems to persist if I start and stop ferdi, so somewhere on disk? Can I find the path?
And also, what data does Ferdi store? Does this include account passwords? Or just cookies?
Forgive me if these question are already answered, I've been poking around at the docs and Issues for a bit to see if I could figure it out myself. I haven't figured it out yet. I'll keep looking, but if someone else can provide the answer faster than I can find it myself, all the better!

See here: https://github.com/getferdi/ferdi/issues/1062#issuecomment-723657380 about where and what data is saved. Passwords aren't saved, but cookies are.
I think the same applies to dev mode, too, but with $XDG_CONFIG_HOME/FerdiDev (or similar) instead of $XDG_CONFIG_HOME/Ferdi.

See here: https://github.com/getferdi/ferdi/issues/1062#issuecomment-723657380 about where and what data is saved. Passwords aren't saved, but cookies are.
I think the same applies to dev mode, too, but with $XDG_CONFIG_HOME/FerdiDev (or similar) instead of $XDG_CONFIG_HOME/Ferdi.

Thanks. $XDG_CONFIG_HOME wasn't set. I found the data in the end though.
For me it was in ~/Library/Application Support/FerdiDev/.
The settings (e.g. services and workspaces) data live in sqlite in ~/Library/Application Support/FerdiDev/server.sqlite.

Thanks. $XDG_CONFIG_HOME wasn't set. I found the data in the end though.
For me it was in ~/Library/Application Support/FerdiDev/.
The settings (e.g. services and workspaces) data live in sqlite in ~/Library/Application Support/FerdiDev/server.sqlite.

Oh, sorry, I automatically assumed you were on Linux. 😅  Indeed, on Mac OS, the equivalent is ~/Library/Application Support/.

Oh, sorry, I automatically assumed you were on Linux. 😅  Indeed, on Mac OS, the equivalent is ~/Library/Application Support/.


Change detection/replication doesn't work on replication-group children

Initially I had a PlayerText(String) component on my PlayerBundle.
I set a timer for 5 seconds that changes PlayerText, and on the client I listen for Changed<PlayerText> and updated the text. This worked fine.
But now I wanted to make this a separate bundle, PlayerTextBundle. I still see the timer completes, but the client no longer receives the changed value.
Here's a sample project:
https://github.com/treytencarey/placeholder_interest_group_management

Start the server and client. Notice the client has text "Server should change this..." (comes from protocol.rs)
After 5 seconds, notice the server says "Timer complete". The code updates the PlayerText. (comes from server.rs)
Notice the client never receives Changed. (in client.rs)
I have verified that without using groups, change detection/replication works as expected.

That's pretty surprising; so you're saying that normal replication (even without interest management) is broken when using replication groups?

Yes. After some further investigation, if I have a PlayerText component string
#[derive(Component, Serialize, Deserialize, Clone, Debug, PartialEq)]
pub struct PlayerText(pub String);

On my parent (PlayerBundle), the client picks up the changes when my server sets a different PlayerText value.
On my child (PlayerTextBundle), the client won't get the change.
Here's an example of the replication working, where I put PlayerText on both the PlayerBundle and PlayerTextBundle -- the client picks up the changes as I'd expect.
https://github.com/treytencarey/placeholder_interest_group_management/pull/1/files
But if I just want the PlayerText on the PlayerTextBundle (remove from PlayerBundle) replication of the PlayerText value stops working.
Hopefully this clarifies the issue a bit better


The models are conflicting with each other in terms of results in https://paperswithcode.com/sota/chemical-indexing-on-bc7-nlm-chem

Also, the publication date is different among the same literature...How could it be?

Still there yet...


Read really big e57 unique scan

Hi!
I have a problem with libe57 and you're the first one I saw working on it since it is really old so I allowed me to write here (I'm a little desperate actually :( ), to ask you a question. I'm sorry if I bothered you :/
In libe57, in order to read points, you create X vector with the size of the number of points. (1 vector for X values, 1 for Y, 1 for Z, 1 for intens, 3 for color for example). In my case, I have ~2billions points in a unique scan, that means I have to create 7 vector of size 2billions, and obviously my computer crash with a bad_alloc...
Do you know a way to read points chunck by chunck? For example read the first (num_points / 8) points, work on them, then read the next (num_points / 8) points, work on them and so one until the file is finished?
And I had another question actually about libe57Format : What is the difference between your library, and classic libe57 (except for the boost lib)?
Thanks a lot! And sorry for that question...
Have a nice day!
Best regards!
Raphaël S.

No problem Raphaël, but I'm afraid I'm not going to be much help...
I actually am in a strange position where I don't have the actual E57 standard and I don't really have a deep understanding of this format. I'm more of a digital janitor for this code.
My goal was to take the old E57RefImpl and make it compile on macOS. Along the way I've removed Boost, reorganized the code, modernized some of the code, fixed a few bugs, made file reading faster, and added a checksum policy to determine how often to compute checksums (see ReadChecksumPolicy).

It's not really a function of how old the code is, it's just not written in a way that other developers can understand it without a lot of study/time.
"If you ever think about it one day..." :-)
If I ever needed to make larger changes, I would probably rewrite this library.


Build Fixes

@sdelamo could you look at this failure? https://github.com/micronaut-projects/micronaut-guides/pull/910/commits/b34dbf571bcde83b09e3a61a251a73caa4de087f
I fixed 2 of the tests but this one is a real failure. If you start the app and make a curl request with a missing user or bad password the request hangs


Merge modules test and bigdata-test

Background
Module test and  bigdata-test have the same package path and usage.
What has this PR done?

Merge modules test and bigdata-test

/run-all-tests

@shiyuhang0 @humengyu2012 PTAL


Import assertions are blanket converted to import attributes

Describe the bug
When using the jsc.experiment.keepImportAssertions flag the SWC compiler simply takes all assertions and outputs the new with { type: "some-type" } syntax regardless of what the input was.
This causes issues with Node being able to run the code and generates a syntax error when trying to run the generated code. As it has been accepted that the assert syntax will not be getting removed there is no need to blanket change the syntax as this causes more issues than it solves.
Input code
import packageJSON from "./package.json" assert { type: "json" };

Config
{
  "$schema": "https://json.schemastore.org/swcrc",
  "jsc": {
    "parser": {
      "syntax": "typescript"
    },
    "target": "es2022",
    "experimental": { "keepImportAssertions": true }
  },
  "module": {
    "type": "es6"
  },
  "isModule": true
}

Playground link
https://play.swc.rs/?version=1.3.82&code=H4sIAAAAAAAAA8vMLcgvKlEoSEzOTkxP9Qr291NIK8rPVVDS04eK6WUV5%2BcpKSQWF6cCFVaXVBakWikogQVrrbmS8%2FOK83NS9XLy0zWQDNG0BgDW5p%2FHWQAAAA%3D%3D&config=H4sIAAAAAAAAA0VOOw7CMAzdc4rIMwPKwMDGyMAhomKhQNNYtiu1qnL3OrSUze%2FvxXkPb%2Bng6hc7DVBkQT6wMTIPGidjQGdC6TiRwlespy2jkV%2BozYESziHAzuNEyCmj5fvW6OGDSPdMhfUmNqOpDGKK8oi%2Bur0RcnmOPf5%2Fartb%2BwUOU5LHz9birroVVF6is80AAAA%3D
SWC Info output
No response
Expected behavior
The type of assertion is preserved.
Actual behavior
The assertion is transformed into the newer with syntax.
Version
1.3.82
Additional context
No response

The option should be removed or renamed, I think, but this is not a bug.

Sorry @kdy1 I wasn't sure what to label it as. I just went for bug as it was causing me issues.
I figure it shouldn't be too much of a challenge to check whether the dev used assert or with and then just output the same as the input.
I have tried changing the target version but it seems as though the compiler just wants to always output code with with

https://github.com/swc-project/swc/blob/766d3e8896f6b134c5429e13cc5d96e90d560a5f/crates/swc_ecma_ast/src/module_decl.rs#L74-L88
During the process of parsing code into an AST, we lose the information required to differentiate whether it represents a "with" statement or an "assert" statement.
The transformation can still be implemented in the WASM plugin, but it require the addition of extra information to the AST.
There are two potential solutions:

Modify the AST to record the current with/assert variant.
Assume that the coexistence of both variants is not possible and generate the expected code during code generation based on the selected option.

Seems to me that adding an option to codegen would be the most logical solution.


Make alike Discord

This PR:

Adds animation to the guild icon, just like in Discord.
Made a few changes to the color pallet.
Removed unnecessary borders after each message in chat log, instead added a darker background effect upon hover.
Made Guild Name Bold.
Made changes to timestamp to make it alike Discord.
Added a divider between guild information and chat log + Few more changes…
Bumped version from 2.4.2 to 2.4.3

Screenshots:

Before

After

Thank you!

hey @ItzDerock, just added support for hyperlinks! Please review it as well 😄

Thank you!

giving it a test now

I am going to make a few more changes, will push in ∼30 mins ish.
Will ping you here once I have them tested and such'.

There are also a few typescript issues you need to resolve

Working on better reply css.

@ItzDerock Please review it again. Changed a bunch of stuff as well and fixed the previous typescript bugs.

:o

You can merge this one, I'll make another PR later.


Refactor Tenant API

Closes: #66
cc: @mayorJAY

@mayorJAY would be great if you can look again, I applied the fixes for the comments

@mayorJAY
Should be okay right now


Scalability issue

Hi there!
I'm trying to use this asset for an open-world game. The issue with it however is that this doesn't scale very well. Using it in large scenes will either cause a lot of lag when trying to generate particles or throw an Out of Memory error.
Do you think you could update this to add some sort of scalability so it can work for bigger maps? Maybe a shader could work or splitting up different sections into smaller particle areas automatically.
Thank you!

Hey!
I will see what I can do. Partitioning/Splitting sounds like a good solution, so I can try it out. Shaders will also work, but I have quite low knowledge about them.
Can you share with me the approximate size (in Unity units) and "distance between particles" setting of the heatmap you are trying to create?
Thanks!

Hi there!
I used your example prefab values, but due to the sheer size of my world, it would generate so many particles it would throw an "out of memory" error. I did try all sorts of distance between particle options but nothing seems to fix it!
I love the tool by the way, very good work.
I hope this helps you.


Fixed TrecTopics initialization in README

needed as read_topics_from_file() updates the topics object in-place.

Thanks for your help, Guy!


bot not running

I am consistently getting this error at bot start. Is this the same issue as #5900 ?
Expected Behavior
Bot starts
Actual Behavior
Bot stops immediately.
Your FULL config.json (remove your username, password, gmapkey and any other private info)
default with hash key activated
Output when issue occurred
2017-02-13 15:50:58,216 [       cli] [INFO] PokemonGO Bot v1.0
2017-02-13 15:50:58,224 [       cli] [INFO] commit: 024d3253
2017-02-13 15:50:58,228 [       cli] [INFO] Configuration initialized
2017-02-13 15:50:58,229 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2017-02-13 15:50:58,229 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2017-02-13 15:50:58,247 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Applying pokemongobot
[2017-02-13 15:50:58] [yoyo.migrations] [INFO]  - applying step 0
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Marking pokemongobot applied
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Applying catch_log
[2017-02-13 15:50:58] [yoyo.migrations] [INFO]  - applying step 0
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Marking catch_log applied
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Applying eggs_hatched_log
[2017-02-13 15:50:58] [yoyo.migrations] [INFO]  - applying step 0
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Marking eggs_hatched_log applied
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Applying evolve_log
[2017-02-13 15:50:58] [yoyo.migrations] [INFO]  - applying step 0
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Marking evolve_log applied
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Applying pokestop_log
[2017-02-13 15:50:58] [yoyo.migrations] [INFO]  - applying step 0
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Marking pokestop_log applied
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Applying softban_log
[2017-02-13 15:50:58] [yoyo.migrations] [INFO]  - applying step 0
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Marking softban_log applied
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Applying transfer_log
[2017-02-13 15:50:58] [yoyo.migrations] [INFO]  - applying step 0
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Marking transfer_log applied
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Applying vanish_log
[2017-02-13 15:50:58] [yoyo.migrations] [INFO]  - applying step 0
[2017-02-13 15:50:58] [yoyo.migrations] [INFO] Marking vanish_log applied
(7379) wsgi starting up on http://<IP_ADDRESS>:4000
[2017-02-13 15:50:58] [SleepSchedule] [INFO] Next sleep at 18:00:47, for a duration of 00:59:43
[2017-02-13 15:50:58] [PokemonGoBot] [INFO] Setting start location.
[2017-02-13 15:50:58] [PokemonGoBot] [INFO] Favorite location found: work ([xxx])
[2017-02-13 15:50:58] [PokemonGoBot] [INFO] Location found: Work (xxx)
[2017-02-13 15:50:58] [PokemonGoBot] [INFO] Now at (xxx)
[2017-02-13 15:50:58] [PokemonGoBot] [INFO] Login procedure started.
_inventory was not initialized
_inventory was not initialized
[2017-02-13 15:51:00] [       cli] [INFO]
[2017-02-13 15:51:00] [       cli] [INFO] Ran for 0:00:02
[2017-02-13 15:51:00] [       cli] [INFO] Total XP Earned: 0  Average: 0.00/h
[2017-02-13 15:51:00] [       cli] [INFO] Travelled 0.00km
[2017-02-13 15:51:00] [       cli] [INFO] Visited 0 stops
[2017-02-13 15:51:00] [       cli] [INFO] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before ()
[2017-02-13 15:51:00] [       cli] [INFO] Threw 0 pokeballs
[2017-02-13 15:51:00] [       cli] [INFO] Earned 0 Stardust
[2017-02-13 15:51:00] [       cli] [INFO] Hatched eggs 0
[2017-02-13 15:51:00] [       cli] [INFO]
[2017-02-13 15:51:00] [       cli] [INFO] Highest CP Pokemon:
[2017-02-13 15:51:00] [       cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "pokecli.py", line 865, in
main()
File "pokecli.py", line 195, in main
bot = start_bot(bot, config)
File "pokecli.py", line 147, in start_bot
bot.start()
File "/Users/xxx/PokemonGo-Bot/pokemongo_bot/init.py", line 153, in start
self._setup_api()
File "/Users/xxx/PokemonGo-Bot/pokemongo_bot/init.py", line 1076, in _setup_api
self.login()
File "/Users/xxx/PokemonGo-Bot/pokemongo_bot/init.py", line 953, in login
str(self.config.password))
File "/Users/xxx/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 132, in login
response = PGoApi.app_simulation_login(self)
File "/Users/xxx/PokemonGo-Bot/lib/python2.7/site-packages/pgoapi/pgoapi.py", line 152, in app_simulation_login
response = request.call()
File "/Users/xxx/PokemonGo-Bot/lib/python2.7/site-packages/pgoapi/pgoapi.py", line 264, in call
response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
File "/Users/xxx/PokemonGo-Bot/lib/python2.7/site-packages/pgoapi/rpc_api.py", line 153, in request
self.request_proto = self.request_proto or self._build_main_request(subrequests, player_position)
File "/Users/xxx/PokemonGo-Bot/lib/python2.7/site-packages/pgoapi/rpc_api.py", line 233, in _build_main_request
self._hash_engine.hash(sig.timestamp, request.latitude, request.longitude, request.accuracy, ticket_serialized, sig.session_hash, request.requests)
File "/Users/xxx/PokemonGo-Bot/lib/python2.7/site-packages/pgoapi/hash_server.py", line 47, in hash
raise BadHashRequestException("400: Bad request, error: {}".format(response.text))
pgoapi.exceptions.BadHashRequestException: 400: Bad request, error: Unauthorized
[2017-02-13 15:51:00] [sentry.errors] [ERROR] Sentry responded with an error: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
File "/Users/xxx/PokemonGo-Bot/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/Users/xxx/PokemonGo-Bot/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/Users/xxx/PokemonGo-Bot/lib/python2.7/site-packages/raven/utils/http.py", line 66, in urlopen
return opener.open(url, data, timeout)
File "/Users/xxx/PokemonGo-Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 494, in open
response = self._open(req, data)
File "/Users/xxx/PokemonGo-Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 512, in _open
'_open', req)
File "/Users/xxx/PokemonGo-Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 466, in _call_chain
result = func(*args)
File "/Users/xxx/PokemonGo-Bot/lib/python2.7/site-packages/raven/utils/http.py", line 46, in https_open
return self.do_open(ValidHTTPSConnection, req)
File "/Users/xxx/PokemonGo-Bot/lib/python2.7/site-packages/future/backports/urllib/request.py", line 1284, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1057, in request
self._send_request(method, url, body, headers)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1097, in _send_request
self.endheaders(body)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1053, in endheaders
self._send_output(message_body)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 895, in _send_output
msg += message_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128)
[2017-02-13 15:51:00] [sentry.errors.uncaught] [ERROR] [u'BadHashRequestException: 400: Bad request, error: Unauthorized', u'  File "pokecli.py", line 865, in ', u'  File "pokecli.py", line 195, in main', u'  File "pokecli.py", line 147, in start_bot', u'  File "pokemongo_bot/init.py", line 153, in start', u'  File "pokemongo_bot/init.py", line 1076, in _setup_api', u'  File "pokemongo_bot/init.py", line 953, in login', u'  File "pokemongo_bot/api_wrapper.py", line 132, in login', u'  File "pgoapi/pgoapi.py", line 152, in app_simulation_login', u'  File "pgoapi/pgoapi.py", line 264, in call', u'  File "pgoapi/rpc_api.py", line 153, in request', u'  File "pgoapi/rpc_api.py", line 233, in _build_main_request', u'  File "pgoapi/hash_server.py", line 47, in hash']
Mon Feb 13 15:51:00 PST 2017 Pokebot  Stopped.
Press any button or wait 20 seconds to continue.
Steps to Reproduce
./run.sh  Every time.
Other Information
OS: OSX
Branch:
dev and master, both do it
Git Commit:
024d3253 (dev)
Python Version:
2.7.12

Did you have a valid hash key? Make sure you copy and paste and not type them in

I also think it's because you have an invalid/missing hash, because of this line in the log you posted:
pgoapi.exceptions.BadHashRequestException: 400: Bad request, error: Unauthorized

I bought a new hash key today from www.buddyauth.com. Copied and pasted it into auth.json. Here is my auth.json (redacted):
{
"auth_service": "ptc",
"username": "xxx",
"password": "yyy",
"location": "Home",
"favorite_locations":[
{"name": "Home", "coords": "X,Z"}
],
"gmapkey": "mygmapkey-working",
"hashkey" : "20-characters-hash-key-active",
"encrypt_location": ""
}

@saliapin you may have made the same mistake as I did - the links to buy a hashing key can be found at: https://talk.pogodev.org/d/51-api-hashing-service-by-pokefarmer
When you say you bought it from the website, I suspect you bought a PokeFarmer key; These are not the same as the keys used for the hashing service. Both are 20 characters long.

@snorlax100 Bingo! I think you hit the nail on the head! I wrote to www.buddyauth.com to try and correct this silly mistake. Thanks also @davidakachaos and @MerlionRock for your correct comments.


Distinguished Names longer than 64 characters breaks Shadow Credentials

When requesting Shadow Credentials, Certify will encode the user's DN in the Subject of the generated x509 certificate. According to standard, the Subject must not be longer than 64 characters. User accounts may be buried deep in the Domain and therefore their DN will be longer than 64 characters.
It is possible to get around this issue by using the SubjectAlternativeName field with the user's UPN as a DNS name.
It appears this issue is similar to others such as #62 however since the shadow.py functions utilise the dsinternal library the fixes do not work.
One janky workaround I have found is patching the __init__.py function in dsinternals/common/cryptography/X509Certificate2.py
...
extensions = []
san_list =<EMAIL_ADDRESS>extensions.append(OpenSSL.crypto.X509Extension(b'subjectAltName', False, ','.join(san_list).encode()))
self.certificate.add_extensions(extensions)
...

Hello @carlneuhaus This issue is related to #40. I have fixed this is new upcoming release of Certipy which will be published this weekend. It will not be possible to get around this issue with SAN since SAN and Subject are two different things in the certificate. The SAN is an extension that can include a UPN or DNS name for instance, whereas the Subject is usually in the same form as the DN. The Subject doesn't really matter, and the fix will just cut the Subject if it's too long :-)

Fixed in https://github.com/ly4k/Certipy/commit/defd7f458d8287ed4dc72c5d3164e507d2df3bd9


COmanage should log to syslog

Currently, COmanage writes a log to /var/www/comanage-regsitry-3.0.0/app/tmp/logs.  In order to be able to easily aggregate the logs to a central host, it would be nicer if it would log to syslog.

For now, I've moved the logs to /var/log/comanage, whcih is marginally better than the current situation.  Logging to syslog isn't going to happen anytime soon


chore(main): release 0.41.2

:robot: I have created a release beep boop
0.41.2 (2023-12-26)
Bug Fixes

Improve run messages (#510) (1998ff9)
Pipelines: Add a 'Webhook' run trigger & Improve parameters display (#509) (fc090e6)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BLSQ/openhexa-frontend/releases/tag/0.41.2 :sunflower:


Deep copy members PublicKeyBLS

Codecov Report

Merging #1100 (cde3050) into master (047c891) will decrease coverage by 10.36%.
The diff coverage is 54.57%.

@@             Coverage Diff             @@
##           master    #1100       +/-   ##
===========================================
- Coverage   59.57%   49.20%   -10.37%
===========================================
  Files         108      146       +38
  Lines        5803     7639     +1836
===========================================
+ Hits         3457     3759      +302
- Misses       1823     3219     +1396
- Partials      523      661      +138

Impacted Files
Coverage Δ

pkg/config/consts.go
0.00% <0.00%> (ø)

pkg/config/genesis/config.go
0.00% <0.00%> (ø)

pkg/config/genesis/presets.go
50.00% <ø> (ø)

pkg/core/chain/legacy.go
0.00% <0.00%> (ø)

...kg/core/consensus/blockgenerator/candidate/mock.go
0.00% <0.00%> (ø)

pkg/core/chain/mock.go
8.33% <8.33%> (ø)

pkg/core/chain/loader.go
16.32% <16.66%> (-38.37%)
:arrow_down:

pkg/core/consensus/header/header.go
22.09% <29.26%> (-3.72%)
:arrow_down:

pkg/core/chain/chain.go
46.69% <47.15%> (-8.79%)
:arrow_down:

pkg/core/consensus/agreement/store.go
62.12% <52.17%> (+3.03%)
:arrow_up:

... and 202 more

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 c280540...cde3050. Read the comment docs.


Update rollup - core dependencies

Coverage remained the same at 100.0% when pulling dfcc248f833be27476801046add1e73223df2beb on update-rollup into 58c52b7d9eb252edd5bfb7e603a6812986cb26e7 on master.

Coverage remained the same at 100.0% when pulling 84fdede331be00d9a17cf9dcc0c442ed04cf77c8 on update-rollup into 58c52b7d9eb252edd5bfb7e603a6812986cb26e7 on master.


add 2 more custom devices intel_gpu and apple mps

in PaddleCustomDevice there are two new types of hw was supported, on is the Intel Data Center GPU and another is Apple MPS, so this pr aims to add those two kind of devices to paddleclas repo and prepare for some benchmark data base on this repo

@chaofanl  @kevinyuk @qili93 @ronny1996  pls help review

We recommend withdrawing the PR and pushing the changes to the develop branch，thx~

We recommend withdrawing the PR and pushing the changes to the develop branch，thx~

new pr in https://github.com/PaddlePaddle/PaddleClas/pull/2841


Also pass timeout parameters to redirected request.

Hi!
When following a redirection, the timeout parameters get lost in the new request.
I would have added a test, but I'm not sure how, as currently all tests are using WebMocks stub_request and I have no clue how to test for additional parameters with that.
If you have an idea how to test that, I'll add a corresponding spec.
Thanks!
Martin

I haven't been able to reproduce this issue. If I understand correctly, args is already passed through by the original request and should include timeout and other parameters.
https://github.com/rest-client/rest-client/blob/8e89ccc5d5a4801d5424ab9ad511573d2ef94d55/lib/restclient/request.rb#L530
Do you have an example usage where you hit the problem?

Yes, the args are passed correctly from the request to the response.
But if you then call response. follow_redirection the args are not copied from the response to the new request (see the change from this PR).
The use case is the following: We are GETting from a URL which might take longer to load and therefore need a custom timeout. The response to the GET can also be a redirect, for which the same timeout should be applied. Currently, this does not work, the second request will timeout too early.

@nightscape I'm still not able to reproduce this. The args used in the redirection request [1] is actually an instance variable created from the args of the original request. [2]
The existing code is overriding the existing options with new cookies and user/password for the new redirected URI.
If you add a puts for debugging at the top of RestClient::Request#initialize, you should see that args does contain the timeout.
[1] https://github.com/rest-client/rest-client/blob/23210393/lib/restclient/abstract_response.rb#L83
[2] https://github.com/rest-client/rest-client/blob/23210393/lib/restclient/request.rb#L536

Ok, got it. I overlooked that args are not constructed here, but have already been set before.
Then maybe the problem at that time was a random fail.
Unfortunately I also can't find the code for the original problem.
I'll close this PR, sorry for wasting your time...

No worries, it was a good opportunity for me to get to know this section of the code. I think there's a lurking minor security problem in the way cookies are handled on redirects...


Added the 'Edit' button on the filenode iframe

I added the 'Edit' button on the filenode frame which opens the corresponding file in Emacs. I tried to do the same for the preview frame but I don't understand where to find the file path for it.

Thanks for the PR, awesome idea!


🖐 nullpointer exception dagger.spi.shaded.androidx.room.compiler.processing.XTypeElement.getAnnotation

What happened? What did you expect to happen?
I've been trying to add Hilt in my app but I run into this issue when building:
Execution failed for task ':app:hiltJavaCompilePreprod'.

java.lang.NullPointerException: Cannot invoke "dagger.spi.shaded.androidx.room.compiler.processing.XTypeElement.getAnnotation(com.squareup.javapoet.ClassName)" because the return value of "dagger.spi.shaded.androidx.room.compiler.processing.XProcessingEnv.findTypeElement(com.squareup.javapoet.TypeName)" is null

I am using jetbrains runtime 17.
Part of my root gradle:
ext.kotlin_version = '1.8.0'

dependencies {
    classpath 'com.android.tools.build:gradle:7.2.2'
    classpath 'io.realm:realm-gradle-plugin:10.4.0'
    classpath 'com.google.gms:google-services:4.3.13'
    classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    classpath 'com.huawei.agconnect:agcp:<IP_ADDRESS>0'
    classpath 'com.google.dagger:hilt-android-gradle-plugin:2.48'
}

//hilt
hiltCompiler: 'com.google.dagger:hilt-android:2.48',
hiltKapt: 'com.google.dagger:hilt-android-compiler:2.48'

part of my app gradle:
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
apply plugin: 'kotlin-kapt'
apply plugin: 'dagger.hilt.android.plugin'

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

implementation dmaDependencies.hiltCompiler
kapt dmaDependencies.hiltKapt

Is this a bug or there is something wrong with my configuration?

Sorry, this is the wrong project 🙂

@helderco u mean it is related to Hilt? On Gradle they suggested me to open the issue here since it is a NPE from dagger.

@helderco very sorry, I did not know there was another project named dagger. apologize.


Versioning tags

Users should be able to use recognized tags for version pinning or for plugin managers to update patch versions automatically, but keep breaking changes away from users workflow.
Please consider using semver.org standard or something similar to tag this plugin.

I know there is a closed issue for this already (https://github.com/itchyny/lightline.vim/issues/522). I would like to see this discussed. Some users actually use it, since it makes the use of such plugins somewhat more stable, otherwise, you are forcing users to tag the plugins manually with commit refs.

Considering how existing users install Vim plugins, I don't accept any breaking changes ever and in the future. Also I'm concerning maintenance cost. Users fixing the tags are left behind and sometimes report issue with old tags. I don't use tags in this repository.


Feature request: Support for sequences

I would like to switch from vim-visual-increment to dial.nvim, but the one thing I'm missing is support for sequences. This example from the vim-visual-increment README should illustrate what I mean:

For example, we have an array of 5 items and we would like to define them:
 example[0] = 'e';
 example[0] = 'e';
 example[0] = 'e';
 example[0] = 'e';
 example[0] = 'e';

Press  at the first index and select all the index columns on multiple lines, press <C-A>:
 example[0] = 'e';
 example[1] = 'e';
 example[2] = 'e';
 example[3] = 'e';
 example[4] = 'e';

Isn't that the g<C-a>?

Ah, that is what I was looking for! I read the docs a few times and kept missing it. Thank you!


Screen freeze after garage drefield Bug - Unexpected behavior in...

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, screenshots help a lot!
Device Info

OS: [e.g. iOS or iPadOS]
Version: [e.g. iOS 14.1]
Device: [e.g. iPhone 12 Pro]

Additional context
Add any other context about the problem here.

Hi!
It appears this bug report is missing information about which game this occurs in where the game freezes.
Regards,
ZodTTD

Closed due to duplicate. Moving comments to original bug report.


[Bug] Contract enforcement results in an error when with data_type: GEOGRAPHY

Is this a new bug in dbt-snowflake?

[X] I believe this is a new bug in dbt-snowflake
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
When trying to run a model with an enforced contract and a column of data_type: GEOGRAPHY, the following error occurs:
18:00:12  Completed with 1 error and 0 warnings:
18:00:12
18:00:12    Database Error in model mymodel (models/mymodel.sql)
  001007 (22023): SQL compilation error:
  invalid type [CAST(null AS GEOGRAPHY)] for parameter 'TO_GEOGRAPHY'

Expected Behavior
I expected this to work with no errors.
Steps To Reproduce
models/mymodel.yml:
version: 2

models:
  - name: mymodel
    config:
      contract:
        enforced: true
    columns:
      - name: id
        data_type: integer
      - name: geo
        data_type: geography

models/mymodel.sql:
{{ config(materialized="table") }}

select 1 as id, st_makepoint(-120, 60) as geo

Output from dbt run --full-refresh --select mymodel:
18:00:12  Completed with 1 error and 0 warnings:
18:00:12
18:00:12    Database Error in model mymodel (models/mymodel.sql)
  001007 (22023): SQL compilation error:
  invalid type [CAST(null AS GEOGRAPHY)] for parameter 'TO_GEOGRAPHY'

Relevant log output
Compiled SQL found in the logs:
select * from (
        select

      cast(null as integer) as id,
      cast(null as geography) as geo
    ) as __dbt_sbq
    where false
    limit 0

It is possible and valid to put null in a column of GEOGRAPHY type in Snowflake, but it doesn't seem like they support explicitly casting a null value to GEOGRAPHY. Unclear if there's an accepted workaround, or if this is a bad idea for some technical reason.
Environment
- OS: MacOS 12.7
- Python: 3.10.9
- dbt-core: 1.7.4
- dbt-snowflake: 1.7.1

Additional Context
No response

Thanks for raising this issue @gwerbin-tive !
I was able to reproduce the error message given your example.
Root cause
The root cause is that this doesn't work for the GEOGRAPHY type in Snowflake:
      cast(null as geography) as geo

Instead, it needs to be:
      to_geography(null) as geo

Workaround
See below for a workaround you can try out in the meantime. It works by defining a cast macro (a la https://github.com/dbt-labs/dbt-core/issues/5916) and then using it by overriding the definition of default__get_empty_schema_sql to replace this line with this instead:
      {{ cast("null", col['data_type']) }} as {{ col_name }}{{ ", " if not loop.last }}

macro definitions

macros/contract_overrides.sql

{% macro cast(expression, data_type) -%}
    {{ adapter.dispatch('cast', 'dbt') (expression, data_type) }}
{%- endmacro %}

{% macro default__cast(expression, data_type) -%}
    cast({{ expression }} as {{ data_type }})
{%- endmacro %}

{% macro snowflake__cast(expression, data_type) -%}
    {#-- If the data type is 'geography' then it can't use cast() --#}
    {%- if expression.strip().lower() == "null" and data_type.strip().lower() == "geography" -%}
      to_geography(null)
    {%- else -%}
      cast({{ expression }} as {{ data_type }})
    {%- endif -%}
{%- endmacro %}

{% macro default__get_empty_schema_sql(columns) %}
    {%- set col_err = [] -%}
    {%- set col_naked_numeric = [] -%}
    select
    {% for i in columns %}
      {%- set col = columns[i] -%}
      {%- if col['data_type'] is not defined -%}
        {%- do col_err.append(col['name']) -%}
      {#-- If this column's type is just 'numeric' then it is missing precision/scale, raise a warning --#}
      {%- elif col['data_type'].strip().lower() in ('numeric', 'decimal', 'number') -%}
        {%- do col_naked_numeric.append(col['name']) -%}
      {%- endif -%}
      {% set col_name = adapter.quote(col['name']) if col.get('quote') else col['name'] %}
      {{ cast("null", col['data_type']) }} as {{ col_name }}{{ ", " if not loop.last }}
    {%- endfor -%}
    {%- if (col_err | length) > 0 -%}
      {{ exceptions.column_type_missing(column_names=col_err) }}
    {%- elif (col_naked_numeric | length) > 0 -%}
      {{ exceptions.warn("Detected columns with numeric type and unspecified precision/scale, this can lead to unintended rounding: " ~ col_naked_numeric ~ "`") }}
    {%- endif -%}
{% endmacro %}

Proposed path forward
I'd propose that we'd solve this in two parts (both using the code from the workaround above):

Within dbt-adapters, implement #5916
Within dbt-adapters, update here to use it
Within dbt-snowflake, implement an override for #5916

Benefits
This approach would also benefit other adapters that have done workarounds like this.
The cross-database cast could also serve as the default implementation of safe_cast, which is used for unit testing here and here. Alternatively, we could just use cast instead of safe_cast for unit testing, which would solve https://github.com/dbt-labs/dbt-snowflake/issues/891.

That macros/contract_overrides.sql seems to have worked. Thanks for that!

Awesome!

I suspect this might become a problem with some of the other Snowflake data types, although I haven't tested it to confirm. That, or this is a Snowflake bug and it needs to be reported there.

I tested out all the Snowflake data types (and aliases) that I could find within their documentation.
There were only two data types where cast(null as DATA_TYPE) didn't work for me:

GEOGRAPHY
GEOMETRY

In those cases, the solution will be to do this instead:

TO_GEOGRAPHY(null)
TO_GEOMETRY(null)

See below for the full query that used:

query

select

  cast(null as NUMBER) as my_NUMBER,
  cast(null as FLOAT) as my_FLOAT,
  cast(null as TEXT) as my_TEXT,
  cast(null as BINARY) as my_BINARY,
  cast(null as BOOLEAN) as my_BOOLEAN,
  cast(null as DATE) as my_DATE,
  cast(null as TIME) as my_TIME,
  cast(null as TIMESTAMP_LTZ) as my_TIMESTAMP_LTZ,
  cast(null as TIMESTAMP_NTZ) as my_TIMESTAMP_NTZ,
  cast(null as TIMESTAMP_TZ) as my_TIMESTAMP_TZ,
  cast(null as VARIANT) as my_VARIANT,
  cast(null as OBJECT) as my_OBJECT,
  cast(null as ARRAY) as my_ARRAY,
  TO_GEOGRAPHY(null) as my_GEOGRAPHY,
  TO_GEOMETRY(null) as my_GEOMETRY,

  -- aliases
  cast(null as DECIMAL) as my_DECIMAL__NUMBER,
  cast(null as DEC) as my_DEC__NUMBER,
  cast(null as NUMERIC) as my_NUMERIC__NUMBER,
  cast(null as INT) as my_INT__NUMBER,
  cast(null as INTEGER) as my_INTEGER__NUMBER,
  cast(null as BIGINT) as my_BIGINT__NUMBER,
  cast(null as SMALLINT) as my_SMALLINT__NUMBER,
  cast(null as TINYINT) as my_TINYINT__NUMBER,
  cast(null as BYTEINT) as my_BYTEINT__NUMBER,
  cast(null as FLOAT4) as my_FLOAT4__FLOAT,
  cast(null as FLOAT8) as my_FLOAT8__FLOAT,
  cast(null as DOUBLE) as my_DOUBLE__FLOAT,
  cast(null as DOUBLE PRECISION) as my_DOUBLE_PRECISION__FLOAT,
  cast(null as REAL) as my_REAL__FLOAT,
  cast(null as CHAR) as my_CHAR__TEXT,
  cast(null as CHARACTER) as my_CHARACTER__TEXT,
  cast(null as NCHAR) as my_NCHAR__TEXT,
  cast(null as STRING) as my_STRING__TEXT,
  cast(null as VARCHAR) as my_VARCHAR__TEXT,
  cast(null as NVARCHAR) as my_NVARCHAR__TEXT,
  cast(null as NVARCHAR2) as my_NVARCHAR2__TEXT,
  cast(null as CHAR VARYING) as my_CHAR_VARYING__TEXT,
  cast(null as NCHAR VARYING) as my_NCHAR_VARYING__TEXT,
  cast(null as VARBINARY) as my_VARBINARY__BINARY,
  cast(null as DATETIME) as my_DATETIME__TIMESTAMP_NTZ,
  cast(null as TIMESTAMP) as my_TIMESTAMP__TIMESTAMP_X

catalog.json

{
  "metadata": {
    "dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json",
    "dbt_version": "1.7.5",
    "generated_at": "2024-02-09T01:56:05.811681Z",
    "invocation_id": "a0590684-685b-4dc0-98f1-48adf70e4376",
    "env": {}
  },
  "nodes": {
    "model.my_project.data_types": {
      "metadata": {
        "type": "VIEW",
        "schema": "DBT_DBEATTY",
        "name": "DATA_TYPES",
        "database": "ANALYTICS_DEV",
        "comment": null,
        "owner": "TRANSFORMER"
      },
      "columns": {
        "MY_NUMBER": {
          "type": "NUMBER",
          "index": 1,
          "name": "MY_NUMBER",
          "comment": null
        },
        "MY_FLOAT": {
          "type": "FLOAT",
          "index": 2,
          "name": "MY_FLOAT",
          "comment": null
        },
        "MY_TEXT": {
          "type": "TEXT",
          "index": 3,
          "name": "MY_TEXT",
          "comment": null
        },
        "MY_BINARY": {
          "type": "BINARY",
          "index": 4,
          "name": "MY_BINARY",
          "comment": null
        },
        "MY_BOOLEAN": {
          "type": "BOOLEAN",
          "index": 5,
          "name": "MY_BOOLEAN",
          "comment": null
        },
        "MY_DATE": {
          "type": "DATE",
          "index": 6,
          "name": "MY_DATE",
          "comment": null
        },
        "MY_TIME": {
          "type": "TIME",
          "index": 7,
          "name": "MY_TIME",
          "comment": null
        },
        "MY_TIMESTAMP_LTZ": {
          "type": "TIMESTAMP_LTZ",
          "index": 8,
          "name": "MY_TIMESTAMP_LTZ",
          "comment": null
        },
        "MY_TIMESTAMP_NTZ": {
          "type": "TIMESTAMP_NTZ",
          "index": 9,
          "name": "MY_TIMESTAMP_NTZ",
          "comment": null
        },
        "MY_TIMESTAMP_TZ": {
          "type": "TIMESTAMP_TZ",
          "index": 10,
          "name": "MY_TIMESTAMP_TZ",
          "comment": null
        },
        "MY_VARIANT": {
          "type": "VARIANT",
          "index": 11,
          "name": "MY_VARIANT",
          "comment": null
        },
        "MY_OBJECT": {
          "type": "OBJECT",
          "index": 12,
          "name": "MY_OBJECT",
          "comment": null
        },
        "MY_ARRAY": {
          "type": "ARRAY",
          "index": 13,
          "name": "MY_ARRAY",
          "comment": null
        },
        "MY_GEOGRAPHY": {
          "type": "GEOGRAPHY",
          "index": 14,
          "name": "MY_GEOGRAPHY",
          "comment": null
        },
        "MY_GEOMETRY": {
          "type": "GEOMETRY",
          "index": 15,
          "name": "MY_GEOMETRY",
          "comment": null
        },
        "MY_DECIMAL__NUMBER": {
          "type": "NUMBER",
          "index": 16,
          "name": "MY_DECIMAL__NUMBER",
          "comment": null
        },
        "MY_DEC__NUMBER": {
          "type": "NUMBER",
          "index": 17,
          "name": "MY_DEC__NUMBER",
          "comment": null
        },
        "MY_NUMERIC__NUMBER": {
          "type": "NUMBER",
          "index": 18,
          "name": "MY_NUMERIC__NUMBER",
          "comment": null
        },
        "MY_INT__NUMBER": {
          "type": "NUMBER",
          "index": 19,
          "name": "MY_INT__NUMBER",
          "comment": null
        },
        "MY_INTEGER__NUMBER": {
          "type": "NUMBER",
          "index": 20,
          "name": "MY_INTEGER__NUMBER",
          "comment": null
        },
        "MY_BIGINT__NUMBER": {
          "type": "NUMBER",
          "index": 21,
          "name": "MY_BIGINT__NUMBER",
          "comment": null
        },
        "MY_SMALLINT__NUMBER": {
          "type": "NUMBER",
          "index": 22,
          "name": "MY_SMALLINT__NUMBER",
          "comment": null
        },
        "MY_TINYINT__NUMBER": {
          "type": "NUMBER",
          "index": 23,
          "name": "MY_TINYINT__NUMBER",
          "comment": null
        },
        "MY_BYTEINT__NUMBER": {
          "type": "NUMBER",
          "index": 24,
          "name": "MY_BYTEINT__NUMBER",
          "comment": null
        },
        "MY_FLOAT4__FLOAT": {
          "type": "FLOAT",
          "index": 25,
          "name": "MY_FLOAT4__FLOAT",
          "comment": null
        },
        "MY_FLOAT8__FLOAT": {
          "type": "FLOAT",
          "index": 26,
          "name": "MY_FLOAT8__FLOAT",
          "comment": null
        },
        "MY_DOUBLE__FLOAT": {
          "type": "FLOAT",
          "index": 27,
          "name": "MY_DOUBLE__FLOAT",
          "comment": null
        },
        "MY_DOUBLE_PRECISION__FLOAT": {
          "type": "FLOAT",
          "index": 28,
          "name": "MY_DOUBLE_PRECISION__FLOAT",
          "comment": null
        },
        "MY_REAL__FLOAT": {
          "type": "FLOAT",
          "index": 29,
          "name": "MY_REAL__FLOAT",
          "comment": null
        },
        "MY_CHAR__TEXT": {
          "type": "TEXT",
          "index": 30,
          "name": "MY_CHAR__TEXT",
          "comment": null
        },
        "MY_CHARACTER__TEXT": {
          "type": "TEXT",
          "index": 31,
          "name": "MY_CHARACTER__TEXT",
          "comment": null
        },
        "MY_NCHAR__TEXT": {
          "type": "TEXT",
          "index": 32,
          "name": "MY_NCHAR__TEXT",
          "comment": null
        },
        "MY_STRING__TEXT": {
          "type": "TEXT",
          "index": 33,
          "name": "MY_STRING__TEXT",
          "comment": null
        },
        "MY_VARCHAR__TEXT": {
          "type": "TEXT",
          "index": 34,
          "name": "MY_VARCHAR__TEXT",
          "comment": null
        },
        "MY_NVARCHAR__TEXT": {
          "type": "TEXT",
          "index": 35,
          "name": "MY_NVARCHAR__TEXT",
          "comment": null
        },
        "MY_NVARCHAR2__TEXT": {
          "type": "TEXT",
          "index": 36,
          "name": "MY_NVARCHAR2__TEXT",
          "comment": null
        },
        "MY_CHAR_VARYING__TEXT": {
          "type": "TEXT",
          "index": 37,
          "name": "MY_CHAR_VARYING__TEXT",
          "comment": null
        },
        "MY_NCHAR_VARYING__TEXT": {
          "type": "TEXT",
          "index": 38,
          "name": "MY_NCHAR_VARYING__TEXT",
          "comment": null
        },
        "MY_VARBINARY__BINARY": {
          "type": "BINARY",
          "index": 39,
          "name": "MY_VARBINARY__BINARY",
          "comment": null
        },
        "MY_DATETIME__TIMESTAMP_NTZ": {
          "type": "TIMESTAMP_NTZ",
          "index": 40,
          "name": "MY_DATETIME__TIMESTAMP_NTZ",
          "comment": null
        },
        "MY_TIMESTAMP__TIMESTAMP_X": {
          "type": "TIMESTAMP_NTZ",
          "index": 41,
          "name": "MY_TIMESTAMP__TIMESTAMP_X",
          "comment": null
        }
      },
      "stats": {
        "has_stats": {
          "id": "has_stats",
          "label": "Has Stats?",
          "value": false,
          "include": false,
          "description": "Indicates whether there are statistics for this table"
        }
      },
      "unique_id": "model.my_project.data_types"
    }
  },
  "sources": {},
  "errors": null
}

values

{
  "node": "data_types",
  "show": [
    {
      "MY_NUMBER": null,
      "MY_FLOAT": null,
      "MY_TEXT": null,
      "MY_BINARY": null,
      "MY_BOOLEAN": null,
      "MY_DATE": null,
      "MY_TIME": null,
      "MY_TIMESTAMP_LTZ": null,
      "MY_TIMESTAMP_NTZ": null,
      "MY_TIMESTAMP_TZ": null,
      "MY_VARIANT": null,
      "MY_OBJECT": null,
      "MY_ARRAY": null,
      "MY_GEOGRAPHY": null,
      "MY_GEOMETRY": null,
      "MY_DECIMAL__NUMBER": null,
      "MY_DEC__NUMBER": null,
      "MY_NUMERIC__NUMBER": null,
      "MY_INT__NUMBER": null,
      "MY_INTEGER__NUMBER": null,
      "MY_BIGINT__NUMBER": null,
      "MY_SMALLINT__NUMBER": null,
      "MY_TINYINT__NUMBER": null,
      "MY_BYTEINT__NUMBER": null,
      "MY_FLOAT4__FLOAT": null,
      "MY_FLOAT8__FLOAT": null,
      "MY_DOUBLE__FLOAT": null,
      "MY_DOUBLE_PRECISION__FLOAT": null,
      "MY_REAL__FLOAT": null,
      "MY_CHAR__TEXT": null,
      "MY_CHARACTER__TEXT": null,
      "MY_NCHAR__TEXT": null,
      "MY_STRING__TEXT": null,
      "MY_VARCHAR__TEXT": null,
      "MY_NVARCHAR__TEXT": null,
      "MY_NVARCHAR2__TEXT": null,
      "MY_CHAR_VARYING__TEXT": null,
      "MY_NCHAR_VARYING__TEXT": null,
      "MY_VARBINARY__BINARY": null,
      "MY_DATETIME__TIMESTAMP_NTZ": null,
      "MY_TIMESTAMP__TIMESTAMP_X": null
    }
  ]
}

@dbeatty10 I noticed we're casting these two specific data types differently in this recent PR. Should we apply this more broadly?

@dbeatty10 I noticed we're casting these two specific data types differently in this recent PR. Should we apply this more broadly?

You have eagle eyes @mikealfare ! 🦅
Added this comment in that PR to tie these things together -- they are very much related!
Short answer
Yes, we should apply this more broadly.
Longer answer
To apply this more broadly, we should:

add adapter-specific functional testing to both the cast and safe_cast macros across all known data types for that adapter.

to_json(null) in BigQuery was the only other example I found where cast(value as data_type) didn't work.
Here's example queries for a handful of databases:

snowflake

select

  cast(null as NUMBER) as my_NUMBER,
  cast(null as FLOAT) as my_FLOAT,
  cast(null as TEXT) as my_TEXT,
  cast(null as BINARY) as my_BINARY,
  cast(null as BOOLEAN) as my_BOOLEAN,
  cast(null as DATE) as my_DATE,
  cast(null as TIME) as my_TIME,
  cast(null as TIMESTAMP_LTZ) as my_TIMESTAMP_LTZ,
  cast(null as TIMESTAMP_NTZ) as my_TIMESTAMP_NTZ,
  cast(null as TIMESTAMP_TZ) as my_TIMESTAMP_TZ,
  cast(null as VARIANT) as my_VARIANT,
  cast(null as OBJECT) as my_OBJECT,
  cast(null as ARRAY) as my_ARRAY,
  TO_GEOGRAPHY(null) as my_GEOGRAPHY,
  TO_GEOMETRY(null) as my_GEOMETRY,

  -- aliases
  cast(null as DECIMAL) as my_DECIMAL__NUMBER,
  cast(null as DEC) as my_DEC__NUMBER,
  cast(null as NUMERIC) as my_NUMERIC__NUMBER,
  cast(null as INT) as my_INT__NUMBER,
  cast(null as INTEGER) as my_INTEGER__NUMBER,
  cast(null as BIGINT) as my_BIGINT__NUMBER,
  cast(null as SMALLINT) as my_SMALLINT__NUMBER,
  cast(null as TINYINT) as my_TINYINT__NUMBER,
  cast(null as BYTEINT) as my_BYTEINT__NUMBER,
  cast(null as FLOAT4) as my_FLOAT4__FLOAT,
  cast(null as FLOAT8) as my_FLOAT8__FLOAT,
  cast(null as DOUBLE) as my_DOUBLE__FLOAT,
  cast(null as DOUBLE PRECISION) as my_DOUBLE_PRECISION__FLOAT,
  cast(null as REAL) as my_REAL__FLOAT,
  cast(null as CHAR) as my_CHAR__TEXT,
  cast(null as CHARACTER) as my_CHARACTER__TEXT,
  cast(null as NCHAR) as my_NCHAR__TEXT,
  cast(null as STRING) as my_STRING__TEXT,
  cast(null as VARCHAR) as my_VARCHAR__TEXT,
  cast(null as NVARCHAR) as my_NVARCHAR__TEXT,
  cast(null as NVARCHAR2) as my_NVARCHAR2__TEXT,
  cast(null as CHAR VARYING) as my_CHAR_VARYING__TEXT,
  cast(null as NCHAR VARYING) as my_NCHAR_VARYING__TEXT,
  cast(null as VARBINARY) as my_VARBINARY__BINARY,
  cast(null as DATETIME) as my_DATETIME__TIMESTAMP_NTZ,
  cast(null as TIMESTAMP) as my_TIMESTAMP__TIMESTAMP_X

bigquery

select

  cast(null as TIME) as my_TIME,
  cast(null as DATE) as my_DATE,
  cast(null as DATETIME) as my_DATETIME,
  cast(null as TIMESTAMP) as my_TIMESTAMP,
  cast(null as INTERVAL) as my_INTERVAL,
  cast(null as FLOAT64) as my_FLOAT64,
  cast(null as INT64) as my_INT64,
  cast(null as NUMERIC) as my_NUMERIC,
  cast(null as BIGNUMERIC) as my_BIGNUMERIC,
  cast(null as BOOL) as my_BOOL,
  cast(null as STRING) as my_STRING,
  cast(null as BYTES) as my_BYTES,
  cast(null as ARRAY<INT64>) as my_ARRAY,
  to_json(null) as my_JSON,
  cast(null as STRUCT<x STRING, y INT64>) as my_STRUCT,
  cast(null as GEOGRAPHY) as my_GEOGRAPHY,

  -- aliases
  cast(null as INT) as my_INT__INT64,
  cast(null as SMALLINT) as my_SMALLINT__INT64,
  cast(null as INTEGER) as my_INTEGER__INT64,
  cast(null as BIGINT) as my_BIGINT__INT64,
  cast(null as TINYINT) as my_TINYINT__INT64,
  cast(null as BYTEINT) as my_BYTEINT__INT64,
  cast(null as DECIMAL) as my_DECIMAL__NUMERIC,
  cast(null as BIGDECIMAL) as my_BIGDECIMAL__BIGNUMERIC

redshift

select

  cast(null as SMALLINT) as my_SMALLINT,
  cast(null as INTEGER) as my_INTEGER,
  cast(null as BIGINT) as my_BIGINT,
  cast(null as NUMERIC) as my_NUMERIC,
  cast(null as REAL) as my_REAL,
  cast(null as DOUBLE PRECISION) as my_DOUBLE_PRECISION,
  cast(null as BOOLEAN) as my_BOOLEAN,
  cast(null as CHARACTER) as my_CHARACTER,
  cast(null as CHARACTER VARYING) as my_CHARACTER_VARYING,
  cast(null as DATE) as my_DATE,
  cast(null as TIMESTAMP WITHOUT TIME ZONE) as my_TIMESTAMP_WITHOUT_TIME_ZONE,
  cast(null as TIMESTAMP WITH TIME ZONE) as my_TIMESTAMP_WITH_TIME_ZONE,
  cast(null as TIME WITHOUT TIME ZONE) as my_TIME_WITHOUT_TIME_ZONE,
  cast(null as TIME WITH TIME ZONE) as my_TIME_WITH_TIME_ZONE,
  cast(null as BINARY VARYING) as my_BINARY_VARYING,
  cast(null as GEOMETRY) as my_GEOMETRY,
  cast(null as GEOGRAPHY) as my_GEOGRAPHY,
  cast(null as HLLSKETCH) as my_HLLSKETCH,
  cast(null as SUPER) as my_SUPER,

  -- aliases
  cast(null as INT2) as my_INT2__SMALLINT,
  cast(null as INT) as my_INT__INTEGER,
  cast(null as INT4) as my_INT4__INTEGER,
  cast(null as INT8) as my_INT8__BIGINT,
  cast(null as DECIMAL) as my_DECIMAL__NUMERIC,
  cast(null as FLOAT4) as my_FLOAT4__REAL,
  cast(null as FLOAT8) as my_FLOAT8__DOUBLE_PRECISION,
  cast(null as FLOAT) as my_FLOAT__DOUBLE_PRECISION,
  cast(null as BOOL) as my_BOOL__BOOLEAN,
  cast(null as CHAR) as my_CHAR__CHARACTER,
  cast(null as NCHAR) as my_NCHAR__CHARACTER,
  cast(null as BPCHAR) as my_BPCHAR__CHARACTER,
  cast(null as VARCHAR) as my_VARCHAR__CHARACTER_VARYING,
  cast(null as NVARCHAR) as my_NVARCHAR__CHARACTER_VARYING,
  cast(null as TEXT) as my_TEXT__CHARACTER_VARYING,
  cast(null as TIMESTAMP) as my_TIMESTAMP__TIMESTAMP_WITHOUT_TIME_ZONE,
  cast(null as TIMESTAMPTZ) as my_TIMESTAMPTZ__TIMESTAMP_WITH_TIME_ZONE,
  cast(null as TIME) as my_TIME__TIME_WITHOUT_TIME_ZONE,
  cast(null as TIMETZ) as my_TIMETZ__TIME_WITH_TIME_ZONE,
  cast(null as VARBINARY) as my_VARBINARY__BINARY_VARYING,
  cast(null as VARBYTE) as my_VARBYTE__BINARY_VARYING

postgres

-- excluding the following since they are autoincrementing data types:
-- smallserial, serial, bigserial
-- aliases: serial2, serial4, serial8

select

  cast(null as smallint) as my_smallint,
  cast(null as integer) as my_integer,
  cast(null as bigint) as my_bigint,
  cast(null as numeric) as my_numeric,
  cast(null as real) as my_real,
  cast(null as double precision) as my_double_precision,
  -- cast(null as smallserial) as my_smallserial,
  -- cast(null as serial) as my_serial,
  -- cast(null as bigserial) as my_bigserial,
  cast(null as date) as my_date,
  cast(null as timestamp without time zone) as my_timestamp_without_time_zone,
  cast(null as timestamp with time zone) as my_timestamp_with_time_zone,
  cast(null as time without time zone) as my_time_without_time_zone,
  cast(null as time with time zone) as my_time_with_time_zone,
  cast(null as interval) as my_interval,
  cast(null as boolean) as my_boolean,
  cast(null as bytea) as my_bytea,
  cast(null as character varying(100)) as my_character_varying,
  cast(null as character(100)) as my_character,
  cast(null as text) as my_text,
  cast(null as bpchar) as my_bpchar__character,

  -- aliases
  cast(null as int2) as my_int2__smallint,
  cast(null as int) as my_int__integer,
  cast(null as int4) as my_int4__integer,
  cast(null as int8) as my_int8__bigint,
  cast(null as decimal) as my_decimal__numeric,
  cast(null as float4) as my_float4__real,
  cast(null as float8) as my_float8__double_precision,
  -- cast(null as serial2) as my_serial2__smallserial,
  -- cast(null as serial4) as my_serial4__serial,
  -- cast(null as serial8) as my_serial8__bigserial,
  cast(null as timestamp) as my_timestamp__timestamp_without_time_zone,
  cast(null as timestamptz) as my_timestamptz__timestamp_with_time_zone,
  cast(null as time) as my_time__time_without_time_zone,
  cast(null as timetz) as my_timetz__time_with_time_zone,
  cast(null as bool) as my_bool__boolean,
  cast(null as varchar(100)) as my_varchar__character_varying,
  cast(null as char(100)) as my_char__character

databricks

select

  cast(null as BINARY) as my_BINARY,
  cast(null as BOOLEAN) as my_BOOLEAN,
  cast(null as STRING) as my_STRING,
  cast(null as INTERVAL) as my_INTERVAL,
  cast(null as DATE) as my_DATE,
  cast(null as TIMESTAMP) as my_TIMESTAMP,
  cast(null as BYTE) as my_BYTE,
  cast(null as SHORT) as my_SHORT,
  cast(null as INTEGER) as my_INTEGER,
  cast(null as BIGINT) as my_BIGINT,
  cast(null as DECIMAL) as my_DECIMAL,
  cast(null as FLOAT) as my_FLOAT,
  cast(null as DOUBLE) as my_DOUBLE,
  cast(null as ARRAY<INT>) as my_ARRAY,
  cast(null as MAP<STRING, INT>) as my_MAP,
  cast(null as STRUCT<name: STRING, age: INT>) as my_STRUCT,
  cast(null as VOID) as my_VOID,

  -- aliases
  -- These are NOT documented, so they need to be discovered one-by-one experimentally
  cast(null as INT) as my_INT__INTEGER,
  cast(null as SMALLINT) as my_SMALLINT__SHORT,
  cast(null as TINYINT) as my_TINYINT__BYTE,
  cast(null as DEC) as my_DEC__NUMBER,
  cast(null as NUMERIC) as my_NUMERIC__NUMBER,
  cast(null as REAL) as my_REAL__FLOAT

spark

select

  cast(null as BINARY) as my_BINARY,
  cast(null as BOOLEAN) as my_BOOLEAN,
  cast(null as STRING) as my_STRING,
  cast(null as INTERVAL) as my_INTERVAL,
  cast(null as DATE) as my_DATE,
  cast(null as TIMESTAMP) as my_TIMESTAMP,
  cast(null as BYTE) as my_BYTE,
  cast(null as SHORT) as my_SHORT,
  cast(null as INTEGER) as my_INTEGER,
  cast(null as LONG) as my_LONG,
  cast(null as DECIMAL) as my_DECIMAL,
  cast(null as FLOAT) as my_FLOAT,
  cast(null as DOUBLE) as my_DOUBLE,
  cast(null as ARRAY<INT>) as my_ARRAY,
  cast(null as MAP<STRING, INT>) as my_MAP,
  cast(null as STRUCT<name: STRING, age: INT>) as my_STRUCT,
  cast(null as VOID) as my_VOID,

  -- aliases
  -- These are NOT documented, so they need to be discovered one-by-one experimentally
  cast(null as INT) as my_INT__INTEGER,
  cast(null as SMALLINT) as my_SMALLINT__SHORT,
  cast(null as TINYINT) as my_TINYINT__BYTE,
  cast(null as DEC) as my_DEC__DECIMAL,
  cast(null as NUMERIC) as my_NUMERIC__DECIMAL,
  cast(null as REAL) as my_REAL__FLOAT

@RobMcZag


Max Version for multi site server deployments

This sets a max version on update requests, which allows for multi site server deployments where each server may be on a different version and will only support specific versions of the client.

Accidentally added the pull request from the wrong branch. sorry about that.


Rabbitmq

Adds instructions for setting up rabbitmq using docker to the README.
Creates an abstraction layer over rabbitmq to simplify using queues.
Implement the abstraction layer using rabbitmq.
Implement the abstraction layer using a mock implementation to support future testing.
Create send and receive classes that test that sending and receiving messages over queues and topics works.
See lanternmq/test/README.mq for instructions on testing.
-- any suggestions for how to better test this are very welcome.

Pull requests into this repository require the following checks to be completed by the submitter and reviewers.
Submitter:

[x] Administrative tasks are complete.

This pull request describes why these changes were made.
The JIRA ticket links to this PR.
The JIRA ticket for this PR is: https://oncprojectracking.healthit.gov/support/browse/LANTERN-71

[x] Tests are complete.

Tests are included and test edge cases.
Tests have been run locally and pass.

[x] Code review has been performed.

Code diff has been done and checked to ensure only expected code is being committed.
A linter for the language has been run.

Primary Reviewer:

[x] Code works.

Code has been run locally and the basic functionality affected by the PR has been checked.
Edge cases have been checked to ensure behavior is as expected.

[x] Code review has been performed.

Code is maintainable, reusable, efficient, and correct.
Code accomplishes the tasks purpose.
Code follows style guidance appropriate for the language, including passing linter checks.
Code is well commented (which does not mean verbosely commented).

[x] Tests are complete.

Tests are included and test edge cases.
Tests have been run locally and pass.

Secondary Reviewer: @mayerm94

[x] Code works.

Code has been run locally and the basic functionality affected by the PR has been checked.
Edge cases have been checked to ensure behavior is as expected.

[x] Code review has been performed.

Code accomplishes the tasks purpose.

[x] Tests are complete.

Tests have been run locally and pass.

Merger:
Prior to merging, ensure that all checks have been completed. Delete the branch after the merge is complete.

I've entered some comments on this PR.  The basically fall into two general categories:

A lot of the queue/topic settings are hard-coded.  I would prefer to see a config struct passed as a parameter to these functions with the relevant settings (which can be defaulted).  This gives more versatility to the interface/implementation to handle more situations where this functionality is required.

The use of hard coded boolean constants, even though some include comments as to what the boolean value is meant to represent.  I would prefer to see declared constants with meaningful names, then the comments aren't even necessary anymore.  These constants could be reused since the same parameters are passed to many of the rabbitmq functions.

I signed off on the code review to allow the PR to move forward, but I wanted to document these are issues to be addressed when this code is next modified, if not handled now.


Check for incompatible feature combinations

In https://github.com/rust-bitcoin/rust-secp256k1/pull/408#discussion_r811485136 I describe annoying issue with errors and features and I remember seeing features and conditional enum variants here, so we should check if they have the problem I describe there and fix it if we do.

 I remember this being a known-issue but it just hasn't been addressed yet so thanks for tracking this here!

That's something else. Conditional enum variants will be solved with #[non_exhaustive] which is planned after MSRV bump.

Fixed by #1026

That PR does something completely different though.

Can you point to any features that, when enabled, break compilation? AFAIK since #1026 there are none.

This is an audit issue so someone has to go and check. AFAIK nobody did yet. :)

I checked before closing this.

I checked before closing this.

Issue is open still, should this be closed already?

@apoelstra since you referenced a PR that is unrelated to this I don't think you understood the issue. Probably because the comment I referenced describes two separate things and #[non_exhaustive] fixes only one of them. Sorry for confusion.
Hopefully more clearly: for every enum SomeError which references error types from optional external crates we need to conditionally compile impl std::error::Error such that the source() method returns Some IFF there is external-crate-std feature enabled. Where external-crate-std depends on external-crate/std.
For mandatory dependencies we only have to make sure std enables their std feature too.

You're right, I don't understand the issue. The issue that #1026 fixes is that adding features would literally break compilation by adding enum variants that people may have been matching on. By labelling these #[non_exhaustive] compilation no longer breaks. So to the extent that this is "incompatible feature combinations", the PR is very much related.
Separately, we shoud check that source() is implemented correctly regardless of feature combinations, yes -- but I'd consider that buggy code rather than "incompatible fetaure combinations" and it wasn't obvious to me that this issue had anything to do with that.

Yes it is a bug to have incompatible feature combinations because they can occur unexpectedly.

I still don't understand in what sense there are "incompatible feature combinations" :(

I randomly found one offender: bitcoinconsensus::Error - I did not audit everything.

I think this is actually the only error variant which is feature-gated at all.

In my opinion, having been through all the error types a million times in the last six months this issue can be closed.


UI - model list dropdown darkmode display issue

When using darkmode,  the dropdown menu is displayed in white with barely legible grey text . This occurs on my windows 10 desktop for chrome, brave, and mozilla  firefox browsers. This also occurs on my linux mint laptop for brave but not for firefox.  Screenshot attached.  All browsers are using the most up to date versions.  I am accessing the web-ui remotely from an ubuntu linux server (22.04.3) running the ollama-webui docker .

Hi, Just merged #84 to main, which should fix your issue. Let me know if your issue still persists. Thanks!

Wow, thanks for the blazing speed response time! I removed the existing docker image and rebuilt again. I deleted the cache on my browsers and still had the same issue. Please let me know if I should be doing something else to see the fix. Thanks.

Hi, I was able to test it on my windows machine and it seems to have fixed the issue. I'll test it out on my ubuntu machine soon and let you know. Thanks!

It seems to be working fine on my ubuntu machine (tested with chrome), maybe try again with using incognito mode and see if it fixes the issue, which would mean that your browser cache has not been deleted entirely. Keep us updated, Thanks.

Are you running web-ui locally? My use case is ollama-web run on a linux server being accessed by a windows pc and linux laptop on the same network.  On the window PC the issue persists on all browsers even after deleting cache. On the linux mint laptop, only firefox UI dropdown text is legible (pic) . I also tried on a linx vm, accessing the server for the first time. Brave browser has the same behavior where where as the firefox browser displays a legible dark backgroung (pic). Chrome has the same behaviour as brave for both platforms.
So net net for me, only the linux firefox browser displays ledgible text on a dark background while using dark mode.

I can verify it worked over LAN for both windows and ubuntu machines, could you also make sure that you've built the docker container using the latest version (after git pull) of the ollama-webui? Keep us updated. Thanks.

Duhhh...I didn't do that. It works now. Thanks again for the fast feedback and fix.


size_kind issue

There is still an issue here https://github.com/Goddard-Fortran-Ecosystem/gFTL/blob/6e2adb74cd9737b730e422b2c0aa32cbf69307d4/include/v2/vector/procedures.inc#L139

Addressed by #189


USHIFT-1695: support building a single image in test harness

Add -t argument to test/bin/build_images.sh so the caller can rebuild
a single image by passing the template file as input.

Great feature! Happy to approve as soon as the "verify" and build errors are fixed.

/lgtm


Redis database not saved on docker_django3.1

With the default config, it appears that the redis database is never written to disk. It looks like the config files that are passed in are never used.

This is no longer an issue in the dashboard3 branch as we're using docker-compose to run everything and that includes feeding redis the correct config file.


->native(false) is not working.

Thanks for your work,
Native select is fine, but ->native(false) is not working.

Hi @0samaKamel,
the problem seems to be an overflow-hidden which is part of every TextInput it appears.
I've removed this now, as i don't see a very good reason at the moment for it.
If anyone uses this and finds this causes issues for them please let me know.


fix: icon glitch in Firefox

In Firefox, when we use css transform, it causes a little glitch on icons :

Adding backface-visibility: hidden; prevent this.
Example code to reproduce this behaviour :
<ABtn
  variant="text"
  icon="i-mdi-plus-circle"
  icon-only
  class="transform children:transition children:rotate-45"
/>

Adding backface visibility to every element is overkill. Let's just add it to the icons.


Validate published envelope topics

tl;dr

Uses new envelopes structs to help validate publish requests
Validates that the topic matches the payload (https://github.com/xmtp/xmtpd/issues/231)

AI Generated Summary
Refactored envelope handling and improved validation in the API service.
What changed?

Moved envelope-related test utilities to a dedicated package pkg/testutils/envelopes.
Enhanced ClientEnvelope struct with additional methods for topic handling and payload validation.
Updated Service.PublishEnvelopes to use the new envelope validation logic.
Improved error handling and messages in various API functions.
Introduced TopicMatchesPayload method to ensure consistency between envelope topic and payload.

How to test?

Run the existing test suite to ensure all tests pass after the refactoring.
Add new tests to cover the TopicMatchesPayload functionality in pkg/envelopes/client.go.
Verify that publishing envelopes with mismatched topics and payloads now results in appropriate error messages.

Why make this change?
This refactoring improves code organization, enhances envelope validation, and increases the robustness of the API service. By centralizing envelope-related logic and adding stricter validation, we reduce the likelihood of processing invalid envelopes and improve overall system reliability.

#233  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @neekolas and the rest of your teammates on  Graphite

Merge activity

Oct 17, 5:18 PM PDT: A user started a stack merge that includes this pull request via Graphite.


Does not cover the case when the list is empty.

https://github.com/awslabs/autogluon/blob/fef4da4c5e6b8c1d0c7a453f45403c14d7244d7e/autogluon/utils/tabular/features/abstract_feature_generator.py#L378

Hello, thanks for creating an issue!
This part of the code is never called by the DefaultLearner in AutoGluon and thus we haven't noticed this defect, but upon looking into it this does seem to be a situation where incorrect behavior would occur.
I have created #278 to address this.
Best,
Nick

Merged fix: #278


chore: bump version 0.4.0-beta.5

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (09a9c8e) 6.29% compared to head (e5e79e0) 6.29%.
Report is 71 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@          Coverage Diff          @@
##            main    #259   +/-   ##
=====================================
  Coverage   6.29%   6.29%
=====================================
  Files         76      76
  Lines       4320    4320
  Branches     855     855
=====================================
  Hits         272     272
  Misses      3222    3222
  Partials     826     826

Flag
Coverage Δ

unittests
6.29% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Price unit Label validation

Hey there,
Picked up a minor issue with the Price Unit Label on creating a new Listing. I tried to populate it with the value "On-completion" which was not valid (too long I think).
Just needs a minor change to the validation rules for the field?

Hi @marksarcade , you are right, it's because the Price Unit Label is defined with length=10, apparently it might be a bit short, I just extended it with length=20.
To upgrade your database table automatically after getting latest code, you just need to set MigrateDatabaseToLatest = true in the web.config


Add information that DFx will not power down paging or debug devices

Per PwrTest and DFX HLK testing output, DFx will not power down paging or debug devices.
Can this page be updated to outline the above non-DFx scenarios?

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

ID: 53456e5d-2f98-0b55-dfb0-dcb25c4eb7f9
Version Independent ID: 3ca90a7c-0bf7-7711-9235-cb423cc11764
Content: Introduction to the Directed Power Management Framework - Windows drivers
Content Source: windows-driver-docs-pr/kernel/introduction-to-the-directed-power-management-framework.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

See this updated publicly.  Thanks.  Closing.


Update nixpkgs to track nixos-21.11 branch and update other inputs

Fixes #5

Everything seems to still be working. Thanks!


how to remove Invalid keys (  [field] is not allowed by schema)

I am using SimpleSchema to a collection .One of the doc has a value which is not mentioned in schema and when I am trying to update the issue I am getting error [field] is not allowed by schema

@aldeed  please let me know your suggestion on this issue

Closing old issues. Please comment if this is still an issue and should be reopened.


Assao

Contains Intels ASSAO implementation (currently without the highest quality setting, i.e. without the adaptive part) and a new module called ASSAO which can replace the current SSAO ScreenSpaceEffect module.
Summary of Changes
Mapped Intels ASSAO Direct3D implementation to OpenGL. A new module has been added called "ASSAO" which takes a depth and a normal texture, and the camera as inputs and has various parameters to adjust the settings.
References and Context
See https://github.com/GameTechDev/ASSAO/blob/master/Projects/ASSAO/ASSAO/ASSAODX11.cpp for the original implementation and https://software.intel.com/content/www/us/en/develop/articles/adaptive-screen-space-ambient-occlusion.html for more details.
Test Instructions

Take the CompositingExample.lua and replace the current SSAO (ScreenSpaceEffect) module with the new ASSAO module

Two more requests:

remove Sampler.hpp and Texture2DView.hpp from compositing plugin and use glowl files instead
add our copyright notice below the Intel copyright because we did modify the code quite a bit to use glsl


Single Tenancy Guidance

Note: If your question is regarding the AWS Amplify Console service, please log it in the
official AWS Amplify Console forum

Which Category is your question related to?
Auth, Api, Function
Amplify CLI Version
You can use amplify -v to check the amplify cli version on your system
4.18.0
What AWS Services are you utilizing?
Cognito, APIGW, Lambda, S3, DDB, AppSync
Provide additional details e.g. code snippets
This is a general design/architecture guidance question... We are building a SaaS platform on which it is important for us to do the following,

Physically segregate client data
Track infrastructure cost on a per client basis

We are really excited about using Amplify to solve for this. We'd like to leverage amplify environments to solve for single tenant environments. For example amplify env add newClient1 would give us a completely isolated environment including our User Pool, AppSync, Lambdas, API Gateways and DDBs dedicated to that newClient1.
The purpose of this ticket is really to make sure this sounds like viable use case for Amplify. Are you able to provide any guidance here?

Any more information needed on my end in order to help answer this?

@alexkates for SAAS environments you as a provider has 2 choices. Deploying resources to the customers' accounts and interact with those or manage them through IAM permissions or the other solution is that the resources for a given tenant is created in an AWS account you own, then data isolation, data security, data storage location are the things you've to be careful about and address them. As most SAAS solutions involving multiple types of AWS service resources you can model a tenant as a group of resources with least privilege designed IAM policies around them, which gives you the isolation you'd like, but easier to run into 'per account' limits as your customer base grows. Because of that I'd do the same as above, but deploy each tenant into a separate AWS account under yours, the governance for those accounts can be well managed with AWS Organizations or AWS Control Tower which builds on top of Organizations. This would give a full separation not just from resource and security, but from billing perspective as well.
I hope my answer can give you pointers on where to look.

Thanks @attilah . I'm familiar with both approaches you've suggested from an architectural perspective. My question really is geared towards how Amplify influences this SAAS and Single Tenancy approaches in AWS. Specifically, Amplify's environment management and segregation seems to lend itself well to managing multiple tenants.
For example, imagine building a SAAS application where data segregation is a top priority. Let's also imagine we have 2 customers that use this application to service their own customers. It appears that Amplify would handle this environment segregation nicely by simply standing up 2 environments, customer-env-1 and customer-env-2 for example.
I'm thinking about such a use case for Amplify and hoping to spark a conversation about Amplify's efficacy here.


Sd2sp2 support

Hello, when I use this Programm on my GC it says that it has not found a device to write dumpet files and closes. Is it because of the sd2sp2 adapter? Unfortunately I don't have a USB gecko.
Thanks.

you can use(or make) an SD gecko, they are pretty cheap

In case you didn't know, Game Boy Interface supports GBA dumping to SD2SP2 if necessary.


Missing hints in executor

Refactor tests to use the hint executor
Move all tests that use the executor to the file syscall_resource_manager.rs.
Add a building method for execution_resource_manager to create the map where the counting of syscall calls is done

Codecov Report

Merging #46 (b861bfd) into main (7005609) will decrease coverage by 4.06%.
The diff coverage is 52.94%.

@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
- Coverage   76.41%   72.34%   -4.07%
==========================================
  Files          16       16
  Lines         831      857      +26
==========================================
- Hits          635      620      -15
- Misses        196      237      +41

Impacted Files
Coverage Δ

src/utils.rs
58.82% <ø> (ø)

...rc/core/syscalls/business_logic_syscall_handler.rs
50.42% <47.16%> (+0.42%)
:arrow_up:

src/core/syscalls/syscall_handler.rs
60.21% <55.55%> (-6.46%)
:arrow_down:

src/business_logic/execution/state.rs
77.77% <100.00%> (+27.77%)
:arrow_up:

src/core/syscalls/syscall_response.rs
66.66% <0.00%> (-33.34%)
:arrow_down:

src/core/syscalls/syscall_request.rs
48.75% <0.00%> (-26.25%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


How to enable disable zoom, rotation, pan with the IFCViewer ?

Can anyone give me example enable , disable zoom rotation and pan in IFCViewer

Hi, you can find this in camera.cameraControls, which uses this library to control the camera.


An error occurred while processing the “Feedbin” account: Not Found

I'm trying to delete the "MSFS Memory Error" feed—which doesn't exist on my Feedbin account anymore as the feed was previously deleted—and I'm getting this error.

Reopening because this needs additional verification.


#1 Set up ML Model Repo + IDE

Description: Create a new repo for ML model code
Tasks

Create a new GitHub repository for the model.
Create README
Link ML repo in our current repo README
Set up a Python virtual environment (venv) and confirm compatibility with the necessary ML packages.
Import necessary modules/package(special focus on Tensorflow and Keras)

11/06/24- Created ML repo and sent collaborator invite : https://github.com/SNMeans/rrat-diabetic-retinopathy-CNNmodel


[document request] tutorial on downloading which files

any tips to download which files on windows?
can Rebol3 compile the source to executable files? how?
Thanks

Hi,
what exactly do you mean with downloading file?

I have included these comments in the README


Mapper connects the different paths of a Dreame Z10

Checklist

[X] I have updated the integration to the latest version available
[X] I have checked if the problem is already reported

The problem
When creating the image from my Dreame Z10, the mapper connects all different paths present in the mapping data. (I.e. it draws a line from the last point of the first path to the first point of the second path and so on).
These paths are supposed to be drawn independently, otherwise it results in some weird zig zack lines all across the map.
What version of an integration has described problem?
1.4.4
What was the last working version of an integration?
No response
What vacuum model do you have problems with?
Dreame Z10
Please firmware installed on your Vacuum.
2023.03.0
What version of Home Assistant do you use?
2023.10.1
What type of installation are you running?
Home Assistant Supervised
Camera's settings.
No response
Logs or Errors shown in the HA snapshots (please enable the Debug Mode)
No response
Additional information
No response

@tobi1449 I will check the data and get back to you as soon

@tobi1449 problem found, next release will fix it ;) thanks for the report.

@tobi1449 fix released with v1.4.5 please confirm if we can close this issue ;)

Looks good, thanks.


Search PATH for VFSForGit-enabled Git binary

Instead of expecting our VFSForGit-enabled git binary to be installed in /usr/local/bin, as per the macOS implementation, we should look through the locations in our PATH environment variable and check for a git whose version matches the one we need, or fail if the first found one does not.
We should be able to use Environment.GetEnvironmentVariable() to acquire the PATH variable, at least.

Some additional valuable suggestions from @bk2204, regarding how we could use Git config extensions:

Git 2.7.0 and newer have support for an extensions section in the config. If you set core.repositoryFormatVersion to 1, then you can set extensions, and if the git binary in question doesn’t understand them, it will abort. Therefore, for VFS for Git repositories, it’s possible to simply create your own extension, say, extensions.vfsforgit, and set it to 1 in the repository config file. A suitably enabled Git will know about it, but if there’s a different Git on the system that isn’t capable of that, it will fail in a noisy way, making it obvious what’s going on. libgit2 should also fail here, which we’d want as well.
That doesn’t solve the problem of finding the right Git, but it does ensure that if we use PATH, we don’t have to worry as much that we accidentally have the wrong Git. We won’t, for example, have to worry about data corruption.

which-based solution at https://github.com/Microsoft/VFSForGit/pull/999.


updated_raceman_sequence

#131  i have coded the sequence in c++ please do have a look.I am open for suggestions

This is a Flutter project, why would you add arbitrary cpp code to it? If you need help understanding things, you can always ask on the discord server. Please avoid opening PRs.

thank you sir ,being a beginner I am not having the exact ideas but anyway thanks for your feedback surely will do reach out to you.


Simplify the help system by removing the cooldown when the channel is closed

I get the sense that few members appropriately make use of the ability to claim multiple channels. This feature made more sense when the system was first designed because members couldn't close their own channel. Now, it just adds complexity to the code that isn't worth keeping around if no one is relying on this feature. It would be simpler to remove the cooldown when the channel goes dormant rather than having a separate task scheduled for a different time.
Should this ability be removed to simplify the code? I am in favour of removing it. The amount of members claiming multiple channels could be tracked as a stat. However, the removal may be uncontroversial, so that stat may be unnecessary.
I'm setting this to high priority since I foresee this to be very helpful to get out of the way before tackling some of the race condition issues in the system.

I like the idea proposed, but we need to take a new issue into account that we observed twice in the last two days: Trolls opening and closing channels at a rapid rate. This may have happened before as well, as it was more or less "luck" that we observed the last event; the observation made us look into the logs, which revealed another event from another members just 1.5 day earlier. Both times, a user opened and closed about 20 channels within a few minutes.
This is obviously not only disruptive, with channels moving quickly all over the place, it will also cause the bot to make a lot of Discord API requests in a very short time frame. Taken together, I think we should no longer automatically removal of the Help Cooldown role when someone closes their own channel. The initial idea I had, before I read this issue, was just to always have a 15 minute cooldown for claiming help channels. No exception.
@lemonsaurus added the idea of implementing the channel resurrection command we had in mind to still allow people to continue a previous conversation they had in a channel they closed to rapidly after thinking they had a solution, but didn't.
Anyway, with this in mind, removing the role whenever a channel goes dormant while still allowing the close command to be used would still result in the possibility of doing such a rapid claim->close denial of service attack on our help channel system. We can obviously add some logic to detect this, but I'd rather just make it impossible in the first place.

I did raise this issue in https://github.com/python-discord/bot/issues/867#issuecomment-609511788, I think the cooldown should remain after going dormant with the new additional api calls involved and a higher influx of new users that potentially may want to do something distruptive.
I think it'd be better to decrease the cooldown to 5 minutes when a channel goes dormant to cover the cases where someone gets an issue solved quickly but then gets a new one after their channel is closed. If that is feasible to implement, decreasing the cooldown when closed would make it more user friendly while keeping the open/close spam away

But one thing with having a consistent 15-minute cooldown is the question might have had a short answer, and they close the channel.
If they encounter another problem then this makes it so that they can't claim a help channel and might keep on asking their question in other channels


Give us the ability to ignore specific CVEs during jf audit

Is your feature request related to a problem? Please describe.
When I execute jf audit it shows a critical vulnerability CVE-2023-29827. However, this is not a critical vulnerability, see https://github.com/mde/ejs/issues/720. Other SCA tools like Snyk have already lowered the severity or removed this CVE completely. I want to ignore it when I execute jf audit.
Describe the solution you'd like to see
I want to execute something like jf audit --ignore-cves CVE-2023-29827,CVE-XXXX-YYYYY  to ignore specific CVEs during the scan.
Describe alternatives you've considered
Lower the severity of CVE-2023-29827 or remove it completely.

Thanks for suggesting this feature request @RobinDinkel,
To provide more visibility to this request, and to have it included to the list of JFrog CLI's security related issues, I recommend closing this issue, and reopening it under https://github.com/jfrog/jfrog-cli-security


Grid: Edit mode - Inline editing

I have tried your component and it's satisfying but it missing same features such as in line editing, enable the user to edit any data in the gird

@tdaduchskysoft
Thank you for testing our components. We want to make the Grid simple. We don't have plans to add inline edits to the Grid but will keep this in future enhancements. You can try the below example. In the future, I will add more grid examples in the below GitHub repository. Feel free to ask for more custom examples.
Sample GitHub Project: https://github.com/vikramlearning/blazorbootstrap-examples
Custom Grid Operations:

Edit
Delete
Single Row Selection
Multiple Rows Selection

Employees Grid

Edit Employee

Update Employee

Delete Employee

After Delete

Single / Multiple Rows Selection
We can write custom logic to check/uncheck the checkbox. Based on the checkbox selection, you can change the row color.
References:

Conditional css class for grid row: https://demos.blazorbootstrap.com/grid#conditional-css-class-for-grid-row
Conditional css class for grid column: https://demos.blazorbootstrap.com/grid#conditional-css-class-for-grid-column

I hope this helps.

Reference from #179 - https://tabblazor.com/docs/tables

Hi @gvreddy04, does this mean you're planning to support inline-editing of Grid in version 1.10.0?

We are moving this to backlog due to other priorities.


Unable to benchmark custom s3 endpoint from openstack vm

Hi,
Environment setup:
testvm => 2x harpoxy-s3 => 3x ceph radosgw
Rados gw runs on dedicated hardware while testvm and haproxy-s3 runs on openstack. This setup works good since i was able to use rclone to POST/GET objects on this custom s3. Note that radosgw are completly standalone and not integrated with openstack keystone at all.
Problem definition:
As a second step i wanted to run s3-benchmark just to check overall long term performance.
This is how my credentials are set:
[fedora@brtest ~]$ cat ~/.aws/credentials
[brtest]
aws_access_key_id = xxx
aws_secret_access_key = xxxx

I get something like that:
[fedora@brtest ~]$ ./s3-benchmark --endpoint s3.ourdomain.io --region custom-signing-region --bucket-name benchmark

--- SETUP --------------------------------------------------------------------------------------------------------------------

panic: Filed to create S3 bucket: EC2RoleRequestError: no EC2 instance role found
caused by: EC2MetadataError: failed to make EC2Metadata request
caused by: 404 Not Found

The resource could not be found.

goroutine 1 [running]:
main.setup()
	/Users/daniel/go/src/github.com/dvassallo/s3-benchmark/main.go:229 +0xa35
main.main()
	/Users/daniel/go/src/github.com/dvassallo/s3-benchmark/main.go:113 +0x44

I believe the issue is caused by fact that aws-go-sdk recognizes our openstack api as a valid aws api and tries to obtain s3 credentials this way.
fedora@brtest ~]$ curl http://<IP_ADDRESS>/latest/meta-data/
ami-id
ami-launch-index
ami-manifest-path
block-device-mapping/
hostname
instance-action
instance-id
instance-type
local-hostname
local-ipv4
placement/
public-hostname
public-ipv4
public-keys/
reservation-id

Would it possible to force s3-benchmark to skip aws autodetection ??
Regards,
Bart

Btw,
This is what i get from baremetal host located outside of openstack:
~ $ ./s3-benchmark --endpoint s3.prd.ams01.mgas.io --region custom-signing-region --bucket-name brtest

--- SETUP --------------------------------------------------------------------------------------------------------------------

panic: Filed to create S3 bucket: EC2RoleRequestError: no EC2 instance role found
caused by: RequestError: send request failed
caused by: Get http://<IP_ADDRESS>/latest/meta-data/iam/security-credentials: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

goroutine 1 [running]:
main.setup()
	/Users/daniel/go/src/github.com/dvassallo/s3-benchmark/main.go:229 +0xa35
main.main()
	/Users/daniel/go/src/github.com/dvassallo/s3-benchmark/main.go:113 +0x4

did you try to set the credentials in your env like:
export AWS_ACCESS_KEY_ID="HSGSGDHJTASDCDSGHR"
export AWS_SECRET_ACCESS_KEY="gdhahadshadHDhadhjDShjdhjdJdsHDSBdSAgr"

I was able to benchmark RadosGW that way.

Hi,
Have the same issue with export option.
--- SETUP --------------------------------------------------------------------------------------------------------------------

panic: Filed to create S3 bucket: RequestError: send request failed
caused by: Put s3.eu-west-3.amazonaws.com/synergi2-ged: unsupported protocol scheme ""

goroutine 1 [running]:
main.setup()
	/Users/daniel/go/src/github.com/dvassallo/s3-benchmark/main.go:229 +0xa35
main.main()
	/Users/daniel/go/src/github.com/dvassallo/s3-benchmark/main.go:113 +0x44

Best Regards


Add type hints to every variables

The codebase is pretty rushed so there are many places where type hints are missing, but it will be useful in the future to have them everywhere.

Oh, definitely just for methods. I don't think it's entirely necessary for variables within the method. I'll close this issue since it's superseded by #25


UnboundLocalError: local variable 'FRAMEWORK_TRANSFORMS' referenced before assignment

when building a graph with "hl.build_graph(model)"  ,model is a tensorflow net, it occurs:
hiddenlayer-master/hiddenlayer/graph.py in build_graph(model, args, input_names, transforms, framework_transforms)
147     if framework_transforms:
148         if framework_transforms == "default":
--> 149             framework_transforms = FRAMEWORK_TRANSFORMS
150         for t in framework_transforms:
151             g = t.apply(g)
UnboundLocalError: local variable 'FRAMEWORK_TRANSFORMS' referenced before assignment

HiddenLayer tries to guess which deep learning framework you are using by calling the following code:
    # Detect framwork
    framework = detect_framework(model)
    if framework == "torch":
        from .pytorch_builder import import_graph, FRAMEWORK_TRANSFORMS
        assert args is not None, "Argument args must be provided for Pytorch models."
        import_graph(g, model, args)
    elif framework == "tensorflow":
        from .tf_builder import import_graph, FRAMEWORK_TRANSFORMS
        import_graph(g, model)

Clearly, if it can't detect which you are using (of PyTorch or TF), then you're in trouble. since there is no "third branch" that will warn you that the framework detection failed. The right thing for us to do, for sure, is to at least tell you that detection failed by raising a warning.
To detect the framework, we inspect the model you pass in, as shown below:
def detect_framework(value):
    classes = (value.__class__,) + value.__class__.__bases__
    for c in classes:
        if c.__module__.startswith("torch"):
            return "torch"
        elif c.__module__.startswith("tensorflow"):
            return "tensorflow"

Frankly, It is quite remarkable that the test would fail... unless you instantiated the model in a somewhat unconventional way (or a way we just simply did not anticipate). The only way for us to help you further is to take a look at the code. Would you mind submitting a minimal working example to help us get to the bottom of this? Once you've done so, feel free to re-open this issue.


feat: allow polls and predictions to be expanded

Screenshot? :o

Can we add a poll summary line too in the collapsed view? So the streamer can see the winning option without expanding. Doing it in a followup PR is fine too.


Multiple users support

Is it able to implement multi-user functionality, so every user can use own playlists, etc. ?

Yes, we currently store playlists in local storage in the browser.   However, there is a backend storage system in dev (for playlists) which allows multiple users can have different playlists of tracks from the same library.


add xmpp-client

Add the one and only xmpp-client. How has anyone been able to live without it?

Yet another client for a dying protocol, finally! :p

@jgillich maybe #11979 is more to your liking. :)

@jgillich xmpp will live forever.

I agree, xmpp will live forever. :)
Could you, @codsl please update the PR according to our contribution guidelines? Thanks! :)

@devhell Seems like I'm overlooking something. Could you give me a hint?

@codsl please add version. As a field and as a name's part.

@codsl What is the status of this and #11979? :)

#12407


Support NavigationLink for split view by creating separate socket connections

Ideally, we would be able to re-use the socket. However, I was not able to find a way to initiate a separate LiveView from the client without the first LiveView being replaced/disconnected.

[!NOTE]
If you put the <NavigationSplitView> in the root layout, it will be rendered in all columns. Either use a different layout for the secondary columns, or put the split view directly in the first column's template.
This has been changed so if a NavigationSplitView is used within another NavigationSplitView, it will only render its sidebar content.

https://github.com/liveview-native/liveview-client-swiftui/assets/13581484/5ff103ad-b2ce-40d5-94e4-a0dbbf9e2404

I like this but let's see if we can grab some of Chris' time after I'm back from PTO to discuss the implementation here to ensure it aligns with web

We're going to close this in favor of nested LiveViews which we will support in Core


MINOR: Don't imply that ConsumerGroupCommand won't work with non-Java clients

@hachikuji @ijuma

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6256/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6272/
Test PASSed (JDK 7 and Scala 2.11).


New version: athlabs.Spyglass version 22.8.1

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.1 schema?


Not working on nw.js

I am trying to use it on node-webkit (nw.js) but when I import it. it throws an error
my code.
var async = require('asyncawait/async'); var await = require('asyncawait/await');
Here is the error

module.js:482 Uncaught Error: A dynamic link library (DLL) initialization routine failed.
\?\E:\ZeroKit\webkit-v0.13\ZeroKitFinal\node_modules\fibers\bin\win32-x64-48\fibers.node

This is an issue with node-fibers. There isn't much asyncawait can do about this. Hopefully https://github.com/laverdet/node-fibers/issues/271 might be of some help.


Avoid using u32 parameters when they are cast to c_int

In some instances (ex Parameters.set_width(&mut self, value: u32))  we pass a value as u32 but the value is immediately cast into c_int. Passing u32 values bigger than 2^31 will probably create an unexpected behavior. These parameters should therefore be declared as i32 or the function should be changed to use try_into() and return a result if the former doesn't make sense.

Same thing for any other unsigned integers larger tan i32