HTMLElement onchange should use this: this

This example worked in 2.0, but not in 2.1:
const input = document.createElement('input');
input.value; // OK
input.onchange = function() {
    this.value; // Error
}

The current definition for onchange in HTMLElement is: onchange: (this: HTMLElement, ev: Event) => any;. Maybe it should use this: this?

Duplicate of https://github.com/Microsoft/TypeScript/issues/12490
I broke this with my change https://github.com/Microsoft/TSJS-lib-generator/pull/166 to reduce instantiations in the library, by making less types generic (types using this are implicitly generic with respect to this).
The fix here is to generate onChange events for the type hierarchy with the correct type, instead of putting in the parent with type this.

If I'm reading it right, Microsoft/TypeScript#14141 may fix this by setting the this type of the function to the type of input.

If I'm reading it right, Microsoft/TypeScript#14141 may fix this by setting the this type of the function to the type of input.

correct.

Given that #14141 has now been merged, what is left to do to fix this issue and #12490?
I note that with with 2.3.0-dev.20170315 and noImplicitThis the following still types incorrectly (per #12490):
let i = new Image();
i.onload; // HTMLElement.onload: (this: HTMLElement, ev: Event) => any

The fix here is to generate onChange events for the type hierarchy with the correct type, instead of putting in the parent with type this.

This won't help custom elements.

Given that Microsoft/TypeScript#14141 has now been merged, what is left to do to fix this issue and Microsoft/TypeScript#12490?

The PR explicitly says that it works only on --noImplicitAny so I think it's not applicable to this issue.


Upgrade TheBlueAlliance API Integration

Upgrade TheBlueAlliance API Code to work Asynchronously or on separate threads.

Issue moved to TheBlueAlliance_API Repo


Fix an incorrect auto-correct for Layout/ClassStructure

This PR fixes the following incorrect auto-correct for Layout/ClassStructure when heredoc constant is defined after public method.
% cat example.rb
class Foo
  def foo
  end

  CONSTANT = <<~EOS.freeze
    str
  EOS
end

% bundle exec rubocop --only Layout/ClassStructure -a
(snip)

% cat example.rb
class Foo
  CONSTANT = <<~EOS.freeze
  def foo
  end

    str
  EOS
end

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Looks good! Thanks!


prereq.sh fails to install python3-pip on clean Rocky9.3

Describe the bug
prereq.sh uses python's pip module to install ansible. If running it on Rocky Linux version 9.3 (Dell reasons why that version is picked)
To Reproduce
Steps to reproduce the behavior:

Request PXE image from internal network - should be a reasonably vanilla Rocky9.3
git clone https://github.com/dell/omnia.git
ensure correct permissions on directories
run prereq.sh
See error
[root@controlplane omnia]# ./prereq.sh
#[SNIP]

UPGRADING PIP:
/usr/bin/python3.9: No module named pip
INSTALLING ANSIBLE:
/usr/bin/python3.9: No module named pip
/usr/bin/python3.9: No module named pip
Waiting for process with pid 11608 to finish.
#[SNIP]
For more information: https://omnia-doc.readthedocs.io/en/latest/InstallationGuides/InstallingProvisionTool/index.html
Expected behavior
script completes and ansible is installed successfully via python-pip
Or script halts on error
system snapshot

OS: Rocky Linux release 9.3 (Blue Onyx)
omnia/v1.5/main

@nthorne-dell  Omnia does not support rocky 9.3


Better translation for french language

In file select2/src/js/select2/i18n/fr.js
This is a better translation :
var message = 'Saisissez au moins ' + remainingChars + ' caractère';

var message = 'Saisissez au moins ' + remainingChars + ' caractère(s)' + (remainingChars>1)'s':'';

Fixed in v4.0.5 (https://github.com/select2/select2/commit/ed24c340289cc952e625cb75adb9d4c0deb447c6).  Sorry we couldn't merge your commit in directly for attribution - there were too many conflicts so we had to use a recursive merge.


Add 19 September 2022 as XLON ad-hoc holiday.

As announced here, 19 September 2022 will be a UK  bank holiday for Queen Elisabeth II‘s state funeral. So, an ad-hoc holiday should be added accordingly for XLON.

Closed by #230


Place the new marker when a chat becomes visible

@tgolen, @marcaaron, since we were all working on this.
Details
I decided to put the code on onVisibilityChange in ReportActionsView because that way we keep all the "similar" logic in the same file and I think it is really easy to understand and follow what's going on.
BUT, it could totally go here in updateReportWithNewAction too and it works just as well and it is also a logical place for it to be so... 🤷. If anyone has a strong preference, I'm fine with either.
Fixed Issues

https://github.com/Expensify/Expensify/issues/163167
Tests/ QA Steps
In web:

Open a chat that does NOT have the New marker in place and move to a different tab.
Receive two messages in the chat (wait for the notifications)
Go back to the .cash tab. The new marker should be over the oldest of the new messages.
Open a chat that DOES have the new marker (or place it marking a comment as unread) and move to a different tab.
Receive a message in the chat (wait for the notification)
Go back to the .cash tab. The New marker should be in the same place it was before.

In web and all the other platforms:

Open a chat that does NOT have the New marker in place and minimize the window/app.
Receive two messages in the chat (wait for the notifications)
Go back to the .cash tab. The new marker should be over the oldest of the new messages.
Open a chat that DOES have the new marker (or place it marking a comment as unread) and minimize the window/app.
Receive a message in the chat (wait for the notification)
Go back to the .cash tab. The New marker should be in the same place it was before.

Tested On

[X] Web
[ ] Mobile Web
[X] Desktop
[X] iOS
[X] Android

Screenshots
Taking screenshots of the marker won't mean much.

🚀 Deployed to production in version: 1.0.44-0🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


D1 Mini lite version Compatibility

Hi,
Im from the UK and have been keeping an eye on this as i have a ChiBattery modded 4210/4150 with limited range due to the firmware version.
Its, difficult to source a WeMos D1 Mini Lite here. Well, actually what i mean by that is that its difficult to source any "lite" versions here as they all seem sold out, even on aliexpress if im reading things right.
It is possible to source D1 mini V3.0.0's and to my eyes they look identical, apart from having 4mb for example - https://www.ebay.co.uk/itm/313603433691?hash=item490438a4db:g:cFQAAOSwwMBf7MQa
Can you advise if this is compatible? The size and shape look the same so i expect it would fit but i dont know much about these chips so i thought i would ask.
Im not sure if the mini and the "lite" are similar or functionally different, compatible or otherwise.
It may be handy to list in your Wiki which chips from the range would work?
Finally, is this ready do you think yet?
Many Thanks for your work on this project.

Yup It should work on any version of D1 as long as it's ESP8266 based.
The project isn't of a particular usefulness as of now, I have defeated the BMS pairing so far which isn't something you require. Keep an eye on it, I'll be getting started on battery stuff soon.
Cheers
-------- Original Message --------
On Jan 17, 2022, 7:01 AM, TheBR wrote:

Hi,
Im from the UK and have been keeping an eye on this as i have a ChiBattery modded 4210/4150 with limited range due to the firmware version.
Its, difficult to source a WeMos D1 Mini Lite here. Well, actually what i mean by that is that its difficult to source a V1 as you have in the wiki.
It is possible to source D1 mini V3.0.0's and to my eyes they look identical, apart from having 4mb for example - https://www.ebay.co.uk/itm/313603433691?hash=item490438a4db:g:cFQAAOSwwMBf7MQa
Can you advise if this is compatible? The size and shape look the same so i expect it would fit but i dont know much about these chips so i thought i would ask.
Finally, is this ready do you think yet?
Many Thanks for your work on this project.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

No problem,
Many thanks for the info and the very best of luck with the battery stuff! Fingers crossed for you.


Update ea workflow to use Java 20 EA

As soon as Temurin releases a 20-ea build, we can close this issue.

Yea I jumped a wee bit too early ;)

I guess I'll remove all the distributions but Oracle OpenJDK EA


URGENT: need script to remove spam

So, here's the situation: spammers have filled the database with crud to 100% capacity. I woke up this morning at 6am to a few tweets and emails from users notifying me of this:
https://twitter.com/eggheadio/status/580925169671127041
I've got the start of a script that identifies spam users, but there's nothing consistent in the spammy bins (though usually they don't have any CSS or JS).
The bigger problem is: I'm solo parenting my two young kids over the next 2 days and I don't have time to fix this. This sucks, but my kids come first.
So, I'm calling on you - can you help?
I reckon this is one approach:

Flag all spammy users (they come from a small subset of email domains) (script included below).
Get all bins from spammy users and delete them
Find bins that have HTML over a certain size... 2k? and no JS (so it's roughly fitting a profile) and has anonymous URL structure (url.length > 6) and remove.

This is a aggressive, but the disk space is at capacity and saving doesn't work at all right now.
Constraints:

The database is >15million records, so you can't just do a massive delete query, it needs to find records in chunks and needs to ideally remove individually.
User should be flagged with UPDATE ownership SET flagged=1 WHERE name="bad-guy"

Notes:

User table is called ownership
User bin tables is called owners - yes, I know, shit names
Bins are stored in sandbox

var Sequelize = require('sequelize');
var sequelize = new Sequelize('database', 'root', 'password');

var spammy = ['spam-email.com'];

sequelize.query("SELECT * FROM `ownership`", { type: sequelize.QueryTypes.SELECT})
  .then(function(users) {
    var targets = users.filter(function (user) {
      var match = spammy.filter(function (spam) {
        return (user.email.indexOf('@' + spam) !== -1)
      });
      return match.length > 0;
    });

    targets.forEach(function (spam) {

    });

console.log(targets.length);
  })

Few extra notes:

Using mysql
It probably makes sense to start gist or a repo to deal with this
I've used Sequelize because it looked simple, but I don't care what's used

If you have any questions, please ask here. I'll check in when I can to see if there's any progress or to run live scripts to get data back to the author.

jsPerf has the same problem.

Cloudflare helps a bit (blocks traffic from known/detected spammers) but is not 100% foolproof.
Implementing Akismet didn’t really help.

@remy you can update your database in one query:
UPDATE `ownership` SET flagged = 1 WHERE email REGEXP '\@(spam-email\.com|otherdomain\.com|other\.com)$'

this query set flagged = 1 on each users in domains: spam-email.com, otherdomain.com, etc.

@remy Is there any ability to add capacity in the immediate interim? Or is it a fear of it filling up that is stopping you doing this?
I'll take a look when I get into work in about half an hour for you if it's not picked up

A few questions:

So we're clear the system is currently FUBAR?
when was your last backup?
are you requiring email verification at any time?

We need a SQL master  in here. I'm going to see if I can get a hold of @silentrob.

@codecalm If the jsbin spam is anything like the jsPerf spam, it’s not that simple. The spammer uses various IP addresses, domain names, and URL shorteners.

@codecalm this would work to flag the users. The ownership table is smaller, so it will run.
The next step is to identify the bins to remove them.
@mathiasbynens as a bandaid, I've removed "normal" registration and am only allowing github directed sign in. It should reduce the registered spam, but there's also a lot of anon spam that's hard to identify.

@remy next step:
DELETE FROM sandbox WHERE user_id IN  (SELECT id FROM ownership WHERE flagged = 1)

Once the users are flagged, it's easy to then get their bins & delete them - you can just do a limit on the query - but run it a few times - this will limit your DB load.

@mathiasbynens thats useful to know. We can see this then as an arms race between the trouble it is to do those things and the impact that it has on the system.

@michaelw90 the mounted volume is currently at 100%. Nothing is saving to disk anymore. I've started a snapshot process (it's hosted on AWS), and if I disconnect the EBS and resize it, it should alleviate the issue...a little), but I don't know what the timing is like.

@codecalm that wouldn't work. The sandbox table is 15,000,000+ rows, lots of indices and uses indexdb. That would perform a full table scan which would kill the site entirely (probably for about 8 hours - this is based on the last table change I did a few years ago that locked the site for 4 hours).
That said, if that's the only option, then its the only option. One approach would be to do it in increment blocks (using id BETWEEN a AND b).

@michaelw90 technically, yes, but the bulk of the spam doesn't come from the spam users (about 24,000 of them). It comes from anonymous bins, which is much, much hard to identify, but some rough rules might do the trick.

@mathiasbynens a common use case for spammers on jsbin is the url shortener thing. They'll link to a bin on twitter or facebook, then that will bounce to their spam target via a short url and redirect in jsbin (most of which we automatically block these days).

@codecalm ran your update to set the flag, and lol:
ERROR 1114 (HY000): The table 'ownership' is full

I'm deleting a couple of known bins to make a few kb of space now.

It may be helpful to spin up a new instance of jsbin and switch over the DNS.

@remy you can add LIMIT xx syntax into your DELETE ... query. Run it a few times and rows will be removed step by step.

@sintaxi to what end? jsbin has two main servers: app + db. The EBS that stores the database on db is 100%, but app still works, which is why jsbin is still up (weirdly!)

Are you able to dump any data out?

@sintaxi I can, do you mean to work with?

@remy, so run this query few times:
UPDATE `ownership` SET flagged = 1 WHERE ownership = 0 AND email REGEXP '\@(spam-email\.com|otherdomain\.com|other\.com)$' LIMIT 1000

it update your database step by step.

@remy Im thinking rather than fixing the database. lets just get the good data out and stood up on a new machine.

@remy In other words fixing the problem isn't really necessary. Only the data is important. When was the last backup?

@codecalm that worked for 1000 (ish) rows. Now limit 1 doesn't work!
@sintaxi last backup was this morning. Aye, the data's important. Recovering could take a long long time, but yes, definitely my backup plan.

last backup was this morning.

Thats great. Doesn't seem like a bad idea to me to spin up a new system and bootstrap with that backup. Then assess the loss.

@sintaxi it's a manual job though (i.e. I don't have automation tools for jsbin's instances). And little'un wakes from nap very soon, so laptop goes down. Hence why I'm after bandaid to deal with junk bins.

Maybe remove sandbox before: (i have not verified the query)
DELETE sandbox FROM sandbox
LEFT JOIN ownership ON (sandbox.user_id = ownership.user_id)
WHERE ownership = 0 AND email REGEXP '\@(spam-email\.com|otherdomain\.com|other\.com)$';

UPDATE: I've got a few minutes whilst my daughter naps, and my son is ipadding (not great). I'm going to unmount the volume, and create a new volume based on the last snapshot (this morning). Then remount.
I've no idea on the effect on jsbin if this happens. I suspect it'll be pretty bad, but nothing's saving right now anyway.

@thisishugo that would take about 8+ hours to complete which is why I mentioned batching.

Do you have foreign keys & cascade deletes set up on your tables?
If you do - would deleting a user then cascade through & delete their related bins?

UPDATE: I've got a few minutes whilst my daughter naps, and my son is ipadding (not great). I'm going to unmount the volume, and create a new volume based on the last snapshot (this morning). Then remount.

Thats a good plan. :+1:

I've no idea on the effect on jsbin if this happens. I suspect it'll be pretty bad, but nothing's saving right now anyway.

Don't worry about that now.

@remy - when you restore, can you restore to a bigger EBS?
I can't remember with AWS - if you can dynamically resize an EBS - if so, can you just resize the one that is currently attached when you disconnect it?

@michaelbragg no. I've not heard of cascade deletes before tbh.
Current status: new mount built based on snapshot - mounting and checking now.

/mounting...

After you got a working instance back, it would be great to provide some additional data (access log, some database rows) so we can help you with finding a pattern and building a long term solution.
Do you have any rate limiting yet? Are you using any DDoS protection service?

/waiting with anticipation...

ffs.
I've created a 400gb ebs (vol2), and mounted it on the data server, but (I assume) because it was created from a snapshot of an EBS that was 100GB (vol), it says that it's full:
remy@db:/vol2$ df -kh
Filesystem      Size  Used Avail Use% Mounted on
/dev/xvdf        99G   94G  8.0K 100% /vol
/dev/xvdg        99G   94G  8.0K 100% /vol2

Ideas?

@matthiasbayer I've got things like fail2ban in place which has helped a lot. I've also entirely disabled "free form" registration and only allow new users in via github (which should help a bit), but doesn't deal with general junk that lands.

Take a look at this @remy http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#recognize-expanded-volume-linux

@michaelw90 the first part of that shows on my system that the EBS is the right size:
remy@ip-10-168-9-52:~$ lsblk
NAME  MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
xvda1 202:1    0     8G  0 disk /
xvdb  202:16   0   410G  0 disk /mnt
xvdf  202:80   0   100G  0 disk /vol
xvdg  202:96   0   400G  0 disk

Currently following these directions and then these if the first fail.

You should be able to resize xvdf using resize2fs

Okay, mount correct size. Doing switherroo.

Daughter expected to wake any minute now!!!

Database is shutdown. Somehow jsbin.com is still running. Client side app ftw?.. ¯_(ツ)_/¯

Typical...I've forgotten how to start mysql on this machine. mysqld didn't do the trick. Shit. I wrote this down somewhere...

service mysql start most probably.

Oh.

Yay!

Back.

Look good from here

Good job team. Same time next week?

woot! 👏👏👏

Sure thing! :) :+1:
I'd definitely look at getting your database updated to have foreign keys, with cascade deletes - so if a user deletes their account, their bins are automatically deleted etc.

