Apple icons sizes

Hello everyone,
I was wondering on where you get all the apple icons sizes ?
Because when i search on Xcode for icons sizes i didn't get that much of yours, only 1 or 2.
Which sizes are the the good ones, Your or Xcode's ?

Hey @Sizuko, sorry for the delay. Big question as Apple's documentation is super scattered and always updating, but try here for a starting point:

http://stackoverflow.com/questions/2997437/what-size-should-apple-touch-icon-png-be-for-ipad-and-iphone-4
https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html
https://realfavicongenerator.net/blog/apple-touch-icon-the-good-the-bad-the-ugly/

I run off the specs provided by RealFaviconGenerator - they're pretty good at keeping up to date with this sorta thing.

Hi,
I spoke with the dev of RealFaviconGenerator and he gave me the same answer as you.
Sorry for the bad news but only a few of your apple icons sizes are the good ones.
Take a look to :https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html#//apple_ref/doc/uid/TP40006556-CH27-SW1
These are the latest icons and launch images sizes for ios. I made my own config file with those sizes for my case.
I let you update your config files if you want.
For the others icons (android, windows ...) it seems like they are good.

Okay, I'll look into this when I get some free time :+1:

@Sizuko favicons tool generates icons for web, I think You desired question is about native iOS apps.
As tool for web, favicons should support all devices

With/Without retina
New/Old iOS versions

In following links you can see what icons are generated for which iOS devices.

https://gist.github.com/tfausak/2222823
http://taylor.fausak.me/2012/03/27/ios-web-app-icons-and-startup-images/

I know this is old, but I think the plugin is generating way too many apple touch icons. Reference: https://github.com/GoogleChrome/lighthouse/issues/6700 I've seen a few places reference only needing 3 different sizes of icons. Unfortunately the poor documentation leaves a lot of room for uncertainty.

@EvanBacon feel free to send a PR with new option onlyNewAppleSizes


No audio (Arlo Essential)

Hello!
Thanks for this wonderful script. Maybe I don't need to sell my arlo camera after all.. 😃
I have used your examples/frigate setup but I have no sound currently in frigate. There is sound when I go to my.arlo.com. Do you know where I should start debugging this? frigate, arlo, arlo-streamer? :)
Frigate: 0.13 beta 4
Camera: Arlo Essential Spotlight
I tried to open the stream with mplayer. But it only show still-image. So the errors here might not be relevant.
See result of mplayer command

mplayer rtmp://<IP_ADDRESS>:1935/live/ute

MPlayer SVN-r38412 (C) 2000-2023 MPlayer Team
226 audio & 469 video codecs
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing rtmp://<IP_ADDRESS>:1935/live/ute.
libavformat version 60.3.100 (external)
libavformat file format detected.
[aac @ 0x7f09e4cbcf60]Number of bands (17) exceeds limit (2).
[lavf] stream 0: audio (aac), -aid 0
[lavf] stream 1: video (h264), -vid 0
VIDEO:  [H264]  1920x1072  0bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
X11 error: BadMatch (invalid parameter attributes)
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 60.3.100 (external)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
 |RtmpSampleAccess: true
 Server: NGINX RTMP (github.com/arut/nginx-rtmp-module)
 displayWidth: 1280
 displayHeight: 768
 fps: 24
 profile:
 level:
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[aac @ 0x7f09e4cbcf60]Number of bands (17) exceeds limit (2).
[aac @ 0x7f09e4cbcf60]Prediction is not allowed in AAC-LC.
[aac @ 0x7f09e4cbcf60]Number of bands (17) exceeds limit (2).
[aac @ 0x7f09e4cbcf60]Prediction is not allowed in AAC-LC.
[aac @ 0x7f09e4cbcf60]Number of bands (17) exceeds limit (2).
[aac @ 0x7f09e4cbcf60]Number of bands (17) exceeds limit (2).
AUDIO: 44100 Hz, 1 ch, floatle, 1.0 kbit/0.07% (ratio: 128->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 44100Hz 1ch floatle (4 bytes per sample)
Starting playback...
[aac @ 0x7f09e4cbcf60]Number of bands (17) exceeds limit (2).
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1920x1072 => 1920x1072 Planar YV12
A:1103.8 V:1105.2 A-V: -1.380 ct:  0.000   0/  0 ??% ??% ??,?% 0 0
[aac @ 0x7f09e4cbcf60]Number of bands (25) exceeds limit (2).

in frigate, the camera is streamed with jsmpeg

Environment:
FFMPEG_OUT="-c:v copy -c:a copy -f flv rtmp://rtmp-server:1935/live/{name}"
MQTT_BROKER=host.docker.internal
PYAARLO_BACKEND=sse

nginx
worker_processes auto;
rtmp_auto_push on;
events {}
rtmp {
    server {
        listen 1935;

        application live {
            live on;
            record off;
        }
    }
}

frigate
cameras:
  ute:
    ffmpeg:
      inputs:
        - path: rtmp://host.docker.internal:1935/live/ute
          input_args: -avoid_negative_ts make_zero -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rw_timeout 30000000 -f live_flv
          roles:
            - detect
            - record
    detect:
      width: 1280
      height: 768

There is no error in the arlo-stramer container
arlo-arlo-streamer-1  | 2023-11-06 15:54:41,864 [INFO] root: ute motion: False
arlo-arlo-streamer-1  | 2023-11-06 15:54:44,772 [INFO] root: ute motion: True

Tested without sound for a day and looks like 50% av activity was not recorded. Not reliable enough for me.
_Cloud-only cameras are a piece of junk... 😄 _

Are the cameras set to record in the arlo app? if so they will be slow to trigger stream, and therefore missing a lot of activity.
For ideal detection, set the camera to ONLY push notification on motion, then disable notifications for the app. In addition, set motion sensitivity to max.
As for the sound, it's a known issue. This script will handle sound, although I've noticed the stream from arlo is missing sound. Might have something to do with the user agent selected in pyaarlo. I will debug more when I have time.
Keeping this open since it's still an issue

Are the cameras set to record in the arlo app? if so they will be slow to trigger stream, and therefore missing a lot of activity.

I do not have a subscription, so its not possible to do anything else than send notification.

set motion sensitivity to max.
I noticed the light turned on, so I think it did register motion(?). Will adjust to 100% (from 70%) and see if it helps.

So, figured out AAC didn't play nice when you dump_extras. Added a transcode step to MP3. For frigate you will have to transcode back to AAC (using the built-in preset). Commited the change to main, but holding release until some further testing and review of hw usage.
I you feel like trying you could clone the repo and build the docker for testing

Release v0.7.0, audio works in my setup, but unfortunately had to transcode audio for the idle stream, which draws a bit more CPU


Not able to connect to Cassandra on AWS

I am trying an internal benchmark for Kong and I am following - https://gist.github.com/montanaflynn/01376991f0a3ad07059c (with updated configuration syntax)
While connecting to cassandra deployed on an AWS instance, I keep getting the following error:

[INFO] kong 0.8.3
[INFO] Using configuration: /etc/kong/kong.yml
[INFO] Setting working directory to /usr/local/kong
[INFO] database...........cassandra contact_points=ec2-54-179-29-94.ap-southeast-1.compute.amazonaws.com:9042 data_centers= ssl=verify=false enabled=false port=9042 timeout=5000 replication_strategy=SimpleStrategy keyspace=kong replication_factor=1 consistency=ONE
[INFO] Leaving cluster..
[ERR] All hosts tried for query failed. ec2-54-179-29-94.ap-southeast-1.compute.amazonaws.com:9042: connection refused for socket with peer ec2-54-179-29-94.ap-southeast-1.compute.amazonaws.com:9042.
[ERR] Could not start Kong

Configuration file for kong looks like:
######
## Specify which database to use. Only "cassandra" and "postgres" are currently available.
# database: cassandra
...
######
## Cassandra configuration (keyspace, authentication, client-to-node encryption)
cassandra:
  ######
  ## Contact points to your Cassandra cluster.
  contact_points:
    - "ec2-54-179-29-94.ap-southeast-1.compute.amazonaws.com:9042"

  ## Port on which your cluster's peers (other than your contact_points)
  ## are listening on.
  # port: 9042

Make sure you are using a nameserver able to resolve your hostname in both the CLI and at runtime (see the resolver section of your config file).

@antani also make sure security group for Cassandra instance is correctly configured to take the request on port 9042

@antani were you able to get through? Closing this ticket, feel free to reopen with more details if problem persists.


add scale-in protection and get correct package when download

Thanks for the PR! Note that we're working on some fixes in https://github.com/gruntwork-io/terraform-aws-couchbase/pull/64. Once that's merged, we'll come back and review this.

#64 is now merged in. Could you rebase?

Ready to go, mate!


[api] Retire VMs

Resolves https://trello.com/c/gz99O8bh
@abellotti please review, thanks!

nice PR !!
2 things:
1- minor rubocop above
2- we need to support retire in future, it's available in UI , set retirement date (i.e. what we do with services, see: https://github.com/ManageIQ/manageiq_docs/blob/master/api/examples/retire_service.adoc) for retire syntax for future with date & warn).
Code for this is done generically via def retire_resource() in generic.rb), hopefully we can leverage it for VMs.

@miq-bot add-label api, core, enhancement

:+1: Looks good!


Add consensus checkpoint for block 380000

This adds a new checkpoint:
Block index:
  380000
Block hash:
<PHONE_NUMBER>0000000b06cee3cee10d2617e2024a996f5c613f7d786b15a571ff
Consensus hash:
  537d79015914c49bc60b294fbe14c9f31fd158707f34b5b32ec1d331f4429d91

To confirm, run the patch with omnicored -startclean. If the checkpoint is invalid, then Omni Core rejects the checkpoint and shuts down.
To generate the checkpoint locally, run:
omnicored -startclean -omnidebug=consensus_hash_every_block

Then extract the consensus hash from the log file.

