Lift VFS from clang to llvm (NFC)

This patch moves the virtual file system form clang to llvm so it can be
used by more projects.
Concretely the patch:

Moves VirtualFileSystem.{h|cpp} from clang/Basic to llvm/Support.
Moves the corresponding unit test from clang to llvm.
Moves the vfs namespace from clang::vfs to llvm::vfs.
Formats the lines affected by this change, mostly this is the result of
the added llvm namespace.

RFC on the mailing list:
http://lists.llvm.org/pipermail/llvm-dev/2018-October/126657.html
Differential revision: https://reviews.llvm.org/D52783
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@344140 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit ef858170ac4ee33edebe4afdadaec624325e7aa3)

VFS move requires changes in Swift, LLVM, and Clang. Master Swift PR is https://github.com/apple/swift/pull/20199


[PINOT-4885] Changing SingleValue Forward index to be expandable

Codecov Report

Merging #1423 into master will increase coverage by 0.03%.
The diff coverage is 59.55%.

@@            Coverage Diff             @@
##           master    #1423      +/-   ##
==========================================
+ Coverage   67.18%   67.22%   +0.03%
==========================================
  Files         792      792
  Lines       38489    38559      +70
  Branches     5044     5048       +4
==========================================
+ Hits        25859    25920      +61
- Misses      10938    10952      +14
+ Partials     1692     1687       -5

Impacted Files
Coverage Δ

...riter/impl/FixedByteSingleValueMultiColWriter.java
91.66% <100%> (ø)
:arrow_up:

.../FixedByteSingleColumnSingleValueReaderWriter.java
57.14% <59.09%> (+5.92%)
:arrow_up:

...pinot/core/operator/docidsets/OrBlockDocIdSet.java
87.67% <0%> (-10.96%)
:arrow_down:

...com/linkedin/pinot/transport/common/SegmentId.java
34.78% <0%> (-8.7%)
:arrow_down:

.../linkedin/pinot/transport/common/SegmentIdSet.java
53.84% <0%> (-5.13%)
:arrow_down:

...ot/core/query/pruner/ColumnValueSegmentPruner.java
84.48% <0%> (-3.45%)
:arrow_down:

.../filter/predicate/InPredicateEvaluatorFactory.java
78.35% <0%> (-1.04%)
:arrow_down:

...lter/predicate/NotInPredicateEvaluatorFactory.java
81.73% <0%> (-0.97%)
:arrow_down:

...com/linkedin/pinot/core/common/DataBlockCache.java
76.51% <0%> (-0.68%)
:arrow_down:

.../pinot/core/segment/index/SegmentMetadataImpl.java
78.41% <0%> (-0.64%)
:arrow_down:

... and 13 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 62c86f2...f6582d7. Read the comment docs.

Logic looks complicated and too many if statements during. This will impact Perf. Can we simplify this. We can chat tomorrow


secure-handlebars throws same errors twice in strict mode.

i am closing this as i cannot reproduce this issue, re-open it if the case still exists


installed but not getting import

i installed crypto lib but its not working.......
screenshot has clear information. how to solve this issue?
need this lib urgently

Perhaps you have the wrong library?  There is no Crypto.Cypher object in this project.
The crypto module is available (note lower case) but it only contains the main() function for the executable released here.

module is avilable but its not importing the module..... i installed it but still no use.....now trying in windows but getting same issue

Sorry. I mean the cap Crypto module is not part of this project.  I think you may have that source may come from a different library/package.

Sup man, the library are you looking for is pycryptodome

tyvm @VictorASF


Replace the "requests" library on httpx

https://www.python-httpx.org/ - also async supported and http2.

Hi there! ✌
This is a good suggestion, maybe we will implement it in the next versions. 💪
The issue will be closed.


Comment option

Might be useful for some people. Something like JSZip has https://stuk.github.io/jszip/documentation/api_jszip/file_data.html.

would it be useful to you? can you give me an example usecase for the comment field being helpful?

To me personally, no, but we recently switched to your library in https://github.com/sindresorhus/gulp-zip and it was requested there once. Not a super big deal, but a nice to have thing.

It looks like nobody knows why this feature would be helpful. I'll certainly add it if there's a compelling usecase, but I won't add the feature just to compete with another library's list of features. Adding a useless feature (assuming the feature is useless) clutters up the code, api docs, and tests, and has a slight chance of causing complications with various unzip implementations, which are quite difficult to detect and debug.
In summary, I'm happy to add the feature if it will be valuable, bot not otherwise.

Can't argue with you. I agree it's just glossary. I'll ping you again if we get any compelling feature requests that this really need to be added.


feat: provider onboard

Describe the changes you have made in this PR
onboard users for different providers such as liquid, nostr and webbtc
TODO:

response handling
UI/UX
extend screen for other providers
make text of the prompt customizable depending from which provider it was called

Link this PR to an issue [optional]
Type of change

feat: New feature (non-breaking change which adds functionality)

Screenshots of the changes [optional]
Add screenshots to make your changes easier to understand. You can also add a video here.
How has this been tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist

[ ] Self-review of changed code
[ ] Manual testing
[ ] Added automated tests where applicable
[ ] Update Docs & Guides
For UI-related changes
[ ] Darkmode
[ ] Responsive layout

@pavanjoshi914 can you merge master?

@rolznz we had a huddle to discuss potential flow of the process. so i quickly pushed commit to disucss things. code is not cleaned yet and contains many unnecessary things. making proper changes

@pavanjoshi914 can you link this PR to the original issue?


How to change extend context with llama2?

How to change extend context with llama2? I tried changing alpha values and the compress_pos_emb but the mdeol seems to blurt nonsense after 4096 tokes? is there another way to do it becasue the same method works fo llama1 but not llama2?

There's no significant difference between extended context techniques for LLaMA 1 and 2 except that LLaMA 1's native max length is 2048 and LLaMA 2 is 4096. If you want to double LLaMA 1 up to 4096, you need something like --alpha 2.4 or 2.6 (not sure the exact threshold but it's a little over 2), same with doubling LLaMA 2 to 8192.
If you want to use --compress_pos_emb, you need a model finetuned for it.
Here are some ExLlama-compatible LLaMA 2 quants that you can try:
[LLongMA 2 7B] --compress_pos_emb 2 and length up to 8192
[LLongMA 2 13B] --compress_pos_emb 2 and length up to 8192
[LLongMA 2 13B 16k]: --compress_pos_emb 4 and length up to 16384

Closing this. Feel free to reopen if necessary.


max_filename_length creates invalid unicode characters

When using the max_filename_length config option to truncate long filenames, setting it to a number that is not a multiple of 4 seems to create invalid unicode characters at the end. Example from my server (CentOS 6.6, Beets 1.3.11), with an album by Belye Flagi Zazhigayte Medlenno, the full album name is:
Даже если пролетариат возьмёт власть в свои руки, весна всё равно достанется нам, а цели войны останутся целями войны
I set max_filename_length to 25, run beet mv and then beet ls -p and get this:
$ beet ls -p Белые
/var/subsonic/music/Белые флаги з/Даже если про/01 08.01.07.mp3
/var/subsonic/music/Белые флаги з/Даже если про/02 Мы вооруж.mp3
/var/subsonic/music/Белые флаги з/Даже если про/03 16.11.06.mp3

But if I try to actually ls the folder, when trying to tab complete I get this:
$ ls /var/subsonic/music/Белые\ флаги\ з
Белые флаги з�/

The final character is invalid, and I can't seem to input it, so I can't actually interact with the folder without using the inode. The same happens if I use a longer value like 100, with the exception that the full artist name comes out while the longer album name has the invalid character at the end.
I noticed that, in the case above using 25, the artist name was truncated even though it's only 13 unicode characters (<25), so I'm assuming that it's counting the bytes that make up the 1-4 byte unicode character, rather than each unicode character itself. I haven't tested this on a non-unicode album name, but I did test it with different numbers: even numbers don't necessarily work (100 did not), but powers of 2 (64) and multiples of 4 (24) both work without causing any invalid characters. Since it displays the path without issues through beets, I suspect it might be something to do with the way python handles the characters vs the way bash/ls does.

Thank you! This is related to #496, where truncation was also creating invalid filenames by bypassing the replace rules.
To resolve this, you could imagine doing one of two things:

Do the truncation on pre-encoded, Unicode character strings.
Somehow ensure, after truncation on the byte string, that we trim partial encoded characters.

The trouble with option 1 is that, on Unix, paths are byte strings—so a filesystem's maximum length is specified in bytes, not characters. (Not sure about Windows; it's probably characters there.) And the difficulty with 2 is that finding the character boundaries amounts to re-decoding back to Unicode.
I'm sure there's something clever we can do to get this right, but I'm not quite sure what it is yet. :smiley:

I'm not sure if this is the correct solution (I am not a python developer), but perhaps it's a path towards a solution? See referenced commit.

It's getting there, but since the truncation still happens after the original Unicode becomes bytes, it assumes a specific encoding (UTF-8). We should somehow do the truncation on the original Unicode string and only encode to bytes once.

We should somehow do the truncation on the original Unicode string and only encode to bytes once.

Do you plan make max_filename_length specify amount of chars on Unix, as on Windows? Because if not, we might as well use @lorentzkim's solution, but using sys.getfilesystemencoding instead of utf-8.

Very good point, @untitaker—without looking again, I think the right answer will be characters on Windows and bytes on Unix. In which case you're probably right—we could just be sure to use the same encoding we used originally to get to bytes.
One trick though: in some encodings, it may be possible that half a character is actually a valid, but different, character. (I don't think it's possible in UTF-8, but it could happen elsewhere. Even in UTF-8, this could interact poorly with combining characters.) In which case we'd want to avoid encoding, splitting, and re-decoding for fear of losing information about character boundaries. I don't see an obvious way around that without encoding one character at a time, though…

One trick though: in some encodings, it may be possible that half a character
is actually a valid, but different, character.

I hadn't thought about that, but it is possible in UTF-8.
b'\xc3\xa4' means ä, but its first byte might as well mean Ã.

