set a blank value by default for activePasswordInput

Passwords are not readable so asking for its value to an ActiveRecord or a model is meaningless, since it will return blank (if its a model form), a hash or throw an exception (if its an ActiveRecord).
The only use it might have is when someone put the password wrong and then the page reloads asking for the password again with the previous password preloaded.
But since the user can't see the text previously provided then this is is useless since the first thing the user does is deleting all the '*' on the input then write the password all over again (or paste it).
The best way that the model won't get asked for the value of the password field is setting a default value
$form->field($user, 'password')->passwordInput(['value' => '']);

So my PR simply checks if there if $options['value'] is provided, if not then set it using an empty string so that the model won't get asked for its value.

The only use it might have is when someone put the password wrong and then the page reloads asking for the password again with the previous password preloaded.

This is a use case that is not possible with your change. You should set value empty in your application to get this behavior. The change is also breaking BC.

@cebe how does it break BC?
Also if a user put the password wrong, then the user won't edit the password input since the user can't read what was was written before.

It does not allow setting a value anymore.
A user can adjust the value of a password even if he does not see it. e.g. adding more characters to existing password when the choosen password is too short.

It does allow setting a value. In which line did I made it impossible to do that?
That is not a good practice. I propose you this excersice.

Open incognito window and visit github.com
Try to login with your username and a wrong password
Check if the password input is blank when the page reloads
Try with gmail, facebook or other sites.

If you think this is a bc breaking change

As said before, you can easily set the value to empty in your application if you want. Yii should not enforce behavior in this place. Also have you tested your code? as far as I see setting $options['value'] in this place has no effect.

yes i tested it.
The line where it ask if $options['value'] isset before asking the model value is https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1139
But I edited this line so that it only affected activePasswordInput https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1194


Use raw JSON for data payloads

Replace usage of map[string]interface{} in peer with go json.RawMessage type. This allows us to keep the data opaque and let the client handle it using normal json decoding.
The benefit here is both parties can share a strong JSON contract instead of first checking, then casting fields from interface{} they hope are there.
https://golang.org/pkg/encoding/json/#RawMessage
Additionally parse messages into their appropriate type before handling. This made some of the request handing easier to read/code as we can naturally call request.Method and response.Id now without any casting.
For an example of the work needed to integrate these changes into Ion, take a look at this PR which uses the protoo client to join an Ion room and publish a stream.
https://github.com/jbrady42/ion-vid/pull/1

LGTM


Jupyter Lab error

With Jupyter lab, the kernel won't start and  I get the error:
 mismatched interface file versions (wanted "8065", got "8083")
However, it works with Jupyter notebook.

Do you have a GHC 8.8.3 installation on your computer that you could remove before trying again?

Closing, please reopen if required.


Update OWNERS

Remove ewj from reviewers, as doesn't have the cycles at the moment

This change is

/lgtm
/approve

/lgtm
/approve


Add windows support for host_gw

This is dependent of PRs #452 and #453.
This PR contains:

Windows implementation for host-gw flannel backend.
unit tests for the Windows implementation (equivalent to the ones for linux)
integration tests for Windows

We've also added an appveyor definition file(https://github.com/hpcloud/flannel/blob/rar_add_windows/appveyor.yml) that allows the unit & integration tests to be executed on http://www.appveyor.com/ an example can be found here: https://ci.appveyor.com/project/adiclepcea/flannel/build/1.0.14

Ulp, this has been open for almost a year now. @adiclepcea I'm really sorry but I'm going to close this and the other Windows PR. They would need a rebase and rework before they can be merged and I'm not sure if I'm OK with adding all the additional complexity to this linux focused project.
If you would like to start maintaining a windows fork, I'd be happy to link to it from the readme?


Merge from Develop to main

Changes in Text, image add, formatting changes in UI

working on fixes, pushing on a new request


add detail information when removeTasksFromNode batch failed

add detail information when removeTasksFromNode batch failed, so as to differ from other exception.

@lixiaobing10051267
I am afraid changing vendoring code will not work in the way you did.  Perhaps the following steps are better:

update the corresponding vendored packages, such as in this PR, you need to change project https://github.com/docker/swarmkit first via a branch new PR;
use docker/hack/vendor.sh to vendor updated package if your PR merged via new commit ID of that package. more details is in vendor.sh. This step can be did as a PR in this project.

Hope it helps.

ok, thx.

it should be modified in docker/swarmkit.


Regarding Training

Hi,
While training

where we had mention the labels
How to add the manifest files

Hey -- I will be adding more documentation in the coming weeks as things solidify. You need three files for training: a corpus configuration, a training configuration, and a model configuration. You can find the details of what you can configure from the files in patter/config, but below are some samples that set up a similar model and training environment as SeanNaren/deepspeech.pytorch.
corpus_config.toml:
min_duration = 1.0
max_duration = 17.0

[[dataset]]
name = "train"
manifest = "/path/to/corpora/libritrain.json"
augment = true

[[dataset]]
name = "val"
manifest = "/path/to/corpora/val.json"
augment = false

[[augmentation]]
type = "noise"
prob = 0.0
[augmentation.config]
manifest = "/Users/ryanleary/devel/snc/patter_data/noise_manifest.json"
min_snr_db = 3
max_snr_db = 35

[[augmentation]]
type = "impulse"
prob = 0.0
[augmentation.config]
manifest = "/Users/ryanleary/devel/snc/patter_data/impulse_manifest.json"

[[augmentation]]
type = "speed"
prob = 1.0
[augmentation.config]
min_speed_rate = 0.95
max_speed_rate = 1.05

[[augmentation]]
type = "shift"
prob = 1.0
[augmentation.config]
min_shift_ms = -5
max_shift_ms = 5

[[augmentation]]
type = "gain"
prob = 1.0
[augmentation.config]
min_gain_dbfs = -10
max_gain_dbfs = 10

model_config.toml
model = "DeepSpeechOptim"

[input]
type = "stft"
normalize = true
sample_rate = 16000
window_size = 0.02
window_stride = 0.01
window = "hamming"

[[cnn]]
filters = 32
kernel = [41, 11]
stride = [2, 2]
padding = [0, 10]
batch_norm = true
activation = "hardtanh"
activation_params = [0, 20]

[[cnn]]
filters = 32
kernel = [21, 11]
stride = [2, 1]
padding = [0, 2]
batch_norm = true
activation = "hardtanh"
activation_params = [0, 20]

[rnn]
type = "lstm"
bidirectional = true
size = 512
layers = 4
batch_norm = true

[labels]
labels = [
  "'", "A", "B", "C", "D", "E", "F", "G", "H",
  "I", "J", "K", "L", "M", "N", "O", "P", "Q",
  "R", "S", "T", "U", "V", "W", "X", "Y", "Z", " ",
]

training_config.toml:
id = "expt-name"
cuda = true

[output]
model_path = "/path/to/best/model.pt"
log_path = "/path/to/tensorboard/logs"

[trainer]
epochs = 20
batch_size = 32
num_workers = 4
max_norm = 400

[trainer.optimizer]
optimizer = "sgd"
lr = 3e-4
momentum = 0.9
anneal = 0.85

Thank you for this information.

can you share the json format for training files?

The documentation for AudioDataset is accurate. See patter/data/dataset.py:60.

Ok thank you
On Thu, Mar 22, 2018, 5:57 PM Ryan Leary<EMAIL_ADDRESS>wrote:

The documentation for AudioDataset is accurate. See
patter/data/dataset.py:60
https://github.com/ryanleary/patter/blob/db2b7ce3958af3f85dcf1c00c01683a05e4835f0/patter/data/dataset.py#L60
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ryanleary/patter/issues/6#issuecomment-375286319, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARCwvVmPxpIPFpvemy0YesHdQVMY-wRHks5tg5iZgaJpZM4SwRjL
.


Resume templates have some bugs

Description
When details are not filled by the user then the resume templates show empty templates, it can be replaced by a demo resume as empty templates make it look bad
Screenshots

Additional information
No response

hey is this issue available

I can fix this issue


Allow specification of the classloader for [de]serialisation

See also #377  .
When MapDB [de]serialises objects, it needs to load the classes each object implements.
In a Java app running in a vanilla application container, using Class.forName is sufficient for this, because there is no class scope and all classes are known to all classes.
In an OSGi container, the scope is far more constrained. MapDB is deployed as its own "bundle" and using Class.forName will only work to load classes in the packages that the MapDB bundle has been pre-configured to know about.
This is a problem common with ORMs. The problem is more eloquently and authoritatively described in http://njbartlett.name/2010/08/30/osgi-readiness-loading-classes.html . Three solutions are suggested.
For my own use, I have hacked MapDB to have a setClassloader method on DBMaker which is passed through to the serialisation layer. This is then used for loading classes, and it works well. However, whoever does this work for MapDB should consider which of the three options presented above makes most sense from MapDB's perspective.

I will have a look, thanks for good documentation.
On August 7, 2015 5:57:25 PM CEST, gravelld<EMAIL_ADDRESS>wrote:

See also #377  .
When MapDB [de]serialises objects, it needs to load the classes each
object implements.
In a Java app running in a vanilla application container, using
Class.forName is sufficient for this, because there is no class scope
and all classes are known to all classes.
In an OSGi container, the scope is far more constrained. MapDB is
deployed as its own "bundle" and using Class.forName will only work to
load classes in the packages that the MapDB bundle has been
pre-configured to know about.
This is a problem common with ORMs. The problem is more eloquently and
authoritatively described in
http://njbartlett.name/2010/08/30/osgi-readiness-loading-classes.html .
Three solutions are suggested.
For my own use, I have hacked MapDB to have a setClassloader method
on DBMaker which is passed through to the serialisation layer. This
is then used for loading classes, and it works well. However, whoever
does this work for MapDB should consider which of the three options
presented above makes most sense from MapDB's perspective.

Reply to this email directly or view it on GitHub:
https://github.com/jankotek/mapdb/issues/555

MapDB now allows to set custom global class loader and per-class class loader.
There are new  methods in DBMaker:
This will set default Class Loader for all classes instantiated during deserialization:
serializerClassLoader(loader)
And this will set Class Loader for specific class:
.serializerRegisterClass(classname,loader)

Thanks, that will be very easy for me to port to.


Defaults?

