pf_ring build fails

works for me

I am having the same issue on a ubuntu 14.04 box, seems to be this error
"./easybutton-build.sh: 147: cd: can't cd to PF_RING-6.0.2"
looks related to the gzip or tar process on the downloaded PF_RING-6.0.2.tar.gz
MOLOCH: Building libpcap with pfring
--2015-07-16 20:18:55--  http://sourceforge.net/projects/ntop/files/PF_RING/PF_RING-6.0.2.tar.gz/download
Resolving sourceforge.net (sourceforge.net)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to sourceforge.net (sourceforge.net)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://sourceforge.net/#!/projects/ntop/files/PF_RING/PF_RING-6.0.2.tar.gz/download [following]
--2015-07-16 20:18:56--  http://sourceforge.net/
Reusing existing connection to sourceforge.net:80.
HTTP request sent, awaiting response... 200 OK
Length: 639 [text/html]
Saving to: ‘PF_RING-6.0.2.tar.gz’
100%[==================================================================================>] 639         --.-K/s   in 0s
2015-07-16 20:18:56 (29.7 MB/s) - ‘PF_RING-6.0.2.tar.gz’ saved [639/639]
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
./easybutton-build.sh: 147: cd: can't cd to PF_RING-6.0.2
make: *** No targets specified and no makefile found.  Stop.
MOLOCH: pfring failed to build

also tried without PF_ring (answered no on install ) and got the below
VER=cat ./VERSION;
MAJOR_VER=sed 's/\([0-9][0-9]*\)\..*/\1/' ./VERSION;
gcc -shared -Wl,-soname,libpcap.so.$MAJOR_VER
-o libpcap.so.$VER pcap-linux.o pcap-usb-linux.o pcap-can-linux.o pcap-netfilter-linux.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o sf-pcap.o sf-pcap-ng.o pcap-common.o bpf_image.o bpf_dump.o  scanner.o grammar.o bpf_filter.o version.o
./config.status --file=pcap-config.tmp:./pcap-config.in
config.status: creating pcap-config.tmp
mv pcap-config.tmp pcap-config
chmod a+x pcap-config
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
./easybutton-build.sh: 179: [: Linux: unexpected operator
./easybutton-build.sh: 182: cd: can't cd to libnids-1.24
./easybutton-build.sh: 182: ./easybutton-build.sh: ./configure: not found
make: *** No targets specified and no makefile found.  Stop.
MOLOCH: make failed

sourceforge is having issues, if you look at the file it actually downloads it says
"We're sorry -- the Sourceforge site is currently in Disaster Recovery mode, and currently requires
the use of javascript to function.  Please check back later."
You can download it externally and place it where moloch expects it.
I wish pfring would move to github.

Ahhhh that makes sense, thanks
On Jul 16, 2015 16:28, "Andy Wick"<EMAIL_ADDRESS>wrote:

sourceforge is having issues, if you look at the file it actually
downloads it says
"We're sorry -- the Sourceforge site is currently in Disaster Recovery
mode, and currently requires
the use of javascript to function. Please check back later."
You can download it externally and place it where moloch expects it.
I wish pfring would move to github.
—
Reply to this email directly or view it on GitHub
https://github.com/aol/moloch/issues/406#issuecomment-122079883.

                                                                                *shakes fist*SOURCE FORGE!!                                                                                Sent from my BlackBerry 10 smartphone on the Rogers network.                                                                                From: all powerful vogon leaderSent: Thursday, July 16, 2015 4:31 PMTo: aol/molochReply To: aol/molochSubject: Re: [moloch] pf_ring build fails  (#406)Ahhhh that makes sense, thanks

On Jul 16, 2015 16:28, "Andy Wick"<EMAIL_ADDRESS>wrote:

sourceforge is having issues, if you look at the file it actually
downloads it says
"We're sorry -- the Sourceforge site is currently in Disaster Recovery
mode, and currently requires
the use of javascript to function. Please check back later."
You can download it externally and place it where moloch expects it.
I wish pfring would move to github.
—
Reply to this email directly or view it on GitHub
https://github.com/aol/moloch/issues/406#issuecomment-122079883.

—Reply to this email directly or view it on GitHub.

I know right!
On Jul 16, 2015 18:04, "DataSquid"<EMAIL_ADDRESS>wrote:

shakes fistSOURCE FORGE!!
Sent from my BlackBerry 10 smartphone on the Rogers network. From: all
powerful vogon leaderSent: Thursday, July 16, 2015 4:31 PMTo:
aol/molochReply To: aol/molochSubject: Re: [moloch] pf_ring build fails
(#406)Ahhhh that makes sense, thanks
On Jul 16, 2015 16:28, "Andy Wick"<EMAIL_ADDRESS>wrote:

sourceforge is having issues, if you look at the file it actually
downloads it says
"We're sorry -- the Sourceforge site is currently in Disaster Recovery
mode, and currently requires
the use of javascript to function. Please check back later."
You can download it externally and place it where moloch expects it.
I wish pfring would move to github.
—
Reply to this email directly or view it on GitHub
https://github.com/aol/moloch/issues/406#issuecomment-122079883.

—Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/aol/moloch/issues/406#issuecomment-122117037.


cinder_service_check.py not using --host option

The script cinder_service_check.py defines an optional host parameter
that is designed to filter the results, returned by the cinder API, so
that only services on the specified host are returned. The MaaS setup
role, that configures the checks that use this script, uses '--host'.
The script does not use the host argument if supplied.
This patch fixes the script so that the results returned are filtered
by host, where host includes any backends/pools on that host.
Closes-bug: https://github.com/rcbops/rpc-openstack/issues/200

I think this code is unnecessary.  We already filter on args.host, but the filter isn't right.  How about changing this from:
        # We need to match against a host of X and X@lvm (or whatever backend)
        if args.host and args.host in service['host']:
            name = '%s_status' % service['binary']
        else:
            name = '%s_on_host_%s' % (service['binary'], service['host'])

to:
        # We need to match against a host of X and X@lvm (or whatever backend)
        if args.host is None or (args.host and args.host in service['host']):
            name = '%s_on_host_%s' % (service['binary'], service['host'])
            metric_bool(name, service_is_up)

Thoughts?

@mattt416 - as per our conversation I have updated the patch to adjust that second section of filtering.

:+1:
@prometheanfire can you re-review before we merge?  Thanks!

:+1:


Draft: Refactored abstract state

Still a draft, do not merge
Purpose

Kill a mosquito with an orbital cannon
Encapsulate the state class
App-Test folder structure for python app

Kill a mosquito with an orbital cannon

Dodge this!
I am looking forward to some actual tests, so I can write some more (and improve my own other projects).


Include tags for older version telemetry

Please also include these tags: 'AL0000HE7', 'AL0000FMG', 'AL0000HAK', 'AL0000FNY','AL0000HAI', as in older versions of BC 'AL0000E24','AL0000E25','AL0000E26' are not sufficient.

Learn Build status updates of commit d8221d7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dev-itpro/includes/include-lifecycle-telemetry-event-ids.md
:white_check_mark:Succeeded

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

Thanks for the feedback. The telemetry ID article has recently been updated.


gliz wants to get in contact with you

Hey gliz wants to get into contact with you. add his discord gliz#0777
im not sure if he will accept it but join his server and ping @gliz#0777 https://discord.gg/ZKxRU3hG

@Belook12 Stop going from repo to repo copying the same message I was talking to gliz and he hasent once said anything about anyone anyone else copying his code.

exept to me LOL

@ZasticBradyn LMAO he came to me as well. thats why I had to delete our repo.


When I call the function of build to build a job and it will be built twice

When I call the function of build to build a job and it will be built twice. There are two post requests in the function of build.

Can you please squash your commits into a single one...thanks for finding this...

Hi, not merged yet?

Unfortunately there are some conflicts...

Tried to checkout code and submit new PR, but it's fixed here:
https://github.com/jenkinsci/java-client-api/blob/master/jenkins-client/src/main/java/com/offbytwo/jenkins/model/Job.java#L111
Do you have any ETA for 0.3.8 release?
Thanks!


LatLng popup and marker pop up issue

Hi all,
First off, sorry if this post isn't the best, I am quite new to not only GitHub, but also to coding in general... so please bear with me.
I am working on a little project which shows a number of point features within my local borough. I previously just had a simple Leaflet map with the code:
var popup = L.popup();
function onMapClick(e) {
popup
.setLatLng(e.latlng)
.setContent("You clicked the map at " + e.latlng.toString())
.openOn(map);
}
map.on('click', onMapClick);
To show the latitude and longitude at that point. I then connected to a database (using php), stored the results into an array and plotted them onto the map and had a popup showing the location of a point.  All that worked great, but I was really keen to use clustering on these points, so I used the markercluster to do this. Here is the code for that section:
dog_bins = new Array();
$.getJSON("fetchData.php", function(results)	{
for (var i = 0; i < results.length; i++ )	{
dog_bins.push ({
unqid: results[i].unqidid,
location: results[i].location,
latitude: results[i].latitude,
longitude: results[i].longitude
});
}
plotbins();
});
}
function plotbins() {
var markers = L.markerClusterGroup();
for (var i = 0; i < dog_bins.length; i++) {
var markerLocation =
new L.LatLng(dog_bins[i].latitude, dog_bins[i].longitude);
var marker = new L.Marker (markerLocation, {icon:dogbinicon});
markers.addLayer(marker);
map.addLayer(markers);
markers.bindPopup(dog_bins[i].location);
}
}
This is when the problem with the LatLng popup and marker popup info started. It seems like using markcluster almost overwrites the other two functions?
If I use map.addLayer(marker) then it adds each point individually as before, and clicking on the map gives LatLng pop up and clicking a point give me the location details, but as soon as I change the code to map.addLayer(markers), so it uses the clustering, the LatLng pop up and location info stops working... but I get my clusters.
So I think this is an issue with the marker clustering and not so much my code? Unless perhaps the ordering of my code need amending (I know my code could be tidier, but it works)?
I have tried to search for similar issues, but don't think I can quite find this problem, and some which sound similar I have looked at but I can't work out how to adjust my code and get it working.
Thanks again
Dan

We don't provide help for apps here sorry.
At a guess, you are calling map.addLayer(markers) multiple times, not sure if that would cause issues.


Add Microsoft Bot Framework connector

Proposed changes:

Add Bot Framework to RASA channels

Status (please check what you already did):

[x] made PR ready for code review
[ ] added some tests for the functionality
[x] updated the documentation
[ ] updated the changelog

Hello @tmbo ! Is there any interest in this PR ? We are running it on a big client's project and it is working great :)

thanks @tupac56 @thaume ! we will look into this as soon as we can - looks like a great contribution!

No rush :) just wanted to make sure that it made sense here on rasa_core !
Enjoy your weekend !

Hi @amn41,
Just wondering when you plan to merge this PR? we need it for a client.
Thanks

We use it production right now for a big client. We're waiting for some
feedbacks from the core team before finishing it up for open source
On Mon, Jul 23, 2018, 19:37 Mansour Saffar M<EMAIL_ADDRESS>wrote:

Hi @amn41 https://github.com/amn41,
Just wondering when you plan to merge this PR? we need it for a client.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RasaHQ/rasa_core/pull/576#issuecomment-407140134, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Ab81mL7LrPshv3eHt4Sd--T182SPUkZaks5uJgnegaJpZM4UajoX
.

Thanks for your contribution - I merged the new input / output channel into master. I changed the webhook route to /webhooks/botframework/webhook though.


How to improve CV query?

CV define:

SQL query:

explain:

table size:

Why query is very slowly?
I modify config continuous_query_combiner_work_mem is not improve.

HLL column toast 2.1M

@sangli00 can you copy/paste the full CV definition here in text form, along with all SELECT queries against the CV?

CV definition:
create continuous view reinforce.app_world_num_2month as
select
  app_id::integer,
  (ip2location).country_short as stat_area,
  date_trunc('month', arrival_timestamp) as stat_time,
  count(distinct user_ipaddress) as stat_count
from atomic.stream_event
where arrival_timestamp >= date_trunc('month',clock_timestamp()) -interval '1 month'
group by app_id::integer,stat_time,stat_area;

select query:
SELECT stat_area,sum(stat_count) AS userTotal
        FROM  reinforce.app_world_num_2month as userTable
where app_id in (1000,1001)
and stat_time >=Timestamp '2017-12-01 00:00:00'
and stat_tiem <Timestamp '2017-12-21 23:59:59'
 GROUP BY stat_area

@derekjn

SELECT count(*) FROM reinforce.app_world_num_2month
-- (436 rows)

@sangli00 this is a sliding-window CV, which internally uses many more rows than are actually visible in final results. When you're including a timestamp column and using a sliding window, what you really probably want is a CV with a TTL instead of a sliding window.
So something like this will perform a lot better:
create continuous view reinforce.app_world_num_2month with (ttl = '1 month', ttl_column = 'stat_time') as
select
  app_id::integer,
  (ip2location).country_short as stat_area,
  date_trunc('month', arrival_timestamp) as stat_time,
  count(distinct user_ipaddress) as stat_count
from atomic.stream_event
group by app_id::integer,stat_time,stat_area;

PipelineDB version is old .
maybe i need upgrade .
https://www.pipelinedb.com/blog/pipelinedb-0-9-7-delta-streams-and-towards-a-postgresql-extension
HyperLogLog Performance Improvement


pdf.lib is not created during build and is not packaged during create-dist

I've noticed that pdf.lib is missing after building and it won't be available to be packaged into dist via create-dist. As an interim fix I've just included it from the official build of libchromiumcontent.

It seems to be missing from static_library after creating dist. This is where I dump a copy of it from the official packaged libchromiumcontent distribution.

@frankhale, there are no pdf.lib for both static_library and dynamic_library builds. Instead, we use pdf.dll library.

It's not me complaining idly, it's that Electron complains that it's missing so I have to copy it into my custom compiled libchromiumcontent when compiling Electron against it.

It is actually missing from the static dir after compiling libchromiumcontent and creating a dist. It's not there yet it is there in the official distribution of libchromiumcontent.

Now that I'm compiling Electron 0.28.3 against my custom libchromiumcontent the problem has gone away. Electron is no longer complaining that pdf.lib is missing from the static_library of libchromiumcontent.


Collection-repeat windows scroll

I followed the steps mentioned as per the below url to make collection-repeat work on Windows Phone 8.1 .The height/width looks fine and the the view is populated quickly but I am not able to scroll down to see the full list.
https://github.com/driftyco/ionic/issues/3399#issuecomment-87159525
Can you please advise?

Greetings @aasavad!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

can you make code pen? make sure your ion content scroll true

Greetings @aasavad!
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.


Regarding Eq (5) in the Paper

Dear Zhaozhi,
Hope this message finds you well. Thanks a lot for this brilliant paper! I am writing to ask about Eq (5) in the paper, because I was not able to find an implementation of that in the code. As I understand, this line is where Eq(5) should appear in some way---please kindly correct me if I misunderstood!

Hi Qiyao,
Thanks for reaching out. Yes, you are correct - the Equation 5 is an optimization problem and it is implemented in the SymbolicODE class in genetic.py. We adopted the sklearn convention to design the interface. The line you pointed out relates to the benchmarks (SR-T and so on).

Ah I see. Thank you so much for the quick reply!


How to append bitmaps efficiently ?

Hello,
I need to append bitmaps efficiently.
Here's what I would like to do.
EWAHCompressedBitmap columnBitmap = new EWAHCompressedBitmap();
colBitmap.set(1);
colBitmap.set(3);
int nCol = 10
EWAHCompressedBitmap matrixBitmap = new EWAHCompressedBitmap();
for (int i = 0 ; i < nCol;i++) {
bitmap = bitmap.append(colBitmap);
}
I am not sure where to start, could you please give some advises .

@lemire I have a similar need to shift the bitmap (i.e. add zero bits to or remove bits from the front). In my case, I'll always be shifting by a multiple of the word size (64 bits). You alluded to an efficient way to do this. What approach do you recommend? Example code would be great. Thank you!

@rhasselbaum
One could do it efficiently right now with some surgery on the compressed data. But I do not think that users of the library can do it efficiently given our API.
We could extend the API to support the function you allude to, but, it would be very useful to know what the motivation is.

My goal is to merge multiple bitmaps together through bitwise operations, but index 0 in each bitmap translates to a different point in a larger continuum. For example, suppose I have two bitmaps that represent time slots over different spans of time. When working with an individual bitmap, I want to be able to address bits relative to the start of its time span (e.g. index 0 is time T, index 1 is time T+1, etc.). But when combining bitmaps together, I need to translate their bit offsets to absolute time.
So the problem is a general one of translating relative indexes to absolute indexes in a larger value space before performing bitwise operations.
I might be able to use absolute time for all of my indexes, but I suspect it would be less efficient from a storage standpoint. Also, it prevents me from applying the same bitmap to different points in absolute time.

@rhasselbaum  @amaurel
This is supported as of javaewah version 1.1.0 through the "shift" function.
http://lemire.me/docs/javaewah/com/googlecode/javaewah/EWAHCompressedBitmap.html#shift-int-
Note that negative shifts are not allowed at this time, you can only "increment" the set bits by a fixed amount. However, the shift can be any integer, not just a multiple of 64.
The function will run faster if the shift is divisible by 64 (EWAHCompressedBitmap) or divisible by 32 (EWAHCompressedBitmap32).
Though this is implemented I want to clear up some misconceptions...

You should have no reason to believe that using larger values for the set bits should be less efficient regarding storage. The whole point of a format like EWAH is that long runs of zeroes are compressed down to almost nothing.

This shift is not going to be free in general. It is an O(n) operation. If you constantly rely on shifting, do not be surprised if your processing speed is half of what it could be. An entire bitmap must be processed and recreated.

Since I think I implemented what was requested, I am closing this issue.

Thank you very much! I was not expecting such a quick resolution. And thanks for correcting my misconception about large indexes.


refactor: Replace 'blacklist' and 'whitelist' terms in repository

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[x] Ensure the tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

Fixes https://github.com/googleapis/java-compute/issues/505 ☕

@parthea can we please get some inputs on this PR


'Revoke' user invite requests not working on /team/

When attempting to revoke an invite to a user on the team page, nothing happens.
It seems that the status=all part of the request is missing in the call to the users.read API endpoint. As the users API will only return active users by default, the user will not be found, and a 404 is returned instead.
Steps to Reproduce

On /team/, invite a user to your blog
Hit the 'revoke' button, nothing happens

The API returns a 404:

The console shows an error:

Technical details:

Ghost Version: master

I've submitted a quick-fix in #5953 but I think the API behaviour is wrong in this case - querying by ID should by default query all available records (based on permissions, but that's not ready yet).
If there's a use case where you want to restrict the the query-able record set then that should be indicated by specifying a modifier such as status=invited.
For index queries I think the current behaviour makes sense as there you want to provide sensible defaults and then expand/restrict the result set with query modifiers.

