Stack trace from the mailing list

Can't reproduce this, but I'm guessing digging into the raw query executor will reveal why chunkedOutput here https://github.com/influxdb/influxdb/blob/master/tsdb/executor.go#L291 is nil.
At the very least we can check if it's nil and log an error. A query should never panic the server.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x591a31]

goroutine 3707 [running]:
github.com/influxdb/influxdb/tsdb.(*Executor).executeRaw(0xc20f27e000, 0xc20bd3da40)
        /root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:291 +0xd41
created by github.com/influxdb/influxdb/tsdb.(*Executor).Execute
        /root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:88 +0x9a

goroutine 1 [chan receive, 40 minutes]:
main.(*Main).Run(0xc20806bb00, 0xc20800a010, 0x4, 0x4, 0x0, 0x0)
        /root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:91 +0x777
main.main()
        /root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0xdc

goroutine 6 [syscall, 41 minutes]:
os/signal.loop()
        /root/.gvm/gos/go1.4.2/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
        /root/.gvm/gos/go1.4.2/src/os/signal/signal_unix.go:27 +0x35

goroutine 17 [syscall, 41 minutes, locked to thread]:
runtime.goexit()
        /root/.gvm/gos/go1.4.2/src/runtime/asm_amd64.s:2232 +0x1

goroutine 8 [IO wait, 41 minutes]:
net.(*pollDesc).Wait(0xc208010450, 0x72, 0x0, 0x0)
        /root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208010450, 0x0, 0x0)
        /root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).accept(0xc2080103f0, 0x0, 0x7f625d464e30, 0xc2080fe000)
        /root/.gvm/gos/go1.4.2/src/net/fd_unix.go:419 +0x40b
net.(*TCPListener).AcceptTCP(0xc208038e90, 0x0, 0x0, 0x0)
        /root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:234 +0x4e
net.(*TCPListener).Accept(0xc208038e90, 0x0, 0x0, 0x0, 0x0)
        /root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:244 +0x4c
github.com/influxdb/influxdb/tcp.(*Mux).Serve(0xc2080e48a0, 0x7f625d4673c8, 0xc208038e90, 0x0, 0x0)
        /root/go/src/github.com/influxdb/influxdb/tcp/mux.go:45 +0x57

Yeah, saw this go by on the mailing list. I'll take a look.

I am able to reproduce this. I have a lot going on in my server but the error always follows a query like select * from cpu. I only have  a few minutes of data on the server hence why I didn't put a time range or anything on the query. Hope that helps. If I discover anything more specific to the error I'll post and update.

Thanks @nathanielc -- that might be a clue.

@nathanielc I just pushed something to master and the 0.9.3 branch that might do something with this. Can you confirm really quick? Is it easy for you to repro?

@pauldix  Yeah, give me a sec.

I still get the same nil pointer error with a build from a52a4be94c1d408e39db956e7684dfb1a1e25354.
I can't reproduce it every time. Most of the time the query select * from cpu works but about 1 in 5 crashes the server. I get the error whether I am writing data or not to the cpu measurement.

Interesting - have not been able to reproduce this at all. As far as I know it was just regular grafana generated queries that triggered it.

@nathanielc -- do you need to be writing data to the server to get the query to panic it? If not, would be you be willing to supply us the data sitting underneath your server? Or if it does require queries, can you supply those as well as the data?

FWIW I am able to reproduce this better with smaller datasets. If I wipe the data (via rm on the data dir) and run the query after just a minute or two from startup I can get the error. The query has only caused a crash once in my tests if I wait for more than about 5 minutes after startup.
@otoolep Sure, its all test data from a vagrant env. Would you like a influxdb dump from the backup command or would a tar of the actual datadirs be better?
I don't have to be writing data but as mentioned above it seems somehow related to dataset size.

@otoolep Here is a tarbal of the data and the binary I am using. Running the select * from cpu query crashes the server:
https://drive.google.com/file/d/0B6qYY1KbxS-uU3hHVndEbGRlbFU/view?usp=sharing

Great, thanks @nathanielc -- very helpful. Can I see your config file too?

Ah yes:
reporting-disabled = true
[meta]
  dir = "/var/lib/influxdb/meta"
  bind-address = ":8088"
  retention-autocreate = true
  election-timeout = "1s"
  heartbeat-timeout = "1s"
  leader-lease-timeout = "500ms"
  commit-timeout = "50ms"

[data]
  dir = "/var/lib/influxdb/data"
  wal-dir = "/var/lib/influxdb/wal"
  max-wal-size = 104857600
  wal-flush-interval = "10m0s"
  wal-partition-flush-delay = "2s"
  wal-enable-logging = true
  wal-ready-series-size = 30720
  wal-compaction-threshold = 0.5
  wal-max-series-size = 1048576
  wal-flush-cold-interval = "5m0s"
  wal-partition-size-threshold = 20971520
  retention-auto-create = true
  retention-check-enabled = true
  retention-check-period = "10m0s"
  retention-create-period = "45m0s"

[cluster]
  shard-writer-timeout = "15s"
  write-timeout = "15s"

[retention]
  enabled = false
  #enabled = true
  #replication = 3
  check-interval = "10m0s"

[shard-precreation]
  enabled = true
  check-interval = "10m0s"
  advance-period = "30m0s"

[admin]
  enabled = true
  bind-address = ":8083"

[http]
  enabled = true
  bind-address = ":8086"
  auth-enabled = false
  log-enabled = true
  write-tracing = false
  pprof-enabled = false

[collectd]
  enabled = false
  bind-address = ":25826"
  database = "collectd"
  retention-policy = ""
  batch-size = 5000
  batch-timeout = "10s"
  typesdb = "/usr/share/collectd/types.db"

[opentsdb]
  enabled = true
  bind-address = ":4242"
  database = "collectd"
  retention-policy = ""
  consistency-level = "all"

[[udp]]
  enabled = false
  bind-address = ""
  database = ""
  batch-size = 0
  batch-timeout = "0"

[monitoring]
  enabled = false
  write-interval = "1m0s"

[continuous_queries]
  enabled = true
  recompute-previous-n = 2
  recompute-no-older-than = "10m0s"
  compute-runs-per-interval = 10
  compute-no-more-than = "2m0s"

[hinted-handoff]
  enabled = true
  dir = "/var/lib/influxdb/hh"
  max-size =<PHONE_NUMBER>
  max-age = "168h0m0s"
  retry-rate-limit = 0
  retry-interval = "1s"

Should be pretty straight forward.

I have successfully installed your data under a system running the latest master code. I cannot repro the crash however.
InfluxDB shell 0.9
> show databases
name: databases
---------------
name
collectd

> use collectd
Using database collectd
> show measurements
name: measurements
------------------
name
cpu
df
disk
interface
load
loxyd
memory
my_app_name
processes
swap

> select * from cpu
> select * from cpu
> select * from cpu
> select * from cpu
> select * from cpu
> select * from cpu
> select * from cpu
> select * from cpu
> select * from cpu
>

My server stays up during this entire time.

It does crash with the binary you built however.
Not sure what to say. Have you modified the source?

Can you try again with top-of-tree master?

Top-of-tree 0.9.3 branch works fine too.

What about last nights nightly build? I am pretty sure I was able to repo with that binary too.
Rebuilding now...

So I was unable to reproduce with a clean top-of-tree master build. I had built influxdb on my host before so maybe I had an old go env or something.

OK, thanks @nathanielc -- are you comfortable closing this? As you know, we had a ton of fixes go in during the last 24 hours, so I think it's fair if we close.

Yep that sounds good. I'll test tomorrow once more with a nightly build so that I know my env is clean. If it fails I'll post here.


Crash after check weather in Ukrane.

Hello, I don't know why, but if you try to check weather in any place on a Ukrane territory it will crash whole ATAK.

Hello,
Thanks for reporting.
I just test it also on my device through current position or through map localisation.. and it's also crash on my side.
I took logcat and crash log and investigate on this issue.

I report the issue to the Weather API I use for the plugin : https://github.com/open-meteo/open-meteo/issues/254
Issue is confirmed that is on their side.
Now it is corrected and I test it without having a crash from ATAK.


Delete data with action

When you add the editor in Builders, everything breaks; Moving elements or deleting them removes tiny data.
Also, we cannot use the features of tiny
for example:
font_size_formats:
content_css:
content_style:
block_formats:
.....

I would also like to see block_formats, etc.. I tried using custom_configs but it didn't work.


ArithmeticOperation examples render with a bunch of xml cruft

Description of the issue
The docstring for ArithmeticOperation has an Examples: section with code in triple backticks: https://github.com/quantumlib/Cirq/blob/master/cirq-core/cirq/ops/arithmetic_operation.py#L43. This renders on the docsite with a bunch of XML cruft: https://quantumai.google/reference/python/cirq/ops/ArithmeticOperation#examples

xref #5151


Libtool and Autotools additions

Hi Jude,
I've boldly changed the source code tree and added autotool files for a standard configure - make - make install style installation, which most people are accustomed with. I've also added standard debian dir so that we can use this code in devuan & debian with not much effort. I'd like to do the same operation to vdev (and other related modules).
I'm also planning to create an rpm spec so we can infect other distors too ;)
Regards

Hi @aldemira,
Thank you so much for your pull request!  I've been thinking about this in the back of my mind for a couple of days.  I'm more than happy to merge scripts to make packaging easier--this is definitely something I could use help on.
However, I'm really hesitant to add support for autotools.  This is a small low-level package that isn't meant to support more than a handful of modern UNIX-like operating systems (currently only Linux), and I think autotools is overkill in this particular case.  The patch is almost two orders of magnitude bigger than the existing codebase--that's a lot of code to maintain, especially considering that autotools' main use-case (providing a portable build environment) doesn't really apply here.
If the reason for adding autotools is to provide a familiar ./configure; make; make install workflow, maybe there's a way to write a tiny configure script that just sets a few parameters in the Makefile (like BINDIR, INCLUDEDIR, etc.) but leaves out the rest of autotools.  What do you think?
Thanks,
Jude

Hi Jude,
I understand that, this is quite a drastic change and an overkill for this package. Please deny the request.
However autotools make it very easy to create the configure script, I'd never dream of writing one from scratch :) Maintenance would be a nightmare (especially if someone adds support for other OS)
So I have a few questions, will you be ok if I send a new pull request for an rpm spec file and the debian/ directory for package generation using the original file tree?
And for vdev, shall I work on deb and rpm generation + autotools?
Regards,
Aldemir


2.x PeriodicDataCenterInfoResolver ignores errors per resolve.

NetflixOSS » eureka » eureka-pull-requests #123 SUCCESS
This pull request looks good


AssertionError: Out of available cache blocks: asked 111, only 39 free blocks

