MurphyA/hacker-news huggingface dataset:
by mark_l_watson | 2025-05-07 00:01:24+00:00
Very nice, thanks for doing this.

I have experimented a lot with the "official" Common Lisp and Python examples for the Sutton/Barto RL book, and I will enjoy your implementations also!

For reference, original examples in Lisp and Python: http://incompleteideas.net/book/code/code2nd.html

A bunch of implementations with all kinds of use cases (e.g., using OpenAI RL Gym, etc.):

Here are some resources with code examples and implementations related to the Sutton and Barto "Reinforcement Learning: An Introduction" book:

Code for Sutton & Barto Book: Reinforcement Learning: An Introduction: The official website for the book provides links to various software and re-implementations in different languages, including Python, Julia, and Lisp. This is a great starting point to find code directly associated with the book's examples and exercises.

Link: http://incompleteideas.net/book/code/code2nd.html jovsa/rl-examples-sutton-and-barto-book on GitHub: This repository offers Python implementations of examples from the book, organized by chapter. It includes code for figures and examples from various chapters, covering topics like Gridworld, Blackjack, and the Mountain Car task.

Link: https://github.com/jovsa/rl-examples-sutton-and-barto-book kamenbliznashki/sutton_barto on GitHub: This repository provides Python implementations of RL algorithms for the examples and figures in the Sutton and Barto book. It covers a wide range of topics from multi-armed bandits to policy gradient methods.

Link: https://github.com/kamenbliznashki/sutton_barto boldyshev/sutton on GitHub: This repository contains Python implementations of example experiments (figures) and programming exercises from the second edition of the book. Chapters are added as the author studies the book, making it a potentially growing resource.

Link: https://github.com/boldyshev/sutton AntonioSerrano/Implementation-of-RL-algorithms-from-Sutton-and-Barto-2018 on GitHub: This repository offers implementations in Python using OpenAI Gym and Tensorflow, covering exercises and solutions to complement the book and David Silver's RL course. It includes various algorithms like Dynamic Programming, Monte Carlo, Temporal Difference, and Policy Gradient methods.

Link: https://github.com/AntonioSerrano/Implementation-of-RL-algor...
by waffletower | 2025-05-07 00:02:57+00:00
I am glad that your experience is not the rule, as the OP reveals above. However, I worked for a company about 10 years ago with a fairly prominent app. An update that came out that absolutely destroyed the performance of it. At the precisely the same time, a competitor launched an app which did not have the performance difficulty. It turned out that the developer of the competing app had recently left Apple, and left an undocumented surprise in Apple's video drivers that broke it. It took disassembling the competitors binary to find the undocumented change and repair our application. The developer also taunted our CEO by email. Nice world we live in.
by rogerrogerr | 2025-05-07 00:04:52+00:00
That kid could find a security expert - it’s easy to do - and they could both validate it and post the money. I don’t think it would be hard to find someone with $10k with the right skill set.

Pick someone already rich so the reputational damage from stealing your bounty exceeds the temptation. The repeat speakers list at defcon would be a decent place to start.
by chr15m | 2025-05-07 00:06:29+00:00
Many of the comments don't even describe the code itself, but the change that was made to it. So instead of:

x = 1 // set X to 1

You get:

x = 1 // added this to set x to 1

And sometimes:

// x = 1 // removed this

These comments age really fast. They should be in a git commit not a comment.

As somebody who prefers code to self-describe what it is doing I find this behaviour a bit frustrating and I can't seem to context-prompt it away.
by mdp2021 | 2025-05-07 00:06:53+00:00
Nice project, but I do not get the competitiveness of part of its implementation details:

-- the project uses "Even Realities G1" AR glasses (640x200, 25°FoV, 1bit green), while the "Epson Moverio" AR glasses can have overwhelmingly superior specs (1920x1080, 34°FoV, full RGB) for possibly an even lower price;

-- software wise, it «uses AugmentOS's SDK to communicate with Mentra servers which talk to the mobile app which talks to your ... glasses» - while an Epson Moverio system would just directly use the glasses as a display for an Android device...