In which case we'd want to avoid encoding, splitting, and re-decoding for
fear of losing information about character boundaries. I don't see an obvious
way around that without encoding one character at a time, though…

I've created a branch where exactly this happens.

Very cool; this looks like it's on the right track.
For maintainability's sake, it would be awesome to combine the encoding and truncation steps. That is, rather than encoding, decoding again, and then re-encoding one byte at a time to truncate, we should do the encoding and truncation all at once. Where we currently call bytestring_path in the destination method, we should instead call a new function that does both encoding and truncation.
This way, we won't have to mentally maintain the invariant that the same encoding (with the same Unicode normalization?) has to be used in both places—something that I could imagine biting us in the future.
It would be fine to not truncate in fragment mode, which is only used in non-filesystem scenarios.

Thinking further about this:

I think the right answer will be characters on Windows and bytes on Unix

How will this distinction hold up with Python 3?

I believe it will be the same: these constraints come from the OS, and (fortunately) don't have to do with Python's representation.

There are some restrictions coming from Python, concretely that Python 3 can't deal with non-ASCII byte paths. We'd have to convert those to strings everytime while Python 2 doesn't seem to have any problems with unicode paths.

I'd suggest to just follow Python 3's lead and make everything unicode -- the stability problems with that approach regarding certain UNIX environments are already given through its stdlib.

Python 3 can't deal with non-ASCII byte paths

In my understanding/experience, bytestring paths work fine on Python 3:
$ python3
>>> import os
>>> os.listdir(b'Desktop/cafe\xcc\x81')
[b'test']

In fact, when you use Unicode paths on Python 3 on Unix, it actually just encodes them to bytes before passing them off to the OS. The surrogate codepoints let you shuttle arbitrary bytes through a Unicode representation, but that doesn't change the fact that you're still dealing with a bytes API.
In any case, I absolutely agree with you that we should stick with Unicode internally when we switch to Python 3—but, eventually, the limit enforced by the OS won't care about our internal representation. I believe (although it's unverified!) that all the length restrictions on Unix filenames, for any Unixy OS I know of, are in terms of bytes, so we'll need to enforce the truncation that way even if we use a Unicode representation internally.
Path encodings are fun! :scream:

In my understanding/experience, bytestring paths work fine on Python 3:

Ok well, I've tested with open().

Oddly, that works fine for me here too:
>>> open(b'Desktop/cafe\xcc\x81/test')
<_io.TextIOWrapper name=b'Desktop/cafe\xcc\x81/test' mode='r' encoding='UTF-8'>

Argh, nevermind.
On Fri, Jul 03, 2015 at 03:48:41PM -0700, Adrian Sampson wrote:

Oddly, that works fine for me here too:
>>> open(b'Desktop/cafe\xcc\x81/test')
<_io.TextIOWrapper name=b'Desktop/cafe\xcc\x81/test' mode='r' encoding='UTF-8'>

Reply to this email directly or view it on GitHub:
https://github.com/sampsyo/beets/issues/1418#issuecomment-118435837


OpenSubs or SubsSource integration for Anime video player

Describe your suggested feature
Similar to MX Player integration of Subtitles for those who would like Subs on their Dubs Anime videos.
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is a request regarding an extension, I should be opening an issue in the extension's repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

This would make it vastly superior to Aniyomi!

Do you have some example images of what you mean?

Here are example screenshots of inside MX Player UI for Subs online searching

Clicked the captions icon with the Red dot to get to the Subs online menu.


Update data around entities

Currently shows address in mulitple places

Seems the query is correct but it just does not show in the front end

I need more information

fixed by https://github.com/The-Grid-Data/Explorer/commit/0c039c5723720855cd3fdd856136698a85d897a0


[Feature][Connector-V2] Add prometheus source and sink

Contribution Checklist
#7201
Purpose of this pull request
supprot prometheus source
Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

@CosmosNi

hi @CosmosNi
Is there any progress on this task?

If you do not want to add a sink for now, please resolve the conflict and continue to push this PR

@hailin0 let me resolve the conflict first.about sink,I'm still looking for related solutions,The native remote writer has relatively little data

@iture123 @hailin0  @Hisoka-X PTAL,thanks.

Please fix ci. Thanks

@hailin0 @Hisoka-X PTAL,thanks.

@hailin0 @Hisoka-X @corgy-w    have time to cc. thanks.

@hailin0 @Hisoka-X @corgy-w have time to cc. thanks.

sry,  bit busy, It will be reviewed today

Can use Fake function to update e2e test case.

@hailin0 @Hisoka-X @corgy-w have time to cc. thanks.

good！
Please fix ci error

@hailin0 Please cc if you have time.

LGTM. Thanks @CosmosNi


add is_valid function as shortcut for validate + except ValidationError

Hi. Thanks for the contribution!
This exists already as an attribute on Validator instances.
As a global function I'd rather not add it, since the intention is to just have one simple interface for new users, which jsonschema.validate serves -- anything more is meant to be served by instantiating a validator.


Implement chat continuation

As suggested by @MillionthOdin16 because implementing #44 is taking longer than expected we should add a simple form of chat continuation if the previous message history matches. ie
Request 1
{ "messages": [msg1, msg2] }

Response 1
{ "messages": [msg1, msg2, msg3] }

Request 2
{ "messages": [msg1, msg2, msg3, msg4] }

In this case we only need to process msg4 and return a new msg5.

Thanks. I think figuring out a way to get this working will jumpstart further integrations with other projects by making high-speed completions for chat more easily accessible.
I don't know the best way for keeping track of a chat session (i.e. matching messages to an existing context). I think I saw previously that you might have some user information, or maybe we could use the completion ID somehow?
And just to be clear, I'm not expecting this to scale to a significant number of conversations simultaneously. My idea is just that it gives us the ability to continue generation on an existing context without having to reinitialize it. So maybe a couple... Or even just one would be a great performance boost.
And once we do have state saving, or the ability to quickly load up significant message history, then this workaround would no longer be needed.

And I guess this could even be a separate endpoint that accepts the same data as the actual chat completions endpoint, but is implemented differently with a single persistent model and context that just adds the most recent message from the user to the message history and returns the generation. If that makes sense.
I didn't know if your initial message for this issue was the format you wanted to use or not.

No that was just trying to describe how to check which messages to process. Basically if one list is a prefix of the other than just process the difference of the two lists, otherwise we need to start processing from scratch.
As for the API I'll keep the endpoint the same, unfortunately this workaround isn't gauranteed to work the same as re-processing from scratch but it's probably worth it to get this functionality in sooner rather than later.

Does api accept chat history?

@djaffer Yes if you check the docs it's identical to the OpenAI api where you send in the entire chat history https://platform.openai.com/docs/api-reference/chat

Okay, I've got a basic implementation, just need to clean up some issues but generally it's working as expected (chats are significantly more responsive).
The way I'm implementing this is through a LlamaCache abstract class and then this specific version is a ContextCache who's basic strategy is to just check wether it's already processed the first part of a message and if so start from just the new tokens. This should also allow us to extend this with a KVStateCache in the future when I can work out the limitations with that API.
@MillionthOdin16 in the #17 issue could you give me a hand identifying the prompt formats for various models? For text completion this is user provided but for the chat it's a little bit more challenging (as illustrated above) because the finetuned models each expect a slightly different format.

@MillionthOdin16 this is now pushed to master (not PyPI yet) if you get the chance can you test it out from source? All you need to do for the server is run with with CACHE=1 environment variable set.


Dockerfile line parser ignores newline backslash

Parser does understand the line continuation backslash in a Dockerfile and hence ignores the subsequent lines

Seems to be working in Release 0.1.0. Closing this issue.


Add support assert_empty, assert_not_empty and refute_empty for RSpec/Rails/MinitestAssertions

This PR is add support assert_empty, assert_not_empty and refute_empty for RSpec/Rails/MinitestAssertions.

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

Thank you for review. I updated this PR.

This is a really cool addition and refactor! I love having the dedicated mini classes for each assertion group


MG-2051 - Fix unable to reset user password

What type of PR is this?
Fix Bug

What does this do?
Fixed unable to reset user password

Which issue(s) does this PR fix/relate to?

Related Issue #2051
Fixes #2051

Have you included tests for your changes?

Did you document any new/modified feature?

Notes

@ianmuchyri Please review. @VeddySama Can you, please, rebase?

@VeddySama please check lint error and sign off your commits. This is in line with the contribution guidelines.

@VeddySama Thanks for the contribution and sorry for the confusion; @ianmuchyri accidentally sent a PR without checking if there is a pending one.


Roll engine to 8e39760168e7669a023d1746823d9ab6db4e5df8

Includes:
flutter/engine#4427
flutter/engine#4428

Fixes #12099.


Fix the flickering collapsed menu when hovering on expand button over the status bar

Microfix
flickering menu.webm

@shlavik Hey! Since we cannot execute CI in this PR, I've cherry picked your changed into the next PR here:
https://github.com/sora-xor/polkaswap-exchange-web/pull/1303/commits/55e36bbffc46e148a512a9a2c6311847356e4be7

So, you can close it 👍


code in main.js not loading??

