Better HN
topnewbestaskshowjobs
Log inSign up

SamCoding

89 karma · joined Jun 7, 2024 (2y ago) · 54 submissions

Submissions

1.

Cambridge University Colleges urged to improve fossil-fueled banking(cambridgeclimatesociety.com ↗)

1 points · by SamCoding · 6d ago · discuss

comment 4mo ago · link · parent

Referring to this paper: https://arxiv.org/pdf/2510.04871

My understanding: The Q-head predicts whether to stop early or not to reduce training times (by not always having to complete the full number of deep supervision steps).

The complication: When working in batches:

- Either, the Q-head is computed over the entire batch and averaged (which could early stopping of reasoning steps when most items in batch are complete but some aren't, meaning that those incomplete samples aren't trained on fully)

- Or, the Q-head is computed over entire batch and samples that are complete are dropped.

The first option has issues obvious as discussed.

The second option is problematic because it's complex to implement and frameworks tend to want fixed sizes for batches.

If we go with just running for the maximum number of deep supervision steps every time to avoid these issues, the Q-head becomes useless (assuming you don't want to use it during inference).

I really appreciate any help anyone can give me in understanding how they get around this, either in the original paper or in practice in more recent research.

3.

How does Q-head work in batch training in Tiny Recursive Networks?(kaggle.com ↗)

3 points · by SamCoding · 4mo ago · 1 comment

4.

To Have Taste You Must Eat (and Software Engineering) – Video(youtube.com ↗)

3 points · by SamCoding · 4mo ago · discuss

5.

UK Government Report Shows Imminent Threat from Biodiversity Loss(gov.uk ↗)

5 points · by SamCoding · 4mo ago · discuss

6.

Ask HN: How can I publish a paid app to Google Play without giving up my privacy

5 points · by SamCoding · 4mo ago · 8 comments

7.

Cambridge University Raises Money to Help the Homeless in Cambridge(justgiving.com ↗)

1 points · by SamCoding · 6mo ago · discuss

comment 7mo ago · link · parent

Why are commits to Taichi-Lang's GitHub repo so low? It's such a cool and useful project used by a lot of people, so how come people aren't building out and optimising it further?

9.

Ask HN: Why has Taichi-Lang's development frequency declined?(github.com ↗)

3 points · by SamCoding · 7mo ago · 2 comments

10.

Show HN: Pomodoro timer for jailbroken kindles (as a KOReader plugin)(github.com ↗)

1 points · by SamCoding · 10mo ago · discuss

11.

Ergo – 20-20-20 Rule and Ergonomic Reminders for VSCode(marketplace.visualstudio.com ↗)

2 points · by SamCoding · 1y ago · 1 comment

12.

Ask HN: Where are the open source JavaScript PDF rendering libraries?

1 points · by SamCoding · 1y ago · discuss

13.

UK economy grew more than expected in first three months of year(bbc.co.uk ↗)

9 points · by SamCoding · 1y ago · discuss

14.

FlexiVol: Reach-Through Volumetric Display with Elastic Diffusers [video](youtube.com ↗)

1 points · by SamCoding · 1y ago · discuss

comment 1y ago · link · parent

Hi, thanks for all the suggestions, Typst ultimately worked best, as I was generating my Markdown file with a script I could modify it to generate a Typst file and all of the links and highlighting worked beautifully.

comment 1y ago · link · parent

Does it support code blocks for Python, JS, HTML and CSS? Also my Markdown is auto-generated by a script of mine. Can I paste Markdown directly into y our platform?

comment 1y ago · link · parent

I'm on Windows (with WSL) so unfortunately I can't.

comment 1y ago · link · parent

I love Obsidian too, however I found that internal links didn't work when exporting it. Do you know what format works? My internal links work in the Obsidian preview but not in the PDF export.

19.

Ask HN: Where are the good Markdown to PDF tools (that meet these requirements)?

41 points · by SamCoding · 1y ago · 56 comments

comment 2y ago · link · parent

Just fixed my own problem! You have to switch off your adblocker.

comment 2y ago · link · parent

I just had the same problem and solved it. You have to switch off your adblocker.

comment 2y ago · link · parent

I'm getting the an error of "Failed to fetch stories"

The console error is: (index):464 Error loading stories: TypeError: Failed to construct 'URL': Invalid URL at (index):482:36 at Array.forEach (<anonymous>) at NewspaperApp.displayStories ((index):471:25) at NewspaperApp.loadStories ((index):461:26) at async NewspaperApp.initialize ((index):418:17)

Can anyone help? I really want to use this product it seems great.

23.

Ecosia's Financial Reports(blog.ecosia.org ↗)

2 points · by SamCoding · 2y ago · discuss

comment 2y ago · link · parent

I'm a teenager and was in the exact same position at their age, so this is what I found engaging.

There is nothing wrong with the LEGO stuff, the EV3 for Education kit is a great place to start and teaches you programming too in a Scratch-like interface. There are also some great books like "The LEGO Power Functions Idea Book, Volume 1: Machines and Mechanisms" by Yoshihito Isogawa, which taught me so much. The advantage of LEGO is that it is really easily reusable (although expensive to begin with) so reduces repeating costs.

Beyond that, if you have access to any machines, try starting to learn CAD software and buy a 3D printer, you'll be able to make so much from that. It's not so budget-friendly, but it's a great option. Then try building some cool mechanisms to develop your understanding of the principles, such as the ones below:

- https://www.youtube.com/watch?v=lXO69eRWkkY - https://youtube.com/playlist?list=PLq_UHnXWA4jI_gSAW9rvOr-I5... - And the ones in the aforementioned book "The LEGO Power Functions Idea Book, Volume 1: Machines and Mechanisms" - you don't have to do this all in LEGO, it shows some neat mechanisms.

I wasn't homeschooled, so I got to create some projects at school which were great fun. You can try the following out of plywood, modelling card and a few motors (there's tonnes of electronics tutorials online, all you need is some basic materials, a soldering iron and a ventilated space to solder in). Our challenges were:

