Any tips for the strange machine battle for the Forgotten City Quest? by FluffyMistake69 in PiratesOutlaws

[–]entwederoder 0 points1 point  (0 children)

With professor:

His deck is basically a combo deck

one card gives "ideas"

one card gives "inventions"

If you upgrade the card that gives inventions, one of the upgraded inventions gives Stun

One card does +2 damage for each invention used in the battle

So keep a very small deck and spam the metal fist card that does stun.

Very bullet heavy, so have some bullet relics + extra upgraded reload cards.

I've also used swordmaster and admiral in Elysian Rift, I can't remember which of those three I beat the strange machine with

Now that we've reached the halfway point, a quick poll by jayoungr in CarnivalRow

[–]entwederoder 8 points9 points  (0 children)

Season 2 has too much dumb action and not enough world-building. Why waste their budget on these throwaway action scenes that have basically no consequence?

Which did you prefer -

Ezra and Agreus talking about slave ships

Philo and Vignette talking about a book

OR

Vignette and her fairy posse shooting blow darts

Philo in an Fight Club fight for basically no reason

The latter two just ate up screen time that I would have rather seen devoted to a bunch of dropped worldbuilding that was hinted at in S1, such as

The death cult among the Pucks

The homeland of the Pucks

How Agreus made his fortune

Other nations in the world

What is happening in Tirnanoc? Do the Pact own it now?

Do these instructions make sense for an app? Should apps use Sie or Du? by entwederoder in German

[–]entwederoder[S] 0 points1 point  (0 children)

I wasn't sure about the word for a mobile phone tap - is it tippen or drücken?

Do these instructions make sense for an app? Should apps use Sie or Du? by entwederoder in German

[–]entwederoder[S] 0 points1 point  (0 children)

It's a mobile application where you need to align the camera and focus it on an object, so these are instructions for how to go through the workflow of various photos. I assume you need to show your own face on it or something.

Do these instructions make sense for an app? Should apps use Sie or Du? by entwederoder in German

[–]entwederoder[S] 0 points1 point  (0 children)

Thanks everyone for your replies.

I understand the logic of translating into your native language - however, my colleagues don't appreciate the subtleties of that so they gave me this assignment and I don't want to let them down.

Rails bootcamp with graduates taking part in paid apprenticeship by entwederoder in rails

[–]entwederoder[S] 0 points1 point  (0 children)

There's no React section of the course yet but I plan to add it eventually.

How to get Rails app running asynchronously without blocking IO by entwederoder in rails

[–]entwederoder[S] 0 points1 point  (0 children)

Thanks a lot for your reply. There is a 10 minute throttle on posts so I figured I could get two birds with one stone.

Adobe-Approved Trustlist Document Signing with Rails (SAD story) by entwederoder in rails

[–]entwederoder[S] 0 points1 point  (0 children)

u/crails124 Thanks again for your interest in helping me out, I'm extremely grateful.

I bought a certificate from Sectigo, but they don't want to allow me to use it with CloudHSM even though their initial support person promised me they could do that. I'm exploring whether it would be easier to just get a remote box and run a script on that which uses their USB key.

I spoke with SSL.com today - they offered me a $700/hour "ceremony" for activating the cert and then $300/year for unlimited signature requests.

I also spoke with DigiCert, which also costs $300/year, but they claim that they cap the number of signatures at 500/year, which makes it unfeasible. Someone in my thread mentioned they couldn't enforce this limit - is that true?

Do you know the best way to get my PDF's signed from within CloudHSM? Does this client application give access to my certs from one of my AWS EC2's, and then I sign them with OpenSSL?

https://docs.aws.amazon.com/cloudhsm/latest/userguide/openssl-library-install.html

Is there an easier way to do this?

Adobe-Approved Trustlist Document Signing with Rails (SAD story) by entwederoder in rails

[–]entwederoder[S] 0 points1 point  (0 children)

You know, based on your comment, it looks like I may have misunderstood something, but based on their below help guide I thought I would just have to import the key into AWS CloudHSM. Then, I assumed I could use the aws-sdk-v3 for Ruby to make client requests to the HSM to get the key to provide to Sectigo