I fully agree with the assessment here, it's another subtle detail of how different requests need to behave very differently.
I've added the permissions label here so it's tracked as part of the new permissions spec. There is an additional complexity here in determining when we should return 403 or 404 - as 403 gives away that a resource exists?

There is an additional complexity here in determining when we should return 403 or 404 - as 403 gives away that a resource exists?

Does giving away that a resource exists matter as long as it's only accessible with the correct permissions? I'd err on the side of sticking to the HTTP spec, a client would be able to provide a more relevant error message if it received a 403, plus the client already expected something at that location anyway and would need to be successfully authenticated else it would be a 401?

Ok, that's an interesting question.

I think the API behaviour is wrong in this case - querying by ID should by default query all available records (based on permissions, but that's not ready yet?).

That would be a very sensible change in my opinion. The current status=all came from the initial implementation and it would probably be easier to understand if we would apply a filter to limit the result rather than having a filter to show all results?

403 vs 404

In my opinion this depends on the resources the authenticated user is allowed to see. If the user is allowed to view the resource, but doesn't have permission to edit the resource the request to edit returns 403. If the user is not allowed to see the resource all requests return 404.
Example, user viewable but no permission:

authenticated: yes/no

yes: proceed
no: 401 unauthorized

GET /users/3

200: JSON response

PUT /users/3

403 forbidden

Example, user not viewable, no permission

authenticated: yes/no

yes: proceed
no: 401 unauthorized

GET /users/3

404 not found

PUT /users/3

404 not found

Returning 403 for all existing resources would be similar to showing all users that are in the database in the UI to any user without information. It would simply be a placeholder to tell the user there is something you will never be able to access.
This also takes into account various security considerations about leaking information by confirming that a certain resource exists.

The current work to split models should resolve this issue.


Fix Zend_Session_SaveHandler_DbTable PHP 8.1 compatybility

@piotrekgrzanka could you please describe why is this change needed? I can't see any interface implemented, therefore need to introduce strict typeing. If this change is approved, it's definitely breaking change. So must be properly justified as first.

..and it's not passing the Unit tests, as expected.

Ah, and last (but not least), we are maintaining compatibility from PHP 7.1, so this can't be merged anyway.


Release 0.2.1 Attempt Number Two

@JuliaRegistrator register(branch="release/v0.2")

Registration pull request created: JuliaRegistries/General/54740
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.1 -m "<description of version>" 30a78f30849687143aebfa04241a5379ff59f9a0
git push origin v0.2.1


Standalone RCS with ignore shots

Standalone RCS with ignore shots, integrated with aimbot.
I found many requests / suggestions for this on issue tab. I had a free hour and i like to share it with everyone to optimize it.
Activation is depending on enabled Aimbot, Recoil control x and y and checkbox Standalone RCS.
Ignore shots 0 means RCS is fully active on first shot, to make it look more legit you should set this at least to ignore 1 shot, if you do some single shots sometimes ;)
This commit is still for testing purposes. Added Code should be clean / fine.
@danielkrupinski , as far as i know, i don't have to normalize / clamp angles for aimpunch. Is this correct? If not, please give me some hints.
Don't use it online till daniel has confirmed pull request.
Have fun!