System Info
1.3.4
Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
Unsure, happens with 70b models sometimes.
A6000 ada
Expected behavior
should not have error

Can you provide more information ?
Logs, environment and so on ?
What model ? What options are you using ?
Are you running anything else on your machine ?
If we cannot reproduce we cannot really help.


Automating new cookie

Hi Alex, would you be able to automatically get a new cookie from Best Buy every few hours?

Yeah I get it. Maybe I can look into it more some time next week. To be honest I just made it real quick and put it out hoping it would help others make their own version. We’ll see though.

Thank you, appreciate it. Yeah, doesn’t seem like anyone is picking up the torch, but you!

https://github.com/zedd3v/abck-go
https://github.com/zedd3v/abck
Potential resources for anyone willing to adopt it for python

if i was only smart enough to make this work 1 month non stop and cant get card oh well thanks anyways im sure it works if you know how to make it work. im pretty good with computers too. lol

if i was only smart enough to make this work 1 month non stop and cant get card oh well thanks anyways im sure it works if you know how to make it work. im pretty good with computers too. lol

I think Best Buy has new measures in place.  I had bot going when some cards dropped and they got stuck at "add to cart" action.

I'm sure they do. I've been looking around I cant.get.a.damn card its.crazy and I'm no scalper or I could write my own bot. I just can't find one card.that isnt.gone in a second. I'm sure.webites are trying to pit measures in place but we still don't stand a chance.against bots.Thanks JackSent from my T-Mobile 4G LTE Device
-------- Original message --------
From: AdamOC3<EMAIL_ADDRESS>Date: 10/16/20  7:37 PM  (GMT-07:00)
To: alexxsalazar/Nvidia3080_BB_bot<EMAIL_ADDRESS>Cc: scyco52<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [alexxsalazar/Nvidia3080_BB_bot] Automating new cookie (#10)
if i was only smart enough to make this work 1 month non stop and cant get card oh well thanks anyways im sure it works if you know how to make it work. im pretty good with computers too. lol
I think Best Buy has new measures in place.  I had bot going when some cards dropped and they got stuck at "add to cart" action.
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/alexxsalazar/Nvidia3080_BB_bot/issues/10#issuecomment-710731396",
"url": "https://github.com/alexxsalazar/Nvidia3080_BB_bot/issues/10#issuecomment-710731396",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

Yeah it got stuck because the cookie values were no longer valid. Whenever the cookie values go bad it does that. That's only annoying part about Best Buy. My friend was able to get one with it this past week so I think the bot itself is still good. Sorry y'all. If I had the time I would work on automating the cookie portion but that'd most likely big time commitment for something that would eventually break. Akamai data isn't fun to generate. Even the akamai programs listed above are broken. I believe they just keep changing the way they validate sessions so I would have to keep adapting just to generate cookies.

Could you create a script that just scrapes new cookies from BB?

On Oct 17, 2020, at 6:46 AM, alexxsalazar<EMAIL_ADDRESS>wrote:

Yeah it got stuck because the cookie values were no longer valid. Whenever the cookie values go bad it does that. That's only annoying part about Best Buy. My friend was able to get one with it this past week so I think the bot itself is still good. Sorry y'all. If I had the time I would work on automating the cookie portion but that'd most likely big time commitment for something that would eventually break. Akamai data isn't fun to generate. Even the akamai programs listed above are broken. I believe they just keep changing the way they validate sessions so I would have to keep adapting just to generate cookies.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

No someone would have do the surfing to get appropriate cookies.  You could generate the data through a program but doing that would probably take me some time. I would have to look through a bunch of sessions and see what data it took to validate the session. Then find ways to generate each of the values necessary. If I was able to make it, it would just end up being used by scalpers until it breaks anyways. Not only for Best Buy but also other sites that require Akamai data like shoe sites for example. I could, in theory, just give out a compiled version but then that would be sketchy and it wouldn't be very hard to reverse engineer anyways. Just doesn't seem like a good idea

No worries. The cookies don’t expire for at least 4 hours that I have tested. Thanks for the support!

On Oct 17, 2020, at 7:06 AM, alexxsalazar<EMAIL_ADDRESS>wrote:

No someone would have do the surfing to get appropriate cookies.  You could generate the data through a program but doing that would probably take me some time. I would have to look through a bunch of sessions and see what data it took to validate the session. Then find ways to generate each of the values necessary. If I was able to make it, it would just end up being used by scalpers until it breaks anyways. Not only for Best Buy but also other sites that require Akamai data like shoe sites for example. I could, in theory, just give out a compiled version but then that would be sketchy and it wouldn't be very hard to reverse engineer anyways. Just doesn't seem like a good idea
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yeah no worries. Sorry it's a pain haha feel bad for not doing more

Yeah it got stuck because the cookie values were no longer valid. Whenever the cookie values go bad it does that. That's only annoying part about Best Buy. My friend was able to get one with it this past week so I think the bot itself is still good. Sorry y'all. If I had the time I would work on automating the cookie portion but that'd most likely big time commitment for something that would eventually break. Akamai data isn't fun to generate. Even the akamai programs listed above are broken. I believe they just keep changing the way they validate sessions so I would have to keep adapting just to generate cookies.

Ok thanks I'll keep trying :)


Whether the model is a base model or a chat model?

Whether the Model is a base model or chat model?
If it's a chat model, what's the chat format? same as closeAI?

"This is the raw base model checkpoint from the Grok-1 pre-training phase, which concluded in October 2023. This means that the model is not fine-tuned for any specific application, such as dialogue."
Source: https://x.ai/blog/grok-os

Answered here: https://x.ai/blog/grok-os


Lenient add record

[x] Write tests for Zone.add_record with lenient=True (not to be confused with replace)
[x] Implement Zone.add_record lenient such that is passes ^ tests
[x]  Pass populate's lenientdown from all the providers to add_record

/cc @sophaskins

This looks rad to me! Is the idea that we'd then manually clean up those entries?

They'll get scheduled for removal since they won't be in the "desired" state, but will be in the "existing."
This won't actually allow them to exist in both places at once from octoDNS's perspective and one think I don't yet know is whether any providers will complain when a sub-zone is created, but a parent zone still has records that live in or conflict with it. That's kind of a gray/tbd area. I'm working up a test run of that now.

Yeah, I vaguely remember running into this with Dyn back when we were moving things around and into octoDNS...
2018-05-30T14:01:13  [140736214270912] INFO  DynProvider[dyn] apply: making changes
Traceback (most recent call last):
  File "./octodns/cmds/sync.py", line 43, in <module>
    main()
  File "./octodns/cmds/sync.py", line 39, in main
    dry_run=not args.doit, force=args.force)
  File "/Users/ross/github/octodns/octodns/manager.py", line 323, in sync
    total_changes += target.apply(plan)
  File "/Users/ross/github/octodns/octodns/provider/base.py", line 93, in apply
    self._apply(plan)
  File "/Users/ross/github/octodns/octodns/provider/dyn.py", line 890, in _apply
    dyn_zone = _CachingDynZone.get(desired.name[:-1], create=True)
  File "/Users/ross/github/octodns/octodns/provider/dyn.py", line 148, in get
    serial_style='increment')
  File "/Users/ross/github/octodns/octodns/provider/dyn.py", line 164, in __init__
    super(_CachingDynZone, self).__init__(zone_name, *args, **kwargs)
  File "/Users/ross/github/octodns/env/lib/python2.7/site-packages/dyn/tm/zones.py", line 134, in __init__
    self._post(*args, **kwargs)
  File "/Users/ross/github/octodns/env/lib/python2.7/site-packages/dyn/tm/zones.py", line 158, in _post
    api_args)
  File "/Users/ross/github/octodns/env/lib/python2.7/site-packages/dyn/core.py", line 399, in execute
    return self._handle_response(response, uri, method, raw_args, final)
  File "/Users/ross/github/octodns/env/lib/python2.7/site-packages/dyn/core.py", line 319, in _handle_response
    return self._process_response(ret_val, method)
  File "/Users/ross/github/octodns/env/lib/python2.7/site-packages/dyn/tm/session.py", line 115, in _process_response
    raise DynectCreateError(response['msgs'])
dyn.tm.errors.DynectCreateError: name: Name already exists. create: Target exists and is not a valid zone cut.

I believe we had to contact their support and get them to manually split the domain into parent and child to get it done smoothly, i.e. it couldn't be done via the API without "downtime".
Route53 and the other providers I was able to test don't seem to have any problems with it and this doesn't make anything worse, it just makes some new stuff possible :grin:


Organize Imports action adding extra backslash characters on Git Diff View and peek References View

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: Version: 1.69.0-insider (Universal) 4c72dedb4ad283a569f83a7389468c3ae2c642c3
OS Version: macOS Monterey 12.4

Steps to Reproduce:
See this video...
https://user-images.githubusercontent.com/1955233/174724096-f0e1ed6f-9dbe-4c26-8105-981b9fd94f83.mp4
https://user-images.githubusercontent.com/1955233/174724110-5bcebeeb-5083-4b9c-a83e-b949f541d415.mp4
ref: https://github.com/microsoft/vscode/issues/152272#issuecomment-1158994240
ref: https://github.com/microsoft/vscode/issues/152395

Please retry with latest insiders 10e6e87682 which should have a fix for this

This is still reproduces in the latest Insiders https://github.com/microsoft/vscode/commit/10e6e876822fa2da15fb68e8a6f1fb9aa8d94ce2 😢

/duplicate of https://github.com/microsoft/vscode/issues/152746

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


How to use Stream Parser Library Java[QUESTION]

Help needed. I have added some metadata from producer side using kvs producer cpp. Now I want to retrieve the metadata using Stream Parserr Library. Documentation says that I need to use FragmentMetadataVistitor to retrieve. I am using IntelliJ but I dont know how to use. I checked src test files. I dont know how to start.  Very new to Java. Can anyone tell how to retrieve metadata?

This is explained in our docs:  https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/how-meta.html#how-meta-consume
We have an example: KinesisVideoRendererExample, here: https://github.com/aws/amazon-kinesis-video-streams-parser-library/blob/master/src/main/java/com/amazonaws/kinesisvideo/parser/examples/KinesisVideoRendererExample.java
Here is some relevant information from the docs:
The BasicMkvTagProcessor.process method is called when fragment metadata arrives. You can retrieve the accumulated metadata with GetTags. If you want to retrieve a single metadata item, first call clear to clear the collected metadata, and then retrieve the metadata items again.
If you have further questions you can feel free to open a new issue.


sumo-dosplot: superimposing multiple DOS plots

I have two separate vasprun.xml files and wish to superimpose their DOS plots, but I am unsure how to go about doing so. Any help is highly appreciated.