I really like this package as it won't allow your program to run without environment variables. But sometimes there are sane defaults that don't require being overridden, like the port number for the database. For those cases, this library can optionally read a .env.default file and fill values from that if they aren't defined otherwise.
I see that #30 was closed with a very good reason, but in this case you'd never put a default value for things like usernames and passwords. Only for sane defaults.

On second thought, I mistook dotenv-extended for dotenv-expand, which doesn't look like it support everything I need. But dotenv-extended is golden.

I'm reopening this as dotenv-extended doesn't act like this package, and the option to throw on missing vars doesn't work when preloaded.

I'm reopening this as dotenv-extended doesn't act like this package, and the option to throw on missing vars doesn't work when preloaded.

@frontsideair can you elaborate on this ☝
If you use .env.schema and errorOnMissing: true, then dotenv-extended does error on missing env vars. E.g. see below:
$ cat .env.schema
FOO=

$ cat index.js
require('dotenv-extended').load({
  errorOnMissing: true,
  includeProcessEnv: true,
});

$ node index.js
~/workspace/dotenv-extended-test/node_modules/dotenv-extended/lib/index.js:59
      throw new Error('MISSING CONFIG VALUES: ' + missingKeys.join(', '));
      ^

Error: MISSING CONFIG VALUES: FOO      # <------ GOOD! It should error on missing FOO.
    at Object.config (~/workspace/dotenv-extended-test/node_modules/dotenv-extended/lib/index.js:59:13)
    at Object.<anonymous> (~/workspace/dotenv-extended-test/index.js:1:28)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47

Am I missing something?

@anishkny A bit late, but reading my original comment, it seems like errorOnMissing wasn't working when used with node -r dotenv-extended/config. It may be added after my comment but now it seems like you can pass options prefixed with dotenv_config_, as documented.
I guess I can close this now.


Deprecate gRPC docker images

They are not needed anymore because we have one-line installs for all the languages (and currently they are also very out of date).

[ ]   replace https://github.com/grpc/grpc-docker-library/blob/master/README.md with deprecation announcement.
[ ]   deprecate the images on https://hub.docker.com/u/grpc/
[ ]  optional add a section about using gRPC under docker to grpc.io

@hsaliak  please assign someone.

CC @ejona86

Closing this old issue out. Since the discussion, @markmandel has taken over ownership and published new packages.


setMethodCallHandler callback not getting hit