- Using only 3 motors, create a crane that can pick up small objects. Use gears to increase mechanical advantage. - Using cables/string, create a robot hand like at (https://www.youtube.com/watch?app=desktop&v=FCkWexqO2LU). How can you motorise it? How can you improve its accuracy?

For electronics and programming, I'd recommend the Raspberry Pi. It's easy to use with components. Someone I know is also starting a startup called Electrotilez that teaches you electronical engineering (https://www.linkedin.com/company/electrotilez/?originalSubdo...) so I'd recommend checking their product out once it launches.

So now you have the fundamentals nailed, try entering a competition! These are so exciting and have taught me so much. You also meet people that enable your future career. Some great ones include:

- PA Raspberry Pi Awards (ages 8-18, split into age categories) - Samsung Solve for Tomorrow (ages 16-25, in 2 age categories) - Samsung Solve for Tomorrow Next Gen (ages 11-15) - The Big Bang Competition

comment 2y ago · link · parent

Chatbots are great to do initial research, but I often find them a little convoluted and unstructured when learning something like a programming language (I tried learning assembly through it). You can often end up missing out some important bits.

So to learn, it really depends where you're starting.

If you have programming experience in another language, this is a great starting point from Tech With Tim (https://www.youtube.com/watch?v=VchuKL44s6E).

If you've never programmed before, this one can be a bit more accessible (but is still very brief and concise) - (https://www.youtube.com/watch?v=kqtD5dpn9C8).

A good roadmap once you have the fundamentals can be found here (https://www.youtube.com/watch?v=St48epdRDZw).

comment 2y ago · link · parent

If you're starting out, often going straight into the docs can be quite daunting. However on the Python docs there is this page with some useful links: https://wiki.python.org/moin/BeginnersGuide

27.

The UK's NHS to use AI cancer-detection technology(bbc.co.uk ↗)

1 points · by SamCoding · 2y ago · discuss

28.

AI is writing your comedy now(bbc.co.uk ↗)

2 points · by SamCoding · 2y ago · discuss

12