nice, gonna see it when I get home

nice, gonna see it when I get home

yes, cool, give me feedback. i tested a bit around, it was very stronk ;)

working perfectly great job buddy :)

working perfectly great job buddy :)

thx for info! i just did 4 competetives without problems, lets see if all is fine / save. hopefully daniel can soonly doublecheck.

found a thing ingore shots not saving at all ( tryed it without my modifications and tryed making brand new config)

found a thing ingore shots not saving at all ( tryed it without my modifications and tryed making brand new config)

okay, thx for feedback, will fix this this weekend!

I found where the problem is ima go study it.

Fixed...shame on me, watch commit description and changes i think you can laugh out loud...

@steel4me i actually knew it lmao I was looking at it

no problem buddy i was looking at it for like 20 mins didnt saw it too :D

shouldn't it be smoothed a bit?

shouldn't it be smoothed a bit?

for the moment i would leave it native till @danielkrupinski has authorized it. cause im not 100% sure if everything is fine with viewangles and netvar m_iShotsFired. Or, espacially, with checks like isAlive or something. Osiris had no standalone rcs about long time, i don't know why, this is only an example for testing, you should not use it online to avoid VAC ban.

it works fine for me long time now but i have seen many rcs solutions for osiris in other pull requests. somehow @danielkrupinski don't implement it. would be nice to know why and see his optimized standalone rcs solutions soon ;)

hes working on an rcs? they aren't that hard, just grab the aimpunch netvar, half it, subtract the previous amount and add it to the viewangles.

hes working on an rcs? they aren't that hard, just grab the aimpunch netvar, half it, subtract the previous amount and add it to the viewangles.

@xAkiraMiura are you kidding me? I know how RCS works, that why i opened this pull request in November 2019, cause i added standalone RCS to aimbot.
Did you even know what a pull request is? Maybe.
Did you even watched the code? Seems not ;)
Horrible.

if hes working on an rcs like you said it should take him as long, considering you of all people found it easy.
the reason he didnt accept your pull is probably because of your super long variable names and over use of auto when the type is easily guessable.
why are you trying to start a fight? i wasn't even commenting about your code in the first place.
fixing your grammar:
*Do you even know what a pull request is?
*Do you even watch the code

first of all thanks for the advice and the grammar correction, my english is not perfect
I definitely don't want to start a fight. it's all a question of interpretation. if you simply write a copy and paste answer that you recently used in an issue case without seeing that I have already done a working rcs, your answer or proposed solution is unprofessional.
This is exactly what you blame others for, unfortunately your answers are not useful.
In addition, i did not directly say that Daniel is working on an RCS, but that it would be nice if he will publish an optimized RCS.

i wasn't even commenting about your code in the first place.

This is exactly what github is there for, reviewing, checking and optimizing code together.
Your only meaningful comment was that I used variables that were too long.

i wasn't actively contributing back when tirziz made their review so it had nothing to do with me? they haven't commented on this for over 3 months.

@steel4me brother leave him alone he's one of those offensive kids. Just be cool with it.

So can you update this to be smooth and more legit? I wanna just add it myself if it wont be added to the main cheat anytime soon

post has been closed for 2 months, you just necro'd
the original pull is from novemember 2019, chances are they no longer want to maintain the pull.


logrank test for >2 groups

Lifelines currently offers a logrank test for only two survival curves. Tests exist for >2 curves. I think it's a use case that arises fairly often, so it would be worth implementing. You would probably want two tests, one for when you expect a trend in the various curves (i.e. expect them to be ordered a particular way) and one for when you do not (i.e. you just want to know whether they are distinguishable). A little browsing turned up these instructor's notes from a stats class, and this documentation from a proprietary statistical package. Both have some references.

Hey @jamesdj, we do offer tests for n>2 actually:
def pairwise_logrank_test(event_durations, groups, event_observed=None,   alpha=0.95, t_0=-1, bonferroni=True)
    Perform the logrank test pairwise for all n>2 unique groups (use the more appropriate logrank_test for n=2).
    We have to be careful here: if there are n groups, then there are n*(n-1)/2 pairs -- so many pairs increase
    the chance that here will exist a significantly different pair purely by chance. For this reason, we use the
    Bonferroni correction (rewight the alpha value higher to accomidate the multiple tests).
    Parameters:
      event_durations: a (n,) numpy array the (partial) lifetimes of all individuals
      groups: a (n,) numpy array of unique group labels for each individual.
      event_observed: a (n,) numpy array of event_observed events: 1 if observed death, 0 if censored. Defaults
          to all observed.
      alpha: the level of signifiance desired.
      t_0: the final time to compare the series' up to. Defaults to all.
      bonferroni: If true, uses the Bonferroni correction to compare the M=n(n-1)/2 pairs, i.e alpha = alpha/M
            See (here)[http://en.wikipedia.org/wiki/Bonferroni_correction].
      kwargs: add keywords and meta-data to the experiment summary.
    Returns:
        R: a (n,n) dataframe of StatisticalResults (None on the diagonal)

and
def multivariate_logrank_test(event_durations, groups, event_observed=None,
                              alpha=0.95, t_0=-1, **kwargs):
    """
    This test is a generalization of the logrank_test: it can deal with n>2 populations (and should
      be equal when n=2):
    H_0: all event series are from the same generating processes
    H_A: there exist atleast one group that differs from the other.
    Parameters:
      event_durations: a (n,) numpy array the (partial) lifetimes of all individuals
      groups: a (n,) numpy array of unique group labels for each individual.
      event_observed: a (n,) numpy array of event observations: 1 if observed death, 0 if censored. Defaults
          to all observed.
      alpha: the level of significance desired.
      t_0: the final time to compare the series' up to. Defaults to all.
      kwargs: add keywords and meta-data to the experiment summary.
    Returns
      results: a StatisticalResult object with properties 'p_value', 'summary', 'test_statistic', 'test_result'
    """

Thanks for the quick response. I knew about the pairwise logrank test, but I hadn't seen the multivariate logrank test; I wonder how I missed it. There would still be some benefit in implementing the version for when you expect a trend, a particular ordering across curves.


LabView Client Examples Improvements

This updates all of the LabView Client examples in the documentation. I've included better screenshots of each example with callouts for each of the new controls as your progress down the page. All of the figures are currently living in a Google Slide in order to keep stylization the same and make updating the figures much easier.
All descriptions have been updated as well and "steps" have been converted to features with bullets because I felt that made more sense. Each example has a blurb about the example, what you can do prior to running the example, and what you can do after the example is running.
Closes #72

@citlaligm Addressed your PR comments. Ready for another look. Thanks!


Added link to broaden description on SSL sertificates

This link provides information about SSL/TLS Certificate, and later on in the post, you can find MySQL description also.

Hello,
No particular reason just really liked it, it's thorough and well written,
I though it would fit well.
On Thu, Jul 18, 2019 at 5:50 PM Robbie Averill<EMAIL_ADDRESS>wrote:

@robbieaverill commented on this pull request.
In docs/en/00_Getting_Started/01_Installation/How_To/MySQL_SSL_Support.md
https://github.com/silverstripe/silverstripe-framework/pull/9135#discussion_r304960498
:

@@ -7,7 +7,7 @@ In a typical Silverstripe set up, you will only need to use a single host to fun

In some cases, however, you may be required to connect to a database on a remote host. Connecting to a remote host without SSL encryption exposes your data to packet sniffing and may compromise the security of your Silverstripe instance.
-This article demonstrates how to generate SSL certificates using MySQL and implementing them in Silverstripe.
+This article demonstrates how to generate SSL certificates using MySQL and implementing them in Silverstripe.
Is there a particular reason you've chosen this resource to link to?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/silverstripe/silverstripe-framework/pull/9135?email_source=notifications&email_token=AMQX6WKAGULOBKZBVT6MSZ3QAB7L7A5CNFSM4IE4HWX2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB636MVQ#pullrequestreview-263710294,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMQX6WLJIZHQBBJOJM73V6LQAB7L7ANCNFSM4IE4HWXQ
.

Thanks!

Sorry, I merged this a little early. I'd prefer a more authoritative resource if possible =)


add javadoc, Hot Rod Transaction properties

I added the following two properties to the ConfigurationBuilder Javadoc of Hot Rod Client.

infinispan.client.hotrod.transaction.transaction_manager_lookup
infinispan.client.hotrod.transaction.transaction_mode

It is a property added by Hot Rod Transaction, so I think that it was better to have a description in Javadoc.

@pruivo Can you check?

integrated! Thank you @kazuhira-r !


Some about using "addOverlay"

When I use "addOver" to add text coverage, I need to fix the height and width of the coverage I add without changing with the zoom-in and zoom-out.If it's not fixed, when I zoom in, the cover will become larger and cover the layer below. It's not what I want. I don't know if there are any relevant methods. If not, I can only monitor the change cycle of the rollers to set the width of the cover. This is a more troublesome thing.
Here is the implementation code：
            let textDiv = document.getElementById(id);

            if (textDiv != null) {
                this.viewer.removeOverlay(id);
            }

            textDiv = document.createElement("div");
            textDiv.id = "text" + canvasObject.index;
            textDiv.style.fontSize = "18px";
            textDiv.style.color = "blue";
            textDiv.style.background = "black";
            textDiv.style.maxHeight = "30px";
             textDiv.style.maxWidth = "190px";

            textDiv.innerHTML = “123587912a”

            var jk = this.viewer.viewport.getContainerSize().x;
            let widthPx = 120;
            let heightPx = 30;

            var viewportPoint = new OpenSeadragon.Point(this.mouseTo.viewPointX, this.mouseTo.viewPointY);

            var imagePoint = this.viewer.viewport.pointFromPixel(viewportPoint);

            var textRect = new OpenSeadragon.Rect(imagePoint.x, imagePoint.y, widthPx / jk / this.viewer.viewport.getZoom(),heightPx / jk / this.viewer.viewport.getZoom());

            this.viewer.addOverlay(textDiv, textRect);

By adding the overlay with a rectangle, you're asking OSD to resize its width/height along with the zoom. If you add it with a point instead, OSD will leave the size alone. Something like:
var textPoint = new OpenSeadragon.Point(imagePoint.x, imagePoint.y);

this.viewer.addOverlay(textDiv, textPoint);

Thank you. This method works perfectly for me.

I used this method, but I recently found a new problem. When I zoomed in, the cover I added seemed to be out of place before the reduction.

I'm not sure what you're referring to. Can you share a link or some screenshots? At any rate, depending on the CSS on your element, that might affect the positioning.


fixes for issues #19 and #23

This is a fix for the issue proposed in issue #19, and for the zsh bug in #23.

So what will 'g' default to? Home directory? that would be great.


(BUG) [Native/Android] The Error popup is shown on the Scan QR code screen after scanning the QR code

Description: The Error popup is shown on the Scan QR code screen after scanning the QR code
Steps to reproduce:

Launch the app
Login into the account
Press the Send button
Press the Scan QR Code button
Scan the QR code
Pay attention to the Error popup

Expected result:
The Send G$ screen with the "How much?" step is displayed after scanning the QR code
Actual result:
The Error popup is shown on the Scan QR code screen after scanning the QR code
The user is new: No
Environment:  App Version 1.13.0-0 (990)
Devices list: Xiaomi Mi8 // Android 8.1.0
Additional info:
The user is registered with self custody method
Backup words: bottom duty enroll crew fabric window warrior cabbage goat potato fine neither
Notes: The camera section is displayed out of the container on the Scan QR Code screen
Attachment:
https://www.dropbox.com/s/p1afdmj0ps2e2jc/The error popup is shown after scanning the qr code.mp4?dl=0

@sirpy The issue is still reproduced.
Checked on the Android App 1.22.13-1 (1204)
Device: Xiaomi Mi 8 // Android 8.1.0
Attachment:
https://www.dropbox.com/s/cts335ul2n2209c/Login On the Android app.mp4?dl=0

@sirpy The issue is not reproduced. The user is able to send and receive G$ via scanning QR code.
Checked on the Android App 1.22.13-1 (1204)
Device: Xiaomi Mi 8 // Android 8.1.0
Attachment:
https://www.dropbox.com/s/rs0r3gssyeexphk/Send via qr code on the Android app.mp4?dl=0


FSL baseline

could you please release the code of fsl,  thank you

Thanks for your interest in our work!
Currently we are working on it and will open-source the code soon.


Remove redundant white-space style

It looks like the duplicate white-space is unintentional, so I am sending this PR to remove it.

The duplication is intentional, and provides a fallback for browsers that don't support break-spaces (they'll use pre-wrap).