Checkpoint confirmed, ok to merge :)
Thanks dude
Consensus hash for block 380000: 537d79015914c49bc60b294fbe14c9f31fd158707f34b5b32ec1d331f4429d91


Query Params get carried over to the parent state

Hi, is there a reason why you need to pass the url params from the current state to the destination (the parent breadcrumb link). Most of the time the url params of this state is not applicable/related to the parent state at all. In my case it'd fail saying the sorting fields (in the current state) are not found in the parent ('s table)
Related code:
conf.ncyBreadcrumbLink = $state.href(ref.state, parentParams || $stateParams || {});
Example: my breadcrumbs are like this: Home > Jobs > Single Job > Job Applications
in Job Applications' url I have sort=submitted_on. When I click on the Jobs breadcrumb link, the url param: sort=submitted gets attached to the end of the Jobs' url which causes a failure.
Thanks for looking.

I can't reproduce the bug, I made a Plunker with queryparams. Here is my procedure:

Run the plunker in a separate window (blue button in the right top corner) to see the url in the address bar
Click on "Element 1", then "Detail"
The url is http://run.plnkr.co/Ftqujt7NY7O40wrx/#/element1/detail?myParam=myValue
Navigate back to "Element 1" in the breadcrumb
The url is "http://run.plnkr.co/Ftqujt7NY7O40wrx/#/element1", the query param is no longer attached.

Please can you update the plunker above in order to reproduce the bug. Posting your router configuration here could be useful too.

(and sorry to let the issue unanswered during a long time)

I just edited the plunker. Not sure if it was saved (I hit the "fork" button). Basically I added "?param" to the "element" state's url in script.js and also added ({param: 'asd'}) to the ui-sref link in element.html.
Now when you go back to "Element 1" from the Detail page, you'll see "?param=asd" attached to the end of the element page's url
The temporary fix I did for my app was to remove "|| $stateParams" in the code pasted in the first comment above.
Thanks for looking

Hi,
How to pass params to State when we click on intermediate parent links in breadcrumb..?

