MurphyA/hacker-news huggingface dataset:
by deze333 | 2025-04-25 04:19:31+00:00
"Liking" is irrelevant to me. I do use it thoroughly though – I have written Linux containers (web apps) as well as native macOS and iOS apps. I am end-product creator and want my ideas to become end-user products and see the light of day. Delivery is everything.

Swift offers convincing ease for writing abstractions that underpin the app layer. You can be as clever or as simple as you wish, it's up to you. I prefer to keep it simple.

The other huge win for me is its ability to combine multiple language codebases at the SOURCE CODE LEVEL under a single project umbrella. Many of my projects use a mix of:

- Swift - C++ - C

The whole thing gets compiled from a bunch of source code folders with a single command. No wrappers or binary wrangling, simply call C++/C from Swift.

Compile time is really fast for me with Swift 6 onwards.

I use Xcode (and I am fine with it, it compiles really fast in year 2025) or VSCode (with Swift plugin) — both achieve the same thing in my experience.

Want to build a Docker Linux container? Very simple too. I fine tune and debug the project on dev macOS machine then use a Docker Linux container to build it for Linux (on a Mac or Linux) and deploy the binary. It's a single binary file by default, all libs inside. Then copy it to my NAS or deploy to remote Linux server and enjoy the speed.

Low friction, easy abstraction, fast delivery and binary machine code executable. That's what speaks to me.
by refurb | 2025-04-25 04:19:57+00:00
What makes you think the elites aren’t pushing back? Because they aren’t being public about it? “If it’s not on the internet it didn’t happen”?

I know for a fact the CEO of my Fortune 100 company has talked with the administration to share their views on the potential impact. No press release, no public statement. Just a visit to the White House.

If anything, I’d suggest the public silence indicates the lites are either on board or feel their concerns will be addressed.
by godelski | 2025-04-25 04:20:01+00:00
Honestly, that seems like a solvable problem. Certainly not easy, certainly tremendously difficult, but I'm not sure it is impossible nor that we can't make strides in that direction. We're fundamentally talking about a search algorithm, with specific criteria.

I doubt there would be good money in creating this, but certainly it would create a lot of value and benefit many just from the fact that if we channel limited resources to those more likely to create better things, then we all benefit. I'd imagine that even a poorly defined metric would be an improvement upon the current one: visibility. I'm sure any new metric will also be hacked but we're grossly misaligned right now and so even a poorly aligned system could be better. The bar is just really low.
by AdieuToLogic | 2025-04-25 04:21:07+00:00
> This is a bit tangent, but does anyone know how to block an app from ever deciding to become a file handler on macOS?

The information below does not "block an app" from taking over file handler associations. It may be beneficial on its own and/or provide a starting point for further exploration.

> Every time I install Chrome on my machine (for testing purposes), macOS decides that Chrome is going to be the default file handler for a bunch of file associations, including HTML, WebP, and so on… and I have to figure out which was which for all of the mappings (which is super frustrating).

The following command can display current file extension associations for a user account:

plutil -convert xml1 \ ~/Library/Preferences/com.apple.LaunchServices.plist \ -o -

In the XML output of the above should be the associations. As for determining changes, if Time Machine has been enabled, then changes to this plist can be identified.

Also regarding a Chrome OS-X/macOS installation - it installs plists for unconditional background updates. This may not be a desirable feature.
by fsckboy | 2025-04-25 04:21:31+00:00
>Still, can't think of a reason I'd back into a space in a parking lot

I back into spaces almost exclusively. reason: I see that I can do it when I arrive, and realize that exiting forward will be a breeze regardless of the future conditions (you are backing into an empty space, and forwarding into a space with other moving cars that are out of your control).

it's one forward lap and one backward lap, same difference, in addition to which I find steerability/maneuverability is much better with the "steering" wheels in the back, because after you get the forward aligned to enter the slot, you can simply steer away after that.
by mrj | 2025-04-25 04:22:32+00:00
I started my career rewriting a product using Microsoft's DNA business server with Java and never looked back. I'm shocked this keeps happening, honestly. I guess I'm a "never again" sort but surprised there's not more companies refusing to deal with Microsoft.