[NEW ICON]: Some suggested icons

Skill Name
GSAP, Jira and Zoom
Why?
They are now widely used tools and Gsap is one of the most widely used libraries at the moment.
Reference Image

I see some logic about Gsap and Jira, but what is zoom adding to it, as developer ?

Great question, it doesn't make sense. I was just missing Zoom because I've been using it for a long time :)

Yeah actually now wrong that it is a tool, my bad, but for a logo, finding like a short type of icon for zoom, idk I'm going to look into that :)

Nice! I appreciate it.

Hey @isiahzac, what do you think about this ? (don't worry, the icons are pngs here, because of github doing there stuff you know)

They look pretty nice, I like the GSAP one. Good job!


Very cool uwu sigma

Song Name
Rip and Tear
Artist Name
Idk
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=5Nz3HXwEG4M&t=0s
Direct File Link
https://www.mediafire.com/file/dq4ribzcq4bory0/1253069.mp3/file
Song ID
1253069
Extra
Used in level Aeternus by Riot and more

Accept

it's by Mick Gordon. edited

accept


[bug]: Error when trying to close right side window

Description
An error message occurs when trying to close a window. Upon pressing Enter to dismiss the error, the closed window immediately comes back.
Specifically, this error only occurs when the blank side buffers are currently hidden because their width is under the configured minSideBufferWidth, and closing the right-most window is enough to bring the blank side buffers back.
Closing the left-most window, however, does not produce the error.
See the reproduction steps for screenshots.
The exact error message is as follows:
Error executing vim.schedule lua callback: ...re/nvim/lazy/no-neck-pain.nvim/lua/no-neck-pain/main.lua:125: Invalid window id: 1007
stack traceback:
        [C]: in function 'nvim_set_current_win'
        ...re/nvim/lazy/no-neck-pain.nvim/lua/no-neck-pain/main.lua:125: in function 'callback'
        ...vim/lazy/no-neck-pain.nvim/lua/no-neck-pain/util/api.lua:115: in function <...vim/lazy/no-neck-pain.nvim/lua/no-neck-pain/util/api.lua:113>

And here is my no-neck-pain configuration:
    { 'shortcuts/no-neck-pain.nvim',
        config = function()
            require("no-neck-pain").setup({
                width = 100,
                minSideBufferWidth = 5,

                autocmds = {
                    enableOnVimEnter = true,
                    enableOnTabEnter = true,
                    reloadOnColorSchemeChange = true,
                    skipEnteringNoNeckPainBuffer = false,
                },

                mappings = {
                    enabled = true,
                    toggle = "<Leader><Leader>",
                    toggleLeftSide = "false",
                    toggleRightSide = "false",
                    widthUp = "false",
                    widthDown = "false",
                    scratchPad = "false",}
            })
        end
    }

I also experience the issue on my other computer, which has the same configuration, but with a higher value for minSideBufferWidth configured.
Interestingly, this issue is not present on version 1.14, so I am pinning this plugin to the older version for now.
Anyway, thanks for the great work with this plugin! It has definitely saved my neck from a lot of pain over the months that I have been using it lol.
Neovim version
0.9.x
Steps to reproduce

Configure `minSideBufferWidth such that, when there is only one window open, the blank side buffers appear, and on opening another vertical split, the blank side buffers disappear.

Close the window on the right side with Ctrl+w c.
The error message appears.

Pressing Enter to dismiss the error message causes the just-closed window to come back.

Relevant log output
No response
Self-service

[ ] I'd be willing to fix this bug myself.

Hey there, thanks for using nnp and reporting the issue!
Indeed we should do a check before this call 😮💨 good catch! I've not properly been able to reproduce your error, but found a subsequent one that caused what you describe in step 3
Should be fixed with https://github.com/shortcuts/no-neck-pain.nvim/pull/409

fix released in 2.0.6


Bugfix posixpath object no attribute path

fix issue https://github.com/madkinsz/poetry-relax/issues/9

Should be addressed by https://github.com/madkinsz/poetry-relax/commit/89ba0fdeaef6f2def59bdb4ca806759ae0030fd0


parse jwt in the signin function to obtain values

If we return only token in the response from the api server as per this issue: https://github.com/jambonz/jambonz-api-server/pull/75 , we need to parse the values in the signin function.

currently, the user_sid is one of the properties encoded in the jwt.
Does that suffice?

currently, the user_sid is one of the properties encoded in the jwt.
Does that suffice?

Hmm. I don’t know that I like this setup much. The JWT should only be for user scope, permission and sid. The notion of force_change should not be in the JWT. Personally I think the login post should return token, sid and force_change. The usage of decoding the token for the other user data is decoupled from login so it’s generally more usable.

ok, np, we can make that change in jambonz-api-server

ok, np, we can make that change in jambonz-api-server

Okay cool. @EgleHelms once that’s done you can revert the change here since we don’t need to decode JWT in the login flow. But you will need to update some typings and test utils changes made in my PR yesterday since we’re tweaking the dials here. Namely UserLogin no longer needs to extend the user interface so it can just have its own 3 fields etc. You can see the changes I made yesterday here and it should be clear how to change things as needed: https://github.com/jambonz/jambonz-webapp/pull/140/files

ok I pushed this commit on the main jambonz-api-server branch.
@EgleHelms now you will need to revert back to getting force_change from the json body of the /login response, as it will not be in the jwt.

@kitajchuk is this what you had in mind? I reversed the changes and changed the typings. Ran through the tests and they work fine. Tested manually also nothing seems to have any issues logging in. The "add user" block is hidden. Anything else, I should check?

@kitajchuk is this what you had in mind? I reversed the changes and changed the typings. Ran through the tests and they work fine. Tested manually also nothing seems to have any issues logging in. The "add user" block is hidden. Anything else, I should check?

Lemme pull it and check later this morning. I would like to give the api changes an actual runtime check as well 👍


OpenSSL-1.1.1: OpenSSL server sends only the host certificate from the certificate chain during the handshake

I had created one openssl s_server having a list of certificates in a single PEM and tried connecting it through s_client. It only lists the host certificate not all the certificates in the chain. I had tried to simulate the same behaviour through openssl-1.0.2 as well, where I could see all the certificates listed in the handshake output.
OpenSSL-1.1.1
s_server:

openssl s_server -accept : -key <key_file> -certform PEM -cert <cert_file>

s_clinet:

openssl s_server -accept : -key <key_file> -certform PEM -cert <cert_file>
Can't use SSL_get_servername
depth=0 C = US, ST = GA, L = Atlanta, O = Delta Air Lines Inc, OU = DELTA, CN = evdla588.delta.com
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 C = US, ST = GA, L = Atlanta, O = Delta Air Lines Inc, OU = DELTA, CN = evdla588.delta.com
verify error:num=21:unable to verify the first certificate
verify return:1
Certificate chain
0 s:C = US, ST = GA, L = Atlanta, O = Delta Air Lines Inc, OU = DELTA, CN = evdla588.delta.com
i:C = US, DC = com, DC = delta, DC = rl, DC = delta, O = Delta Air Lines Inc., OU = DELTA, CN = DAL-SHA2 L3 Low Iss E1 CA

OpenSSL-1.0.2
s_server:

openssl s_server -accept : -key <key_file> -certform PEM -cert <cert_file>

s_clinet:

openssl s_server -accept : -key <key_file> -certform PEM -cert <cert_file>

_CONNECTED(00000150)
depth=3 C = US, O = Delta Air Lines Inc., OU = DELTA, CN = DAL-SHA2 L3 Low Root CA
verify error:num=19:self signed certificate in certificate chain
verify return:0
Certificate chain
0 s:/C=US/ST=GA/L=Atlanta/O=Delta Air Lines Inc/OU=DELTA/CN=evdla588.delta.com
i:/C=US/DC=com/DC=delta/DC=rl/DC=delta/O=Delta Air Lines Inc./OU=DELTA/CN=DAL-SHA2 L3 Low Iss E1 CA
1 s:/C=US/DC=com/DC=delta/DC=rl/DC=delta/O=Delta Air Lines Inc./OU=DELTA/CN=DAL-SHA2 L3 Low Iss E1 CA
i:/C=US/O=Delta Air Lines Inc./OU=DELTA/CN=DAL-SHA2 L3 Low Int CA
2 s:/C=US/O=Delta Air Lines Inc./OU=DELTA/CN=DAL-SHA2 L3 Low Int CA
i:/C=US/O=Delta Air Lines Inc./OU=DELTA/CN=DAL-SHA2 L3 Low Root CA
3 s:/C=US/O=Delta Air Lines Inc./OU=DELTA/CN=DAL-SHA2 L3 Low Root CA
i:/C=US/O=Delta Air Lines Inc./OU=DELTA/CN=DAL-SHA2 L3 Low Root CA_

Do we have some implementation changes from openssl-1.0.2 to 1.1.1 which result in this behaviour?

@mattcaswell / @paulidale: Any thoughts/suggestions??

There is a -cert_chain option that should be used for the certificate chain. I am not sure why your use-case worked with 1.0.2 though.

@t8m : Thank you for your prompt response. Do we have some API which can be used to set the certificate chain(extracted from PKCS12) in the SSL CTX created for the server application? Have tried SSL_CTX_add_extra_chain_cert but it seems to add only one certificate.

The SSL_CTX_set1_chain() sets stack of X509 certs as the chain for the server.

@t8m : SL_CTX_set1_chain(SSL_CTX *ctx, STACK_OF(X509) *sk) set the certificate chain associated with the current certificate of ctx to sk. We need it other way. We need to stack of certificates to context.

No, SSL_CTX_set1_chain sets the chain in sk to the SSL_CTX ctx.


Off by one error in pagination with table layout

The example shown in the docs has 20 items per page, so should read "Showing 1 to 20 of 998". However it reads "1 to 21". Page two will read "21 to 41" and so on.
This also affects the final page, except when the number of items is a multiple of the per page. For example, 1000 items and 20 per page will correctly read "Showing 981 to 1000".

fix merged, thank you @snoopen 🙌


Translation Compatibility

Hi all,
We have developed a document report extension in AL and have a customer project where we want to use those. The customer needs to have the following languages on those document reports

      English

      Spanish

      Czech

      French

      Mandarin

      Italian

      German

We have the following layers for the application:

      In C/SIDE we did have a problem with different code pages if we import languages in the NAV standard objects as CaptionML. It was previously recommended to use Multilanguage files in this case and we were warned about mixing CaptionML and Multilanguage files.

      We’re using XLIFF files for our document report app, which we can translate so that shouldn’t be a problem.

      The customization app does not use XLIFF files because those are very hard to handle without proper tools. Instead we use CaptionML.

So my questions are:
Is it possible to use MultilanguageFiles for C/SIDE / NST, XLIFF for one extension and CaptionML for another or what is the recommended path?
And how do we go about getting the Multilanguage files for the aforementioned languages?
What about translations in Mandarin for C/SIDE objects of the NAVDACH localization?

@JesperSchulz @PredragMaricic

You either use the *ML properties or XLIFF files, not a combination. If you use *ML property, it will not be translated by TranslationFiles (xliff).

Even when it’s two different apps? @atoader said otherwise at directions emea

No, the setting is per app. So if you use the TranslationFile flag in the manifest it will decide how the app handles translations.

Yeah, but my question was not regarding one app but two seperate ones and if that would work if one uses xliff and the other captionML

Let's have @atoader on this


When name resolution is in progress ensure the Future is obtained from the correct Promise

Motivation:
When name resolution is in progress, the current Promise needs to wait for a notification from the previous Promise.
In the current implementation the Future is wrongly obtained from the current Promise instead of the previous Promise.
Modifications:

earlyFuture is obtained from the earlyPromise

Result:
When name resolution is in progress, the Future is obtained from the correct Promise

@violetagg any possibility to add a test ?

@normanmaurer I added a test. Also the milestone should be 5.0.0.Alpha3.

@violetagg I used 4.1.79 as I think we need to cherry-pick there as well

@normanmaurer No I don't think we need it there as asFuture is a new feature in Netty 5

Thank you all


Fix test in Linux and update docker builds

XCTAttachment is available through Xcode only, so skip the
pretty-print flag test when running on Linux.
Update docker builds. Add 5.5.

Need to incorporate https://github.com/apple/swift-package-manager/pull/3722 to fix compilation errors in main, otherwise changes in this PR are unrelated and have been tested in 5.5 branch.


What does pose_mask refer to?

Thanks for your great work. I want to train the model with my own datasets. But I don't quite understand what pose_mask refers to?
https://github.com/clement-bonnet/text-to-pose/blob/bd6111b5469352af3ccd863ce43cdb687185b3e3/t2p/t2p_sample.py#L32
Hope that explains it, thanks a lot.

If pose_mask is True, the following code will set all 128 points to True when calculating the loss. Is this expected?
https://github.com/clement-bonnet/text-to-pose/blob/bd6111b5469352af3ccd863ce43cdb687185b3e3/t2p/model.py#L163-L165


update dependency greenmail

from 1.5.2 to 1.5.6

Thanx mand, i always like to have dependencies updated...


Add a landscape Guide

Just like CNCF Landscape Guide, A landscape guide for Finos Would be very beneficial.

Thanks for the suggestion @satyampsoni !
Would you be able to suggest a PR? Also a screenshot, to understand what is the desired result, would be helpful.


Program #2

Program #2

The python programs added are too trivial to be included. Marking as invalid. Please come up with a better algorithm/program.


python  rest api

There is no method to import device configuration and rule chain

Hi @kazike99,
you can use the import_rule_chains function for rule chain import and process_devices_bulk_import_using_post for device import.


⚠ Bofrost.de has degraded performance

In 6b5ce40, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 978 ms

Resolved: Bofrost.de performance has improved in 43828bc after 20 minutes.


Add ability to send emails

The following is necessary for this feature:

[x] Add the possibility to configure the smtp server
[x] Add function that sends the email
[x] Send email to "admin" if server goes down
[x] Send email if import finishes / dies
[x] Send email when database is marked to be dropped
[x] Send email the day before the database is dropped
[x] Send email when the database is dropped automagically

@sorin-pop, can you think of any other occasions when an email should be sent?

Implemented as of d2f8eb8


fix: migrate to the more generic Validator SPI

What this PR changes/adds
The ValidationRule previously used in the Data Plane was replaced with the more generic Validator SPI. This PR adapts to the new SPI.
Why it does that
Keep in-step with upstream developments
Further notes
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Linked Issue(s)
Closes # <-- insert Issue number if one exists

Codecov Report
Attention: 19 lines in your changes are missing coverage. Please review.

Comparison is base (dfa9d53) 58.91% compared to head (d1e3ef2) 0.00%.

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

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #74       +/-   ##
==========================================
- Coverage   58.91%   0.00%   -58.92%
==========================================
  Files          24      25        +1
  Lines         589     596        +7
  Branches       26      29        +3
==========================================
- Hits          347       0      -347
- Misses        230     596      +366
+ Partials       12       0       -12

Files
Coverage Δ

...ctor/dataplane/gcp/storage/GcsDataSinkFactory.java
0.00% <0.00%> (-27.03%)
:arrow_down:

...or/dataplane/gcp/storage/GcsDataSourceFactory.java
0.00% <0.00%> (-36.85%)
:arrow_down:

...aplane/gcp/storage/validation/StringFunctions.java
0.00% <0.00%> (ø)

...e/validation/GcsSinkDataAddressValidationRule.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...validation/GcsSourceDataAddressValidationRule.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 14 files with indirect coverage changes

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


Support for stochastic models?

It would be cool if there could be support for models with noise terms; i.e. stochastic differential equations. DifferentialEquations.jl has support for this, so maybe just keep this in mind if you end up adding delay differential equations: maybe do it in a generic enough way to also support SDEs?
Would be neat for all kinds of stuff.

Oh! There's already an issue for this. Closing.


Unable to reparse org.apache.flink#flink-parent;1.1-SNAPSHOT from

Hi,
When I update I get those looping warnings:
[warn] Unable to reparse org.apache.flink#flink-parent;1.1-SNAPSHOT from drivetribe.remote, using Wed Jun 22 14:32:19 BST 2016
[warn] Unable to reparse org.apache.flink#flink-parent;1.1-SNAPSHOT from apache.snapshots, using Wed Jun 22 04:59:34 BST 2016
[warn] Sorrting results from org.apache.flink#flink-parent;1.1-SNAPSHOT, using Wed Jun 22 04:59:34 BST 2016 and null
[warn] Sorrting results from org.apache.flink#flink-parent;1.1-SNAPSHOT, using Wed Jun 22 14:32:19 BST 2016 and null
[warn] Choosing drivetribe.remote for org.apache.flink#flink-parent;1.1-SNAPSHOT
[warn] Unable to reparse org.apache.flink#flink-scala_2.11;1.1-SNAPSHOT from drivetribe.remote, using Wed Jun 22 14:32:18 BST 2016
[warn] Unable to reparse org.apache.flink#flink-parent;1.1-SNAPSHOT from drivetribe.remote, using Wed Jun 22 14:32:31 BST 2016
[warn] Unable to reparse org.apache.flink#flink-parent;1.1-SNAPSHOT from apache.snapshots, using Wed Jun 22 04:59:34 BST 2016
[warn] Sorrting results from org.apache.flink#flink-parent;1.1-SNAPSHOT, using Wed Jun 22 04:59:34 BST 2016 and null
[warn] Sorrting results from org.apache.flink#flink-parent;1.1-SNAPSHOT, using Wed Jun 22 14:32:31 BST 2016 and null
[warn] Choosing drivetribe.remote for org.apache.flink#flink-parent;1.1-SNAPSHOT
[warn] Unable to reparse org.apache.flink#flink-scala_2.11;1.1-SNAPSHOT from apache.snapshots, using Wed Jun 22 05:03:23 BST 2016
[warn] Sorrting results from org.apache.flink#flink-scala_2.11;1.1-SNAPSHOT, using Wed Jun 22 05:03:23 BST 2016 and null
[warn] Sorrting results from org.apache.flink#flink-scala_2.11;1.1-SNAPSHOT, using Wed Jun 22 14:32:18 BST 2016 and null
[warn] Choosing drivetribe.remote for org.apache.flink#flink-scala_2.11;1.1-SNAPSHOT
[warn] Unable to reparse org.apache.flink#flink-parent;1.1-SNAPSHOT from drivetribe.remote, using Wed Jun 22 14:32:54 BST 2016
[warn] Unable to reparse org.apache.flink#flink-parent;1.1-SNAPSHOT from apache.snapshots, using Wed Jun 22 04:59:34 BST 2016
[warn] Sorrting results from org.apache.flink#flink-parent;1.1-SNAPSHOT, using Wed Jun 22 04:59:34 BST 2016 and null
[warn] Sorrting results from org.apache.flink#flink-parent;1.1-SNAPSHOT, using Wed Jun 22 14:32:54 BST 2016 and null
[warn] Choosing drivetribe.remote for org.apache.flink#flink-parent;1.1-SNAPSHOT
[warn] Unable to reparse org.apache.flink#flink-core;1.1-SNAPSHOT from drivetribe.remote, using Wed Jun 22 14:32:54 BST 2016
[warn] Unable to reparse org.apache.flink#flink-parent;1.1-SNAPSHOT from drivetribe.remote, using Wed Jun 22 14:33:04 BST 2016
[warn] Unable to reparse org.apache.flink#flink-parent;1.1-SNAPSHOT from apache.snapshots, using Wed Jun 22 04:59:34 BST 2016
[warn] Sorrting results from org.apache.flink#flink-parent;1.1-SNAPSHOT, using Wed Jun 22 04:59:34 BST 2016 and null
[warn] Sorrting results from org.apache.flink#flink-parent;1.1-SNAPSHOT, using Wed Jun 22 14:33:04 BST 2016 and null
[warn] Choosing drivetribe.remote for org.apache.flink#flink-parent;1.1-SNAPSHOT
...

This makes SBT unusable as it's extremely slow.
The affected versions are 0.13.11 and 0.13.10 only, it works well with 0.13.9
Cheers

SNAPSHOT is slow because to guarantee it's using the latest it needs to check all the resolvers.
You can try disabling this behavior as follows:
updateOptions := updateOptions.value.withLatestSnapshots(false)

In general I don't recommend using SNAPSHOTs unless you're doing a quick integration test  locally.

Thanks for the disable config option.
But surely there is something going wrong as it says "Unable to reparse org.apache.flink" in a warning.
Is this the expected behavior? Why did it change from 0.13.10?
Thanks

FYI, running into same problem with sbt 0.13.12
Any scheduled work on this issue? I've done some googling around and find more people having this issue. It hinders the development work. Disabling the use of snapshots is not always the solution..

Documentation on
updateOptions := updateOptions.value.withLatestSnapshots(false)
http://www.scala-sbt.org/1.0/docs/sbt-0.13-Tech-Previews.html#Latest+SNAPSHOTs
There doesn't seem to be any downside to setting it to false if you only ever work with local SNAPSHOTs.
What I don't understand is why if this feature was introduced in 0.13.6 it didn't become a problem until 0.13.10.

This setting flip flopped a bit:

https://github.com/sbt/sbt/pull/1520 (true)
https://github.com/sbt/sbt/pull/1683 (false)
https://github.com/sbt/sbt/pull/2313 (true) 0.13.11 - http://www.scala-sbt.org/1.0/docs/sbt-0.13-Tech-Previews.html#Fixes+with+compatibility+implications

I have the same issue after upgrading to 0.13.12.
Are there any news about this?

I've addressed this issue here: https://github.com/scalacenter/librarymanagement/commit/ecbb20b55ee14bc252549dbb9d143719f60f021b. Previously, we were showing these logs for all the failures that could happen while re-fetching module descriptors for SNAPSHOTs.
My commit only warns on parser errors now, and it will add as debug information other reasons that could have happened these annoying bugs in your sbt logs: resources with other implementations, missing descriptor in resolver, etc.
For the record, the underlying snapshot resolution has not changed, but only how the logs are handled. If you still want to address the fact that SNAPSHOT resolution is slow, pick one:

Disable latestSnapshots and only work locally with SNAPSHOTs.
For God's sake, use a versioning scheme based on git information. Sbt-dynver (https://github.com/dwijnand/sbt-dynver) gives a good example of how it looks like.

@jvican You can add a 3rd option that is:

Use sbt-coursier https://github.com/coursier/coursier

Yes, and the best option. But the nondeterminism of snapshots is still there. Avoid snapshots. If you can't, I would say you have a tooling problem.


[Feature]: Send notifications as webhooks

Goal or desired outcome of this feature
I realized that mobile doesn't have a notification feature.
I think getting notifications via telegram or discord would solve that problem.
Describe the feature
And it seems like there should be settings that can only work on certain computers.
Screenshots, mockups, or videos
No response

I made a plugin for myself specifically for these purposes. It might be useful to someone else: https://github.com/iiiBird/obsidian-telegram-reminder

I made a plugin for myself specifically for these purposes. It might be useful to someone else: https://github.com/iiiBird/obsidian-telegram-reminder

oh thanks, i'll have to try that.😀 😃 😄


Export: some edited photos are not converted to jpeg, and stay HEIC instead

Hi,
The export --convert-to-jpeg function seems to sometimes silently keep HEIC file format, despite being renamed as .jpeg
(and thus falsely showing up as jpg file type in the finder: I had to use the unix "file" command to identify the problem).
While exporting an album with 257 photos, this happened on 39 edited pictures (out of 83), and 0 unedited pictures (out of 174).
I was running this command
osxphotos export ./ToPrint --exiftool --report "export.csv" --album "toprint-2009-?" --skip-original-if-edited --verbose --download-missing --use-photokit --convert-to-jpeg --touch-file --only-photos
with osxphotos 0.55.5 on a Photos v6 system library (Big Sur, 11.6.5), with optimised iCloud storage.
Please find below:

a typical verbose result for a problematic picture
the csv file of the export (which shows all problematic files had flag "converted_to_jpeg=0")
detailed info on another HEIC picture generating the problem
an archive of the 2 corresponding files from the library: original .heic, and edited ".jpeg"

My conclusion:
Despite its name, the edited file 1C7F58A5-CD65-4AFD-8F64-54745BD0EE63_1_201_a.jpeg is NOT a jpeg file, but rather an heic file. I suppose that osxphotos, fooled by the name, just copies it, instead of converting it to a real jpeg. I also suppose Apple is doing this to save disk space: the true jpeg file obtained by exporting the modified picture from Photos.app is 4 times bigger (4.4Mb vs. 1.1Mb)...
I didn't start looking into why certain edited photos DO have the announced jpeg format, nor why certain others were correctly converted by osxphotos (with flag "converted_to_jpeg=1", but I could try and do that if useful for you.
 I'm an old school geek (eg. at CERN while Tim Berners Lee was implementing the 1st http protocol with my pianist friend...), and I am completely despaired by apple's "It just works" philosophy, which more and more means "It only just works, and don't even try to make it work better".
Discovering and using your project gives me back hope!...
Best,
Jean
Exporting IMG_4471.HEIC (160A0B72-4CFA-47AA-A496-E741065AE70C.heic) (143/256)
Skipping original version of IMG_4471.HEIC
Exporting edited version of IMG_4471.HEIC (160A0B72-4CFA-47AA-A496-E741065AE70C.heic)
Writing metadata with exiftool for IMG_4471_edited.jpeg
Exported IMG_4471.HEIC to /Users/orloff/tmpnobackup/ToPrint/IMG_4471_edited.jpeg
Writing metadata with exiftool for IMG_4471_edited.mov
Exported IMG_4471.HEIC to /Users/orloff/tmpnobackup/ToPrint/IMG_4471_edited.mov
❌  exiftool error for file /Users/orloff/tmpnobackup/ToPrint/IMG_4471_edited.jpeg: Error: Not a valid JPEG (looks more like a MOV) - /var/folders/n8/nbd7t7fd7sj1hcjf7cnxkpb00000gq/T/osxphotos_export_uh7ryquu/160A0B72-4CFA-47AA-A496-E741065AE70C_1_201_a_exiftool.jpeg
❌  Error exporting photo (160A0B72-4CFA-47AA-A496-E741065AE70C: IMG_4471.HEIC) as /Users/orloff/tmpnobackup/ToPrint/IMG_4471_edited.jpeg: Error: Not a valid JPEG (looks more like a MOV) - /var/folders/n8/nbd7t7fd7sj1hcjf7cnxkpb00000gq/T/osxphotos_export_uh7ryquu/160A0B72-4CFA-47AA-A496-E741065AE70C_1_201_a_exiftool.jpeg
Exported new file /Users/orloff/tmpnobackup/ToPrint/IMG_4471_edited.jpeg
Exported new file /Users/orloff/tmpnobackup/ToPrint/IMG_4471_edited.mov
Touched date on file /Users/orloff/tmpnobackup/ToPrint/IMG_4471_edited.jpeg
Touched date on file /Users/orloff/tmpnobackup/ToPrint/IMG_4471_edited.mov
export.csv
~ osxphotos inspect
Using last opened Photos library: /Users/orloff/Pictures/iPhoto Library.photoslibrary
╭──────────────────────────────────────────────────────────────────── IMG_6477.HEIC ─────────────────────────────────────────────────────────────────────╮
│ Filename: IMG_6477.HEIC                                                                                │
│ Type: photo live                                                                                │
│ UUID: 1C7F58A5-CD65-4AFD-8F64-54745BD0EE63                                                                                │──╮╮
│ Date: 2021-06-12T20:25:00.405186+02:00                                                                                │  ││
│ Date added: 2021-06-12T20:25:02.825840+02:00                                                                                │  ││
│ Date modified: 2022-01-12T18:26:57.367532+02:00                                                                                │  ││
│ Dimensions: 3153 x 2365 Orientation: 1                                                                                │  ││
│ File size: 2.41 MB | 3.36 MB (Live video)                                                                                │  ││
│ Title: -                                                                                │  ││
│ Description: -                                                                                │  ││
│ Edited: ✔ External edits: -                                                                                │  ││
│ Keywords: famileo, ToPrint, Printed                                                                                │  ││
│ Persons: -                                                                                │  ││
│ Location:                                                                                │  ││
│ Place:                                                                                │  ││
│ Categories/Labels: Adult, Outdoor, People, Plant, Shrub                                                                                │  ││
│ Flags: favorite, visible, cloud asset, in cloud                                                                                │  ││
│ Albums: Famileo, Printed/toprint-2009-07                                                                                │  ││
│ Moment: Parc Montjoly                                                                                │  ││
│ EXIF: Apple iPhone SE (2nd generation) 3.99mm ISO 20 0 ev ƒ1.8 1/287s                                                                                │  ││
│ Score: 0.4658203125                                                                                │  ││
│ Path original: /Users/orloff/Pictures/iPhoto Library.photoslibrary/originals/1/1C7F58A5-CD65-4AFD-8F64-54745BD0EE63.heic                               │  ││
│ Path live video: /Users/orloff/Pictures/iPhoto Library.photoslibrary/originals/1/1C7F58A5-CD65-4AFD-8F64-54745BD0EE63_3.mov                            │  ││
│ Path edited: /Users/orloff/Pictures/iPhoto Library.photoslibrary/resources/renders/1/1C7F58A5-CD65-4AFD-8F64-54745BD0EE63_1_201_a.jpeg                 │  ││
│ Path edited live video: /Users/orloff/Pictures/iPhoto Library.photoslibrary/resources/renders/1/1C7F58A5-CD65-4AFD-8F64-54745BD0EE63_2_100_a.mov       │  ││
│ Path preview: /Users/orloff/Pictures/iPhoto Library.photoslibrary/resources/derivatives/1/1C7F58A5-CD65-4AFD-8F64-54745BD0EE63_1_105_c.jpeg            │  ││
Inspecting uuid=1C7F58A5-CD65-4AFD-8F64-54745BD0EE63
Press Ctrl+C to quit
InLibrary.zip

Hi @jor63 I'm glad that you've found osxphotos useful. Thanks for the debug data -- it looks like a couple different things could be going on.  First, as you've surmised, some of the files labeled .jpeg in Photos are actually .HEIC. Other users have reported similar issues, usually with edited images, (see #306, #382).  I built a script that can be run with osxphotos to find all such photos (see here) and have a rough design for an osxphotos command to fix these in the database. I'm not sure what the root cause is though.
What I do know: Apple's developer documentation states that external editors should save the edited file in JPEG but some editors ignore this (I've seen TIFF, labeled as JPEG, for example); Apple sometimes preserves the edited file as HEIC when edited on your phone or the Mac (but it labels the file as HEIC when it does this).
osxphotos examines the UTI (universal type identifier) in the database which is something like public.jpeg or public.heic to determine whether the file should be converted (that is, osxphotos doesn't look at the file's extension).
Your first example is troubling as it looks like osxphotos switched the video and photo component of a. "live photo":
exiftool error for file /Users/orloff/tmpnobackup/ToPrint/IMG_4471_edited.jpeg: Error: Not a valid JPEG (looks more like a MOV) - /var/folders/n8/nbd7t7fd7sj1hcjf7cnxkpb00000gq/T/osxphotos_export_uh7ryquu/160A0B72-4CFA-47AA-A496-E741065AE70C_1_201_a_exiftool.jpeg
osxphotos determines if a particular asset is a photo or a movie by examining the type listed in the database so I'm concerned that osxphotos either got this wrong (a bug) or the database is corrupt.

with osxphotos 0.55.5 on a Photos v6 system library (Big Sur, 11.6.5), with optimised iCloud storage

Another possibility is the code that downloads the missing files could be causing this (though it's been well tested on large libraries). I've not done extended testing on Big Sur though so there could be a problem specific to this OS.
In the attached zip is a python file that, when run with osxphotos, will output additional debug data. (osxphotos has a built in hidden debug-dump command but your situation requires more info than this will provide).
896.zip
Once you download and unzip the file, it will contain issue_896.py.  Change into the directory that contains this file then run the following command:
osxphotos run issue_896.py --uuid 160A0B72-4CFA-47AA-A496-E741065AE70C --uuid 1C7F58A5-CD65-4AFD-8F64-54745BD0EE63 --uuid 8378DF0C-C6DF-487F-85D6-E10FC5AE90F4 --uuid CB4E2AB5-127C-449F-89EC-718A650FB879 > 896_debug.txt
Then send me<EMAIL_ADDRESS>or post here the 896_debug.txt
Note: the script will strip location information out of the debug data but it may contain keywords, titles, descriptions you deem sensitive.  If so, you can edit the .txt file to remove this before sending.

Hi,
and thanx 4 the superfast reply! I ran the debug code: there were errors (not sure why), but I guess the output still is OK.
Both included below.
896_debug.txt
896_command_and_errors.txt

Hi @jor63 Sorry about the error. I think it's fixed -- please re-run with this version.
896.zip

The additional data from the second run will help but there are some clues here for the one photo that did end up in the output (before the error):
'UTI': 'public.jpeg',
'UTI_original': 'public.heic',

path: /Users/orloff/Pictures/iPhoto Library.photoslibrary/originals/1/160A0B72-4CFA-47AA-A496-E741065AE70C.heic
file type: ISO Media, HEIF Image HEVC Main or Main Still Picture Profile
path_edited: /Users/orloff/Pictures/iPhoto Library.photoslibrary/resources/renders/1/160A0B72-4CFA-47AA-A496-
E741065AE70C_1_201_a.jpeg
file type: ISO Media, HEIF Image HEVC Main or Main Still Picture Profile

This data shows Photos thinks that:

The original photo is a HEIC (it is)
The photo is edited and the edited version is a JPEG (it is actually a HEIC though)

Thus, it appears the Photos library is corrupted.  I'll take a look at the additional data you sent. If it's consistent with this, it might be best to start with repairing the Photos library.
Do you know how these photos were edited? (This first example is IMG_4471.HEIC?  Were the edits done in a 3rd party app? On the iPhone in Photos? On the Mac in Photos?

Hi again,
and thanks for the modified code, which runs without error!
From what I understand of the output below, it confirms that Photos thinks all problematic edited files are jpeg, while they are in fact heic.
osxphotos thus copies them instead of converting them, and exiftool complains they look more like videos than jpeg...
I hesitate launching repair before backing up, and am confused about what to do for backing up as some files are on icloud (because of the "Optimise Mac storage" option). Is it enough to just copy the (partially complete) .photoslibrary package on an external disk? (I will try the safer way of creating a new "photos" user account, without "Optimise Mac storage", but I have little room left, and I am not sure I can have the system photoslibrary for that user written on an external disk...)
Concerning the editing of the photos, I never used anything else than Photos-v6 for editing on the mac, but also made edits on iphone and ipad, running ios-photos-v7, and recently v8. Maybe I also opened the library with PowerPhotos, but I'm not sure.
Thanks for your help!
Jean
896-1_debug.txt

I hesitate launching repair before backing up,

As you are using iCloud, the "original" copy is always in the cloud. If the repair corrupted your database, you could simply delete the library and have iCloud re-download.
However, if you want to play it safe, I recommend creating a second user account on the Mac, signing in to iCloud in the new account and having it re-create your library. Then test osxphotos again on the new library.

From what I understand of the output below, it confirms that Photos thinks all problematic edited files are jpeg, while they are in fact heic.

This appears to be the case.  Photos database reports that the UTI of the edited images is public.jpeg and is even storing the images with .jpeg extension on disk but they are in fact HEIC images.

Dear @RhetTbull,
Sorry for being so long to get back at you ( many issues with backup on a NAS via afp... sorted out, now it seems!)
I did try a repair on the problematic library, and it didn't change anything:
~ file Pictures/iPhoto\ Library.photoslibrary/resources/renders/1/160A0B72-4CFA-47AA-A496-E741065AE70C_1_201_a.jpeg
Pictures/iPhoto Library.photoslibrary/resources/renders/1/160A0B72-4CFA-47AA-A496-E741065AE70C_1_201_a.jpeg: ISO Media, HEIF Image HEVC Main or Main Still Picture Profile

So it seems I still got the same edited heic files that are wrongly taken to be jpeg (for more detail, see the output of your script below).
I recreated an new from iCloud, using another account on my machine with the same iCloud user and full local copies of the iCloud pics. That newly recreated library appears to be sane, or at least, the problematic files got corrected and are true jpegs.
What would you recommend? Copying that complete new library and trash the other one?
Thanks a thousand for your help!
Jean

Hi Jean.  I don't know how well copying the library from the other account will work but you could try that.  I would trash the existing library: close Photos, delete the library, then copy the library from the secondary account over.  Then I'd fix the permissions (Cmd + I in Finder, Sharing & Permissions, unlock, make yourself the owner) then open Photos while holding down Option and select the new library.  If that doesn't work (and permissions could cause some trouble) then I would delete the library and just download a new version from iCloud.


[SPARK-18353][CORE] spark.rpc.askTimeout defalut value is not 120s

What changes were proposed in this pull request?
Avoid hard-coding spark.rpc.askTimeout to non-default in Client; fix doc about spark.rpc.askTimeout default
How was this patch tested?
Existing tests

Test build #68415 has started for PR 15833 at commit ae2fb2f.

Test build #68415 has finished for PR 15833 at commit ae2fb2f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68415/
Test FAILed.

Test build #68465 has started for PR 15833 at commit 55cd875.

Test build #68465 has finished for PR 15833 at commit 55cd875.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68465/
Test PASSed.

Test build #68771 has started for PR 15833 at commit e272739.

Test build #68771 has finished for PR 15833 at commit e272739.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68771/
Test PASSed.

Going to merge this because it doesn't change any default behavior, just appears to let this configuration be set by the user in some contexts where not possible before.

Merged to master/2.1


Investigate callback-based KafkaConsumer

@FranzBusch: librdkafka exposes a callback based API for consuming messages which ought to be faster than the poll based one. We should investigate this

[ ] How does the callback-based consumer incorporate backpressure?

The callback-based consumer API is deprecated.
See: Confluent librdkafka docs


August 2023 Topics

PUTTING THE B IN BTC

Credit: Anthony Towns
I wrote previously about why Bitcoin’s worth caring about, but if any of that was right, then it naturally leads to the idea that those benefits should be available to many people, not just a few. But what does that actually look like?

The many faces of Schnorr

Credit: Victor Shoup
“Our main new result is to show how to securely combine the techniques used in FROST and SPRINT, allowing one to build a threshold Schnorr signing protocol that (i) is secure and robust without synchrony assumptions (like SPRINT), (ii) provides security even with an unlimited number of presignatures, and (assuming unused presignatures are available) signing requests can be processed concurrently with minimal latency (like FROST), (iii) achieves high throughput (like SPRINT), and (iv) achieves optimal resilience.”

Building Blocks of Simplicity: Values and Types

Credit: Kiara Bickers
"Simplicity as a mathematically-inspired language, could bring us into a world of fully programmable money, with formally verified smart contracts. By grokking the core types in Simplicity, we can establish a solid foundation for exploring functions, expressions, and combinators in the upcoming installment of this series."

Mutiny Wallet Open Beta

Credit: Tony Giorgio
“What is Mutiny? It's the first self-custodial lightning wallet that runs on the web! Control your funds on an open standard that does not depend on Apple or Google app stores. No downloads are needed!”

District Court Dismisses Coin Center's Case Against Unconstitutional Financial Surveillance

Credit: Jerry Brito & Peter Van Valkenburgh
“This law take effect on Jan 1, 2024, and will require citizens who are recipients of crypto payments of $10,000 or more to report to the government not just the transaction, but the PII (personal identifiable information) of the sender as well–all without a warrant."

Frostsnap: Easy & Personalized Multisig with FROST

Credit: Frostsnap team
“Crucially, with FROST you don't have to worry about storing additional metadata about your wallet. You only need a threshold number of devices (or their backups), nothing more."

[Lightning-dev] option_simple_close for "unfailable" closing

Credit: Rusty Russell

[Lightning-dev] LN Summit 2023 Notes

Credit: Carla Kirk-Cohen

[Lightning-dev] Blinded Paths Doom Scenario

Credit: Ben Carman

Head of Chainalysis Investigations Admits There's No Scientific Evidence Proving Their Surveillance Software Works

Credit: United States v. STERLINGOV Exhibit 1 — Document 149, Attachment 1
"Chainalysis clustering methodologies have not been peer-reviewed in the sense that an academic paper would get peer-reviewed with data and methodology(ies) reviewed in a separate study by other scientists,"

HRF announces the Bitcoin Bounty Challenge

“20 BTC up for grabs for 10 UX improvements to Bitcoin (mainly focused on mobile wallets) requested by dissidents and human rights groups from across the world”

[bitcoin-dev] Blinded 2-party Musig2

Credit: Tom Trevethan

[Lightning-dev] Multipath Keysend

Credit: ZmnSCPxj


Improve documentation

I've updated the basic documentation in readme.md to include details of functionality and usage, based upon the text that was present in HA before the integration was stripped, to satisfy Issue #65.
I've then reworked sections of it to reflect the change from scan to polling (PR #30).

Hey @alandtse,
I realise it was your intention that this would be added to the wiki, but putting it on the readme gives people a chance to view it within HACS. As the documentation expands, we can link the wiki to more detailed pages if required.
Hope that's ok?

Actually, HACS reads from info.md if that's the reasoning. I'm actually indifferent to wiki vs docs. Wiki isn't gated by PRs so is why I suggest that. My hope is having less friction will encourage participation.

I get you. It makes sense to use the wiki if you feel people are more likely to add to it there.
Re info.md, apologies. I'm not too familiar with creating integrations. When I follow the 'documentation' link in HACS, it just takes me to https://github.com/alandtse/tesla, hence my suggesting adding it to that page.
Happy to help, and can put it anywhere you see fit, to be honest. You do great work!

Oh that's right. But on the page where you choose the integration in HACS, it reads from info. It's fine in readme because they're likely not looking at the HACS page anymore. I appreciate your help!

Glad to be able to assist. Thanks for the merge.


Fixed Issue #10004

Issue Reference
#10004

Checked and Found that the issue has been fixed and working fine. Now we can see that the details are not cleared and also working fine. Please check the video for reference.
Video
https://github.com/user-attachments/assets/b7d17852-a1a2-4d75-a233-fc55887abf69


Support Redis auth

Thanks for taking the time to contribute to WebSync!

If you make that one change I'd be happy to merge this.

It all looks good. Merged!


Wildcard scope required

For apps that provide a comprehensive function, such as hasweb, which manages everything related to user profiles, asking for permission to every single resource in lastuser makes for an unnecessarily long scope string. Apps (trusted-only?) should be able to ask for wildcard permissions such as email/* or even just *.

Fixed in ab504f1d41cf3f9cc37d5911e4bc20986396ca93.


Issue #589: TypeError when generating Kinesis event.

Issue #, if available:
#589
Description of changes:
Decoding bytes to str for json serialization when generating a kinesis event.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@phoenik Thank you for putting the time into addressing this. We are currently working on revamping the generate-event command. Given that work, we can't accept these changes at the moment.

Things should be covered by #612. Closing this in favor of larger one here.


Test UFlow PSOL

What has to be done
We must test the UFlow PSOL's that are available for purchase in India. No code is provided for operating them in PWM mode, so this must be tested.
How do you know it has to be done
Because these are potential valves to be used in the manufactured vents in India.
Code pointers
Currently, there are no integration tests for any PSOL on our system. There are some tests for the binary solenoids at
software/controller/integration_tests/solenoid_test.h which could be a starting point.
Other
Data sheets have been posted in Slack:
https://respiraworks.slack.com/archives/C0100AC23MJ/p1595483816209200
TODO: link to manufacturer website instead

Probably blocked by #819

Might be helped by #838

Need a software assignee

This ticket was in the "Done" column in Hardware. Moved it to the same column after changing repositories.

This ticket was in the "Done" column in Hardware. Moved it to the same column after changing repositories.


Improved performance in cast Primitive to Binary/String (2x)

Reuse the temp bytes buffer.
cast int32 to binary 512
		time:   [10.650 us 10.761 us 10.885 us]
		change: [-47.175% -46.939% -46.649%] (p = 0.00 < 0.05)
		Performance has improved.

Thanks @sundy-li ! Great idea!


[vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.

When running/building with vite, I am getting the following warning:
[vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.

<EMAIL_ADDRESS>
Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.

Please update the package to 0.2.2 to fix this warning.

That was lightning-fast, thank you. I noticed you have adjusted the the svelte and vite version constraints - perfect! :clap:


Component Stackbar for show the message.

https://github.com/iamhosseindhv/notistack
Have to do something like that.


#SingleInstance Off - I can't stop my exe restarting

Hi,
I have been using Hiedit.dll(4.0.04),HiEdit.ahk and Ahk2Exe.exe to write an editor application, with multiple tabs:

https://github.com/Gavin-Holt/APEditor

In general, I am very happy with the result (no text wrapping - but that's ok). From within the application, I can open and close files with the dialogs or using drag and drop.
However, I am having trouble with SingleInstance. When talking about text editors, single instance usually means "any repeated attempts to launch the editor will simply revert to the first running instance AND open any new filename parameter in a new tab".
I use a Xtree like file manager, and would like to be able to leave the editor open and then open further files by calling the exe with a filename parameter.
After asking on the AHK forum, I have tried to detect new instances:
;# Setup AHK Environment
#SingleInstance Off
#NoEnv
#NoTrayIcon
#MaxMem 128
SetWorkingDir, %A_ScriptDir%
AutoTrim,Off
SetBatchLines,-1
SetControlDelay,-1
SetWinDelay,-1
ListLines, Off
DetectHiddenWindows, On
SetTitleMatchMode,2
SendMode, Input
Process,Priority,,A
CoordMode, Mouse, Relative

$MySingleInstance()

; Lower down after autoexec section
$MySingleInstance() {
    If $FirstInstance() {
        msgbox "First instance"
    } else {
        msgbox "New instance"
        ExitApp
    }
}

$FirstInstance() {
    local FirstInstancePID
    Process, Exist, %A_ScriptName%
    FirstInstancePID := ErrorLevel
    if (FirstInstancePID = DllCall("GetCurrentProcessId"))
    {
        return, true
    } else {
        return, false
    }
}

The approach above does not work to detect new instances of my compiled script:

Repeated execution of APEditor.exe, from the same folder, simply restarts the editor - losing any unsaved work.
Interestingly, if I make a copy of the compiled script in another folder, and execute that copy - the "New" instance is identified.

I have had similar results with other methods to check if an instance is already running:

https://www.autohotkey.com/board/topic/76240-single-instance-force-compiled-scripts-only/

https://www.autohotkey.com/boards/viewtopic.php?t=28667

My lovely customized editor is not much use, if repeated executions effectively wipe out any open tabs with data loss!
Any help welcome.
Kind Regards Gavin Holt
I am happily using old versions of AHK/AHK2EXE

Ahk2Exe v<IP_ADDRESS>
AutoHotkeySC.bin 25.09.2009

I am closing this issue because:

This problem is not caused by Ahk2Exe.
Even if it was, you are using an older version of Ahk2Exe distributed with AutoHotkey <IP_ADDRESS>, which is no longer supported.
You have also posted this problem on the forums (which is a more suitable place) and are receiving help there.

Cheers


toogleMenu is not Working in UIViewController

I am trying to use REMenu in UIViewController with Segue .
I am UINavigationController set to UIIViewController .
I am getting this error
-[UINavigationController toggleMenu]: unrecognized selector sent to instance 0xa13aa80
2014-07-10 15:42:07.708 Noise[3372:607] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UINavigationController toggleMenu]: unrecognized selector sent to instance 0xa13aa80'

I am facing the above issue 3 days onwards. Still I am not getting the solution. Please help me out from this issue

I got same issue And I sloved it by :
First : Implementing the ToggleMenu
Then : instead of  using target:self.navigationControler I used target:self  when adding the MenuBarButtonItem :
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Menu" style:UIBarButtonItemStyleBordered target:self action:@selector(toggleMenu)]; )