Problems with the decimals of the restrictions of the model created for CBC_MIXED_INTEGER_PROGRAMMING

I'm using the graper for c#, the solver type is CBC_MIXED_INTEGER_PROGRAMMING.
When i adding restrictions with double type values, the Solver rounds up all the constants to 6 decimals, this causes errors (in some cases) in the final result, generating solutions that do not meet the initial restrictions by a small margin.
I'm normalizing the objective function, dividing by the total each coefficient. These roundings cause some coefficients of the objective function to be made 0, which affects the final result.
How can i established decimal numbers that will be used by de model to round up the constant values?
Is there a way to normalize the objective function without divide each coefficient by the total?
Any help will be very useful.
Thank you.

This is a property of all MIP solver.
All the arithmetic operations are done with an epsilon prevision (between
1e-4 and 1e-6).
Furthermore, the range of coefficients (max coeff / min coeff) shoud stay
bonded (something like < 1e9).
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le mer. 17 avr. 2019 à 15:14, raulctas<EMAIL_ADDRESS>a écrit :

I'm using the graper for c#, the solver type is
CBC_MIXED_INTEGER_PROGRAMMING.
When i adding restrictions with double type values, the Solver rounds up
all the constants to 6 decimals, this causes errors (in some cases) in the
final result, generating solutions that do not meet the initial
restrictions by a small margin.
I'm normalizing the objective function, dividing by the total each
coefficient. These roundings cause some coefficients of the objective
function to be made 0, which affects the final result.
How can i established decimal numbers that will be used by de model to
round up the constant values?
Is there a way to normalize the objective function without divide each
coefficient by the total?
Any help will be very useful.
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1199, or mute the thread
https://github.com/notifications/unsubscribe-auth/AKj17aHhCgzyP-QLmhV07K4SKmUdpLMbks5vhx5EgaJpZM4c1Bse
.

Thank you very much for your answer.
I understand what you are saying about decimals, I did not remember it.
Related to this other doubts:
In the solutions returns values with a number of decimals greater than 6 (in some cases up to 16), in these cases does not apply rounding?
The solver returns solutions that do not strictly comply with the restrictions of the model, the margin is very small but sometimes very striking for returning negative values, is this normal?

Yes, we returns the value given by the solver. It would be tricky to round
them and still be within the epsilon precision, because of accumulated
errors.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le jeu. 18 avr. 2019 à 09:11, raulctas<EMAIL_ADDRESS>a écrit :

Thank you very much for your answer.
I understand what you are saying about decimals, I did not remember it.
Related to this other doubts:
In the solutions returns values with a number of decimals greater than 6
(in some cases up to 16), in these cases does not apply rounding?
The solver returns solutions that do not strictly comply with the
restrictions of the model, the margin is very small but sometimes very
striking for returning negative values, is this normal?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1199#issuecomment-484383662,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3IR2WX5WNEVGVNRQCLPRANLZANCNFSM4HGUDMPA
.

Thank you again, your answer clarifies several things.
One last clarification: in your first answer you commented that: "(max coeff / min coeff) shoud stay bonded (something like <1e9)"
It mean the ratio between the maximum and minimum coefficient?
In that case, is there a recommended maximum for the max coeff or for the min coeff?

https://www.ibm.com/support/knowledgecenter/SSSA5P_12.6.1/ilog.odms.cplex.help/CPLEX/UsrMan/topics/discr_optim/mip/troubleshoot/60_ill_conditioned_MIP_kappa.html
Less than 1e7.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le jeu. 18 avr. 2019 à 13:01, raulctas<EMAIL_ADDRESS>a écrit :

Thank you again, your answer clarifies several things.
One last clarification: in your first answer you commented that: "(max
coeff / min coeff) shoud stay bonded (something like <1e9)"
It mean the ratio between the maximum and minimum coefficient?
In that case, is there a recommended maximum for the max coeff or for the
min coeff?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1199#issuecomment-484454943,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3ORGU3KFBMSMQ7X7PDPRBIJDANCNFSM4HGUDMPA
.

I have been reviewing and in "or-tools" there is the ComputeExactConditionNumber method but it is not implemented for CBC_MIXED_INTEGER_PROGRAMMING.
Is there any other way to get this report for CBC_MIXED_INTEGER_PROGRAMMING?


net: TestDialParallel failures due to longer-than-expected delay on Windows

--- FAIL: TestDialParallel (6.16s)
    dial_test.go:173: dialClosedPort: measured delay 1.0028044s
    dial_test.go:313: #5: got 1.2757236s; want <= 1.20336528s
FAIL
FAIL	net	55.514s

greplogs --dashboard -md -l -e 'FAIL: TestDialParallel .*(?:\n    .*)*got .*; want <= .*'
2022-04-05T18:01:26-9e16cc1/windows-amd64-longtest
Note that the test currently uses a hard-coded heuristic for the timing bounds:
https://cs.opensource.google/go/go/+/master:src/net/dial_test.go;l=302-309;drc=da7891f6f36c48f2931ed916ed305330c06f9bd7
(See previously #35616; CC @ianlancetaylor @neild.)

Since windows/amd64 is a first-class port, this is a release-blocker for Go 1.19.
(It may be possible to resolve by making the timing bounds even more lax, or by somehow eliminating the timing bounds entirely if the test is meaningful without them.)

FWIW, I've been attempting to reproduce a different Windows issue, but have managed to reproduce this twice thus far in ~1hr of testing with 25 windows-amd64-longtest gomotes using https://github.com/mknyszek/goswarm/.

@prattmic is this OK after beta 1?

@neild will know better, but I imagine so, it is quite rare now.

Yes, this is okay after beta1.
The test is irredeemably flaky. I think it needs to be rewritten.


Files crashes after opening and closing the properties of a file or folder

Description
After right clicking a file or folder and selecting prooperties, closing out of the properties window crashes the app.
Steps To Reproduce
1.right click any file or folder
2. selecr properties
3. exit out of the properties window
Steps to fix

eg. Fix crash that occurs when...
eg. Correct action happens when clicking...

Files Version
files <IP_ADDRESS>
Windows Version
Windows 10 21H2
Relevant Assets/Logs
debug_fulltrust.log
debug.log

This is fixed in the latest preview version


os/user: user_test.go fails incorrectly; does not expect membership in group "5000" (OSX/darwin)

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version devel +f6ceed2 Sun Mar 13 13:32:41 2016 +0000 darwin/amd64

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/drchase/GoogleDrive/work/gocode"
GORACE=""
GOROOT="/Users/drchase/GoogleDrive/work/go-ssa2"
GOTOOLDIR="/Users/drchase/GoogleDrive/work/go-ssa2/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"

What did you do?
Checkout clean from tip, ./make.bash.
Ensure that "groups" includes a numeric group, e.g.:

groups
5000 ...  everyone netaccounts admin ... com.apple.sharepoint.group.1

What did you expect to see?
That ./all.bash on a newly checked out top would pass clean with no errors.

What did you see instead?

--- FAIL: TestLookupGroup (0.00s)
	user_test.go:107: LookupGroupId("5000"): group: unknown groupid ᎈ
FAIL
FAIL	os/user	0.039s

I don't follow what you did when you wrote:

Ensure that "groups" includes a numeric group, e.g.:

What is the following output?

Sent https://go-review.googlesource.com/20642 for the error formatting at least.

"groups" is a command on OSX.  The output that follows is a list of the groups I am in, with some of the employer-specific ones elided with "...".  For whatever reason, I seem to be in group 5000 on my laptop.  The test either needs to run in a more controlled environment, or be more tolerant of apparently peculiar environments.

What did you do to add yourself to such a group, though?

there seems to be more needed than just a group with a numeric name:
sudo dseditgroup -o create -r "5000" 5000
sudo dseditgroup -o edit -a USERNAMETOADD -t user 5000
whats the output of (e.g. to see the groupid):
sudo dseditgroup -o read 5000
?

sudo dseditgroup -o read 5000
Password:
Group not found.

For grins:
ls -lg ~
total 18088
drwx------   5 5000      170 Jan 20 11:41 Applications
drwx------+ 23 5000      782 Feb 19 12:45 Desktop
drwx------+ 31 5000     1054 Jan 19 22:57 Documents
drwx------+ 59 5000     2006 Mar 11 15:21 Downloads
...

I have no idea what/why/how, I try not to do a lot of hacking at my laptop's configuration.

"What did you do to add yourself to such a group, though?"
Accepted employment at Google and took the company-issued laptop.
ls -lgd ~
drwxr-xr-x+ 76 5000  2584 Mar 13 14:01 /Users/drchase

My account was apparently born that way.

I am having a similar issue. Go at tip used to pass all tests. Now it fails with the following:
--- FAIL: TestLookupGroup (0.00s)
user_test.go:107: LookupGroupId("2110994482"): group: unknown groupid<PHONE_NUMBER>
FAIL
FAIL	os/user	0.027s

@dr2chase Odd. I was also testing on a Google-issued darwin laptop. :)
The test may need to be removed. As identified here, it fails in misconfigured environments where a user is not a part of their primary group.  Unfortunately, I don't think there's a cross-platform way to make this test hermetic.  However, the underlying getgrouplist call is documented to always add the supplied gid to the list, so this surprises me.
@bradfitz Should I go ahead and move all platforms to the /etc/group fallback? Seems more reliable than all the woes that my CL has introduced. Sorry that this has created so much noise.
For both of you, it would be helpful to know the number of supplementary groups your user is a part of -- is it greater than 256?

@zombiezen It returns 116 for me
dscl . list /groups|wc -l
116

For me:
dscl . list /groups|wc -l
     120

@zombiezen, /etc/group fallback sounds good if you'd like. But only if it's actually a fallback; we should probably still try using C first. I'll leave it up to you as to how to change the tests.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_e86_p9rmqs/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_e86_p9rmqs/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_e86_p9rmqs/clone/recipe/meta.yaml:30: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_e86_p9rmqs/clone/recipe/meta.yaml:37: missing_documentation: The recipe is missing a doc_url or doc_source_url
WARNING: /tmp/abs_e86_p9rmqs/clone/recipe/meta.yaml:37: missing_description: The recipe is missing a description
ERROR: /tmp/abs_e86_p9rmqs/clone/recipe/meta.yaml:37: missing_dev_url: The recipe is missing a dev_url
Errors were found