Due to experiences like that I refused to buy volume licenses from them, too. Sometime later I got an audit demand for which I had a reply ready.

"lol, no."
by notnmeyer | 2025-04-25 04:22:56+00:00
i took a look at the prs and issues they linked. i didn’t realize most of this was 6 years old. additionally, the folks submitting the prs seemed ill equipped to make a convincing case for why anyone should be among the first to adopt a nob-standard standard.

even then, one maintainer makes an excellent suggestion: give folks a list of the specific vars to set for various tools, and the pr author shoots it down as too much work.

the approach to this reasonably good idea feels flawed and effectively dead.

6 years and about 6 prs and most went nowhere.
by hayst4ck | 2025-04-25 04:23:10+00:00
Iranians overthrew their government, but it was an act against their current government, not an act for a new government.

Actions need to be taken for something, not against something.

China is performing actions for their workers, while America is performing actions against China. We are not subsidizing trade shows or funding giant manufacturing projects, in fact we are killing our offices that generate new business across the executive.

China's adversity will make them stronger as they invest in their businesses and diversify their buyers. Our own adverity will make ourselves weaker as we continue to unnecessarily threaten and isolate ourselves from those we could seek help from or trade with. Right now China is a rational actor in ways we aren't. If you want predictability, that won't be found in America any time soon and for a business, that is extremely important.

Mao, who both Trump and Xi are modeling themselves after in different ways, was a person who didn't listen to experts and caused one of the greatest man made disasters that humanity has ever experienced because he thought he could solve problems without thinking about second order effects. It's extremely clear this administration is also not considering second order effects. Experts across the board are against this administration because every plan is so poorly thought out. We are headed for absolute disaster.
Show HN: Pomo – Manage your Stripe promo codes without code
by yelston | 2025-04-25 04:26:05+00:00
Hi Everyone, I just launched an entirely free tool - usepomo.com

Pomo - Create, manage, and track unique batch promo codes in Stripe without bothering your development team.

Pomo was created to address a past pain point: the inability to batch create unique promo codes (with a predetermined prefix) using the Stripe Dashboard. The only options were to work with your tech team to manually create those promo codes via API or to have them build a tool for it (which can also be done using Retool or Bubble).

I developed Pomo so that any team member with no coding experience can simply sign up, enter their Stripe API keys, and batch create hundreds of promo codes with just a few clicks. You can then export these promo codes if needed for your growth campaigns.

Feel free to give it a try if you encounter the same issues I did.

I welcome any feedback. Thanks, everyone, and happy Friday!
by Blackarea | 2025-04-25 04:26:18+00:00
I don't want to sound too cynical but from European perspective I'd say just remove the horrendous costs of college and university by regulazing and subsidizing education. It's not communism even if many Americans would think so. But in order to get anywhere near there you'd probably have to start with replacing that orange toad and his minions with something else, anything really would do at this point
by nirui | 2025-04-25 04:26:26+00:00
> Windows Vista, then called by its codename "Longhorn", given to developers at the Microsoft Professional Developers Conference in 2003, included WinFS, but it suffered from significant performance issues

Odd, I did tried out a few Longhorn builds. Not knowing if they were shipped with WinFS, but in my case the "performance issues" of the system was caused by increased RAM demand (I only had 512MB RAM at the time).

The referenced sourced by Paul Thurrott from winsupersite.com mentioned:

