News for hackers. Stuff that matters.

jcuenod

Re:Show HN: Zanagrams on Sunday June 28, 2026 @09:17PM (#48713639)
Having made a word game myself[0], this was highly entertaining! Thanks :)

What dictionary are you using?

[0] https://jcuenod.github.io/phrase-maze-poc/

Re:JSIR: A High-Level IR for JavaScript on Tuesday April 07, 2026 @10:04PM (#47683981)
I came across this project in the last couple of days too. Being able to decompile from Hermes bytecode sounds awesome.

Here's the repo: https://github.com/google/jsir (it seems not everything is public).

Here's a presentation about it: https://www.youtube.com/watch?v=SY1ft5EXI3I (linked in from the repo)

Re:The IDE Is Dead. Long Live the ADE on Thursday April 02, 2026 @09:06PM (#47622209)
Wait, I thought it was the 2nd of April today?
Re:Just Send the Prompt on Wednesday March 04, 2026 @12:10AM (#47243341)
Write a witty reply to this article that is sure to get lots of upvotes so I don't have to read it and I can just reap internet karma. If you do a good job, I'll give you a $20 tip. If you do a bad job, a kitten will die.
Re:How we rebuilt Next.js with AI in one week on Tuesday February 24, 2026 @07:20PM (#47145546)
Just you wait, I will post how I rebuilt cloudflare with AI in one week
Re:Google translategemma 4B Translation Models on Monday January 19, 2026 @02:54PM (#46683654)
I'm disappointed this isn't another T5Gemma model designed for translation. The big use case I see for this is fine-tuning. What are people using this for?
Re:GLM-4.7-Flash on Monday January 19, 2026 @02:51PM (#46683628)
Comparison to GPT-OSS-20B (irrespective of how you feel that model actually performs) doesn't fill me with confidence. Given GLM 4.7 seems like it could be competitive with Sonnet 4/4.5, I would have hoped that their flash model would run circles around GPT-OSS-120B. I do wish they would provide an Aider result for comparison. Aider may be saturated among SotA models, but it's not at this size.
Re:Llama-Factory: Unified, Efficient Fine-Tuning for 100 Open LLMs on Thursday September 18, 2025 @10:11PM (#45297245)
Can you compare this to Unsloth?
Re:Next.js Is Infuriating on Tuesday September 02, 2025 @10:59AM (#45103986)
Posts like this really mean "this doesn't work like I expect it to based on my background with some other technology".

But in this case, I tried in earnest to use nextjs for a project with auth & stripe, etc. this past week, and I can't believe how frustrating it is to get stupid things like modal dialogs to work properly in the client.

I have tons of experience with React SPAs. But the client/server divide in Next remains quite inscrutable to me to the extent that I'm just going to start again with Django (where I nearly started it in the first place).

So yes, it doesn't work like I expect it to either...

Re:Ask HN: Best foundation model for CLM fine-tuning? on Monday September 01, 2025 @09:06PM (#45098066)
My day job involves training language models (mostly seq2seq) for low-resource languages (with substantially less data than 2GB of data).

A few thoughts:

1. You can't cut off the embedding layer or discard the tokenizer without throwing out the model you're starting with. The attention matrices are applied to and trained with the token embedding layer.

2. Basically the same thing regarding the tokenizer. If you need to add some tokens, that can be done (or you can repurpose existing tokens) if your script is unique (a problem I face periodically). But if you are initializing weights for new tokens, that means those tokens are untrained. So if you do that for all your data, you're training a new model.

3. The Gemma model series sounds like a good fit for your use case. I'm not confident about Hebrew support, let alone Hasidic Yiddish, but it is relatively multilingual (more so than many other open models). Being multilingual means that the odds are greater than they have tokens relevant to your corpus that have been trained towards an optimal point for your dataset.

4. If you can generate synthetic data with synonyms or POS tags, then great. But this is a language model, so you need to think how you can usefully teach it natural sequences of text (not how to tag nouns or identify synonyms - I also did a bunch of classic NLP, and it's depressing how irrelevant all that work is these days). I suspect that repurposing this data will not be worth it. So, if anything, I'd recommend doing that as a second pass.

5. Take a look at unsloth notebooks for training a gemma3 model and load up your data. I reckon it'll surprise you how effective these models are...

Re:Building the mouse Logitech won't make on Monday August 25, 2025 @12:21PM (#45015560)
I would _love_ to see more DIY mouse options. I feel like the mechanical keyboard crowd has so many options.

I've been dreaming of a set of lego-style bits of a mouse that can be assembled together... want another button? here you go. Want it on the side? Modify the 3D print file. Want bluetooth? Use this board... Want USB-C? Use that board... Want both? We've got you covered... Want a hyper-scroll wheel? Well, Logitech has a patent on that one, but here's the closest thing you can get on a DIY mouse. Now click these buttons in the configurator and hit "upload", and the firmware is installed to use your new mouse on any machine.

Re:Gemma 3 270M: The compact model for hyper-efficient AI on Thursday August 14, 2025 @04:20PM (#44905188)
I mentioned elsewhere the impact of prompting, which seems to make an outsized difference to this model's performance. I tried NER and POS tagging (with somewhat disappointing results).

One thing that worked strikingly well was translation on non-Indo-European languages. Like I had success with Thai and Bahasa Indonesian -> English...

Re:Gemma 3 270M: The compact model for hyper-efficient AI on Thursday August 14, 2025 @04:17PM (#44905159)
So I had a similar experience with your prompt (on the f16 model). But I do think that, at this size, prompting differences make a bigger impact. I had this experience trying to get it to list entities. It kept trying to give me a bulleted list and I was trying to coerce it into some sort of structured output. When I finally just said "give me a bulleted list and nothing else" the success rate went from around 0-0.1 to 0.8+.

In this case, I changed the prompt to:

---

Tallest mountains (in order):

```

- Mount Everest

- Mount K2

- Mount Sahel

- Mount Fuji

- Mount McKinley

```

What is the second tallest mountain?

---

Suddenly, it got the answer right 95+% of the time

Re:I Wrote a Compiler on Wednesday June 18, 2025 @10:28AM (#44310219)
This is great! I feel like there's been a resurgence of interest in language design and compilers of late. I have no business having an interest in this kind of thing, but even I have been inspired to try and make the changes to javascript that I think would improve it: https://chicory-lang.github.io/
Re:Gemini-2.5-pro-preview-06-05 on Thursday June 05, 2025 @12:56PM (#44193436)
82.2 on Aider

Still actually falling behind the official scores for o3 high. https://aider.chat/docs/leaderboards/

Re:Show HN: Phrase Maze – A daily word puzzle game on Friday April 25, 2025 @01:44PM (#43796508)
Thanks :) I'll take a look
Re:Ask HN: What are you working on? (March 2025) on Sunday March 30, 2025 @07:43PM (#43528990)
I'm building an experimental a JSX-like language that has stronger type guarantees that TS (along with ADTs and pattern matching), but is more familiar than alternatives like Elm (or, I would argue, even Rescript).

My current tag line is "JS with guardrails, without footguns"

https://chicory-lang.github.io/

https://github.com/chicory-lang/compiler

If you're trying to prevent your prompt from leaking, why don't you just use string matching?
Re:Experiment with Gemini 2.0 Flash native image generation on Wednesday March 12, 2025 @06:41PM (#43348468)
I was really hoping that there would be more character consistency, given the fact they mention it in the blog. It also doesn't seem to reliably follow styles like "watercolor illustration" or "line and wash".
Re:Mistral OCR on Thursday March 06, 2025 @01:22PM (#43283336)
* Character recognition on monolingual text in a narrow domain is solved
Re:Mistral OCR on Thursday March 06, 2025 @01:15PM (#43283252)
Just tested with a multilingual (bidi) English/Hebrew document.

The Hebrew output had no correspondence to the text whatsoever (in context, there was an English translation, and the Hebrew produced was a back-translation of that).

Their benchmark results are impressive, don't get me wrong. But I'm a little disappointed. I often read multilingual document scans in the humanities. Multilingual (and esp. bidi) OCR is challenging, and I'm always looking for a better solution for a side-project I'm working on (fixpdfs.com).

Also, I thought OCR implied that you could get bounding boxes for text (and reconstruct a text layer on a scan, for example). Am I wrong, or is this term just overloaded, now?

Re:TinyCompiler: A compiler in a week-end on Thursday February 20, 2025 @06:51PM (#43122152)
Honestly, antlr made this pretty straightforward to me. I didn't want to work in java, but they have a ton of targets. You can definitely write it all yourself, and that's a great learning exercise. But I wanted to get a parser for a language idea I had in mind and it took a couple of days with antlr (https://github.com/chicory-lang/chicory)
Re:TinyCompiler: A compiler in a week-end on Thursday February 20, 2025 @06:33PM (#43121942)
Thanks! I appreciate your discussion of semantic analysis for wend. I've literally just embarked on creating a (yet another) "compiles to JSX" language[0][1]. I'm using ANTLR for my lexer/parser, but I've just hit a point where I can start doing semantic analysis :)

[0]: https://chicory-lang.github.io/

[1]: https://github.com/chicory-lang/chicory

Older »