0.17.1 / onRegionChange is not fired

Hi,
I've just update my react-native to 0.49.3 and react-native-maps to 0.17.1 with a the same code, the maps don't work anymore.
The onRegionChange is not even fired and the initialRegion don't works properly.
I've tried to change my code multiple time to see what's happening.
When the maps freeze because onRegionChange isn't fired, i get those logs on xCode :
CoreData: annotation:  Failed to load optimized model at path '/var/containers/Bundle/Application/79901795-8A36-4F0A-9E5A-117D59E483ED/mobile_application.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
CoreData: annotation:  Failed to load optimized model at path '/var/containers/Bundle/Application/79901795-8A36-4F0A-9E5A-117D59E483ED/mobile_application.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
CoreData: annotation:  Failed to load optimized model at path '/var/containers/Bundle/Application/79901795-8A36-4F0A-9E5A-117D59E483ED/mobile_application.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
CoreData: annotation:  Failed to load optimized model at path '/var/containers/Bundle/Application/79901795-8A36-4F0A-9E5A-117D59E483ED/mobile_application.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo'
2017-11-01 15:50:44.274371+0100 mobile_application[12512:4729023] [BoringSSL] Function boringssl_context_get_peer_sct_list: line 1754 received sct extension length is less than sct data length

My Google API key is correct, everything is be setup correctly. I don't know what to do.
What kind of informations can i provide to resolve this issue ?

See this for a workaround. https://github.com/airbnb/react-native-maps/issues/1742

Already seen that issue.
Changing to region fixed the blue screen issue. That's ok.
Buuuuut the onChangeRegion issue is still there... I'm gonna try to downgrade the version of react-native-maps. Wait&See

I had issues with onRegionChangeComplete but it might be in debugging mode only (meontioned in another issue too, don't remember which one). I've put the app on device and all works as expected

OK !
Well, it's fully working under those versions :
"react": "16.0.0-alpha.12",
 "react-native": "0.46.4",
 "react-native-maps": "^0.15.3"

If someone is in trouble with the last version of RN and Maps, you must downgrade to restore the features you've implemented.
I've test a lot of versions, those works perfectly.


fix(update): custom reindexation was not passed the proper index name

:tada: This PR is included in version 1.3.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Relate to inherit documenttype

Umbraco 7.2.8
Umbraco.RelationEditor 1.1.5582.37466
Is there a way to use an inherited doctype in the relationeditor.config?
My doctype structure is like below:
Base
Doctype 1
Doctype 2
Doctype 3
Etc....
Instead of adding all doctypes seperate to the config, can I also do it at once by the 'Base' documenttype?
That would be very nice!
Thanks in advance.
Sander

None at the moment.
Thanks a lot for the good suggestion.
#h5yr


Request working inconsistently between 0.10 and 0.12 on Docker

I am using node request module for calling Docker stats APIs (REST over HTTP).
But the request module is behaving wierd
Call sequence is as follows
a) Call the docker apis to get containers
b) get the container name to get further details

In my local mac the call sequence is working fine

When I containeraise it into a centos system and run from boot2docker, The first call succeeds but second call get hung permamently
see the strace below. Any one encountered this wierd behaviour?.
I downgraded my node to v0.10.32 ans the request module version is<EMAIL_ADDRESS>futex(0x7f66fc0008c8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f66fc0008c8, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "Error: connect ECONNREFUSED\n    "..., 125Error: connect ECONNREFUSED
    at errnoException (net.js:904:11)
    at Object.afterConnect [as oncomplete] (net.js:895:19)
) = 125
futex(0x7f6704590a64, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x7f6704590a60, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x7f6704590a20, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f66fbfff9d0, FUTEX_WAIT, 241, NULL) = 0
exit_group(8)

      = ?

Code is as follows
var options = {};
var agentOptions ={};

console.log('Collecting Docker Statistics');
logger.info('Collecting Docker Statistics');

options.url ="http://<IP>:<port>/somepath";

options.method = 'GET';
options.tunnel = false;
options.timeout = 80000;

console.log('calling API!');
logger.info('calling API!');

