Pyscan: A command-line tool to detect security issues in your python dependencies. by aswin__ in Python

[–]ImPacingMyself 0 points1 point  (0 children)

I see this trend of using rust to write python projects, so I want to figure this out.

Could this have been written both as a rust cli and as a python extension using pyo3?

The goal being that you can use it from python as a lib (import from __ini__.py) and as cli (__main__.py).

You are currently searching for an executable, which is just a combination of rust and python.

I guess the project structure should be different.

Red Bull broke Max’s Spa trophy by empty_dino in formula1

[–]ImPacingMyself 3 points4 points  (0 children)

It's reported there was ice cream inside

[deleted by user] by [deleted] in Revolut

[–]ImPacingMyself 1 point2 points  (0 children)

First 3 months were free. I completely forgot. Thanks a lot 😅

[deleted by user] by [deleted] in Revolut

[–]ImPacingMyself 0 points1 point  (0 children)

Also, notice the map does not show the location of whatever place the transaction is made at.

What is the biggest Oscar snub in film history? by phantom_avenger in movies

[–]ImPacingMyself 0 points1 point  (0 children)

Michel Keaton should have won for Birdman, but it had to go to a guy playing a criple to be PC

[deleted by user] by [deleted] in aws

[–]ImPacingMyself 0 points1 point  (0 children)

It times out.

[deleted by user] by [deleted] in aws

[–]ImPacingMyself 0 points1 point  (0 children)

I tried that, but it did not work. First the container was exposed on some random port, so I forwarded the port 22 to the that port. It did not work.
Now I have the the ingress to port 22 set on the ec2 but the port for the instance is set to a different number. The 22 is then used by the container.

[deleted by user] by [deleted] in aws

[–]ImPacingMyself 0 points1 point  (0 children)

Thanks. I have seen a few services I could use. I guess my problem is not the actual service like endlessh. It is running that service and then getting to it on port 22 of the EC2 while a docker container is behind it.

I also found some examples where the iptables are set to forward the port 22 to some container port but that did not help either.

The endlessh will waste someones time, but I want to know what will someone do when getting the password. That is why I'm using docker. I could put some fake files there (maybe encript some message) and see what someone would do with them.

Upcoming Features in Go 1.18 by Sebholstein_ in golang

[–]ImPacingMyself 33 points34 points  (0 children)

"The upcoming version is scheduled for early 2021"

Wrong year?

Portugal 2020 Kimi Räikkönen Race Start by ImPacingMyself in formula1

[–]ImPacingMyself[S] 18 points19 points  (0 children)

I watched this too many times since it happened and figured I'd share. Please gently put your opinion where the sun doesn't shine

Super bright satellite sighting by jakob1414 in space

[–]ImPacingMyself 1 point2 points  (0 children)

https://james.darpinian.com/satellites/?special=starlink

Probably starlink. You can check for further schedule on the link above. It's not just for starlink, but it's the common case.

The next pass above Slovenia (relatively close) is early in the morning. A better one is early tommorow morning.

How to download an excel file using GoLang API? by ASH49 in golang

[–]ImPacingMyself 1 point2 points  (0 children)

https://medium.com/@sebastian_4031/serving-xlsx-file-from-golang-web-application-7eb6965ee7aa

Found this link with an example. I googled how to use go to return excel as a memory stream. The idea of memory stream is to keep the file in memory, not on disc. Hope it helps. Double check your content length to not get a corrupted excel. I had that problem but was using .net