All I've done is attempt to run some code on load of the root directory. Main.js looks like this
$(document).ready(function() {

  // Place JavaScript code here...
  $.getJSON('/').then(function(data) {
    $('.arrayHere').html('
hello
');
    console.log( "hello there");
  })

});

The code in main.js should be loading just fine, the problem is with your $.getJSON part not hackathon starter.


In 499 test directory checker v1.1.0 - minor fixes

Fix the unittest command to run
Fix the search for replaced tests to NOT match stuff like R15 and R150

This change is

Hello @Yu-jinKim! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file test_directory_checker/checker.py:

Line 136:74: W605 invalid escape sequence '.'


Repair rocksdb maven pom cache when issues are detected.

In rare cases, the on-disk pom maven cache used by rewrite's maven parser can be corrupt. These files act strictly as a volatile cache and when corruption is encountered, the directory used by the cache can be purged and re-created.
The cache should catch such exceptions and perform the cache cleanup operation.

See Olga's comment above:

The outstanding functionality here is to make the cache directory relative to some base directory, so we could safely delete the cache.

Tracey did make the cache directory "pom" relative to whatever is defined as the root cache folder.
The default relative path is ~/.rewrite/cache and it creates the pom folder relative to that.
Are you suggesting that we should make the relative path ~/.rewrite and then create cache/pom?

and to clarify, if you set the "workspace" to ~/something-else, it would create the pom cache folder ~/something-else/pom


Tests for timing in interactivity + some important fixes in calculating time

Some complex tests are still failing, I temporary disabled them, since fixes done here are more important.

@skavish @kirillk please review.

I will merge it, since some timing fixes are important for other issues. But yet to review.


Internet explorer issues

Hi,
I have two issues that I can only see on IE11 (and below probably)

The plugin adds a top and left css and while in Chrome it moves the items by modifying the left value, in IE it modifies the top value. So instead of items that slide horizontally, items slide vertically. A temporary solution to that was to add top: 0 !important but there is no sliding animation any more on IE
My next button calls $('.jcarousel-main').jcarousel('scroll', '+=1'); to slide by 1. This works fine in Chrome. In IE I need to click the button 5-6 times for it to work. The click event fires correctly.
The weird thing is that even if I ran the javascript from the console I need to run it 5-6 times before anything moves.

I cannot recreate any of the two in a fiddle but I can provide a url (in private) so you can see the issue.
Thank you

Looks like IE has problems identifying the carousel as horizontal. Can you try to explicitly set the vertical option to false?

This was it! I just figured it out on my own a minute ago and I came here to post in shame. I have been searching for a solution the whole day.
Thank you for your time :)

I encountered this Internet Explorer bug today using jQuery 3.2.1, jCarousel v0.3.5 (2017-03-15) and IE 11.98.16299.0 (Windows 10).  It works fine w/Chrome, Firefox and Edge.  Clicking the next/prev or pagination triggers would correctly update the captions, button styles and the URL hash, but the images wouldn't change. Nothing we modified made any difference until we added the option vertical:false.  I used IE's Developer Tools and there weren't any error message reported.
According to the documentation, If auto-detection doesn't work, you can explicitly pass the vertical option... there's no way of knowing if auto-detection works or not unless you manually test every browsers & version and then it's really only isolated to the browsers it doesn't work in.
What's the recommended method to handle this so that auto-detection is set to "false" for only IE?  (I'm hoping to avoid parsing the user agent.)
Is there a way to perform a check to determine whether the vertical test works and fallback to false?

I'm not sure what exactly the problem is. If you know that your carousel is vertical, setting that option doesn't do any harm. Or do i miss something?


Closing VideoMode window without stopping causes unexpected behaviour

If I (accidentally) close the VideoMode (qtt.measurements.videomode.VideoMode) without pressing the stop button, the behaviour of the rest of the code is unexpected. For example, all AWGs keep running and if I then immediately shut off all communications afterwards (sorry for my setup-specific code):
rfa.off()
rfb.off()
awg.stop()
wet_8dot.close()

I will get the following error:
ERROR:root:could not find instrument digitizer
Traceback (most recent call last):
  File "d:\users\cjvdiepen\qtt\qtt\measurements\videomode.py", line 342, in updatebg
    dd = self.datafunction()
  File "d:\users\cjvdiepen\qtt\qtt\measurements\videomode.py", line 69, in __call__
    minstrumenthandle = qtt.measurements.scans.get_instrument(self.minstrument)
  File "d:\users\cjvdiepen\qtt\qtt\measurements\scans.py", line 249, in get_instrument
    raise Exception('could not find instrument %s' % str(instr))
Exception: could not find instrument digitizer
VideoMode: Exception in updatebg, stopping readout
VideoMode: stop readout

I'm unsure if closing the window without stopping is a feature or a bug, but I would expect the VideoMode to execute the closing routine when I close the window?
Kind regards,
Steven

Actually, the behaviour is as it should be: you remove an instrument (by closing the station) and then the Videomode reports that:

It could not find the instrument
It stops the readout

The AWGs keep indeed running, but that is not something I would want to change. (general guideline: if there is an error, stop directly and let the user decide what to do). You could stop the AWGs when the station is closed. If you want that, you can do it in your own station setup.
@spmvg


Removed ThemeData accentColor, accentColorBrightness, accentTextTheme dependencies

Removed references to ThemeData accentColor, accentTextTheme, and accentColorBrightness because they're no longer used by the material library and will be deprecated.  Substituted the theme's colorScheme.secondary where accentColor had been used.
The ThemeData accent properties will be deprecated in https://github.com/flutter/flutter/pull/81336.

Thanks!


Azure databricks table supported as source?

Hi is Azure Databricks supported as a source for incremental refresh? I’m designing a new solution for a customer and need to validate this from official sources.

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

ID: fdb026fd-1515-7484-1acd-3d363e143cc8
Version Independent ID: 62650e83-de5c-0323-cacc-31bad6e46361
Content: Incremental refresh in Power BI Premium - Power BI
Content Source: powerbi-docs/service-premium-incremental-refresh.md
Service: powerbi
Sub-service: powerbi-admin
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @baatch . This issue has been assigned to the doc author for review.

Hello?

Hi @baatch - there's no exclusion for Azure databricks and incremental refresh, so as long as you follow the requirements outlined in our refresh and incremental refresh content, it should work properly.


Qutebrowser default keybindings type coercion

Description
When attempting to add Emacs keybindings to Qutebrowser, I ran into a type coercion error. A mess of traces eventually found that the programs.qutebrowser.enableDefaultKeybindings option added a config line that was unnecessarily wrapped in a list, when it should've just been a string. I unwrapped the list from around it, and added the missing test line to tests/modules/programs/qutebrowser/keybindings.nix that would've caught the problem.
Checklist

[X] Change is backwards compatible.

[X] Code formatted with ./format.

[X] Code tested through nix-shell --pure tests -A run.all.

[X] Test cases updated/added. See example.

[X] Commit messages are formatted like
{component}: {description}

{long description}

See CONTRIBUTING for more information and recent commit messages for examples.

Thanks! Good catch and thanks for updating the tests. Rebased to master in 89adfc9f0168e4aff48157c9cc84913c852d6a48.


feat[elasticsearch]: send slow search and slow indexing logs to separate files

Sending logs to stdout is helpful for debugging if the pod crashes immediately after starting.
Sending slow search and slow indexing logs to separate files for further analysis

/approve


When installing Kubectl for the first time on a new device, kubernetes.list is is mispelled as kubernetes.lis

What happened?
Following guide through on this link to install Kubernetes on a Raspberry PI4 on latest version on raspberry pi os lite (64bit).
When running this command: echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
The config was overwritten correctly,
Then when running: sudo apt-get update
I get a warning saying: N: Ignoring file 'kubernetes.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Attempting to run: sudo apt-get install -y kubectl
resulted in a package not found error.
Running this command to change the .lis to .list then allowed kubectl to install as normal:
sudo mv /etc/apt/sources.list.d/kubernetes.lis /etc/apt/sources.list.d/kubernetes.list
``

What did you expect to happen?
I expected to install Kubectl by adding the Kubectl apt repository with this command:
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
Then apt-updating
Then running this command: sudo apt-get install -y kubectl
How can we reproduce it (as minimally and precisely as possible)?

sudo apt-get install -y apt-transport-https ca-certificates curl

2. curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
3. echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list

sudo apt-get update

sudo apt-get install -y kubectl

Anything else we need to know?
No response
Kubernetes version

V1.28 (Attempting to install)

Cloud provider
N/A
OS version

# On Linux:
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

$ uname -a
Linux kuberneteshost 6.1.0-rpi7-rpi-v8 kubernetes/kubernetes#1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux

Install tools

Container runtime (CRI) and version (if applicable)

Related plugins (CNI, CSI, ...) and versions (if applicable)

I rechecked and didnt see the .lis but only seen .list
Please recheck

Sounds like a CLI typo, is there anything we can do or do you have a reproducer?

I am sure I correctly C&V the command in but if it cannot be reproduced maybe I made a mistake somewhere along the line. Thanks, everyone for investigating!


Bring back support for container annotations in Beta 5

Don't forget to enable them in AnnotationCommand.isDisabled.

Dup of #789


[Edit Car Info] The car is not deleted after canceling a ride with it.

Environment: Android 10, Samsung A7.
Reproducible: always.
Build found: v1.0.408
Preconditions
The user is logged in to the 'Car', car (e.g. Ford, Focus, Grey) is in 'My Cars' list and is added to the ride (e.g. Lviv-Kyiv, 10.11, 12:00). The ride is canceled.
Steps to reproduce

Go to 'My Profile'
Tap 'My Cars'
Choose a car (e.g. Ford Focus)
Tap 'Remove'
Tap 'Yes, delete it'

Actual result
The car is not deleted after canceling a ride with it.
Expected result
The car is deleted after canceling a ride with it.
User story #53
Labels to be added
"Bug" ("bug"), Priority ("pri: medium")

The right behavior. The car cannot be removed for two weeks after the cancellation or completion of the trip.


Adding Wagtail to Django project raises errors when deleting users

Installed wagtail==1.3.1 into already existing Django==1.9.2 project. Followed http://wagtail.readthedocs.org/en/v1.3.1/getting_started/integrating_into_django.html , and all is working. But Django admin suddenly raised 500 when I tried to delete a user.
E                                   ^

Hi @peterlauri,
The table name "wagtail_userprofile" doesn't match anything used by Wagtail - all of Wagtail's core tables are prefixed with a specific app label (such as 'wagtailcore', 'wagtailimages' etc).
When you created the new app (with ./manage.py startapp) to hold your Wagtail page models, did you name it wagtail, by any chance? That would probably cause problems like this, as it's liable to clash with the Wagtail package itself.

Our mistake, somehow we copy paste forgot the 'wagtail.wagtailusers',

@gasman sorry for wasting your time :(

No worries! :-)


Tests are failing with OAuth2 Client Version 2.3.0

The current Version tries to check the Response for a valid JSON response. Due to this the Tests are failing.