@michaelw90 to be honest, it's been a long outstanding item to completely ditch mysql and the database. The only thing that needs a database is the meta data (bin dates, etc), and the actual content could live on the file system.

Right On!! Nice work everyone.

@remy optimize your database. If you have 15+ millions records set relations with foreign keys and cascade deletes. It's a one-time action and you avoid trouble in the future :)

And all before this situation changed!

:+1:

At least they are in a cage

@mattseymour we like to call those cribs. Unlike the folks on MTV, who call houses, cribs. Which is just confusing...

:+1:

Now the pressure is off, I'll find some time next week to purge flagged users' bins from the database (at least).
JS Bin used to automatically delete bins that were anonymous (in fact, all bins were anonymous) and idle for 3 months. The downside was that old sites that linked to real bins with low traffic would lose their content (but it wouldn't happen if they were signed in...). It might be something I restore (though perhaps a shorter time frame and the method it used was pretty poorly optimised).

Just clicked though to this now so too late to help but it has been a joy to read.  Community++

@remy feel free to give me a shout if you want a hand with any DB optimisation or anything. :)

@remy random idea from the armchair department: update the code so it writes new bins to disk and that viewing a bin can fetch from either DB or disk, so things at least don’t get a lot worse on the database end, and then some time later, migrate bins to disk one by one in the background and then clean up the database.

 I feel for you

Shout if you'd like any views on how to monitor this sort of thing for the future, especially as it's AWS based.

This is really unfortunate, and I'm sorry you're having to deal with all of this. But I don't think this is the correct forum to be discussing this, there's just too slow of a feedback loop. I suggest we talk through IRC. I am on freenode, and I'll be in #savejsbin from now on incase someone want to join and talk some ideas on how to resolve this.

:clap::clap::clap:

Sorry I missed all the action last night.
I also agree with @michaelw90, you want to get a foreign key constraint. This is super easy to do (and requires no code or app changes). When you identify the spammer, and delete the account, all attached bins are nuked - orphans are deleted.
The second thing you should do is add a rate limiter on creating bins (anonymous bins?) You could drop in https://github.com/tj/node-ratelimiter and that would probably fix the problem.
If the bins are stored in SQL, you are probably right, they should be moved to DISK, but I wouldn't put them on an EBS disk, they have been known to disappear. S3 would be the right choice, and this would allow you to scale a little easier. Having said that, I still wouldn't replace MYSQL, you still need that join table back to the bin metadata anyway, and it is not worth completely re-writing. This might also help deal with mysql injection / html escaping issues - not that it is a problem, just a known attack vector.
You might also benefit from having a dead man switch and being able to though the site into read-only mode, but that would require a app level changes as well.
Lastly, if you want to attack the SPAM issue head on, there are tons of examples of creating a spam filter using Bayes Classification, you just need some labelled data for your training set.
https://github.com/NaturalNode/natural#classifiers
Good luck and LMK if you need / want any help.

Couldn't you remove all records (bins) created on/after the date of incident as a simple rollback? I'd also suggest a rate limiter.

@remy What about deleting old bins after they haven't been accessed for 3 months (or some configurable amount of time)? You could store a timestamp on each bin. When a bin's loaded, update the timestamp. A cron task could run a simple statement to delete any bins with a last viewed timestamp greater than 3 months ago.