Both gaps between the available and the employed make very little sense.
by esperent | 2025-05-07 00:09:35+00:00
Have you been using the Gemini 2.5 pro "Experimental" or "3-25" models in Cline? I've been using both over the last week and got quite a few diff errors, maybe 1/10 of edit so that 92% tracks for me.

Does this 2.5 pro "Preview" feel like an improvement if you had used the others?
by mark_l_watson | 2025-05-07 00:09:54+00:00
I have a suggestion for you: Create a Gemini Gem for a programming language and put context info for library resources, examples of your coding style, etc.

I just dropped version 0.1 of my Gemini book, and I have an example for making a Gem (really simple to do); read online link:

https://leanpub.com/solo-ai/read
by diggan | 2025-05-07 00:10:28+00:00
> Live-event tickets include those for concerts, sporting events, music, theater, and other live performances that audiences watch as they occur, but not pre-recorded audio or visual performances.

What could be the reason pre-recorded audio/visual performances are excluded? Shouldn't this just be for everything? Why would some types of tickets be required to be truthful about fees and not allowed to lie about the total price in ads, while others are allowed?
by Muromec | 2025-05-07 00:10:32+00:00
>Generalizing from my own experience, it’s easier for me to understand a non-native Spanish speaker than a native Spanish speaker and I would guess that the same applies with ESL speakers.

You guessed right -- it's /usually/ easier to understand other non-native speakers, both because of accent and less idioms. That is unless the accent is really heavy and doesn't match your own.
Tired of launching into silence? I built a zero-friction feedback tool
by SamuelWhitehall | 2025-05-07 00:10:42+00:00
Every time I shipped an MVP, I’d get nothing. No feedback, no clue what was working or broken. Forms were too long, analytics were vague.

So I built Formless Feedback: • 1-line script on your site • Lets users instantly leave feedback • No forms, no login

It’s like having a feedback inbox built into your product. Launched it solo last week — here’s the live version: https://formlessfeedback.com

Would love to hear your thoughts.
by andrewflnr | 2025-05-07 00:10:50+00:00
To be clear, I meant to say "mainly disagree on who gets the spoils" etc, but didn't notice until too late. (that might sound like a lame excuse, but I agree it obviously doesn't make sense as written.) We seem to be in vague agreement on that mechanic. But I think it's pretty plausible that an oligarchy would agree on keeping access to the pie, even as they fight over the size of their slices. Which, in the original context of designing a voting system, is a very relevant concern.
by anadalakra | 2025-05-07 00:11:15+00:00
As someone who took English classes for years growing up, I wish that were the case. In fact, most teachers don't really know how to teach pronunciation. Also, in a typical group class setting, it's challenging to give each student one-on-one feedback. On BoldVoice, we solve that with 1) unlimited instant feedback from sound-level AI - your most patient coach. 2) in-depth video lessons from the best coaches in the world (Hollywood accent coaches). I'm a cofounder of BoldVoice, by the way. :)
by spwa4 | 2025-05-07 00:11:36+00:00
This article is committing a fallacy. The idea, that "decision makers" everywhere have: that there is anything at all that you can buy. It's not true. Even if you buy a stone, with the expectation that you can keep that stone ... requires constant payments for space to store it. Ownership, in the sense of owning something forever without further cost, doesn't exist.

And the more obvious it is, the more people fight it. A car requires constant maintenance, tax, and work, and so does a house. You don't own them, and if you don't pay ongoing costs, eventually in most locations the government will either force you to sell or even pay for the destruction of your own property.

But somehow making software must allow any idea to just be built once and then keep working, never to be touched again. Right back to ownership absolutism. I have built software in the beginning of my career that's still running, after 30+ years now. But most often, I find I have trouble convincing managers that they will be needing computers (whether onsite, colo or cloud) to run that solution if they expect it to do anything, never mind the occasional bugfix and/or system administration.
by UncleOxidant | 2025-05-07 00:11:45+00:00
maybe you could answer a question about kilo usage: If I choose Google Gemini as the API provider and give it my Gemini API key, why does it say that I'm low on credits (and I get API request failures immediately)? As far as I understand gemini 2.5 pro preview is free to use. (and in Cline I'm able to choose Google Gemini as the API provider & provide my API key and it will successfully make API requests)
by colbyn | 2025-05-07 00:11:54+00:00
To play devils advocate,