I can go to that state by using this - $state.go('root.state1', {objId: obj.objId,objText: obj.text}); , But not able to go that state when we click on intermediate parent links in breadcrumb, due to state level config does not allow us to pass state param...
I configured state label like this -
$stateProvider.state('root.state1', {
url: "/state1",
templateUrl: "/root/state1.html",
controller: 'State1Ctrl',
params: {
objType: null,
objId: null
},
ncyBreadcrumb: {
label: '{{state1Name}}', //updated in controller scope
parent: 'root'
}

I get this issue when navigating to sibling states.
abstract parent state:
$stateProvider.state 'nx', state =
    abstract: true
    url: ''
    template: '<ui-view></ui-view>'
    params:
        client: undefined
        project: undefined
        d_type: undefined
        d_id: undefined

list state:
 $stateProvider.state 'findings-list' state =
        parent: 'nx'
        url: '^/{client}/{project}/deliverables/{d_type}/{d_id}/findings?page&size&attribute&direction'

detail state:
 $stateProvider.state 'findings-detail', state =
        parent: 'nx'
        url: '^/{client}/{project}/deliverables/{d_type}/{d_id}/findings/:id'

If I'm on the list state that has a URL ending with ?page=3 and then navigate to the details state, those URL query params get carried over which is problematic.


Masks an error when invoking git status with invalid cwd

Fixes #1544

thanks, but this is the wrong approach.


Next instruction highlight doesn't always clear

When running the validate warrior the next execution white squire highlight doesn't always clear when moving to another address:

Seems to be caused when one of the warrior's processes dies on a dat instruction:
spl 3
dat 0
dat 0
jmp 0

Resolved by #272


mathtools causes "TeX capacity exceeded" error

Loading the mathtools package gives the following error: "TeX capacity exceeded, sorry [parameter stack size=10000]."
The relevant parts of my preamble are as follows:
\documentclass[usegb4e]{cascadilla-xelatex-biblatex}

\usepackage{authblk}
\usepackage{mathtools}
  \DeclarePairedDelimiter\set\{\}
  \DeclarePairedDelimiter\tuple\langle\rangle
\usepackage{multicol}
\usepackage{multirow}
\usepackage{soul}

I've tried commenting out the other packages, but that didn't make the error go away. I've also used the same packages together with LaTeX's "article" document class without issue. Finally, I tried commenting out the \DeclarePairedDelimiter commands, and that didn't help either. It seems to be an interaction between mathtools and your document class.

Thanks! For me, it appears to be a clash with the usegb4e option and the timing of loading mathtools. If you load mathtools in the .cls, do you still get the error message?

Yes, unfortunately I still get the error message. There's a possibility I'm doing it wrong though -- I haven't worked much with .cls files, so I'm not sure if I'm using the right commands or putting them in the right spot. I tried adding usepackage{mathtools} and RequirePackage{mathtools} before (I tried these one at a time, not both at the same time) before the lines where it looked like gb4e was being loaded:
\ifthenelse{\boolean{usegb4e}}{%
	\RequirePackage{gb4e}
	\def\glt{}
	\def\trans{}

But I got the same error when I tried to recompile my document.

Are you using pdflatex to compile your file?

Ah, I was. Switching to XeLaTeX fixed it. Thanks for the help!


refactor: consolidate defi opportunities code

Description
Keeping busy whilst working on the plane with no wifi.
Add a useFoxyQuery custom hook to consolidate logic and remove the considerable duplication across Foxy opportunities.
Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[x] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
N/A
Risk
Small.
Testing
Check that FOX and FOXy interactions still work as expected. This is a refactor with no expected changes.
Engineering
☝
Operations
☝
Screenshots (if applicable)
N/A

@gomesalexandre as discussed out of band, I suspect that FOXy regression is unrelated, and already exists on develop.

as discussed infura flakiness was a red herring here, this is good to go


COORDINATE MAP

Hi, I just experiment your lib and it's good but I didn't find out a config that will allow to generate a coordinate map. Because I don't want embedded SVG into HTML. I don't need CSS, SCS, etc. I just need a SVG sprite and coordinate map. Any help, pls?

I thought I may use xml2js to parse resouce and create a map by myself. Will update  later

created. Close


Remove penalty cost for undesirable connections

Signed-off-by: Alessandro Comodi<EMAIL_ADDRESS>This PR is to test whether the absence of the penalty cost still produces issues in routing clocks outside the clock regions through the general interconnect.
  We should investigate those cases, and see what can be done to address them.  We still have 13 consistent hold violations with and without penalty costs in place.
Overall, I think we can probably drop the penalty cost based on these results, and work to address the hold violations that occur in some other fashion.  New hold violation cases without penalty costs:
./xc7a200t/build/tests/9-soc/picosoc/picosoc_nexys_video_50/artix7_200t-xc7a200t-virt-xc7a200t-test/route.log:Final hold Worst Negative Slack (hWNS): -2.0181 ns
./xc7a200t/build/tests/9-soc/murax/murax_nexys_video_50/artix7_200t-xc7a200t-virt-xc7a200t-test/route.log:Final hold Worst Negative Slack (hWNS): -1.62325 ns

@litghost Ok, for now I have completely removed the penalty cost parameter from switches so that there will be no need to update the architecture in the VTR flow.

LGTM, merged


added coverall badge

@homu r+

:pushpin: Commit 1399303 has been approved by MichaelHirn

:hourglass: Testing commit 1399303 with merge f1166bc...

:sunny: Test successful - status


fix(monitor): set actual process name in logs instead of symlinks

We resolved actual process names in and stored it in the userspace process map, but we never updated the log base created in kprobe event.
This PR removes the null check and updates the log base with actual process names in the kretprobe event which we would have recieved from the bprm hook which was triggered before kretprobe execve(at)
Purpose of PR?:
Fixes #984
Does this PR introduce a breaking change?
No
If the changes in this PR are manually verified, list down the scenarios covered::
Check Telemetry Info using kArmor logs
Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Checklist:

[ ] Bug fix. Fixes #984
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] PR Title follows the convention of  <type>(<scope>): <subject>
[ ] Commit has unit tests
[ ] Commit has integration tests

{"Timestamp":1685455502,"UpdatedTime":"2023-05-30T14:05:02.615298Z","NamespaceName":"container_namespace","PodName":"armored-container","ContainerID":"ce0e9a12750f6e26dc8e8481be8ef26035608d02bd2b27385ca47e6e11bdb651","ContainerName":"armored-container","ParentProcessName":"/bin/busybox","ProcessName":"/bin/busybox","HostPPID":59047,"HostPID":96816,"PPID":1,"PID":19,"Type":"ContainerLog","Source":"/bin/busybox","Operation":"Process","Resource":"/bin/cat file.txt","Data":"syscall=SYS_EXECVE","Result":"Passed"}


Move away from the deprecated ServiceTypeResolver

The changes in https://github.com/apache/incubator-brooklyn/pull/955 deprecate ServiceTypeResolver in favour of ServiceSpecResolver, BrooklynServiceTypeResolver is replaced by AbstractServiceSpecResolver. Update the code correspondingly.
The existing implementation will continue to work after the brooklyn PR is merged - there's a fallback for the deprecated interface.

This will only be required with Brooklyn versions 0.9.0-SNAPSHOT and above, so at the moment Clocker is not affected. Thanks for the heads up @neykov though. Will this mean things like CAMP_PLAN_ID are also deprecated?

Will this mean things like CAMP_PLAN_ID are also deprecated?

No, it's set as before, what changes is that the resolver doesn't have access to the attributes. Turns out it wasn't really needed (see above comment for details).

The Brooklyn PR is merged now, updated code to latest changes.

Now included in #201


Feature/literals refactoring: Replaced string literals with constant variables: Enables compile time checking of usages

String literals were being used for named annotations. They ran the risk of not being consistent in their usages due to typos or otherwise. To enable strict compile-time checking, it is suggested to use constants to store these literals and use the constants everywhere.

@jcwuzoegiver @bargenilesh @iizrailevsky @mans4singh Can you please take a look at this pull request whenever you have time. It has been open for a while. Just bringing it to notice.

@iizrailevsky Changed all constant holder classes to interfaces.

@abhishekjain88 If you are using interfaces, you may want to do "import static." e.g. import static com.intuit.wasabi.assignment.AssignmentsAnnotations.*. In this way, you just use the constant and don't have to repeat AssignmentsAnnotations. Just a suggestion. Looks good overall.

@jcwuzoegiver Good point. Have made the changes and pushed accordingly. Can you please take a final look.

@iizrailevsky Can you also please take a final look, so that we can merge!

@abhishekjain88 looks good. :shipit:


[Flaky test] CreateEpochReceiverAfterNonEpochReceiver test is flaky

System.TimeoutException : The operation did not complete within the allocated time 00:00:30 for object request3.
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at Microsoft.Azure.Amqp.AsyncResult.End[TAsyncResult](IAsyncResult result)

   at Microsoft.Azure.Amqp.AmqpCbsLink.SendTokenAsyncResult.<>c__DisplayClass13_0.<GetAsyncSteps>b__3(SendTokenAsyncResult thisPtr, IAsyncResult r)

   at Microsoft.Azure.Amqp.IteratorAsyncResult`1.StepCallback(IAsyncResult result)

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at Microsoft.Azure.Amqp.AsyncResult.End[TAsyncResult](IAsyncResult result)

   at Microsoft.Azure.Amqp.AmqpCbsLink.<>c__DisplayClass4_0.<SendTokenAsync>b__1(IAsyncResult a)

   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()

   at Microsoft.Azure.EventHubs.Amqp.AmqpPartitionReceiver.<CreateLinkAsync>d__15.MoveNext() in D:\a\1\s\sdk\eventhub\Microsoft.Azure.EventHubs\src\Amqp\AmqpPartitionReceiver.cs:line 182

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.Azure.Amqp.FaultTolerantAmqpObject`1.<OnCreateAsync>d__6.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at Microsoft.Azure.Amqp.Singleton`1.<GetOrCreateAsync>d__13.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at Microsoft.Azure.Amqp.Singleton`1.<GetOrCreateAsync>d__13.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()

   at Microsoft.Azure.EventHubs.Amqp.AmqpPartitionReceiver.<OnReceiveAsync>d__13.MoveNext() in D:\a\1\s\sdk\eventhub\Microsoft.Azure.EventHubs\src\Amqp\AmqpPartitionReceiver.cs:line 66

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at Microsoft.Azure.EventHubs.Amqp.AmqpPartitionReceiver.<OnReceiveAsync>d__13.MoveNext() in D:\a\1\s\sdk\eventhub\Microsoft.Azure.EventHubs\src\Amqp\AmqpPartitionReceiver.cs:line 121

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()

   at Microsoft.Azure.EventHubs.PartitionReceiver.<ReceiveAsync>d__30.MoveNext() in D:\a\1\s\sdk\eventhub\Microsoft.Azure.EventHubs\src\PartitionReceiver.cs:line 201

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()

   at Microsoft.Azure.EventHubs.Tests.Client.ReceiverTests.<CreateEpochReceiverAfterNonEpochReceiver>d__

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=179012&view=ms.vss-test-web.build-test-results-tab&runId=6610340&resultId=100145&paneView=debug

Assuming this is fixed by https://github.com/Azure/azure-sdk-for-net/pull/7014. Please reactivate if this is not the case.


⚠ ClamAV has degraded performance

In 5662cb3, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 459 ms

Resolved: ClamAV performance has improved in 6464f7c.


Allow run quickstart with extra configs

So users can enable some features e.g. grpc/presto integration etc.
E.g.
pinot.server.instance.currentDataTableVersion=2
pinot.server.grpc.enable=true
pinot.server.grpc.port=8090

It would also be useful if QuickStart could could have config that would allow it to load table and data from an external filesystem directory.

@amrishlal See https://github.com/apache/pinot/pull/8024

https://github.com/apache/pinot/pull/8059


fix: document-model 文档 isDetectingNode 文案错误

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zhangzh-n seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


too many directory crashes Flutter

Tried a map with level 16 zoom. Created assets with all the PNG files necessary. Run Flutter and it crashed. Confirm with Flutter team that it is due to too many assets defined. Had to choose a smaller map area and zoom level combination or wait until Flutter team solve the issue.
Able to use mbtiles instead? Its just one SQLite file instead of tens of thousands of PNG.

MBTiles support has now been added to master


Possible directory error in default examples

Hi. I've created an empty django project to test unicorn. But somehow the default instructions don't seem to work and cause a template not found error. Here's what I've done:

Created a new django project in pycharm
pip install django-unicorn
Added "django_unicorn", to the INSTALLED_APPS
Created an empty base.html file and made it viewable in the browser
Added path("unicorn/", include("django_unicorn.urls"))
Added {% load unicorn %} to the top of base.html
Added {% unicorn_scripts %} right underneath in base.html
Ran python manage.py startunicorn hello-world
Added {% unicorn 'hello-world' %} at the bottom of base.html

After this last step 9 it starts to break and throws a TemplateDoesNotExist error:
django.template.loaders.filesystem.Loader: /home/user/uniplayground/templates/unicorn/hello-world.html (Source does not exist)
In my project folder the hello-world.html file generated by step 8 is located under:
/home/user/uniplayground/unicorn/templates/unicorn/hello-world.html
Am I doing something wrong or does the startunicorn command not generate the files into the right structure?
Edit: Moving the HTML file to the template folder that django is looking in seems to work. While leaving the python file in the generated folder structure.

Thanks for the reported issue! The error message is a little confusing, but the management command creates all of the components in a separate unicorn folder/app, so it requires adding unicorn to the INSTALLED_APPS setting for Django to "know" about that app and look in its template folder. I'm not in love with that requirement, but if nothing else I should add a note to the installation instructions and to https://www.django-unicorn.com/documentation/cli to make it more clear. Note that I would like to make it configurable what apps are searched for components, but I haven't done it, yet.
But, add in unicorn to the INSTALLED_APPS and let me know if that fixes your problem! Thanks again for the report. I'd love to hear other issues you run into while testing. :)

@stukev There is a note in the documentation that details that unicorn needs to be added for the template to be found: https://github.com/adamghill/django-unicorn.com/blob/1e36752/www/templates/www/documentation/components.html#L22-L24. And there will now be more instructions after running startunicorn: https://github.com/adamghill/django-unicorn/commit/4d56136bf276384719945e124ba1f6f9568ab72f.
Hopefully those are good steps to clarifying this for others. I'm going to close this, but feel free to re-open or add in other ideas to make the experience better!


refactor: replace deprecated URL.parse

This PR replaces URL.parse which is deprecated according to eslint. It fixes #267.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

32 of 32 (100.0%)  changed or added relevant lines in 2 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.05%) to 90.098%

Files with Coverage Reduction
New Missed Lines
%

index.js
1
92.31%

lib/cache.js
2
95.45%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
1176

Relevant Lines:
1269

💛  - Coveralls

@Apollon77 Same here. I think the changes shouldn't be too critical so I would proceed with merging :)

LGTM


Change position: fixed to position: absolute fixes #21

Change position: fixed to position: absolute and back after screen capture

hrm… have you tried this on many pages and seen if anything scary happens? Since fixed and position both do not affect page flow, it seems like this approach would be pretty promising. I’ll have to give it a try when I get a chance. If this were a configurable setting by the user I’d be happy to launch it as disabled by default so people could test it for a while before we make it big-time.

It isn't perfect. If the element is fixed to the bottom it shows up on the first snapshot at the bottom instead of the bottom of the picture. And if the element is a child or a position: relative element it doesn't look correct. But it is better that showing up on every snapshot.

It might be better to hide every fixed element instead of setting them to position: absolute and showing them at the end.

Just to add to this (since I ran into a similar issue), you should fetch the computed styles, as elements might not have explicit position set.


[Release] sdk/resourcemanager/datafactory/armdatafactory/8.0.0

https://github.com/Azure/sdk-release-request/issues/5238

The breaking changes are introduced and approved in https://github.com/Azure/azure-rest-api-specs/pull/28294 and https://github.com/Azure/azure-rest-api-specs/pull/28538.

The breaking changes are introduced and approved in Azure/azure-rest-api-specs#28294 and Azure/azure-rest-api-specs#28538.

@JeffreyRichter , please approve this major version release by adding label of Approved Major Version, thanks.


Contradictory or unclear statements

This paragraph is confusing.  It says the log is read every 5 minutes, but later says that it collects the log each hour (or every 24 hours).  More clarity or explanation is needed.

Azure Monitor collects IIS log entries from each agent each time the log timestamp changes. The log is read every 5 minutes. If for any reason IIS doesn't update the timestamp before the rollover time when a new file is created, entries will be collected following creation of the new file. The frequency of new file creation is controlled by the Log File Rollover Schedule setting for the IIS site, which is once a day by default. If the setting is Hourly, Azure Monitor collects the log each hour. If the setting is Daily, Azure Monitor collects the log every 24 hours.

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

ID: de204b3b-563a-0a65-8f5a-456cc8335585
Version Independent ID: 6b5c30b8-ae3b-12c0-6fd8-9a3d826795cd
Content: Collect IIS logs with Log Analytics agent in Azure Monitor - Azure Monitor
Content Source: articles/azure-monitor/platform/data-sources-iis-logs.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @bwren
Microsoft Alias: bwren

@clwelp
Thank you for reaching out and bringing this to our notice. At this time we are reviewing the feedback and will provide an update as appropriate.

reassigning to content author for further review.

reassigning to content author for further review.

Sorry for late reply. The agent scans every 5 minutes for the log file, but only collects the log when the next one is created, which is every hour or every day. I can see how that's confusing though. I'll get it cleaned it up.
#please-close


Fix/fixing-nicknamedless-user-contender-card

Goal of this PR : Fixes https://github.com/aeecleclair/Titan/issues/240

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

Comparison is base (31fe974) 55.96% compared to head (0fb180b) 55.97%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #241      +/-   ##
==========================================
+ Coverage   55.96%   55.97%   +0.01%
==========================================
  Files         166      166
  Lines        3581     3582       +1
==========================================
+ Hits         2004     2005       +1
  Misses       1577     1577

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


Add tests for page 404

fix #97

I have strange feel in my stomach for tests. I supposed some refactoring will be fine. But I have not idea for any

I've found two small issues.

Yes, you are right thank you for your review. Silly mistakes ....

check your suggestion

check your suggestion

That has to be a bug in github. Sorry for that.

Two more suggestions and I promise those are the last ones.

it is ok your suggestions are perfect I like them

I think we are ready for a merge. Could you please rebase the commits and squash them to a single one and also make the linter happy?

I think we are ready for a merge. Could you please rebase the commits and squash them to a single one and also make the linter happy?

Thank you for your patience. Linter is happy, squashing is done.


Creates Structure for Upload Requests

The request is two step: (a) create the upload URLs and blobs, then after the assets are uploaded (b) kick off a process for parsing explicitly.
Sending the PR for the interface first - trying to get smaller ones going.

LGTM, though I'm not sure I understand the API:

Users request to upload N items
Users get N upload URLs
Users upload N files
Users say "Hey, I uploaded " - One weakness here is that clients don't need to report the same number N of files here
Users get back some ID? And the task starts running?

A more "bulletproof" API would be something like:

Create a portfolio (or portfolio group, or process group whatever primitive files get attached to), get an ID back
Request to upload files to that portfolio ID
Can do step 2 as many times as is useful, can be batch or not batch, doesn't matter
Mark files completed after they're uploaded. We could do this behind the scenes (as noted elsewhere, using blob storage events), but we could also just roll this validation step into step 5 below.
Request to start the processing

From the web client's perspective, this whole process could be kicked off in one go once they select their files, it just makes the API slightly harder to misuse, intentionally or accidentally.

OK FWIW, I think this is mostly doing what you think it is, just with a few translations.

an Incomplete Upload is a file that has been uploaded, but hasn't parsed successfully, either because it failed parsing, or because it is currently processing, or hasn't yet been processed. This staging ground type of approach allows us to have every portfolio in the system correspond to a unit that is fit for any type of processing. The requirements specify things like deleting incomplete uploads by default, and building in that kind of logic over portfolios would have been riskier, etc. When an incomplete upload successfully parses into (one or more) portfolios, we delete the incomplete upload.
The "Marking as completed" is just the request to start processing - it's just #5. There is no #4.
The reason I think it is stronger to request the set of incomplete uploads to process is because if the incomplete upload fails (i.e. file too big and rejected by cloud storage, ex), the client can be smarter about how it handles partial success cases on the frontend, with no requirement for storage on the backend (i.e. we would have to record more concretely the ties between which blobs were uploaded and which were associated with a non-started task, ex, if we didn't specify which things to run when we say "start the run".

Does that make sense?


Add Super Bad Series FTSO SGB/FLR

Add Super Bad Series FTSO on both the SGB and FLR network.

FYI, we've updated our contribution guidelines: https://github.com/TowoLabs/ftso-signal-providers#how-to-add-your-signal-provider and clarified how to run tests locally.

Closing due to inactivity, please open a new PR if you fix the above issues


Convert opus translation to onnx and run inference from it

To convert I use this snippet
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
from transformers.models.marian import MarianOnnxConfig
import onnxruntime as ort
model_ckpt = "Helsinki-NLP/opus-mt-en-zh"
tokenizer = AutoTokenizer.from_pretrained(model_ckpt)
ref_model = AutoModelForSeq2SeqLM.from_pretrained(model_ckpt)
feature = "seq2seq-lm"
onnx_path = f"onnx/{model_ckpt}-{feature}/"

!python -m transformers.onnx --model={model_ckpt} --atol=1e-4 --feature={feature} {onnx_path}

To inference (which is not running) I use this snippet
import torch
from transformers import AutoTokenizer, pipeline
from optimum.onnxruntime import ORTModelForSeq2SeqLM

model = ORTModelForSeq2SeqLM.from_pretrained("./onnx/Helsinki-NLP/opus-mt-en-zh-seq2seq-lm")

The error is
FileNotFoundError: Could not find any ONNX model file for the regex ['(.*)?decoder(.*)?with_past(.*)?\\.onnx']

Maybe it tries to find model.onnx but in the folder there are 2 onnx :  decoder_model.onnx and encoder_model.onnx
I think the snippet is from 2022, Is there any changes ?
Thanks

I also encountered this problem with Inference Endpoint, and found it ignoring onnx model files while initializing the endpoint.
INFO | Ignore regex pattern for files, which are not downloaded: rust*, *tar.gz, *safetensors, *tflite, *openvino*, *mlmodel, *ckpt, flax*, tf*, *onnx*

Hi @x4080,
Please use:
optimum-cli export onnx -m Helsinki-NLP/opus-mt-en-zh --task text2text-generation-with-past opus_onnx

import torch
from transformers import AutoTokenizer, pipeline
from optimum.onnxruntime import ORTModelForSeq2SeqLM

model = ORTModelForSeq2SeqLM.from_pretrained("opus_onnx")

@fxmarty thanks for the tip, i'll check it out


Child mesh position shift when parent object was manipulated

Describe the bug
One parent with two objects. Object One is standard mesh. Object Two is a rendered object or loaded PLY file. The parent object has Object Manipulator, Box Collider, and BoundsControl. Once in the play mode, both objects are inside the BoundsControl, if the parent object is moved, Object One moves the same distance as the parent. Object Two moves faster. As shown in Figure 2. That will cause the rotation to mess up.
Expected behavior
Both objects should move together. Their relative position to the parent should not change.
Screenshots

Your setup (please complete the following information)

Unity Version [e.g. 2020.3.36f1]
MRTK Version [e.g. v2.8]

Target platform (please complete the following information)

HoloLens 2

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


I adjusted margin of moksh logo in story.html

In line #160 i have made changes

Moksh logo in Divine_page/story.html

@dipakja Please share the screenshots for the changes you have applied

This is an after change

This is before change screenshot, you can see the logo of Moksh , it is  slightly  down. So i adjust it

Sir, this is my first open source contribution and I think I didn't make that many changes or important changes.
I thought this is a good to start.

can u please synk your current code because it is creating conflict


Change the buzzard_labels.pretty path

The the buzzard_labels.pretty path is change to system defined temporary folder.
The next pull request would be "init file to fix plugin icon issue" after this pull request is reviewed and closed.

I am merging this without testing, hope it works.


Populate missing ManifestVersion for manifest from rest source and ma…

Cherry-pick for servicing release
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-cli/pull/3474&drop=dogfoodAlpha

/azp run

/azp run


"az network application-gateway private-link add" assumes AppGw same RG as Vnet

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
My Application Gateway lives in a resource group separate from the vnet resource group. When attempting to add a Private Link to the AppGw I get the error:
az network application-gateway private-link add --frontend-ip xxx-apigw-feip01 --name xxx-waf-apigw-pls --subnet xxx-sn-be --subscription xxx --resource-group xxx-rg-fe --gateway-name xxx-waf-apigw

Command group 'network application-gateway private-link' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

(ResourceNotFound) The Resource 'Microsoft.Network/virtualNetworks/xxx-vnet03' under resource group 'xxx-rg-fe' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix

When moving the Application Gateway to the same RG as the Vnet it works.
AFAICS the logic happens in this function:
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/network/custom.py#L475
To Reproduce
Deploy the Private link on an AppGw in a different resource group from the Vnet.
Expected behavior
I'd expect an extra option argument that I can use to specify the resource group for the AppGw and another one for the Vnet. Or the ability to paste a full resource ID. I tried playing around with the --ids argument but I couldn't get it to work.
Environment summary
az version
{
  "azure-cli": "2.20.0",
  "azure-cli-core": "2.20.0",
  "azure-cli-telemetry": "1.0.6",
  "extensions": {
    "aks-preview": "0.4.62",
    "azure-cli-ml": "1.10.0",
    "log-analytics": "0.1.4"
  }
}

network

Thank you for your feedback, and we will check it soon.

@geertn I try to execute the same cmd with '--subnet ' which belongs to different vnet of different resource group. And the service responses error:

It seems that service does not support it. This doc may help you : https://docs.microsoft.com/en-us/azure/private-link/

@geertn I try to execute the same cmd with '--subnet ' which belongs to different vnet of different resource group. And the service responses error:

It seems that service does not support it. This doc may help you : https://docs.microsoft.com/en-us/azure/private-link/

The error you mention is stating that the AppGW should be in the same Vnet as the PLS. In my case that condition is met. My problem is about the Resource Group and that az-cli assumes the AppGw is in the same Resource Group as the Vnet.

@geertn As I described, azure-cli send the request to service server, but service server response error. It means that it is service server request vnet should be in the same RG with AppGW. azure-cli is a client tool and is responsible to send correct cmd to service server. If service server does not support this kind of usage, we may help to add 'service attention' label to cause attention of service team.

@geertn As I described, azure-cli send the request to service server, but service server response error. It means that it is service server request vnet should be in the same RG with AppGW. azure-cli is a client tool and is responsible to send correct cmd to service server. If service server does not support this kind of usage, we may help to add 'service attention' label to cause attention of service team.

Hi @msyyc I might misunderstand you, if so please forgive me. however in the error that you show I see the following text:
"All subnets for PrivateLinkConfiguration ....xx-waf-apigw-pls should be in the same vnet as ApplicationGateway Subnet".
This error specifically mentions the subnet not the Resource Group. Is it possible that you tested this with the subnet not belonging to the same Vnet?

@geertn I think now the question is whether it is permitted if vnet is not in the same Resource Group with AggGW. I tried and found that service server response error if that. So let us wait for service team to explain it.


OSASINFRA-3550: openstack: document ingress with octavia for dev-preview

What this PR does / why we need it:

Revert "docs/openstack: adds content for Ingress with MetalLB"
openstack: document ingress with octavia

/cc MaysaMacedo

/lgtm
/hold
waiting for CI integration

/close
I'll do it via another PR including code to automate this


Plug documentation - on_verifying function

I was just updating an old toy project of mine that used Joken plus a Plug that I wrote myself, so I figured I should swap to the Joken.Plug but it took me a while to figure out a few things.
In the documentation and readme it says:
plug Joken.Plug, on_verifying: &verify_function/1

However the rarity of verify_function is actually 0
Also it might be good to show an example of what verify_function should do e.g:
  def verify_function() do
    %Joken.Token{}
    |> with_json_module(Poison)
    |> with_signer(hs256(secret_key()))
  end

Also if that is wrong someone let me know but it seemed to work OK :-)

Good catch! We have refactored this part and all tests are using a zero arity function too.
I will update this! THanks for reporting!


Hard crash swithcing between worlds.

Using Thunderstore mod manager r2modman to launch the game. The only mods enable are Instant Portal Charge and BepInExPack Core Keeper.
r2modman 3.1.31
Core Keeper v0.4.3
Instant Portal Charge v1.0.0
BepInEx-BepInExPack_Core_Keeper-1.0.0
All mods are installed from https://core-keeper.thunderstore.io/ via 'Install with Mod manager'.
After exiting any worlds  then clicking on a different world the game will crash the moment I click any world in the list. Any world, even the same world I exited from previously. This is reproducible 100% of the time.

Unfortunately I don't know the cause of this issue, and debugging hard crashes here is nearly impossible. I have seen it before myself, but fortunately it does not cause any major issues apart from the crash itself.

It makes switching worlds impossible because it crashes 100% of the time.
"bug wontfix"
That's disappointing. The mod is pointless if it breaks the game and you can't fix it. Which raises the question; What is the point of it being available for download if it's broken and can't be fixed?

First of all it's not broken. It works most of the time. And I can't guarantee that it will 100% of the time. Second of all this issue is absolutely not debuggable. When Unity with il2cpp crashes like that it leaves 0 information that would allow me to debug it. Plus I highly suspect it's not even the mod itself that causes the issue, but BepInEx. And it's currently highly experimental for il2cpp. So really if you are using mods you agree that some things can break.

You are absolutely right. Please excuse my previous reply.  I apologize.

I mean thankfully recent updates to BepInEx (We are not using them yet) allow to get more info when game crashes. So maybe eventually I will find the cause of this.


Github template for raising pull request, bugs and features

It would be awesome if there was template for raising pull request, bugs and features to bring little more structure to the issues and reduce the load on maintainers.

For PRs, there's CONTRIBUTING guidlines: https://github.com/excalidraw/excalidraw/blob/master/CONTRIBUTING.md
As for templates, the current consensus it it'd add too much friction and we'd end up losing contributors and bug reporters. So far we're not suffering from "too many issues, gotta bring them down" syndrome :).

For PRs, there's CONTRIBUTING guidlines: https://github.com/excalidraw/excalidraw/blob/master/CONTRIBUTING.md
As for templates, the current consensus it it'd add too much friction and we'd end up losing contributors and bug reporters. So far we're not suffering from "too many issues, gotta bring them down" syndrome :).


Off-chain workers research

Research off-chain workers and how they should work.

@takemiyamakoto Could you describe the goals such workers would achieve? Can we consider a trigger execution be delegated to an off-chain worker somehow?

Off chain workers should only work on data from finalized blocks probably.


add total count for paginated collections

Paginated responses include a 'X-Total-Pages' and a 'X-Total-Count' header field.
So far only the total pages were passed on in Acfs Collections through #total_pages.
This commit adds #total_count.

Thanks!


Importing in IntelliJ 14 fails because of support-v4

I don't really know if this is the right place to report this or if this is totally IntelliJ's Scala plugin's fault.
That being said, when I try to import the project in IntelliJ 14 I get the following error:
[warn] 	[FAILED     ] com.android.support#support-v4;21.0.3!support-v4.jar:  (0ms)
[warn] ==== local: tried
[warn]   /Users/xxx/.ivy2/local/com.android.support/support-v4/21.0.3/jars/support-v4.jar
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/com/android/support/support-v4/21.0.3/support-v4-21.0.3.jar
[warn] ==== google libraries: tried
[warn]   file:/Users/xxx/src/android/android-sdk/extras/google/m2repository/com/android/support/support-v4/21.0.3/support-v4-21.0.3.jar
[warn] ==== android libraries: tried
[warn]   file:/Users/xxx/src/android/android-sdk/extras/android/m2repository/com/android/support/support-v4/21.0.3/support-v4-21.0.3.jar
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::              FAILED DOWNLOADS            ::
[warn] 	:: ^ see resolution messages for details  ^ ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: com.android.support#support-v4;21.0.3!support-v4.jar
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::

I have the following dependencies that could be the culprits:
libraryDependencies ++= Seq(
  aar("com.android.support" % "support-v4" % "21.0.3" intransitive()),
  aar("com.android.support" % "appcompat-v7" % "21.0.3" intransitive()),
  "com.google.android.gms" % "play-services" % "6.+" intransitive(),
...

As you may notice, I have manually added the support-v4 as an aar and tried to make all of them intransitive, but this doesn't solve the problem.

Ignore the error, import did not fail. It is just looking for jar in
addition to aar
--
Sent from my phone
On Jan 30, 2015 8:47 AM, "Andre Luiz Carvalho"<EMAIL_ADDRESS>wrote:

I don't really know if this is the right place to report this or if this
is totally IntelliJ's Scala plugin's fault.
That being said, when I try to import the project in IntelliJ 14 I get the
following error:
[warn]  [FAILED     ] com.android.support#support-v4;21.0.3!support-v4.jar:  (0ms)
[warn] ==== local: tried
[warn]   /Users/xxx/.ivy2/local/com.android.support/support-v4/21.0.3/jars/support-v4.jar
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/com/android/support/support-v4/21.0.3/support-v4-21.0.3.jar
[warn] ==== google libraries: tried
[warn]   file:/Users/xxx/src/android/android-sdk/extras/google/m2repository/com/android/support/support-v4/21.0.3/support-v4-21.0.3.jar
[warn] ==== android libraries: tried
[warn]   file:/Users/xxx/src/android/android-sdk/extras/android/m2repository/com/android/support/support-v4/21.0.3/support-v4-21.0.3.jar
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::              FAILED DOWNLOADS            ::
[warn]  :: ^ see resolution messages for details  ^ ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.android.support#support-v4;21.0.3!support-v4.jar
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
I have the following dependencies that could be the culprits:
libraryDependencies ++= Seq(
aar("com.android.support" % "support-v4" % "21.0.3" intransitive()),
aar("com.android.support" % "appcompat-v7" % "21.0.3" intransitive()),
"com.google.android.gms" % "play-services" % "6.+" intransitive(),
...
As you may notice, I have manually added the support-v4 as an aar and
tried to make all of them intransitive, but this doesn't solve the problem.
—
Reply to this email directly or view it on GitHub
https://github.com/pfn/android-sdk-plugin/issues/142.

This was fast! Thank you!!!
Oh my! And I have been using gen-idea and manually compiling the project from sbt console so that IntelliJ will autocomplete my code correctly all this time... :sob:
All I had to do was to delete the generated project files and importing it, ignoring this error.
Thanks again!


How to deselect day and refresh calendar programatically when the date changes

Describe the bug
I have inserted a button into the calendar dropdown, below it. It sets the date to Today, but although the date changes, the calendar doesn't view update/refresh, as seen in the following video: https://streamable.com/wegzhy
To Reproduce
Steps to reproduce the behavior:
Create a button or function to programatically change the date when the calendar is open. Change it.
Expected behavior

The selected day, should be the only one visible.
The month/year... etc should bring to the selected day.

Screenshots
https://streamable.com/wegzhy
Desktop (please complete the following information):

OS: macOS
Browser Chrome Latest

I am seeing and dealing with this same issue, minus the use of a "Today" button - has any progress been made on this?

I'm also experiencing the same. When you update the date of one calendar from outside the component, it doesn't updates properly, till you, as example, trigger a onBlur event.
Firefox Developer last version, Arch Linux, so this is OS/browser independent.

Also experienced a similar issue. Basic code example:
() => {
  const [startDate, setStartDate] = useState(new Date("12-01-2020"));

  setTimeout(() => {
     setStartDate(new Date());
  }, 1500);

  return (
    <DatePicker
      selected={startDate}
      onChange={date => setStartDate(date)}
      inline
    />
  );
};

This can be worked around by setting startDate to null or undefined prior to setting it to a valid date. Ex:
setTimeout(() => {
setStartDate();
setStartDate(new Date());
}, 1500);

Hi! Has anyone found a workaround for this issue?
I have an inline date picker and custom buttons added.
       <button onClick={getThisWeekRange}>               {t('thisWeek')}             </button>
  const getThisWeekRange = () => {     setStartDate(startOfWeek(currentDay, []));     setEndDate(endOfToday());   }
If a previous month is opened and I click this button, the range is set correctly, but I still see that month.
I want to refresh the date picker in order to see the month of 'this week'

update key prop for complete refresh of calender is not working for me as it takes away the focus from the custom input field,
Any update or solution you guys have found please share


Add -miphoneos-version-min=8.0 to App framework stub

Description
Add -miphoneos-version-min=8.0 when building the stub framework.
Before this change:
Load command 8
       cmd LC_BUILD_VERSION
   cmdsize 32
  platform 7
       sdk 14.2
     minos 14.2
    ntools 1
      tool 3
   version 609.7

After this change:
Load command 8
      cmd LC_VERSION_MIN_IPHONEOS
  cmdsize 16
  version 8.0
      sdk 14.2

Related Issues
Fixes https://github.com/flutter/flutter/issues/52817

Thanks for pinpointing this issue and testing it, @BernardGatt!
Google test failures unrelated.  Merging.


Refactor to make cleanup idempotent based on tags

Background
To help with testing for OSD-15914, this PR cleans up resources created by the integration test by tags so that it is idempotent instead of depending on stored ids in state.
Previously, this meant that if the integration test failed or if it was prematurely terminated (e.g. CTRL+C'd), it would leave AWS resources behind which is toilsome to cleanup manually. This PR does this by removing the Name tag which used to vary based on all resources and filtering resources based on a set of known, default tags to cleanup. The result is an idempotent delete that can be called with ./integration -delete-only over and over if needed.
Testing
cd integration
go build .
export $(osdctl account cli -i ${ACCT_ID} -p osd-staging-2 -r ${REGION} -oenv | xargs)
./integration -region ${REGION}
CTRL+C any time
./integration -delete-only
./integration -delete-only # To show idempotence

Where it will be useful
This PR will help with testing #176 for the next release by preventing manual cleanup that sometimes occur when interacting with AWS' Firewall API due to lengthy waits.

Codecov Report

Merging #177 (bdfee3a) into main (6bec488) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #177   +/-   ##
=======================================
  Coverage   10.22%   10.22%
=======================================
  Files          17       17
  Lines        1125     1125
=======================================
  Hits          115      115
  Misses       1000     1000
  Partials       10       10

/lgtm


doc: updated module list

It's trivial. However, it is important for TAOS-CI users.
This commit is to update the module list and future work.
Signed-off-by: Geunsik Lim<EMAIL_ADDRESS>
[Template] PR Description
In general, github system automatically copies your commit message for your convenience.
Please remove unused part of the template after writing your own PR description with this template.
$ git commit -s filename1 filename2 ... [enter]

Summarize changes in around 50 characters or less

More detailed explanatory text, if necessary. Wrap it to about 72
characters or so. In some contexts, the first line is treated as the
subject of the commit and the rest of the text as the body. The
blank line separating the summary from the body is critical;
various tools like `log`, `shortlog` and `rebase` can get confused
if you run the two together.

Further paragraphs come after blank lines.

**Changes proposed in this PR:**
- Bullet points are okay, too
- Typically a hyphen or asterisk is used for the bullet, preceded
  by a single space, with blank lines in between, but conventions vary here.

Resolves: #123
See also: #456, #789

**Self evaluation:**
1. Build test: [ ]Passed [ ]Failed [*]Skipped
2. Run test: [ ]Passed [ ]Failed [* ]Skipped

**How to evaluate:**
1. Describe how to evaluate in order to be reproduced by reviewer(s).

Add signed-off message automatically by running **$git commit -s ...** command.

$ git push origin <your_branch_name>

:memo: Version: 1.20180820. Thank you for submitting PR #200. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://invain.mooo.com/.

after this PR:

We generate a report if there are dangerous coding constructs in your code. Please read http://invain.mooo.com/TAOS-CI/ci/repo-workers/pr-format/201808311558490.52920198440552-200-c32ac00b4dc63fba10e5c4b9aec6185b82fc8014/report/.


Local mods client- or serverside

Is it possible in any way to make local mods client-side or server-side? Like using a TOML file to define it maybe?

Not currently; see https://github.com/packwiz/packwiz/issues/82 (closing as duplicate, +1 or add suggestions on the original issue)


Unsupported operation: getLastKnownPosition is not supported on the web platform.

Describe the bug
Latest version of geolocator produces error in flutter_map_location_marker on web:
Error: Unsupported operation: getLastKnownPosition is not supported on the web platform.
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 294:3   throw_
packages/geolocator_web/geolocator_web.dart 69:7                              getLastKnownPosition
packages/geolocator/geolocator.dart 54:35                                     getLastKnownPosition
packages/flutter_map_location_marker/src/data/data_stream_factory.dart 96:52  <fn>

To Reproduce
Update example pubspec.yaml with:
flutter_map_location_marker: ^8.0.6
geolocator: ^11.0.0

flutter run -d chrome

Expected behavior
No runtime error
Desktop:

OS: Linux 6.6.13-200.fc39.x86_64
Browser: chrome
Version: 121.0.6167.85 (Official Build) (64-bit)

Also requested a potential fix in https://github.com/Baseflow/flutter-geolocator/issues/1190#issuecomment-1676335690


Show on delete information in usage views to be linked from delete/unpublish confirmation views

Fixes #10008, may also fix #1602 albeit with a different approach. Needs #10099. Likely closes #4702.
This PR ensures there's a link to the usage view from the delete and unpublish confirmation views. For the delete view, the link to the usage view has an extra ?describe_on_delete=1 parameter, which will make the usage view also describe what happens to the references of the object that's to be deleted.
The anchor linked in the specific fields currently still doesn't work as mentioned in https://github.com/wagtail/wagtail/pull/10007#pullrequestreview-1298564622. I'll try to make a separate PR if I find a way to fix it.

Performance optimisations
The first commit adds some performance optimisations when accessing the usage view. This is mostly done by using the ContentType model's default manager so that we use its cache instead of accessing the ForeignKey directly, which will query the database. Additional optimisation is also done for the count by making it a cached property.
Before

After

Please check the following:

[x] Do the tests still pass?[^1]
[x] Does the code comply with the style guide?

[x] Run make lint from the Wagtail root.

[x] For Python changes: Have you added tests to cover the new/fixed behaviour?
[ ] For front-end changes: Did you test on all of Wagtail’s supported environments?[^2]

[ ] Please list the exact browser and operating system versions you tested:
[ ] Please list which assistive technologies [^3] you tested:

[ ] For new features: Has the documentation been updated accordingly?

Please describe additional details for testing this change.
[^1]: Development Testing
[^2]: Browser and device support
[^3]: Accessibility Target

Sorry, just found another niggle - if an on_delete=PROTECT ForeignKey prevents an image from being deleted, the delete button is not hidden as it is for the document / snippet / page confirmation views, and clicking it gives a "Sorry, you do not have permission to access this area" error.

Thanks @gasman!
I've rebased, and made these commits as fixups to the relevant commits (you won't see them in this PR as they've been used to amend the original commits):

https://github.com/laymonage/wagtail/commit/b1902423d71adbcc477a938f2faa47b820b5d01c
https://github.com/laymonage/wagtail/commit/b5aa3795b94ae8a75e0ae16f16ad3d8f772459ab
https://github.com/laymonage/wagtail/commit/d0aa5ddf7aa4e058241359a354809b40361974f8
https://github.com/laymonage/wagtail/commit/20f3b28920391b5d64778bc7d2c7b1ca43e8564a

Tests for deleting protected images and documents have been added in https://github.com/wagtail/wagtail/pull/10072/commits/f51a8735ff400040f829b25becc57b05af535df6.

In https://github.com/laymonage/wagtail/commit/20f3b28920391b5d64778bc7d2c7b1ca43e8564a the confirmation message needs to be inside the {% if not is_protected %} block too, I think:

Sorry about that, should've noticed that mistake 😣
Fixed in 568aa6420450cf2034994d3cec3451a8823a04d8 with a test.

Great to see this making it into core!


typings problem

I can't compile a TS app after installing query-string.
says typings cannot be found
installing typings says they aren't needed
but still cannot compile the ts app
any suggestions or other approaches re the below?
➜  user git:(master) ✗ npm install -D @types/query-string
npm WARN deprecated<EMAIL_ADDRESS>This is a stub types definition. query-string provides its own type definitions, so you do not need this installed.
npm notice save @types/query-string is being moved from dependencies to devDependencies
+<EMAIL_ADDRESS>removed 10 packages, updated 1 package and audited 905288 packages in 10.923s

5 packages are looking for funding.
Run "npm fund" to find out more.
➜  user git:(master) ✗ tsc
src/components/Thread/ThreadView.tsx:19:21 - error TS7016: Could not find a declaration file for module 'query-string'. '/Users/dc/dev/considr/demoflow/user/node_modules/query-string/index.js' implicitly has an 'any' type.
  Try `npm install @types/query-string` if it exists or add a new declaration (.d.ts) file containing `declare module 'query-string';`

19 import * as qs from 'query-string'
                       ~~~~~~~~~~~~~~

Found 1 error.

➜  user git:(master) ✗

This is a CommonJS module, so you need to import it using import qs = require('query-string');.

tx for response.
this was in typescript. actually after deleting the node_modules and reinstalling everything worked... >.<


Fix/freshen up

[ ] Increment Version
[ ] Remove Credits
[ ] Include CameraKit mention near bottom "Project is a sister project to CameraKit [link]' etc

@emersoncloud

[ ] Update README Header to be the same resolution with same padding as CameraKit's
[ ] Add status badges/slack


Update the S3 source automatic compression option to use the same code for GZIP and NONE.

Description
Use the same compression engines for GZIP and NONE in the AUTOMATIC compression engine. This will fix #2026 by using the correct GZip input stream from Apache Commons and help prevent similar issues where changes to the GZip engine are not applied to the automatic compression engine.
Issues Resolved
Resolves #2026.
Check List

[ ] New functionality includes testing.
[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2027 (2aabce4) into main (bdbb896) will decrease coverage by 0.19%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #2027      +/-   ##
============================================
- Coverage     94.01%   93.82%   -0.20%
+ Complexity     1568     1565       -3
============================================
  Files           199      199
  Lines          4662     4662
  Branches        371      371
============================================
- Hits           4383     4374       -9
- Misses          196      207      +11
+ Partials         83       81       -2

Impacted Files
Coverage Δ

...opensearch/dataprepper/pipeline/ProcessWorker.java
71.15% <0.00%> (-17.31%)
:arrow_down:

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


  The load balancer forwards to Presto on port 8080.  We enable http-server.authentication.allow-forwarded-https to support authentication in this scenario.
Running a snapshot of master, I am not able to reach Presto through the load balancer.  Browsing to https://presto.domain.com delivers a 303 status code, redirecting to https://presto.domain.com:80/ui.  This is incorrect, as no one is listening on port 80.

Configuring the load balancer to listen on a port besides 443 works around the issue.  https://presto.domain.com:4433 is accessible.

Browsing to https://presto.domain.com delivers a 303 status code, redirecting to https://presto.domain.com:80/ui.

Is your load balancer sending X-Forwarded-For, X-Forwarded-Proto headers?

It’s an AWS Application Load Balancer. It’s certainly sending
X-Forwarded-Proto as Presto recognizes that traffic is encrypted. If it’s
not sending X-Forwarded-For then whatever header it is supplying should be
supported as well. But I assume it is sending the default headers.
On Sat, Feb 22, 2020 at 6:03 AM Piotr Findeisen<EMAIL_ADDRESS>wrote:

Browsing to https://presto.domain.com delivers a 303 status code,
redirecting to https://presto.domain.com:80/ui.
Is your load balancer sending X-Forwarded-For, X-Forwarded-Proto headers?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/prestosql/presto/issues/2908?email_source=notifications&email_token=AAJ4W3XB7BLQJH53HEFNER3REEPAZA5CNFSM4KZMHD32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMU7ZLQ#issuecomment-589954222,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ4W3VBOX2NKRBAIBPGXQDREEPAZANCNFSM4KZMHD3Q
.

@findepi this doesn't seem to have fixed the issue for me?
As I mentioned in slack, I don't usually build Presto, but I'm really quite sure I'm running head, and am still getting redirected incorrectly.
I captured the headers the ALB is sending:
GET / HTTP/1.1
X-Forwarded-For: <MY IP>
X-Forwarded-Proto: https
X-Forwarded-Port: 443
Host: presto.domain.net
X-Amzn-Trace-Id: Root=1-5e546e4c-4d18dc28137ff5ce1b626b72
cache-control: max-age=0
upgrade-insecure-requests: 1
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
sec-fetch-user: ?1
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
sec-fetch-site: none
sec-fetch-mode: navigate
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.9

Delivering this to Presto results in the following response:
content-length: 0
date: Tue, 25 Feb 2020 00:49:03 GMT
location: http://presto.domain.net:80/ui/
status: 303


AttributeError: 'LightningDataModule' object has no attribute '_has_setup_TrainerFn.FITTING'

Hello, I'm new to this whole fine-tuning thing but I'd like to give it try for another (C#) project I'm working on, hopefully integrate it in there. I'm following this tutorial (great write-up by the way!) but I'm having some issues trying to train my model. Here's the code I've got:
import numpy as np
import pandas as pd
from sklearn.model_selection import train_test_split
from simplet5 import SimpleT5

import os

df = pd.read_csv("Khajiitifier/bin/Debug/net6.0/Translations.csv", encoding='latin-1', sep='|')
df = df[['source_text', 'target_text']]
df['source_text'] = "khajiit: " + df['source_text']
train_df, test_df = train_test_split(df, test_size=0.3)
#print(train_df.shape, test_df.shape)
model = SimpleT5()
model.from_pretrained(model_type="t5", model_name="t5-base")
model.train(train_df=train_df[:5000],
            eval_df=test_df[:100],
            source_max_token_len=128,
            target_max_token_len=50,
            batch_size=8, max_epochs=5, use_gpu=False) # use_gpu=False because my 7900XTX is not recognized

When starting to train the model I get the following error:  AttributeError: 'LightningDataModule' object has no attribute '_has_setup_TrainerFn.FITTING'. Full stacktrace:
Global seed set to 42
GPU available: False, used: False
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
Traceback (most recent call last):
  File "C:\Users\tik\source\repos\Khajiitifier\simplet5sample.py", line 15, in <module>
    model.train(train_df=train_df[:5000],
  File "C:\Users\tik\AppData\Local\Programs\Python\Python311\Lib\site-packages\simplet5\simplet5.py", line 395, in train
    trainer.fit(self.T5Model, self.data_module)
  File "C:\Users\tik\AppData\Roaming\Python\Python311\site-packages\pytorch_lightning\trainer\trainer.py", line 740, in fit
    self._call_and_handle_interrupt(
  File "C:\Users\tik\AppData\Roaming\Python\Python311\site-packages\pytorch_lightning\trainer\trainer.py", line 685, in _call_and_handle_interrupt
    return trainer_fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\tik\AppData\Roaming\Python\Python311\site-packages\pytorch_lightning\trainer\trainer.py", line 777, in _fit_impl
    self._run(model, ckpt_path=ckpt_path)
  File "C:\Users\tik\AppData\Roaming\Python\Python311\site-packages\pytorch_lightning\trainer\trainer.py", line 1138, in _run
    self._call_setup_hook()  # allow user to setup lightning_module in accelerator environment
    ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\tik\AppData\Roaming\Python\Python311\site-packages\pytorch_lightning\trainer\trainer.py", line 1438, in _call_setup_hook
    self.datamodule.setup(stage=fn)
  File "C:\Users\tik\AppData\Roaming\Python\Python311\site-packages\pytorch_lightning\core\datamodule.py", line 461, in wrapped_fn
    has_run = getattr(obj, attr)
              ^^^^^^^^^^^^^^^^^^
AttributeError: 'LightningDataModule' object has no attribute '_has_setup_TrainerFn.FITTING'

I'm wondering if I've got some dependency issue, or am I doing something else wrong? I'm using Python 3.11.4 on Windows 11 64-bit.

I managed to get it to work after using Pop OS (Linux) instead of Windows, not sure what this error was.

Maybe someone is still interested in this issue...
I use pytorch-lightning == 1.5.10. This works with Python 3.10.x but not with 3.11.x.
The problem is that Python 3.11 changed the way how Enums are formatted.
PyTorch-Lightning does the following:
name = "setup"
stage = TrainerFn.FITTING
attr = f"has{name}_{stage}"
has_run = getattr(obj, attr)
where TrainerFn is an Enum:
class TrainerFn(LightningEnum):
FITTING = "fit"
VALIDATING = "validate"
...
In Python 3.10.x this results in '_has_setup_fit'.
In Python >=3.11.0 this leads to '_has_setup_TrainerFn.FITTING'


Add more arithmetic operations and units

Operations

[x] Add
[ ] Subtract
[ ] Multiply
[x] Divide
[x] Square
[ ] Cube
[ ] Sqrt
[ ] Cbrt

I was going to open an issue for Sqrt, but since it is mentioned here I guess I can just comment here.
I've once had a problem that I tried to solve with F# and it's built-in units support.
That didn't work out well because of Sqrt units involved.
When dealing with noise in signal processing - it involves Sqrt(Hz) units for noise spectral density (random links: Wikipedia, some examples).
If I try to introduce sqrtHz unit - it will become a base unit and inferred type for Hz will become sqrtHz^2 instead, which is very annoying.
There was no way to enforce Hz as the base unit so I decided to scrap the whole idea and switch to C# completely for that project.

To make this possible I plan to add simplification of expressions. Just opened #8 . I'm not sure if it's going to be as smooth as one may wish, since we're playing with compile time magic.


Add help next to White/Admin list to explain the format

Please add the help message next to the White list and Admin list to tell what is the allowed separator between github nicknames. I've tried one nickname on one line (separated by new line) but it doesn't seem to work. Anyway the help message would alleviate me and other users from guesswork.

and over a year later.....
@bocekm - did you ever work out the rules? If so, post them here so at least if they never make it into the code base as least somebody might find this PR as a reference :-)

OK, for some sort of ref then....
When I had fred mary in the box, it did not complain.
When I changed that to fred, mary, I got the following text show below the box in red from the validation check...
GitHub username may only contain alphanumeric characters or dashes and cannot have multiple consecutive dashes and cannot begin or end with a dash. Separate them with whitespaces.

For other guys information, the white list is separated by whitespaces.


Replace manual path construction with "os.path.join"

Description of issue or feature request:
I found a couple of places in the tests where we have used f strings and manually joined paths instead of using os.path.join().
This can lead to a problem where on Linux and Mac OS this behavior will work, but on Windows won't.
Some examples:

https://github.com/theupdateframework/python-tuf/blob/e7037cf8c42022ea20f3b7891a50aa3ed563521b/tests/test_api.py#L236
https://github.com/theupdateframework/python-tuf/blob/e7037cf8c42022ea20f3b7891a50aa3ed563521b/tests/test_api.py#L162

When discussing with @jku why don't we get CI failures from this behavior he found out that:

File I/O in the Windows API converts forward slashes ("/") to backslashes (''), before passing the request to the native API

Even though that's the case, it's better if we replace those instances of manual path construction with the preferred os.path.join.
We should not forget we are developing python-tuf for Windows users as well. :)

Hi! New to open source and looking to contribute. I've been able to follow the development installation instructions and run tests for python-tuf, and am looking to tackle some good first issues and familiarize myself with the codebase. I was wondering if I would be able to claim this issue?

Hi @aribasch, a pull request would be most welcome. :)

@MVrachev A question related to this issue:
Is there a reason os.path is used throughout the codebase, instead of pathlib? Personally I find pathlib often makes for clearer reading, and it is often more convenient to use.
For example, in the cases above, if self.repo_dir were a pathlib.Path, you could simply do:
self.repo_dir / "metadata/root.json"

Another example: In client_example.py you could do something like this:
...
DOWNLOAD_DIR = Path("downloads")
METADATA_DIR = Path.home() / ".local/share/python-tuf-client-example"
CLIENT_EXAMPLE_DIR = Path(__file__).resolve().parent

def init() -> None:
    ...
    for dir_path in [DOWNLOAD_DIR, METADATA_DIR]:
        dir_path.mkdir(parents=True, exist_ok=True)
    ...

Is there a reason os.path is used throughout the codebase, instead of pathlib?

I believe historical reasons only: pathlib is a fairly new API. I'm ok with using Pathlib, it's definitely convenient.
I'd argue that it's only clearer to people who already know Pathlib. E.g. from your examples:
self.repo_dir / "metadata/root.json"

... I admit I would have expected that to create something surprising on windows but maybe it just works?

I'd argue that it's only clearer to people who already know Pathlib. E.g. from your examples:
self.repo_dir / "metadata/root.json"

... I admit I would have expected that to create something surprising on windows but maybe it just works?

@jku I agree it may take a bit of getting used to. Nevertheless, in my experience, it just works, even on windows. ;-)
To ease the transition, pathlib docs provide a useful table mapping various os functions to their corresponding pathlib equivalents.

Honestly, I think I agree with @jku here.
I think os.path.join is easier to understand as an interface.


Improve/fix application service transaction batching.

The following two things come up semi regularly:

Synapse will include all events in the next transaction that have happened since the last transaction. This can lead to a scenario where we end up with large numbers of events in a single transaction, which the AS then takes a long time to process, causing the next transaction to also be very large, introducing large amounts of lag that the AS doesn't recover from. We should limit the number of events we bundle into a transaction.
If the AS is marked down then for every event persisted we create a new transaction for that AS with a single event in it. When the AS comes back online Synapse will then send these transactions one at a time, which can mean that an AS can take a very very long time to catch up, even if its processing the events quickly. We should send transactions with multiple events instead (though not too many).

Synapse will include all events in the next transaction that have happened since the last transaction. This can lead to a scenario where we end up with large numbers of events in a single transaction, which the AS then takes a long time to process, causing the next transaction to also be very large, introducing large amounts of lag that the AS doesn't recover from. We should limit the number of events we bundle into a transaction.

I'm wondering if this actually helps though? Presumably sending batches of N size is also going to delay the appservice as soon as it hits some events it needs to do a lot of work on. To be honest, I'd rather appservices didn't block transaction processing, as we don't need to send the result of the processing back to the homeserver. The AS should really keep accepting new transactions in quick succession regardless of the event contents.
We should formally spec a max size of events though, because most appservices do limit the byte size of the payload.

If the AS is marked down then for every event persisted we create a new transaction for that AS with a single event in it. When the AS comes back online Synapse will then send these transactions one at a time, which can mean that an AS can take a very very long time to catch up, even if its processing the events quickly. We should send transactions with multiple events instead (though not too many).

This seems a bit silly yep, but feels like a Synapse problem where it could be more efficient about it's batching. You can't change the size of a transaction once you've attempted to send it, but subsequent transactions that are pending are mutable so you could keep extending the next transaction to be sent up to MAX_SIZE.

These are implementation details and unrelated to the spec - moving to the synapse repo.


Fix halfCommitter

Related to #22362.
I overlooked that there's always committer.Close(), like:
		ctx, committer, err := db.TxContext(db.DefaultContext)
		if err != nil {
			return nil
		}
		defer committer.Close()

		// ...

		if err != nil {
			return nil
		}

		// ...

		return committer.Commit()

So the Close of halfCommitter should ignore commit and close, it's not a rollback.

If it's in a database transaction, committer should do nothing, don't commit and don't close.

If it's in a database transaction, committer should do nothing, don't commit and don't close.

Why halfCommitter shouldn't ignore rollback and close:
func A(ctx context.Context) error {
	ctx, committer, err := db.TxContext(ctx)
	if err != nil {
		return nil
	}
	defer committer.Close()

	// insert something

	if err := B(ctx); err != nil {
		return err
	}

	return committer.Commit()
}

func B(ctx context.Context) error {
	ctx, committer, err := db.TxContext(ctx)
	if err != nil {
		return nil
	}
	defer committer.Close()

	// insert something

	// check something
	if err != nil {
		log.Error("it's ok to ignore this error and give up all data")

		// it's ok to ignore this error, but should rollback the data inserted previously
		return nil
	}

	// insert something

	return committer.Commit()
}

The B function tries to be quiet, neither returning an error nor inserting any data. However, if the Close of halfCommitter does nothing when rollbacking, some incomplete data will be written.

BTW, I think the same problem is going to happen with WithTx. So shall we rollback immediately when an error occurs? Like:
func WithTx(parentCtx context.Context, f func(ctx context.Context) error) error {
	if sess, ok := inTransaction(parentCtx); ok {
-		return f(newContext(parentCtx, sess, true))
+		err := f(newContext(parentCtx, sess, true))
+		if err != nil {
+			// let any commits later do nothing
+			_ = sess.Close()
+		}
+		return err
	}
	return txWithNoCheck(parentCtx, f)
}

I'm not quite sure now, or do we agree that a function always needs to return an error after rollback a transaction?
I need more advice.


Add logo (just PNGs)

Fixed #9

Looks good!

You'll update the Github org logo and bot logos as well?

Ah, almost forgot! I'll get on that

Done!


survive networking changes

It is pretty annoying that toolboxes lose their network whenever the host networking changes.
Would be nice if we could do the same thing that flatpak does to keep thing working.

This is a subset of https://github.com/debarshiray/toolbox/issues/70


Make pubkey field optional

Once #1067 is merged, we can make the pubkey field optional on keystores. For that, we'd need to change this fetch! here:
https://github.com/lambdaclass/lambda_ethereum_consensus/blob/5160683ae3834fb3eb45daaa556b46e73d2dd544/lib/keystore.ex#L27

I'd like to tackle this!


Grid - onStart initialization

Grid - onStart initialization
Parse the file once and gather all the newlines and cells position.

Closed by https://github.com/gdt050579/AppCUI/pull/270.


Automatic Type Acqusition not working on Fedora

VSCode Version: Code 1.10.0 (49129d126e2c3c5592cfc8a509d872067b69d262, 2017-03-01T17:09:34.031Z)
OS Version: Linux x64 4.5.5-300.fc24.x86_64
Extensions: none

Steps to Reproduce:

Open test.js
require('express')().
-> Does not show type-specific proposals

There is a single file in the cache: .cache/typescript/package.json with just the empty object in it.
/cc @Tyriar

The root cause seems to be that npm is not installed. I'm investigating this on other platforms as well

Two issues are tracking this on the TypeScript side:

No error being generated: https://github.com/Microsoft/TypeScript/issues/14398
Add error message to typings install failure: https://github.com/Microsoft/TypeScript/issues/14447

With TS 2.2.2 insiders we just picked up, an error notification is now generated in this case. It still does not have a good user facing message about not having npm installed. That is being tracked by  https://github.com/Microsoft/TypeScript/issues/14447


Generalization of anime characters

thanks for your wonderful work！
it is possible to replace real person images with anime characters, then generate anime characters to match the given pose ?
look forward to your reply！

I don't think that is going to work unless you finetune the model.


Add ASCII art at the begging of trial

like this!
                _        _____            _____
     /\        | |      |  __ \     /\   / ____|
    /  \  _   _| |_ ___ | |__) |   /  \ | |  __
   / /\ \| | | | __/ _ \|  _  /   / /\ \| | |_ |
  / ____ \ |_| | || (_) | | \ \  / ____ \ |__| |
 /_/    \_\__,_|\__\___/|_|  \_\/_/    \_\_____|

https://patorjk.com/software/taag/#p=display&f=Big&t=AutoRAG
It will be awesome haha

That's really great. I like it


[Feature][Flink] Support multiple tables read and write

Purpose of this pull request

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 plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

Please check ci error

close #7008

Please check ci error

Thank you for your review, I think this error has nothing to do with my commit, because this error test point(testStreamReadPaimon) is completely based on the seatunnel engine, and it did not pass this test point in the previous submission

Please check ci error

Thank you for your review, I think this error has nothing to do with my commit, because this error test point(testStreamReadPaimon) is completely based on the seatunnel engine, and it did not pass this test point in the previous submission

Do not close/reopen. It will lost ci status.

CI https://github.com/PeppaPage/seatunnel/actions/runs/10977855173/job/30483008717

Do not close/reopen. It would lost ci status.

I'm sorry for that,I want to close my comment so i click "close with comment" button,but close my pull request instead,should I make a new pull request ?

Do not close/reopen. It would lost ci status.

I'm sorry for that,I want to close my comment so i click "close with comment" button,but close my pull request instead,should I make a new pull request ?

No, just push an emtpy commit can re-trigger it.

Do not close/reopen. It would lost ci status.

I'm sorry for that,I want to close my comment so i click "close with comment" button,but close my pull request instead,should I make a new pull request ?

No, just push an emtpy commit can re-trigger it.

Thank you very much，I have just pushed.

Please check ci error

No errors now

@Hisoka-X @hailin0 PTAL

Do you need to clean up the commit list that does not belong to you?

Overall LGTM, I left some minior update.

thank you for suggestion, I've modified it.

https://github.com/apache/seatunnel/blob/7b7f06437a62c1683f002db78458ec7dd90de108/seatunnel-core/seatunnel-core-starter/src/main/java/org/apache/seatunnel/core/starter/execution/PluginUtil.java#L106
Please remove the comment here @PeppaPage


Subscriptions API: HTTP DELETE /subscriptions/{id}

More context: https://github.com/polarsource/polar/issues/4594

Hey, any info on a timeline or expected date of completion for this feature? Really need this feature. In the interim is there anyway for me to cancel the subscription of a user without them having a Polar account?

Started working on it now @ofindley and expect to launch it early next week at the latest. Ideally before, but it's a bit busy these days chatting with customers so don't want to promise it 🤓

Thanks @birkjernstrom I really appreciate the response, looking forward to release my SaaS with payment handled by Polar.

Been busy with meetings & customer support so it's taken longer than anticipated, but close to done now and should go live today/tomorrow:  https://github.com/polarsource/polar/pull/4624