I'm using the latest version 2.1.10.
When I export the logs, I'm trying to capture the callback to upload file to a server. But the callback registered is not getting hit.
FlutterLogs.channel.setMethodCallHandler((call) async {
      if (call.method == 'logsExported') {
        var zipName = call.arguments.toString();
      } else if (call.method == 'logsPrinted') {
        print(call.arguments.toString());
      }
}

I've registered the callback in the main.dart entry point right after the setup call FlutterLogs.initLogs

Same problem here, not sure what I'm doing wrong, I run this:
await FlutterLogs.init(...);

Then copy-pasted the channel setup from readme added a log at the very start but it never shows!?
FlutterLogs.channel.setMethodCallHandler((call) async {
  logInfo(message: 'Received FlutterLogs callback: ${call.method}');
}

Ended-up using flutter_archive to export logs into a ZIP file:
      Directory dir = Directory("${externalDirectory.path}/Logs");

      final zipFile = File("${externalDirectory.path}/Logs_${DateFormat('yyyy-MM-dd_HH-mm').format(DateTime.now())}.zip");
      await ZipFile.createFromDirectory(sourceDir: dir, zipFile: zipFile, recurseSubDirs: true);

      logInfo(message: "Logs zipped into ${zipFile.path}");

@ced1check  what did you end up with?


feat(jsx): export FC

This PR makes JSX supports exporting FC. You can use it for specifying types to the function component.
import { FC } from 'hono/jsx'

const Layout: FC<{ title: string }> = (props) => {
  return (

        <title>{props.title}</title>

      {props.children}

  )
}

const Top = (
  <Layout title='Home page'>

Hono

Hono is great

  </Layout>
)

Fix #1419
Author should do the followings, if applicable

[x] Add tests
[x] Run tests
[x] yarn denoify to generate files for Deno

Can we maybe export Child from hono/jsx too? 🤔

Great improvement!


Use https where possible

Fixes https://github.com/amyleew/osrm-frontend/issues/25
Sadly tile.openstreetmap.de and geofabrik.de  don't seem to support https, so these two won't work. But the rest will.
@amyleew can you check on your deployed version if this works?

Added and merged @freenerd


Open Value Subscriptions and Software Assurance

It's a continued topic of discussion whether or not Open Value Subscriptions which include Software Assurance is an eligible method to ensuring ESUs can be delivered to legacy systems. This page should reflect Open Value as an eligible program based on the Software Assurance program guide.

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

ID: 504906db-216f-5583-7e8c-ba3910e53661
Version Independent ID: 1ed93905-fce0-29e6-d9d4-20ad36144135
Content: How to prepare to deliver Extended Security Updates for Windows Server 2012 through Azure Arc - Azure Arc
Content Source: articles/azure-arc/servers/prepare-extended-security-updates.md
Service: azure-arc
Sub-service: azure-arc-servers
GitHub Login: @johnmarco
Microsoft Alias: johnmarc

@kyjones03
Thanks for your feedback! We will investigate and update as appropriate.

Hi @kyjones03 . Your PR addressing this issue has been merged; thank you for that. We will now close this  issue.

#please-close

Thank you!


Error on BusyBox -  unrecognized: -ignore_readdir_race

Just thought I'd report this. Hoping it can be solved by installing findutils. Great plugin btw!
find: unrecognized: -ignore_readdir_race
--
  | BusyBox v1.28.4 (2018-12-31 18:05:13 UTC) multi-call binary.

Hey @ianks . Thanks for the report. I'm a bit unfamiliar with busybox thing. It seems it's an executable that covers many UNIX tools according to about page. Also according to that page, BusyBox has fewer options that the original ones.
If I understand correctly, you managed to fix this case by installing findutils? Or should I install that via this plugin at some point?
Other option which I only want to do at last stage, is to drop that option for BusyBox if detected.

So it looks like installing findutils did not work. The image I am use inherits from cimg/base:2020.09, which I believe comes from Ubuntu. So not sure why it is not working.

Instead, maybe we could use -exec with rm -f in the find command?

Sad to hear that didn't work out as expected. I have Ubuntu 20.04 LTS which is findutils installed and find -ignore_readdir_race works perfectly.

Instead, maybe we could use -exec with rm -f in the find command?

Yep. I think that will work too.

I think:
find "${CACHE_PREFIX}" -type f -mtime +"${DAYS}" -exec rm -f {} \;

will be sufficient.

@ianks could you please test agains master branch? - gencer/cache#master:

@gencer the original issue was solved, but now i'm getting: tar: unrecognized option: ignore-failed-read

i'm reading the --warning=no-file-changed might be better

here's what works for me 😄
https://github.com/gencer/cache-buildkite-plugin/compare/master...ianks:master

@ianks generally removing --ignore-failed-read is a bad idea. However, we can make an exception for busybox. I've added busybox checking to the tar creation.
I have pushed changes to master branch. Could you please test against that branch? Please note that, if you already checkout that branch on your test machine, it might be good idea to delete hooks folder before testing. Because buildkite will not checkout master branch twice.

Released via v2.3.6.

I'm getting the same --ignore-failed-read

[node] - 🔍 Locating source: v1-cache-node-6e9bee060e2c317a3c65153c5b9ec16bb1c80c3b
--
  | [node] - 🔍 Locating cache: node_modules
  | tar: unrecognized option: ignore-failed-read
  | BusyBox v1.31.1 () multi-call binary.
  |
  | Usage: tar c\|x\|t [-ZzJjahmvokO] [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [--exclude PATTERN]... [FILE]...
  |
  | Create, extract, or list files from a tar file
  |
  | c	Create
  | x	Extract
  | t	List
  | -f FILE	Name of TARFILE ('-' for stdin/out)
  | -C DIR	Change to DIR before operation
  | -v	Verbose
  | -O	Extract to stdout
  | -m	Don't restore mtime
  | -o	Don't restore user:group
  | -k	Don't replace existing files
  | -Z	(De)compress using compress
  | -z	(De)compress using gzip
  | -J	(De)compress using xz
  | -j	(De)compress using bzip2
  | -a	(De)compress using lzma
  | -h	Follow symlinks
  | -T FILE	File with names to include
  | -X FILE	File with glob patterns to exclude
  | --exclude PATTERN	Glob pattern to exclude
  | 🚨 Error: The plugin cache post-command hook exited with status 1

Here is my plugin config:
- gencer/cache#v2.4.8:
      id: node
      backend: tarball
      compress: true
      key: "v1-cache-{{ id }}-{{ checksum 'yarn.lock' }}" # Calculate whole 'app/javascript' recursively
      restore-keys:
        - 'v1-cache-{{ id }}-'
      paths:
        - node_modules

@rasouza Somehow, BusyBox check fails on your system. It thinks, it is standard GNU Bash therefore uses that argument. Let me see what I can do.

Good bot but bad decision. Not stale. ❤

Bad bot. Not Stale


run the RichEditorViewSample ,but not working to the simulator

1.run the RichEditorViewSample ,but not working to the simulator
2.I writed the same codes as your RichEditorViewSample in swift ,but i got a error where focus on "editorView.delegate = self "
can you tell me the reasons? thanks

Hi! 😃  Sure, I can try to help you out!
Can you tell me:

What version of Xcode you are using
What branch you are using when running
What you mean by "not working" --> does it not build? If so, what's the error?

Thank you !
1.my xcode version is 7.3
2.I am running the branch of swift
3.when i press "cmd + r"，it build succeeded,but the simulator do not start and launch the project
4.when i running my new demo which same to yours , i get a error ,it shows "Thread 1:EXC_BAD_ACCESS(code=2,address=0x1110a1170)"  and focus on my code "editorView.delegate = self"
sorry for my swift and english ~

this is my screen shot

Well that is really weird, it's working for me...
So, you're running your own version of the sample -- if the editorView is an @IBOutlet, are you sure that it's connected in the storyboard?

I am sure.
it connected  in a UIView of my storyboard which named editorView and type is UIView ,than I changed the type to RichEditorView manually。am i right?

 I'm not really sure why it would be crashing on you... everytime, yeah?
Does it say anything in the debug console when it crashes? What about when you do po self or po editorView or bt ?

Thank you ,man.
Now,i changed my way ,i iinstantiated RichEditorView by code and without outlet .i build it succee,i can typing what i want but insert image.when i touch the icon of insert image , then nothing happen.

Have you set up the delegate? Is the delegate method being called?

by the way, the button presses will be coming through the toolbar's delegate, not the editor view's delegate.

I got it  and did it ,but the function "insertImage" only accept url parameter？can i insert image from my iphone?

Ah, there's actually an open bug for things like that.
The RichEditorView is actually just a small wrapper around a UIWebView, so what we end up doing is making a <img src="SOME_URL"> tag -- that's why it takes a URL.

ok , I see .thank you anyway. Your project is awesome!

Yeah, sorry about that!
If you want to go and make it work how you want, I'm open to pull requests! 😉


Fix invalid block size output in lfs.c.

Came across this while trying to mount a filesystem dumped from a micro.
"Invalid block size" reported the block count value rather than the block size value.

Hi @Gadgetoid, thanks for creating a PR! Sorry about the late response.
It looks like this has been fixed in an unrelated patch, but let me know if I'm missing something:
https://github.com/littlefs-project/littlefs-fuse/blob/ed22353a273cd1d88fd18d07a14e4160bd096ac1/littlefs/lfs.c#L4376-L4377


Posh-Git should be in RequiredModules

Since the module will not load without Posh-Git, it should be in the required modules of the manifest so that install-module (and install-psresource) automatically install the dependency.
Alternatively, remove posh-git from the main psm1 dependency and only do a check if git related segments are used (preferred)

Disregard, somehow I ended up with v2 and I have no idea why.

No worries!


Implement remote driver

This finishes Ch 11.

I'm trying to implement this feature with tonic. tonic looks like the most standard library for implementing gRPC stuff.
In contrast to Java's RPC, protobuf doesn't return Rust's objects. My plan is to have all the objects on the server-side and the client receives IDs for accessing them.

https://github.com/flowlight0/simpledb-rs/pull/28 resolved this issue


Request: 2.88M "ED" Support

I may just be missing the options, but I was wondering if there's (planned) support for 2.88M "ED" image support. I've got some disks here in that format from NeXT gear, IBM gear and a Nortel SL-1 as well as a couple regular 34-pin ED drives.
If any testing is needed for this, I can do it - I'm aware finding actual 2.88M drives outside an IBM PS/2 is incredibly difficult.

You will likely find that you get flux overflow errors trying to read ED disks, unless you happen to have an F7 Lightning Plus device. This is because ED requires available USB bandwidth around 8Mbps, which is pushing it over USB Full Speed. Whereas the F7L+ device has USB High Speed.
This could probably be worked around in a few ways. Eg. decode/encode MFM on the Greaseweazle device. Or smarter encoding of flux (ie. include some compression).

Well, I can confirm that I have read a full C64 CMD FD4000 Disk (that is ED) with m yGreaseWeazle V4 without any flux overflows. Tested with Mitsubishi MF356F-252MG.
That CMD Floppy uses standard MFM ED Bitrate.
BTW: You can use kryoflux dtc.exe for decoding flux data. dtc does not officially support ED density for decoding, but with additional parameter "v150" decoding works fine. That way, I am able to decode the flux image from the CMD FD4k disk.

It's definitely marginal. If you get 8mbps minimum read bandwidth in gw info then that's enough. Just.

For sure. Anyway, it's worth a try.
BTW: Isn't there small buffering? In that case, only the average data rate must fit. And MFM disks do not have to many consecuting ones.

The marginality already accounts for the lack of consecutive ones. Data rate is 1MHz (that's the unencoded non mfm rate). Each flux sample is a byte. So that's 8mbps.

There is buffering. But gw info already accounts for it in its minimum rate. After all rate has to be measured across some time. So time to fill the buffer is what's used.

Could bandwidth also be a problem for "DMF" floppies as used by Microsoft? They're listed as "1680 KB" and "1720 KB". If that doesn't butt against a bus bandwidth limit, I'll file a separate issue about it.

It shouldn't. They do not have a higher data rate than standard disks. Only shorter gaps between the sectors.

@Compgeke are you still interested in testing this?


metrics: fix compaction pending bytes metrics in tikv details

Signed-off-by: tabokie<EMAIL_ADDRESS>What problem does this PR solve?
What is changed and how it works?
What's Changed:
patch for #8991, fix pending compaction bytes metrics in TiKV Details.
Related changes
Check List
Release note

No release note

No need to fix fast tune panel?

@Connor1996 No, fast tune is displayed by instance

/merge


On click event?

Hey,
I would like to ask you if there's a way to trigger an event on drop click, before opening a drop.
I tried this:
@drop._on @drop.target, 'click', -> console.log('click')
@drop.on 'open', -> console.log('open')

But I'm getting open before click in the console. I know what I need might seems wrong, but I need something to trigger based on the user interaction (click on the drop to open it), because I also call open programatically, and based on my current implementation it's hard to differentiate when its being opened because of a user interaction or because I @drop.open programatically.
Is there a way to do that with Drop?
Thanks

The workaround I'm using for now:
# @drop.on 'open', @onOpenHandler
@drop.target.removeEventListener('click', @onOpenHandler)
@drop.target.addEventListener('click', @somethingINeedToDoBeforeOnOpenHandler)
@drop.target.addEventListener('click', @onOpenHandler)

Are you looking for something like a beforeOpen or showOn type of handler? Basically a handler that is called before the drop is opened to check whether it should open or not? If so, we actually have #120 that I still need to review that should provide that functionality.

hi @geekjuice
Actually I'm looking for something like onClick, because it would guarantee that the drop is going to be opened due on a user interaction. open or beforeOpen does not tell if it's being opened because a user interaction or programatically via @drop.open().

Gotcha. I think the way I thought showOn should work is:
new Drop({
  ...options,
  showOn(e) {
    if (e.type === 'click') {
      console.log('Opened via user click');
    } else {
      console.log('Probably opened programatically');
    }

    return true; // To confirm opening the drop
  }
});

This way, you can determine what type of event opened the drop and even determine if the drop should open or not.

@geekjuice hm makes sense... like changing here to pass the event along.
if (typeof this.options.showOn !== 'undefined' && !this.options.showOn(event)) {
  return;
}

Do you want me to test #120?

Yea, if the event was passed, it should work as I described.
And I always welcome everyone to test open PRs so they can be merged earlier :+1: :beers:


How to use tf.ifft,tf.fft function in keras model? I tried using lambda layer but accuracy is below 50%

Please make sure that the boxes below are checked before you submit your issue.
If your issue is an implementation question, please ask your question on StackOverflow or on the Keras Slack channel instead of opening a GitHub issue.
Thank you!

[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[x] Check that your version of TensorFlow is up-to-date. The installation instructions can be found here.

[x] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

Hi!
This issue isn't related to a bug/enhancement/feature request or other accepted types of issue.
To ask questions, please see the following resources :
StackOverflow
Keras Slack channel
Keras.io support
Gitter
Thanks!
If you think we made a mistake, please open another issue explaining your request in detail.


Outdated elm-lang/elm-platform references

Hello again 👋
I just noticed that one of the failure hints still refers to elm-plaftorm and points at the elm-lang/elm-platform repo:
https://github.com/wking-io/elm-live/blob/fb1f8e9041c347e0630aa017ba84ab48e3827cf9/source/elm-live.js#L122-L123
Hope it helps!

Fixed!


404 on upcoming invoice route

Context
Triggering alerts on prod
https://console.glaredb.com/api/v0/organizations/5c2ef06a-ed12-4087-93c5-405eb5cfb7c4/billing/upcoming-invoice
Expected
Actual
Impact

@scsmithr was this ticket perhaps meant for cloud?

yes


Download error for a book that isn't in my list

kobodl book get --get-all fails with << kobodl.kobo.KoboException: Download URL list is empty for product '...' >>, but when I run
kobodl book list
There isn't any book with the mentioned id...
What can I do to find out which book is failing?

Looks like archived books aren't getting processed correctly.  You appear to have at least one achrived book on your Kobo account.  I'll take a look

In the mean time, you can pass the --read to the list command to see the hidden book

I actually can't figure out what's going on.  Even though the book may be hidden for you in the list, it should also be skipped correctly during get --get-all.
Please try the following:

kobodl book list --read and see if any new material appears.
If it does, try to download it kobodl  book get <id>

What error does that throw?  Thanks for the bug report.  Obviously even if --get-all isn't working, you can still download books one at a time, right?

I changed the code to print the book to download before downloading it, I sent a PR.
When I check the bookMeta for the troublesome book, I see DownloadURLs in the meta, all of them are DRM except for some samples.
The call to content_access_book however returns empty lists:
{'ContentUrls': [], 'ContentKeys': []}
Downloading using book get  gives the same problem.
I worked around it by manually downloading the book from the kobo site and writing the file using the correct name if the kobo_downloads/ directory - which forces --get-all to skip the book...

This happens when you have preorders too, which naturally don't have a download URL. Shouldn't get --get-all  at least handle the error gracefully instead of dying when it encounters a preorder?
I can see the preordered book using kobodl book list --read, by the way.


Improve scrolling performance on web

Describe the feature
Currently, scrolling on web is very laggy and choppy. We need to improve this by profiling and improving the performance.
Relevant code
No response

Here is some profiling data from scrolling on our initial release blog post in Chrome on macOS:

it should not be calling layoutScene or LayoutStdLR during scrolling.  are you sure you limited the profiling to after the initial render and just when scrolling?  otherwise, it is just a lot of rendering, which is kind of inevitable..  you can also get this data on native mac -- likely the same right?

By use of print statements, I can definitively affirm that LayoutStdLR is happening during scrolling.
Different things may be more of a bottleneck on web versus other platforms; it is also good to confirm that the actual web rendering is only around 4% of the total time.

An actual WidgetBase.NeedsLayout is not happening however.

that would take 0% time and likely doesn't show up.  it really shouldn't be doing layoutscene otherwise.

using Ctrl+Alt+R (which didn't actually work -- had to pull up settings and use the menu):
core.(*Scene).doUpdate-render                               Total: 3011.80 ms	Avg:  7.97	N:   378	Pct: 99.46
core.(*Scene).doUpdate-restyle                              Total:   11.49 ms	Avg: 11.49	N:     1	Pct:  0.38
core.(*Scene).doUpdate-layout                               Total:    4.67 ms	Avg:  4.67	N:     1	Pct:  0.15
tree.(*Plan).Update-plan.Update                             Total:    0.22 ms	Avg:  0.01	N:    24	Pct:  0.01

so one time somebody called restyle, but the rest of the time was rendering.

I am stating that I added a print statement to NeedsLayout, which is not being activated. The same is true for layoutScene, so I will redo my testing. LayoutStdLR was definitely happening though, but that is probably mostly from plots and text editors.

We decided on putting profile in the settings menu (you can also press Ctrl+Alt+R in the settings window), but I am fine moving it to the main menu instead.

that restyle happens when a tooltip is activated.

good point about the plots and text editors wrt LayoutStdLR

I redid my web profiling and there was no more layoutScene, but there was still LayoutStdLR, with almost all of it coming from core.Text.

u gotta figure out where that is coming from!  very bad.

I set breakpoints in places where core.Text calls paintText.Layout and it does not hit that during standard mac scrolling of blog page.

This is very troubling: it is decisively not calling configTextSize during scrolling on native macOS but it is calling it all the time while scrolling on web.

Somehow it keeps getting the Scene.needsLayout flag.

The text editors are causing it to repeatedly call layoutScene but only on web!

The toolbar overflow menu is triggering the layout calls!

It is not web-specific; on any platform, if there are items moved to the overflow menu, it calls NeedsLayout constantly when you go by a text editor with a scrollbar!

This is much better with #1059, although it still gets tripped up with the image resizing the first time you pass the image.

With #1060, I no longer have any noticeable lag on my phone on web.

The plan at this point is to switch to WebGPU instead of Vulkan, so we can do accelerated rendering on all platforms  #507 and then see about either directly wrapping https://github.com/linebender/vello or perhaps making our own go-based WebGPU wrappers around their .wgsl rasterizing shaders (ideal), so that we can have hardware-accelerated rendering on all platforms.  Currently we are using a CPU-based rasterizer https://github.com/srwiley/rasterx which is pretty impressive for CPU, but when going through the Go -> WASM translation, it suffers considerably.

Slowing down the scroll speed can hide the problem. And maybe solve it.
I think.

@baxiry the standard behavior is to match the speed of your finger, which we recently accomplished.  having it be slower than your finger moves would probably be disconcerting.

Yes, the speed should be more natural now, which should also mean less choppiness. @rcoreilly, what would you think about being more aggressive in filtering scroll events on web so that it has to update less often? That would make it maybe slightly less smooth, but if it prevents the system from being overwhelmed, it might end up looking better. Also we could consider lowering the FPS of our new continued scroll velocity feature.

yeah smoothness = more frequent updates, not less.. and the filtering is entirely a function of how slow the update is -- it doesn't have any parameters.  would be worth trying the 30 fps on the momentum scroll, just to see.

I can understand that a single code-base for any platform is a very desirable thing and this is a more valiant and impressive attempt than all previous attempts I've seen. But fighting against native browser performance, which has been tuned and optimised for decades might be the wrong approach.
One way forward might be to auto-convert cogent code into a plain HTML/CSS/JS manifest.

@nkev, I definitely understand where you are coming from with that. We are already planning to implement an HTML preview while pages are loading, which will also improve SEO (see https://github.com/cogentcore/core/issues/702#issuecomment-2253756737). We hope that new feature in combination with other things such as GopherJS (#974) and WebGPU (#507) will make the performance viable on web. If that does not succeed in doing so, we will be open to considering other options.


Pouch introduction page needs revision for better readability

Issue Description
The introduction page needs several minor revisions to better express the project’s definition, objectives, benefits, and technical approach.
Describe what happened:
The page has several imprecise descriptions and ambiguous statements regarding the project.
Describe what you expected to happen:
An overhaul of the introduction.
How to reproduce it (as minimally and precisely as possible):
Not applicable
Anything else we need to know?:
None
Environment:
Not applicable

I can produce a pull request, could the maintainer assign this issue to me please?
Thanks!

Yes, off course. You can attach a comment #dibs to assign yourself to this issue. Because @pouchrobot will detect this and assign that to you. Just have a try and enjoy hacking.

Any update ?
@justicezyx
Feel free to tell us if you need any help.

I will send out a pull request this Saturday. I will not have time to work on this during work days though. Let me know if that's a problem.


Oembed call doesn't wrap response (JSONP)

For JSONP, Oembed service should wrap function around the JSON object.
Example from wordpress:
https://public-api.wordpress.com/rest/v1/sites/wtmpeachtest.wordpress.com/posts?callback=jsonp_callback
Related:
http://stackoverflow.com/questions/26262235/jsonp-returning-uncaught-syntaxerror-unexpected-token-angularjs-routingnu
Example angular app calling Cartodb's oembed service :
http://jsfiddle.net/c0hgye4g/2/

My commit referenced an issue of another repo (sorry), this one should be fixed so closing it


public method "reload"

test page: /reload
my reason: i needs in method to trig router-events (eaches), because in my project, static information about page title (document.title and title-markup in header with i18n) gets of $route information (?id or /:id, (supply №${id})), but now i need extra values such as "company_name"...

this.$router.meta.company_name = 'Some company'
this.$router.reload()
???
all titles in page updated

in test-page "examples/reload" there are other useful uses (transition update, re-confirm, counts)

Thanks for your contribution. However this is quite different from what we want to add 🙂
There is https://github.com/vuejs/vue-router/issues/974 opened but I haven't even confirmed with others that we want to add that feature nor came up with the exact API yet although it would probably be another option passed alongside params and query


Directory(...).existsSync() does not check if disk exists first

If I don't have E: disk and run code:
Directory(r'E:\test\').existsSync()

Dart will throw a OS Error: The device is not ready, errno = 21
Dart SDK version: 2.14.3 (stable) (Wed Sep 29 13:10:26 2021 +0200) on "windows_x64"

This behavior should either be fixed or documented. Preferably fixed, if the underlying OS operations makes it reasonable.

We perhaps should change existsSync for it to never throw, but just return false.
Except there might be some errors that would make sense to throw(access error for example).


feat: Radio Button Tile Variant

Summary
Adds a tile version of the radio button
Related Issues or PRs
#982
How To Test
yarn test
yarn storybook
Viewable from Form controls > Radio buttons > Tile
Screenshots (optional)

Re-requested my own review because, as Marjo rightly pointed out, there is an optional description prop added as well that we'll do as a part of this PR.


Travis CI integration, Updated README.md, Added .gitignore, and additional tests added

I'm quietly improving this plugin and here's a set of cleanup-related tasks that don't change the functionality of the plugin, but improve the meta-repo information.  I've got a bug that I want to isolate with the tests that I'm starting to include, but I've yet to isolate that, so in the interim, hopefully these updates help.

Thanks!


An "external link" prompt appears on every link click

Acknowledgements

[X] I have checked that there is no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.

[ ] This bug affects Discord website.

[X] This issue is confirmed to be reproducible when WebCord is packaged
on at least all three latest supported Electron major releases.

[ ] This issue is reproducible in Chrome, Chromium or any
Chromium-based browser, e.g Brave or Edge (please write in
Additional Context which browser you have used if it is neither
Chrome nor unmodified Chromium).

[X] There are no fixes done to master which resolves this issue.

[ ] My issue describes one of the unstable and/or not fully implemented
features.

[ ] I have found a workaround to mitigate or temporarily fix this issue
in affected releases (please write it in Additional context section
below).

Operating System / Platform
🐧 Linux
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
31.3.1
Application version
4.10.0
Bug description
The following prompt prevents immediately opening a link every time a link is clicked, unlike the official Discord app.

My expected behavior for such prompts is to show it either 1 or 0 times total before saving a state that does not cause the prompt to appear, and/or present an option in the prompt to never show it again, like an "Always yes" button, which then adds it to the list of shown prompts which can be reset in a settings menu.
Additional context
No response

This is not a bug, it is implemented as it should be. This is an additional protection layer, in case Discord ones aren't enough (e.g. if one of their deps is bypassing it) or Discord itself is opening suspicious links. If you not wish to have it, the one is free to disable it in the WebCord settings, but this may lower the app security in that aspect (since those popups are handled on the browser level, it's way harder to bypass them).
The prompt also allows you to copy links, since sometimes native and Discord's popups collide and Discord may disable displaying the default popups in some places.

the one is free to disable it in the WebCord settings

After checking through the settings a couple times, I haven't seen the option for it there.  What is the setting's label?  I might be missing it.

Oh, I see it here.  Thank you!


Handle kafka message

I would like handle the errors that kafka returns when something fails.
For example, im trying to create topic that already exists and it returns one error, but i want to use that error to inform about the specific type of error.
I can only manage the result of the function, in this case, false if the topic isnt created or true if it is. But with this information i cant really know what is the problem if i dont watch the console.

You can switch on the name property of the thrown error to know which type of error it is. They are all listed here. For generic KafkaJSProtocolErrors, you have the code property which corresponds to the error code in the Kafka protocol.


Enabling Dr Elephant to work with YARN in HTTPS mode

This pull request is to address #472
Configuration value of the property -  yarn.http.policy which can have either of the values - HTTP_ONLY / HTTPS_ONLY, defines whether YARN is in HTTPS mode
Changes Addressed to below files -

TezFetcher
AnalyticJobGeneratorHadoop2

If statement inserted to check the configuration value of the property - yarn.http.policy which can have either of the values - HTTP_ONLY / HTTPS_ONLY. Based on the value below properties need to be addressed
RESOURCE_MANAGER_ADDRESS as yarn.resourcemanager.webapp.address or yarn.resourcemanager.webapp.https.address
RM_NODE_STATE_URL as http://%s/ws/v1/cluster/info  or https://%s/ws/v1/cluster/info
succeededAppsURL and failedAppsURL as new URL("http://" + _resourceManagerAddress) or new URL("https://" + _resourceManagerAddress)

Add unit test cases to check the functionality


[Request] Keep missing items and recipes after deserialization

If a defaulted recipe or a favorite stack belongs to a disabled mod, then because there is no such a recipe or an item in the game, EMI will remove it. It brings some obstacles to modpack dev and debug. I hope that missing recipes and missing stacks are kept after deserialization, so that when I enable that mod again, these recipes and stacks are still available.

This is a relatively involved feature addition for a relatively niche use case.


Hundreds of depreciation compiler warnings when running tests

Several months back I upgraded a project from Elixir 1.8 to 1.10.4 and from Phoenix 1.3.0 to 1.4.17 since then whenever I run the test suite I get hundreds of warnings (to the point where the test suite is nearly indecipherable):
warning: passing float to Decimal.new/1 is deprecated as floats have inherent inaccuracy. Use Decimal.from_float/1 or Decimal.cast/1 instead
  (decimal 1.9.0) lib/decimal.ex:1187: Decimal.new/1
  (ecto 2.2.12) lib/ecto/type.ex:587: Ecto.Type.cast/2
  (ex_machina 2.7.0) lib/ex_machina/ecto_strategy.ex:72: ExMachina.EctoStrategy.cast_value/3
  (ex_machina 2.7.0) lib/ex_machina/ecto_strategy.ex:58: anonymous fn/2 in ExMachina.EctoStrategy.cast_all_fields/1
  (elixir 1.10.4) lib/enum.ex:2111: Enum."-reduce/3-lists^foldl/2-0-"/3
  (ex_machina 2.7.0) lib/ex_machina/ecto_strategy.ex:49: ExMachina.EctoStrategy.cast/1
  (ex_machina 2.7.0) lib/ex_machina/ecto_strategy.ex:25: ExMachina.EctoStrategy.handle_insert/2

I'm not sure if this is an ExMachina issue or not it's just the first external library in the call-stack, if it's unrelated please feel free to just close this issue. Also I know this is not likely actually an issue with ExMachina but something in my setup, I'm posting hoping someone will have encountered this, or have some insights.
Thank you.

Ah, I solved it by upgrading phoenix_ecto from 3.0 to 3.6.0.

Doesn't that just mean there's only one instance of the warning instead of many? If so it would still be good to get that fixed in ex_machina.

Hi @axelson @tfantina thanks for bringing this up.
I'm not sure there's anything we can do from ExMachina's side to deal with this. ExMachina calls Ecto's casting functions here, so I believe this is a matter of upgrading Ecto (or phoenix_ecto like Travis did) to a version that uses Decimal.from_float or Decimal.cast. At least that's what I'm gathering from that backtrace. If you see something that could be changed, I'd be happy to review a PR.

@germsvel I think you are right, although after running  rm -rf deps I realized that I may not have actually solved the problem just yet but it seems to still be originating with Ecto.  I'll update this issue accordingly.  I'm still assuming it's an Ecto thing but if it turns out to be ExMachina I open up a PR.


Refactor tests

Tidy up structure of tests/.
Add test fixtures for some of the repeatedly used modules, i.e.
import pytest

@pytest.fixture
def fully_connected_net():
    # build net and connect it
    # add mechanisms etc.
    return net

def some_test():
    assert fully_connected_net.cell(0)....

Add sensible markers to tests, i.e. slow or other things.


Get sequence again in RheaKV by bGetSequence

Your question
How can i get the same sequence again when i use com.alipay.sofa.jraft.rhea.client.RheaKVStore#bGetSequence(java.lang.String, int) to get sequence.
Your scenes
Each bGetSequence method call will lead to sequence increase by step, so other client or thread cannot get the current sequence. In my scenes, i have to store this sequence in addition.
Your advice
If bGetSequence method allows step parameter to be zero, this question will be solved simply.
Environment

SOFAJRaft version: 1.2.3

This feature will be supported in v1.2.6 at the latest.


feat(deps): update to backstage 1.29

fixes https://issues.redhat.com/browse/RHIDP-2791

@mareklibra @ydayagi can you please help me fix the token deprecations in the notifications plugin?

@mareklibra @ydayagi can you please help me fix the token deprecations in the notifications plugin? https://backstage.io/docs/backend-system/core-services/http-auth/ https://github.com/backstage/backstage/releases/tag/v1.29.0

@schultzp2020 I don't know what is the problem that you are facing. But, you can delete the notifications plugin. At least comment it out somehow. We are not using it anymore. There is an upstream plugin now.

verified orchestrator plugin

feedback, matomo plugin looks fine

Verified that rbac plugin works good.

/lgtm


update for latest selenium

find_element_by_id type methods are removed from selenium science version 4.30

@jakevdp what is needed to merge in these updates? if there are tests or other things that are needed I'd be happy to help.

hi @jakevdp, do you happen to know if we can merge this in, tested locally seems fine and minor fix

It would be fantastic to get this merged 🚀

@PaleNeutron Just curious, are there plans to support selenium >=4.30 or is this done in another PR?

I see, thanks for the heads up and the link!


Ios third party cookies issue

Bug description:
Can someone help I am opening a website in webview which opens an iframe and a website loads in that. This works in android but on Ios it show third party cookies are disabled
Is there an limitation on Ios end or can I do something to enable this
P.S: I am new to react native so please if someone can guide me
        <WebView
          onLoadStart={() => this.setState({ isLoading: true })}
          onLoadEnd={() => this.setState({ isLoading: false })}
          ref={webView => (this.webView = webView)}
          source={{
            uri: url
          }}
          onMessage={this.onMessage}
          onContentProcessDidTerminate={this.onContentProcessDidTerminate}
          thirdPartyCookiesEnabled={true}
          sharedCookiesEnabled={true}
          originWhitelist={["*"]}
          javaScriptEnabled={true}
        />

To Reproduce:

Expected behavior:

Screenshots/Videos:

Environment:

OS: Ios
OS version:
react-native version:0.73.6
react-native-webview version:13.8.1"

try adding originWhiteList set to accepting all ([*]). This help me in the past


Compatibility with thumbor 6.0

When running thumbor 6 with opencv, it seems there's an incompatibility when using smart detection:
2016-03-14 12:10:57 tornado.application:ERROR Future exception was never retrieved: Traceback (most recent call last):
  File "/home/thumbor/thumborenv/local/lib/python2.7/site-packages/tornado/gen.py", line 1017, in run
    yielded = self.gen.send(value)
  File "/home/thumbor/thumborenv/local/lib/python2.7/site-packages/thumbor/handlers/__init__.py", line 177, in get_image
    self.filters_runner.apply_filters(thumbor.filters.PHASE_AFTER_LOAD, transform)
  File "/home/thumbor/thumborenv/local/lib/python2.7/site-packages/thumbor/filters/__init__.py", line 81, in apply_filters
    callback()
  File "/home/thumbor/thumborenv/local/lib/python2.7/site-packages/thumbor/handlers/__init__.py", line 175, in transform
    self.context.transformer.transform(after_transform_cb)
  File "/home/thumbor/thumborenv/local/lib/python2.7/site-packages/thumbor/transformer.py", line 102, in transform
    self.smart_detect()
  File "/home/thumbor/thumborenv/local/lib/python2.7/site-packages/thumbor/transformer.py", line 151, in smart_detect
    self.do_smart_detection().result()
  File "/home/thumbor/thumborenv/local/lib/python2.7/site-packages/tornado/concurrent.py", line 232, in result
    raise_exc_info(self._exc_info)
  File "/home/thumbor/thumborenv/local/lib/python2.7/site-packages/tornado/gen.py", line 1017, in run
    yielded = self.gen.send(value)
  File "/home/thumbor/thumborenv/local/lib/python2.7/site-packages/thumbor/transformer.py", line 179, in do_smart_detection
    detectors[0](self.context, index=0, detectors=detectors).detect(self.after_smart_detect)
  File "/home/thumbor/thumborenv/local/lib/python2.7/site-packages/thumbor/detectors/face_detector/__init__.py", line 28, in detect
    features = self.get_features()
  File "/home/thumbor/thumborenv/local/lib/python2.7/site-packages/thumbor/detectors/local_detector.py", line 43, in get_features
    with_alpha=False
TypeError: convert_to_grayscale() got an unexpected keyword argument 'update_image'

Here's the version of the packages I'm using:
backports-abc==0.4
backports.ssl-match-hostname==<IP_ADDRESS>
botocore==1.2.0
certifi==2016.2.28
colour==0.1.2
derpconf==0.7.3
docutils==0.12
futures==3.0.5
jmespath==0.7.1
libthumbor==1.3.1
numpy==1.10.4
opencv-engine==1.0.1
pexif==0.15
Pillow==3.1.1
pycrypto==2.6.1
pycurl==<IP_ADDRESS>
python-dateutil==2.5.0
python-magic==0.4.10
pytz==2016.1
redis==2.10.5
shortuuid==0.4.3
singledispatch==<IP_ADDRESS>
six==1.10.0
statsd==3.2.1
tc-aws==6.0.0
tc-core==0.3.0
tc-redis==1.0.1
tc-shortener==0.2.2
thumbor==6.0.0
tornado==4.3
tornado-botocore==1.0.2

And the configuration for running thumbor:
################################################################################
#######                    FILE MANAGED BY PUPPET                        #######
################################################################################
COMMUNITY_EXTENSIONS = ["tc_shortener"]
DETECTORS = ["thumbor.detectors.face_detector", "thumbor.detectors.profile_detector", "thumbor.detectors.glasses_detector", "thumbor.detectors.feature_detector"]
ENGINE = "opencv_engine"
FACE_DETECTOR_CASCADE_FILE = "haarcascade_frontalface_default.xml"
FILTERS = ["thumbor.filters.brightness", "thumbor.filters.no_upscale", "thumbor.filters.colorize", "thumbor.filters.contrast", "thumbor.filters.equalize", "thumbor.filters.format", "thumbor.filters.rotate", "thumbor.filters.quality", "thumbor.filters.fill", "thumbor.filters.saturation", "thumbor.filters.rgb", "thumbor.filters.round_corner", "thumbor.filters.quality", "thumbor.filters.sharpen", "thumbor.filters.noise", "thumbor.filters.watermark", "thumbor.filters.blur", "thumbor.filters.grayscale", "thumbor.filters.strip_icc", "thumbor.filters.convolution", "thumbor.filters.extract_focal", "thumbor.filters.max_bytes"]
JPEGTRAN_PATH = "/usr/bin/jpegtran"
LOADER = "tc_aws.loaders.s3_loader"
METRICS = "thumbor.metrics.statsd_metrics"
MIXED_STORAGE_CRYPTO_STORAGE = "tc_redis.storages.redis_storage"
MIXED_STORAGE_DETECTOR_STORAGE = "tc_redis.storages.redis_storage"
MIXED_STORAGE_FILE_STORAGE = "tc_aws.storages.s3_storage"
OPTIMIZERS = ["thumbor.optimizers.jpegtran"]
REDIS_STORAGE_SERVER_DB = 0
REDIS_STORAGE_SERVER_HOST = "localhost"
REDIS_STORAGE_SERVER_PASSWORD = ""
REDIS_STORAGE_SERVER_PORT = 6379
RESULT_STORAGE = "tc_aws.result_storages.s3_storage"
RESULT_STORAGE_STORES_UNSAFE = True
SEND_IF_MODIFIED_LAST_MODIFIED_HEADERS = True
SHORTENER_REDIS_STORAGE_SERVER_DB = 0
SHORTENER_REDIS_STORAGE_SERVER_HOST = "localhost"
SHORTENER_REDIS_STORAGE_SERVER_PORT = 6379
STATSD_HOST = "localhost"
STATSD_PREFIX = "thumbor"
STORAGE = "thumbor.storages.mixed_storage"
TC_AWS_LOADER_BUCKET = "REDACTED"
TC_AWS_REGION = "eu-west-1"
TC_AWS_RESULT_STORAGE_BUCKET = "REDACTED"
TC_AWS_RESULT_STORAGE_ROOT_PATH = "/results"
TC_AWS_STORAGE_BUCKET = "REDACTED"
TC_AWS_STORAGE_ROOT_PATH = "/storage"
TC_AWS_STORAGE_RSS = False

@guilhermef maybe you did encounter this error?

@Bladrak It's really broken, the smart detection now uses cv2 interface,
which works really well with Pillow but not cv.

@guilhermef ok, so we still need opencv for the smart cropping, but not as an image engine, is that right? If I switch the engine to pil, it should be ok then?

That's right.
Em 14/03/2016 11:58, "Hugo Briand"<EMAIL_ADDRESS>escreveu:

@guilhermef https://github.com/guilhermef ok, so we still need opencv
for the smart cropping, but not as an image engine, is that right? If I
switch the engine to pil, it should be ok then?
—
Reply to this email directly or view it on GitHub
https://github.com/thumbor/opencv-engine/issues/20#issuecomment-196351799
.

This is fixed in my pr #27


[WIP] Cause Enhancements

So far, Cause as it stands is somewhat confusing with the inclusion of Reason such that it isn't clear as to what should be considered a Cause and what should be considered a Reason.
This PR aims to achieve the following:

Cause becomes a container object of all related objects associated with the cause for a CauseTracked event
"Reasons" or additional causes aiding the direct cause for an event are included in Cause, the closer the association to the direct cause, the lower the index that object will be
Include EntityDamageEvent and DamageSources while keeping in line with the primary Cause goal. Any additional associated objects aiding the direct DamageSource are included in the Cause associated with the EntityDamageEvent
Introduce EntityPreDamageEvent where the damage calculations for modifying the raw damage are included, this is primarily used for modifying the outgoing damage BEFORE the EntityDamageEvent is fired, this is equivalent to having an event to modify the damage a Player will output when using an ItemStack of ItemTypes.DIAMOND_SWORD such that all modifiers are included (such as the enchantments on the sword, the potion effects, and any other AttributeModifiers or alternative DamageModifiers relating to the final raw damage output from the Player
For many CauseTracked events, the Cause now is always available, but a Cause.empty() may be included

So what does this really mean for CauseTracked events?
What this means is that a vanilla interaction throwing a CauseTracked event will have as much information as possible within the Cause. With the following addition to Cause:
<T> Optional<T> getFirst(Class<T>);

<T> Optional<T> getLast(Class<T>);

a plugin is easily able to determine whether a BlockState was the cause for an event, a Player, or if a TileEntity was part of the mix.
The one issue with Cause previously was that it was always optional. Passing in a null to the SpongeEventFactory is that the Cause is always optional, even when it should not be.  In the PR, I change this to where Cause can be "empty". Some might think: Wait! Isn't that making Cause just become a similar object to Optional? To which the answer is yes. The one issue with Optional however is that  Optional can only hold a single value. There is no way to hold multiple values, except if the Optional is declared like so: Optional<Object[]>, which eliminates any utility methods provided by getFirst(Class<T>) and getAllOf(Class<T>) from Cause.
Ok, so where does this come into play with actual events? I want to know the cause for a BlockChangeEvent!
Well, see, this is where the uniqueness comes into play. Since we always have a Cause, we can always call getFirst(Player.class) which will return a present Player if and only if a Player was involved in the BlockChangeEvent. How the objects are ordered in the Cause is simple: The direct cause of the event comes first, any additional "helpers" that aid the root cause are indexed afterwards.
I'll give an example here of how a BlockChangeEvent could have the order of objects in the cause, for the case of a Player placing a ItemTypes.SAPPLING.
First, the Player is the root cause, because the player is right clicking with the ItemStack.
Second, the ItemStack follows because the ItemStack is a part of the "reason" why the BlockChangeEvent is being called.
Now, what I haven't seen is how this affects something like EntityDamageEvent, care to elaborate?
Of course! With an EntityDamageEvent, I'll have to pull the same description from #707

Skeleton shoots bow launching an arrow hitting a Player.
This is pretty plain and simple to understand what happens, but we need to look at it much deeper to fully understand what the final damage comes out to:

I'll give an order of how the damage is calculated:

Skeleton is shooting the arrow, by default it will apply say 3 damage to the Arrow
The bow, if enchanted applies a bonus amount of damage to the arrow, say 1.5 additional damage
The final raw damage of the arrow is now 4.5.

Now here comes the fun part:
The Player is hit with the arrow

The damage is modified based on the game difficulty, in this case, it's on HARD difficulty, so the damage is multiplied by 1.5 (damage is now 6.75)
Armor calculations are factored in, Say that the player has full iron armor, and the iron armor reduces the damage by 2 (damage is now at 4.75)
Potion effects add to resistances, so damage is reduced by multiplying damage by 20 and dividing by 25 (damage is now at 3.8)
Armor Enchantments reduce the damage by 20% for example (the damage is now at 3.04)
The Absorption potion effect is now factored in to find out how much actual health is removed from the entity, say we have an additional 2 health from absorption, (damage is now at 1.04)

The end result is a damage value of 1.04 damage dealt directly to the entity, where 4.5 damage originated.

The reason why I walked you through all of this is the following: I've been contemplating that we should have a LivingPreAttackEntityEvent of which we can trace the modifiers for the damage being dealt to the entity (in the case of the skeleton shooting, there's the modifier of the bow and the modifier base damage of the skeleton). After that event, we'd need a proper WeightedCollection to store the DamageModifiers and their Functions being applied to the incoming damage for an EntityDamageEvent. Considering the limitless possibilities of being able to identify the DamageModifiers and the Cause for each modifier, I do believe this would make an excellent change with Causes PR in the near future.

What HAS been achieved however, is slightly different. Instead of just including the associated Entity as a root to the Cause, a DamageSource is now the root cause. A DamageSource is essentially a wrapper around any object with a descriptive DamageType with various attributes of the DamageSource including whether the damage is absolute, ignores armor, magical, explosive, or even scaled with difficulty. The included DamageSources in this PR facilitate understanding the type of damage being dealt, and the parties involved in the DamageSource.
I'm a little confused about DamageSource, can you give me an example?
Of course! Say you have an EntityPreDamageEvent:
The DamageSource in this case is actually a ProjectileDamageSource, where the Projectile is an Arrow, and the ProjectileSource is a Skeleton. Given that the ProjectileDamageSource is the root cause to the EntityPreDamageEvent, we can then use this information to know that the Cause should have a related ItemStack used as a bow to shoot the Arrow. With the bow, we know that it can have no Enchantments or it can have some Enchantments. Of course, with these objects in the Cause, it makes it plain and clear to use them:
@Subscribe
public void cancelAnvils(EntityPreDamageEvent event) {
    if (event.getCause().isEmpty()) {
        return;
    }
    final Cause cause = event.getCause();
    final Optional<BlockDamageSource> damageSource = cause.getFirst(BlockDamageSource.class);
    if (damageSource.isPresent()) {
        if (damageSource.get().getBlockState().getType() == BlockTypes.ANVIL) {
            event.setCancelled(true);
        }
    }
}

@Subscribe
public void skeletonArrows(EntityPreDamageEvent event) {
    if (event.getCause().isEmpty()) {
        return;
    }
    final Cause cause = event.getCause();
    final Optional<ProjectileDamageSource> projectileDamageSource = cause.getFirst(ProjectileDamageSource.class);
    if (projectileDamageSource.isPresent()) {
        final ProjectileSource source = projectileDamageSource.get().getShooter();
        if (source instanceof Skeleton) {
            final SkeletonType skeletonType = ((Skeleton) source).getData(SkeletonData.class).get().getValue();
            if (skeletonType == SkeletonTypes.WITHER) {
                event.setDamageFunction(new MyDamageModifier(Cause.of(source, this)), new Function<Double, Double>() {
                    @Nullable
                    @Override
                    public Double apply(Double input) {
                        return input * 3 / 2;
                    }
                });
            } else if (skeletonType == SkeletonTypes.NORMAL) {
                event.setDamageFunction(new MyDamageModifier(Cause.of(source, this)), new Function<Double, Double>() {
                    @Nullable
                    @Override
                    public Double apply(Double input) {
                        return input * 3 / 4;
                    }
                });
            }
        }
    }
    for (final Tuple<DamageModifier, Function<? super Double, Double>> damageModifier : event.getModifiers()) {
        if (damageModifier.getFirst().getCause().getFirst(ItemStack.class).isPresent()) {
            // We know that we have an ItemStack that was used in the DamageModifier cause, we can suspect that
            // the ItemStack has some sort of enchantments, or not
            final ItemStack itemStack = damageModifier.getFirst().getCause().getFirst(ItemStack.class).get();
            final Optional<EnchantmentData> dataOptional = itemStack.getData(EnchantmentData.class);
            if (dataOptional.isPresent() && dataOptional.get().get(Enchantments.POWER).isPresent()) {
                event.setDamageFunction(damageModifier.getFirst(), new Function<Double, Double>() {
                    @Nullable
                    @Override
                    public Double apply(@Nullable Double input) {
                        return input * 1.25 * dataOptional.get().get(Enchantments.POWER).get().doubleValue();
                    }
                });
            }
        }
    }
}

public final class MyDamageModifier implements DamageModifier {
    private Cause cause;

    public MyDamageModifier(Cause cause) {
        this.cause = checkNotNull(cause);
    }

    @Override
    public Cause getCause() {
        return this.cause;
    }

    @Override
    public String getId() {
        return "com.gabizou.MyDamageModifier";
    }

    @Override
    public String getName() {
        return "MyDamageModifier";
    }
}

Holy cow batman! Why so complicated?!
Unfortunately, there is A LOT that goes into an EntityDamageEvent, even more so if you want to be able to manipulate the damage coming in, essentially the EntityPreDamageEvent. To fully unlock the power available with this, the possibilities to associate new DamageModifiers with a damage event are nigh limitless. Since we can expose the underlying functions, as they placed in order from vanilla mechanics, we can successfully interpret that an EntityPreDamageEvent is augmented not only by the Skeleton, but also that the ItemStack used by the Skeleton affects the total damage applied onto the Arrow. With that in mind, we can also assume that we can interpret the following EntityDamageEvent with similar processing for DamageModifiers when an Entity is being damaged, dictating the final damage actually being applied to the Entity, and not just interpret the raw incoming damage.
Of course, there are so many factors that can go into the EntityDamageEvent that I can't possibly explain it all in a simple code snippet, but I can explain in layman terms here.
With the EntityDamageEvent being fired only while the Entity is being damaged, we can gather all DamageModifiers that would further process the raw incoming damage, such as ItemStacks that are considered to be armor, PotionEffects that are absorbing damage, heck, we can even apply our own custom DamageModifiers if we had a party plugin that had a "reducing damage" effect based on the number of players joined in the party! All of this is as extensible as possible.
Ok... well, it's clear that you've given a lot of thought about EntityDamageEvent, but what about other CauseTracked events?
Similar to the EntityDamageEvent and EntityPreDamageEvent, we can safely say that most CauseTracked events are going to receive similar treatment with regards to adding additional sources/causes/reasons whatever you want to call them. So far, I've only been able to seriously work on the damage events, however, my thought process is that with EntitySpawnEvent, it is very easy to apply the same idea of having the following:
EntitySpawnEvent:

SpawnCause : An abstract root cause that aids in helping further understand the Cause for why an Entity is being spawned
SpawnType : Another CatalogType that aims to further simplify the type of SpawnCause, more specifically, when an Entity is spawned by a MobSpawner, the SpawnCause would be an instance of a MobSpawnerSpawnCause with the associated MobSpawnerData that defined the Entity to be spawned

EntityTeleportEvent:

TeleportType : Yet again, a helper CatalogType that aims to make it understandable why an Entity is being teleported
TeleportCause : Another root cause for the Entity to be teleporting, can range from EntityTeleportCause (an Enderman teleporting due to rain), TeleporterTeleportCause (a portal performing the teleport as per vanilla mechanics)

The list will grow as the PR is worked on and time goes on.
So, will this make it easy for me to know if a BlockChangeEvent was caused by a Player using some bonemeal on a sapling?
In a short answer: yes.
The long answer: The Cause would indeed have a Player object, and the secondary cause would be the ItemStack that "aided" in the cause for the BlockChangeEvent to take place. What is better is that with the knowledge of the Player, the ItemStack, and any other objects placed into the Cause, it becomes very simple for you to decide on changing the BlockChangeEvent for whatever purpose.
How about throwing custom events? I don't really understand what I'm supposed to do here if I want to allow plugins to hook into my custom EntityTeleportEvent.
To be honest, that is why I simplified Cause to replicate Optional. When you are wanting to teleport an Entity with a Cause, you can include the root cause, say the Entity called a Command, and the Command was entered through a Sign, you now have two objects to include in your Cause. However, let's say you wanted to expand and provide some custom TeleportCauses, you could extend TeleportCause and provide the extended Cause to be the Sign, and likewise you could include your own custom marker object so that in the event you have a listener for EntityTeleportEvent, you can safely ignore the event if your custom marker object is included.
How about X event?
Well, as I said before, the PR is still a work in progress, so I haven't finished designing the Cause for every CauseTracked event.

Would/Could this tie into https://github.com/SpongePowered/SpongeAPI/issues/556 ? Setting a block with a cause on behalf of a player?

BlockMoveEvent, EntityExplosionEvent and EntityDeathEvent(breaking Vehicles/Hanging) are not Cancellable.
I think they should be.

How would you prevent an entity from dying when it already has 0 health? Wouldn't you rather listen for the entity damage event that would kill the entity and prevent damage?

I couldn't find an EntityDamageEvent.
There is one for Living but what I need is an event where entities without Health die/are removed.
(VehicleBreak and HangingBreakEvents in Bukkit)

I couldn't find an EntityDamageEvent.
There is one for Living but what I need is an event where entities without Health die/are removed.
(VehicleBreak and HangingBreakEvents in Bukkit)

https://github.com/SpongePowered/SpongeAPI/pull/712/files#diff-775b410055a6c5940497d25e4bcdff8dR43

So this one will be fired for non Living Entities too?

So this one will be fired for non Living Entities too?

That is the point of any EntityEvent, it is thrown for any Entity. The LivingChangeHealthEvent is specifically for any Living entities, etc.

After a lengthy discussion with @bloodmc and @modwizcode, I've come to the conclusion of the following agreements for this PR:

[ ] Causes will have two types of lists:
[ ] A list of Events for the event chain
[ ] A list of the Cause objects
[ ] Additional methods for querying said events in the Cause object chain:

[ ] getFirstEvent(Class<E extends Class>) returning the Event in the event chain
[ ] getLastEvent(Class<E extends Class>) returning the E event last in the event chain
[ ] getAllEventsOf(Class<E extends Class>) returning a List of all compatible events in the event chain

[ ] Each event that can have a custom direct cause would have extensive documentation of such causes so that querying for them in the Cause object is simple.
[ ] Custom event causes (such as SpawnCause or DamageReason) that include extra information as necessary related to the cause itself will remain as they are: included in the Cause list of objects.
[ ] Custom Cause interfaces would be superinterfaced for a simple getEventCauseUniqueId():UUID
[ ] Events included in the event chain of Cause would become immutable by virtue of calling any modification methods resulting in an UsupportedOperationException. This will be possible through the event factory and an annotation provided by @Aaron1011.

This has been merged into the refactor/event-names branch.


Beta feedback

Love the new textures for crab rangoon etc,
But:
Leaves are dropping green tea leaves even without using a knife
Matcha ice cream recipe gives salmonberry ice cream
forge 1.18.2

1.18.2 is not actively supported


feat: add avtrdb provider impl

AvtrDB implementation
Currently not live - will come over the weekend.
Preliminal PR to check if everything checks out.
Endpoint Docs
Base URL: https://api.avtrdb.com/v1
POST /avatar/ingest
Request:
{
    "avatar_ids": ["<valid_avatar_id>"],
    "attribution": "<alphanumeric up to 30 chars | null>"
}

Response:
{
    "valid_avatar_ids": 1
}

Attribution
By default the tool uses the discord id of either the currently logged in DC account or shays, if you dont want that you can set the AVTRDB_ATTRIBUTION environment variable.
Those attributions will eventually be used for a leaderboard on the frontend. All attributions that are in any way offensive will be removed without warning.
Caveats
The API supports up to 1000 avatar IDs per request, they will be deduped and then ingested. Please be civil, otherwise I will have to lock this down to registered accounts with sth like account age.
Currently avatars are not refetched automatically, but when requested will be refetched after 2 weeks (the blacklist endpoint bypasses this limit, but is behind a captcha). It can take up to 1 hours for avatars to show up in the search, depending on load.
If anything breaks, let me know - discord can be found in the readme or via https://avtrdb.com/discord

Is there a reason to introduce and use AVTRDB_ATTRIBUTION instead of reusing DISCORD to supply your User ID? It seems like DISCORD currently serves as a fallback, but it could be prioritized over fetching if desired. However, since there’s no validation, any input could be accepted. Should we consider adding a regex for basic snowflake validation, or even make an API request to perform proper validation?

The reasoning beind the new env variable is that ppl might want to appear as different people on different services. And as I had no agency to change other providers this was the easiest way to accomplish that. I can remove it if you want to. Id also be down to add the validation in another PR.
Thinking about the provider trait is a little tricky cause you use the result of the ingestion to store it in cache.
IMHO its not a good interface design when some methods are unimplemented - I have been burned by this coming from Java.
One simple thing might be to add a new trait like BatchingProvider which adds send_avatar_ids() and then just have two types of providers. I have drafted this and will propose this in another PR.
On another note - The ingest is live and up. Lets see how it performs.

I think having a separate env for each provider is fine, it could even be used as a way to disable providers at runtime instead of only at compile time in the future.
I agree the way I've structured the code is not optimal, it's weird object oriented style I found and haven't figured out a better way to do it more ergonomically, if you'd like to make any large changes you're more than welcome.
I had the thought to have separate boolean columns in the cache for each provider so that the logger could re-submit any submitted avatars from the cache at startup, but again it didn't fit with the way the code is structured right now, you're welcome to try to do this.


scratch b2bcommerce feature not available

Hi
I followed the instructions and created the scratch org using the project-scratch-def.json however when I open the scratch org and check installed packages I see no B2B commerce package is installed and in object manager I do not see any of the B2B commerce objects such as WebStore Please help me how to fix this?

@arashp managed to solve this by adding apiversion to org creation command
sfdx force:org:create -f config/project-scratch-def.json -a=b2bquickstart -s -d 30 --apiversion=52.0


How do I run example in expo

New to entire react native, and expo world.
Is it possible to run the examples in this project in expo?
Could someone also help me with with step by step guid in react-native cli/expo?
Thanks a lot.

Any update?


Fix usage and hyperlinks in kubectl reference

Fixes command usage missing kubectl
Fixes subcommand usage missing kubectl <maincommand>
Fixes problem with hyperlinks surrounded by [ ] not displaying correctly (https://github.com/kubernetes/website/issues/18444)

Generating a preview now...

Here is a kubectl reference docs preview generated using the code in this PR:
https://deploy-preview-19864--kubernetes-io-master-staging.netlify.com/docs/reference/generated/kubectl/kubectl-commands

/assign @steveperry-53

/cc @kbhawkey

/approve

👀


UnnecessaryParens false positive

Example
myButton : Bool -> Element msg
myButton newTab =
    (if newTab then
        newTabLink

     else
        link
    )
        []
        { url = "https://google.de"
        , label = text "Label"
        }

will trigger Unnecessary
But removing the parens results in wrong code:
myButton : Bool -> Element msg
myButton newTab =
    if newTab then
        newTabLink

    else
        link
            []
            { url = "https://google.de"
            , label = text "Label"
            }

Another example:
(if flags.can PurchaseBundles then
    (::) Store.UserSettings.fetchBundles

 else
    identity
)
    [ Store.UserSettings.fetchCreditCard
    , Store.UserSettings.fetchCountries
    , Store.UserSettings.fetchReceipts 1
    ]

Simplest example:
(hours-24)*60
is flagged, but
(hours - 24)*60
is not


Vector-Sort Hackerrank

Problem Link:
https://www.hackerrank.com/challenges/vector-sort/problem
Aim:
You are given  N integers. Sort the N integers and print the sorted order.
Store the N integers in a vector.
Details:

Programming Language:

[x] C++
[ ]  Java
[ ]  C
[ ]  Python

Please assign this issue to me under the label LGM-SOC


change distance/crowdedness checkboxes to a slider

slider to adjust preferences (whether to care more about distance or crowdedness)

soft close, not our top priority


Add support for libsecp256k1

We should eventually migrate off OpenSSL to libsecp256k1. At least, start with ECDSA signing. See  https://github.com/GemHQ/secp256k1-rb

Added optional support for signing via BTC::Secp256k1.ecdsa_signature.


save_historic_klines_csv files with wrong time information

The save files wich are saved by save_historic_klines_csv have a wrong time format in the files.
The file contains the following line(s):
<module 'time' (built-in)>, 2e-05, 2e-05, 2e-05, 2e-05, 53.0
The line 262 in save_historical_data_Roibal.py :
format_kline = "{}, {}, {}, {}, {}, {}\n".format(time, open1, High, Low, Close, Volume)
has to be:
format_kline = "{}, {}, {}, {}, {}, {}\n".format(time1, open1, High, Low, Close, Volume)

I fixed this section of the code and gave you credit. Thank you very much my friend.


Bug 2252880: volumes are lost on the secondary managed cluster after hub recovery

Closing as this is merged via #160


Steam Auth loginInfo returns null

v 2.1.9
It used to work 4-5 days ago (I suppose), not loginInfo returns null.

I suppose the problem is http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002 returning 403:

Sorry, the problem was with the API Key, not auth module.
Closing this.

👍


go install github.com/pandatix/go-abnf/cmd/pap@latest not working

As the title states, when installing pap (using go 1.22.1), this error appears :
$ go install github.com/pandatix/go-abnf/cmd/pap@latest
The go.mod file for the module providing named packages contains one or more replace directives. It must not conatin directives that would cause it to be interpreted differently than if it were the main module.

In pap go.mod, a replace directive is present.

Documentation has been update as of v0.1.2.
It could be downloaded as a release asset or built manually.
Thanks for pointing this out :smile:


Deeplinking crashes if in page in tab

home/cart -> is a tab page. Works perfectly fine if we deeplink like: app://home/cart
home/cart/checkout -> is page inside the home/cart tab. Doesn't work.

should work now
/rootPath/bottomTabPath/screenPath/:param


[admin] Publish

Docs Build status updates of commit ca3c654:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/images/convert-csv-flow-1.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-2.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-3.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-4.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-5.png
:white_check_mark:Succeeded
View

docs/index.md
:white_check_mark:Succeeded
View

docs/resources/samples/convert-csv-example.zip
:white_check_mark:Succeeded

docs/resources/samples/convert-csv.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

licensing-information.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


➖ Removed highlight.js dependency

Codecov Report

Merging #16 into 1.0.2 will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             1.0.2       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           14        14
=========================================
  Hits            14        14

Impacted Files
Coverage Δ

src/vue-markdown-it.js
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


👽 Replace @import rules in sass

Is your feature request related to a problem? Please describe.
import() is deprecated and must be replaced

This should be priority number one such that we can safely update our SASS version


Edit mode is toggled when typing in widget config

We need to find a way to disable the 'edit mode' toggling (actually by the E key) when we are typing in a widget configuration.

Don't you think a binding involving two keys like CTRL + E would solve the issue?

Yes, could be a quick fix, but I don't really like composed keyboard bindings for a webpage, a don't want to infer with some system defined shortcut.
Maybe we can disable the edit mode keyboard binding if we are editing a widget config?

Yeah we could do that


Implement Suggestions API

Mastodon's Suggestion API provides endpoints to retrieve server-generated suggestions on who to follow, based on previous positive interactions. The goal of this task is to implement the following endpoints of this API in BigBone:

View follow suggestions (v2)
Remove a suggestion

The Suggestions API as it is documented by Mastodon can be found here:
https://docs.joinmastodon.org/methods/suggestions/
Tip: A lot of other endpoints similar to this have already been implemented. In order to get an idea how to implement this, I suggest that you study the code upfront. Start with one of the *Methods.kt files.
Please consult the following documents to make sure your contribution meets our projects criteria:

Code of Conduct
Code Contribution Guidelines

I will develop these as well


Support for Laravel 5.6

Hi,
Do you have any plan to support laravel 5.6?
Thank You

Hello,
Please make it available in laravel 5.6
Br,

when will this be updated to support the laravel versions?

@frknasir
It is already updated to support.
Let me know which versions are having issues if possible send a PR

Getting this after running: composer require yab/laravel-scout-mysql-driver
Using:  laravel/framework v5.6.27

I am also getting that error on laravel 5.6
On Tue, Aug 28, 2018 at 5:01 AM Luis David<EMAIL_ADDRESS>wrote:

Getting this after running: composer require yab/laravel-scout-mysql-driver
Using: laravel/framework v5.6.27
[image: image]
https://user-images.githubusercontent.com/22669999/44685877-2dd70680-aa12-11e8-9f8b-d30e9795fcbd.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/YABhq/laravel-scout-mysql-driver/issues/62#issuecomment-416367296,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARycxw969dpyajcKfI487_g3VOQw0DBZks5uVF4VgaJpZM4TOMFS
.

@msonowal Laravel v5.6.31 and v5.6.35

I don't think this is actually an issue with Laravel 5.6, it's Scout - I had to drop scout down to 4.0 in order to get this to work.
Working on Laravel 5.6.35 and Scout 4.0 for me.


trufflehog: 3.52.1 -> 3.53.0

Diff: https://github.com/trufflesecurity/trufflehog/compare/refs/tags/v3.52.1...v3.53.0
Changelog: https://github.com/trufflesecurity/trufflehog/releases/tag/v3.53.0
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.


Prod: Reject requests if they don't come from main url

Summary
Auth fails if we access prod url through the code engine url (web-app34932e....) instead of the carbondesignsystem domain url, let's check the request origin and reject it if it doesn't come from main prod url.
Job stories
What value will this deliver?

When I access the production application through an unsupported url (such as, the code engine URL), I want my request to be rejected, so I can reinforce usage of the correct url to access the application and ensure correct functionality.

Acceptance criteria
What requirements must be met to complete this request?

Accessing prod app through code engine url gets rejected
I am able to access prod app BAU through the carbon domain url

Hey team! Please add your planning poker estimate with ZenHub @alisonjoseph @andreancardona @francinelucca @jdharvey-ibm

From Joe the "how", adding express middleware that looks at incoming request domain and if not the production domain, reject the request.


Make profiles for VS Code

Multiple profiles allows different customization and certain settings. Including the folders.

See #153384 for information about a new experimental feature that is already available in Insiders and is likely to be in next week's new Stable release.

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!

See #153384 for information about a new experimental feature that is already available in Insiders and is likely to be in next week's new Stable release.

I'll test it out in the Insiders build


[NOMERGE] Reflect changes to the integer types

Based on the latest revision of SE-0104.
See https://github.com/apple/swift/pull/11203.

@swift-ci please test and merge

@swift-ci please test

Merged to resolve CI failure


Add a Conversion From Range to Range<int>

I added this extension method to do this, but I'm thinking that arguably the "right" way to do this is to have an implicit conversion in place. Then I think I could something like this:
DoFunCalculations(0..100);

static void DoFunCalculations(Range<int> range)
{
  // Do stuff with Range...
}

Never mind, I can't do this, because the return type has to be the same as the enclosing type, so....oh well.


Update Search-UnifiedAuditLog.md

Making these changes as part of Teams Audit logs changes

Docs Build status updates of commit fad32ef:
:clock10: Full build: the average full build time is 12 min(s) 39 sec(s), this is based on the last 549 build(s) for this repository.

Docs Build status updates of commit fad32ef:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/policy-and-compliance-audit/Search-UnifiedAuditLog.md
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit 427024f:
:clock10: Pending: waiting for processors (40 builds ahead of you)
:warning: Docs Build is busy, currently there are 40 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 427024f:
:clock10: Full build: the average full build time is 12 min(s) 16 sec(s), this is based on the last 565 build(s) for this repository.

Docs Build status updates of commit 427024f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/policy-and-compliance-audit/Search-UnifiedAuditLog.md
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit 12a9f98:
:clock10: Full build: the average full build time is 12 min(s) 13 sec(s), this is based on the last 580 build(s) for this repository.

Docs Build status updates of commit 12a9f98:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/policy-and-compliance-audit/Search-UnifiedAuditLog.md
:white_check_mark:Succeeded
View (exchange-ps)

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