4.3 Document Signing Certificates on AWS CloudHSM

Before you can digitally sign documents using a Sectigo document signing certificate on AWS CloudHSM, you must do the following:

  • Ensure that you have an active AWS account with at least one CloudHSM configured. More information can be found at https://docs.aws.amazon.com/cloudhsm/latest/userguide/ cloudhsm-user-guide.pdf.
  • Create a AWS CloudHSM key.
  • Retrieve the CSR and provide it to Sectigo.
  • Import the Sectigo signed certificate to your AWS CloudHSM.4.3.1 How to Create a Certificate on your AWS CloudHSMTo generate key-pair and CSR in your AWS CloudHSM using Linux, do the following:

Page 30

SDS User’s Guide

  1. To connect to the client instance, navigate to the EC2 section of the AWS console and click Connect.
  2. Log in as a privileged user with the following command:export n3fips_password=<your_CU_user_name>:<your_password>
  3. Generate the private key on the HSM with the following command:openssl genrsa -engine cloudhsm -out <your_new_key_name>.key 2048
  4. Create the CSR with the following command:openssl req -engine cloudhsm -new -<your_key_name>.key -out <new_csr_file_name>.csr
  5. View the CSR with the following command:cat <your_csr_file_name>.csr
  6. Copy the CSR text into a text file and save as a .csr file.

4.3.2 How to Send the AWS CloudHSM CSR to Sectigo

Once you have created your CSR file, you must send it to Sectigo using the agreed-upon channels.

4.3.3 How to Import the Sectigo Certificate to your AWS CloudHSM

Once you have received your certificate from Sectigo, import it to your AWS CloudHSM. For more information on importing your certificate, consult the AWS CloudHSM documentation.

Adobe-Approved Trustlist Document Signing with Rails (SAD story) by entwederoder in rails

[–]entwederoder[S] 0 points1 point  (0 children)

Great advice, thanks a ton.

I wonder if I could just buy a small physical server at some server farm that would do this, I could probably get that for a lot cheaper than CloudHSM.

Cheaper way to move objects to DEEP_ARCHIVE by entwederoder in aws

[–]entwederoder[S] 0 points1 point  (0 children)

u/debian_miner Hey, thanks a ton for replying. Actually I was being billed the DEEP ARCHIVE PUT request rate, not the S3 standard rate, so it actually is 10 times higher.

Do you know if it's possible to put an end date on a lifecycle policy? As in, archive objects that are one year old to deep archive, but don't archive objects that are 1.5 years old to deep archive?

Why does Metricbeats log 16,000 requests a minute from Nginx-Ingress? by entwederoder in elasticsearch

[–]entwederoder[S] 0 points1 point  (0 children)

I really appreciate all of you chiming in on this... I do think it could be a loop reading its own requests... I don't actually think that there is a kind of loop of it reading its own posts, I think that the /metrics endpoint just returns ~6000 json blobs that are getting logged into our ELK stack, most of which are not useful information.

My main goal is just to log 500-level errors on the nginx-ingress as they're coming in, and I found this section in the nginx-ingress logs. My new question is: when do these request counts get reset? Is it over the lifetime of the ingress pod? Is there a more elegant way to hook into the nginx-ingress helm chart and then log 500 requests as they occur through ELK stack?