I’m not a mathematician but I’ve heard that the topics that lead to modern cryptography was once considered absolutely useless. They say for centuries, number theory (especially areas like prime numbers, modular arithmetic, and whatnot) was seen as the peak of “pure” math with no real world utility.

Personally, im all for static analysis and formal verification in software, particularly the kind where properties can be automatically verified by a computer and to my understanding this field is the on bleeding edge of what’s possible.

From a big picture perspective, our world is dependent on software, lives can be at risk when software fails, so for this reason I think its worthwhile to explore ideas that may one day lead to inherently more robust software even if it’s comercial utility isn’t clear.
by Aloisius | 2025-05-07 00:12:15+00:00
>The classified message asked agencies, whose tools include surveillance satellites, communications intercepts and spies on the ground

Spies on the ground? In Greenland? The largest town has less than 20K people in it! Who do we have on the ground there, the town gossip? A member of the PTA? Bartender at the pub?

Got to keep those spy satellites tasked on them or we might miss major events like Poul repainting his house a different color.
by dheera | 2025-05-07 00:13:09+00:00
The diagram is super vague. How are the lyrics encoded? What does the encoder look like inside? What is the input size, input format, output size, output format? Are the three encoder outputs added? Concatentated? When Mert and m-Hubert combine are they added? Multiplied? Subtracted? Concatenated?

I really wish people could make better diagrams.
by sepositus | 2025-05-07 00:13:23+00:00
> Asking one to make changes to such a code set, and you will get whatever branch the dice told the tree to go down that day.

Has anyone come close to solving this? I keep seeing all of this "cluster of agents" designs that promise to solve all of our problems but I can't help but wonder how it works out in the first place given they're not deterministic.
by thekhatribharat | 2025-05-07 00:13:27+00:00
Valuation aside, Windsurf has built its own models [1] and boasts enviable enterprise distribution: $100M ARR, per TechCrunch [2]

[1] https://windsurf.com/blog/our-model-strategy [2] https://techcrunch.com/2025/04/22/why-openai-wanted-to-buy-c...
by potholereseller | 2025-05-07 00:14:38+00:00
>and that its Palestinian population will “leave in great numbers to third countries”

Where would the Palestinians be sent to? TFA says Egypt and Jordan won't accept them. And this isn't a few thousand people to be moved; it's millions. This is yet another case of people skipping analysis of a plan's feasibility, and only judging the outcome of the plan. This is why conflicts so often escalate so far; analysis seems to be anathema to leadership. Many people involved could use a dose of mockery for the preposterous things they propose.
by o1inventor | 2025-05-07 00:16:26+00:00
If I tell a young black man he is gonna grow up to be a criminal, that makes him more likely to grow up to become a criminal.

Especially if I refuse to debate him and instead hurl insults at him and viciously deride him.

The same is true of the ordinary and the middle-of-the-road people when it comes to fascism.

The best way to create fascists is to attack and histrionically go after non-fascists and demand they conform to our way of thought.

Just being left-wing and going after people out of disgust over their opinions, I've accidentally alienated more people and created more fascists than any of these limp-wrist right-wing conservatives could ever hope to create.

I only realized it years later.

Radicalism begets radicalism.
by fma | 2025-05-07 00:17:18+00:00
American doctors are also reluctant to do rabies shot. Yeah they are expensive, the risk is low and there are ways to rule it out, but I'd rather not die. Other countries can get them anywhere for cheap. Here...thousands of dollars in the ER. One reason could be its just not administered enough. The other is, for profit American medical system because no one wants to die.
by mark_l_watson | 2025-05-07 00:17:42+00:00
I recently asked o4-mini-high for a system design of something moderately complicated and provided only about 4 paragraphs of prompt for what I wanted. I thought the design was very good, as was the Common Lisp code it wrote when I asked it to implement the design; one caveat though: it did a much better job implementing the design in Python than Common Lisp (where I had to correct the generated code).