Ah, sorry, missed the comment where you mentioned that it used to do that.

Can you give us an example of one of the spam pages?

There may be some other steps we can take to rob the spammers of their motivation.  For other sites I would recommend decorating every link with rel="nofollow", but given what you do that's probably not a practical answer.
With an example we might come up with something though

community++ great to see that you jsbin is up! @remy ha :) my doughter has same (ikea) crib

If you get my attention on any other day of the week I can tell you how to fix 99% of this. Writing things to disk is a fairly terrible idea fwiw. You can also improve the schema and usage as a 15m row table isn't too big and you should be able to run queries on it without such a headache. My GitHub name at gmail is probably the best way to get ahold of me if there's any interest.

Why not put a post timeout per session and/or ip? Maximum 1 save per 0.3 seconds or something?

@momomo https://github.com/jsbin/jsbin/issues/2320#issuecomment-86404045

@rgrove had this problem with rawgit and came up with a clever algo for shutting down on abusive API spamming. Not perfect and not trivial to implement either, but it's a method…


Fix Dependabot configuration

Codecov Report

Merging #4 (1b3bc7b) into main (bbd6ae6) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #4   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           14        14
=========================================
  Hits            14        14

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Modifying an item in a shared mailbox, in another user's mailbox, in an archive mailbox, or in a public folder.

Is item #6 below correct? It states that it is not possible to manipulate an item in another users mailbox by Outlook add-in.  But is seems that it is possible to manipulate items in another user's mail folder by API here:  https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_list_messages
Quote from text on this page:
Mailbox items available to add-ins
Outlook Add-ins are available on messages or appointments while composing or reading, but not other item types. Outlook does not activate add-ins if the current message item, in a compose or read form, is one of the following:

Protected by Information Rights Management (IRM), in S/MIME format or encrypted in other ways for protection. A digitally signed message is an example since digital signing relies on one of these mechanisms.

A delivery report or notification that has the message class IPM.Report.*, including delivery and Non-Delivery Report (NDR) reports, and read, non-read, and delay notifications.

A draft (does not have a sender assigned to it), or in the Outlook Drafts folder.

A .msg or .eml file which is an attachment to another message.

A .msg or .eml file opened from the file system.

In a shared mailbox, in another user's mailbox, in an archive mailbox, or in a public folder.

Using a custom form.

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

ID: 38eec72d-c430-1f17-5372-ae34fa59995d
Version Independent ID: 17e688af-f421-f220-54dd-e5aecccd520b
Content: Outlook Add-ins overview
Content Source: docs/add-ins/index.md
Product: outlook
GitHub Login: @jasonjoh
Microsoft Alias: jasonjoh

Yes, it's correct. What that doc says is that add-ins do not activate when you're viewing an item in a shared mailbox, etc. It's not making any assertion about your ability to manipulate items with Microsoft Graph :)

Outlook add-ins are activated in shared mailboxes in Outlook 2016 for Mac.


[DRAFT] Issue/72/ci image build

Fixes #72
This PR automatically builds a new docker image upon successful completion of tests on the master and release branches. Depending which branch is it on, either the latest or release number will be used as the docker image tag.
This has almost been completely tested , except for the situation of pushing the new build.
For this reason an early PR has been created such that this can be inspected and perhaps given the go ahead to test on a dummy release branch.
Note, the issue/72/CI-image-build branch was branched off release/1.3.0

The things that will need to change if this PR is approved is to uncomment the code lines found in .travis-build.sh :
...
if [ $TRAVIS_BRANCH = "master" ]; then
    docker build --tag=bluebird .
    docker tag bluebird turinginst/bluebird:latest
    # docker push turinginst/bluebird:latest
fi
...

and
...
if [[ $TRAVIS_BRANCH == release* ]]; then
    echo $TRAVIS_BRANCH
    RELEASE_VERSION=`echo $TRAVIS_BRANCH | awk -F/ '{print $NF}'`
    echo $RELEASE_VERSION
    docker build --tag=bluebird .
    docker tag bluebird turinginst/bluebird:$RELEASE_VERSION
    # docker push turinginst/bluebird:$RELEASE_VERSION
fi
...


Automatically pause schema exporter for update

The current implementation of the provider actively forces the user to pause the schema exporter to change the configuration.
This is particularly inconvenient in build pipelines as it requires 2 commits and 2 executions. If the change is made via a pull request, a second pull request is also required.
It would be ideal if the provider would first pause the schema exporter during an update, then apply the changes to the configuration and finally start the exporter again.

Thank you so much for reporting this issue @S1M0NM!
Also thanks for trying out confluent_schema_exporter resource while it is still in Preview. Your feedback will help us to ensure a great user experience when confluent_schema_exporter resource becomes Generally Available.

It would be ideal if the provider would first pause the schema exporter during an update, then apply the changes to the configuration and finally start the exporter again.

Just to clarify, are you suggesting that we remove the 'status' attribute and process pauses within TF Provider?

I wouldn't necessarily remove the attribute in case you want to temporarily pause the exporter.
Otherwise it is correct that my suggestion includes that the TF provider takes care of pausing during updates.

It's under our road plan, we will add this enhancement in coming weeks! Thanks for providing the feedback.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v4.4.272",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e33bafad30d34cfa5e9787cb099cab05e2677fcb"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "e33bafad30d34cfa5e9787cb099cab05e2677fcb",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.4.272 by commit e33bafad30d34cfa5e9787cb099cab05e2677fcb, it was introduced in version  by commit . For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1000715


Add contributors to all languages

The contributors section was missing from the french README and was outdated in the german one.
Now:

All the contributors will be added in every specified language in .all-contributorssrc (for now english, french, german).
All three languages have the same updated table of contributors

@all-contributors please add mbernardeau for docs


Image/AsyncImage: add new "mime" property

When loading images from URLs that don't include the extension, Kivy doesn't work properly, saying that it cannot read that type of image. A mime property (or extension) should be available, to make it possible to kivy to load the image anyways with a specific loader.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Fixed in https://github.com/kivy/kivy/pull/4708.


vectorized fix some open enable_fold_constant_by_be failed cases