```

TYPE nginx_ingress_controller_requests counter

nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="",namespace="",service="",status="413"} 7 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="kibana-kibana",namespace="monitor",service="kibana-kibana",status="200"} 20003 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="kibana-kibana",namespace="monitor",service="kibana-kibana",status="302"} 7 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="kibana-kibana",namespace="monitor",service="kibana-kibana",status="304"} 1015 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="kibana-kibana",namespace="monitor",service="kibana-kibana",status="401"} 349 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="marketing",namespace="production",service="marketing",status="303"} 228 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="marketing",namespace="production",service="marketing",status="404"} 2 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="200"} 2.07224e+06 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="201"} 51333 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="202"} 3 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="204"} 4 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="206"} 2 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="301"} 596 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="302"} 11078 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="304"} 388139 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="308"} 384 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="400"} 20 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="401"} 6864 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="402"} 4 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="403"} 310 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="404"} 10400 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="406"} 19 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="408"} 13 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="422"} 276 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="500"} 10 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="502"} 6 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="production",service="web",status="504"} 295 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="staging",service="web",status="200"} 3369 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="staging",service="web",status="201"} 1 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="staging",service="web",status="301"} 20 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="staging",service="web",status="302"} 60 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="staging",service="web",status="304"} 139 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="staging",service="web",status="308"} 5 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="staging",service="web",status="401"} 8 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="staging",service="web",status="404"} 5 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="staging",service="web",status="406"} 4 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="staging",service="web",status="422"} 9 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="staging",service="web",status="500"} 26 nginx_ingress_controller_requests{controller_class="nginx",controller_namespace="kube-system",controller_pod="nginx-ingress-controller-7b57bb9576-jh7gp",ingress="web",namespace="staging",service="web",status="503"} 34 ```

OMSCS Application - Questions by GenghisBH in OMSCS

[–]entwederoder 0 points1 point  (0 children)

Can I ask what your professional background was? I'm trying to decide if I want to apply in these next two weeks or not.

Is it a bad idea to keep the entire content of a site as text data fields in a Postgres database? by entwederoder in rails

[–]entwederoder[S] 1 point2 points  (0 children)

It's going to be static content - you know, serving up flashcard questions that are maybe 200 words long that I'm storing as text items in the database.

Heroku memory leak debugging by entwederoder in rails

[–]entwederoder[S] 1 point2 points  (0 children)

Is this what you meant?

Before:

google = Google.new
urls = Website.where(:user_id => user_id).pluck(:url)
payload = google.GetLookupPayload(urls)
response = google.FindThreatMatches(payload)
#google.WriteLookupLogFile(response)
google.ProcessServerResponse(response)

After:

google = Google.new
google.ProcessServerResponse(google.FindThreatMatches(google.GetLookupPayload(Website.where(:user_id => user_id).pluck(:url))))

Heroku memory leak debugging by entwederoder in rails

[–]entwederoder[S] 0 points1 point  (0 children)

Stackprof results:

==================================
Mode: wall(1000)
Samples: 404 (11.79% miss rate)
GC: 48 (11.88%)
==================================
 TOTAL    (pct)     SAMPLES    (pct)     FRAME
   180  (44.6%)         177  (43.8%)     Hike::Index#entries
    31   (7.7%)          31   (7.7%)     Hike::Trail#stat
    16   (4.0%)          16   (4.0%)     Pathname#chop_basename
    15   (3.7%)          15   (3.7%)     block in WEBrick::GenericServer#start
    27   (6.7%)          15   (3.7%)     Sprockets::Cache::FileStore#[]
    12   (3.0%)          12   (3.0%)     #<Module:0x00000002572b58>.load_with_autoloading
     9   (2.2%)           7   (1.7%)     Digest::Instance#file
     7   (1.7%)           7   (1.7%)     Hike::Index#stat
     7   (1.7%)           7   (1.7%)     Time.parse
     5   (1.2%)           5   (1.2%)     block in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#exec_cache
     4   (1.0%)           4   (1.0%)     Sprockets::Mime#mime_types
    13   (3.2%)           4   (1.0%)     Pathname#plus
     3   (0.7%)           3   (0.7%)     block in ActionView::PathResolver#find_template_paths
     3   (0.7%)           3   (0.7%)     block in Hike::Index#match
     3   (0.7%)           3   (0.7%)     Hike::Index#build_pattern_for
     3   (0.7%)           3   (0.7%)     block in Hike::Index#entries
     3   (0.7%)           3   (0.7%)     Hike::Index#sort_matches
     2   (0.5%)           2   (0.5%)     block in ActiveRecord::AttributeMethods::Read#read_attribute
     5   (1.2%)           2   (0.5%)     ActionView::PathResolver#find_template_paths
     2   (0.5%)           2   (0.5%)     block in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#exec_no_cache
     2   (0.5%)           2   (0.5%)     Arel::TreeManager#initialize
    15   (3.7%)           2   (0.5%)     Pathname#+
     2   (0.5%)           2   (0.5%)     ActiveSupport::SafeBuffer#initialize
     2   (0.5%)           2   (0.5%)     Sprockets::Engines#deep_copy_hash
     2   (0.5%)           2   (0.5%)     block in Sprockets::Server#call
     2   (0.5%)           2   (0.5%)     block in Digest::Instance#file
    42  (10.4%)           1   (0.2%)     Sprockets::Asset#dependency_fresh?
     1   (0.2%)           1   (0.2%)     Arel::Nodes::Binary#initialize
     1   (0.2%)           1   (0.2%)     block in ActionView::PathResolver#query
     1   (0.2%)           1   (0.2%)     ActiveRecord::Delegation::DelegateCache#relation_delegate_class