request(options,  function (error, response, body) {

    if (error) {

        logger.info("Error Getting details %e ", error);
        callback(error, null);
    }
    else {

        logger.info("Success Getting details: %s", response);
        callback(null, body);

    }

}).on('error', function(err) {
// Handle error
logger.info("Error Getting Container details %e ", err);

Add request-debug to your project and paste the debug log here. Alternatively this may help you figure out the problem on your own.


duffle bundle list not listing bundles

duffle [master]$ duffle bundle list
Error: cannot load bundle: invalid character '-' in numeric literal

Do you still have bundles that were PGP-signed?

I think this is only impacting things that were PGP-signed as @radu-matei mentioned. Going to close it since we've moved away from that.


[Feature Request]  Read the script signature in session

🚀 Feature Request

Motivation
To correctly execute a script, we need to have the signature of the script to (1) validate the script has the correct signature and (2) to determine how to add a signer into the args.
Now, there is already support for the script_function (some previous discussion happens here https://github.com/diem/move/issues/209). However, we still need a "load_script" function to provide similar functionalities.

Hi @tnowacki, didn't find there is support for load_script. do you plan to add util function to view the signature of script? cc: @zekun000  @msmouse

Ah yeah, can do. Should be easy to add

Hi @tnowacki when would you have time to make this change?

PR up


Data loader merlin graph transforms and embeddings

This PR adds the ability to run a merlin graph transforms over the batches of data that come out of the data loader. Operator introduced here is the embedding operators. Allowing for batch level additions of the embedding representations for records.

moved from private to public so needs new fork


fix(userspace): release unused resources on error and cleanup buffer reads

What type of PR is this?
/kind cleanup
/area libscap
/area libsinsp
Does this PR require a change in the driver versions?
What this PR does / why we need it:
Which issue(s) this PR fixes:
This brings a couple of minor cleanups on buffer reads and releasing allocated mem before returning with an error.
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 7809f491f1afb00173ec6ea338bbe975a5d91dd9

/milestone 0.10.3

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, gnosek, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,gnosek,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, gnosek, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,gnosek,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Share author details

Hi @n-raspi, I need:

first name
surname
email
ORCID iD from you

Thanks

Nicolas
Seemann-Ricard
<EMAIL_ADDRESS>0000-0002-0945-7475


Fixed typos in pom.xml for phase1 and final.

Fixed typo: "remove debugger" to "remote debugger" for both pom.xml files.

How to reproduce (if it helps):

Clone the latest repo
Set the proper <application> and <version> in appengine-web.xml
Try to deploy with mvn appengine:update


On Windows 10 break window doesn't overlay fullscreen applications anymore in 0.21.1

Prerequisites

[x] I'm using latest version: v0.21.1
[x] I've checked Known issues

Description
After update to Stretchly 0.21.1 break window doesn't show on top of fullscreen applications. Namely seen this with a game and full screen movies watched from browser and Netflix application. Suppose it applies to all full screen applications.
In previous version I was using (0.21.0) Stretchly break window was always shown on top of any other application I was/am using.
Operating system: Windows 10
Steps to Reproduce

Open a full screen movie on main screen (the one that Stretchly should open it's break window)
Wait until Stretchly break window should appear (time has passed)

Expected behavior: Stretchly break window is visible on top of any application
Actual behavior: Stretchly break window is not visible, even after minification of full-screen video (although signal for break end is played after given time)
Reproduces how often: 100%
Additional Information
Seems like window may not be opened at all. Maybe some exception is thrown?

I don't know how you fixed this last time, but it seems the same issue as #425 (at least the symptoms are the same)

@jkocot well, there are more and more issues with electron ;/ I hope someone will look into the issue that I reported.

Looks like they are removing this option altogether ;[ https://github.com/electron/electron/pull/21732

Confirming that stretchly.Setup.0.21.1.electron.6.exe works just fine 👍

Too bad electron 6 is not supported anymore ;/ https://www.electronjs.org/blog/electron-9-0#end-of-support-for-6xy
Even worse because it's a regression bug ;/

Is this still happening in 1.0?

My experience has been that it does, yes.

I haven't seen this issue in 1.0 for non-full screen windows (I don't use full screen much), and it used to happen to me often for not even maximised Chrome or IntelliJ/Eclipse. I had a few cases when I had just opened a context menu and the break window opened out in the background of it instead at the top, but that's generally a non-issue.

I haven't seen this issue in 1.0 for non-full screen windows (I don't use full screen much), and it used to happen to me often for not even maximised Chrome or IntelliJ/Eclipse. Now, I had a few cases when I had just opened a context menu and the break window opened out in the background of it instead at the top, but that's generally a non-issue for me.

After some more time using v1.0 I did notice the problem several times even with for non-full screen apps, hovewer, these are rare cases (~1 in 20 times the popup should show), whereas, earlier this happened more frequently.


JAVA-502: Provide functionality required by C* UDF implementation.

looks good to me, :+1:  (if we decide to merge)

Closing has we decided not to implement the fix.


Adde support for CoreML Permute layers and "same" padding in Pooling layers

This PR depends on https://github.com/dmlc/tvm/pull/675

Let us consider another way of doing this without changing spec of the current core op. As this is redundant with padding option. Likely we can get away with supporting more padding and shape information. @zhreshold can you look into this?

The Perumate Layer support LGTM, please open a separate PR for that

Hi all, i faced this issue abt "same padding" when i try to use tinyYolo.coreML model from here https://s3-us-west-2.amazonaws.com/coreml-models/TinyYOLO.mlmodel    in from_coreML scripts
Any suggestion?


update

Your code is incredible! It's essentially an open-source game inspired by "Just Shapes and Beats." I've added numerous features, worked tirelessly all day, and here are the enhancements:
I've implemented a tkinter GUI where you can input your YouTube link.
I've integrated presets and added the capability to adjust audio volume with AudioDbAdjuster from the pydub library.
Although the game originally had three levels, I've expanded it to include six exciting levels.
You now have the freedom to customize the colors of the player square, background, and warning elements using tkinter.
I've introduced a mouse mode that you can toggle on or off.
Simply hit the spacebar to make your player jump, and it works like clockwork every 3 seconds.
Players start with four lives, and as their lives decrease, the player color transitions slowly from green to red, creating a captivating animation.
These enhancements make your game even more captivating and engaging!
you can  merge my code

Great Settings,
small bugs when game restarts color for character sometimes bugged

small performance loss
overall great progress.

Really, I was thinking how the program got bug,
Sorry for making your code dirty I added too much feature, didn't write clean code specially the main issue is writing and reading that temp file I added, I did that at the last time when I had no more energy left to work 🤣🤣,
All I did I think in 2 days.
It will be great if you make a video about that

Bro, I want your social media account to contract with you, do you have any of telegram, messenger, what's app, Instagram?? Anyone of them ?
https://gitlab.com/krafi/git-backed-diary check out this project maybe you will be interested to check out recently I was working on it.


Apple emojis are acting as attachments (mobile IOS)

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

Version Number:
Reproducible in staging?: Needs Reproduction
Reproducible in production?: Needs Reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @grgia
Slack conversation (hyperlinked to channel name): expensify_quality
Action Performed:

Launch the app
Compose a message in any room
Tap the emoji selector in the keyboard
Tap on any emoji

Expected Result:
Emoji attached to the composed message
Actual Result:
Emoji acting as attachment and add attachment screen opens
Workaround:
Unknown
Platforms:

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

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[x] iOS: Standalone
[x] iOS: HybridApp
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/9610a615-af63-48e0-be14-ffada8957817
View all open jobs on GitHub

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

Reproduced, this is only happening with IOS's custom emojis which makes since they are ios only and does not have a unicode.
They are being treated as attachments in other apps, for example in messages(see 2nd video), except blue chats. In telegram app they work like stickers
https://github.com/user-attachments/assets/95bd60e0-b9c8-4ab1-80bd-1a2fd95c3a3f
https://github.com/user-attachments/assets/0337775d-3504-45c3-89be-68c9d9591716

Reproduced, this is only happening with IOS's custom emojis which makes since they are ios only and does not have a unicode.
They are being treated as attachments in other apps, for example in messages(see 2nd video), except blue chats. In telegram app they work like stickers

That's kind of expected since iOS stickers/custom emojis are not standard.
Tried to reproduce on my iOS device without success.
Posted about it here.

We can close this issue there wasn't a bug; it was a big emoji sticker (see https://expensify.slack.com/archives/C05LX9D6E07/p1733755795349319?thread_ts=1733475051.093409&cid=C05LX9D6E07).


[SYSTEMML-540] Support loading of batch normalization weights

To test this PR, please use resnet's deploy proto file and corresponding caffemodel:
import systemml as sml
sml.convert_caffemodel(sc, 'resnet.proto', 'resnet.caffemodel', 'trained_resnet_weights1')

This PR ignores reading of scalar moving average fraction in batchnorm layer.

@dusenberrymw

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/2083/

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/2084/

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/2092/Failed Tests: 1SystemML-PullRequestBuilder/org.apache.systemml:systemml: 1org.apache.sysml.test.integration.functions.indexing.RightIndexingMatrixTest.testRightIndexingDenseCP

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/2102/


FLAGS_logtostdout does not seem to follow FLAGS_logbuflevel

The following configuration does not seem to flush logs immediately (logs are buffered and flushed periodically):
FLAGS_logtostdout = true;
FLAGS_logbuflevel = -1;

However, the following does:
FLAGS_logtostderr = true;
FLAGS_logbuflevel = -1;

Both flags should have identical behavior.

@kishorenc I would like to take a loo and try to fix if no one is on it now.

@kishorenc I guess it should cause by the stdout has the buffered but stderr is not.


Redis Cluster keyPrefix doesn't work in redisOptions

version: 4.14.1
According to doc,  I think keyPrefix in redisOptions. But it doesn't work. Like blow:
const redisClient = new Redis.Cluster(nodes, {
  redisOptions: {
    keyPrefix: 'foo:',
  }
});

After attempts, it actually works in root option, like this:
const redisClient = new Redis.Cluster(nodes, {
    keyPrefix: 'foo:',
});

Is it by design?

I reproduced this bug too.

+1

+1

This issue was left to die on the vine with an open PR, but it is critical to the functionality of key prefixing. The workaround is to include keyPrefix one level up (on the object which is the second parameter to new Cluster) but the type definitions will yell at you for trying to do that. So you end up having to do something like this:
new Cluster(nodes, clusterRetryStrategy: this.clusterRetryStrategy,
      redisOptions: {
        maxRetriesPerRequest: 1,
        keyPrefix: `${this.config.RedisNamespace}:`,
      },
      /**
       * The entry below fixes a bug where the keyPrefix is totally ignored when used in cluster mode.
       * The issue has an open PR: https://github.com/luin/ioredis/issues/1024
       */
      keyPrefix: `${this.config.RedisNamespace}:`
} as any)

It would be great if this PR were merged and this was resolved.

Just installed ioredis this week, so using latest.  I am still seeing this issue. Thankfully I found this issue and was able to use this workaround.

I also just noticed this issue. While the workaround does work, it's a bit tedious when using TypeScript, since keyPrefix is technically not valid on that location.
Any chance this issue can be re-opened? To avoid the workaround and also to avoid future confusion for other people. :)

would be nice if the fix be ported to 4.x

Just encountered this issue using the old 4.x.x version of IoRedis. It would be great to either backport this feature or remove keyPrefix from the TypeScript types for 4.x.x so people are not led to believe this feature is supported, when it isn't.


Where does anvil store fork's state?

I'm running anvil --fork-url <rpc> and first thing I noticed is that the logs don't show interactions with rpc, e.g:
$ cast balance 0x81...c7

# anvil
eth_getBalance

whereas I expect it to show something like:
# anvil
eth_getBalance
eth_getBalance (RPC https://rpc...)

regardless, I don't know where the state is stored. It seems like anvil retrieves bare minimum for the task and keeps it in-memory (?), in BlockchainDb (?).
I'm also seeing a file in .foundry/cache/rpc/goerli/8077534 which is the chain/block I'm interacting with but it's not growing in size, so I'm assuming the state has to be kept in-memory.
If it is in-memory, then I suggest we add a flag so that state data can be stored on disk. This would enable further offline state retrieval which can be useful for CI purposes (e.g. committed to repo), as well as secure isolated environments.
I'd be interested to implement it myself as well, if given some pointers on how the internals work.
P.S. please consider creating a discord server.

@mattsse polite reminder.

Okay, I just realized that cache exists, and only gets flushed to disc when fork's block number is specified. (Setting RUST_LOG="cache=trace" helps)
However, if I disconnect my internet connection and run the anvil again, I'd get:
thread 'main' panicked at 'Failed to fetch network chain id: HTTPError(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("...")), port: None, path: "/", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" })) })', /github.com/foundry-rs/foundry/anvil/src/config.rs:746:58

Obviously, any operation on provider such as provider.get_chainid() would now fail. Good news is, we have the required data stored, e.g. chain_id:
storage.json
{"meta":{"cfg_env":{"chain_id":"0x5" ...

next issue is returning a block here:
            let block = provider
                .get_block(BlockNumber::Number(fork_block_number.into()))
                .await
                .expect("Failed to get fork block");

which we can check for --offline (or --fork-chain-id flag and return Default::default() instead).
Final issue is, cache compares metadata, and rejects the cache if they are not the same, before giving us access to cache.
I realized only a few fields are different:
meta = BlockchainDbMeta { cfg_env: CfgEnv { chain_id: 5, spec_id: LATEST, perf_all_precompiles_have_balance: false, perf_analyse_created_bytecodes: Analyse, limit_contract_code_size: None, memory_limit:<PHONE_NUMBER> }, block_env: BlockEnv { number: 8117594, coinbase: 0x0000000000000000000000000000000000000000, timestamp: 0, difficulty: 0, basefee:<PHONE_NUMBER>, gas_limit: 30000000 }, hosts: {"x.com"} }

exis = BlockchainDbMeta { cfg_env: CfgEnv { chain_id: 5, spec_id: LATEST, perf_all_precompiles_have_balance: false, perf_analyse_created_bytecodes: Analyse, limit_contract_code_size: None, memory_limit:<PHONE_NUMBER> }, block_env: BlockEnv { number: 8117594, coinbase: 0x0000000000000000000000000000000000000000, timestamp:<PHONE_NUMBER>, difficulty: 0, basefee: 151409, gas_limit: 30000000 }, hosts: {"x.com"} }

if we somehow match or skip that, then our node spins and we can interact with it. Note that I only checked for ETH balance so far.
We can read the json file separtely and substitute the values in block or maybe skip the check altogether if an offline flag (--offline or --fork-chain-id) exists.
Thoughts?

thanks for writing this down, however, I'm having a hard time parsing what the actual issue(s) are here.
I looked at the corresponding PR, but having trouble understanding the exact motivation here and how this relates to this issue.
rpc storage is flushed to disk on exit

thanks for writing this down, however, I'm having a hard time parsing what the actual issue(s) are here.
I looked at the corresponding PR, but having trouble understanding the exact motivation here and how this relates to this issue.
rpc storage is flushed to disk on exit

I'm testing contracts inside an isolated network which provides increased security.
There is no route to public internet to begin with, so the only way to test against a fork is to move/commit state files of a certain block to a repository and test against that.
Does this make sense?

kinda but I'm still slow to understand this completely.

There is no route to public internet to begin with, so the only way to test against a fork is to move/commit state files of a certain block to a repository and test against that.

I really don't understand this, because the matching cache file to the block-number will be picked up if it exists, no?

Moving the state file (storage.json) alone is not enough because of the issues mentioned in the PR,

why is --chain-id not sufficient here?

I really don't understand this, because the matching cache file to the block-number will be picked up if it exists, no?

Yes, but not before making two http(s) requests to remote endpoint, which will panic when not connected to internet:
thread 'main' panicked at 'Failed to fetch network chain id: HTTPError(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("...")), port: None, path: "/", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" })) })', /github.com/foundry-rs/foundry/anvil/src/config.rs:746:58

why is --chain-id not sufficient here?

--fork-chain-id is basically synonyms with "start anvil only from offline cache, and skip meta check", whereas --chain-id has got nothing to do with a fork and could mean start a testnet with my own 0x9 id or whatever.
to give you a code example:
            let block = if self.fork_chain_id.is_some() {
                Some(Default::default())
            } else {
                provider
                .get_block(BlockNumber::Number(fork_block_number.into()))
                .await
                .expect("Failed to get fork block")
            };

you don't want to create a default block when --chain-id is set, that's only something you want to do when --fork-chain-id is set. (because with in offline-fork, you don't have access to block and don't want to retrieve it from remote).

okay, thanks for clearing this up. I believe I get it now.
Supportive of an offline feature,
wdyt about adding an --offline flag instead? would this have the same effect?

I already had added a --fork-offline flag, but removed it in favor of  --fork-chain-id because:

with current implementation, it's not really just "offline", it's an "offline-start".
you still need to pass chain-id somehow, even if you use --offline because there's no way for anvil to pick up where to look for the config.json file. e.g. initially it'd look for it in /hardhat-env/config.json. it's a chicken-and-egg problem.

I see, that makes sense if you want to use the cache file of chain x but override with y, right?
but, correct me, isn't --fork-chain-id then just --offline + --chain-id ?

I see, that makes sense if you want to use the cache file of chain x but override with y, right?

Not sure what you mean. Chain number is overridden by the cache file and we only need the chain id in order to know which folder to look for config.json in the first place.

but, correct me, isn't --fork-chain-id then just --offline + --chain-id ?

Yes. let's call --offline, --local-start from now on or something like that. In case you use two flags, that'd be more verbose, e.g.:
            let (fork_block_number, fork_chain_id) =
                if let Some(fork_block_number) = self.fork_block_number {
                    let chain_id = if let Some(chain_id) = self.fork_chain_id {
                        Some(chain_id)
                    } else if self.hardfork.is_none() {

becomes
            let (fork_block_number, fork_chain_id) =
                if let Some(fork_block_number) = self.fork_block_number {
                    let chain_id = if self.fork_chain_id.is_some() && self.local_start() {
                        Some(chain_id)
                    } else if self.hardfork.is_none() {

gotcha, thanks for guiding me through this.
I'll have a closer look at the PR in a bit but this should be a reasonable addon. thanks

@xphoniex Did you have to do anything special (edit the storage.json file?) to get anvil to load the state?
I can get Anvil to save the state by starting with:
anvil \
--fork-url https://whatever \
--chain-id 1337 \
--fork-block-number 16328288

I see the storage file in ~/.foundry/cache/rpc/dev/16328288/storage.json
But when I restart it with:
anvil \
--fork-url https://whatever \
--chain-id 1337 \
--fork-block-number 16328288
--fork-chain-id 1

.. the state isn't there, shows blockhash 0x0...0
Did you do anything different to restore the state?
Thanks

the state isn't there, shows blockhash 0x0...0

can you please elaborate on this?

can you please elaborate on this?

Anvil startup shows this in logs:
Fork
==================
Endpoint:       https://eth-mainnet.g.alchemy.com/v2/ID
Block number:   16328288
Block hash:     0x0000000000000000000000000000000000000000000000000000000000000000
Chain ID:       1337

Block hash is not 0x0.. when starting w/o --fork-chain-id option

The state is there, only blockhash is missing (read the whole issue and adjacent pr to know why).
Try running a command which retrieves actual state, e.g. cast balance <some_address> and report back if it's not there.

Yes you're right, the state is there, at least in part. I think there's another issue going on as well as me not understanding things properly. I just now realized that storage.json only stores the state from upstream. If I change the state in Anvil after forking, those changes are not going to be stored in storage.json. That was my first mistaken assumption.
Having said that, contract calls don't work for some reason against the loaded storage.json state. cast balance X works, but if I try to read an ERC20 balance, it fails with EVM error PrevrandaoNotSet (and yes I read the balance previously, when saving the state file). Either way, even if this worked, it doesn't help me since I need the state with changes.
I wish --dump-state and --load-state would work when using a fork :/
Anyways, thanks for the tip!

I was not able to run anvil offline yet because of this issue. I'll revisit what you said once I can get it working, and hopefully fix contract calls as well.


Adjust verbosity for TLS (+TCP) to be 5

As we are seeing an increase in TCP queries this creates excessive logging when we would not want those events logged at lower levels while we would want to see other logs.  Move the TLS+TCP to be verbosity level 5

Verbosity level 3 is a little low for that output. This changes the output of TLS handshake: connection closed prematurely and TLS handshake succeeded.. If there are more messages that need to change verbosity level, those would need to be changed too.


Response Location header querystring getting dropped

Unexpected behavior 1
I have an endpoint that redirects to another endpoint with HTTP response code 302, and keeps the original querystring.
Here is the test:
    Given I set query parameters to
      | parameter | value |
      | clientId  | foo   |
    When I GET /authorize
    Then response code should be 302
    And response header Location should be http://localhost:14200/authorize?clientId=foo

The test fails, saying that the expected and actual values of the header don't match, even though they do:
Failures:

1) Scenario: Accessing /authorize endpoint # test\integration\features\auth-schemes.feature:4
   √ Before # node_modules\apickli\apickli-gherkin.js:29
   √ Before # test\integration\features\support\init.js:4
   √ Given I set query parameters to # node_modules\apickli\apickli-gherkin.js:67
       | parameter | value |
       | clientId  | foo   |
   √ When I GET /authorize # node_modules\apickli\apickli-gherkin.js:91
   √ Then response code should be 302 # node_modules\apickli\apickli-gherkin.js:167
   × And response header Location should be http://localhost:14200/authorize?clientId=foo # node_modules\apickli\apickli-gherkin.js:178
       stepContext:
       testOutput:
         success:  false
         expected: http://localhost:14200/authorize?clientId=foo
         actual:   http://localhost:14200/authorize?clientId=foo
         response:
           statusCode: 302
           headers:
             host:                    localhost:8998
             location:                http://localhost:14200/authorize?clientId=foo
                content-length:          0
           body:

1 scenario (1 failed)
4 steps (1 failed, 3 passed)
0m00.068s (executing steps: 0m00.053s)

Process finished with exit code 1

Note, however, that the expected and actual values appear equal in the output:
         expected: http://localhost:14200/authorize?clientId=foo
         actual:   http://localhost:14200/authorize?clientId=foo

Unexpected behavior 2
However, if I remove the querystring from the expected value, the tests passes, even though it should be failing:
  Scenario: Accessing /authorize endpoint
    Given I set query parameters to
      | parameter | value |
      | clientId  | foo   |
    When I GET /authorize
    Then response code should be 302
    And response header Location should be http://localhost:14200/authorize?

produces:
1 scenario (1 passed)
4 steps (4 passed)
0m00.060s (executing steps: 0m00.043s)

Process finished with exit code 0

even though the actual Location header's value is http://localhost:14200/authorize?clientId=foo.
Workaround
Escaping ? with a backslash \ seems to help:
  Scenario: Accessing /authorize endpoint
    Given I set query parameters to
      | parameter | value |
      | clientId  | foo   |
    When I GET /authorize
    Then response code should be 302
    And response header Location should be http://localhost:14200/authorize\?clientId=foo

produces:
1 scenario (1 passed)
4 steps (4 passed)
0m00.061s (executing steps: 0m00.044s)

Process finished with exit code 0

Hi @gaeshi - sure, that is the expected behaviour as the input there is a regular expression - see https://github.com/apickli/apickli/blob/3d82d4e9e8e3174ac4f4d505b3c7175512733489/source/apickli/apickli.js#L251
As the question mark actually means something in regex, it will need to be escaped to exactly match the '?' character.


Fix venv_metadata_inspector.py error handling/reporting

This fixes a bug with bad empty json data returned during a caught exception in venv_metadata_inspector.  It also captures and communicates the traceback of an Exception that occurred in venv_metadata_inspector.py to the caller.  It is inspired by #378 and the difficulty of assessing what was going wrong inside of venv_metadata_inspector.py.
Changes

venv_metadata_inspector.py now returns proper empty data json (added required key "apps_of_dependencies"
Pass string of traceback for a caught Exception in venv_metadata_inspector.py in returned json
Change invocation of venv_metadata_inspector.py: instead of passing file text to python -c use filename passed to python.  This prevents entire text of venv_metadata_inspector.py from showing up in pipx verbose output.
venv.get_venv_metadata_for_package() logs a warning ("Internal error [...]") and logs info of venv_metadata_inspector.py traceback string.
Removed pipx.utils.get_script_output() because it was only used in one place in utils.py.
Added extra changelog for #373

Ok, I reverted back to the original version using the text inside of venv_metadata_inspector.py using pkgutil.get_data().  I also made an optional log_cmd_str argument for run_subprocess so in verbose mode pipx will now print and log <contents of venv_metadata_inspector.py> in place of the entire text of venv_metadata_inspector.py when it prints/logs the command.
For example, now:
pipx > (run_subprocess:112): running /Users/myuser/.local/pipx/venvs/pylint/bin/python -c <contents of venv_metadata_inspector.py> pylint /Users/myuser/.local/pipx/venvs/pylint/bin

Looks good to me!


Migration of Babel 7.x

Created a PR for this
https://github.com/jaredpalmer/backpack/pull/105

@jaredpalmer are there any plans to publish backpack@next for people who want to use babel7?

just published the next branch as 0.8.0-0

@jaredpalmer thanks! I think there's a problem though, I believe that<EMAIL_ADDRESS>needs to use<EMAIL_ADDRESS>(currently it's using 0.5.0)

+1


Password of ordinary user

After the administrator resets the password of ordinary users, what is the default password of ordinary users

Once the administrator clicks the reset password button, a mail will be send to the User's Mail-Address containing a link where the user can change the password. If you would like to catch this mail for development-porposes you can use tool like MailHog


Sdk 20 add proto gen tests

This item gens the protobuf defs and has one test

Could you please merge #37 and rebase this one on top of the main branch?


Quick Info missing descriptions for own imported functions, objects and primitives

test3.js
/**
 * description of a
 */
function a() {}
export { a };

test4.js
import { a } from './test3';

VSCode started with --disable-extensions

VSCode Version: 1.10.2
OS Version: Microsoft Windows [Version 10.0.14393]

Thanks. This is being tracked upstream by: https://github.com/Microsoft/TypeScript/issues/11099


Bot events don't work anymore

bot events don't work anymore:
@bot.event def on_ready():     # something
returns error: TypeError: event() missing 1 required positional argument: 'coro'
And bot is my slash_util init cog

This is not an issue with slash_util
You attempted to use @bot.event(), parenthesis included. This decorator does not use parenthesis.

For future questions, please ask in the discord.py server


Contradiction

This documentation seems to contradict itself on the meaning of "public" vs. "private" certificates. In the second paragraph it says this is defined by whether they are issued by a CA, but elsewhere it is shown that the distinction is whether or not the certificate contains a (password-protected) private key. Which is it?

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

ID: 7712ddfc-c5c6-da29-e84c-05bfd0ca880d
Version Independent ID: 4f2d0608-cdf4-183f-c12c-ae586eca86d5
Content: Secure B2B messages with certificates in Azure Logic Apps
Content Source: articles/logic-apps/logic-apps-enterprise-integration-certificates.md
Service: logic-apps
GitHub Login: @padmavc
Microsoft Alias: LADocs; padmavc

@TWolverson Thanks for the feedback! We are currently investigating and will update you shortly.

@TWolverson Thanks again for your feedback! We have assigned this issue to the author to investigate further and take the right course of action.

@divyaswarnkar Hi Divya, can you help answer? Thanks!

@mike-urnun-msft Mike, can you please to assign to @divyaswarnkar? She owns this area now. Thanks!

Hi,  Public certificates are purchased from a public internet certificate authority (CA) while you can create your own private certificates. This is the first distinction.
Public certificates do not require a key while private certificates do require a key. This is the second distinction between them.
Thanks.

@TWolverson We updated the article to clarify the difference between public and private certificates: https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-certificates
@mike-urnun-msft Could you #please-close, thanks!

Hey @TWolverson We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Configurable refresh rate, or try to reduce bandwidth usage overall

I spent some time trying to figure out what part of chrome was using ~200kb of bandwidth every couple of seconds and found out it was this plugin. I only had 5 repositories added, so I was surprised to find this was the culprit.
If there's no way to use the Github API in a more efficient way, at least the refresh rate should be configurable.
edit: At a minimum, call setTimeout(update, interval) after each update instead of using setInterval. The former will take request and response handling time into account.

I think a configurable option for the refresh rate is the best approach for this, and as you suggest, setTimeout.
I'll take a look at this today/tomorrow.

@jlogsdon
This should be resolved in https://github.com/imjacobclark/github-notifier/releases/tag/1.9.
Could you please verify this works as expected?

Works great, thanks.


[Schema Registry] Adds SSL support via environment variables

What changes were proposed in this pull request?
Adds sslSecrets as an extra configuration for Schema Registry deployment resource.
This allows users to specify secrets with SSL information and bind them to a Schema Registry deployment.
How was this patch tested?
Helm install dry-run to validate correct deployment definition.
Deployed in AWS cluster successfully.
If approved I can apply this to other Kafka charts as needed.

@pedro93 Thank you for this PR.
Could you kindly have a short note about how to use this (generate certs, create secrets/config maps, mounts, etc).
Thank you

Hello @gAmUssA
Thank you for taking a look at it!
I've added a commented example in charts/cp-schema-registry/values.yaml is that enough or did you have something else in mind?

@pedro93 yes, I saw those. I was thinking more example/tutorial about enabling security

Is there any example you can share that I may base myself on?


Default transferwise variants of tap-postgres and tap-mysql are incompatible with default datamill-co variants of target-postgres and target-snowflake

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2464
Originally created by @DouweM on 2020-12-01 17:15:07

As found in https://gitlab.com/meltano/meltano/-/issues/2462:

target-postgres | psycopg2.ProgrammingError: syntax error at or near "-"
target-postgres | LINE 1: CREATE TABLE tap_postgres.public-account_group ("code_prefix...

This indicates that tap-postgres (https://meltano.com/plugins/extractors/postgres.html, https://github.com/transferwise/pipelinewise-tap-postgres) is including the schema  (public) in the stream name it passes to the target (public-account_group), while target-postgres (https://meltano.com/plugins/loaders/postgres.html, https://github.com/datamill-co/target-postgres) expects the stream name to just be the table name (account_group), and it breaks when it sees the -.
I suggest using the transferwise variant of target-postgres instead: https://meltano.com/plugins/loaders/postgres--transferwise.html, https://github.com/transferwise/pipelinewise-target-postgres, which was built to be used with the tap-postgres you're currently using, and does support schemas in stream names.

We can start by mentioning this limitation under https://meltano.com/plugins/extractors/mysql.html#next-steps and https://meltano.com/plugins/extractors/postgres.html#next-steps.

View 2 previous comments from the original issue on GitLab


Empty PDF generated under Android API 29

Under Android API 29 the PDF is always empty, moving the project to API 28, or under iOS, the file is crated correctly.

Same issue, any progress?

Info please.

Its working fine for me..
On Fri, Oct 2, 2020 at 6:36 AM Martin Kastner<EMAIL_ADDRESS>wrote:

Info please.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dinesh4official/XFPDF/issues/4#issuecomment-702683883,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADARPESHOMEUPMWN2KJN7LLSIW3NDANCNFSM4OTENVZA
.
--
Vamshi Gireddy

Hi,
I changed the call to method "LoadData" with "LoadDataWithBaseURL" and that solved the issue. I tested against API 28 & 29. The change is in the Android project.
Below the complete code for the Android version:
public class PDFConverter : IPDFConverter
{
public void ConvertHTMLtoPDF(PDFToHtml _PDFToHtml)
{
try
{
var webpage = new Android.Webkit.WebView(Android.App.Application.Context);
webpage.Settings.JavaScriptEnabled = true;
#pragma warning disable CS0618 // Type or member is obsolete
webpage.DrawingCacheEnabled = true;
#pragma warning restore CS0618 // Type or member is obsolete
            webpage.SetLayerType(LayerType.Software, null);
            webpage.Layout(0, 0, (int)_PDFToHtml.PageWidth, (int)_PDFToHtml.PageHeight);
            //webpage.LoadData(_PDFToHtml.HTMLString, "text/html; charset=utf-8", "UTF-8");
            webpage.LoadDataWithBaseURL(null, _PDFToHtml.HTMLString, "text/html; charset=utf-8", "UTF-8", null);
            webpage.SetWebViewClient(new WebViewCallBack(_PDFToHtml));
        }
        catch
        {
            _PDFToHtml.Status = PDFEnum.Failed;
        }
    }
}

@guillermo-xyz Thank you, working fine with your fix.

hello,
its failing to convert entire page to pdf for Android 8 and above. I'm getting partial html page like, just top 5 lines of the html page and left of the page is blank. I see the html is fine but in Android 8 I see the Filestream size is about 1/4 of that of Filestream size from Android 5. So, i think its stopping the conversion at around 1/4 of the page.

@guillermo-xyz  thanks for your input. will modify the same in the repository.

thanks @guillermo-xyz helped a lot!
@dinesh4official seems not to be changed in the repository, just that you know


Invalid resource path

https://github.com/HackYourFutureBEHomework/class2-project-bementor-group2/blob/a1d32eae4409fc51b40a9fd83d09a673f23b838a/client/src/api/mentors.js#L4
Your model is named User the only route supported atm is /user

resolved in current version


[BEAM-5191] Support for BigQuery clustering

This takes the commits from #7061, rebases on master, and adds an enableClustering method to allow users to opt in to the updated coder when using dynamic destinations.
This follows the pattern of #6914 where we added a new version of MetadataCoder, documenting how a user could opt in and why they might want to.
This should solve the coder compatibility concerns that were the blockers to merging #7061.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @juancho088 @reuvenlax @alexvanboxel @chamikaramj who were reviewers on #7061
Also cc @wscheep who authored #7061 which is still the bulk of the code here.

Run JavaPortabilityApi PreCommit

Run Java PostCommit

FYI: I'm OOO till 6/9 so please add another reviewer if you need to get this merged early.
LGTM from my side other than the two comments I mentioned and integration tests passing.

Run Java PostCommit

LGTM from my side other than the two comments I mentioned and integration tests passing.

Addressed those comments, integration tests passed, and now I've squashed and rebased on master.

FYI: I'm OOO till 7/9 so please add another reviewer if you need to get this merged early.

I'm also OOO next week, so if there are any further changes that need to be made, I'll be back on 7/15. We have several weeks before the branch cut date for 2.15, so I don't see any point in rushing.
And thanks for the thoughtful review, @chamikaramj .

Run Java PostCommit

Run Java PostCommit

There is no warning at this point. For the case of loading to an existing
table, the operation will throw exceptions anyway if clustering is
mismatched.  Perhaps there are compile time cases we could warn about.
I will have to think more about when I'm back in office next week if we
want to block on that.
On Mon, Jul 8, 2019, 1:06 PM reuvenlax<EMAIL_ADDRESS>wrote:

@reuvenlax commented on this pull request.
In
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/TableDestinationCoderV3.java
https://github.com/apache/beam/pull/8945#discussion_r301203857:

*/
+package org.apache.beam.sdk.io.gcp.bigquery;

+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import org.apache.beam.sdk.coders.AtomicCoder;
+import org.apache.beam.sdk.coders.Coder;
+import org.apache.beam.sdk.coders.NullableCoder;
+import org.apache.beam.sdk.coders.StringUtf8Coder;
+
+/**

A {@link Coder} for {@link TableDestination} that includes time partitioning and clustering

information. Users must opt in to this version of the coder by setting one of the clustering

options on {@link BigQueryIO.Write}, otherwise {@link TableDestinationCoderV2} will be used and

clustering information will be discarded.

if a user forgets to set a clustering option but creates a
TableDestination with clustering information, will we warn them or just
silently discard?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/8945?email_source=notifications&email_token=AAFIW5DW44XOYCDV56PR263P6NXZFA5CNFSM4H3LPCH2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB5YJ5IY#pullrequestreview-259038883,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFIW5HCBJWDJJP3EH4GJE3P6NXZFANCNFSM4H3LPCHQ
.

A "good enough" solution might be to always print a warning when clustering
is not enabled. We will want to wordsmith the warning so it's not too
frightening, and it's clear that it only applies if trying to specify
clustering.
On Mon, Jul 8, 2019 at 1:11 PM Jeff Klukas<EMAIL_ADDRESS>wrote:

There is no warning at this point. For the case of loading to an existing
table, the operation will throw exceptions anyway if clustering is
mismatched. Perhaps there are compile time cases we could warn about.
I will have to think more about when I'm back in office next week if we
want to block on that.
On Mon, Jul 8, 2019, 1:06 PM reuvenlax<EMAIL_ADDRESS>wrote:

@reuvenlax commented on this pull request.
In

sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/TableDestinationCoderV3.java

https://github.com/apache/beam/pull/8945#discussion_r301203857:

*/
+package org.apache.beam.sdk.io.gcp.bigquery;

+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import org.apache.beam.sdk.coders.AtomicCoder;
+import org.apache.beam.sdk.coders.Coder;
+import org.apache.beam.sdk.coders.NullableCoder;
+import org.apache.beam.sdk.coders.StringUtf8Coder;
+
+/**

A {@link Coder} for {@link TableDestination} that includes time
partitioning and clustering

information. Users must opt in to this version of the coder by
setting one of the clustering

options on {@link BigQueryIO.Write}, otherwise {@link
TableDestinationCoderV2} will be used and

clustering information will be discarded.

if a user forgets to set a clustering option but creates a
TableDestination with clustering information, will we warn them or just
silently discard?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/apache/beam/pull/8945?email_source=notifications&email_token=AAFIW5DW44XOYCDV56PR263P6NXZFA5CNFSM4H3LPCH2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB5YJ5IY#pullrequestreview-259038883
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAFIW5HCBJWDJJP3EH4GJE3P6NXZFANCNFSM4H3LPCHQ
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/8945?email_source=notifications&email_token=AFAYJVMDVF3DPJ4JDFBEIJLP6ONN3A5CNFSM4H3LPCH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZOGXUY#issuecomment-509373395,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFAYJVKO7SCMPFTQGZWTTLTP6ONN3ANCNFSM4H3LPCHQ
.

Thanks. I agree that a compile time (or even run-time) failure is better but a warning should be OK if this is not possible for some reason.
I'll wait till this is addressed for the merge.

Run Java PostCommit

Run Java PreCommit

Run JavaPortabilityApi PreCommit

R: @chamikaramj
I've added in runtime checks for both the streaming insert and batch load cases where the transform will fail with an exception that includes instructions about how to configure clustering if a clustered destination is produced without the right coder in place.
Does this look ready to merge?

LGTM. Thanks Jeff.

Run Java PostCommit

Run Dataflow ValidatesRunner

Run Java PostCommit

Run Java PostCommit

Run Java PostCommit

Run Java PostCommit

Run Dataflow ValidatesRunner

@chamikaramj All the tests here are finally passing again after transient issues.

Thanks. Merging.


Possible wrong type when calling .guard('api').loginAs(someUser)

Package version
@adonisjs/auth 8.2.1
Node.js and npm version
v16.13.1 and 8.1.2
Sample Code (to reproduce the issue)
test('api token can be used to access authenticated routes', async ({ client }) => {

  const unauthorizedRequest = await client.get('/api/users')
  unauthorizedRequest.assertStatus(401)
  const admin = await User.findByOrFail("username", "admin");

  // Delete all tokens to actually test this.
  await Database.rawQuery(`DELETE FROM api_tokens WHERE user_id = ${admin.id}`)
  const authorizedRequest = await client.get('/api/users').guard('api').loginAs(admin)
  authorizedRequest.assertStatus(200)

})

Issue
Maybe I am doing this wrong but I am trying to write a test to verify that api token authentication is working properly.  My first issue is that I get the following type error with the above code:

My second issue is that is seems that even if I delete all of the api tokens before attempted to make the request I am still receiving a success response.  I would expect that this would fail.  Am I not doing this right?

Hey @enxoco! 👋🏻
Please check https://github.com/adonisjs/auth/issues/200

@RomainLanz Thanks for the quick reply and I apologize for not doing a thorough search before posting this.  I am assuming that I can simply upgrade the auth package to the latest version to resolve this issue?  Giving that a shot now.

Yes, and copy the PR content inside your contracts/auth.ts file where needed.

Closing since not actionable


module net/http/request addCookie error

When I init a request without a header, it will cause a error if I use AddCookie
req := http.Request{}
req.AddCookie(&http.Cookie{
	Name: "access_token",
	Value: "123",
})
// assignment to entry in nil map

Should method AddCookie check the header and init it, or the coder init the header before use AddCookie?
(relevant code: https://github.com/golang/go/blob/78c20c81aaa7d8d8a4aa2132806f51fb68f33a1e/src/net/http/request.go#L433)
PTAL.

Why not use http.NewRequest?

Thanks for reminding, it should work.

See also https://github.com/golang/go/wiki/Questions. Looks like this is resolved, closing.


does not work on python 3.11

Describe the issue
Issue https://github.com/bimmerconnected/bimmer_connected/issues/494 is not solved with https://github.com/bimmerconnected/bimmer_connected/issues/495.
Expected behavior
same as https://github.com/bimmerconnected/bimmer_connected/issues/494
Which Home Assistant version are you using?

What was the last working version of Home Assistant Core?
No response
What is your region?
Rest of world
MyBMW website

[X] I can still successfully login to the BMW MyBMW website and the car status is available there.
[X] I have MyBMW enabled for my vehicle.

Number of cars

[ ] I have 2 or more cars linked to the MyBMW account.
[X] I have a Mini vehicle linked to my account.

Output of bimmer_connected fingerprint
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response

I use the CLI and I also cannot run bimmerconnected with python 3.11. This is what I get....
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Program Files\Python\Python310\Scripts\bimmerconnected.exe_main.py", line 4, in
File "C:\Python311\Lib\site-packages\bimmer_connected\cli.py", line 16, in
from bimmer_connected.account import MyBMWAccount
File "C:\Python311\Lib\site-packages\bimmer_connected\account.py", line 17, in
from bimmer_connected.vehicle import MyBMWVehicle
File "C:\Python311\Lib\site-packages\bimmer_connected\vehicle_init.py", line 4, in
from .vehicle import ConnectedDriveVehicle, MyBMWVehicle, VehicleViewDirection  # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\bimmer_connected\vehicle\vehicle.py", line 14, in
from bimmer_connected.vehicle.location import VehicleLocation
File "C:\Python311\Lib\site-packages\bimmer_connected\vehicle\location.py", line 16, in
@dataclass
^^^^^^^^^
File "C:\Python311\Lib\dataclasses.py", line 1221, in dataclass
return wrap(cls)
^^^^^^^^^
File "C:\Python311\Lib\dataclasses.py", line 1211, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\dataclasses.py", line 959, in _process_class
cls_fields.append(_get_field(cls, name, type, kw_only))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\dataclasses.py", line 816, in _get_field
raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'bimmer_connected.models.GPSPosition'> for field location is not allowed: use default_factory

Ah, the PR got merged but we haven't released a new version yet... You'll need to use https://github.com/bimmerconnected/bimmer_connected/releases/tag/0.11.0 as soon as it is available on PyPI.

Closed as 0.11.0 is released.


The document is so incomplete about CISCO ASA supportability.

[Enter feedback here]
Example: only place doc mentions CISCO ASA is at very bottom for troubleshooter.

But nowhere does it explains how to set up CISCO ASA with AMA.
As far as I know, by default there is nowhere in DCR that connector creates has a logic to send ASA logs to CEF table.
Below is what connector DCR looks like.

But to get ASA logs below is how DCR should be configured.

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

ID: f2e85c61-71f5-e722-0e97-c6181d0e7ad8
Version Independent ID: 28aef1ff-5669-7ac6-e766-b1843084b351
Content: Stream CEF logs to Microsoft Sentinel with the AMA connector
Content Source: articles/sentinel/connect-cef-ama.md
Service: microsoft-sentinel
GitHub Login: @limwainstein
Microsoft Alias: lwainstein

you might want to review this as well.
https://github.com/Azure/Azure-Sentinel/issues/7681

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

@ankkp
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly

Noticed this still has not been updated. Also just curious as to which file the AMA agent uses for filtering Syslog.

Does this get added to the dataFlows streams, the dataSources stream, or too both to send ASA to CEF?

@DiaperEater I believe you can separate the streams out

@Angelopvtac I will test this AM and report back

#reassign:yelevin

#label:"backlog-item-created"

We are adding information about the Cisco ASA data stream to the DCR examples. Thanks for your contribution!
#please-close


Added a new close customization widget option.

showImageViewer(
context,
Image.network("https://picsum.photos/id/1001/4912/3264")
.image,
closeWidget: Container(
clipBehavior: Clip.hardEdge,
padding: const EdgeInsets.all(5),
margin: const EdgeInsets.all(10),
decoration:  BoxDecoration(
color: Colors.red.withOpacity(0.5),
shape: BoxShape.circle
),
child: const Icon(Icons.close, color: Colors.white,),
),
swipeDismissible: true,
doubleTapZoomable: true);
}),

I'd like to use this feature as well, as I'm interested in customizing the close button's icon and appearance.


[PEM] Adds Web Push, Passbook, Apple Pay and Mac Push Cert types

This adds the ability for PEM to download different App Id Certificates for the various app "Platforms". Mainly this adds Website Push, Passbook, Apple Pay and Mac Push Cert types.
This depends on #3825.
PEM portion of #3693.

Closing this with the same idea as https://github.com/fastlane/fastlane/pull/3825.


$ pip install https://s3-ap-southeast-1.amazonaws.com/posit-speedgo/tensorflow_posit-<IP_ADDRESS>.0.1.dev1-cp36-cp36m-linux_x86_64.whl

Not able to get this installed ,
Can you please specify the requirements of the machine and versions of the software

Which is exactly the error you get at installation?
Running the following commands in order gets to a successful installation on an Ubuntu 18.04 system:
pip install numpy-posit
pip install requests
pip install https://s3-ap-southeast-1.amazonaws.com/posit-speedgo/tensorflow_posit-<IP_ADDRESS>.0.1.dev1-cp36-cp36m-linux_x86_64.whl
pip install softposit

If you get an error with the TensorFlow version on your system, you can check with the different wheels that are found in https://github.com/xman/tensorflow/wiki

which python and tensorflow version is suggested ?

Python >= 3.6
A modified version of TensorFlow is installed with the wheel file and pip command mentioned in the issue title. If you have TensorFlow previously installed, I guess some problems will raise, since it is not a different-named package such as numpy-posit.
I suggest installing these packages in a virtual environment.


SOTC isn't formatting in regular bandwidth

https://stateof.creativecommons.org/ as of 8/25/2017:

I restarted everything and it looks better with a cache buster now:
https://stateof.creativecommons.org/?asdfsfds
It should settle down without the cache buster shortly. I will check after my next meeting.

OK really fixed now. I think something in supercache got corrupted somehow.
Thank you for reporting this.


Contributor Community Diversity link is broken

It's pointing to Contributor Community Diversity.

Thanks @marimeireles - could you provide the page where you found the broken link?

Oops, sorry. The main readme https://github.com/chaoss/wg-dei#focus-areas

This has been fixed in this PR https://github.com/chaoss/wg-dei/pull/449. Thanks for pointing this out, @marimeireles! 🙌


Publish to pypi

Can you publish magicblue to pypi? This makes installation for https://github.com/xiaohuim/homeassistant-magicblue a bit easier. See This tutorial for more instruction.
homeassistant-magicblue can then simply refer the egg by name (and version) and home-assistant does the rest.

Deployed on Pypi (see commit f9a2bdf79746bc68493fb682477b21c3dc58e347)

Thank you!


Skip checks for new version tags and when 'skip CI' is part of the commit message

This PR will prevent duplicate binary uploads when we bump the version using lerna as described in PUBLISH.md. As a result, CI runs will no longer have to be manually canceled for commits like https://github.com/ampproject/amp-closure-compiler/commit/bdf652f0ea952c117fbd7aad902fc76ba52a0f41.

This worked, because checks were canceled for this PR.


[5.7] Use ::class for Aws\Ses\SesClient in MailSesTransportTest

added missed ::class in test

@TBlindaruk This should be ensured by Coding Standards btw

@carusogabriel , yes, I agree.
@GrahamCampbell is it possible via StyleCI?

@GrahamCampbell is it possible via StyleCI?

StyleCI's analyses are not aware of autoloaders or other files when analyzing a project, and replacing strings that look like they could be class names would have too many false positives.
I guess this could be possible to implement with some sort of string prefix whitelisting system, however it's not currently something that's implemented. :)


Windows executable not starting inference

Description
Everything works perfectly in editor. However, when I build and run the executable, it gets stuck in the initial black screen.
In editor, when I run Start Scene, Bootstrap.cs prints many lines on the black screen, then changes to next scene.
In the executable, these lines are never printed, so my guess is that Boostrap is not loading, thus preventing inference.
Are there additional steps that I need to perform to build the final executable?
I'm using Windows 10, Unity 2021.2.14f1, and plugin SHA 3698b6145e756c0abc5b0a8f1032591c57525b6f

Solved: make sure this box is checked

Please use the build/install issue form.

Are there additional steps that I need to perform to build the final executable?

Well, you've not described what you've done, so I can't answer this question.
Most likely, you have linked mediapipe_c.dll to your local OpenCV and have not copied opencv_world3416.dll (with --include_opencv_libs) or set the path to it.
If so, I recommend you upgrade the plugin version and build it again.
Most of those path problems will be resolved automatically.
See also https://github.com/homuler/MediaPipeUnityPlugin/wiki/Installation-Guide#dllnotfoundexception.

@Neleac https://github.com/homuler/MediaPipeUnityPlugin/issues/551#issuecomment-1119236292
This step is unnecessary in the versions >= v0.8.4.


Label which links are duplicate / remove duplicate links

Some links belong in multiple categories which is how things are currently set up. If a link is repeated somewhere else, label it as a duplicate to avoid people from re-reading the same thing again. Or simply, just put next to each duplicate link something like "this link shows up in multiple categories", "duplicate", " * ", color code them, or whatever you think is easier.
Or instead of having category headers and the links below them, just have all the links shown without headers and next to each link say which categories they belong to and do not repeat any of the links. This will be better for SEO.
https://www.siteliner.com/endthefud.org?siteliner=site-dashboard&siteliner-sort=scan_time&siteliner-from=1&siteliner-message=
There are also quite a few links that bring you to the same URL but have different anchor tags referencing that particular category. I don't think this is necessary.  https://safehodl.github.io/failure is an example of this.
Find all URLs and sort them:
wget -q https://endthefud.org/ -O - |     tr "\t\r\n'" '   "' |     grep -i -o '<a[^>]\+href[ ]*=[ \t]*"\(ht\|f\)tps\?:[^"]\+"' |     sed -e 's/^.*"\([^"]\+\)".*$/\1/g' | sort
Output:
http://btcco2.com
http://btcco2.com
http://btcco2.org
http://btcco2.org
https://allenfarrington.medium.com/
https://arxiv.org/abs/1710.10377
https://bitcoinandenergy.medium.com/bitcoin-mining-and-the-case-for-more-energy-90094ce25fac
https://bitcoinmagazine.com/business/bitcoin-energy-use-compare-industry
https://bitcoinmagazine.com/business/op-ed-bitcoin-miners-consume-reasonable-amount-energy-and-its-all-worth-it
https://bitcoinmagazine.com/culture/bitcoin-vs-world-military-emissions
https://bitcoinmagazine.com/culture/the-hidden-costs-of-the-petrodollar
https://bitcoin.stackexchange.com/questions/6062/what-effects-would-a-scalable-quantum-computer-have-on-bitcoin
https://blog.coinbase.com/fact-check-is-bitcoin-mining-environmentally-unfriendly-3559823af6f1
https://blog.getadmiral.com/registration-wall
https://blog.lopp.net/are-chinese-miners-threat-bitcoin/
https://blog.lopp.net/are-chinese-miners-threat-bitcoin/
https://blog.lopp.net/who-controls-bitcoin-core-/
https://blog.trezor.io/three-myths-about-bitcoins-energy-consumption-ef613a1f3d5
https://casebitcoin.com/critiques
https://casebitcoin.com/critiques/bitcoin-can-be-cloned
https://casebitcoin.com/critiques/bitcoin-gets-hacked
https://casebitcoin.com/critiques/bitcoin-is-a-bubble
https://casebitcoin.com/critiques/bitcoin-is-pumped-by-tether
https://casebitcoin.com/critiques/bitcoin-is-used-by-criminals
https://casebitcoin.com/critiques/bitcoin-wastes-energy
https://casebitcoin.com/critiques/china-controls-bitcoin
https://casebitcoin.com/critiques/gov-will-shut-it-down
https://casebitcoin.com/critiques/no-intrinsic-value
https://coinshares.com/research/bitcoin-mining-network-december-2019
https://danhedl.medium.com/bitcoins-distribution-was-fair-e2ef7bbbc892
https://danhedl.medium.com/pow-is-efficient-aa3d442754d3
https://danheld.substack.com/p/dont-fear-tether
https://dergigi.com/2018/06/10/bitcoin-s-energy-consumption/
https://dergigi.com/2021/08/02/implications-of-outlawing-bitcoin/
https://dergigi.com/bitcoin/
https://docsend.com/view/adwmdeeyfvqwecj2
https://download.wpsoftware.net/bitcoin/pos.pdf
https://endthefud.org/altcoins
https://endthefud.org/ban
https://endthefud.org/china
https://endthefud.org/control
https://endthefud.org/criminals
https://endthefud.org/energy
https://endthefud.org/governments
https://endthefud.org/inflation
https://endthefud.org/justice
https://endthefud.org/miners
https://endthefud.org/money
https://endthefud.org/ponzi
https://endthefud.org/PoS
https://endthefud.org/PoW
https://endthefud.org/tech
https://en.m.wikipedia.org/wiki/Subjective_theory_of_value
https://github.com/libbitcoin/libbitcoin-system/wiki/ASIC-Monopoly-Fallacy
https://github.com/libbitcoin/libbitcoin-system/wiki/Cryptoeconomics
https://github.com/libbitcoin/libbitcoin-system/wiki/Energy-Exhaustion-Fallacy
https://github.com/libbitcoin/libbitcoin-system/wiki/Energy-Waste-Fallacy
https://github.com/libbitcoin/libbitcoin-system/wiki/Proof-of-Stake-Fallacy
https://github.com/libbitcoin/libbitcoin-system/wiki/Regression-Fallacy
https://github.com/libbitcoin/libbitcoin-system/wiki/Shitcoin-Definition
https://github.com/libbitcoin/libbitcoin-system/wiki/Value-Proposition
https://github.com/pox/EndTheFUD
https://github.com/pox/EndTheFUD
https://hackernoon.com/the-bitcoin-vs-visa-electricity-consumption-fallacy-8cf194987a50
https://hassmccook.medium.com/comparing-bitcoins-environmental-impact-f56b18014f64
https://hbr.org/2021/05/how-much-energy-does-bitcoin-actually-consume
http://shitcoin.review
http://shitcoin.review
https://hugonguyen.medium.com/
https://hugonguyen.medium.com/proof-of-stake-the-wrong-engineering-mindset-15e641ab65a2
https://hugonguyen.medium.com/work-is-timeless-stake-is-not-554c4450ce18
https://journal.bitcoinreserve.com/bitcoin-a-bold-american-future/
https://mdotbit.medium.com/addressing-concerns-about-bitcoins-electricity-use-378e0de4af42
https://medium.com/@BobMcElrath/whats-wrong-with-proof-of-stake-77d4f370be15
https://medium.com/coinshares/beware-of-lazy-research-c828c900b7d5
https://medium.com/hackernoon/asic-resistance-is-nothing-but-a-blockchain-buzzword-b91d3d770366
https://medium.com/hackernoon/betterhash-decentralizing-bitcoin-mining-with-new-hashing-protocols-291de178e3e0
https://medium.com/hackernoon/bitcoin-miners-beware-invalid-blocks-need-not-apply-51c293ee278b
https://medium.com/hackernoon/green-energy-and-bitcoin-eb7961f38382
https://medium.com/john-pfeffer/an-institutional-investors-take-on-cryptoassets-690421158904
<EMAIL_ADDRESS>https://medium.com/@mukeat/carbon-footprint-differences-btc-vsbanks-a5f8f0b844d0
https://medium.com/@nic__carter
https://medium.com/@nic__carter/a-most-peaceful-revolution-8b63b64c203e
https://medium.com/@nic__carter/in-support-of-the-proof-of-work-un-fair-launch-cd6e8f06358f
https://medium.com/@nic__carter/its-the-settlement-assurances-stupid-5dcd1c3f4e41
https://medium.com/@nic__carter/noahbjectivity-on-bitcoin-mining-2052226310cb
https://medium.com/@nic__carter/on-bitcoin-the-gray-lady-embraces-climate-lysenkoism-a2d31e465ec0
https://medium.com/stakin/centralization-of-stake-in-pos-f7ccb8f8254
https://mises.org/library/inflation-and-deflation
https://nakamotoinstitute.org/literature/
https://nakamotoinstitute.org/mempool/bitcoin-cannot-be-banned/
https://nakamotoinstitute.org/mempool/bitcoin-cant-be-copied/
https://nakamotoinstitute.org/mempool/bitcoin-does-not-waste-energy/
https://nakamotoinstitute.org/mempool/bitcoin-is-not-a-pyramid-scheme/
https://nakamotoinstitute.org/mempool/bitcoin-is-not-backed-by-nothing/
https://nakamotoinstitute.org/mempool/bitcoin-is-not-for-criminals/
https://nakamotoinstitute.org/mempool/bitcoin-is-not-too-slow/
https://nakamotoinstitute.org/mempool/bitcoin-is-not-too-volatile/
https://nakamotoinstitute.org/mempool/bitcoin-is-the-great-definancialization/
https://nakamotoinstitute.org/mempool/bitcoin-not-blockchain/
https://nakamotoinstitute.org/mempool/bitcoin-obsoletes-all-other-money/
https://nakamotoinstitute.org/mempool/ethereum-is-doomed/
https://nakamotoinstitute.org/mempool/how-we-know-bitcoin-is-not-a-bubble/
https://nakamotoinstitute.org/mempool/speculative-attack/
https://nakamotoinstitute.org/mempool/the-bitcoin-central-banks-perfect-monetary-policy/
https://nakamotoinstitute.org/mempool/the-bullish-case-for-bitcoin/
https://nakamotoinstitute.org/shelling-out/
https://nymag.com/intelligencer/2021/05/jack-dorsey-says-bitcoin-is-climate-friendly-is-he-right.html
https://quillette.com/2021/02/21/can-governments-stop-bitcoin/
https://safehodl.github.io/failure
https://safehodl.github.io/failure/#block-rewards-will-stop
https://safehodl.github.io/failure/#can-be-forked-infinitely
https://safehodl.github.io/failure/#central-bank-digital-currencies
https://safehodl.github.io/failure/#disinflationary-money-breaks-the
https://safehodl.github.io/failure/#governments-will-stop
https://safehodl.github.io/failure/#miners-are-centralized-and
https://safehodl.github.io/failure/#quantum-computing-will-break
https://safehodl.github.io/failure/#scarcity-can-be-changed
https://saifedean.com/book/
https://saifedean.com/book/
https://timevalueofbtc.medium.com/
https://tomerstrolight.medium.com/
https://tomerstrolight.medium.com/bitcoins-fundamental-value-is-that-it-is-the-most-excellent-money-that-exists-24be5e1d6b98
https://tomerstrolight.medium.com/the-problem-with-ethereum-af9692f4af95
https://tomerstrolight.medium.com/why-bitcoins-imitators-are-scams-e38fab4c78ba
https://tomerstrolight.medium.com/why-bitcoin-the-series-660fe20ec244
https://tonevays.com/
https://tonevays.com/blog/what-is-crypto-decentralization-and-why-bitcoin-stands-alone
https://unchained-capital.com/blog/author/plewis/
https://unchained-capital.com/blog/bitcoin-is-antifragile/
https://voskuil.org/cryptoeconomics/
https://www.amazon.com/Thank-God-Bitcoin-Corruption-Redemption/dp/1641991216/ref=sr_1_1?dchild=1&keywords=thank+god+for+bitcoin&qid=1607152012&sr=8-1
https://www.citadel21.com/bitcoin-is-the-first-global-market-for-electricity-and-will-unleash-renewables
https://www.coincenter.org/how-bitcoin-could-drive-the-clean-energy-revolution/
https://www.coindesk.com/bitcoin-mining-wastes-energy-thats-good-thing
https://www.coindesk.com/frustrating-maddening-all-consuming-bitcoin-energy-debate
https://www.coindesk.com/the-last-word-on-bitcoins-energy-consumption
https://www.coindesk.com/what-bloomberg-gets-wrong-about-bitcoins-climate-footprint
https://www.fidelitydigitalassets.com/articles/addressing-bitcoin-criticisms
https://www.fidelitydigitalassets.com/articles/addressing-bitcoin-criticisms
https://www.fidelitydigitalassets.com/articles/addressing-bitcoin-criticisms
https://www.fidelitydigitalassets.com/articles/addressing-bitcoin-criticisms
https://www.fidelitydigitalassets.com/articles/addressing-bitcoin-criticisms
https://www.forbes.com/sites/rogerhuang/2020/12/21/heres-why-quantum-computing-will-not-break-cryptocurrencies/?sh=24a95b3c167b
https://www.lopp.net/bitcoin-information/getting-started.html
https://www.lopp.net/bitcoin-information/getting-started.html#misconceptions
https://www.lynalden.com/author/penumbra/
https://www.lynalden.com/bitcoin-ponzi-scheme/
https://www.lynalden.com/bitcoin-security-modeling/
https://www.lynalden.com/bitcoins-network-effect/
https://www.lynalden.com/ethereum-analysis/
https://www.lynalden.com/fraying-petrodollar-system/
https://www.lynalden.com/misconceptions-about-bitcoin/
https://www.lynalden.com/misconceptions-about-bitcoin/
https://www.lynalden.com/misconceptions-about-bitcoin/
https://www.lynalden.com/misconceptions-about-bitcoin/
https://www.pairagraph.com/dialogue/9f0dfc47978740ebb0439efaadf23f41/2
https://www.swanbitcoin.com/bitcoins-energy-usage-is-not-a-problem-heres-why-by-lyn-alden/
https://www.theblockcrypto.com/post/11481/asic-chip-technology-is-renewable-energys-future
https://www.truthcoin.info/blog/measuring-decentralization/
https://www.truthcoin.info/blog/pos-still-pointless/
https://www.truthcoin.info/blog/pow-and-mining
https://www.truthcoin.info/blog/pow-cheapest/
https://www.upstreamdata.ca/post/natural-gas-venting-how-bitcoin-solved-a-160-year-old-problem
https://youtu.be/ns_I2LpeAbQ?t=26084
Find only duplicates:
 wget -q https://endthefud.org/ -O - |     tr "\t\r\n'" '   "' |     grep -i -o '<a[^>]\+href[ ]*=[ \t]*"\(ht\|f\)tps\?:[^"]\+"' |     sed -e 's/^.*"\([^"]\+\)".*$/\1/g' | sort | uniq -d
Output:
http://btcco2.com
http://btcco2.org
https://blog.lopp.net/are-chinese-miners-threat-bitcoin/
https://github.com/pox/EndTheFUD
http://shitcoin.review
https://saifedean.com/book/
https://www.fidelitydigitalassets.com/articles/addressing-bitcoin-criticisms
https://www.lynalden.com/misconceptions-about-bitcoin/

If visited links don't change colors then it's definitely a CSS problem. I'll get on it.

Ok the CSS is one thing for previously visited links but another CSS thing of coloring duplicate links.
If you want more traffic to endthefud.org from search engine results, it would be best to get rid of duplicate links so that endthefud.org can rank higher on search engines.
I think the whole page should be better organized. Get rid of duplicate links. Show the link only once. But show multiple categories under that one and only link.
Maybe try something like this:
Link
Categories:

Energy
Governments
Etc.

What would be even better is if you implement some sort of filtering mechanism for each category. For example, if I filter by Energy then all links that have the Energy category will be returned.

Ok the CSS is one thing for previously visited links but another CSS thing for coloring duplicate links. If coloring links, have a color key somewhere on the page that tells everybody that this colored link is a duplicate and this colored link is previously visited.

Once a link is visited, all its duplicates should appear as visited links in the page.

If you want more traffic to endthefud.org from search engine results, it would be best to get rid of duplicate links so that endthefud.org can rank higher on search engines.

Honestly I don't really care about SEO. The organization of the website is meant to help people easily find all the relevant articles by topic. I don't want people to need to scan a long list of articles of unrelated topics just to tease out articles for a specific one. That's why I think duplicate links are fine. If it hurts SEO so be it. I'm optimizing for this page to be used as a bookmark collection basically where the lookup is by topic, not by article, not by author, etc.

What you could add also is some sort of filtering mechanism for each category. For example, if I filter via a dropdown menu or checkbox by Energy then all links that have the Energy category will be returned. If you filter by Energy and Governments then only links with Energy and Governments combined will be returned.

There are some guys working on a twitter bot like this. Where you can mention the bot and one or more tags and you get relevant articles in a response. It's a nice concept. Doing it on a statically generated website like this isn't trivial, though. Probably requires some custom JS and I'm not sure if that jibes well with Github Pages to be honest. If someone can show me a proof-of-concept page that does this using Github Pages I'll be happy to consider adding tag filtering to endthefud.

I've updated the CSS to show visited links in purple. This ameliorates the problem somewhat, although some links (especially those opening in Medium, I've noticed) still don't get colored properly on my mobile device. Maybe it's because they're opened by the Medium app instead of the browser itself... if someone knows how to fix this I'd be eager to learn.

Ok that is fine. What about putting something like an * or something like (duplicate) next to each duplicate link then to indicate that it is a duplicate?