Proposed changes
when set enable_fold_constant_by_be = true
some cases of P0 will be failed, this pr fix some about BE, eg:
SELECT CAST('null' AS JSONB)
select cast ('2022-12-02 22:23:24.999999' as datetimev2(3))
SELECT repeat(\"a\", 3)
select version()
select cast(19888.8999999 as decimal(12,2))
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run p0

run buildall

run buildall


[Technical debt] TVMjs dependency

Contributing here requires a bit of extra effort. One improvement would be simply publish the TVMjs package and/or the mlc-ai/relax in npm and then change this line
For seasoned developers of the project that are willing to contribute to TVMjs they have to do it against real TVMjs to then merge to relax, so, they might not dislike the proposed solution that would allow more people to contribute

One clarification: With this proposal everything falls in the js category, without having to install environments and tvm packages, emscript, etc...

@DavidGOrtega, I did publish a compiled version of tvmjs on npm: https://www.npmjs.com/package/@nico-martin/tvmjs
Feel free to use this one as long as its not implemented in web-llm.

@nico-martin thanks!

This should be resolved by this PR. Now building WebLLM from source only requires npm install; npm run build, without needing to run ./scripts/prep_deps.sh:

https://github.com/mlc-ai/web-llm/pull/570

Closing this one for now, let us know how we can further improve the experience of contributing to WebLLM!


Build Error

I was trying to install towr package (option 3: core library & GUI & ros-rviz-visualization). However, the build failed and following error message shows:
/catkin_towr/src/towr/towr_ros/include/towr_ros/towr_xpp_ee_map.h:80:19: error: ‘foot_to_name’ is not a member of ‘xpp::biped’        ee.second = xpp::biped::foot_to_name.at(id_biped);
/catkin_towr/src/towr/towr_ros/include/towr_ros/towr_xpp_ee_map.h:86:19: error: ‘foot_to_name’ is not a member of ‘xpp::quad’        ee.second = xpp::quad::foot_to_name.at(id_quad);
It seems to be related with xpp library. My xpp version is v1.0.6 installed with command line. Could anyone help with this? Thanks.

Hi @eeoozz , thanks for pointing this out!
Yes, this is related to an update for xpp (v1.0.7) that hasn't yet made it to the binaries. I removed the dependency on this new xpp version, so pulling towr from master should fix this (see #19).

Thanks a lot for the help! It works now.


refactor(behavior_path_planner): move common functions of side_shift and avoidance to utils

Description
move getUnshiftedEgoPose and calcCenterLinePath defined in side_shift and avoidance to utils.

Tests performed
Planning simulator works well with

[ ] old architecture
[x] new architecture

Effects on system behavior

No behavior change.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@satoshi-ota @kyoichi-sugahara Could you review the PR.


Using write_to_dataset for large dataset

GitHub Issues for Apache Arrow
I have a large dataset I am trying to write out as partitioned parquet like:
pq.write_to_dataset(table, '/Users/drewoconnor/pyarrowtest/', partition_cols=['year', 'month', 'day'], use_dictionary=False,  compression='snappy', use_deprecated_int96_timestamps=False)
Memory usage skyrockets and the process is killed by the OS: Process finished with exit code 137 (interrupted by signal 9: SIGKILL)

This is not surprising. We are using df.groupby to split the partitioned dataset, which has known memory use and performance problems. Could you open a JIRA about this? Perhaps someone can contribute a more memory-efficient alternative to using df.groupby?

cc @jreback

I have opened https://issues.apache.org/jira/browse/ARROW-2628


[go_router_builder] Error when focusing on TextField

Steps to reproduce

From the original screen, push to the new screen
Focus on a TextField and be returned to the original screen

But when done with Navigator.of(context).push(MaterialPageRoute there is no error
Expected results
Entering text is not returned to the previous screen
Actual results
Focus on a TextField and be returned to the original screen
Code sample
Code sample
Action click
HomeRoute("Home router").push(context);

Router build from go_router_builder
part 'routers.g.dart';

@TypedGoRoute<DemoRoute>(
  path: '/',
)
class DemoRoute extends GoRouteData {
  @override
  Widget build(BuildContext context, GoRouterState state) => const DemoView(title: "Init router");
}

@TypedGoRoute<HomeRoute>(
  path: '/home',
)
class HomeRoute extends GoRouteData {
  final String title;

  HomeRoute(this.title);

  @override
  CustomTransitionPage buildPage(BuildContext context, GoRouterState state) =>
      DemoView(title: title).addTransitionAnimation(state);
}

extension _ExWidget on Widget {
  CustomTransitionPage addTransitionAnimation(GoRouterState state) {
    return CustomTransitionPage(
      child: this,
      transitionsBuilder: (context, animation, secondaryAnimation, child) => SlideTransition(
        position: Tween<Offset>(
          begin: const Offset(1, 0),
          end: Offset.zero,
        ).animate(CurvedAnimation(
          parent: animation,
          curve: Curves.easeInOutCirc,
        )),
        child: AnimatedPhysicalModel(
          duration: Duration.zero,
          elevation: 50,
          shape: BoxShape.rectangle,
          shadowColor: Colors.black,
          color: Colors.white,
          child: child,
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/44558894/ff102d51-fe44-4ef8-a6a7-3bd7a2b9c4f9

Logs
No response
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.16.5, on Microsoft Windows [Version 10.0.22621.2861], locale en-US)
    • Flutter version 3.16.5 on channel stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (8 days ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[√] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\...\AppData\Local\Android\sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.7.34221.43
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[√] VS Code (version 1.84.2)
    • VS Code at C:\Users\...\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.76.0

[√] Connected device (3 available)
    • sdk gphone x86 64 (mobile) • emulator-5554 • android-x64    • Android 11 (API 30) (emulator)
    • Windows (desktop)          • windows       • windows-x64    • Microsoft Windows [Version 10.0.22621.2861]
    • Edge (web)                 • edge          • web-javascript • Microsoft Edge 120.0.2210.91

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.
Process finished with exit code 0

Hi @tranduc1710, what version of go_router & go_router_builder are you using?
Please provide a complete minimal reproducible code sample so that we can investigate this issue. The sample you provided above is not complete.
Thank you

Hi @tranduc1710, what version of go_router & go_router_builder are you using?
Please provide a complete minimal reproducible code sample so that we can investigate this issue. The sample you provided above is not complete.
Thank you

Below is the version information... that I use
go_router: ^13.0.0
go_router_builder: ^2.4.0

Hi @tranduc1710, please also provide a complete minimal reproducible code sample without any third party packages so that we can investigate this.
Thank you


Add missing sourcemap files

Add missing sourcemap files in lib directory.

Any update on this ?

Can this please be merged?

Merge please.

@ericf Hi! Is there any issue that prevents from being merged?

Any updates on this?

This will be in the next release.  Thanks.


Update post.go

Hi, first ok all compliment for your amazing contents. Try to understanding better the refactor you did on productAPI (out-screen between lesson 6 and 7) I find this bug which compromise both the post and put requests.
The error is the following:
"interface {} is nil, not validator.ValidationErrors"
And this is due to the fact that row 20 extract from the context a pointer to Product witch can not be cast to Product.
Hope you'll find useful this reporting. Keep going with your video you are an amazing teacher! =)

Hi Nick,
in my local machine i have the all lesson 7 up and running. There are other
two error that I foud. Unfortunately I wasn't able to push them since I
was, and I still am, burried in work.
As soon as possible I will create the merge request!
Have a nice day :)
Il mar 30 mar 2021, 09:58 Nicholas Jackson @.***> ha
scritto:

@.**** approved this pull request.
Thank you, I don't quite know what I have done here, as this is also
broken in later episodes. I will run through at lunchtime and try and
figure out how best to merge this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nicholasjackson/building-microservices-youtube/pull/40#pullrequestreview-623953541,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACJJ6GQXMZJD2RONZMU7V5LTGGACVANCNFSM4Z5JWVEA
.


Log output in textView

I have to refresh the application everytime I change text of a textview which is a bad solution. Is there anything to refresh the text of the textview without refreshing the application?

Fixed by the above


creating device vulkan : UNIMPLEMENTED VK_ERROR_FEATURE_NOT_PRESENT

Hi all,
After compiling a model for android vulkan device, i try to run it via adb command and the following error is raised:
iree/runtime/src/iree/hal/drivers/vulkan/vulkan_device.cc:816: UNIMPLEMENTED; VK_ERROR_FEATURE_NOT_PRESENT; creating device 'vulkan'
My compiler is built with -DIREE_TARGET_BACKEND_VULKAN_SPIRV=ON, and the runtime for android with -DIREE_HAL_DRIVER_VULKAN=ON.
Thanks for your help.

Mistake of backend flag for compilation.


intent_substitutions are not working in core 0.11.3

Hello,
I'm trying to use intent_substitutions in rasa core 0.11.3 but the intent is not substituted. I am not sure if I'm loading the SuperAgent or using the rules.yml correctly.
I'm trying to load the SuperAgent and using the command line as channel. I used the methods from run.py script. This is the code:
AvailableEndpoints = namedtuple('AvailableEndpoints', 'nlg '
                                                          'nlu '
                                                          'action '
                                                          'model')
_endpoints = EndpointConfig(url="http://localhost:5055/webhook")
        endpoints = AvailableEndpoints(action=_endpoints, nlg=None, nlu=None, model=None)
        _interpreter = RasaNLUInterpreter("models/current/nlu/")

        _Sagent = SuperAgent.load("models/current/dialogue",
                                interpreter=_interpreter,
                                generator=endpoints.nlg,
                                tracker_store=None,
                                action_endpoint=endpoints.action,
                                rules_file='rules.yml')

        serve_application(_Sagent,
                          "cmdline",
                          constants.DEFAULT_SERVER_PORT,)

This is my rules.yaml
`intent_substitutions:

after: utter_ask_password
intent: inform
unless: sorry|bye`

I want that any input after utter_ask_password to be an inform intent but I'm getting the default_fallback. Also, what is the confidence of the new intent?

Hi, there is clearly a possibility of a bug since the migration to 0.11+ is not released.
One comment though. The default_fallback is triggered when an action probability is too low. Can you try disabling the fallback and see if substitution still doesn't work?


Realm crashes the app instead of raising errors

I'm using RealmSwift pod.
It seems that Realm has chosen to crash the app when something is not done right instead of raising a Swift exception that can be caught, and defining function signatures as throwing. This is very hard to work with and makes it almost impossible to be totally sure that all errors are handled well.

Could you provide more info about the issue you're getting: error messages, console logs etc? Realm logs information when throwing exceptions and it can help debug when things go wrong.

Realm Swift throws Swift exceptions when it encounters recoverable errors, and uses fatalError() to deal with logic errors (programmer violates an API precondition). For example, accessing a Realm collection at an out of bounds index is a programmer error, and will cause the application to trap. This is by design.
If you are encountering C++ exceptions please feel free to file a new ticket, filling out the issue template.

Thanks. @austinzheng it's be nice to give developers who'd rather caught errors than crash the app the option to do so by not using fatal_error but throwing swift errors. I'm part of those who don't want such thing in production. Is there a place for features requests?

Realm exposes recoverable errors via NSError pointers in our Objective-C APIs and by annotating initializers/methods as throws in Swift. Those you should definitely handle in your usage of Realm.
However, for unrecoverable errors, we'll use fatalError() or unhandled Objective-C runtime exceptions, as is idiomatic in Objective-C and Swift, such as assertions in the Swift standard library or exceptions in Foundation.
All these unrecoverable errors should be avoided by reading our documentation and ensuring proper use of our public APIs rather than attempted to be recovered at runtime.


Update README.md

Addressing #75.

Is there any configuration beyond this that is necessary?

There are a whole set of JNDI properties needed in order to run this. The app is pretty tightly coupled to the gdp wps processing server.

@jiwalker-usgs , maybe. Thanks for bringing it up. @mbucknell, @isuftin , correct me if I'm wrong, but I think we were keeping an context.xml in a google doc somewhere instead of checking an exampleContext.xml in to the repo like we do on most other projects. Our collaborator's interest in running the project highlights the weakness of the google drive approach. We prefer reproducible builds.

The configuration for this app is actually controlled by a set of files in stash that use ansible. We are no longer maintaining that google doc.

That's good to hear. I'll defer to you on whether it's better to include that file from the stash repo in the github repo, or send the file to Rich directly.


add support for LDAP provider

LDAP is more that one provider as I recall, there is raw LDAP as in RFC 2307, Active Directory, and Augmented Active Directory correct? Or is this issue only addressing RFC 2307?

For clarity I am referring to "as documented"
https://docs.openshift.com/container-platform/4.3/authentication/ldap-syncing.html

@ddreggors the goal of integrating an LDAP provider is to emulate the existing LDAP synchronization feature currently found in OpenShift


Fix: issue #1220.

Fix: issue #1220.
The stl loader has been changed in PR to refer to that of ROS1.
However, the material setting part of stl is missing, which is causing issue #1220  where colors are not displayed correctly.
Therefore, I created a modified PR by referring to the ROS1 code
https://github.com/ros-visualization/rviz/blob/fdcf656aa5d9816bf7c06a533f8224ec28bd6e0f/src/rviz/mesh_loader.cpp#L445-L456

@ahcorde
I have re-created the https://github.com/ros2/rviz/pull/1236 PR for rolling.
Please check it out.

@ahcorde
Sorry, I corrected the format and verified that the CI passed.

Linux
Linux-aarch64
Linux-rhel
Windows

@ahcorde will this patch also be backported to jazzy ?

https://github.com/Mergifyio backport jazzy humble iron


XPR Account
Becky
Feedback (optional)
No response

XPR Account
handtrix

hey @beckyarauz,
hey @HaNdTriX,
I added both of you to the reward contract which makes you eligible to claim the reward with your homework task as soon as I "lock" the participants by enabling the claiming period by calling "enableclaim" action on the contract :-)

I will still wait a little bit before I lock the participants to give others the chance to join. I will let you know when this is done.
please join following Telegram group for further discussion. feel free to forward to other workshop participants, too.
https://t.me/+jdNBWSdRToc2YTJi
you have 30 days to complete the task and claim the reward. don't forget to create another account via CLI and call "setcontract" on the sdcworkshop account here:

https://explorer.xprnetwork.org/account/sdcworkshop?loadContract=true&tab=Actions&limit=100&table=developers&action=setcontract

Marco

XPR Account
achuyakub

@HaNdTriX @beckyarauz: short reminder for the task. you still have ~5 days to claim the reward.
congrats @achu94 for solving the task ;-)
if you need help, feel free to ask here or join the TG channel via https://t.me/+jdNBWSdRToc2YTJi


Feature request: encourage Enumerable#filter_map

https://blog.saeloun.com/2019/05/25/ruby-2-7-enumerable-filter-map.html
This was introduced in ruby 2.7. It adds a modest speedup over .map {}.compact or .select {}.map {}.

This is a note about an incompatibility between filter_map and compact. filter_map excludes false unlike compact.
[true, false, nil].compact              #=> [true, false]
[true, false, nil].filter_map(&:itself) #=> [true]


[test]: test DASing with different max block sizes and amount of light nodes

It would be nice if we could also test even larger block sizes than the current maximum to see where things start breaking down.

@adlerjohn Can you provide some specs for the tests you'd like to see run? Like
test 1: block size of ______
test 2: block size of ______, with _____ light nodes running in the network
etc.

Simple testing by sending payForMessage with 32 square width succeeds:

Tested using a simple utility made by @evan-forbes in https://github.com/celestiaorg/celestia-app/blob/evan/mock-block-cmd/cmd/mock-blocks/main.go#L21.
@Bidon15, this might be highly relevant for you to test getSharesByNamespace in the real network environment. As a side goal, I would recommend forking the branch above and extending the CLI to allow more customization with CLI, so you can specify what square size you want. Also, would be cool if CLI can automatically detect RPC addresses so you won't need to specify it every time.

https://github.com/celestiaorg/celestia-node/issues/276

A matrix of tests:

ODS 64x64x256 bytes (i.e. 1MiB blocks)

ODS 256x256x256 bytes (i.e. 16 MiB blocks)

10 nodes

100 nodes

1000 nodes

@Bidon15 can you track these desired testcases somewhere so that we don't forget about them? We don't have to do them now, but maybe a nice way to show desired testcases, what we've completed so far, the results of those completed tests, and what is still left TODO + small description on any blockers to running the tests.

https://github.com/celestiaorg/celestia-app/blob/evan/mock-block-cmd/cmd/mock-blocks/main.go#L66 - the code states that it is maxed size, while it was only 32x32

closed in favour of #7


Twitter cards for user pages are personalised according to the user

Acceptance criteria:

[ ] og:title matches <title>, e.g. Hannah Drury | Sciety
[ ] og:description shows the number of articles they have saved and the number of groups they follow e.g. 7 Saved articles | 3 Followed groups

https://github.blog/2021-06-22-framework-building-open-graph-images/ might be interesting for inspiration.


Adjusted style for smaller screen

Did you mean to make a pull request into a different feature branch? Or did you want to make a pull request into the main branch?

Did you mean to make a pull request into a different feature branch? Or did you want to make a pull request into the main branch?

into schedule modifications, which this branch branched out of.


docs(*): migrate from Helm Classic to Helm

This changes all documentation to use Helm as the default tool for installing Deis
Workflow. Users of Helm Classic are urged to use https://github.com/deis/workflow-migration
to migrate from Helm Classic to Helm.
Note that I kept roadmap/releases.md intentionally left unchanged for now as we are still pumping out Helm Classic charts for v2.9.0 as far as I'm aware.

Also wondering what we should do with https://github.com/deis/workflow/blob/master/src/installing-workflow/workflow-helm-charts.md ?  Should we transition it to be used for describing provenance (chart verification) specifically now that helm is the default elsewhere?

Hmm yeah, changing the title to how we sign charts and removing the Installation section sounds like a good idea.

done


Connection errors with vernemq

I've tried your lib agains vernemq, this is the config:
config :bus,
        host: 'localhost',
        port: 1883,
        client_id: "client",
        keep_alive: 100,
        auto_reconnect: true,
        auto_connect: true,
        callback: TestProject.Callback

however I get tons of errors like this:
<0.6141.0>@vmq_ranch:teardown:115 [<0.6141.0>] session stopped abnormally due to 'cant_parse_last_will'

Hello @alex88 thank you for using Bus.
i tried installing vernemq,but it seems that they don't have support for OTP 19 yet. i have come up with this article. i tested with emqttd and my other queues, it seems working fine.
https://vernemq.com/docs/clustering/netsplits.html
i will test with vernemq and let you know.

@alex88 hello , i think vernemq issue is resolved in latest commit. my apologies for trouble. there was small bug in bus. u can use it now.


Blocked users are able to delete their account and create new ones to undo the block

Describe the bug
Blocked users are able to delete their account and create new account, to unblock themselves. Blocking works with user ID, but the user is being generated new one every time they create a new account, even if they're using the same github/twitter account to log in.
To Reproduce
Steps to reproduce the behavior: (this requires two accounts: a moderator and another account)

Block the user from the room.

Expected behavior
Creating a new account using the same twitter/github account should either reactivate the same account, or be less convenient (maybe throttle create user requests by IP).
Screenshots
What device are you on?
Irrelevant, but win10 pc.
Additional context

fixed in 292a83

I actually know a possible solution to this. It is to store a hashed value of the data that they register with. As such, it is practically impossible to know who has been blocked.

@benawad do it like Facebook, don't immediately delete their account, set a period (such as 48 hours), in this time period, they can undo the delete and have their account back. this way, they can't spam.

yes, add another column to the user table and call it 'deleted'. This value is a boolean. So then when they delete the account, it'll just set the 'deleted' column to 'true'. Then if they try to create an account with the same credentials again, all you have to do is set the 'deleted' column of the user to 'false'.
I hope that made sense.

Isn't it somewhat problematic to keep storing the user data after you have requested that it be deleted? @nadirabbas @Hasintha-Jayasinghe

yes but as @nadirabbas mentioned, we can program it to delete the data after 48 hours, this makes spamming harder

@Nautman while they have clicked deleted, we don't store any data about them unless they undelete.

@Nautman while they have clicked delete, we don't store any data about them unless they undelete. whenever they log into their account, they just see the page you have requested an account delete, undo?

But this only happens if they request undelete before the 48 hour period right? Otherwise they have to create an account again

yes

Facebook does it too, so its pretty reasonable.

This shouldn't be too hard to implement. Would you like me to try?

@nadirabbas Would you like me to try and implement this sort of thing?

@benawad needs to give a go-ahed.

I still don't understand what the benefits are of storing user data for 48 hours. Perhaps it lets people regret what they have done?
But I like the privacy point of not storing data afterwards. After all, this is supposed to be the next big thing ;)
Have you seen #1249 btw?

you are not getting what i am trying to say, just lookup how Facebook does it.

Keep track of bans using Email ID/Username/IP maybe instead of ID. This way even if a user deletes their account and makes a new one their Email ID/Username will remain the same and they will remain banned

You bring up a good point @ArnavBansal11. Although, what if someone changes their email or username? What if someone registers with their username later on?

I think it's more likely they change username/email than remake an account with a bigger provider (that they probably use).
I:P bans can be avoided with a VPN easily these days.
I think the provider ID makes the most sense. It takes longer to change it and it is less likely people will

lets do favicon fingerprinting to ban their devices lol


reCaptcha problem when not validated

I have implemented reCaptcha in my Hugo site using this:  https://github.com/eduardoboucas/staticman-recaptcha
Its nice and it works, when I Click the reCaptcha radio button.
But when I do not click the button (i.e. I simulate being a SPAM bot) I do not get nice feedback, but only this json Object:
{"success":false,"message":"reCAPTCHA: The response parameter is invalid or malformed","rawError":{"_smErrorCode":"invalid-input-response"},"errorCode":"RECAPTCHA_INVALID_INPUT_RESPONSE"}
Is this an error in Staticman ? or is it implied that I have to parse that response myself ? If that is the case I think the problem is with the documentation of Staticman :)
Minor problem but I thought you might like to know :) and keep up the great work !

Duplicate of #223.


New extension

⚠ Please edit and complete this before submitting your extension:
Describe the extension
With this function you can eliminate an enemy if you are developing a platform game:
When you jump over the enemy, you will roll over and then you will be eliminated.
Checklist

[x] Extension has a proper name and description.
[x] Extension has tags (for example: "platform, brick, breakable").
[x] All behaviors have a description.
[x] All functions (actions, conditions, expressions) have descriptions.
[x] I confirm that this extension can be intergrated to this GitHub repository, distributed and MIT licensed.

Extension file

@Daniel-172 would you kindly explain how you end up creating this? I really wonder how people do.

you could eliminate this problem that I made another

@Daniel-172 Yes I can, but can you explain me how did you made this error? What was not clear?

@4ian
is that I am not speaking English very well and did not know at the beginning how it worked

@4ian I know that the extension that I made is not so complex, and you may not upload it, but I'm excited to know that I'm improving to help the community.


Percentage icon

Add a % percentage icon

Greetings @pronexos!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


do not work with android-fat-aar

https://github.com/adwiv/android-fat-aar
Error:Error converting bytecode to dex:
Cause: Dex cannot parse version 52 byte code.
This is caused by library dependencies that have been compiled using Java 8 or above.
If you are using the 'java' gradle plugin in a library submodule add
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
to that submodule's build.gradle file.

Have a sample that shows this issue?

https://github.com/zhouchaohong1111/retrolamdaFataarSample
the sample will show this issue.

I got the same issue when I add a non android jar file which is compiled using java 8. Did you find a solution?


Add plist type and other fun stuff

I have trouble with github pull requests (see username); thank you for being patient.
Here are some changes I have worked on

plist type (discussed on IRC)
subctype ccons clist-of (discussed on IRC)
export sub-lambda-list-p (I need this exported for a project of mine)

If you like the changes, you can pull from this remote: https://git.sr.ht/~charje/ctype.
Alternatively here are some patch files that you can apply.
0001-Allow-ccons-to-be-subctype-of-clist-of.txt
0002-Export-sub-lambda-list-p.txt
0003-Add-plist-type.txt

changes look fine to me. i will merge them in a bit.
While looking through the data structures code I have realized that we should probably canonicalize (and (clist-of X) (clist-of Y)) to nil when X and Y are disjoint, so I"ll put that in too.

Cool. Thank you for taking a look. I thought about the disjoint list-of too, but wouldn't empty list still be a valid value?

Merged as https://github.com/s-expressionists/ctype/commit/c514623a0cd5c4340ab4ab13d90509f15f09c47a.

Here is a little follow up to this. After some light manual testing, I realized that I had missed one of the local variables when renaming some things. Here is a small patch to fix it. It also clarifies some a docstring. I have also updated my fork https://git.sr.ht/~charje/ctype in case you would rather pull instead of applying patches.
0001-Fix-property-key-variable-name.txt

Does this look okay to you?


Add a docs favicon

Bug Report
Problematic behavior
As a user I want to identify easily the browser tabs that are docs.
Right now Docs has La Marianne, which is not generic nor indicates clearly which website it is.
Expected behavior/code
I'd like to have a Docs favicon.
It should be easily overidable so that admin sys deploying docs can easily add they own favicon (the nav bar logo should be overidabel as well)
Additional context / Screenshots

The Favicon could be derived from this:

@rl-83 could you propose a design for the favicon please ?

https://www.figma.com/design/hPwxE24MEaX3mBQ0KXNTSY/UI-La-Suite?node-id=248-10408&t=l7Jfw92KbBzFfTcz-1

Hey @rl-83 perfect. I don't have edit access to the figma in edit. Can you export it for me in .svg (color and black and white) ? thanks

@rvveber any idea we can make that easily overidable at build time like you did for the logo ?

So what an admin needs to do to get his overrides at built-time

is to pull the src and basically replace files, while keeping their original names
and build the image from the modified source
that he then releases(locally) and uses in his deployment.

Ideally, it'd be great that you don't have to this in a fork using config files and env variables
In another project I worked on we only do overrides (translations, themes etc.) in a deployment repo.
Have you explored this direction ?


Add NAN_MODULE_WORKER_ENABLED macro as a replacement for NAN_MODULE that supports multiple workers

Uses the named symbol node_register_module_v## variant of registration that works to support loading in multiple workers on node 10.5 with --experimental-workers.
This may need updating in the future if/when node requires native modules to explicitly opt in to multiple isolate support.

Thank you.


Add Pre-Commit dev dependency and .flake8 configuration

Related to #211, I'd like to add pre-commit as a dev dependency to ensure that code is being linted before pushing. Rather than relying on developers to remember to set up either global or local commit hooks (I don't remember), pre-commit allows for a standardized configuration that only requires a single additional CLI command when initially setting up the repository.
The addition to the repository would be a .pre-commit-config.yaml:
repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.0.0
    hooks:
    - id: flake8

And the developer runs
pipenv run precommit

or
pre-commit install

In the project directory to setup the hook.
Additionally, I'd like to propose adding a standardized .flake8 configuration file to surface the linting configuration across our repositories (See: https://github.com/python-discord/pydis-bot-core/issues/2).

RE: .flake8, I'd say not necessary since we're already using tox.ini across our projects, which has a broader application.


No finger touch support in Cardboard?

Trying to build this out to have some use for Cardboard, and coded some functionality based on touch input (as I've done with many Unity-based cardboard experiences). Works fine in 2D mode but stops registering once I go to VR. Strange since it works in https://github.com/immersive-web/webvr-polyfill
Test project:
http://alextestprojects.altervista.org/1/index.html

Try to use HTTPS instead of HTTP.
I didn't try to use touch on Cardboard mode, but at least it'll solve the Polyfill issue.

Looking more into this, it seems that we might need to check for XRSession "select", "selectstart" and "selectend" for touch input.
And it might also be relevant for AR sessions.

Any progress on this?
@De-Panther  Does your fork support the Cardboard button events?

The fork should, but there's no working example


DOC-2868: Add first-level references to modified includes in Changed Files bot

Fixes DOC-2868:

First-level references to includes will display a link to the pages on which that modified include is referenced

This change is

Fixes DOC-2868:

First-level references to includes will display a link to the pages on which that modified include is referenced

I'm still not following this. Where is the link displayed?

I'm still not following this. Where is the link displayed?

Look in the Files Changed comment above.

Looks really good, Nick. This should help with reviews, and for sanity-checking changes to _include files as well.


fix: make sure destination is in node collection to consider graph active

cf. https://github.com/orottier/web-audio-api-rs/issues/389

Great work


Hard deleted stream events are emitted with subscribeToAllFrom

If you hard delete a stream using something like:
await this.connection.deleteStream(streamName, sequence, true, credentials)

When you use subscribeToAllFrom, the streams are deleted, but the events are still returned by the iteration callback.
I have checked the metadata for the stream in the callback and it shows up as deleted and you cannot view the stream in the admin UI so there is probably a bug.

The nodejs client is replicating the behavior of the .Net client. I think this is because $all is a special stream on the server. You need to bring up that issue with EventStore directly at https://github.com/EventStore/EventStore/issues. That being said I'm pretty sure it's the desired behavior.

Ok. Will do!


Enter scene for cron

Hi! I need to start scene every day at specific time. But to enter scene i need context. How can I start the scene for a user without context?

I suppose you can do that with the same method as covered in Resuming a scene without having chat context
In the example, replace ctx.scenes.notify with ctx.scenes.enter, that should work.


[ROCm] For RoundNearestEven op use LLVM rint intrinsic instead of nearbyint …

…because nearbyint is not currently supported by ROCm/HIP for fp16.
/cc @cheshire

@cheshire gentle ping

i was trying to figure out a runtime switch, but the PR merged before i could change it.
rint can sometimes raise the inexact flag but nearbyint does not.
for AMDGPU/rocm, they are equivalent but i am not sure about cuda so i thought it prudent to preserve the original behavior.


Exception has occurred: InvalidSchema

No connection adapters were found for 'ipfs://QmRRPWG96cmgTn2qSzjwr2qvfNEuhunv6FNeMFGa9bx6mQ'
File "C:\Users\Gaming\Desktop\OpenSea-NFT-Stealer-master\opensea.py", line 98, in
image = requests.get(asset["image_original_url"])

Duplicate of #15


Spelling (with checksums)

@jsoref I'm only opening this PR to show you what's missing in #301 for the tests to pass (see last 2 commits).

There is a tool in https://github.com/knative/pkg/tree/master/configmap/hash-gen which generates a hash from the content of ConfigMaps to prevent people from accidentally modifying _example values. Whenever a change is performed to _example data, the hash has to be re-generated.
Because those modifications happened in the past, I would refrain from touching the historical manifests saved in the operator repo (therefore marking as "do not merge"), and instead fix the typos directly inside the serving and eventing repos so we don't carry them here in the future.
cc @houshengbo
/hold

Thanks @antoineco

/close


Add dprint to devcontainer

          I tried this on Arm mac and still needs the prettier arm version. There is a [PR](https://github.com/dprint/dprint-plugin-prettier/pull/75) to add it.

We might want to add dprint install to the devcontainer for use with the vscode extensoin drpint.

Extensions install steps: Install dprint's CLI

I don't think it comes installed. or it's not on the path.
curl -fsSL https://dprint.dev/install.sh | sh
and need to add some lines to the .zshrc file:
export DPRINT_INSTALL="/home/node/.dprint"
export PATH="$DPRINT_INSTALL/bin:$PATH"

Edit: we might be able to add this to vscode settings:
	"dprint.path":"./node_modules/dprint/dprint",
Originally posted by @zackbcom in https://github.com/zwave-js/node-zwave-js/issues/6656#issuecomment-1936918127

@zackbcom can you confirm whether this is fixed now? I just tried the devcontainer and dprint seems to be available immediately.


Provide quantiles and average binning for RF histograms

Improve API that allows feature discretization for RF training.
The quantile indexing that is currently hardcoded and tough to disable should be

more easy to disable / configure (maxBins, binWidth, memorySavingMode, bUseIndexedFeatures, etc.)
happening in a more transparent fashion
extended by average binning

Kicked off by https://github.com/intel/scikit-learn-intelex/issues/1090, this draft already improves the MSE on the reported dataset. In a test run I find
Intel® extension for Scikit-learn Mean Squared Error using quantiles binning: 64401.01440419433  *current release*
Intel® extension for Scikit-learn Mean Squared Error using averages binning: 21383.80560598015  *new option*
stock-learn Mean Squared Error: 20962.250402202062

I will run more tests as soon as the API is cleaned up

/intelci: run

/intelci: run

@mergifyio rebase

/intelci: run

/intelci: run


WECC ADS Configuration Generators

Integrating WECC ADS:

Changed Configuration file to make choosing between pypsa-usa network configuration or WECC ADS more simple
Integrated WECC ADS Generators, BESS, Renewables, Hydro

Todo:

Add BCHA and AESO into Model
Assign buses for the generators which are missing Lat, Longs
Integrate pumped storage, pumped loads, demand response

I accidently completed this PR. Instead of Reverting... i will continue developing on the dev_wecc_ads branch for the remaining todos:
Todo:
Add BCHA and AESO into Model
Assign buses for the generators which are missing Lat, Longs
Integrate pumped storage, pumped loads, demand response


Issue with "secure" option of connection method in socketcluster-client

As per https://socketcluster.io/#!/docs/api-socketcluster-client documentation, the "secure" option of connection method is by default false, but, it seems it is by default true.
So request, either code has to modified or the documentation has to be updated.
If I am not wrong, code modification is a good choice. :)

@Louies89 what are your connection parameters? Can you post your code?

I think we need to take a look into this. Which version of socketcluster server are you using right now?

Let's find where secure option is being set (the line)
Then track down all the abstractions until we get VanillaJS code (the line)
Now we can see that essentially
options = {
  secure: global.location && location.protocol == 'https:'
  // .....
}

So, there is no default option. It depends.
Unfortunately, in the docs we indeed have a simple, not entirely correct, explanation.

secure: Boolean - Defaults to false

Someone, please, be :1st_place_medal: and correct that <3
@Louies89 what's your site protocol?

Thanks all for wonderful replies...  And sorry for late reply, I didn't check my mails.
@happilymarrieddad : I just used below code:
Newsocket = socketCluster.connect({
hostname: 'localhost',
port: 80})
And in gitter sacOO7 pointed out to set secure false, after doing that, it get connected.
@sacOO7 : I am using
"socketcluster": "~9.1.3",
"socketcluster-client": "~9.0.0",
@MegaGM : I am using simple http only
And also the code can be referred from here: https://github.com/SocketCluster/socketcluster-client/issues/102

Sorry to all, by mistake I clicked on Close and comment

@Louies89
global.location && location.protocol

global in the context is window in a browser. So it's
window.location.protocol

ooh, got it. :)
The code is working fine for me now.
Thank you for the reply @MegaGM


[BUG] Password props type boolean

I'm figuring out out to display password protected pdf.
Doc indicate password props, type string, but in the codebase the password props is boolean.
Thanks,
Igot

Sorry, it's a bug of the @types/pdf-viewer-reactjs package

Thanks for pointing out its fixed in version 2.2.1
<EMAIL_ADDRESS>


ogre: 1.11.5 -> 1.12.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ogre/versions.
meta.description for ogre is: '"A 3D engine"'.
meta.homepage for ogre is: '"https://www.ogre3d.org/"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 1.12.0 with grep in /nix/store/sn4cwwcbcz0z8mwfw9hjkd4c63gchnas-ogre-1.12.0
directory tree listing: https://gist.github.com/b0f800715b3a9657c4f17ef243c1173f
du listing: https://gist.github.com/61296fa9017ccfa7f72ba87fdf0e1379

Rebuild report (if merged into master) (click to expand)

30 total rebuild path(s)
8 package rebuild(s)
8 x86_64-linux rebuild(s)
8 i686-linux rebuild(s)
6 x86_64-darwin rebuild(s)
8 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
gazebo
gazebo-headless
gazeboSimulator.gazebo6
gazeboSimulator.gazebo6-headless
gazeboSimulator.gazebo7
gazeboSimulator.gazebo7-headless
ogre
ogrepaged

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sn4cwwcbcz0z8mwfw9hjkd4c63gchnas-ogre-1.12.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A ogre https://github.com/r-ryantm/nixpkgs/archive/56d29bcaa546ce8463e56e65f8883ae4f01a6a46.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sn4cwwcbcz0z8mwfw9hjkd4c63gchnas-ogre-1.12.0
ls -la /nix/store/sn4cwwcbcz0z8mwfw9hjkd4c63gchnas-ogre-1.12.0/bin

cc @7c6f434c for testing.

@GrahamcOfBorg build stuntrally

nox-review builds for me, non-nixos linux x86_64


[$1000] IOU - Attempting to pay for a remote IOU results in an error and remains in the chat history

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
Preconditions:
From user B, make a request for money to user A

Open https://staging.new.expensify.com/
Log in as user A
Enter the chat room with user B
Disconnect the internet on user A's device.
On the device with user B, delete the money request for user A
Click Pay Money Request (from User B) on User A's device.
Turn on the Internet on user A's device
Refresh the chat page with user B
Click on the "Pay" button that appears again

Expected Result:
When user A deletes an IOU, user B should get a payment error(warning) when attempting to make a payment and the payment should not be made
Actual Result:
When user A is offline and clicks pay for an IOU, and user B online deletes that IOU, then when user A connects to the internet, the IOU remains in user A's history until the user logs in again
On mWeb similar behavior, on PROD it also writes the error "Hmm.... it's not here", but the "Pay" button doesn't appear anymore. On Android the application crashes, but on Desktop the payment is forced and the user who deleted the payment receives a notification about the payment and the message "Unexpected error deleting the money request, please try again later", or Desktop behaves like Web, I haven't found a pattern
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[x] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/ee23409a-8775-440d-8b06-98fc09e17e43
https://github.com/Expensify/App/assets/78819774/f326dcd9-dab4-4516-bd6c-d24630863eff
https://github.com/Expensify/App/assets/78819774/116a9f9a-af75-4b79-a5e1-110d5d38af79
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f39271ef156afeb6
Upwork Job ID:<PHONE_NUMBER>499406336
Last Price Increase: 2023-08-01

Proposal
Please re-state the problem that we are trying to solve in this issue.
If user pays the IOU request in offline mode when the IOU was already deleted by other user and switches to onine, it still shows pay button unless the user sign in again
What is the root cause of that problem?
In this case, PayMoneyRequest API is called for an already deleted IOU request. API call fails and the IOU preview action is updated with the below data
https://github.com/Expensify/App/blob/6c9e459f8114f1cd2986a83ede1d73fb150aa366/src/libs/actions/IOU.js#L1324-L1332
As you can see, there is no error indicator. This is one reason of the issue
If user B deletes his requests, user A receives the event that notifies the request was deleted. This works fine when both users are online, but if user A switches to offline and to online again, he wasn't able to receives the event. This is another reason of the issue(maybe this is impossible to avoid?)
In contrast to general messages, IOU requests are removed instead of being marked as deleted. So if user A didn't receive the events, user A can't know if the request was deleted because onyx merge is returned from the OpenReport API call. This is another reason
What changes do you think we should make in order to solve the problem?

We have to fill the failureData of the PayMoneyRequest API call with error, not created in the above code snippet.
We need to change the backend logic to handle IOU requests. We should not remove them, should mark them as deleted when delete IOU request. This should be applied to events for deleting IOU.

This issue looks like backend issue mostly with a small change in frontend.
What alternative solutions did you explore? (Optional)

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~018dd0024204076c3c

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~018ce7a315741412dc

@Beamanator @mountiny @puneetlath can you take a look over @Ollyws's Q above? Thanks

I think this would be addressed by the GetMissingOnyxUpdates changes we are making. But I guess if you are far enough out of date, the problem would still exist. So yes, I agree, this is a back-end issue.

@luacmartins I think this should be added to the DeleteMoneyRequest clean ups

Yea, this should be internal. I can work on it.

Prioritizing critical w4 issues. I'll get to this later in the week.

Working on this issue this week.

@luacmartins is there a draft PR yet?

🎉


Impostors.app

Name
Impostors Airdrop Scam
Description
Scammer hacks real Twitter accounts like @elliotrades and when users click on the link to received airdrop the scam steals tokens from your crypto wallet instead.
Addresses

0x68C0fc3f89234542c24fd75b8a9DF7F7a0d10d24

Meta Article URLs
https://www.youtube.com/watch?v=k3N4_aFndmA

Hey, thank you for spreading awareness. For this repo we specifically look at smart contract exploits, so we don't include phishing websites. We're looking into providing more warnings for malicious approvals on the Revoke.cash website, so we'll be sure to include this data once we implement that.


Update libphonenumber to 8.9.12

Update libphonenumber to 8.9.12

@sturdynut @albeebe This needs to be reviewed please

Can you please take a look at my new a PR. I need it to fix a German number
format issue - Thanks
On Wed, Sep 12, 2018 at 1:58 PM Matti Salokangas<EMAIL_ADDRESS>wrote:

@sturdynut approved this pull request.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/albeebe/phoneformat.js/pull/69#pullrequestreview-154772879,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABigmgCPnMbb76MVA2MfEl4JVM7LYvDUks5uaUtbgaJpZM4WZQHr
.


Scale docker compose is causing Port Conflicts

Hi ,
Scaling docker container in docker compose having a port mapping is causing a port already in use error.
Error below docker-compose.exe scale mywildfly=2
The "mywildfly" service specifies a port on the host. If multiple containers for this service are created on a single host, the port will clash.
Creating and starting 2 ... error
ERROR: for 2  failed to create endpoint dockerfiles_mywildfly_2 on network dockerfiles_default: Bind for <IP_ADDRESS>:8080 failed: port is already allocated
docker-compose.yml is
version: '2'
services:
mycouchbase:
container_name: "db"
image: arungupta/couchbase
ports:
- 8091:8091
- 8092:8092
- 8093:8093
- 11210:11210
mywildfly:
image: arungupta/wildfly-couchbase-javaee7
environment:
- COUCHBASE_URI=db
ports:
- 8080:8080
and the command to scale is : docker-compose.exe scale mywildfly=2.
@kirsid

scale has not been tested and included in the instructions yet.


Specify teleconsole local listening port

Is there a way to specify what port(s) teleconsole should listen on? after running # teleconsole
random ports are used. For example:
# netstat -ntlup | grep -i teleconsole
tcp        0      0 <IP_ADDRESS>:43119         <IP_ADDRESS>:*               LISTEN      1461/teleconsole
tcp        0      0 <IP_ADDRESS>:44529         <IP_ADDRESS>:*               LISTEN      1461/teleconsole
tcp        0      0 <IP_ADDRESS>:36695         <IP_ADDRESS>:*               LISTEN      1461/teleconsole
tcp        0      0 <IP_ADDRESS>:33596         <IP_ADDRESS>:*               LISTEN      1461/teleconsole

It would be very handy for systems with firewalls active to be able to always start teleconsole with specific ports so they can be allowed through the firewall.

@el-psycho When joining a session, Teleconsole does not listen to anything. When starting a session, Teleconsole only listens on your local AKA lo interface (that's how Teleport works, the library it's based on) so it's not reachable from other computers so firewalls should not be a concern.
Does this make sense? I hope I answered your question.


Marker with IconGenerator is not poining to correct position on Android 7.0+

Summary:
Markers putted with IconGenerator are not pointing to correct positions on Android 7.0+. The problem is getting worse, when I'm zooming out, because the point where the marker is pointing to is getting out of circle.
Steps to reproduce:
Put a marker on map with IconGenerator and then put another marker (standard this time) in the same position.
Code snippet:
private void markPosition(LatLng latLng){
    googleMap.addMarker(new MarkerOptions().position(latLng));
    putWhiteMarkerWithPlusAndRemoveLast(googleMap, locationName, latLng);
}

private void putWhiteMarkerWithPlusAndRemoveLast(GoogleMap googleMap, String locationName, LatLng latLng){
    IconGenerator iconGenerator = new IconGenerator(this);
    iconGenerator.setContentView(getWhiteViewWithPlus(locationName));
}

private View getWhiteViewWithPlus(String locationName){
    View view = ((LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE)).inflate(R.layout.marker_white_with_plus, null);
    TextView markerTextView = (TextView) view.findViewById(R.id.markerTextView);
    markerTextView.setText(locationName);
    return view;
}

marker_white_with_plus:
<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:android="http://schemas.android.com/apk/res/android">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/markerTextView"
        android:textSize="15sp"
        android:gravity="center_vertical"
        android:paddingLeft="8dp"
        android:drawableRight="@drawable/ic_add_marker"
        android:drawableEnd="@drawable/ic_add_marker"
        android:textColor="@color/black"/>
</LinearLayout>

Expected behavior:
Both markers pointing to the same position.
Observed behavior:
Standard GoogleMaps marker is pointing to the right position. The IconGenerator marker is pointing to position located on the left from the right position.
Device and Android version:

LG Nexus 5X (Stock Android 7.0, 7.1) - bad behavior.
HTC One M7 (Cyanogenmod 12.1, Android 5.1.1) correct behavior.
Samsung Galaxy S7 (TouchWiz, Android 6.0.1) correct behavior.

Screenshots:
In the same order as above:

(Here the standard marker is hardly visible, but it is there. I uploaded the original size screenshot, here:
http://i.imgur.com/mS2qqJv.jpg)

Thanks for the report! Could you please put together a really simple
project on Github that repros this on your 5X?  I'd like to test on another
N device but want to make sure it's the exact same code.
On Dec 28, 2016 5:33 AM, "Kamil-H"<EMAIL_ADDRESS>wrote:
Summary:
Markers putted with IconGenerator are not pointing to correct positions on
Android 7.0+. The problem is getting worse, when I'm zooming out, because
the point where the marker is pointing to is getting out of circle.
Steps to reproduce:
Put a marker on map with IconGenerator and then put another marker
(standard this time) in the same position.
Code snippet:
private void markPosition(LatLng latLng){
googleMap.addMarker(new MarkerOptions().position(latLng));
putWhiteMarkerWithPlusAndRemoveLast(googleMap, locationName, latLng);
}
private void putWhiteMarkerWithPlusAndRemoveLast(GoogleMap googleMap,
String locationName, LatLng latLng){
IconGenerator iconGenerator = new IconGenerator(this);
iconGenerator.setContentView(getWhiteViewWithPlus(locationName));
}
private View getWhiteViewWithPlus(String locationName){
View view = ((LayoutInflater)
getSystemService(Context.LAYOUT_INFLATER_SERVICE)).inflate(R.layout.marker_white_with_plus,
null);
TextView markerTextView = (TextView) view.findViewById(R.id.markerTextView);
markerTextView.setText(locationName);
return view;
}
marker_white_with_plus:

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/markerTextView"
    android:textSize="15sp"
    android:gravity="center_vertical"
    android:paddingLeft="8dp"
    android:drawableRight="@drawable/ic_add_marker"
    android:drawableEnd="@drawable/ic_add_marker"
    android:textColor="@color/black"/>

Expected behavior:
Both markers pointing to the same position.
Observed behavior:
Standard GoogleMaps marker is pointing to the right position. The
IconGenerator marker is pointing to position located on the left from the
right position.
Device and Android version:

LG Nexus 5X (Stock Android 7.0, 7.1) - bad behavior.
HTC One M7 (Cyanogenmod 12.1, Android 5.1.1) correct behavior.
Samsung Galaxy S7 (TouchWiz, Android 6.0.1) correct behavior.

Screenshots:
In the same order as above:
[image: nexus_5x_android_7 0]
https://cloud.githubusercontent.com/assets/11328102/21519923/e94e3416-ccf0-11e6-9a81-68d30de94fca.jpg
[image: htc_one_m7_android_5 1 1]
https://cloud.githubusercontent.com/assets/11328102/21519925/e9511c4e-ccf0-11e6-8e4e-b43f5587e9cf.jpg
[image: samgung_galaxy_s7_android_6 0 1]
https://cloud.githubusercontent.com/assets/11328102/21519924/e94f00e4-ccf0-11e6-9a7a-fab2ee4fdfff.jpg
(Here the standard marker is hardly visible, but it is there. I uploaded
the original size screenshot, here:
http://i.imgur.com/mS2qqJv.jpg)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/googlemaps/android-maps-utils/issues/342, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AA4pLWgp5MfA-xp1Ba8QFTJOv-bG0Zt3ks5rMjrhgaJpZM4LW0yn
.

Also, can you please add the currently installed Google Play Services app
version for each of the devices?
On Dec 29, 2016 10:06 PM, "Sean Barbeau"<EMAIL_ADDRESS>wrote:
Thanks for the report! Could you please put together a really simple
project on Github that repros this on your 5X?  I'd like to test on another
N device but want to make sure it's the exact same code.
On Dec 28, 2016 5:33 AM, "Kamil-H"<EMAIL_ADDRESS>wrote:
Summary:
Markers putted with IconGenerator are not pointing to correct positions on
Android 7.0+. The problem is getting worse, when I'm zooming out, because
the point where the marker is pointing to is getting out of circle.
Steps to reproduce:
Put a marker on map with IconGenerator and then put another marker
(standard this time) in the same position.
Code snippet:
private void markPosition(LatLng latLng){
googleMap.addMarker(new MarkerOptions().position(latLng));
putWhiteMarkerWithPlusAndRemoveLast(googleMap, locationName, latLng);
}
private void putWhiteMarkerWithPlusAndRemoveLast(GoogleMap googleMap,
String locationName, LatLng latLng){
IconGenerator iconGenerator = new IconGenerator(this);
iconGenerator.setContentView(getWhiteViewWithPlus(locationName));
}
private View getWhiteViewWithPlus(String locationName){
View view = ((LayoutInflater)
getSystemService(Context.LAYOUT_INFLATER_SERVICE)).inflate(R.layout.marker_white_with_plus,
null);
TextView markerTextView = (TextView) view.findViewById(R.id.markerTextView);
markerTextView.setText(locationName);
return view;
}
marker_white_with_plus:

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/markerTextView"
    android:textSize="15sp"
    android:gravity="center_vertical"
    android:paddingLeft="8dp"
    android:drawableRight="@drawable/ic_add_marker"
    android:drawableEnd="@drawable/ic_add_marker"
    android:textColor="@color/black"/>

Expected behavior:
Both markers pointing to the same position.
Observed behavior:
Standard GoogleMaps marker is pointing to the right position. The
IconGenerator marker is pointing to position located on the left from the
right position.
Device and Android version:

LG Nexus 5X (Stock Android 7.0, 7.1) - bad behavior.
HTC One M7 (Cyanogenmod 12.1, Android 5.1.1) correct behavior.
Samsung Galaxy S7 (TouchWiz, Android 6.0.1) correct behavior.

Screenshots:
In the same order as above:
[image: nexus_5x_android_7 0]
https://cloud.githubusercontent.com/assets/11328102/21519923/e94e3416-ccf0-11e6-9a81-68d30de94fca.jpg
[image: htc_one_m7_android_5 1 1]
https://cloud.githubusercontent.com/assets/11328102/21519925/e9511c4e-ccf0-11e6-8e4e-b43f5587e9cf.jpg
[image: samgung_galaxy_s7_android_6 0 1]
https://cloud.githubusercontent.com/assets/11328102/21519924/e94f00e4-ccf0-11e6-9a7a-fab2ee4fdfff.jpg
(Here the standard marker is hardly visible, but it is there. I uploaded
the original size screenshot, here:
http://i.imgur.com/mS2qqJv.jpg)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/googlemaps/android-maps-utils/issues/342, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AA4pLWgp5MfA-xp1Ba8QFTJOv-bG0Zt3ks5rMjrhgaJpZM4LW0yn
.

@barbeau
Google Play Services versions are:

LG Nexus 5X - 10.0.84<PHONE_NUMBER>26)
HTC One M7 - 10.0.84<PHONE_NUMBER>26)
Samsung Galaxy S7 - 10.0.84<PHONE_NUMBER>26)

I will try to prepare a sample application and as soon I finish it I will post it here.

@barbeau
https://github.com/Kamil-H/MarkerErrorSample
Here is a sample application that shows this problem. You can "longClick" on map to change the position of the marker.
Please try to zoom-out and see where both markers are pointing to.

Thanks!
On Dec 30, 2016 2:35 AM, "Kamil-H"<EMAIL_ADDRESS>wrote:

@barbeau https://github.com/barbeau
https://github.com/Kamil-H/MarkerErrorSample
Here is a sample application that shows this problem. You can "longClick"
on map to change the position of the marker.
Please try to zoom-out and see where both markers are pointing to.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googlemaps/android-maps-utils/issues/342#issuecomment-269741583,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4pLfmp1X2n2CH6Iulfv12DBpxUjukbks5rNLRXgaJpZM4LW0yn
.

Interestingly, I can't repro this with https://github.com/Kamil-H/MarkerErrorSample and an LG G5 with Android 7.0 and Google Play services app 10.0.84<PHONE_NUMBER>26):

I had to change the Google Maps API key in AndroidManifest.xml to get the map to show (I used an unrestricted key I just created in the Google API Console), but otherwise the demo app I installed is identical to the one on Github.
Could you please try uninstalling the sample app and Google Maps and clearing the cache for Google Play Services app, turning the device off and back on, reinstall Google Maps and sample app and see if you still see the same problem?
I've seen the cache for Google Play Services app get corrupted before, and maybe that's what is causing this.

This problem occurs on two completely separated LG Nexus 5X on either 7.0 and 7.1 versions, so maybe here is a problem. I thought this problem is related to newer Android versions, but it seems I was wrong. I will try to test it on different devices especially on other Nexus devices.
Anyway, thank you so much for checking it. I didn't have any other device with Android 7.0+ on hand, so good to know that problem is not here.

Thanks @Kamil-H, I'm going to close this out as I don't think it's related to this library.  If you find out what's causing this please let me know!

I have the same issue, using latest code from today, but with some minor update:
com.google.android.gms:play-services-maps:11.4.0
compileSdkVersion 26
buildToolsVersion "26.0.1"
This is on google pixel Oreo.
You should be able to tell that the triangle on the bottom part is not in the center.


Option to disable creation of Foundry walls when drawing

I've been using Dundgeon Draw to map out rough location layouts in my games, but the automatic wall creation means that players often lose line of sight or can't move their tokens as I add new parts.
Would it be possible to add an option to not create Wall objects on the scene?

Yup, that sounds doable. Probably a module setting checkbox that defaults to enabled?

That would be awesome. I have a different use case, but would also love to be able to build without walls.

Implemented for upcoming release 2.2.0.

Any idea when 2.2.0 is expected?

So sorry - I closed this issue thinking it was complete and pushed, but it wasn't. Re-opening and will check what happened to my code change.

Merged my lost code and pushed a new version 2.3.0.
Take a look and let me know if you hit any problems!