My friend, we are living in a world of exponential increase of AI capability, at least for the last few years - who knows what the future will bring!
by benatkin | 2025-05-07 00:17:43+00:00
This sounds promising.

I tried "Full-stack web frameworks started 2023 or later" and the first result was FastHTML which is a very good answer. I was hoping for Dioxus but that I think is actually a little bit older. Of course Google's results, including Gemini, were useless. MeteorJS was not started in 2023 or later. LOL.
by JumpCrisscross | 2025-05-07 00:18:20+00:00
> Wait staff have had minimum wage protection for a very long time at the federal level, do you not tip them anywhere?

Different contexts. Even though restaurants are meant to make up the gap between the tipped and actual minimums, they often don't. And delivery drivers in New York and California are making well above the federal minimumw wage. Most importantly: a restaurant tip is split between skilled servers and kitchen staff. It's going to multiple people, each of whom have developed a specialised skill that adds value to my experience. None of that is true for someone carting my food to my home.

Absent regulation, I think tipping drivers and delivery staff is good. With regulation, the tradeoff has sort of been made for me.
by timewizard | 2025-05-07 00:20:39+00:00
"The Commission notes that the harms of bait-and-switch pricing and the misrepresentation of fees and charges are particularly pronounced in industries such as these, in which most transactions occur online. Consumers trying to comparison shop across multiple websites, or even on the same website, when deciding what tickets to purchase or where to travel are unable to do so effectively because some businesses hide the true total price and instead force consumers to go to different sites and click through multiple webpages for each offer to learn the true total price"

Where as these are not typical concerns for movie producers and movie theaters which are already operated as a legal cartel.
by wkat4242 | 2025-05-07 00:20:51+00:00
Quote: "The president has been very clear that the US is concerned about the security of Greenland". Says the president who is the only one who has made open threats against it. Lol

Sounds too much like "Nice country you have there. Would be a shame if something happened to it". Or the old classic "We're taking you over for your own protection"
by groby_b | 2025-05-07 00:21:13+00:00
I was with the author right up to the Marc Aurelius quote "You have power over your mind—not outside events. Realize this, and you will find strength."

The funny thing is that actual engineering _requires_ being resilient in the face of unpredictable external events.

And his quote "You run the thing, and it works. Or it _doesn’t_, and you fix it." shortly after is fundamentally the difference between coding, and engineering.

And maybe that is the true curse of our profession. We call ourselves engineers, but we never behave like it. Engineering isn't "scratching the itch to build". It is defining requirements well, building something that fulfills the requirements, and then leaving well enough alone.
by bigstrat2003 | 2025-05-07 00:22:05+00:00
The Rust community is helpful... but also quite political and extremely hostile to anyone who doesn't share those politics. Even something as anodyne as saying "let's keep politics out of technical discussion" is frequently met with hostility (because many community members believe that tech is inherently political and that trying to keep politics out is really just a bad faith attempt to frame things in terms of the requester's preferred politics). It's also full of drama in a way that other communities online simply aren't. For example, the drama that happened when the guy behind thephd.dev got invited to give the keynote at rustconf, then his talk was downgraded from the keynote - everyone involved in that mess (including other bloggers who weighed in) came off as immature and not someone you would ever want to work with.

I like the Rust language quite a bit. I find the Rust community to be one of the most toxic places in the entire tech business. Your mileage may vary and that's fine of course - but plenty of people want to stay far away from a community that acts like the Rust community does.
by explodes | 2025-05-07 00:23:30+00:00
"The Commission notes that the harms of bait-and-switch pricing and the misrepresentation of fees and charges are particularly pronounced in industries such as these, in which most transactions occur online. Consumers trying to comparison shop across multiple websites, or even on the same website, when deciding what tickets to purchase or where to travel are unable to do so effectively because some businesses hide the true total price and instead force consumers to go to different sites and click through multiple webpages for each offer to learn the true total price"
by saluki | 2025-05-07 00:23:49+00:00
You're going to have to embrace some of your director's approaches at least initially, deliver some wins to show him your team can meet his expectations.

Once you have some wins and build trust you can collaborate more on future projects.