Hi,
this functionality is not currently supported in Sumo.
Sumo DOS plots default to showing contributions from orbitals, so it is likely that a plot of several superimposed PDOS would be totally illegible. Overlaying TDOS plots would be more reasonable, but care should be taken with the energy reference levels.
Sumo does write out DOS data to plain-text files. You should find those files fairly straightforward to import into e.g. GNUPlot, Origin, Grace or a Python script if you would like to make a custom plot. I think some of our users do this routinely.
If/when we improve the Sumo Python API it might become easier to suggest a short script for such things. We'll keep it in mind!


Fix zsh stalled $RANDOM variable

This change references $RANDOM outside the subshell to refresh it for the next subshell invocation. Otherwise, subsequent runs of the function get the same value and, if run simultaneously, they may clobber each others' temp .z files.
This is due to how zsh distributes RANDOM values when running inside a subshell:
subshells that reference RANDOM will result in identical pseudo-random
values unless the value of RANDOM is referenced or seeded in the parent
shell in between subshell invocations

See: http://zsh.sourceforge.net/Doc/Release/Parameters.html#index-RANDOM
Fixes #198
Related: https://github.com/rupa/z/issues/198#issuecomment-417098496

i really wish the solution to this involved seeding $RANDOM, and not sure why that isn't practical.

I haven't really tried the seeding option, I'll let get to you with an answer soon.

So the thing about seeding $RANDOM is that we have to seed it with a changing value, otherwise we're just resetting the PRNG. A solution could be using the timestamp, but that requires using milliseconds. If we used seconds, we could be running multiple z commands with the same RANDOM value again when pressing the enter key repeatedly.
If we have to use milliseconds in zsh, without external dependencies, we'd have to use EPOCHREALTIME and load the module zsh/datetime. Case in point:
testrand() {
  zmodload zsh/datetime;
  (echo $RANDOM);
  RANDOM=$(( EPOCHREALTIME * 1000 ))
}

$  testrand; testrand; testrand; testrand; testrand
23846
26329
11760
6861
25030

I haven't found any other solutions to seeding RANDOM that work or are feasible. So I think just referencing it and letting zsh gives us sequencial values is the best option.

I'm not sure this PR will fix the underlying race condition though, which is the following:

2 _z_precmd executions are run almost simultaneously (due to two consecutive enter keypresses, leading to simultaneous prompt redraws)
Both 1st and 2nd executions read the .z file and compute the new values into a tempfile
Whichever awk computation ends last gets to overwrite .z, having no regard for the other execution's refreshed .z.

To fix this race condition we should go back to having a synchronous precmd function.
It's not as important a use case to warrant switching to the old ways though...

not sure it will help your thinking but in case it does: keep in mind it's not a huge deal if a race condition swallows a keypress or two and the .z file isn't perfectly accurate - things should still work fine if we get 99% of data. the real important thing is not to have a race condition that clobbers the whole file.

Any reason not to merge this @rupa ?
I don't want to use Oh My Zsh, but I do want this fix.

Thanks! :)


Couple of  questions

How would i use a <Link> in an component that doesn't seem to be the wrapping <App /> comoponent? I get this error:
A <Link> should not be rendered outside the context of history; some features including real hrefs, active styling, and navigation will not function correctly
An example of when i would use this is like: https://github.com/rackt/react-router/blob/master/docs/Introduction.md#adding-more-ui and i would put a <Link> inside of the <Message> component.
Also are you able to <Link toName='nameOfRoute'> to link to a <Route> regardless of it's path?

which version of React Router are you using? the 1.0.0-rc1 is not using named routes anymore so you would need to specify the path in your <Link to='/YOUR_PATH'>