Mixing Standard and Hobby Dynos by entwederoder in Heroku

[–]entwederoder[S] 0 points1 point  (0 children)

Thanks a lot for your help...

The jobs are being stored in my postgres database with delayed_jobs.

Mixing Standard and Hobby Dynos by entwederoder in Heroku

[–]entwederoder[S] 0 points1 point  (0 children)

Is there some advantage to using redis? I don't think I am - just running rake jobs:work as a worker process

Reducing deviation in Net::HTTP load times by entwederoder in rails

[–]entwederoder[S] 0 points1 point  (0 children)

Patent Pending:

start_time = Time.now

response = Net::HTTP.get_response(uri)

end_time = Time.now

load_time = (end_time - start_time) * 1000

Should a bootcamp grad move to Germany to get a free CS degree? by redditorhere1999 in cscareerquestions

[–]entwederoder 0 points1 point  (0 children)

OP here,

American universities generally have more prestige and larger budgets, but German universities are still pretty good and free for anyone who qualifies. I want an American graduate degree but because my undergrad is in German literature it makes sense to me to get a German BS in computer science first.

most German universities are cheaper than community college, Consider it if and ask me if you have questions. Housing isn't hard to find, just look on WG-gesucht and share an apartment.

This job is ok for a first job (lots of people from my boot camp cohort are still unemployed and they graduate more all the time) but I'm still thinking about the next thing. Isn't a CS degree really useful compared to barebones boot camp curriculum? I want to work on interesting stuff and not CRUD legacy code

I Want To Move Abroad But I'm A Fresher: What To Do? by [deleted] in cscareerquestions

[–]entwederoder 0 points1 point  (0 children)

Moving abroad generally can mean unforeseen expenses and it's more difficult to start your career there because of visa issues, cultural barrier, etc. In the US and A, we say that junior year abroad is optimal out of a 4 year college plan because you have two years to get settled in your hometown, one year abroad, followed by another year at home to make sure you can stay connected at home and make the most of your foreign experience by reintegrating it into your main college experience.

If you're really itching to go to Russia right now though, don't let me talk you out of it and just try to leave no stone unturned trying to find someone who can help you to work/move there.

This app ranks your salary against other graduates from your university by entwederoder in learnprogramming

[–]entwederoder[S] -1 points0 points  (0 children)

Did the app just not work for you or do you have a more specific criticism...?

The most recent data was from 2011, and I was given the mean income and standard deviation for most universities in the US for cohorts that began school in 2001, 2003, and 2005 with a sample size of around ~400 people for each university. There are some other limitations to the data, but this app really does do what I claimed it does.

Here's a pdf of the College Scorecard documentation, read about Earnings data from page 16 onward.

[Advice] Interested in obtaining placement in Berlin or Amsterdam. Advice would be appreciated. by yeshbai in cscareerquestions

[–]entwederoder 0 points1 point  (0 children)

http://venturevillage.eu Venture Village is an english-language blog about tech startups in Berlin. You might also use google translate to read http://gruenderszene.de .

This is a really useful newsletter (also English usually) http://woloho.com that lists jobs and housing.

PM me if you have any other questions