MurphyA/hacker-news huggingface dataset:
by crazygringo | 2025-04-21 20:47:09+00:00
> I’m actually stunned that you think to use this as an example when I think I’d fire any programmer that did that in my team for gross negligence.

You seem to be having a different conversation than I am.

I'm just describing Python as it is. I'm not defending it. I know why you can add True to a number, or else I wouldn't have come up with the example. And I know perfectly well that r-strings are just strings. Python easily could have made them a distinct object, to force people from ever making backslash errors, and restricted Regex functions to them, but didn't.

My only point has been, "Pythonic" things tend to be pretty liberal in what they accept. Type hints aren't even enforced, when they exist at all. You seem to think it shouldn't be that way. Great! But regardless, claiming it's not that way -- that Python is somehow this strict language -- is just mischaracterizing it.
by mcint | 2025-04-21 20:47:34+00:00
Yeah, I'm bouncing for now on the localhost requirement. Or, on a related issue of not parsing my .ssh/config, a Match directive, and not wanting it to parse it yet. I grep'ed for an env var to override, but only USER and SSH_AUTH_SOCK are pulled in.

I did go get install ...nerdlog/cmd/nerdlog-tui@latest just fine.

Thanks for hacking in the open, and releasing early.
by leobuskin | 2025-04-21 20:48:10+00:00
I don't like the "vibe" term nowadays, but when you mix two pretty abstract domains (AI and development), it's all about vibes and aura. Some model/agent works perfectly for one of us (let's keep in mind, we have a bunch of factors, from language to the complexity of the implementation), and does everything wrong for others.

You just can't measure it properly, outside of experiments and building your own assessment within your context. All the recommendations here just don't work. "Try all of them, stick with one for a while, don't forget to retry others on a regular basis" - that's my moto today.

Cursor (as an agent/orchestrator) didn't work for me at all (Python, low-level, no frameworks, not webdev). I fell in love with Windsurf ($60 tier initially). Switched entirely to JetBrains AI a few days ago (vscode is not friendly for me, PyCharm rocks), so happy about the price drop.
by parliament32 | 2025-04-21 20:48:14+00:00
> Same with Gemini Advanced (paid) training on your prompts

I'm not sure if this is true.

> 17. Training Restriction. Google will not use Customer Data to train or fine-tune any AI/ML models without Customer's prior permission or instruction.

https://cloud.google.com/terms/service-terms

> This Generative AI for Google Workspace Privacy Hub covers... the Gemini app on web (i.e. gemini.google.com) and mobile (Android and iOS).

> Your content is not used for any other customers. Your content is not human reviewed or used for Generative AI model training outside your domain without permission.

> The prompts that a user enters when interacting with features available in Gemini are not used beyond the context of the user trust boundary. Prompt content is not used for training generative AI models outside of your domain without your permission.

> Does Google use my data (including prompts) to train generative AI models? No. User prompts are considered customer data under the Cloud Data Processing Addendum.

https://support.google.com/a/answer/15706919
Interest in an open-source alternative to Clay.com for data enrichment?
by MakegreatWord | 2025-04-21 20:48:31+00:00
I'm considering building an open-source alternative to Clay.com (the customer intelligence/data enrichment platform). The core concept would be a self-hostable solution that can:

Enrich contact and company data from public sources Create custom data tables with flexible schemas Automate data maintenance and updating Connect with common CRMs and productivity tools Prioritize privacy and data ownership

My motivation: While Clay offers a great product, I believe data enrichment should be accessible to smaller teams and individuals without enterprise budgets. An open-source alternative would democratize access to these capabilities. Some technical challenges I'm considering:

How to handle API rate limits for various data sources Building a scalable architecture for processing large datasets Ensuring GDPR/CCPA compliance Creating a user-friendly interface comparable to commercial options

If you're interested in contributing or would use this type of tool, I'd love to hear your thoughts. What features would be most valuable? What integrations would you need? Any insights about potential pitfalls or suggestions on how to approach this project? Has anyone attempted something similar already that I could learn from?
by d3Xt3r | 2025-04-21 20:48:45+00:00
What's wrong with it is the fact that it was already posted before over here and other news sites. I've seen it reposted several times over the past three months and I'm tired of seeing this.

6.13 is old news now, we're already on 6.14, and even 6.15 isn't far from release (we're already at rc3).
by PaulHoule | 2025-04-21 20:49:32+00:00
Only highly abstract languages like Brainfuck

https://esolangs.org/wiki/Brainfuck

which are too simple to have WTFs, although you might say the whole thing is a WTF. I think AVR-8 assembler is WTF free, but I'd like a more powerful macro assembler which would probably introduce a WTF.

Common Lisp is full of WTFs, I went through many stages of grief reading Graham's On Lisp but most notable was "if he was using Clojure he wouldn't be fighting with nconc". People have problems with Clojure too

https://www.more-magic.net/posts/thoughts-on-clojure.html
by jandrese | 2025-04-21 20:49:43+00:00
It is still subsidized, to the tune of 30%. However, that subsidy is mostly because rooftop installs have very high labor costs in the US. Solar farms pay far less per watt.

The actual hardware, especially the panels, have dropped so much in price that if you're capable and willing to do the work yourself you can have a solar install paid off in 2-5 years, depending on how much sun you get and how expensive your local power is. I've seen homebrew setups down south that were paid off in just over a year, but those were guys who live way out in the desert and were getting ripped off by their power company.

One thing you don't see anymore is fancy sun-tracking mounts. Back when panels were expensive they sometimes made sense, but these days it's pretty much always better to just install more panels instead. You can even point them differently, with half facing SE for morning sun and the other half facing SW for evening sun, flattening your production curve and allowing you to use a cheaper and smaller inverter.
by amiantos | 2025-04-21 20:50:15+00:00
Cursor and Windsurf pricing really turned me off. I prefer Claude Code's direct API costs, because it feels more quantifiable to me cost wise. I can load up Claude Code, implement a feature, and close it, and I get a solid dollar value of how much that cost me. It makes it easier for me to mentally write off the low cost of wasteful requests when the AI gets something wrong or starts to spin its wheels.

With Cursor/Windsurf, you make requests, your allowed credit quantity ticks down (which creates anxiety about running out), and you're trying to do some mental math to figure out how those requests that actually cost you. It feels like a method to obfuscate the real cost to the user and also create an incentive for the user to not use the product very much because of the rapidly approaching limits during a focus/flow coding session. I spent about an hour using Cursor Pro and had used up over 30% of my monthly credits on something relatively small, which made me realize their $20/mo plan likely was not going to meet my needs and how much it would really cost me seemed like an unanswerable question.

I just don't like it as a customer and it makes me very suspicious of the business model as a result. I spent about $50 on a week with Claude Code, and could easily spend more I bet. The idea that Cursor and Windsurf are suggesting a $20/mo plan could be a good fit for someone like me, in the face of that $50 in one week figure, further illustrates that there is something that doesn't quite match up with these 'credit' based billing systems.
by koiueo | 2025-04-21 20:50:33+00:00
> Most contributions

How did you count?

> most popular libraries

How did you measure?

I agree this is the case for Linux kernel, for example. But I don't know if it applies to entire ecosystem.

> Yes, that's the whole point of open source?

I think it's a gross oversimplification. For some reason there is not much code in public domain.

People do want different things in exchange for their work. Hence different licenses. Some want to receive credit for their work, some want to enrich the opensource ecosystem, make it more sustainable. Which brings me to my final point.

> are from employees on their paid corporate time to begin with

It's natural for companies to open their code under permissive licenses. Very often such code is just a first free sample of whatever they are selling: consulting services, a SaaS, etc.. So it makes sense to have an attitude "do whatever with the code, just please-please-please use it".

For an individual developer working on a one-man project the incentives structure can't be similar to one of a company. Hence my trouble understating why people pick MIT/Apache/BSD for their projects.
by 9rx | 2025-04-21 20:51:01+00:00
New houses generally cost more than used houses. If people already think a used house is more than they can afford, who is going to pay even more to build a new house?

If you truly believe you can build new houses in Vancouver for less than the cost of its used houses, you've found one amazing arbitrage opportunity. You should be asking yourself why investors aren't lined up at your door.
by rambambram | 2025-04-21 20:51:17+00:00
Hey, I have this personal homepage. Available under a domain name. I trust myself, so I put a PNG of a blue check on it. If you don't trust me, I also have a blue check on my website that is put there by my best friend. Now you have to trust me. I guess I'm verified now, authenticated even.

The web really was better with more pseudonyms. I don't care if you are you, I can read your text, judge it on it's merits (according to my yardstick) and I basically don't care if you or other people consume information that is true or false.

Am I missing something?
by feoren | 2025-04-21 20:51:20+00:00
>It seems a little inconvenient to require acceptance that empty products equal 1

Only the contrary: it is extremely inconvenient to not allow the product of an empty sequence of numbers to equal 1. The sum of an empty sequence is 0. The Baz of an empty sequence of numbers, for any monoid Baz, is the identity element of that monoid. Any other convention is going to be very painful and full of its own exceptions.

There are no exceptions to any rules here. 1 is not prime. Every positive integer can be expressed as the unique product of powers of primes. 1's expression is [], or 0000..., or ∅.
by clejack | 2025-04-21 20:51:27+00:00
Come to the U.S. and say something bad about Trump while also being in a compromised position, and you might find yourself in a similar situation. At what level this will end, I can't say; but we know where we were and we know where we currently are. Any average Joe could've talked shit about Biden with impunity. It seems we're getting away from that.

The fact that Europe has some aspects "worse" from your perspective is immaterial. I'm responding to a change in my environment not a change in the European environment. Having the president threatening schools and libraries for having certain books, and organizations for using certain terms when things weren't like that before is a rather jarring change and to pretend that it isn't indicates intellectual dishonesty or a lack of paying attention.

I was just listening to a story about immigrants with student visas being hunted down by ICE while they still have student status (even if you visa expires your legal status is maintained with your student status normally). The fact that this person is trying to immigrate from Europe means he/she may very well have an issue depending on background.
by SpaceNugget | 2025-04-21 20:51:37+00:00
The file titled LICENSE contains a copyright notice. That's what a license file _is_ in the context of software a LICENSE to use someone's COPYRIGHTed software. You must abide by the terms under which you are granted the license, otherwise you don't have access via the license, and are thus violating the copyright. They aren't two unrelated concepts.

Anything else is noise, they violated the license. They blatantly copied copyrighted works. They can't "oopsie" that away or claim it as a mistake, honest or not. You simply are not allowed to do that.

Suggesting that they "could possible just copy the licence somewhere less visible and remove the link from their README." is wrong. They MUST include the copyright notice and the rest of the license. They don't get to choose whether or not to respect the license. And they don't need to remove the link, That's got nothing to do with the copyright issues. No one at Microsoft thought that call out was somehow the legally required attribution clearly explained in the MIT license.
by fpoling | 2025-04-21 20:51:50+00:00
I always thought that 0-based indexes were superior until few years ago I needed to deal with Fortran code and I realized that 1-based arrays allowed to use 0 as a non-existing index or sentinel, not size_t(-1) hack as found in C/C++. Like the article explains, depending on the domain one or the other convention can be advantageous.

And then C/C++ compilers are subtly inconsistent. If 0 is valid index, then null should correspond to uintptr_t(-1), not 0 address. That lead to non-trivial complication in OS implementations to make sure that the address 0 is not mapped as from hardware point of view 0 is absolutely normal address.
by manmal | 2025-04-21 20:53:20+00:00
A less known feature of LM Studio I really like is speculative decoding: https://lmstudio.ai/blog/lmstudio-v0.3.10

Basically you let a very small model speculate on the next few tokens, and the large model then blesses/rejects those predictions. Depending on how well the small model performs, you get massive speedups that way.

The small model has to be as close to the big model as possible - I tried this with models from different vendors and it slowed generation down by x3 or so. So, you need to use a small Qwen 2.5 with a big Qwen 2.5, etc
by jowea | 2025-04-21 20:53:30+00:00
> If you define the left in some completely novel way, maybe.

I don't think it is an absurd notion. The founding fathers maybe wouldn't be outright Montagnards by the original standards of left-right division in the French Revolution that would start soon after, but they would definitively be on the left. The US liberal democratic republic with no official class system and at least a theoretical commitment to individual freedom would be to the left of almost all European governments until the 20th century, if you don't discount too many points for slavery and its aftermath.

My opinion, is that the fundamentally leftist ideology of liberal democracy has been so ideologically victorious it is now the centre, so people now talk anything but socialism is right-wing.
by Aperocky | 2025-04-21 20:53:46+00:00
> What do I need to do? Designing the solution conceptually

That's not respecting #2, which still fall squarely in engineering profession.

The design of the solution are necessarily technical, otherwise it's just throwing a bunch of concept and big words to sounds cool and leads to nowhere.

The outcome of this solution would then go back and influence #1 which is the behavior that customer see. If Steve Jobs couldn't fit all of his components into his iphone then it wouldn't have existed, and he might have to settle for something less, like an ipod.

Obviously this would all exist in a ring and that's why everyone is continuously employed and mostly not fired once the product gets released.
by robinhouston | 2025-04-21 20:53:59+00:00
Another very interesting article on the primality of 1 is Evelyn Lamb's _Why isn't 1 a prime number?_ (https://www.scientificamerican.com/blog/roots-of-unity/why-i...)

A slightly facetious answer might be that this is the wrong question to ask, and the right question is: when did 1 stop being a prime number? To which the answer is: some time between 1933 (when the 6th edition of Hardy's _A course in pure mathematics_ was published) and 1938 (when the 7th edition was published).
by csharpminor | 2025-04-21 20:54:03+00:00
Another sketchy practice: if you get Uber Cash through a card like Amex, when you go to use it the price for the ride is automatically $15-$20 more than someone who doesn’t have an Uber Cash balance.

I’ve checked this side by side with colleagues at the airport getting ride quotes to the same hotel. When you have Uber Cash they will quote you more. You can find numerous Reddit threads on the topic as well.

This feels very illegal to me, but not a lawyer.
by godelski | 2025-04-21 20:54:19+00:00
Thanks for the insights and disclosure. While maybe not a expert in the AT Protocol, certainly you are closer to the issue than myself and presumably most users.

Were you given the ability to make a trustless or more decentralized system is there some route you would pursue? Maybe ignoring the AT protocol so I (and others?) can get a better sense of how such systems might be employed to ensure that an arbitrary organization can build defenses against themselves becoming adversaries (seems like a fairly useful mindset in general).
by gerdesj | 2025-04-21 20:54:30+00:00
"Hell, I know twenty-somethings that can't even stand movies from the 1980s!"

We all have anecdotes about the bloody kids! I noticed my granddaughter wearing a Metallica (Justice) T shirt - she does like the music - I asked Alexa. I dug out my old records and gave them to her. I also showed her how to rip a CD and put them on her phone. That's proper life skills transfer that is.

I watched Star Wars in the 1970s when it came out and it still seems to be quite popular. Perhaps you might like to avoid the shit films and go a bit more mainstream when you show kids films from the 1980s!
by cirrus3 | 2025-04-21 20:54:50+00:00
Anything the requires me to use a different IDE is a non-starter for me.

I can imagine it is a lot easier to develop these things as a custom version of VSCode instead of plugins/extensions for a handful of the popular existing IDEs, but is that really a good long term plan? Is the future going to be littered with a bunch of one-off custom IDEs? Does anyone want that future?
by cameldrv | 2025-04-21 20:54:54+00:00
This is my biggest aggravation. They consistently underreport estimated pickup times. Dropoff times are essentially universally significantly later than the estimate before booking.

It's things like this that make agents potentially exciting. So much of enshittification is wrapping an essentially good service in a crappy and misleading UI to drive extra revenue. If you can replace the lying UI with a more honest one, and then do a fair and automatic comparison between Uber and Lyft, a lot of the annoyance goes away.
by trelane | 2025-04-21 20:54:54+00:00
The WRT54g led to a variety of user-serviceable firmware worldwide, including dd-wrt and openwrt. It gave, and continues to give, new life to otherwise wifi devices that shipped with a abandoned propeietary software. It was a revolution in wifi router firmware, and still is.

It was created because Linksys shipped GPL code to customers but didn't provide the source.
by ZeroGravitas | 2025-04-21 20:55:00+00:00
It has been the smart economic decision for a decade or more already. Capitalistic greed caused some to spread FUD around that issue, deny there was a problem and attack several useful tools for dealing with it.

The fact that capitalistic greed has caught up with reality a decade later after most of the hard work was done and is now fighting on both sides of the issue is somewhat tragic.

Doubly so if you consider what it means about every other global problem we face that might affect a powerful incumbent's short term profits.
by jkrejcha | 2025-04-21 20:55:28+00:00
Yeah also in general the WFC code is a bit dated and not very secure.

This actually reminds me of two very interesting bugs which used together basically make it so that you can play WFC games (basically just Mario Kart Wii, nowadays) as simple as changing the DNS settings on your Wii

1. Firstly, as long as you set a particular field in the certificate, it just is completely happy with an invalid cert. (This was fixed by the NWC library by the time it was released In Korea, notably, although this bug was present in DWC for a long while.

(Aside:

I actually suspect that this bug was present in the RVL SDK (used by games and such on the PPC), but also is caused by the same cause as the signing/Trucha bug[1]. While the latter is a IOS specific exploit, it wouldn't surprise me if the same code was used in both this and DWC (the networking library). Given that Mario Kart Wii has an associated IOS version of IOS36[2], but DWC code isn't part of IOS, my hunch is that they used either the same or similar validation logic OR both bugs were squashed a part of some security related cleanup.

I haven't actually gone through the reverse engineering effort to confirm this yet, but given that this doesn't work on the Korean version of MKW, which notably uses a later version of IOS and other libraries, my hunch is that those bugs are one in the same. The fix timing at least seems interesting to me. Anyway side note over.)

2. The networking library also has an RCE caused by a buffer overrun, basically from the first message it has a length that's unchecked and the DWC library blindly memcpys data from the packet. This is kinda why it's important to have some sort of patchset that fixes these bugs (because the operating system and libraries ship with the game and you can't update those except for in memory).

The culmination of this is all you have to do is

1. Change your DNS settings on your unmodified Wii to point to a specified DNS server.

2. Start Mario Kart Wii (probably, although some other games work too), open up WFC

So that the game...

3. Does a DNS lookup for the WFC server which intentionally links to a 3rd party server

4. Passes validation of a bad cert which intentionally sets one of the fields to a null value in order to make the Wii accept it

5. Receives a message that contains an exploit which patches the game in memory to fix the known RCEs and setup URLs to resolve to different domains instead of using the old WFC ones among other things (such as cheat reporting that is all client-side based, etc)

all so you can play Wii games (probably Mario Kart Wii) online 11 years after WFC shut down for good :)

[1]: https://wiibrew.org/wiki/Signing_bug

[2]: https://wiibrew.org/wiki/IOS36
by d3Xt3r | 2025-04-21 20:55:45+00:00
That doesn't make it okay to repost stale news. Would you be okay if I went to say phoronix.com, started picking other notable 3-month old Linux kernel articles and repost them here one by one? Heck, why limit myself just to the Linux kernel, why don't I just start reposting all the top headlines in the past few months, because surely not everyone is up-to-date on all the developments right?