on-internet

Hierarchical Clustermap with 0 sum columns and ValueError

As part of my research, I have made hierarchical cluster maps of antimicrobial genes found in the samples. I successfully made clustermaps by dropping antibiotic genes that didn't appear in the sample group (meaning the sum of how many times an antibiotic gene was found in a sample group was 0). But my professor asked me to calculate the root mean square deviation between groups. He asked me to add the missing genes. Here I ran into trouble. The only thing I got was: "ValueError: The condensed distance matrix must contain only finite values". Naturally, I assumed it was a "division-by-zero pro

Join the discussion →

Oracle Reports 12c – REP-51002: Bind to Reports Server failed when accessing showjobs

When I try to access the following URL to view Reports Server jobs: `http://:9002/reports/rwservlet/showjobs?server= REP-51002: Bind to Reports Server rep60_gems3 failed. The Reports Servlet is accessible from the browser, but it fails to establish a connection with the specified Reports Server. What I need help with What are the possible causes of REP-51002 when accessing the showjobs URL? How can I verify whether the Reports Servlet can discover and communicate with the Reports Server? Are there any specific UDP ports or network configurations that need to be checked in rwnetwork.conf? How c

Join the discussion →

boolean validating String length before appending char at the end

I was given an assignment, see for requirements: Class InputElement: Properties: private int maxLength> private String value Constructor: accepts int maxLength and initializes value to an empty string. Methods: validate(): return true if value length is between 1 and maxLength getValue(), setValue(char c): the setter appends c to value or removes the last character if c is '/'. Use the validate method tocheck if the to be added value is valid and will only add the character to the value if it is valid. and here is the code that I made for it: public class InputElement { private int maxLength;

Join the discussion →

How to filter patreon posts

Patreon API (https://docs.patreon.com) provides us with means to access ALL posts or INDIVIDUAL post using the following end points: GET /api/oauth2/v2/campaigns/{campaign_id}/posts GET /api/oauth2/v2/posts/{id} First end point returns hundreds of posts in a paginated manner. Second one returns a single post if you have an id. I want something in between. I want to add a filtering mechanism in place so user can get only the posts she is interested in, for example: posts between 2 specified dates posts with similar/partial titles etc. When I looked at their API, I could not spot anything obviou

Join the discussion →

What safety precautions should I take when visiting someone I know for the first time?

submitted by ovi to asklemmy 2 points | 2 comments I’m visiting someone I know at their home for the first time and want to take sensible safety precautions. I have an AirTag in my wallet, and I share my location with a trusted friend who lives in another country. What else would you recommend, especially since my friend won’t be nearby if I need help?

Join the discussion →

How to get the cell value from a linked worksheet

Don't seem to be able to read a value from a cell in a linked (closed) worksheet. The code below just seems to stop before reaching the MsgBox "test 2" test line with no error displayed. The return from the function is then always #VALUE Private Function GetCellTest() As Variant CellPath = "'C:\...\[Nov.xlsx]Sheet1'!A1" MsgBox "test 1" CellPathValue = CellPath.Value MsgBox "test 2" GetCellTest = CellPathValue End Function

Join the discussion →

Excel VBA - How to get the cell value from a linked worksheet

Don't seem to be able to read a value from a cell in a linked (closed) worksheet. The code below just seems to stop before reaching the MsgBox "test 2" test line with no error displayed. The return from the function is then always #VALUE Private Function GetCellTest() As Variant CellPath = "'C:\...\[Nov.xlsx]Sheet1'!A1" MsgBox "test 1" CellPathValue = CellPath.Value MsgBox "test 2" GetCellTest = CellPathValue End Function

Join the discussion →

Is the official Colab REST API permitted for automated workloads on the free tier (0 CU)?

I am developing a personal Windows desktop application that uses the official Google Colab REST API and Jupyter API for speech transcription. My account has: Free subscription 0 Compute Units No paid subscription No linked Google Cloud Billing account The intended workflow is initiated by a single user click: Create one T4 STANDARD runtime using the official REST API. Connect through the provided Jupyter connection information. Upload audio chunks and run faster-whisper large-v3. Retrieve transcription results. Delete the runtime. I have already verified that runtime creation, Jupyter code exe

Join the discussion →

Turing Machine Paradox

Assume a particular Language L(Assume it is a Regular Language) now we Know that a Turing machine is made out of Finite number of states, so the Number of states in a TM will be finite, now, can we create infinite number of Turing machines for a language or There are just a Finite number of Turing machines (A) here as we're saying that the number of states are finite then with finite number of states finite number of different configurations can be possible, even if we keep adding finite number of unreachable states (B) but if we say there are infinite number of Turing machines can be created

Join the discussion →
Older stories