I'm using: https://github.com/thereactivestack/meteor-react-router/ which seems to require: 'react-router': '1.0.0-rc1',
Is there a reason named routes were removed? I ask because i use Django mainly at the moment which has a function `{% url 'namespace:name' %} which allows me to change paths without breaking my app. Granted paths are rarely changed it's still a nice little feature.
So is the only way to link to Routes via a path?

Have a look at #1840 there is a discussion about maybe bringing them back.
And yes only via path.

That answers the name question at least thank you :) I do like the Named Component method of doing that though and i could go down that route!
Just a case of finding out how to use <Link> in individual components that don't seem to have access to history

the other question - putting <Link> in the Message component works fine for me

I thought that might break it as it looks similar to the code i have at home. When i get home today i'll post my code example and see if that makes more sense, thanks for your help :)

:+1: let me know, closing for now.

Hey, just uploaded my repo :) The Component i was having trouble with was this one: https://github.com/DanGamble89/meteor-webpack-react-kickstart/blob/master/react/index.jsx#L26
That line throws me the error,

@DanGamble89 are you still having issue with it? sorry I forgot to get back to you.

I haven't tried it again since i've uploaded it but i'm pretty sure that repo has the bug. I'll be trying it again this week so i'll post back in here with what i find again :)


Remove cupyx.allow_synchronize?

cupyx.allow_synchronize (#2808) was introduced originally for both unit tests and users who want to notice device synchronization in their own code.
Application in uint tests was dissmissed (#2893) because much more tests were synchronous than I had expected.
Now I doubt the usefulness of this feature for users as well.
It's fundamentally impossible to eliminate false positives and/or false negatives.
If we took a policy for zero false positives, there would be too many false negatives which I think would make this feature useless.
For example, the documentation of cudaMemcpy says "This function exhibits synchronous behavior for most use cases". If we took this policy, we wouldn't be able to consider this function synchronous, because no condition is mentioned that would make this function asynchronous.
If we took a policy to allow some false positives, this feature wouldn't be used to detect unexpected synchronization in users' code.

+1 for removing sync detect stuff. Currently we rely on (incomplete) knowledge of the CUDA APIs for the (a-)sync behaviors, but for CUDA libraries (cuFFT, cuSOLVER, whatever) we have absolutely no idea in general, unless someone from NVIDIA is willing to sit down with us and mark all public APIs one by one.

I'd like to remove this in v10.


please offer to install "openjdk/openjre" also through gvm

please offer to install "openjdk/openjre" also through gvm

something like

jEnv https://github.com/linux-china/jenv (bash shell)
http://jenv.io/

jenv-ps https://github.com/linux-china/jenv-ps   (power shell)
functionality can be implemented into gvm itself.

jenv: the Java enVironment Manager  ( http://jenv.io/ )
jenv is a tool for managing parallel Versions of Java Development Kits on any system, such as Linux, Mac and Windows. It provides a convenient command line interface for installing, switching, removing and listing Candidates.
Both jEnv and gvm are written in bash. And are having separate implementations.
This jEnv functionality can well be - 'part of gvm'/'reimplemented in gvm from scratch' .  As both are complementary projects.

We have explored this before, and jenv is very different in nature. We do not support platform specific binaries at the moment, but will consider doing so in the future once we have migrated to SDKman.

@marc0der just a remark: you should explicitly state on the front page of the website that SDKman does "not support platform specific binaries at the moment". First time I saw the project I really wondered "so how do I install the JDK ?!".
Regards.

:+1:

Is there any plan do add JDK managment?
For a tool called sdkman! it would be good do embrace THE main sdks used by everyone...

For sure it's going to happen. Only problem is that jdks are platform specific, not universal so we need to do some work to accommodate all flavours of these sdks. Another complication is that we need give an option for users to agree to the EULA associated with Java SDKs.

Just to let everyone know that this is the very next thing on the roadmap. JDKs coming soon!

@marc0der you might wanna check shyiko/jabba out (it offers cross-platform JDK installation/management)

@marc0der Thanks for taking this on! Very cool feature.  Can't wait to try it. Any ETA?

The first pilot will roll out on our beta channel later this week. We will release Java 8 on Linux as a first stab, then release on Mac OSX shortly afterwards. You can join the beta channel by following the instructions on the installation page of our site.

Thats awesome, thank you!
Actually, I just realized that this project is for regular sdkman and i use the posh-gvm port. What needs to happen for it to reach that project?

Yes, unfortunately PoshGVM has gotten far out of date as the contributor no longer seems to have time.
That said, anyone who knows powershell would be more than welcome to update it and raise a PR 🙂


example/gitlab-ha: rename gitlab-asg to gitlab-ha and add RDS/EFS/EC

Rename gitlab-asg to gitlab-ha and update with the components needed to run the Gitlab Rails App on multiple EC2 instances.
Requirements

add an EFS volume, elasticache cluster and RDS instance to our example - make the type of HA in RDS/EC parametized
update the config to render/accept params for EC, EFS, and RDS
incorporate mounting EFS during init
consider dropping the EBS volume, it might be possible, but not required
while we plan to use ASG with multiple web workers, the goal for this first issue is to get EFS/RDS/EC functional with the existing gitlab setup on the single node ASG - we'll refactor the ASG for horizontal scalability in a separate issue.

We have gitlab-asg renamed to gitlab-simple-ha and a duplicate made for this ticket as gitlab-ha


Aeson compatiblity

@newhoggy What is the motivation behind compatibility with aeson 1.x? I am only asking because I think it will require quite a bit more work to make the rest of cardano ecosystsem compatible with both 2.x and 1.x aeson. Is there a plan to do all that work and is that work justified?

Sorry.  It's just a draft at the moment.  I'm curious what break.

Looks like cardano-base already builds with both version.  😁


Add Http3ServerConnectionHandler that allows to handle http3 on the s…

…erverside.
Motivation:
We should provide a handler that makes it easy for users to use http3
Modifications:

Add Http3ServerConnectionHandler that has basic support for handling http3
Add an example to show it in action

Result:
Handle http3 on the server side

There is a still a lot missing but I wanted to share it early to give some heads-up etc.
At least I can use quiche example to talk with it :)
➜  quiche git:(master) ✗ ./target/debug/examples/http3-client https://<IP_ADDRESS>:9999
Not Found

/cc @kachayev


Vault configurer pod struck in CrashLoopBackOff

Vault configurer pod is struck in CrashLoopBackOff intermittently after using the latest stable image.
Vault-configurer log
time="2018-08-02T14:41:20Z" level=info msg="New config file change "Initial": CREATE"
time="2018-08-02T14:41:20Z" level=info msg="checking if vault is sealed..."
time="2018-08-02T14:41:20Z" level=info msg="vault is not sealed, configuring..."
panic: interface conversion: interface {} is nil, not []interface {}
goroutine 1 [running]:
github.com/banzaicloud/bank-vaults/pkg/vault.(*vault).Configure(0xc4203e15a0, 0x0, 0x0)
/go/src/github.com/banzaicloud/bank-vaults/pkg/vault/vault.go:336 +0x1a31
main.glob..func1.3(0x17b8d00, 0xc4203e15a0)
/go/src/github.com/banzaicloud/bank-vaults/cmd/bank-vaults/configure.go:140 +0x159
main.glob..func1(0x21a26c0, 0xc420104780, 0x0, 0xc)
/go/src/github.com/banzaicloud/bank-vaults/cmd/bank-vaults/configure.go:148 +0x549
github.com/banzaicloud/bank-vaults/vendor/github.com/spf13/cobra.(*Command).execute(0x21a26c0, 0xc4201046c0, 0xc, 0xc, 0x21a26c0, 0xc4201046c0)
/go/src/github.com/banzaicloud/bank-vaults/vendor/github.com/spf13/cobra/command.go:760 +0x2c1
github.com/banzaicloud/bank-vaults/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x21a2b80, 0x7e96a7, 0xc420092540, 0x12b4000)
/go/src/github.com/banzaicloud/bank-vaults/vendor/github.com/spf13/cobra/command.go:846 +0x30a
github.com/banzaicloud/bank-vaults/vendor/github.com/spf13/cobra.(*Command).Execute(0x21a2b80, 0x7e97cf, 0xc420092540)
/go/src/github.com/banzaicloud/bank-vaults/vendor/github.com/spf13/cobra/command.go:794 +0x2b
main.execute()
/go/src/github.com/banzaicloud/bank-vaults/cmd/bank-vaults/main.go:63 +0x2d
main.main()
/go/src/github.com/banzaicloud/bank-vaults/cmd/bank-vaults/main.go:151 +0x25

There is an ongoing implementation to validate the external configuration, which is probably not correct in your case, or something that we don't support. Could you please paste it here?

@bonifaido Found this in the stand by Vault log. Seems like stand by vault pod is having trouble forwarding request to active vault pod.
==> Vault server configuration:
         Api Address: https://vault.default:8200
                 Cgo: disabled
     Cluster Address: https://vault.default:8201
          Listener 1: tcp (addr: "<IP_ADDRESS>:8200", cluster address: "<IP_ADDRESS>:8201", tls: "enabled")
           Log Level: debug
               Mlock: supported: true, enabled: true
             Storage: etcd (HA available)
             Version: Vault v0.10.3
         Version Sha: c69ae68faf2bf7fc1d78e3ec62655696a07454c7

==> Vault server started! Log data will stream in below:
2018-08-02T15:32:10.244Z [DEBUG] storage.cache: creating LRU cache: size=0
2018-08-02T15:32:10.258Z [DEBUG] cluster listener addresses synthesized: cluster_addresses=[<IP_ADDRESS>:8201]
2018-08-02T15:32:10.740Z [DEBUG] core: cannot unseal, not enough keys: keys=1 threshold=3 nonce=e8a77df3-510d-1269-4928-524d45e452af
2018-08-02T15:32:10.831Z [DEBUG] core: cannot unseal, not enough keys: keys=2 threshold=3 nonce=e8a77df3-510d-1269-4928-524d45e452af
2018-08-02T15:32:10.866Z [INFO ] core: vault is unsealed
2018-08-02T15:32:10.866Z [INFO ] core: entering standby mode
2018-08-02T15:32:13.377Z [DEBUG] core: parsing information for new active node: active_cluster_addr=https://vault.default:8201 active_redirect_addr=https://vault.default:8200
2018-08-02T15:32:13.377Z [DEBUG] core: refreshing forwarding connection
2018-08-02T15:32:13.377Z [DEBUG] core: clearing forwarding clients
2018-08-02T15:32:13.377Z [DEBUG] core: done clearing forwarding clients
2018-08-02T15:32:13.377Z [DEBUG] core: done refreshing forwarding connection
2018-08-02T15:32:13.378Z [DEBUG] core: creating rpc dialer: host=fw-1f6eca84-6628-5b17-6e15-072b6343fcef
2018-08-02T15:32:15.378Z [DEBUG] core: forwarding: error sending echo request to active node: error="rpc error: code = DeadlineExceeded desc = context deadline exceeded"
2018-08-02T15:32:20.378Z [DEBUG] core: forwarding: error sending echo request to active node: error="rpc error: code = DeadlineExceeded desc = context deadline exceeded"
2018-08-02T15:32:25.379Z [DEBUG] core: forwarding: error sending echo request to active node: error="rpc error: code = DeadlineExceeded desc = context deadline exceeded"
2018-08-02T15:32:30.378Z [DEBUG] core: forwarding: error sending echo request to active node: error="rpc error: code = DeadlineExceeded desc = context deadline exceeded"
2018-08-02T15:32:33.378Z [DEBUG] core: forwarding: error sending echo request to active node: error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure"
2018-08-02T15:32:33.378Z [DEBUG] core: creating rpc dialer: host=fw-1f6eca84-6628-5b17-6e15-072b6343fcef
2018-08-02T15:32:40.378Z [DEBUG] core: forwarding: error sending echo request to active node: error="rpc error: code = DeadlineExceeded desc = context deadline exceeded"
2018-08-02T15:32:45.378Z [DEBUG] core: forwarding: error sending echo request to active node: error="rpc error: code = DeadlineExceeded desc = context deadline exceeded"
2018-08-02T15:32:50.378Z [DEBUG] core: forwarding: error sending echo request to active node: error="rpc error: code = DeadlineExceeded desc = context deadline exceeded"
2018-08-02T15:32:53.378Z [DEBUG] core: forwarding: error sending echo request to active node: error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure"
2018-08-02T15:32:53.379Z [DEBUG] core: creating rpc dialer: host=fw-1f6eca84-6628-5b17-6e15-072b6343fcef

Here you can check and match if your configuration is correct: https://github.com/banzaicloud/bank-vaults/blob/master/vault-config.yml

apiVersion: "vault.banzaicloud.com/v1alpha1"
kind: "Vault"
metadata:
name: "vault"
spec:
size: 2
image: vault:0.10.3
bankVaultsImage: banzaicloud/bank-vaults:latest
Describe where you would like to store the Vault unseal keys and root token.
unsealConfig:
aws:
kmsKeyId: 937aa21e-0fdb-40bb-917c-2814ef4267f5
kmsRegion: us-east-1
s3Bucket: vault.k8s.eis-platformdevqa.cloud
s3Region: us-east-1
A YAML representation of a final vault config file.
See https://www.vaultproject.io/docs/configuration/ for more information.
config:
storage:
etcd:
address: https://etcd-cluster:2379
ha_enabled: "true"
listener:
tcp:
address: "<IP_ADDRESS>:8200"
tls_cert_file: /vault/tls/server.crt
tls_key_file: /vault/tls/server.key
api_addr: https://vault.default:8200
ui: true
See: https://github.com/banzaicloud/bank-vaults#example-external-vault-configuration for more details.
externalConfig:
policies:
- name: allow_secrets
rules: path "secret/*" {
capabilities = ["create", "read", "update", "delete", "list"]
}
auth:
- type: aws
config:
access_key: AKIAJXVMIXNB4WRAALNA
secret_key: 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
region: us-east-1
roles:
# Add roles for AWS instances or principals
# See https://www.vaultproject.io/api/auth/aws/index.html#create-role
- name: dev-role-iam
bound_iam_principal_arn: arn:aws:iam::866112470418:role/RoleEksWorkers
policies: allow_secrets
period: 1h

apiVersion: "vault.banzaicloud.com/v1alpha1"
kind: "Vault"
metadata:
  name: "vault"
spec:
  size: 2
  image: vault:0.10.3
  bankVaultsImage: banzaicloud/bank-vaults:latest

  # Describe where you would like to store the Vault unseal keys and root token.
  unsealConfig:
    aws:
      kmsKeyId: 937aa21e-0fdb-40bb*******
      kmsRegion: us-east-1
      s3Bucket: vault.k8s.eis-platformdevqa.cloud
      s3Region: us-east-1

  # A YAML representation of a final vault config file.
  # See https://www.vaultproject.io/docs/configuration/ for more information.
  config:
    storage:
      etcd:
        address: https://etcd-cluster:2379
        ha_enabled: "true"
    listener:
      tcp:
        address: "<IP_ADDRESS>:8200"
        tls_cert_file: /vault/tls/server.crt
        tls_key_file: /vault/tls/server.key
    api_addr: https://vault.default:8200
    ui: true

  # See: https://github.com/banzaicloud/bank-vaults#example-external-vault-configuration for more details.
  externalConfig:
    policies:
    - name: allow_secrets
      rules: path "secret/*" {
              capabilities = ["create", "read", "update", "delete", "list"]
            }
    auth:
    - type: aws
    config:
      access_key: AKIA******
      secret_key: kQcwfb/Vb********
      region: us-east-1
    roles:
    # Add roles for AWS instances or principals
    # See https://www.vaultproject.io/api/auth/aws/index.html#create-role
    - name: dev-role-iam
      bound_iam_principal_arn: arn:aws:iam::********:role/RoleEksWorkers
      policies: allow_secrets
      period: 1h

@bonifaido Configurer is running as expected without crashing intermittently. You can close this issue.

Great! I have opened up another issue for the cluster port problem, it will be resolved soon: https://github.com/banzaicloud/bank-vaults/issues/110

@gowthamsubbu the second issue that you have seen in the logs messages will be fixed by: https://github.com/banzaicloud/bank-vaults/pull/113


Which Tasks are supported by server (aka agentless) jobs?

Please link to or document the tasks that are supported by agentless jobs here

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

ID: 67504b34-d64b-02a4-2e10-ab99f3b8cfe4
Version Independent ID: 2cf63b2e-184b-7726-3b8a-d8baffd6fcce
Content: Jobs in Azure Pipelines and TFS - Azure Pipelines
Content Source: docs/pipelines/process/phases.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

Fixed in this issue - https://github.com/MicrosoftDocs/azure-devops-docs/issues/8875.

@juliakm that issue is marked as duplicate of this one and closed...


[diags] Also call Diags::ReceiveDone for RCP mode

We have some platform-specific diag functionalities implemented in
otPlatDiagRadioReceived. However, for RCP mode, otPlatDiagRadioReceived is
called on the posix host which has an empty implementation. This PR implemented
Diags::ReceiveDone for RCP so that otPlatDiagRadioReceived will also be
called on RCP and has no effect on the host side.

DIscussed with @zhanglongxia We may use another approach.


Feature Request: Offline Face Matching Support

Hello,
Firstly, thank you for creating the flutter_face_api package. It has been very useful for my facial recognition project.
I have a feature request that I believe could improve the functionality of this package. I noticed that the package performs face matching using online resources. Due to the specific requirements of my project, I am in need of a solution that works offline.
Is it possible to add a feature that allows face matching to be performed entirely offline? Having the ability to perform this operation locally on the device would be extremely beneficial for use-cases where an internet connection is not available or not desirable.
Here's how I envision the API might look:
FlutterFaceApi.matchFacesOffline(face1, face2);
Or
FlutterFaceApi.matchFaces(face1, face2, offline: true);
I understand that maintaining an open-source project is a significant commitment, and I appreciate the effort you've put into this package. I would be thrilled to see this feature implemented and am looking forward to your thoughts on this request.
Thank you for considering this feature!
Best regards, Freilyn Bernabe

same i am also looking for offline package

same I am also looking for an offline package.


Error: unable to download JSON metadata: TTP Error 401: unauthorized

On a windows machine
Works with youtube songs but not with soundcloud links for some reason? Tried uninstalling the bot and reinstalling it but that didn't change the error I was getting.

I've been having the same issue for a few days as well, i think it might be something to do with sound-cloud SPECIFICALLY. as in they possibly blocking the bot from their site.

https://github.com/Just-Some-Bots/MusicBot/issues/846


Avoid throwing exception when receiving invalid SqlNotificationInfo value

Addresses #1376
When receiving an invalid SqlNotificationInfo value, an exception would be thrown because the call to Enum.Parse fails. We can use Enum.TryParse to avoid this. The result will still be SqlNotificationInfo.Unknown either way.

Can you add a test case here to cover this code block?

Can you add a test case here to cover this code block?

I was unable to reproduce it but this is a server-side bug so it shouldn't be occurring. If it does, we'll avoid throwing an unnecessary exception.


Fix bug in Body(2D)SW::add_area

Since my patch ( #1691 ) to implement AREA_COMBINE mode a bug was introduced in BodySW and Body2DSW add_area function.
The data structure containing the areas the body was in used to be a SET but was converted to an ARRAY to implement priority.
The rest of the engine though did not check if the body was already inside an area when calling body->add_area. This basically causes the _update_shape signal to add the same area multiple times to the same body object. A very quick test for this is to change the shape of an area in combine mode after _ready (even setting it as the same value it used to be).
If you want a very simple demo project to test both the bug and the patch have a look at:
https://github.com/Faless/add_area_bug

Sorry to bump, this is a very nasty bug with a very easy fix (2 lines of code), can someone have a look a it a give an opinion? I remember @reduz merged my previous patch.

Wouldn't it be more logical to add this check in the places where add_area is called instead of inside the function?

Wouldn't it be more logical to add this check in the places where add_area is called instead of inside the function?

Yes, I thought about that.
I decided to go for this fix because this is how it used to work before #1691 .
See: https://github.com/godotengine/godot/pull/1691/files#diff-49cb8bade42256f0f8868eada7be6b34L100
Specifically the "areas" variable in servers/physics_2d/body_2d_sw.h used to be a VSet which internally does exactly the same procedure when calling insert (doing a _find before actually adding the element) (see core/vset.h).
Of course another solution might be possible but might also end up being a more bug-prone fix when modifying shapes behviours.

by looking at the code, I think the problem you might have is that multiple shapes of an area can call the add and remove functions multiple times, which is a problem. The way to solve this is most likely using a reference counter (each time add() is called that it exists, it increments the counter, and each time the area is removed, then the reference counter is decreased, and frees when it reaches zero)

try changing it to use a VMap<Area*,int> where int is the reference counter

Hi @reduz !
Thank you for your suggestions and sorry if it took me a while to reply.
So, I understand what you are saying regarding having multiple shapes in the same area, that is a problem with the current implementation.
Anyway, my original problem was another one, I only had one shape in each area, but I realized that when updating the shape (using set_radius), the code was actually creating a new one.
That was due to the function CollisionObject2D::_update_shapes_from_children not properly calling clear_shapes. This is fixed in my first commit ( e06fae67e5dc6af9e28a60cc8e02da43b89ed0b0 )
The I moved to fixing the problem you mentioned (having multiple shapes in the same area).
I first tried to use a VMap but I soon remembered that I needed the data to be in a sortable array based on the priority (which was quite tricky with a VMap). So I decided to keep the current data structure (Vector) but adding a field to the AreaCMP data structure to keep the reference count.
This is done in the second commit ( b6da74d89e88296fb2fff40067deeae354445d69 )
Sorry for the lengthy post, I hope I explained myself, if you have any doubt don't hesitate to ask

UPDATE
I slightly changed the first commit to better fit the coding style.


Removed erroneous check

Well-intentioned as it might have been, this check for "?" in the entire query string causes a 500 in case one of the arguments contains a "?", which is perfectly valid as per https://www.w3.org/Addressing/URL/uri-spec.txt

CONVENTIONAL URI ENCODING SCHEME
Where the local naming scheme uses ASCII characters which are not
allowed in the URI,  these may be represented in the URL by a
percent sign "%" immediately followed by two hexadecimal digits
(0-9, A-F) giving the ISO Latin 1 code for that character.
Character codes other than those allowed by the syntax shall not be
used unencoded in a URI.

and https://tools.ietf.org/html/rfc3986#section-3.4

The characters slash ("/") and question mark ("?") may represent data
within the query component.  Beware that some older, erroneous

This causes issues for alle clients, notably Teamcraft:

Universalis, which will forever show a progress indicator with no further indication as to what's going on:

but which behind the scenes runs into this issue:

and possibly Garland Tools which seem to have added a workaround by removing all occurrences of "?" from the supplied arguments which in turn leads to wrongly reporting an empty string when the input consists only of "?":
{"error":"syntax error, unexpected $end, expecting FTS_TERM or FTS_NUMB or '*'"}

as can be seen here: https://www.garlandtools.org/api/search.php?text= &lang=en
and here, respectively: https://www.garlandtools.org/api/search.php?text=ano%3Ft%3Fher egg&lang=en
I understand the desire to point users of xivapi less familiar with URL encoding to a helpful resource, such as Wikipedia. However, it is wrong to do so at the expense of compatibility with the spec, IMHO.
As such, even though this PR removes this "feature", I is still consider it an improvement over the current behaviour until someone re-implements this without breaking the spec.
Please note, that I have not tested this locally, because I don't have a PHP development environment set up and don't plan on changing that any time soon. Obviously, if you see something wrong with this, please do not hesitate to edit this PR.

You will get a lot of developers come with requests like this: https://xivapi.com/search?string=hello?limit=5
Just have to inform them now there is no error.

I think this is less likely to happen now, and if it's at the cost of having question mark forbidden entirely inside the query string, I don't think it's worth it, especially with fuzzy and wildcard search.

You will get a lot of developers come with requests like this: https://xivapi.com/search?string=hello?limit=5

That is quite possible, indeed. As stated in the PR:

I understand the desire to point users of xivapi less familiar with URL encoding to a helpful resource, such as Wikipedia. However, it is wrong to do so at the expense of compatibility with the spec, IMHO.

I did try to think of a correct solution that would reliably detect such misuse, but to do that you would have to get hold of a version of the query string that was not yet decoded from its URL encoding. Then, and only then, could you test if there was a literal ? (as opposed to %20) in the remainder of the query string (after the first ?).
In the end, though, you have to draw the bar somewhere, e.g., do you want to detect if people misspelled the parameter names? serch instead of search? Just saying. If drawing the bar at “let’s check for multiple ?” saves you from a lot of questions then by all means, go for it. However, I don’t actually know if PHP provides a non decoded form of the query string, so it might be that it is simply not possible.


dnx hangs in docker container

I am trying to build docker container with dev build of dotnet coreclr following is my docker file
FROM debian:jessie

ENV DNX_VERSION 1.0.0-rc2-16351
ENV DNX_USER_HOME /opt/DNX_BRANCH
#Currently the CLR packages don't have runtime ids to handle debian:jessie but
#we are making sure that the dependencies are the right versions and are opting for
#the smaller base image. So we use this variable to overwrite the default detection.
ENV DNX_RUNTIME_ID ubuntu.14.04-x64

RUN apt-get -qq update && apt-get -qqy install unzip curl libicu-dev libunwind8 gettext libssl-dev libcurl3-gnutls zlib1g && rm -rf /var/lib/apt/lists/*

RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_USER_HOME=$DNX_USER_HOME DNX_BRANCH=v$DNX_VERSION sh
RUN bash -c "source $DNX_USER_HOME/dnvm/dnvm.sh \
&& dnvm install $DNX_VERSION -alias default -r coreclr -u\
&& dnvm alias default | xargs -i ln -s $DNX_USER_HOME/runtimes/{} $DNX_USER_HOME/runtimes/default"

# Install libuv for Kestrel from source code (binary is not in wheezy and one in jessie is still too old)
# Combining this with the uninstall and purge will save us the space of the build tools in the image
RUN LIBUV_VERSION=1.4.2 \
&& apt-get -qq update \
&& apt-get -qqy install autoconf automake build-essential libtool \
&& curl -sSL https://github.com/libuv/libuv/archive/v${LIBUV_VERSION}.tar.gz | tar zxfv - -C /usr/local/src \
&& cd /usr/local/src/libuv-$LIBUV_VERSION \
&& sh autogen.sh && ./configure && make && make install \
&& rm -rf /usr/local/src/libuv-$LIBUV_VERSION \
&& ldconfig \
&& apt-get -y purge autoconf automake build-essential libtool \
&& apt-get -y autoremove \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/*

ENV PATH $PATH:$DNX_USER_HOME/runtimes/default/bin

Now when I build my app image for docker using the above image dnx command hangs after its output and doesn't complete.
Following is my docker file
FROM aspnet-rc2

ADD . /app

WORKDIR /app/approot

RUN [ "dnu", "restore", "--runtime", "ubuntu.14.04-x64", "--source", "https://www.myget.org/F/dotnet-core/", "--fallbacksource", "https://www.nuget.org/api/v2/"]

EXPOSE 7600

ENTRYPOINT ["./web"]

Following is the image which is the output of dnx --version, it never completes.

Where as rc1-update1 works fine. If there is open bug around this, could you please tell me last RC2 build which works.
This can easily be reproduced if you create a container using
docker run -i -t debian:jessie
and isntall DNVM on it and run dnvm upgrade -r coreclr -u
and execute dnx --version
Please help!

Opened it in coreclr, i guess that is the right place.


"Repeat a string repeat a string", my code working but not passing the challenge please help

Challenge Repeat a string repeat a string has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
var finString = "";
function repeatStringNumTimes(str, num) {
  // repeat after me
  for(var i=1; i<=num; i++){
    finString+=str;
  }
  return finString;
}
repeatStringNumTimes("abc", 4);

yes i requested in help room but nobody responding in that..........


Faster builds & exact search

:tada: This PR is included in version 2.5.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Minor spelling correction

Minor spelling correction in client_api.rst

FlakyConsumerRealtimeClusterIntegrationTest seems to have failed. Created a tracker for it.


[Windows] What to do when a klc can't be processed by MKLC?

Hi,
I stumble upon this project because MKLC is limited on how it processes dead keys.
For instance this file: https://download.tuxfamily.org/dvorak/windows/1.1rc2/bepo-1.1rc2-full.klc
(bépo is a Dvorak inspired layout for French)
We encounter:
Error 2025 (bepo-1.1rc2-full.klc, line 157):
    DEADKEY character value was badly formed

Do you guys have enough knowledge to generate the DLL directly from kbdgen?
I tried to read some documentation, but apart from a example of a C file, I can't find anything about it :(

Thanks for your answer, I’ll go and see if I can navigate my way with KbdUTool :) I know Bépo is being ship with Win 11 (not yet on stable AFAIK) but I made some tweaks on the layout, that’s why I’m looking for a way to build it :)


Changing CI to use on-demand runner system

We can rebase when merging — this is based on a commit from 2022.


feat: added donasi on hamburger menu

solve issue https://github.com/kawalcovid19/wargabantuwarga.com/issues/599
Description
Adding menu to reach donation page (/donasi)
Current Tasks

[x] Add new icon on the Homepage
[x] Add new link on the Hamburger Menu
[x] Add test case to assert new addition

following PR https://github.com/kawalcovid19/wargabantuwarga.com/pull/604
I decided to modify the last updated test

Donasi page already on master.
Can we speed up this PR?

@mazipan just resolved the conflict, supposed to be ready to be reviewed

@all-contributors please add @ryanadhi for code


Build folly faile

Package: folly:x64-windows
Vcpkg version: 0.0.100-2017-12-07-48c4b79be510c5aff3f28079b7875a95497691e5

Can you provide build log?

I also tried to build folly yesterday night. Attach the build log.
install-x64-windows-rel-out.log

Could you try Visual Studio to Update 5?

This is my log file (the version of Visual Studio is 14.0.25431.01 Update 3) :
install-x64-windows-rel-out.log

folly\IPAddressV6.cpp(441): error C2666: 'inet_ntop': 2 overloads have similar conversions

I think it depends on which Windows SDK version you using https://github.com/facebook/folly/issues/677#issuecomment-333019809

This issue fixed in Folly

I am getting the same build error related to inet_ntop on the latest master. I have only the Windows 8.1 SDK installed to save disk space. Is this insufficient for building folly?

It should be

Hi @lixinyancici @cppcraze @oatastemur , thanks for post this issue, that's makes vcpkg better!
This issue should be fixed in nearly PR. Can you update and rebuild it?
Thx.


decode topic MQTT for multi-sensor (IDFGH-3703)

hi  @david-cermak
iam using application with multi-sensor so i need to subscribe to may topic ,
usign ** mqtt_event_handler(esp_mqtt_event_handle_t event) **
the examples works fine, but to be honest I have not understood the concept how to use it right.
for subscribe iam using case MQTT_EVENT_DATA i dont know if there another method ?
so i want to decode topic but i have problem :

Hi @SERIDJ
Yes, the only way to receive published data is to register to MQTT_DATA_EVENT. Please check the documentation on this event https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/protocols/mqtt.html#events, the general idea is to check the actual and total data length. you can check an internal test code in idf how the longer data are reconstructed: https://github.com/espressif/esp-idf/blob/master/tools/test_apps/protocols/mqtt/publish_connect_test/main/publish_test.c#L74. Please note that the topic and message id is valid only for the first data event.

You can use a FreeRTOS queue for handling MQTT data.

// Set the queue size and stack size according to your data-length
# define MQTT_QUEUE_SIZE 8
# define MQTT_DATA_TASK_SIZE 2048

static const char * TAG_MQTT_UTILS = "MQTT_UTILS"

// MQTT Data struct
typedef struct
{
    char * topic
    char * payload
} mqtt_event_data_t;

// MQTT Data queue handle
static QueueHandle_t mqtt_data_queue;

esp_err_t mqttHandleDataReceived(const char * topic, const char * data)
{
    // Process your data....
}

void mqttEventDataTask(void * arg)
{
    mqtt_event_data_t recv_data = {0}

    while (true)
    {
        if (xQueueReceive(mqtt_data_queue, & recv_data, (portTickType)portMAX_DELAY))
        {
            mqttHandleDataReceived(recv_data.topic, recv_data.payload);
        }
    }
}

esp_err_t mqttCallback(esp_mqtt_event_handle_t event)
{
    ...

    mqtt_event_data_t send_data = {0};

    switch(event -> event_id)
    {
        ...

        case MQTT_EVENT_DATA:
            ESP_LOGI(TAG_MQTT_UTILS,  "MQTT_EVENT_DATA");
            ESP_LOGI(TAG_MQTT_UTILS, "Topic: %.*s, Data length: %d", event -> topic_len, event -> topic, event -> data_len);

            // Loading Queue
            send_data.topic = event -> topic;
            send_data.payload = event -> data;

            ESP_LOGI(TAG_MQTT_UTILS,  "MQTT Data sending through queue");
            xQueueSend(mqtt_data_queue, & send_data, (portTickType)portMAX_DELAY);

            break;

        ...
    }
    ...
}

void initMQTT(void)
{
    // ESP-IDF MQTT Initialisation functions...

    mqtt_data_queue = xQueueCreate(MQTT_QUEUE_SIZE, sizeof(mqtt_event_data_t));
    xTaskCreate(mqttEventDataTask, "mqtt_event_data_task", MQTT_DATA_TASK_SIZE, NULL, 6, NULL);
}

@laukik-hase  yes that work well thanks , please do u know what is min time between 2 publish with mqtt  (esp_mqtt_client_publish)
bcs i have until 32 value and if i use vTaskDelay 1s so that take 32s to send all value , and i dont know if mqtt library is Thread safety too ?

@SERIDJ About the thread safety, functions like the esp_mqtt_subscribe(...) and esp_mqtt_publish(...) are thread-safe as given in ESP-IDF MQTT docs.
Could be more clear about the first question?

@laukik-hase yes i mean what is minimum time between 2 publish data to broker mqtt like
'''
while (1) {
esp_mqtt_client_publish(client,topic,data1,strlen(data1), 0, 0);
vTaskDelay(X/ portTICK_PERIOD_MS);
esp_mqtt_client_publish(client,topic,data2,strlen(data2), 0, 0);
vTaskDelay(X/ portTICK_PERIOD_MS);
.
.
.
'
esp_mqtt_client_publish(client,topic,data32,strlen(data32), 0, 0);
vTaskDelay(X/ portTICK_PERIOD_MS);
''
}

@SERIDJ  I don't think there is any minimum interval between two esp_mqtt_publish(...) calls. You can test this in a while(true) loop if you want. Just take care that you are not subscribed to the topic you are publishing to.

@laukik-hase  yes, and that not saturated mqtt protocol if i send data without delay like :
while(1) {
esp_mqtt_client_publish(client,topic,data1,strlen(data1), 0, 0);
esp_mqtt_client_publish(client,topic,data1,strlen(data2), 0, 0);
esp_mqtt_client_publish(client,topic,data1,strlen(data3), 0, 0);
.
.
.
esp_mqtt_client_publish(client,topic,dataXstrlen(dataX), 0, 0);
}
there is some execution time for fonction but for me  I thought that creates some issue with time .

Good. You can close the issue if you have no further queries.


checklist html generation bug

I see unclosed tag when I add checklist to the note:
Here is fourth list

Apple

Watermelon

Orange

see at the end there is closing div, but no closing li or ul.

ok, I think this extra condition is missing https://github.com/threeplanetssoftware/apple_cloud_notes_parser/blob/0704c3b739a10a6b01b8f020eaf9e3e3d77373b7/lib/AppleNote.rb#L616-L623. I can add it.

Thanks, this is fixed in the working branch. Closing this issue since it'll land with everything else.


Module 1: Introduction to .NET Aspire

Staging link
PR: https://github.com/MicrosoftDocs/learn-pr/pull/42708

Associated WorkItem - 215926

@CamSoper I've propagated your feedback on module 2 into this module. I may not have gone far enough in places so please feel free to be brutal! Thanks!

@alistairmatthews I've got a review in progress for you, but I wasn't able to finish it today. The tl;dr of it is that it looks great in terms of structure. Any suggestions I would make are generally just wording changes.
I'll get that full review done tomorrow for you! :)

@CamSoper I've integrated your feedback. Thanks for your help!

I've created a clean PR: #44674
Staging link
Ready to merge.

Previous PR was "accidentally" merged with blocking issues outstanding. I've created a new one: https://github.com/MicrosoftDocs/learn-pr/pull/44687
Staging link


Explicitly set the version to X.509v3

As extensions are now included in the certificate, explicitly indicate
that it is a v3 certificate and not a v1 certificate (v1/v2 does not
include extensions).
Note that because X.509 is 0-based for the version, set_version(2)
indicates V3 certificates.

@nedn For you to consider :)

Coverage increased (+0.008%) to 68.391% when pulling c3c85ef8213c998547cd37f33d7eb12afd121137 on sleevi:wpr_fix_two into 538d30fa1b1ff1e549d9fbc09ed2f60e5f87861b on chromium:master.

Can you add test coverage?

Done. Let me know if you had something else in mind.

Coverage decreased (-0.04%) to 68.348% when pulling<PHONE_NUMBER>447eab44c1138d0236bb8a026a7515 on sleevi:wpr_fix_two into 538d30fa1b1ff1e549d9fbc09ed2f60e5f87861b on chromium:master.

You have any idea why is httpproxy_test is failing in the travis build?

Flaky test. I closed & re-opened to try and rerun it.


CORE-6497 Uniqueness checker message bus integration

Summary
This change exposes the uniqueness checker component to the message bus. This is achieved by introducing a durable subscription and corresponding durable processor that listens to messages on the new uniqueness check topic introduced in the corresponding API PR (https://github.com/corda/corda-api/pull/575). The message process simply delegates to the existing request processing logic in the uniqueness checker. Responses are returned using the external event response API. This allows a notarisation flow to request uniqueness checking and receive responses using the external events API.
Testing
A new set of integration tests, MessageBusIntegrationTests has been introduced, which uses the DB based message bus to ensure that messages can be sent to the uniqueness check topic, processed correctly by the uniqueness checker, and an appropriate response is placed on the flow events topic for consumption by the external events implementation. These tests are not exhaustive, and complement the existing tests:

UniquenessCheckerImplTests: Unit tests that directly test BatchedUniquenessCheckerImpl, using a fake backing store
UniquenessCheckerImplDBIntegrationTests: Integration tests that directly test BatchedUniquenessCheckerImpl, using JPABackingStore with a real database (HSQLDB or Postgres)
MessageBusIntegrationTests: Integration tests that place requests on the DB based message bus and listen to responses on the flow events topic. Processing performed by BatchedUniquenessCheckerImpl, using a fake backing store

The new tests are a small subset of the tests used in the unit tests; the intent is simply to ensure that we correctly receive each type of success and error response back from the flow events topic. Comprehensive functional testing is carried out by the existing tests.
Also manually spun up a corda cluster and verified that the DB worker continues to start successfully.

@lankydan included you specifically as thought you might be interested in TestExternalEventResponseMonitor.kt


App and device crash on Android 11 after about 200 photos

Bug Report
Problem
After taking somewhere between 195 to 218 photos on Android 11, the app (and sometimes the entire device) will crash.  Performed this test several times on same device running Android 10 and able to surpass 1,000 photos without crashing.
What is expected to happen?
The camera should continue functioning without crashing the application or device
What does actually happen?
The app crashes. Root error appears to be an out of memory error which matches all the symptoms; camera getting slower and slower until crash, app not working properly until device re-booted. If user continues to press camera capture button, while the screen is frozen, the device will sometimes crash.
Information
Stack trace:
02-15 18:02:36.390 13006 13257 E AndroidRuntime: Process: com.google.android.GoogleCamera, PID: 13006
02-15 18:02:36.390 13006 13257 E AndroidRuntime: java.lang.OutOfMemoryError: Failed to allocate a 1981728 byte allocation with 550752 free bytes and 537KB until OOM, target footprint 536870912, growth limit 536870912
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at java.util.Arrays.copyOf(Arrays.java:3161)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at qlc.write(PG:2)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at ngk.b(PG:1)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at ngl.write(PG:7)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at com.google.common.io.ByteStreams.copy(PG:4)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at com.google.android.libraries.camera.exif.ExifInterface.h(PG:4)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at ilz.R(PG:7)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at icg.run(PG:87)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at ibb.run(PG:2)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:923)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	at msl.run(PG:2)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 	Suppressed: java.lang.OutOfMemoryError: Failed to allocate a 1981728 byte allocation with 542240 free bytes and 529KB until OOM, target footprint 536870912, growth limit 536870912
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 		at java.util.Arrays.copyOf(Arrays.java:3161)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 		at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 		at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 		at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 		at qlc.write(PG:2)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 		at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 		at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 		at java.io.FilterOutputStream.close(FilterOutputStream.java:179)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 		at ngl.close(PG:4)
02-15 18:02:36.390 13006 13257 E AndroidRuntime: 		at com.google.android.libraries.camera.exif.ExifInterface.h(PG:3)
Command or Code
Environment, Platform, Device
Android 11 on a Samsung S20 and a Google Pixel 4XL
The camera will go beyond 1,000 consecutive photos without crashing the app on Android 6 thru Android 10 (same devices running Android 10; different devices running Android 6 thru 9)
Version information
cordova 10.0.0
cordova android 9.0.0
cordova-plugin-camera 5.0.1
Have also tested dev version of cordova-plugin-camera 5.0.2 that included the fix for ticket #665 and the same crash happens. We've been following ticket #665 closely hoping that it would fix this issue, but it did not.
Checklist

[x] I searched for existing GitHub issues
[x] I updated all Cordova tooling to most recent version
[x] I included all the necessary information above

As the stack trace indicates, this is not a problem with the camera plugin, but a problem with the Camera app itself.
02-15 18:02:36.390 13006 13257 E AndroidRuntime: Process: com.google.android.GoogleCamera, PID: 13006
...
02-15 18:02:36.390 13006 13257 E AndroidRuntime: at com.google.android.libraries.camera.exif.ExifInterface.h(PG:3)

There isn't anything Cordova can do about this unfortunately. I'd advise searching and reporting bugs on Google Apps on their issue tracker.

I'm not sure about that, I met exactly the same problem, we're testing our App on these new devices having Android 11, and my App was working when I take "black photos", with low size, but when I pick photos > 3MB or 4 MB, it crashed.
I think this is related to the destinationType property, I'm returning directly the base 64 encoded string and it is very intensive data.
There is a warning about this.

I'm returning directly the base 64 encoded string and it is very intensive data.

There is also nothing Cordova can do about Base64 encoded images. Modern phones can return a very large resolution for images, and these phones can also be paired with low memory resources. Base64 will blow up the size of any binary file by about ~30%. Additionally, it needs to copy that data from native to the webview. This results in high memory usage spikes. Strings in the JS environment are also pass-by-value, so they are furthered copied for every time you pass that string around in your application.
Cordova makes note of this in the example:
/**
 * Warning: Using DATA_URL is not recommended! The DATA_URL destination
 * type is very memory intensive, even with a low quality setting. Using it
 * can result in out of memory errors and application crashes. Use FILE_URI
 * instead.
 */

Using FILE_URI destination is the most efficient ways to work with images.

@breautek, Thank you very much for your quick response yesterday. Can't thank you and your team enough for all that you do to maintain this plugin. Can you please help us understand something? As a note, we are using FILE_URI as destination... Regarding the initial stack trace we provided on this ticket, you mentioned that the problem is with the device's camera (Google Pixel 4XL) and to reach out to google issue tracker. We've quantity tested this plugin on several Android devices and the crash only happens on Android 11. The stack trace provided was on a Google Pixel 4XL running Android 11 that crashes consistently around 200 photos captured, but the app does not crash on the same device running on Android 10 with over 1,000 photos. Another example... on a Samsung S20 FE running Android 10, we can get to 1,000 photos with no crashes, as well. On the same Samsung S20 FE device running Android 11, it consistently crashes at 55 - 65 photos captured and must completely restart the device for it to function at all again. The stack trace on the Samsung S20 FE is not quite as clear as the one provided on the Google Pixel 4XL. If the same device, using the same camera, running Android 10 does not crash, but the same device running Android 11 does crash, can you please help us understand why the issue is with the device's camera?

We've quantity tested this plugin on several Android devices and the crash only happens on Android 11. The stack trace provided was on a Google Pixel 4XL running Android 11 that crashes consistently around 200 photos captured, but the app does not crash on the same device running on Android 10 with over 1,000 photos

Some background knowledge... This plugin uses something called Intent, which is a process of delegating an action to another app. This is why this plugin doesn't need the Camera permissions to use the Camera APIs because it delegates the usage of the camera APIs to another app, which then passes the result back to the invoker (aka your app).
To be clear, different android devices may have different camera apps installed and different Android versions may different versions of the camera app. For example, the GoogleCamera app states:

Requirements - The latest version of Google Camera only works on Pixel phones running Android 11 and above. Some features are not available on all devices.

Therefore, you running Android 10 on the same device probably means you're running an older version of the GoogleCamera app which may not exhibit your issue. This would probably be useful knowledge to add in the bug ticket for Google. If you view the Google Camera app info, you probably see two different versions. It would be useful to include a version that does not have an issue, and the version that does.

On the same Samsung S20 FE device running Android 11, it consistently crashes at 55 - 65 photos captured and must completely restart the device for it to function at all again.

I can't really explain this, other than perhaps the issue is not so much with the Camera apps but a bug in the OS, but if that were the case, I would expect to see the crashing on any device.
If the issue produces consistently, one thing that could be done to isolate the issue (and potentially point blame to the cordova plugin) is to create two minimal reproduction apps. These app should be deployed on the devices exhibiting the issue.
The first app should be a pure native app, that uses the Camera Intents. Special note here, the android plugin does not use any AndroidX libraries, so I'd recommend ignoring the Note about using the cameraX class or the camera2 class. You can pull code snippets from CameraLauncher class if that helps.
The second app should be a minimal cordova app that produces the issue.
If the native app fails to demonstrate the issue but the minimal cordova app does, I think that's a good enough evidence that say the my original assessment is wrong, and the GoogleCamera crash may just be a side effect of another issue that is occurring (such as a memory leak inside the cordova plugin?). If that's the case, I'll gladly reopen this issue. It would be useful to share those minimal reproduction apps as well.
If you need any assistance in creating these minimal reproduction apps, our Slack can probably help you.

I've also updated the latest plugin 5.0.2, but the same problems occur on Android 10 (device - redme not 7pro). The plugin 5.0.2. Forcefully close the application once we capture a photo. This happens on some specific devices. Please update the new version I'm waiting for the new version
Node -v ----14.16.0
ionic -v ---- 6.13.1
cordova -v----10.0.0
ionic cordova platform add<EMAIL_ADDRESS>npm i<EMAIL_ADDRESS>tested and both same crash.
I'm waiting for your response, thanks


quick question

Is shared element transitions and per element transitions going to be supported directly in v3 or will fram-x/FluidTransitions still be the way to go?

For v3 we are introducing an early version of https://github.com/react-navigation/react-navigation-transitioner, which will allow you to build custom screen transitions for your app. We are working with Christian to move over fluid transitions to the new transitioner, so that is probably the best option for you now, and will continue to be moving forward.


No graphic works

For example after install not working steam.exe and any other graphic tools.

just black screen


fix: infer types

🔗 Linked issue
#78
❓ Type of change

[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Resolves #78
📝 Checklist

[x] I have linked an issue or discussion.

Related. https://github.com/adamcikado/vine/pull/1

Thanks :)


feat: Add Pizza fact.

Description
This PR adds a new pizza fact to the list.

What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents
Relates to #36

Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[ ] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

Hey @adiati98. I have updated the information.


Add Builder to simplify openapi document object construction

A regular C# builder pattern would help a lot in many scenarios.
Building an object now is very complex...
Builder pattern is also the "de facto" in Aspnetcore.. so would make sense to expose a similar api
var openApiDocumentBuilder = new OpenApiDocumentBuilder()
     .WithServers(...)
     .WithOperation(...)
     .WithOperation(...)
     .WithSchema(...);
//... etc

var openApiDocument = openApiDocumentBuilder.Build();

Agreed, building it is clunky.  Would you mind starting a discussion thread on ways that we could improve construction?

I very nice project i saw in the F# space is this one, but probably with extension methods something much similar can be obtained.. (or maybe also the F# part could be included in the "official one" for the F# api)
https://github.com/akhansari/FSharp.OpenApi
let document =
    apiDocument {
        info (apiInfo {
            version "1.0.0"
            title "Swagger Petstore (Simple)"
        })
        servers [
            apiServer {
                url "http://petstore.swagger.io/api"
            }
        ]
        paths [
            "/pets", apiPathItem {
                operations [
                    OperationType.Get, apiOperation {
                        description "Returns all pets from the system that the user has access to"
                        responses [
                            HttpStatusCode.OK, apiResponse {
                                description "OK"
                            }
                        ]
                    }
                ]
            }
        ]
    }

let outputString =
    document.Serialize (OpenApiSpecVersion.OpenApi3_0, OpenApiFormat.Json)

i guess the C# counterpart would be like
var document =
    OpenApi.DefaultBuilder()
          .WithInfo(....)
          .WithServers(...)
          .WithPaths(...)
          .Build();

  var openApiJsonV3String = document.Serialize (OpenApiSpecVersion.OpenApi3_0, OpenApiFormat.Json);

I came across this issue while drafting a proposal for a new API in ASP.NET Core that builds on top of Microsoft.OpenAPI (see https://github.com/dotnet/aspnetcore/issues/44192).
IMO, it would be really neat to have a builder-style pattern for an OpenAPI document.


Deleting large amounts of data

There are two opportunities here:

[ ] For deleting all rows in a table, consistently recommend TRUNCATE instead of DELETE without a WHERE clause.

The SQL Best Practices doc already says this. Can probably say it clearer.
Our TRUNCATE doc suggest that, when deleting all rows from a table, it's best to use TRUNCATE for larger tables and DELETE for smaller tables. Based on feedback from @petermattis, we should stop encouraging any use of DELETE without WHERE and always recommend TRUNCATE.
Given the above, the DELETE page should much more clearly point to TRUNCATE for removing all rows of a table. Probably needs to be a callout in intro or something. And the Delete all rows example needs to be adjusted as well.

[ ] For deleting large chunks of data from a table, do we need any recommendations or best practices beyond what's already called out in the DELETE docs about disk space and select performance?

@tim-o, @timveil, the above was worked out with @petermattis, but for the second item in particular (deleting large chunks but not an entire table), are there other considerations or recommendations we need to make?

Unassigning myself since I won't work on this soon.  Happy to take up again if / when it gets reprioritized.


Use appveyor for steambot compile checking.

Ok, after just creating a project on ci.appveyor.com I noticed it builds native windows applications and 3 of it's building enviro osses is Visual Studios(VS 2014 CTP 4, VS 2015 Preview, VS 2015 CTP) so I was wondering if we use appveyor to build steambot and check for compile errors?
@BlueRaja @scholtzm @FrozenHaxor @Jessecar96 @Bottswana what you think?

Ok, I just ran a proof of concept build with VS 2014 CTP 4 os on appveyor on my MyBot branch of my SteamBot fork. The build Succeeded with 0 errors and 0 warnings(meaning nuget packages were restored).
Proof: https://ci.appveyor.com/project/WildCard65/steambot/build/1.0.1

Here's a more accurate proof of concept(1 warning related Monodevelop.CSharpBinding): https://ci.appveyor.com/project/WildCard65/steambot/build/1.0.5

I believe they used to use Travis for this, but stopped because no one was keeping it up-to-date.
I'd be all for having a CI environment, if someone maintained it.

The fact is that it's easy to setup and quick.
On 2015-02-11 7:29 PM, "BlueRaja"<EMAIL_ADDRESS>wrote:

Travis was having problems compiling it because we couldn't install dependencies or something, I forgot.
I'll look into this.

Just tested a build with it: https://ci.appveyor.com/project/Jessecar96/steambot/build/1.0.1
Looks fine, is there anything else I need to to do integrate it with GitHub?

Not really, once appveyor has access to the repo it shoudl build commits pushed to it, the only thing I have yet to figure out is how to get it to test PRs but I can ask on forums.alliedmods.net for that. But ya, the configuration of it can be done via appveyor.yml or via the settings option for the project.

Oh, I now know how to get it to build PRs and that is to make sure the repo has the webhook for it set for PRs.

Now for the badge, under settings of project, there's one for badges which gives you 2 sets, 1 for global project status and 1 for certain branch


livy0.7.1 Request failed

spark version: 3.2.1
live version:  release-0.7.1
Request failed：
{"msg":"requirement failed: Cannot find Livy REPL jars."}。
Can you help me？thanks

Livy will try to find out repl jars from:
1, livy.repl.jars config
2, if  livy.repl.jars not set, will find from LIVY_HOME/repl_2.11-jars or
LIVY_HOME/repl_2.12-jars
you may check those first.
zhaoyuxiaoxiao @.***> 于2022年12月12日周一 15:11写道：

spark version: 3.2.1
live version: release-0.7.1
Request failed：
{"msg":"requirement failed: Cannot find Livy REPL jars."}。
Can you help me？thanks
—
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-livy/issues/370, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB35X7DUPGDAZERTZEBNBWTWM3F23ANCNFSM6AAAAAAS3SH5RA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Add references and list of contributors

Description
Add 3 primary references and a list of contributors-to-date.
Issue closed
Closes #80
Tests completed
Not applicable.

No need to acknowledge me!

Of course there is!  EDA would not be working as it is now without your input.


rmuti.txt

@doome972545 I am sorry, the domain rmuti.ac.th is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Pack at https://education.github.com/discount_requests/application. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


How to inference on my onw pictures?

I have debugged to see how to change the dataset path, but I am not familiar with detectron2, and can not find the relevant code.
Thx!

Is there already one for the customized images/dataset?

@ycliu93 any updates on training on custom VOC dataset?

For using the customized images, I would recommend the solutions to issue #10 and issue #8 .
I will create the function to use the customized images/dataset on this codebase around June/July.

Hi,have you finished?


added footer section

added a footer section with a redirect link to your github page.

@Geetisha17 please refer to the Readme of this project for steps to contribute firstly you have to create an issue if it is assigned to you then  only you can create a pull request .


NODE_ENV is set to production

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[x] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior

I am currently developing a project, but when I try to start it,
console.log(process.env.NODE_ENV);

outputs production.
Expected behavior

There should be a way to toggle whether live server starts with NODE_ENV set to production or development.
Environment
Browser:

- [x] Chrome (desktop) version 91.0.4472.124
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: v5.6.1 <!-- Check which version is installed -->
- Platform:  WSL in Windows <!-- Mac, Linux, Windows -->
- Visual Studio Code: v1.57.1 <!-- `code --version` -->

Others

Never mind, it was an issue with webpack.


Conda environment magement deprecation

After a bunch of conversations it seems like the environment management on HPCs as well as personal devices (esp on mac-arm-64 and win-x86-64) is using Python venvs to manage the environment.
On HPCs this will work by importing a python module from their system, creating a venv, and then using pip to install all dependencies. I plan on chaining the install instructions at next version release to simplify things on this front. venv ships on most Python distributions.

#219


Automatically add comments to Settings.ini

The Settings.ini should automatically be generated like this: (with comments above each option), instead of just adding the default sections.
To achieve this rssconfig.py could add the default Settings.ini like this:
'# ' + comment + '\n' + key + ' = ' value which will be output in the Settings.ini
See an example Settings.ini with current defaults below:
[MB]
# List of Movies - Each line should contain one Movie title
patternfile = /config/Settings/Lists/Movies.txt
# Database used to ignore already downloaded Releases in the future
db_file = /config/Settings/Databases/Downloads_MB.db
# JDownloaders folderwatch directory for automatic link adding - Enable folderwatch!
crawljob_directory = /jd2/folderwatch
# Ignore pattern - Comma seperated list of Release tags to ignore
ignore = ts,cam,subbed,xvid,dvdr,untouched,remux,pal,md,ac3md,mic,hou,xxx
# Execution interval of the script in minutes
interval = 15
# Quality to look for in Release titles - 480p, 720p or 1080p
quality = 720p
# Add your Pushbullet-API key if you want to be notified
pushbulletapi =
# Hoster to load from on MB - OBOOM, Uploaded, Share-Online or Zippyshare
hoster = Uploaded
# Use search function - Disable if you only want current Releases to be added
historical = True
# Crawl for 3D versions of Movies - in 1080p, regardles of quality set above
crawl3d = False
# If release without DL tag is added, look for DL release - ignoring quality setting
enforcedl = False
# Crawl complete Seasons on MB
crawlseasons = False
# List of shows, to crawl for complete seasons - May be equal to SJ file
seasonslist = /config/Settings/Lists/Shows.txt
# Quality of complete seasons to crawl for - 480p, 720p or 1080p
seasonsquality = 720p
# Source tag to look for in complete seasons - e.g. bluray, web-dl or hdtv
seasonssource = bluray

[SJ]
# List of Shows - Each line should contain one Show title
file = /config/Settings/Lists/Shows.txt
# Database used to ignore already downloaded Releases in the future
db_file = /config/Settings/Databases/Downloads_SJ.db
# JDownloaders folderwatch directory for automatic link adding - Enable folderwatch!
crawljob_directory = /jd2/folderwatch
# Reject list - Semicolon seperated list of Release tags to ignore
rejectlist = XviD;Subbed;HDTV
# Execution interval of the script in minutes
interval = 15
# Add your Pushbullet-API key if you want to be notified
pushbulletapi =
# Language to load Shows in - DEUTSCH or ENGLISCH
language = DEUTSCH
# Quality to look for in Release titles - 480p, 720p or 1080p
quality = 720p
# Hoster to load from on SJ - ul, so, fm, cz, alle
hoster = ul
# Treat entries of the List as regular expressions - for advanced use cases
regex = False

#53

That workaround did not work.

Done in latest Version


ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'

React native: "0.69.1"
react-native-check-box:` "^2.1.7"

