HackerTrans
トップ新着トレンドコメント過去質問紹介求人

patrickhogan1

no profile record

コメント

patrickhogan1
·3 か月前·議論
First data centers, next up: maineframes
patrickhogan1
·9 か月前·議論
Sales people out in the field selling to enterprises + free credits to get people hooked.
patrickhogan1
·9 か月前·議論
It’s important to note that hsCRP and C Reactive Protein are 2 different tests.
patrickhogan1
·10 か月前·議論
Fines above $1k must be reported to state bar in CA. So they will know about this one.
patrickhogan1
·10 か月前·議論
I try to get 20k steps/day (10 miles). The jump from 10k to 20k steps/day was a big improvement: better sleep and clearer thinking. Most of those steps are from walking. It helped sprinkling in some hard efforts (running/basketball) that push breathing from ~18 to ~40 breaths/min. Feels ancestral: lots of walking, punctuated by occasional all-out bursts.
patrickhogan1
·10 か月前·議論
Credit where it’s due: doing live demos is hard. Yesterday didn’t feel staged—it looked like the classic “last-minute tweak, unexpected break.” Most builders have been there. I certainly have (I once spent 6 hours at a hackathon and broke the Flask server keying in a last minute change on the steps of the stage before going on).
patrickhogan1
·10 か月前·議論
Before dunking on psychology for not replicating, remember this is a cross-discipline problem.

In biomedicine, Amgen could reproduce only 6/53 “landmark” preclinical cancer papers and Bayer reported widespread failures.
patrickhogan1
·10 か月前·議論
Here is the prompt I just gave to GPT-5 Pro - its chugging on it. Not sure if it will succeed. Let's see what happens. I did think about converting the PDF to markdown, but figured this prompt is more fair.

-

You are a gold level math olympiad competitor participating in the ICPC 2025 Baku competition. You will be given a competitive programming problem to solve completely.

All problems are located at the following URL: https://worldfinals.icpc.global/problems/2025/finals/problem...

Here is the problem you need to solve and only solve this problem:

<problem> Problem B located on Page 3 of the PDF that starts with this text - but has other text so ensure you go to the PDF and look at all of page 3

To help her elementary school students understand the concept of prime factorization, Aisha has invented a game for them to play on the blackboard. The rules of the game are as follows.

The game is played by two players who alternate their moves. Initially, the integers from 1 to n are written on the blackboard. To start, the first player may choose any even number and circle it. On every subsequent move, the current player must choose a number that is either the circled number multiplied by some prime, or the circled number divided by some prime. That player then erases the circled number and circles the newly chosen number. When a player is unable to make a move, that player loses the game.

To help Aisha’s students, write a program that, given the integer n, decides whether it is better to move first or second, and if it is better to move first, figures out a winning first move.</problem>

Your task is to provide a complete solution that includes: 1. A thorough analysis and solution approach 2. Working code implementation 3. Unit test cases with random inputs 4. Performance optimization to run within 1 second

Use your scratchpad to think through the problem systematically before providing your final solution.

<scratchpad> Think through the following steps:

1. Problem Understanding: - What exactly is the problem asking for? - What are the input constraints and output requirements? - Are there any edge cases to consider?

2. Solution Strategy: - What algorithm or mathematical approach should be used? - What is the time complexity of your approach? - What is the space complexity? - Will this approach work within the given constraints?

3. Implementation Planning: - What data structures will you need? - How will you handle input/output? - What are the key functions or components?

4. Testing Strategy: - What types of test cases should you create? - How will you generate random inputs within the problem constraints? - What edge cases need specific testing?

5. Optimization Considerations: - Are there any bottlenecks in your initial approach? - Can you reduce time or space complexity? - Are there language-specific optimizations to apply? </scratchpad>

Now provide your complete solution with the following components:

<analysis> Provide a detailed analysis of the problem, including: - Problem interpretation and requirements - Chosen algorithm/approach and why - Time and space complexity analysis - Key insights or mathematical observations </analysis>

<solution> Provide your complete, working code solution. Make sure it: - Handles all input/output correctly - Implements your chosen algorithm efficiently - Includes proper error handling if needed - Is well-commented for clarity </solution>

<unit_tests> Create comprehensive unit test cases that: - Test normal cases with random inputs within constraints - Test edge cases (minimum/maximum values, boundary conditions) - Include at least 5-10 different test scenarios - Show expected outputs for each test case </unit_tests>

<optimization> Explain any optimizations you made or could make: - Performance improvements implemented - Memory usage optimizations - Language-specific optimizations - Verification that solution runs within 1 second for maximum constraints </optimization>

Take all the time you need to solve this problem thoroughly and correctly.
patrickhogan1
·10 か月前·議論
1. What was your prompt? 2. Why did you give it to GPT-5 instead of GPT-5 Thinking or GPT-5 Pro?
patrickhogan1
·10 か月前·議論
This is impressive.

Here is the published 2025 ICPC World Finals problemset. The "Time limit: X seconds" printed on each ICPC World Finals problem is the maximum runtime your program is allowed. If any judged run of your program takes longer than that, the submission fails, even if other runs finish in time.

https://worldfinals.icpc.global/problems/2025/finals/problem...
patrickhogan1
·10 か月前·議論
The impact of environment on mental spirals is underrated. I see it clearly in two pickup basketball groups I play with: one where people know your name, greet you warmly, and when you make a mistake they tell you how to improve in a way that makes you think "I can do better" not "I suck." The other is critical, lots of punching down and tense.

The key insight: when you're surrounded by people who genuinely create an atmosphere of belonging and want you to succeed, you know their feedback comes from good intentions. This creates a virtuous cycle. You want to take their advice, and once you improve you naturally want to give the same back to others.

Reminds me of this Simon Brodkin video perfectly capturing startup energy: https://www.youtube.com/shorts/q_FmhWARJ7Q
patrickhogan1
·10 か月前·議論
Looks great. Is it a terminal-based viewer for API specs (like Swagger UI) or a tool for defining APIs that OpenAI can call?
patrickhogan1
·10 か月前·議論
Good idea. Smart that they can withstand 72-hour power issues. 3 days still seems short, but much better than current.

I'm with the mormons on this issue, who emphasize preparedness for emergencies. Typically storing up to a year of non-perishable food.
patrickhogan1
·10 か月前·議論
Interesting article! I keep second guessing whether it’s worth it to point out mistakes to the LLM for it to improve in the future.
patrickhogan1
·11 か月前·議論
AI, grounded in high-quality data, could run the Fed more effectively. We often over-defer to officials despite a mixed record on inflation control.
patrickhogan1
·11 か月前·議論
Wow. This matches my experience pretty closely. Haven't put GPT-5 Pro through its paces much yet, but these numbers suggest I should.
patrickhogan1
·2 年前·議論
Could be wrong but I don’t think the OpenFit version is for running or biking - it’s mainly for the gym.

I have the OpenRun version and use it for biking and running and it’s great. I’ve been using these a lot running and I prefer these over my Sony noise canceling over ear headphones. There is just something about being outside and still being connected to surroundings - yes for safety but even beyond that - I just run better with my ears open to the air.

I’ve tried several of the bone conducting variety. Shokz is the easiest to use. They also just released a new version that has even better sound called the OpenRun 2 or something similar and it seems to have an even bigger bone conducting audio device.
patrickhogan1
·2 年前·議論
Thats terrible. User doesn't say how they got the machine. Maybe a bankruptcy liquidation auction.

Sidenote: As a personal mental quirk, does anyone else ever accidentally read "Redbox" as "Roblox" and then have to double-check?