Better HN
topnewbestaskshowjobs
Log inSign up

zerojames

3,625 karma · joined Jan 5, 2022 (4y ago) · 624 submissions

jamesg.blog.
Submissions

511.

Nougat: Neural Optical Understanding for Academic Documents(github.com ↗)

2 points · by zerojames · 3y ago · discuss

512.

The Graphing Calculator Story(nucalc.com ↗)

2 points · by zerojames · 3y ago · discuss

513.

The Guardian's Typerighter(github.com ↗)

41 points · by zerojames · 3y ago · 21 comments

514.

Show HN: Hovercard.js, simple hovercard utility for web pages(github.com ↗)

2 points · by zerojames · 3y ago · 1 comment

comment 3y ago · link · parent

I like the design of this site! The icons and typography are especially cool! There is a neat idea in here. I already use an RSS social reader (https://monocle.p3k.io/), but I can see this being a cool firehose to skim that I can curate. Do you offer RSS feeds of feeds on the site?

I would love if there was a "simple mode" that let you only see the titles, just like the HN homepage. There is a lot of information on the feed pages and I find it a bit overwhelming.

Also, it would be great if I didn't need an account to see the blogs, curators, and popular pages.

516.

Show HN: Autodistill, automated image labeling with foundation vision models(github.com ↗)

4 points · by zerojames · 3y ago · discuss

517.

Open Source Anti-Patterns with Kelsey Hightower(oxide.computer ↗)

4 points · by zerojames · 3y ago · discuss

518.

Educational Hypertext and the “Why” Link(w3.org ↗)

3 points · by zerojames · 3y ago · discuss

519.

PEP 503 – Simple Repository API(peps.python.org ↗)

1 points · by zerojames · 3y ago · discuss

520.

Ask HN: Share your favourite technical writing

4 points · by zerojames · 3y ago · 2 comments

comment 3y ago · link · parent

Some more ideas in the "programming languages" category:

    - Build a package manager
    - Create a linter
    - Build a static code analyzer / function call graph generation tool

522.

Ask HN: Computing Side Project Ideas?

13 points · by zerojames · 3y ago · 11 comments

comment 3y ago · link · parent

I saw Vale earlier today. The tool helps you comply with technical style guides like those by Microsoft and Google, and the out-of-the-box Vale rules (the extent of the Vale rules I am unsure; I got way more suggestions when installing the Microsoft and Google extensions).

A few notes while getting it set up for macOS:

    1. brew install vale
    2. Create .vale.ini (in root dir, I think)
    3. A minimal setup that lets you lint with Microsoft and Google style guides:

        MinAlertLevel = suggestion
        StylesPath = styles

        Packages = Google, Microsoft

        [*]
        BasedOnStyles = Vale,  Google, Microsoft

    4. Run `vale sync` to install the Google and Microsoft style guide extensions.
    5. Run 'vale {file}.md` to run the linter.

524.

Vale.sh – A Linter for Prose(vale.sh ↗)

230 points · by zerojames · 3y ago · 82 comments

525.

The weirdest, most wonderful corners of the web(theguardian.com ↗)

9 points · by zerojames · 3y ago · 1 comment

526.

Thoughts on teaching generative text literacy(jamesg.blog ↗)

1 points · by zerojames · 3y ago · discuss

comment 3y ago · link · parent

By the way, this project is _awesome_! My programming language [1] does OCR correction via heuristics (possible because there is a restricted grammar) but this project looks like it could help _a lot_ with improving the accuracy of the OCR output. Thank you!

[1] https://visionscript.dev/paper/

comment 3y ago · link · parent

I definitely need to write more docs on this project! I will share them when I'm done. It looks like SymSpell is doing spelling correction, which is part of what my code does.

The "surprisal" (information theory: Shannon information) component is doing statistical next word prediction. For example, given a corpus of data in which "data augmentation" is a common phrase, "da" could complete to "data augmentation".

"data augmentation" starts with "da", and would be determined as a likely candidate for the next word because it was common in the dataset on which the statistical model was "fine-tuned".

This Wikipedia page covers the concept in more depth: https://en.wikipedia.org/wiki/Information_content

529.

Implicitly downplaying knowledge in technical communication(jamesg.blog ↗)

1 points · by zerojames · 3y ago · discuss

comment 3y ago · link · parent

I _love_ to see projects like this.

I was working on a similar problem this weekend, but with whole words instead of abbreviations I had made in a dictionary, and in the general case, fine-tuned on any given corpus of text.

I wanted to know: could I write an autocorrect that is "fine-tuned" on a given corpus of text? Use case: I write a lot of docs with long phrases (i.e. "data augmentation"). Could I automate them?

I arrived at:

    1. Calculate "surprisal" of unigrams and bigrams (entropy) from a general dataset (an NYT corpus), give a boost to words in the "fine-tuned" index;
    2. Create a trie data structure that is weighed by surprisals. The more surprising a word, the more weight it gets.
    3. Use that as advanced autocomplete.
I got a working solution here: https://github.com/capjamesg/autowrite/blob/main/autocomplet...

(No docs yet -- coming in the next few days. Leave a GitHub Issue if you want to chat about it!)

531.

How many bees does it take to seal an Act of Parliament?(bbc.co.uk ↗)

1 points · by zerojames · 3y ago · discuss

532.

ESIF: A historical record of foundational web development blog posts(esif.dev ↗)

1 points · by zerojames · 3y ago · discuss

comment 3y ago · link · parent

This is a cool project -- thanks for sharing! I am a _big fan_ of single-purpose web tools like this.

It would be nice if the bottom bar didn't change state if I am still typing a word (i.e. if I type "monthl", a red error shows up, then when I aadd the "y" the app shows the right state).

comment 3y ago · link · parent

Getting started with new and state-of-the-art vision models is often daunting. Documentation can be hard to parse, it can take a while to figure out how to run inference on an image.

We (the Roboflow open source team) actively write open source Google Colab notebooks showing how to use new SOTA models. Our library covers SAM, CLIP, Detectron2, YOLOv8, RTMDet, DINOv2, and more.

We also have code on common vision patterns like counting objects in a zone, vector analysis, object tracking with ByteTrack, and more.

I often turn to these notebooks as a quickstart both at work and for side projects when working with new model architectures: I can take the code I need and get to work solving a problem.

535.

Show HN: How to Notebooks for computer vision models and techniques(github.com ↗)

3 points · by zerojames · 3y ago · 1 comment

comment 3y ago · link · parent

YOLO is a model architecture in computer vision (You Only Look Once).

https://blog.roboflow.com/whats-new-in-yolov8/

In one example, dictionary dispatch decides what model to use: YOLOv5, v8, SAM, and others.

comment 3y ago · link · parent

Love this! Thank you for sharing (I'm the author).

comment 3y ago · link · parent

I love this! Amazing work!

539.

Ask HN: What non-coding hobbies do you have?

4 points · by zerojames · 3y ago · discuss

540.

The Python dictionary dispatch pattern(jamesg.blog ↗)

45 points · by zerojames · 3y ago · 56 comments

1
1718192021