facing same issue

I hope this link provides a solution to it.
https://stackoverflow.com/questions/71702392/viewproptypes-will-be-removed-from-react-native-migrate-to-viewproptypes-export

facing same issue

i'm using this module in 2023/08/03 and facing the same issue

Still the same issue, anyone able to fix the issue?


Translate to Spanish

Translate to Spanish
Add a translation to Spanish, adding a new file in src/main/resources/translations/es.json.

Fair warning, a lot of translations in the master branch will become irrelevant once the rewrite work is merged back in.

Thanks, I started to translate it but with this information, I am stopping the work. At what moment do you think is good to start the translation? Or would it be possible to start to translate in the dev3 branch?

A lot of the strings in the dev3 branch will be retained so that would be a safer starting point.


iOS: Treat the initial Info.plist string as a mustache template and use the project name to initialize the bundle name and identifier

Fixes https://github.com/flutter/flutter/issues/1340

LGTM


Deduplicate platforms and fix linux/ platform to pick all archs

cc @SuperQ This is a bugfix.
If you have

linux/arm
linux/arm64

promu will build linux/arm64 twice.
Signed-off-by: Julien Pivotto<EMAIL_ADDRESS>

With regexes, when we set linux, the else if would cause only the default platforms to be chosen. The second commit fixes it.


fail to install

When my Chinese server is loaded online, it prompts me to fail to install.,Local install is also installing failure.,The version is 3.0.0.,And I'm closing other plug-ins.,Load it separately.,Is there a problem with my operation?

For me the same, it always shows ACTStatus: ConnectionFailed.

Try version 3.0.1. Also, please upload your dalamud.log file when reporting issues.

Try version 3.0.1. Also, please upload your dalamud.log file when reporting issues.

Thank you very much, my problem solved