News for hackers. Stuff that matters.

badFEengineer

Re:Sixteen Bottles of Wine Riddle on Thursday August 21, 2025 @02:01PM (#44976010)
nice! an alternative solution I came up with (it's the same intuition as divide and conquer, just a flattened out version, same value of 49):

Just go left to right on each bottle, and keep track of how often each prefix has appeared (i.e. on the first bottle, if you get 1, 0, 0, 1), we'd keep track of: {"1": 1, "10": 1, "100": 1}. Now, if a prefix of length 1 appears 7 times, or a prefix of length 2 appears 3 times, we stop measuring (because there's only 1 left).

In all cases, for 8 bottles you will need 4 measurements, for 4 bottles you will need 3 measurements, 2 bottles will require 2 measurements, and 2 bottles will require 1 measurement. (4 * 8) + (4 * 3) + (2 * 2) + (2 * 1) = 32 + 12 + 4 + 2 = 50. But for the very last bottle, you can just do 0 measurements, by way of process of elimination. so 50 - 1 = 49.

Stargate is $500 billion, not $500 million - surprised the article is off by a factor of 1000x
Re:Devin is now generally available on Tuesday December 10, 2024 @01:31PM (#42379738)
The price seems reasonable, but my main hesitation is on data storage + third party providers- there doesn't seem to be much available information on:

* will you store my code + train on workflows that Devin does for me? * are you piping data to other third party providers (i.e. anthropic, openAI)?

yeah, I've heard a bit about this- basically, it is technically legal right now to have multiple job offers from separate employers to get multiple H1B lottery tickets. The abuse comes from some shady operations, that will basically give you 3-10 "offers" from various consulting firms, where you'll be paid way less than market rate to work at any of them, with the idea being if you win a ticket from any then you trade off your potential salary for the H1b.
nice, I've been looking for something like this! A few notes / wishlist items:

* Looks like for gpt-4 turbo (https://artificialanalysis.ai/models/gpt-4-turbo-1106-previe...), there was a huge latency spike on December 28, which is causing the avg. latency to be very high. Perhaps dropping top and bottom 10% of requests will help with avg (or switch over to median + include variance)

* Adding latency variance would be truly awesome, I've run into issues with some LLM API providers where they've had incredibly high variance, but I haven't seen concrete data across providers

Re:Groqchat on Friday December 22, 2023 @05:46PM (#38739479)
This was surprisingly fast, 276.27 T/s (although Llama 2 70B is noticeably worse than GPT-4 turbo). I'm actually curious if there's good benchmarks for inference tokens per second- I imagine it's a bit different for throughput vs. single inference optimization, but curious if there's an analysis somewhere on this

edit: I re-ran the same prompt on perplexity llama-2-70b and getting 59 tokens per sec there

Re:Show HN: Vocal timing conditioned audio diffusion in real-time on Wednesday November 15, 2023 @11:43AM (#38278759)
I've been pretty bearish on gen AI for music, but this is the most fun I've had playing with an AI tool in a long time- the filters remind me of the OG Instagram filter effect, where even shitty photos from phones could "magically" be enhanced.

This + the Music ControlNet post from yesterday gives me some hope that audio AI will go the direction of creative tools, rather than dystopian full song generation.

Ask HN: Where are all the senior front end engineers?

Anecdotally, our company has been struggling to hire senior FE (web) engineers. I've heard from friends that their companies are also struggling to hire senior FE engineers.A few hypotheses:* FE engineering has gotten a bad rap over the past years ([insert joke about web dev])* Most companies don't have interesting FE work (add a button?)Curious if others have had similar problems, or if my...

( Read More... | 48 comments | 34 points | on HN )