> (https://web.archive.org/web/20070702131752/http://www.winsupersite.com/showcase/winfs_preview.asp) > > it was pretty clear that WinFS wasn't ready for prime time. As one might expect, WinFS suffered from huge performance issues and simply bogged down the regular builds. And while WinFS was indeed included with the WinHEC 2004 Longhorn build that Microsoft shipped in May 2004, Microsoft was surprisingly quiet about WinFS at that time. A few months later, we found out why.

One old discussion on the subject suggested:

> (https://ask.metafilter.com/129685/Why-did-WinFS-fail) > > posted by @troy at 3:03 PM on August 9, 2009: > I read that as "slow as a wee lassie on anything less than 16GB and quad dual-cores". They're waiting for PCs to be fast enough. > > posted by Ptrin at 7:13 PM on August 10, 2009: > Because Longhorn was cancelled. The WinFS project was a part of Longhorn, and when Longhorn died, WinFS did as well

But the exact cause for the issues remain undisclosed. Don't you just like these close sourced hypes? LOL
by amiantos | 2025-04-25 04:27:12+00:00
We're the silent majority, I'm pretty sure. If you love coding, you probably love technology, and if you love technology, you probably love AI, which is inarguably the most interesting tech advancement in this decade.

The others, who are not like us? They've got other priorities. If you hate coding but you love AI, you're probably into software engineering because of the money, not love of technology. If you love coding and you hate AI, you're probably more committed to some sort of ideology than you are the love of technology. If you hate coding and you hate AI, well, I hope you throw your cellphone into the river and find a nice cabin in the woods somewhere to hide in.
by WarOnPrivacy | 2025-04-25 04:27:32+00:00
> Yes. A parking camera / screen is a straight up improvement compared to relying on windows and skill.

Car screens and I don't get on. At all. For backing up, what works for me is a full check first and directly viewing while backing up, augmenting with mirrors.

Eyes-on is me being as safe as I can possibly be.
by Barrin92 | 2025-04-25 04:27:51+00:00
I don't really understand the logic here. All the actual signal about what artillery in bushes look like is already in the original training data. Synthetic data cannot conjure empirical evidence into existence, it's as likely to produce false images as real ones. Assuming the military has more privileged access to combat footage than a multi-purpose public chatbot I'd expect synthetic data to degrade the accuracy of a drone.
by dharmab | 2025-04-25 04:28:32+00:00
Zed uses tree-sitter and LSP; most popular languages do not require extensions, and extensions for niche languages are shockingly easy to write. Literally 100-300 lines of Rust boilerplate and around 300 lines of config boilerplate, with minimal maintenance/upkeep.

https://zed.dev/docs/languages/cpp
by hayst4ck | 2025-04-25 04:29:08+00:00
America's nuclear legacy has Admiral Rickover all over it and my understanding is that he was very against privatized nuclear energy. Boeing's own operations and actions vindicate him in so many ways.

If you want Nuclear, you have to ask would you want Boeing or a Boeing like company to run nuclear plants in America? Would you want an administration as careless as this one running those nuclear plants?

That's the problem. We are a nation that doesn't have any sense of responsibility anymore and often times punishes it. Nuclear is something that severely punishes irresponsibility.

It's probably worth reading his final testimony to congress: https://www.worldfuturefund.org/Articles/rickover.html

I think that ultimately we will need nuclear power because we are exhausting our nonrenewable resources; that is, coal and oil. I think they will go far more rapidly than we think they will and the cost is already going up. I believe that nuclear power for commercial purposes shows itself to be more economic, but that's a fake line of reasoning because we do not take into account the potential damage the release of radiation may do to future generations.

I'll be philosophical. Until about two billion years ago, it was impossible to have any life on earth; that is, there was so much radiation on earth you couldn't have any life - fish or anything. Gradually, about two billion years ago, the amount of radiation on this planet and probably in the entire system reduced and made it possible for some form of life to begin, and it started in the seas, I understand from what I've read, and that amount of radiation has been gradually decreasing because all radiation has a half-life, which means ultimately there will be no radiation.

Now, when we go back to using nuclear power, we are creating something which nature tried to destroy to make life possible. Now that is the philosophical aspect, whether it's nuclear power or using radiation for medical purposes or whatever. Of course, those are not bad because they don't last long, but every time you produce radiation, you produce something that has life, in some cases for billions of years, and I think there the human race is going to wreck itself, and it's far more important that we get control of this horrible force and try to eliminate it.

I do not believe that nuclear power is worth it if it creates radiation. Then you might ask me why do I have nuclear-powered ships? That's a necessary evil. I would sink them all.
by Lerc | 2025-04-25 04:31:52+00:00
I'm not sure of the benefit of keeping particular forms of problems secret.

Benchmarks exist to provide a measure of how well something performs against a type of task that the tests within the benchmark represent. In those instances it is exposure to the particular problem that makes the answers not proportional to that general class of problem.

It should be easy to find another representative problem. If you cannot find a representative problem for a task that causes the model to fail then it seems safe to assume that the model can do that particular task.

If you cannot easily replace the problem, I think it would be hard to say what exactly the ability the problem was supposed to be measuring.
by gchamonlive | 2025-04-25 04:34:34+00:00
> You've won the lottery, but you don't want to acknowledge that you won the lottery.

Yes, but where does this drive come from?

I haven't the faintest idea, however we can extrapolate from some facts.

One fact is that they have a lot of money. Duh... But also money is the key metric to measure success, so a lot of other people flock around those who have money so that it rubs a bit off of them, that Midas touch.

Suddenly these ultrawealthy are surrounded by an endless wave of gold diggers. The immediate thing that follows is flatter, and then echo chamber.

Now imagine that goes for years and years. Slowly this metaphorical richy's whole world views -- and also how he view himself, his identity and his relationship with the things around him -- gets tied absolutely to that notion that he is right.

For this imaginary person, losing a game isn't just am innocent loss anymore. It's a direct question of his own identity.

I think this explains a lot, but I'm not psychologist so it's just a wild guess.
by merb | 2025-04-25 04:36:54+00:00
You missed that the ‚binary‘ vsix file has a different license: https://marketplace.visualstudio.com/items/ms-vscode.cpptool...

(The license like that existed before cursor, it was basically the reason for vscodium)

(Source is https://marketplace.visualstudio.com/items?itemName=ms-vscod... the license link at the bottom)

The same problem with the c# extension, which has had an even bigger shitstorm since some parts of the extension need a ms account and depending on the company needs to be paid
by jshier | 2025-04-25 04:37:45+00:00
Orthogonal? Odd thing to say given Swift's evolution and release timeline are entirely constrained by Apple's OS release schedule. We're currently going through the spike in evolution proposals by Apple engineers in preparation for the branching of Swift 6.2 next month before WWDC in June.

As for server side, the standard library is entirely available on other platforms, with a subset available for embedded Swift. However, it's fairly limited when compared to something like Python, and cross platform support for the other libraries like swift-foundation or SwiftNIO is more limited (IIRC SwiftNIO still doesn't support Windows properly).

I'm not sure what you're talking about with the tool chain. Apple has been producing toolchains that can run on macOS outside Xcode for years. Do you mean integration of swiftly? I think that just brought swiftly support to macOS for the first time.

Ultimately I agree with jchw; Swift would be in a much better position if it wasn't controlled by Apple's process. Features could get more than a few months work at a time. We could have dedicated teams for maintenance intensive parts of the compiler, like the type checker or the diagnostics engine, rather than a single person, or a few people that switch between focus areas.
by Quinzel | 2025-04-25 04:38:21+00:00
When you realise your start up isn’t working, the smartest thing you can do is either sell it to someone who has the resources to do perhaps what you cannot to make it a viable product or service, or give up and move on to something new.

To persist endlessly in something that isn’t going to do anything but drain your resources financially and emotionally, is a much bigger failure in the long run. What do you have to lose if you persist with this start up that’s going nowhere vs, what do you have to lose if you just cut your losses now?

Honestly, most start ups actually fail. It’s a part of the process. People always think their start up will be the one that doesn’t fail, but it’s because humans are inherently over-optimistic about their businesses. They always think they’ll have them established more quickly, for much less money and work than it actually takes.

Take the lessons you’ve learned from this try, and try and apply them to a new idea or start up.

If it makes you feel better, I too started a business last year. However, I knew it would likely fail, but I still wanted to give it a go to see if it would work for my lifestyle and I was using it predominantly as a tax deduction anyway. After about 6 months however, I realised my business model was quite frankly not sustainable for the long term and was probably going to cost me more than I had to gain from persisting. Thus, I applied for a job somewhere, and I am in the process of shutting my business down.

Does that mean I’m done with trying new things? No. It just means, I’ll do things differently next time. For now, I’m taking the time to ‘recover’ from the burnout, and I’m thinking about new ideas for things I can try later down the track when I’m ready to go again.
by jamesrom | 2025-04-25 04:38:25+00:00
It's easy to think of notation like shell expansions, that all you're doing is replacing expressions with other expressions.

But it goes much deeper than that. Once my professor explained how many great discoveries are often paired with new notation. That new notation signifies "here's a new way to think about this problem". And that many unsolved problems today will give way to powerful notation.
by deze333 | 2025-04-25 04:40:00+00:00
Not my experience at all. I develop daily in Xcode and compile times are excellent. One can't really compare between TS/JS interpreted languages and machine code generation. Apples and oranges. Swift compiler is fast, faster than C++. In my experience the Golang compiler is the fastest but the language is much simpler. Rust compiler is slower than C++.

As a side note, for some reason people like to bitch Xcode just out of habit perhaps. It's a kind of base line statement. Not my experience either. It's an excellent IDE for the current year of 2025. Helps me a lot and I build end-user facing apps, the proof is the love that users give to my apps. In other words, I have skin in the game.
by EVa5I7bHFq9mnYK | 2025-04-25 04:40:13+00:00
Yeah, you are right, it's about syntactic sugar, I didn't read the article except first two examples.

Pipelines are about iteration, of course. And they do have internal logic around iteration.

cat largefile.txt | sort | uniq --count

is an excellent example. While cat and count iterate on each character sequentially, sort and uniq require buffering and allocating additional structures.
by n8cpdx | 2025-04-25 04:42:01+00:00
I'm paid by the hour and the Apple Store is a block away from my place of work, so in this particular case it is pretty clear cut. I realize it is different for people paid a fixed annual salary.

Although in hindsight it probably felt like I spent more time there than I actually did. I think the $200 is fair given that I would normally be quite willing to pay to avoid that kind of unfortunate circumstance.

And of course that leaves out the complication of pre- vs post-tax wages, retirement savings, etc.
by fakedang | 2025-04-25 04:42:47+00:00
> Hn is a discovery/recommendation site as is Reddit. Amazon makes a lot of margin on theirs and arguable it's part of the major value add for Spotify and Netflix.

Nope, HN is just an online forum. I can't tailor what I see on HN to my tastes, and there's a subset of posters who get preferential treatment on the frontpage (YC companies), so nope, HN is not a recommendation site.
by zaptheimpaler | 2025-04-25 04:43:20+00:00
At my company we seem to have moved a little in the opposite direction of observability 2.0. We moved away from the paid observability tools to something built on OSS with the usual split between metrics, logs and traces. It seems to be mostly for cost reasons. The sheer amount of observability data you can collect in wide events grows incredibly fast and most of it ends up never being read. It sucks but I imagine most companies do the same over time?
by grandempire | 2025-04-25 04:43:38+00:00
Math can also be taught very young with compounding effect, but you’re very unlikely to be exposed to the coaching and expertise at a young age. Of course the few in the world who combine aptitude with exposure are the kind of people you will find at Harvard. If you’re not one of them you may be a decade behind.

I also had a math professor who believed in extreme differences within the research community. He said only a top advisor would actually be engaging with real research and be able to bring you with them.

> More likely, get stuck a postdoc.

I still can’t understand why the outcomes for math Phds are so bad. They have extremely general intelligence which is applicable to any jobs I’ve had. I think it’s some combination of being unable to sell, unable to explain what they do, and still having their aspirations defined by professors.
by edoceo | 2025-04-25 04:44:08+00:00
I've been having hella trouble getting the image tools to make a alpha channel PNG. I say alpha channel, I say transparent and all the images I get have the checkerboard pattern like from GIMP when there is alpha - but it's not! and the checkerboard it makes is always jank! doubling squares, wiggling alignment. Boo boo.