The director has a responsibility to implement his vision that's why they hired him. That will be make or break for his success. Your team is responsible for implementing his vision with some collaboration along the way of course but directors have the autonomy to guide their ship.
by nebula8804 | 2025-05-07 00:24:54+00:00
I would say its not that extreme on the platform(I still see the week old TikTok posts sometimes reposted on other platforms) but regardless, the damage has been done. As they continue to lose this information war, their tactics become more and more unhinged. See the recent bill banning boycotting Israel products with a punishment of a million dollars fine. It was met with such backlash that politicians quickly withdrew it. Even MAGA jumped on board to block that.
by footlose_3815 | 2025-05-07 00:26:01+00:00
Maybe therein is why it rarely follows my own project prompt instructions. I tell it to give me the whole code (no snippets), and not to make up new features, and it still barfs up refactoring and "optimizations" I didn't ask for, as well as "Put this into your script" with no specifics where the snippet lives.

Single tasks that are one-and-done are great, but when working on a project, it's exhausting the amount it just doesn't listen to you.
by richa_flutr | 2025-05-07 00:26:05+00:00
I filed and got my O1A visa approved as a startup founder — without paying tens of thousands in lawyer fees. I only paid the standard USCIS filing costs:

I-129 O1A Petition: $530

Asylum Program Fee (for companies with <25 employees): $300

Premium Processing: $2,805

Total: $3,635 — all paid via cashier’s check.

I'm now sharing a redacted, abridged version of my approved petition to help other founders navigate the process themselves. Hoping this levels the playing field for immigrant entrepreneurs.
by mystified5016 | 2025-05-07 00:26:50+00:00
Oh damn, this could easily replace my own bespoke serial monitors.

Can a plugin filter the list of available ports? For instance serial over Bluetooth creates two virtual ports for initiating and accepting connections (on windows at least). My bespoke monitor filters these and only shows the outbound ports to the user. It also pulls in the Bluetooth device name from WinRT, etc.
by screcth | 2025-05-07 00:26:59+00:00
A very important part of people trusting you is them being able to understand what you say without making extra efforts compared to a native speaker.

An easy way to improve intonation and fluency is to imitate a native speaker. Copying things like the intervocalic T and D is a consequence of that. It would be easier for a native Spanish speaker to say the Spanish /t/ and /d/ but intonation and fluency would be impaired.

The sounds don't "flow" as they should.
by nulld3v | 2025-05-07 00:27:27+00:00
Yeah prior to background job support, pausing the foreground process with CTRL-Z was a major footgun—nushell didn't detect when the foreground process was paused, nor did it offer any way to unpause it. The terminal was rendered useless until you manually resumed/killed the paused process via another terminal or GUI.

Nowadays `job unfreeze` will do the trick.
by willwade | 2025-05-07 00:27:38+00:00
Its a bit rough with SherpaOnnx and eSpeak - So PR's welcome.

Idea here is this is a unifed TTS wrapper so getVoices is the same for all engines, and bytestream is the same and word events are the same - even if they don't support it we estimate it.

Maybe useful since I see a lot of TTS hackers out there!

NB: I will say JS isnt my bag - so feedback all welcome.
by fidz | 2025-05-07 00:27:59+00:00
Location: Jakarta, Indonesia Remote: Yes Willing to relocate: Yes Technologies: Ruby on Rails, Spring Boot, Dropwizard, Ruby, Java, C# (MvvmCross), Jenkins, Kubernetes, AWS, AWS RDS, Postgres, PostGIS, Linux Résumé/CV: https://linkedin.com/in/mufid Email: mufid.afif [at] gmail [dot] com

I am a seasoned software engineer with 11+ years of experience. I’ve shipped production-ready codebase across various industries, such as: payment, e-commerce, SEO, email marketing, ERP, POS, hardware integration, and IoT.

I am fluent in Java, C#, Ruby, and PHP. In fact, I am a language agnostic software engineer and can learn new languages and concepts fast. I managed various early stage startups to grow from a small team to 40 employees.

Some of the highlights of my careers include: high performance software, advising best-practice yet pragmatic programming standards, helping scale teams both in technical terms and organizational structure. I have experience in various technology company stages. I worked in various fast-growing huge technology companies.