Fix TypeError thrown because getResourceOwner() receives a non-JSON Response

https://github.com/thephpleague/oauth2-client/releases

I believe the version bump in composer.json resolved this.


I don't want to have sound output while in silent mode.

(iOS) Before using this package, flutter_TTS would not play when the device was in silent mode. But after using this package, audio is now output even when the device is in silent mode.
AppDelegate.swift is default now. 　I tried 'import AVFoundation' and try 'AVAudioSession.sharedInstance().setCategory(.ambient) '   but it did not cure the problem.
How do I mute all sound output from the app when in silent mode?

Can you please fill the complete issue template? I'm not sure, you're in the right package. These calls are not part of our exposed library.


existing projects maintenance

[#55] make Payment public and give it a public initializer
https://github.com/pacu/zcash-swift-payment-uri/pull/56

[#60] Amount(value: Double) false positive tooManyFractionalDigits
https://github.com/pacu/zcash-swift-payment-uri/pull/61

[#62] public-payments-fix by @lukaskorba
https://github.com/pacu/zcash-swift-payment-uri/pull/62


Out mpeg movies say they are 1 second long so power point cuts them off after 1 sec

cqid: VisIt00008883cqsubmitter: Eric Bruggercqsubmitdate: 02/13/09 When our mpeg movies are embedded in powerpoint they only play for 1 secondregardless of the length of the movie. Apparently our encoder sets the fact thatthe movie is 1 second long, which powerpoint apparently pays attention to.Apparently other movie players also see the length as 1 second but continueto play it. Al mentioned that mplayer (could be a different one) shows the progressgoing to 1 second, but the movie keeps playing.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 60
Status: Pending
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: Out mpeg movies say they are 1 second long so power point cuts them off after 1 sec
Assigned to: -
Category: -
Target version: -
Author: Cyrus Harrison
Start:
Due date:
% Done: 0%
Estimated time:
Created: 06/21/2010 07:15 pm
Updated:
Likelihood: 3 - Occasional
Severity: 3 - Major Irritation
Found in version: < 1.12
Impact:
Expected Use:
OS: All
Support Group: DOE/ASC
Description:
cqid: VisIt00008883cqsubmitter: Eric Bruggercqsubmitdate: 02/13/09 When our mpeg movies are embedded in powerpoint they only play for 1 secondregardless of the length of the movie. Apparently our encoder sets the fact thatthe movie is 1 second long, which powerpoint apparently pays attention to.Apparently other movie players also see the length as 1 second but continueto play it. Al mentioned that mplayer (could be a different one) shows the progressgoing to 1 second, but the movie keeps playing.
Comments:

we have better encoding logic now


refactor: implement new querying interface

This PR removes the old query engine and implements the new query engine as an interface in the querying.pyi. All current query engine usage was refactored to use the new interface.
It does not include the interface for control flow
Expected tests to fail:

medmodels/medrecord/tests/test_builder.py
medmodels/medrecord/tests/test_datatype.py
medmodels/medrecord/tests/test_indexers.py
medmodels/medrecord/tests/test_medrecord.py
medmodels/medrecord/tests/test_overview.py
medmodels/medrecord/tests/test_schema.py
medmodels/treatment_effect/matching/tests/test_classic_distance_models.py
medmodels/treatment_effect/matching/tests/test_metrics.py
medmodels/treatment_effect/matching/tests/test_propensity_score.py
medmodels/treatment_effect/tests/test_continuous_estimators.py
medmodels/treatment_effect/tests/test_temporal_analysis.py
medmodels/treatment_effect/tests/test_treatment_effect.py

Usage examples:
def query(node: NodeOperand):
    edges_to_treatment = node.outgoing_edges()
    edges_to_treatment.target_node().in_group("treatment")

    edges_to_outcome = node.outgoing_edges()
    edges_to_outcome.target_node().in_group("outcome")

    max_time_edge = edges_to_treatment.attribute("time").max()

    max_time_edge.less_than(edges_to_outcome.attribute("time"))

medrecord.select_nodes(query)


Normalize command line options

Use the same format for option names everywhere, with '-' separating works
Add 'sce-' prefix to Salad Cloud-specific options

Ah- and one more- would you update the example command in the README with the renamed command line arguments? Thanks!


Feature request: find/add parts using the octopart api

Hi,
I found this neat project on the Kicad forum and tried it instantly.
What holds me back from using it in a medium sized company is the part entry stuff.
It is a lot of manual work (even with the batch import/edit) and errors can be made. Also the price information can be old.
Octopart has a nice API: https://octopart.com/api/home
Adding a part would be much easier as all the information (including prices from multiple distributors, a picture and possibly Kicad library parts) can be fetched automatically. I'm starting to dream now but perhaps email notifications can be sent when stocks at distributors get low for instance.

Hey @Snevzor it's a great idea, but unfortunately the Octopart API terms of service do not allow caching of any downloaded data (i.e. you cannot store it in a database). I have actually reached out to the Octopart support and specifically asked about this.
I would love to know how to support this but not violate their TOS

Oh that's a pity. I've briefly searched for some alternative but none seem to live up to what Octopart has to offer.

I think that the individual supplier APIs are worth looking at (e.g. Digikey / Mouser / etc) but this obviously would require a lot more work, and a careful analysis of the TOS of each API

@Snevzor I have responded to your other issue: https://github.com/inventree/InvenTree/issues/566
I definitely think you should have a look at Ki-nTree :smile:

@eeintech I've added Ki-nTree to the list of third-party InvenTree integrations!
Congrats, you've single-handedly doubled the length of the list 👍

@SchrodingersGat Nice, thanks! Hopefully it lives up to the hype!

OP is not active: @SchrodingersGat I think we should close this issue

I will close it out for now. In the future I'd like to see such integrations, but it needs to be carefully considered.

If anyone else finds this comment - https://github.com/inventree/InvenTree/issues/541#issuecomment-677961649
Here's the new link for the third-party InvenTree integrations page in the docs: https://inventree.readthedocs.io/en/latest/extend/plugins/

I came across this issue and wondered and realized that Octopart (and it's API) now belongs to Altium and is running as Nexar API.
Unfortunately, the Terms of Use are still not allowing this use case 😞

License Grant.
[...]
1.2. Restrictions.
[...] you shall not, and shall not permit others, including your Authorized Users to [...]
(v) self-host any content including but not limited to datasheets and images;
(vi) use the Nexar API to cache and/or store data for more than twenty-four (24) hours;

@orzechow Not surprising, better stick with APIs from the suppliers themselves and avoid data aggregators, even if it's more work.


Updates to use v3 of 3play api

Upgrades the 3play provider to use the new version of the 3play API and adds method to cancel captions on the 3play side.
This will not build successfully until the changes on the 3play client are merged.

Codecov Report

Merging #96 into master will decrease coverage by 1.03%.
The diff coverage is 42.85%.

@@            Coverage Diff             @@
##           master      #96      +/-   ##
==========================================
- Coverage   70.88%   69.84%   -1.04%
==========================================
  Files           7        7
  Lines         443      451       +8
==========================================
+ Hits          314      315       +1
- Misses        118      124       +6
- Partials       11       12       +1

Impacted Files
Coverage Δ

database/job.go
32% <ø> (ø)
:arrow_up:

service/job.go
84.07% <100%> (+0.59%)
:arrow_up:

service/client.go
85.36% <33.33%> (-4.25%)
:arrow_down:

Continue to review full report at Codecov.

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


bug: ecs task definition output does not output a real resource

Describe the bug
An AWS ECS task definition rule outputs a resource which isn't a real resource.
To Reproduce
Run a scan using json output which triggers the following rule:
AVD-AWS-0035 / aws-ecs-enable-in-transit-encryption
Expected behavior
The resource value should be something like aws_ecs_task_definition.bad_example.
Screenshots/Output
    {
      "description": "Task definition includes a volume which does not have in-transit-encryption enabled.",
      "impact": "Intercepted traffic to and from EFS may lead to data loss",
      "links": [
        "https://aquasecurity.github.io/tfsec/v1.0.11/checks/aws/ecs/enable-in-transit-encryption/",
        "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_task_definition#transit_encryption"
      ],
      "location": {
        "end_line": 15,
        "filename": "/path/to/ecs.tf",
        "start_line": 8
      },
      "long_id": "aws-ecs-enable-in-transit-encryption",
      "resolution": "Enable in transit encryption when using efs",
      "resource": "efs_volume_configuration",
      "rule_description": "ECS Task Definitions with EFS volumes should use in-transit encryption",
      "rule_id": "AVD-AWS-0035",
      "rule_provider": "aws",
      "rule_service": "ecs",
      "severity": "HIGH",
      "status": 0
    },

System Info

tfsec version: v1.0.11
terraform version: v0.14.11
OS: OSX

Example Code
resource "aws_ecs_task_definition" "bad_example" {
  family                = "service"
  container_definitions = file("task-definitions/service.json")

  volume {
    name = "service-storage"

    efs_volume_configuration {
      file_system_id = aws_efs_file_system.fs.id
      root_directory = "/opt/data"
      authorization_config {
        access_point_id = aws_efs_access_point.test.id
        iam             = "ENABLED"
      }
    }
  }
}

tfsec --format=json /path/to/whatever/

This is fixed on v1.1.1


(fix) Make template property optional (during loading) + optional sho…

…w properties
Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>

As you said in the other PR, this could be a good chance to implement a couple tests after merging after #48 is a part of master.

Rebased / merged with master. More tests can come later.


Xcode 8 Beta 6 Support

This PR updates all the source, test and example logic to compile against Xcode 8 beta 6. It also updates all the APIs to follow the Swift API design guidelines. I also updated all the docstrings to use the new Swift 3 syntax.

@cnoon Some minor comments but otherwise looks good.

Do you know when this will be merged? Can not build my code right now without it.

We're going to try to get everything merged tonight @funkenstrahlen and push out beta.1 releases of AF and AFI. If you need these changes sooner, you could point to the beta6 branch in AFI for this PR.

I'm going to go ahead and merge this @jshier since all the comments have been addressed.


(PUP-9647) Convert pip package provider to execute

Convert from execpipe to execute to fix Windows compatibility.

CLA signed by all contributors.

Closing due to #7488


How much jvm heap memory will be consumed by Agent

Please answer these questions before submitting your issue.

Why do you submit this issue?
[*] Question or discussion
[x] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
How much jvm heap memory will be consumed by Agent？

The class "org.apache.skywalking.apm.dependencies.net.bytebuddy.dynamic.Nexus", loaded by "sun.misc.Launcher$AppClassLoader @ 0x7b0004ab0", occupies 128,490,120 (65.46%) bytes. The memory is accumulated in one instance of "java.util.concurrent.ConcurrentHashMap$Node[]" loaded by "".
Keywords
java.util.concurrent.ConcurrentHashMap$Node[]
org.apache.skywalking.apm.dependencies.net.bytebuddy.dynamic.Nexus
sun.misc.Launcher$AppClassLoader @ 0x7b0004ab0

Bug

Which version of SkyWalking, OS and JRE?

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

What do you want to say? I am confusing.

Agent is generating new class to do instrumentation, of course it costs heap size. So?

@HackerRookie i meet the problem，do you solved?


id from some resources not assignable to resourceId

Describe what happened
The id you get from the Network resource object is not assignable to networkId of a NetworkSubnet.
The id you get from the Server resource object is also not assignable to the serverId of a FloatingIpAssignment.
Sample program
const network = new hcloud.Network("network", {
  name: NETWORK_NAME,
  ipRange: "<IP_ADDRESS>/24",
})

// Create a Hetzner subnet
const subnet = new hcloud.NetworkSubnet("subnet", {
  networkId: network.id,
  networkZone: "us-east",
  type: "cloud",
  ipRange: "<IP_ADDRESS>/24",
})

Error: Type 'Output<string>' is not assignable to type 'Input<number>'.   Type 'Output<string>' is not assignable to type 'OutputInstance<number>'.     Types of property 'apply' are incompatible.       Type '{ <U>(func: (t: string) => Promise<U>): Output<U>; <U>(func: (t: string) => OutputInstance<U>): Output<U>; <U>(func: (t: string) => U): Output<...>; }' is not assignable to type '{ <U>(func: (t: number) => Promise<U>): Output<U>; <U>(func: (t: number) => OutputInstance<U>): Output<U>; <U>(func: (t: number) => U): Output<...>; }'.         Types of parameters 'func' and 'func' are incompatible.           Types of parameters 't' and 't' are incompatible.             Type 'string' is not assignable to type 'number'.ts(2322) networkSubnet.d.ts(116, 5): The expected type comes from property 'networkId' which is declared here on type 'NetworkSubnetArgs'
// Create a Hetzner server instance.
const instance = new hcloud.Server("instance", {
  name: INSTANCE_NAME,
  serverType: "cpx11",
  image: "docker-ce",
  networks: [{ networkId: networkId }],
  userData: metadataStartupScript,
  firewallIds: [firewallId],
})

// Step 3: Associate Floating IP to Server
const associatedIp = new hcloud.FloatingIpAssignment("main", {
  floatingIpId: ipId,
  serverId: instance.id,
})

Error: Type 'Output<string>' is not assignable to type 'Input<number>'.   Type 'Output<string>' is not assignable to type 'OutputInstance<number>'.     Types of property 'apply' are incompatible.       Type '{ <U>(func: (t: string) => Promise<U>): Output<U>; <U>(func: (t: string) => OutputInstance<U>): Output<U>; <U>(func: (t: string) => U): Output<...>; }' is not assignable to type '{ <U>(func: (t: number) => Promise<U>): Output<U>; <U>(func: (t: number) => OutputInstance<U>): Output<U>; <U>(func: (t: number) => U): Output<...>; }'.         Types of parameters 'func' and 'func' are incompatible.           Types of parameters 't' and 't' are incompatible.             Type 'string' is not assignable to type 'number'.ts(2322) floatingIpAssignment.d.ts(92, 5): The expected type comes from property 'serverId' which is declared here on type 'FloatingIpAssignmentArgs'
Log output
If you just try and ignore the TS error:
Running program 'packages/pulumi-blog-infra/' failed with an unhandled exception:     TSError: ⨯ Unable to compile TypeScript:     index.ts(28,3): error TS2322: Type 'Output<string>' is not assignable to type 'Input<number>'.       Type 'Output<string>' is not assignable to type 'OutputInstance<number>'.         Types of property 'apply' are incompatible.           Type '{ <U>(func: (t: string) => Promise<U>): Output<U>; <U>(func: (t: string) => OutputInstance<U>): Output<U>; <U>(func: (t: string) => U): Output<...>; }' is not assignable to type '{ <U>(func: (t: number) => Promise<U>): Output<U>; <U>(func: (t: number) => OutputInstance<U>): Output<U>; <U>(func: (t: number) => U): Output<...>; }'.             Types of parameters 'func' and 'func' are incompatible.               Types of parameters 't' and 't' are incompatible.                 Type 'string' is not assignable to type 'number'.
If you try and cast to a Number: networkId: Number(network.id), (I replaced the actual network ID's with 1111 in the error message just in case):
    error:   sdk-v2/provider2.go:520: sdk.helper_schema: network with ID '-11111' not found (not_found, bc7256f22cc4b0b84cac0a6e338ec5c2<EMAIL_ADDRESS>   error: 1 error occurred:     	* network with ID '-11111' not found (not_found, bc7256f22cc4b0b84cac0a6e338ec5c2)
Affected Resource(s)
hcloud.FloatingIpAssignment and hcloud.NetworkSubnet but I would bet there are more!
Output of pulumi about
CLI
Version      3.144.1
Go Version   go1.23.4
Go Compiler  gc
Plugins
KIND      NAME    VERSION
resource  gcp     8.10.0
resource  hcloud  1.21.1
language  nodejs  3.144.1
Host
OS       darwin
Version  14.6.1
Arch     x86_64
This project is written in nodejs: executable='/Users/phillipmaier/.nvm/versions/node/v20.18.1/bin/node' version='v20.18.1'
Current Stack: pmaier983/pulumi-blog-infra/dev
TYPE                                URN
pulumi:pulumi:Stack                 urn:pulumi:dev::pulumi-blog-infra::pulumi:pulumi:Stack::pulumi-blog-infra-dev
pulumi:providers:hcloud             urn:pulumi:dev::pulumi-blog-infra::pulumi:providers:hcloud::default_1_21_1
hcloud:index/floatingIp:FloatingIp  urn:pulumi:dev::pulumi-blog-infra::hcloud:index/floatingIp:FloatingIp::floating-ip
pulumi:providers:gcp                urn:pulumi:dev::pulumi-blog-infra::pulumi:providers:gcp::default_8_10_0
hcloud:index/network:Network        urn:pulumi:dev::pulumi-blog-infra::hcloud:index/network:Network::network
hcloud:index/firewall:Firewall      urn:pulumi:dev::pulumi-blog-infra::hcloud:index/firewall:Firewall::firewall
gcp:dns/recordSet:RecordSet         urn:pulumi:dev::pulumi-blog-infra::gcp:dns/recordSet:RecordSet::blog-www-record-dev
gcp:dns/recordSet:RecordSet         urn:pulumi:dev::pulumi-blog-infra::gcp:dns/recordSet:RecordSet::blog-backend-record-dev
gcp:dns/recordSet:RecordSet         urn:pulumi:dev::pulumi-blog-infra::gcp:dns/recordSet:RecordSet::blog-root-record-dev
Found no pending operations associated with dev
Backend
Name           pulumi.com
URL            https://app.pulumi.com/pmaier983
User           pmaier983
Organizations  pmaier983
Token type     personal
Additional context
I currently have two projects, both using GCP and I was trying to convert them to use hetzner for some cost savings!
https://github.com/pmaier983/Blog/blob/main/packages/pulumi-blog-infra/index.ts
https://github.com/pmaier983/Blog/blob/main/packages/pulumi-blog/index.ts
Merry Christmas, and no need to rush a fix out!
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Taking a look around it seems this is being tracker here: https://github.com/pulumi/pulumi-hcloud/issues/63 as well. Feel free to close this issue if that one is actively being worked on!

Hmm and after even more looking it seems https://github.com/pulumi/pulumi-hcloud/issues/160 is waiting on a patch to terraform: https://github.com/pulumi/pulumi-hcloud/issues/160#issuecomment-1385563567


Chore/merge from main

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #699 (c30584e) into tagged-release/forms-and-views (d6d202f) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head c30584e differs from pull request most recent head d8a9181. Consider uploading reports for the commit d8a9181 to get more accurate results

@@                       Coverage Diff                       @@
##           tagged-release/forms-and-views     #699   +/-   ##
===============================================================
  Coverage                           91.50%   91.50%
===============================================================
  Files                                 102      102
  Lines                                3897     3897
  Branches                             1078     1078
===============================================================
  Hits                                 3566     3566
  Misses                                310      310
  Partials                               21       21

Impacted Files
Coverage Δ

...codegen-ui-react/lib/forms/form-renderer-helper.ts
98.21% <ø> (ø)

...i/lib/generate-form-definition/helpers/defaults.ts
100.00% <ø> (ø)

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 d6d202f...d8a9181. Read the comment docs.


Vue Dev Tools (Browser Extension) in Browser Inspector disappear when Nuxt Devtools are enabled

Environment

Operating System: Darwin
Node Version:     v18.19.1
Nuxt Version:     3.11.1
CLI Version:      3.11.1
Nitro Version:    2.9.4
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, vite, app, modules, imports, runtimeConfig, devServer, ssr, nitro, tailwindcss, i18n, primevue
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
// nuxt.config.ts
export default defineNuxtConfig({
    devtools: {enabled: true},
});

Describe the bug
With Nuxt 3 Devtools enabled, the original Vue Devtols (Chrome Browser Extension) disappears from the Inspector.
// nuxt.config.ts
export default defineNuxtConfig({
    devtools: {enabled: true},
});

Disabling the Nuxt Devtools will bring back the Vue Devtools:
// nuxt.config.ts
export default defineNuxtConfig({
    devtools: {enabled: false},
});

Expected behavior: Both Dev Tools should be visible when Nuxt Dev Tools are turned on.
Additional context
No response
Logs
No response

Thank you! I finally got vue dev tools back after setting devtools to  {enabled: false}!

Yup, I have the same problem and disabled the Nuxt Devtools works for me too ! thx 😄

This is an issue in https://github.com/nuxt/devtools. Keeping it open here so other people know.
A solution for now it to explicitly specify a @nuxt/devtools version in your package.json of 1.0.8 - you do not need to disable devtools entirely.

I might have done it wrong, but keeping it at 1.0.8 wasn't enough for me. Thanks anyway for the update!
https://github.com/nuxt/devtools/issues/634#issuecomment-2016795748

Should be fixed with<EMAIL_ADDRESS>


SIL: update for SVN r277399

What's in this pull request?

Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

A smoke test on macOS does the following:

Builds the compiler incrementally.
Builds the standard library only for macOS. Simulator standard libraries and
device standard libraries are not built.
lldb is not built.
The test and validation-test targets are run only for macOS. The optimized
version of these tests are not run.

A smoke test on Linux does the following:

Builds the compiler incrementally.
Builds the standard library incrementally.
lldb is built incrementally.
The swift test and validation-test targets are run. The optimized version of these
tests are not run.
lldb is tested.

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

SVN r277399 introduced a new typedef requirement for the traits type.

@swift-ci please smoke test and merge

@swift-ci Please smoke test Linux platform

CC @gottesmm

@swift-ci Please smoke test and merge

@swift-ci please smoke test and merge

@swift-ci Please smoke test linux platform

Since this hasn't been merged, updated again for current state.

@swift-ci please smoke test and merge

Regression in the LLDB suite should be fixed.  Let's try one more time to merge this.
@swift-ci please smoke test and merge.

LLDB failures are unrelated to this patch.  Merging.


Datetime validation works incorrectly after Pydantic 2.6 with range parametrized APIs in FastAPI

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
We are using FastAPI with various APIs using datetime ranges in URL path parameters. After trying 2.6 we get large amount of test failures due to Pydantic 2.6 incorrectly allowing dates in datetime range URL params. Now suddenly this is allowed: some/path/2024-01-01/2024-01-04. Previously it was blocked as path params are datetime validated. Now the dates magically coerce incorrectly to midnights where range suddenly gets to [2024-01-01T00:00:00, 2024-01-04T00:00:00]. But obviously this is unexpected and incorrect as the range-end is at midnight.
How do we block this bad behaviour in all our APIs (in context of range usage) with Pydantic 2.6? This seems to be no FastAPI issue as only change we did was trying out Pydantic 2.6.
Example Code
async def test_pydantic_breakage():
    @dataclass
    class SharedTimeRangeParams:
        start_time: datetime = Path(..., description="Query timerange start UTC date-time", examples=["2017-07-21T17:32:28Z"])
        end_time: datetime = Path(..., description="Query timerange end UTC date-time", examples=["2017-07-21T17:32:28Z"])

    app = FastAPI()

    @app.get("/some/path/{start_time}/{end_time}")
    async def handler(time_range: SharedTimeRangeParams = Depends()):
        return {"start": time_range.start_time, "end": time_range.end_time}

    client = TestClient(app)
    # Ok
    res = await client.get("/some/path/2024-01-01T00:00:00Z/2024-01-02T23:59:59.999Z")
    assert res.json() == {"start": "2024-01-01T00:00:00+00:00", "end": "2024-01-02T23:59:59.999000+00:00"}

    # Broken in 2.6
    res = await client.get("/some/path/2024-01-01/2024-01-02")
    # In 2.6 end is at midnight which doesn't make sense for API usage in the range param
    # assert res.json() == {"start": "2024-01-01T00:00:00+00:00", "end": "2024-01-02T00:00:00+00:00"}

    # This doesn't work in 2.6 anymore
    assert "Input should be a valid datetime" in res.json()["detail"][0]["msg"]

Python, Pydantic & OS Version
pydantic version: 2.6.1
        pydantic-core version: 2.16.2
          pydantic-core build: profile=release pgo=false
                 install path: {omitted}/lib/python3.12/site-packages/pydantic
               python version: 3.12.1 (main, Dec  7 2023, 20:45:44) [Clang 15.0.0 (clang-15<IP_ADDRESS>)]
                     platform: macOS-14.3-x86_64-i386-64bit
             related packages: typing_extensions-4.9.0 fastapi-0.109.0 mypy-1.4.1
                       commit: unknown

@MarkusSintonen,
You should be able to use strict mode on your datetime types to disallow this behavior. See this example:
https://github.com/pydantic/pydantic/issues/8363#issuecomment-1921604135.
You can also use something like:
dt: datetime = Field(..., strict=True)

I'm going to leave this issue open as a docs issue - this question has come up 2x already since the 2.6 release, so I think it'd be helpful for us to more publicly document this behavior :).
Let me know if you have any follow up questions :).

For context, Markus is my colleague so there's only one team having this problem 🙂
If you enable strict mode, the # Ok case will not work anymore. I believe this is because FastAPI uses TypeAdapter.validate_python to coerce path parameters from strings and if strict mode is enabled, it will only accept datetimes, not strings.

I'm thinking of working around the issue by setting the type to start_time: Annotated[datetime, PlainValidator(...)] etc. and writing my own datetime validator.

We have implemented TypeAdapter.validate_strings which we believe is the correct solution for FastAPI to adopt in this case. I don't think anyone has found time to try to get this adopted downstream, however.
(IIRC, validate_strings is designed to accept the Ok case in strict mode.)

We have independently encountered this issue, though we're not using fastapi. In our case, we're using an AfterValidator to require that all values are given timezones by the user. While we can use strict mode in our case (or otherwise work around this change), it is surprising to have an inferred timezone.

@Kxnr inference of timezone is a separate question to coercion of date strings to midnight datetimes. However, I can reproduce and agree that's a bug. I'll open a separate issue.

For what it's worth, @Kxnr you can use pydantic.AwareDatetime to require a timezone instead of your own AfterValidator, might be a touch more efficient.
And @MarkusSintonen @miikka maybe this also hints at a workaround for you too: if we fix the datetime bug then you could use AwareDatetime on this field. It would force your users to add timezone information, but it would also avoid this coercion.

But obviously this is unexpected and incorrect as the range-end is at midnight.

This is an interesting point, as a more helpful coercion for you would have been to be 23:59:59 on the second parameter. I guess you could take date | datetime union yourself to intercept & override this coercion. Maybe it could also be an option on Field to ban this coercion, but it's already so overloaded...

Putting this here as a reference for others in the future:
from datetime import datetime

from pydantic import TypeAdapter, ValidationError

ta = TypeAdapter(datetime)
print(ta.validate_strings('2024-01-01', strict=False))
#> 2024-01-01 00:00:00

try:
    print(ta.validate_strings('2024-01-01', strict=True))
except ValidationError as e:
    print(e)
    """
    1 validation error for datetime
    Input should be a valid datetime, invalid datetime separator, expected `T`, `t`, `_` or space [type=datetime_parsing, input_value='2024-01-01', input_type=str]
        For further information visit https://errors.pydantic.dev/2.7/v/datetime_parsing
    """


Better defaults for suse fix

Previous defaults included an empty /etc/crontab for SuSE causing periodic cron jobs not to run. Added better defaults for SuSE10-12.
Note: Spec test and fixture file included for Debian though I currently don't have access to a Debian system and don't know what the defaults should be.

Template for SLED10 is incorrect.


building multiple functions

I had no problem building your example and running it in my electron app.  However, all of the tutorials I've come across only demonstrate building a single  file referenced from binding.gyp, despite  the "sources":[] field in binding.gyp seemingly allowing multiple source.files.
It would be immensely helpful if you would expand your tutorial to show how to build a case with something like:
"sources": [ "src/binding.c", "src/anotherexample.c" ]
Many thanks for your fine tutorial.

I have a file, module.c, where I want to import two functions to use from native code. They are defined respectively in two separate files so I include them in module.c as two different header files. I've done the following with the binding.gyp file and the init function inside of module.c
binding.gyp
{
    "targets": [
        {
            "target_name": "module",
            "sources": ["../c/module.c", "../c/HammingDistance.c", "../c/Multiplication.c"]
        }
    ]
}

module.c
napi_value Init(napi_env env, napi_value exports)
{
    napi_status status;
    napi_value fn;

    status = napi_create_function(env, NULL, 0, HammingDistanceNative, NULL, &fn);

    if (status != napi_ok)
    {
        napi_throw_error(env, NULL, "Unable to wrap native function");
    }

    status = napi_set_named_property(env, exports, "calcHammingDistance", fn);

    if (status != napi_ok)
    {
        napi_throw_error(env, NULL, "Unable to populate exports with calcHammingDistance");
    }

    status = napi_create_function(env, NULL, 0, MultiplyTwoNumbersNative, NULL, &fn);

    if (status != napi_ok)
    {
        napi_throw_error(env, NULL, "Unable to wrap native function");
    }

    status = napi_set_named_property(env, exports, "multiplyTwoNumbers", fn);

    if (status != napi_ok)
    {
        napi_throw_error(env, NULL, "Unable to populate exports with multiplyTwoNumbers");
    }

    return exports;
}


drupal password checker

What does this PR do?
adds DrupalPasswordChecker, Password, and Registrar services to log in a user in with drupal password if there is no password. It then updates the users by saving the password to $user->password and deletes $user->drupal_password.
Where should the reviewer start?
AuthController -> Registrar -> DrupalPasswordChecker -> Password
How should this be manually tested?

Find a user that only has a drupal_password (or delete a user's password by going into mongo and running db.users.update({email: "user_email@email.com"}), {$unset: {password:1}}) in the
userapi db).

In Postman/Paw, hit the /login endpoint. Body should have email and password:

{
  "email"<EMAIL_ADDRESS>
  "password": "<drupal-pw>"
}

Even though the user did not have a password, it should log the user in with the drupal_password and return the user object like so:

{
  "data": {
    "_id": "563d251cbffebc482d8b4568",
    "email"<EMAIL_ADDRESS>    "drupal_id": "1704953",
    "birthdate": "1995-04-12 00:00:00",
    "first_name": "Chloe",
    "country": "US",
    "updated_at": "2015-11-12 21:06:57",
    "created_at": "2015-11-06 22:09:32",
    "session_token": "c2dIdWE2UEF0SzBNNTZsSEN5TzI1bmdSSDBKTEQxb3p0eGk5R2c0Rk9VPQ=="
  }
}

Check the user in mongo and make sure that drupal_password = null and there is now a stored password in the user object by using db.users.find({email: "user_email@email.com"}).pretty()

What are the relevant tickets?
Fixes #226

Dropped some comments/suggestions! I think it would also make sense to pull the $user->login() method into the Registrar (or perhaps rename Auth) so we keep all our authentication logic in one place, but again definitely not necessary before merging this.

@chloealee It'd also be great to get a quick unit test added to the test suite based on the testing instructions in your PR. I'd be happy to sit down and walk through this with you if you want!

awesome, thanks so much for all this feedback @DFurnes !  Re: moving $user->login() into the Registrar, do you mean moving the rest of the login function there and just replacing it with one line that reads $user = $this->registrar->login(Request $request) and just keeping the logout function in the AuthController?
Also, I'd love to walk through building a unit test if you have time tomorrow! Would it be okay if we merged this and then built out the unit test separately? I know that @uy wants to test this functionality tomorrow on staging/production so we can have it for the launch of the mobile app.

Looking great! One more little nitpick, and responded to your question on unsetting the drupal_password field. Otherwise 100% good to merge!

Made an issue for creating a unit test. Happy to walk through that process with you later today! :smiley:

great, thanks @DFurnes ! Made those two changes - to double double confirm, cool to merge?
Also, thanks so much for offering to help! Let me know when you're free today to chat about the unit test!

Yeah, ship it!! :ship:

woooo!


added Umbraco cms identification from their official files

The list was created by downloading and installing (umbraco zip file) [http://umbracoreleases.blob.core.windows.net/download/UmbracoCms.8.5.4.zip]

Thank you!


[SPARK-41475][CONNECT] Fix lint-scala command error and typo

What changes were proposed in this pull request?
We separate connect into server and common, but failed to update the lint-scala tools.
fix a typo: fase -> false
format the code.
Why are the changes needed?
We can check the scala code format without it.
Does this PR introduce any user-facing change?
No
How was this patch tested?
No

Can one of the admins verify this patch?


Adding support for Laravel 6.0

@lacodimizer this pr is for AdminLTE3. What the plans for AdminLTE3. It will be migrated to Laravel 6?

@marcosrocha85 It‘s a good question. I want to give adminlte v3 to Laravel 5 and 6. So I want to create 4 version. Or we drop the support of adminlte v2. What do you think about it?
@REJack Do you support adminlte v2 in the future after release of v3?

My 2 cents...
Even with BS3 being released in 2011, a lot of people still use It. When admilte3 release a stable version we should encourage people to migrate, but also maintain some kind of support for a period of time... Like... 6months, 1 year. If you automatic drop the v2 support, lot of people can get in throuble, but the problem will be the maintenance of the 4 versions of the package.
On the other side, if v2 really gets dropped from rejack, we can at least make a detailed upgrade guide to help the migration. (But that probably needs to be done in the adminlte repository).

@andcarpi I was about to say that. I use Laraspace in some projects of mine. It uses Bootstrap 4 + Vuejs. Besides Laravel 6 has option to scaffiold pages with Bootstrap or Vue. I think is a good idea to bring AdminLTE2 layout, which is cleaner for me, on bootstrap 4 and vuejs.

@REJack Do you support adminlte v2 in the future after release of v3?

I want to maintaine AdminLTE v2 til mid next year but only with bugfixes & plugin updates, detailed infos come with the v3 stable release.

@marcosrocha85 It‘s a good question. I want to give adminlte v3 to Laravel 5 and 6. So I want to create 4 version. Or we drop the support of adminlte v2. What do you think about it?

I would create a new major release for AdminLTE v3 for Laravel 5 & 6 and stay with AdminLTE v2 also for Laravel 5 & 6 on a "v1" branch, but that's are only 2 versions in my opinion 😄
I only prefer a new major release for AdminLTE v3 to avoid breaks and the migration from AdminLTE v2 to v3 is not easy.

I closed this pr because my mistake of merging master to develop. Btw, only file I fixed here was composer.json to support Laravel 6.0 and LangFilter to support both Laravel 5.x and 6.0 translations.


Enabling adding new template division

It adds template division for corresponding exam template.

The form needs to be tied to a concrete exam template (i.e., member not collection)

I temporarily made it for only exam_template[0] since we only had rendered exam_template[0], but I am currently changing it for each template. (member)

Right, so the point is the button shouldn't be a "heading link" but instead a separate link in the form itself.

okay!

I'll continue working on it tomorrow- For now, I have made changes according to the requests you've made.

not finished yet!

it finally works. Feedback would be appreciated!

I have checked thoroughly on this PR. It correctly adds template division to corresponding exam template now. The only problem I have noticed while testing this is that it doesn't allow for more than one template division with same 'label' attribute. (even if those template divisions belong to different exam template / assignment). If it is okay, I will work on this on separate PR.

I made requested changes.

The issue I previously mentioned is now fixed.

It should work well with nested form if we test it with #3070


unable to get accessibility info using text fields with hints

Steps to Reproduce

I have been using maestro for testing my apps and using accessibility info in maestro studio but this can be accessed in normal adb uiautomatorviewer or any other tools on top of that.

Try Flutter Gallery app built with Flutter 3.3
Try Flutter Gallery app built with Flutter 3.7
Observe the difference as shown in these videos

Expected results:
This should work the way it is working in Flutter 3.3
OR
We should have this as a breaking change with a workaround.
https://user-images.githubusercontent.com/7347854/215075106-4f013baa-702a-4d40-933b-7470dca82327.mp4
Actual results:
It's not passing accessibility info using Text Fields with hints.
https://user-images.githubusercontent.com/7347854/215075091-466bb221-ba72-44b2-a172-6c31631e5d6f.mp4

Thanks for the detailed report. Using steps provided, seeing the same behavior as reported.
Not completely sure if this could be related to https://github.com/flutter/flutter/issues/114511 so I'll let the team share their thoughts if this is a regression and whether this need to be documented for the changes seen in latest stable version.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.7.0, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.7.0 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (28 hours ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.7.0-29.0.pre.26, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.7.0-29.0.pre.26 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 15cd00f1ed (2 hours ago), 2023-01-29 21:58:05 -0500
    • Engine revision a7bb0e4108
    • Dart version 3.0.0 (build 3.0.0-179.0.dev)
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

/cc @chunhtai

Tried a few different things to expose this to the system but I can't able to get any workaround for this.
Here is a screenshot from updated code and uiautomatorviewer too.

@darshankawar @chunhtai  Any workaround?
If there is no possible workaround then I think we should assign this some higher priority or maybe regression.

The label is set as https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo#getHintText()
Can you use that to query the textfield?

As per my understanding of the toolings around this, this is represented as a text in android uiautomatorviewer.
I am not sure about what other way you would like me to query this text, if you please share any reference steps or directions then I would be happy to share those results.
Attaching some screenshots from uiautomatorviewer if that can be helpful.
Before Flutter 3.7:

After Flutter 3.7:

The change is introduced in the 3.7 release, previously the label was set to the text which causes issue when using voice access. It is now set to hint. I think the issue is that the UIAutomator does not have api to query the hint text.
This should be an android issue

filed internal issue b/267640877

Thanks, @chunhtai for pointing in this direction.
Just opened the issue in the maestro tool to access this info.

As this is a change in the new flutter version, @chunhtai does it consider a breaking change for teams who are using this?

Author of Maestro here.
It appears that Hint property is not populated either, I have verified that by both running adb shell uiautomator dump as well as programmatically accessing this information - the value is empty.

Hi @dmitry-zaitsev Thanks for reply.

It appears that Hint property is not populated either, I have verified that by both running adb shell uiautomator dump as well as programmatically accessing this information - the value is empty (tested on Flutter 3.7.1)

Not populated, as is the field not appear in the dump at all, or the field exist but the value is empty.
Also what Android version are you using for testing? The code currently only setHintText for Android 9 and above.

The field does not appear in the dump.

This is what i observe as well, I think UIAutomator does not query the field at all, which i filed an internal issue against.
May I know how do you programmatically access it? can you share a code snippet?

Here is how we do it: https://github.com/mobile-dev-inc/maestro/blob/main/maestro-android/src/androidTest/java/dev/mobile/maestro/ViewHierarchy.kt#L96
We copied implementation from UIAutomator's package-private method. In the snippet above we are not querying the hint field, but it can be done simply by adding:
serializer.attribute("", "hint", safeCharSeqToString(node.hintText))

Are there any updates on the issue? Many of our tests are no longer running.

Any updates to this issue? This issue still persists on 3.7.7


:alien: Update CI badge

https://github.com/badges/shields/issues/8671

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (6475872) compared to base (eb5e126).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #35   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           84        84
  Branches        14        14
=========================================
  Hits            84        84

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Comments show through on webview screen

Screenshot:

Steps to reproduce:

Go to a never visited before post and go straight to the comments.
Scroll down a screen height at least
Go back to the main screen.
Open the post through the webview.
You should now see the comments where the webview controls should be.

Expected results:
See the webview controls
Actual results:
See comments
Device Info:
OnePlus 7 Pro running Android 12
Harmonic version: 1.10

Yeah this is my bad, a fix has been merged to main and I'm pushing out an update today.

Amazing! Thank you!


spamming "00250-01-24:0854 [ERROR] viewscreen when queueing manager job is viewscreen_jobmanagementst, not viewscreen_createquotast"

brand new fortress, latest version of everything.
I think it's trying to create jobs for which there are no materials yet. I saw a handful of successful jobs get created after the first mining was completed. example:
00250-01-16:0153 [ERROR] viewscreen when queueing manager job is viewscreen_dwarfmodest, not viewscreen_createquotast
00250-01-16:0154 add_manager_order(1) Construct rock Floodgate
00250-01-16:0168 [ERROR] viewscreen when queueing manager job is viewscreen_jobmanagementst, not viewscreen_createquotast
00250-01-16:0176 [ERROR] viewscreen when queueing manager job is viewscreen_jobmanagementst, not viewscreen_createquotast
00250-01-16:0193 [ERROR] viewscreen when queueing manager job is viewscreen_dwarfmodest, not viewscreen_createquotast
00250-01-16:0194 add_manager_order(6) Construct rock Door
00250-01-16:0208 [ERROR] viewscreen when queueing manager job is viewscreen_jobmanagementst, not viewscreen_createquotast

Is lockstep enabled or disabled?

I am using the default settings, so... maybe? you tell me! :joy:

switched to true... got worse?
game hung on the "Type in parts of the name....." screen.
ESC to abort fails. game seems entirely hung.
disable df-ai results in:
Disabling lockstep mode. df-ai will deactivate when lockstep mode has exited.
Could not disable plugin: df-ai

game is still totally hung, not responding to ESC key.
enable df-ai appears to hang dfhack. not responding to ctrl - c
I think that's the best explanation I can provide.

./libs/Dwarf_Fortress had low CPU usage during this time. did not respond to standard kill, required kill -9.

I wonder if GCC is getting confused by the workaround I had to do for a DFHack structures bug here:
https://github.com/BenLubar/df-ai/blob/ec8d07828be6a27cfc3cbef1ac4cb01f6f474e8a/stocks_manager.cpp#L227-L233

currently running:
% md5sum df_linux/hack/plugins/df-ai.plug.so
6973986a6f10d781156ab37804000620  df_linux/hack/plugins/df-ai.plug.so

tried the gcc4.8 version:
% md5sum df-ai.plug.so
b793833331852120d28c593128b77fad  df-ai.plug.so

issue persists.

I have a build going here: https://buildmaster.local.lubar.me/executions/execution-in-progress?executionId=67764
When it finishes, try the df-ai.plug.so from either Linux64 or Linux64-4.8 and tell me if the bug is fixed. (You don't have to try both.)

% md5sum df_linux/hack/plugins/df-ai.plug.so
076f219a7adf7656e009fc1603b6e688  df_linux/hack/plugins/df-ai.plug.so

still there.
are you able to reproduce this yourself? is it potentially the save data itself?
could it be the fact that I'm living on the very bleeding edge of Linux? (I also have a Gentoo install I can test on, although not until much later today.)
% uname -a
Linux zion 4.16.0-rc2-next-20180221+neoice #5 SMP Wed Feb 21 04:07:37 PST 2018 x86_64 GNU/Linux
% cat /etc/debian_version
buster/sid

Alright, with a structure change in DFHack, this bug has been fixed as far as I can tell. Here's a build of the fixed version: https://buildmaster.local.lubar.me/applications/2/builds/build?releaseNumber=dfhack-0.44.05-r2&buildNumber=180222003


HTML Report + JSON Report

Great that we get the JSON report for CI purposes - but in the case of failure some poor engineer or repository maintainer needs to pick up the report and interpret it.
Clair's HTML report would be a great addition to the artifacts produced for those people who need to take action a failing scan.
Proposal:
--format="html"
--format="json"
--format="all"

can clair-scanner produce report in html format?

yes - i do have same question , I want to create HTML report with clair-scanner is that possible?

Hi there,
it would be great if this was amde possible, at the moment we are using clairct after running a scan to produce a html report. Thats an additional step, which should not be needed, i guess.
Thanks in advance!


UI core library

https://hazelcast.atlassian.net/wiki/spaces/MC/pages/2526609864/MC+UI+Redesign+-+TDD#MC:UIRedesign-TDD-ImplementcoreUIlibrary

Should we update the TDD and also check if we fulfill the requirements?


New uniform classnames and a set uniform method

Tested this on a dedicated and that is working as intended. More uniforms could be added in the config. Haven't done any vehicle role specific uniforms, or tested that that yet.

Coolt! Ska kolla så fort jag kan.
Kom på ett par grejer som jag kan gissa du inte tänkt på:

JIP. Det måste funka för en JIP-spelare. De måste se rätt uniformer. Enklaste kanske är att spar uniformen i en variabel på gubben, och sedan att en JiP loopar igenom alla och sätter uniformen.
Om man joinar en grupp som redan har en profession. Då ska man få den gruppens eventuella uniform.

Mvh
Daniel
On ons, apr. 24, 2019 at 23:14, joseffallman<EMAIL_ADDRESS>wrote:

Arma 3 2019-04-24 22_36_16
Tested this on a dedicated and that is working as intended. More uniforms could be added in the config. Haven't done any vehicle role specific uniforms, or tested that that yet.

You can view, comment on, or merge this pull request online at:
https://github.com/XEngima/Intrusion/pull/6
Commit Summary

Merge branch 'rc' of https://github.com/XEngima/Intrusion into rc
Merge branch 'develop' into rc
Merge branch 'develop' into rc
Merge branch 'develop' into rc
Merge branch 'develop' of https://github.com/XEngima/Intrusion into develop
Merge remote-tracking branch 'upstream/develop' into develop
Merge remote-tracking branch 'upstream/develop' into develop
BugFix: Counting too many infantry groups in brigade
Merge remote-tracking branch 'upstream/develop' into develop
Merge remote-tracking branch 'upstream/develop' into develop
Merge remote-tracking branch 'upstream/develop' into develop
Merge remote-tracking branch 'upstream/develop' into develop
Added new Uniforms and a SetUniform method

File Changes

M Client/Classes/Handlers/ClientSquadHandler.sqx (23)
M Client/Classes/Recievers/ClientEventReciever.sqx (10)
M Common/Classes/Configs/UniformConfig.sqx (44)
M Common/Classes/Objects/UniformInfo.sqx (13)
M Common/Enums/VehicleRole.sqx (15)

Patch Links:

https://github.com/XEngima/Intrusion/pull/6.patch
https://github.com/XEngima/Intrusion/pull/6.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


You have not installed wrangler

I keep recieving this error that I didnt install wrangler. I've tried all solutions from here and here, but none of them work. Help would be appreciated!
$ sudo npm install @cloudflare/wrangler -g --unsafe-perm=true --allow-root
/usr/local/bin/wrangler -><EMAIL_ADDRESS>
><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/@cloudflare/wrangler
> node ./install-wrangler.js

Downloading release https://workers.cloudflare.com/get-npm-wrangler-binary/1.11.0/x86_64-unknown-linux-musl
wrangler has been installed!
+<EMAIL_ADDRESS>added 34 packages from 21 contributors in 4.462s
$ wrangler --help

/usr/local/lib/node_modules/@cloudflare/wrangler/node_modules/binary-install/src/binary.js:60
      throw `You have not installed ${this.name ? this.name : "this package"}`;
      ^
You have not installed wrangler
(Use `node --trace-uncaught ...` to show where the exception was thrown)
$

Hi @amanuel2,
The following helped me.

Install yarn
Then, use the command yarn global add @cloudflare/wrangler, to install wrangler globally
Finally, to check if wrangler was successfully installed, run wrangler --version

You should now have wrangler 1.11.0 or above.
Go ahead with the assignment! :)
Cheers!


How to run this project?

I'am a amateur. Why I don't have 'app/graodio_local.py' this file?    Do I need to create my own?   If that's the case, why isn't pip install gradio this one installation instruction in the tutorial?

When I 'pip install gradio' finishes I try running
python app\gradio_local.py --port 7860
`import gradio as gr
def greet(name, intensity):
return "Hello, " + name + "!" * int(intensity)
demo = gr.Interface(
fn=greet,
inputs=["text", "slider"],
outputs=["text"],
)
`
which gives this error:
gradio  ....... ReadTimeout: timed out
you need to odify Installation position:
pip install https://gradio-builds.s3.amazonaws.com/aae46d9199e1edc8a22c96aba1ade12f6ebc1da1/gradio-4.21.0-py3-none-any.whl

emm...No module named 'pytorch3d
$ python app/gradio_local.py --port 7860
Traceback (most recent call last):
  File "G:\Program Data\anaconda3\envs\unique3d-py311\app\gradio_local.py", line 20, in <module>
    from app.gradio_3dgen import create_ui as create_3d_ui
  File "G:\Program Data\anaconda3\envs\unique3d-py311\app\gradio_3dgen.py", line 4, in <module>
    from pytorch3d.structures import Meshes
ModuleNotFoundError: No module named 'pytorch3d'

You can refer to https://github.com/AiuniAI/Unique3D?tab=readme-ov-file#preparation-for-inference to install the required environment for inference.

no need to create your own.
https://github.com/oak-barry/Unique3D
this is more helpful.

I think it is one of clones of the original version.

yep, difference in the Readme file and requirements file and it describes how to install in your local in more detail.


blackbox/ignore modules for debugging in node

Hello:
Often when I debug a node.js app, I want to toggle break on "All Exceptions".  In node, that means on every require statement it breaks during a stat check.
In most of my apps, that's quite a few require statements, and thus quite a few breaks!  The below should look familiar to other nodejs debugging devs!  Even if a first pass as the feature was "Blackbox node internals", that would be a huge help!

If you'd like to pass some pointers my way, I'd consider working a PR for the basic ignore?

This issue was moved to Microsoft/vscode-node-debug#16

thx!


I'd love to see this run, do I have to install it?

I manually uploaded the code to my server and it runs but there's no styling so it's dog ugly. I don't see any css so I'm assuming I skipped a step. I've never used git commands or any sort of package or download manager so I don't know if there is a step I'm missing. Is there a link I can go to to see it working? Is there an easy way for me to get it to work properly on my server without installing a new framework or hiring people? Thx.

Sorry forgot to add styles to version control. Should work now locally:
git clone https://github.com/milankinen/react-bacon-todomvc.git
open react-bacon-todomvc/index.html