MurphyA/hacker-news huggingface dataset:
by bob1029 | 2025-04-05 11:17:53+00:00
I made almost two full trips around this clock over the last decade on a single project.

One of the biggest takeaways for me is that if you choose to do the DSL, you need to think super hard about your target audience and how they think about the world.

For me, the whole point of DSL is to get the developers working on common modules that the business could string together without too much babysitting.

The first DSL we tried was python, interpreted by way of iron python / C#. This did not stick with the business people at all. It was pure ball-and-chain for the development team.

The second DSL we tried is SQL. The verdict is still out on that one, but the amount of traction so far is almost infinite in comparison to the prior attempts. You can get a non-developer to build SQL queries that express BL if you are patient with them and provide some examples. The tooling is also substantially better if you are using something like SQLite and can easily pass the DB around to play with.

If I was going to approach this fresh, I'd set the clock to noon and then remove the battery. The amount of overhead and risk required to support a DSL is substantial. Even if you use SQL and leverage mostly existing tools, you are forcing developers to build things in a very particular way that isn't necessarily ideal in terms of a pure code solution.

I think you can do a purely hard coded solution that is approachable by the business if it is structured well enough and made available in a friendly context like GitHub. Let the business use the web tool to propose PRs over well documented code they can mostly understand. Maybe there's an "internal" folder that only the neckbeards touch. You can draw your battle lines wherever you please.

For the hardcoded only approach wherein the business people are involved, the choice of language is very important, but I don't know how to have that conversation constructively in this forum.
by graemep | 2025-04-05 11:17:59+00:00
> not to mention everything in the language is basically a string and all that entail

I disagree with that to at least some extent. Everything is a string works well in TCL because the language is built around that abstraction. It works at least as well as other dynamically typed languages in small projects, and is definitely preferable to Javascript's rather weird weak typing.

It also does async and multi-threading really nicely, and encouraged event driven long before it look off elsewhere.
by StopDisinfo910 | 2025-04-05 11:20:04+00:00
The analysis is a bit wild but Apple (and all American hi-tech manufacturers if we are being honest) is in a difficult situation.

The issue is that wherever you shift production you will be significantly destabilising their trade balance with the USA. You can optimise but tariffs will probably be bad anywhere you go. Plus China hold sway on some critical part of the supply chain like minerals and it’s virtually impossible to cut them out on a short time frame.

On shoring could be a solution but the USA simply can’t fulfil the demand of its whole value chain without significant investments and who will be crazy enough to make long term investments in such a volatile environment.
by rbizyrbiz | 2025-04-05 11:20:10+00:00
Yep all good on the citizenship front for EU/Canada (I can do it).

I'm more ignorant about how to move a company (thinking of starting a new one over there and then "selling" the assets into the new entity but this is just conjecture).

Agreed on the English speaking (or a country that has more of a bilingual culture)
by nchmy | 2025-04-05 11:24:02+00:00
You need to learn how to brew coffee, friend.

Bitter generally means "overextracted" (and sour is the indicator for underextracted) The remedy is some combination of cooler water (maybe 90C), shorter brewing time, coarser grind. Also, wait for it to cool off - excellent coffee is almost always bitter when piping hot, but gets delicious when it has become warm.

Freshly roasted beans, and freshly ground for the brew, is crucial as well. Green beans keep their flavor for, let's say, 15 months. Roasted 15 days. Ground 15 minutes. All preground coffee in the grocery store is garbage. (Let alone instant coffee, which was low-grade to begin with, brewed en masse, rapidly dehydrated, and the remaining solids put in a jar for rehydration)

Of course, many have no interest in any of this process, and that's fine. But they're stuck with bland and/or bitter coffee...

Though, you don't need anything fancy to make good coffee. French press is dead-simple and consistent, and you don't even need a French press - you can use any recipient (eg a jar) and then just carefully pour the coffee out and try to leave the sludge behind. A careful Cowboy coffee, essentially.

Give it a try - you might get some enjoyment out of your addiction. Though, I've basically quit coffee altogether as my body has become immensely sensitive to caffeine, to the extent that half a cup daily will subtly mess up my whole life.
by eqvinox | 2025-04-05 11:24:07+00:00
> No variable format in 2025?

You're presumably referring to variable fonts, aka multiple master fonts/MMF.

Making a multiple master font is massively more work than discrete variations. The complete total number of MM fonts in existence is a 2- or 3-digit number, out of at least tens of thousands of fonts, if not millions.

Demanding or implying that fonts should be MM in 2025 is just plain out of touch with reality.
by diggan | 2025-04-05 11:24:15+00:00
> Using samples doesn't mean not musician.

I don't think parent tried to say they're not musicians because they used samples. But more like they had more options, since they weren't just DJs, so it's possible they actually did sound design themselves, rather than sampled it. Someone who only knows DJing obviously has less options available in the beginning if they start producing.

That said, Daft Punk did rely heavily on samples all over the place (not a bad thing), and it would be surprising if there was tracks out there where they didn't use any samples at all.
by graemep | 2025-04-05 11:24:43+00:00
I have used both TCL and Sqlite a fair bit but not both together. I have thought that TCL + in memory Sqlite would make a powerful combination for some tasks but have never actually tried it.

> have a tcl interpreter as a virtual table

Do you mean this: https://sqlite.org/src/file/src/test_tclvar.c ?
by scottydelta | 2025-04-05 11:25:13+00:00
I highly recommend coolify. Been hosting it on a dedicated server with 16 core and 64 GB ram and it powers following things for me right now

- prefect for ai and other automations.

- metabase

- postiz

- open webui

- jupyter notebook

- few experimental Db

backup is an issue but the best way I have found is to create a dedicated folder for your containers volume and edit docker compose in coolify UI to use this path for all volumes. Now you can backup coolify data and this container volumes folder.

You can assign a wildcard subdomain to it and it can then assign subdomains easily to any project with ssl. Pretty nifty.

Think of coolify as ui for docker and other network things on server. I use lazydocker to manage containers via command line too on server when coolify won't bend to my will. So both combined together gives a solid control and ease.
by bhouston | 2025-04-05 11:26:38+00:00
Mastodon’s distributed nature makes it hard to adopt and find friends and services. Explaining why it is so hard to use to non tech people is really not easy to do. It is a platform for nerds and its complexity will gatekeep others unfortunately.

Bluesky model is working better.

I have accounts on both and BlueSky is more active and widely adopted while Mastodon has only geeks/nerds on it.

You can disagree with this assessment but it is what I see.
by jazzcomputer | 2025-04-05 11:27:10+00:00
I'm in my 50s and I'm currently mulling the conundrum of being an artist and designer with art and design side projects, and now having them sidelined by a new-found interest in p5js. I'm getting little glimpses of observing myself and how I'm responding to my side-project time being increasingly compacted by parenting, work and also a recent flush of training for a mountain run (in order to maintain some fitness) - I also had a temporary obsession with learning wheelies on my bike, which further compacted time available for javascript learning outside of work hours.

Anyways - this article was a good read, and I've enjoyed the observations in the comments - especially about the body and the ebb and flow nature of time spent on side projects.

I had a kind of burn-out last year where I'd work 'til 1am and then feel drained and grouchy the next day. A new found interest in sleep has been paying dividends, but I need to lean into it further.
by bognition | 2025-04-05 11:27:50+00:00
Endometriosis is a terrible disease. I know so many women who have it and it can be debilitating. It can range from moderate discomfort to pain that spreads throughout the entire abdomen.

Every single woman I’ve talked to about it has described how difficult it has been to get treatment from male doctors. They all experienced skepticism about their symptoms and invalidation that what they were experiencing was real.

It’s really tragic that we don’t know more about this disease and don’t have really effective treatments yet.
by wolf550e | 2025-04-05 11:28:05+00:00
I bet it has great buoyancy and is difficult to sink. They onyl open it on the ship, after washing off hypergol remains and going over it with a chemical sniffer.

They only land in good weather. I've watched many livestreams of landings, it always looks calm. The people attaching the ropes don't seem bothered. The astronauts inside are not too sea sick.
by moooo99 | 2025-04-05 11:28:10+00:00
I don’t think the widespread adoption - or lack thereof - is a good indicator for being a fad or not being one. That being said, I don’t think social media is one.

However, the original commenter is right by saying that social media is far from being a necessity.

Generally I also understand the increasingly negative sentiment towards social media and the assumption that it does far more harm than it does good doesn’t seem far fetched anymore
by graemep | 2025-04-05 11:29:17+00:00
I have been looking at using both of those. I have used TCL before but it was a while back, but Lazarus does have a visual designer which I have played with a bit.

I am not sure which makes producing cross platform binaries easier. I ran into a few issues the last time I tried TclKit I ran into problems so Starkits may not be an easy solution anymore.
by inglor_cz | 2025-04-05 11:32:36+00:00
"We’re not solving world hunger for another 2 centuries"

Why two centuries? Deaths from famines have already dropped precipitously in the last three generations or so. Today, if there is a problem with food, it is usually a logistical problem, not a problem with food availability/cost in general, and half of the world has a problem of eating too much.

Anyway, two centuries is a long time. Two centuries ago, electricity wasn't a thing yet.
by squigz | 2025-04-05 11:33:31+00:00
Certainly, but this can be said of quite literally any business endeavor - but I don't see people getting up in arms about other types of business in such an abstract sense - there aren't large groups of people calling for us to ban video games entirely [0], but we do advocate for, at the least, mitigating harmful practices such as loot boxes.

0 - Yes, some people do, but I think we can agree it's not nearly as popular a view as those pushing against 'social media'
by bitshiftfaced | 2025-04-05 11:34:18+00:00
> Doing specific tariffs for strategic / national security purposes is one thing, but that is obviously not what is happening here:

It's not so obvious to me. If they left certain countries out, then bad actors could set up shop in those countries to exploit their low tariff. For example, Chinese companies opened factories in Mexico after the first round of tariffs hit China.

As for why not targeting certain items, it seems pretty clear that Trump is concerned more with trade imbalance itself than security reasons (he puts it as, "make America wealthy again"). Instead of creating very complex regulations that are always behind the constantly changing market, the policy is simple. It forces the other country to figure out what's causing the trade imbalance.
by Xmd5a | 2025-04-05 11:37:00+00:00
I tend to do a lot of data-oriented programming, including at the meta-programming level, which blends with the problem of configuration. A pattern I found that works well this use case and covers the whole clock is the following:

- DSL as functions T, args* -> T, where T is your configuration type — or, as I like to call it, a plan. Since under function composition it's insensitive to composition order (associativity of the monoid), you can layer DSL functions on top of each other freely.

- Literal values as implicit functions. Once the plan is built and before it is run/compiled/interpreted, I cast any literal value in the datatype to a function returning that value. It's a design principle that allows me to hard-code behavior when a literal value is not enough by just swapping it with a lambda.

- Once this kind of homogeneity is ensured, and given the points above, I can extend my DSL and the behavior it describes with point-free function combinators. I get conditionals, advanced composition (parallelism for instance) , instrumentation (debugging), etc... without burdening my DSL with ad-hoc, invasive implementations. More importantly I can reuse these facilities across DSLs.
by raffael_de | 2025-04-05 11:38:29+00:00
Most people's thinking here seems to be clouded by political ideologies and anger over their stocks being down. Game theoretically Trump has a long history of basically playing the perfect strategy of extreme unpredictability, willingness to take a loss for the purpose of making a point, but sufficient reliability if a deal is agreed upon that he benefits from the most. He's the one who'll brake the last in a game of racing to the edge of a cliff - always. That's why he will succeed and the US will keep the upper hand geopolitically and economically. But the world will change also - that's actually why he's playing so tough. The cake is being divided anew and China _will_ get a much larger portion. His goal is not to prevent this - because he can't - his goal is to secure an as large as possible piece for himself and the US.

The tariffs are for forcing the entire world to renegotiate anything that he is interested in. And that plan will work. They will ALL negotiate, with him holding the upper hand.

PS: Many of the replies suggest that countries can achieve independence of US companies and the US Dollar. While that is possible they forget a key weakness of democracies. Politicians are elected based on short-term benefits and avoidance of suffering. All those required actions to reach independence require serious long-term efforts that detrimentally impact the comfort of the respective voting population at least short-term. That's why those adjustments probably won't happen. Trump knows that and takes advantage of it. Countries not governed by a democratic system are usually led by an elite who'll be indifferent of pretty much anything we are debating here - they just want to obtain more power and wealth. And they'll be achieving this easier when they cooperate with who is factually the most powerful man on the planet.
by acdha | 2025-04-05 11:39:21+00:00
There used to be more of an image of making the world better - people were still talking about getting rich, of course, but there was a sense that they were going change the world more positively in the spirit of Steve Jobs’ bicycle for the mind quote, and it seemed like that got dropped in the 2010s when everything got so focused on adtech riches and, later, the cryptocurrency marketing push tried to finalize everything without delivering anything truly beneficial to the users.
by bojan | 2025-04-05 11:39:52+00:00
What do you have in mind? I am not aware of any foss platform, European or not, that is as accessible as Meta'a networks are. If you get asked about a server choice during the registration process, it's game over.

The sad thing is, we had social networks in Europe, things like Nasza Klasa and Hyves. But Facebook is ate them all, I'm not sure why. I'm also not sure why VKontakte survived, possibly because they became a blatant copy of Facebook as fast as they could.
by WillAdams | 2025-04-05 11:41:21+00:00
Two other books which also touch on hardware development which I (also) greatly enjoyed (having read _The Soul of a New Machine_ when it was published, borrowing it from a library) are:

_Startup: A Silicon Valley Adventure_ by Jerry Kaplan https://www.goodreads.com/book/show/1171250.Startup

_Thinkpad: A Different Shade of Blue_ by Deborah A. Dell, J. Gerry Purdy https://www.goodreads.com/book/show/483933.Thinkpad
by ALLTaken | 2025-04-05 11:42:15+00:00
I didn't want to be politically correct, but also not insensitive. Many countries produce great things, but if we measure these countries rigerously, just a few stand out. Unfortunately from here on it get's messy, political, unsubstantiated or backed by data that is inherently biased due to selection criteria and weight.

It's very difficult to be truly unbiased and neutral and it's not my goal, I just think it's a common thought, that needs to be challenged. To associate products/results of scientists, quants, engineers and companies they are employed with an entire Nation is inherently simplistic.

In that case, why did the CIA/NSA develop TOR and made it OSS? If the governments in the UK/France/Turkey are so brutally against encryption, why does the USA release safe encryption products?

If the world were absolute, we would absolutely be doomed and I hope to be part of a world, where freedom of thought, responsibility of each, constructive cooperation and a mesh of companies can work and produce value from and with each other permissionlessly. A world where Copyright/Patents are not needed anymore, because a stronger framework supports the individual contributor and also companies. Leftist, Right and Centrists views how an economy should look like are flawed, because they introduce idealogies to a mathematical non-linear partially closed but mostly open system.

Every idealistic concept shouldn't be believed, but explored. To hate one system over another one is also flawed, because it doesn't produce data and forces hypothesis testing without consequentially following conclusions. Economy is too complex for a man to design. It shouldn't be put into a canvas of restricted operations, but circuits would need to be developed locally. If we empower small communities and allow changes to be made quicker with less bureaucracy, this seemingly grand introduction of chaos leads to emergence of a larger stability of the whole. We are soo far away from that man..
by MaxBarraclough | 2025-04-05 11:42:31+00:00
> Fast. That is just a matter of streams and pipes. More on this later. That said the language the web server is written in largely irrelevant to its real world performance so long as it can execute low level streams and pipes.

I'm no expert, but that doesn't sound right to me. Efficiently serving vast quantities of static data isn't trivial, Netflix famously use kernel-level optimisations. [0] If you're serious about handling a great many concurrent web-API requests, you'll need to watch your step with concerns like asynchrony. Some languages make that much easier than others. Plenty of work has gone into nginx's efficiency, for example, which is highly asynchronous but is written in C, a language that lacks features to aid with asynchronous programming.

If you aren't doing that kind of serious performance work, your solution presumably isn't performance-competitive with the ones that do. As you say, anyone can call their solution fast.

[0] [PDF] https://freebsdfoundation.org/wp-content/uploads/2020/10/net...
by solatic | 2025-04-05 11:42:49+00:00
People are rarely willing to adopt 10% improvements. Every improvement, no matter how small, needs to be taught to the larger community of users and other stakeholders; it is relatively rare for you to be the sole stakeholder, and thus the cost of adopting the improvement is rarely worth the improvement itself, endangering making improvements. Only 10x-style improvements have a good chance of widescale adoption. Thinking that you can short-circuit this by passing 10% improvements in widely adopted languages is the mark of someone who never tried to get language features like the "var" keyword adopted in multi-million-line Java codebases.
Show HN: Dynamic draggable navigation, probably love or hate feature
by sidelist | 2025-04-05 11:42:55+00:00
Features:

- Floats freely, ready when you need it, out of the way when you don't

- Move it anywhere on the screen, it remembers its position across all pages

- Adapts links dynamically based on the page you're on

- Universal back button provides a consistent way to return to previous page

- Dedicated drag handle makes repositioning intuitive

- Natural momentum as you drag it across the screen

- Playful bouncing when it reaches the edges of your viewport

- Smooth deceleration that feels real

All feedback is appreciated!
by zabzonk | 2025-04-05 11:42:56+00:00
Back when I was about 12 (so 60 years ago, or so) you could get Phillips kits with a couple of transistors which allowed you to breadboard things like an amplifier, a radio, or a moisture detector. Had fun with them, but didn't really learn so much theory, and never have. Though I do know quite a bit about software.
by inglor_cz | 2025-04-05 11:43:16+00:00
In a sense, nothing beyond food, water and basic shelter is a necessity. Humans of the same species certainly lived somehow without whatever tech we can think of, including fire and clothing.

That said, I deleted my FB and TW/X account and while I don't miss their toxicity, I am more isolated than ever. I noticed that even for older people, their willingness to meet in person has gone down and their ability to reply to e-mails, including purely coordinational ones, is seriously shot.
by alkonaut | 2025-04-05 11:43:32+00:00
Free (as in beer) and centralized or giving the impression of working as a centralized system. That seems to mean it must be ad supported, or run on donations.

What doesn’t work is trying to invent some open/stabdardized/distributed system. I’m happy to be proven wrong but we haven’t seen that work because they invariably have some drawback that the centralized systems don’t, while too few care about their benefits.

I don’t think anyone cares strongly about the origin if it’s American or European.
by marsokod | 2025-04-05 11:43:42+00:00
That's the thing we need. If your satellite is operating and in Low Earth Orbit, it is extremely easy to avoid a collision, even without any propulsion system.

If you are aware of the risk of collision a couple of days in advance, just changing your satellite orientation for a couple of orbit will retire the risk of collision.

You may want to perform in-orbit servicing, but that is more about increasing the longevity of your assets in orbit or increasing their capabilities via refueling/upgrading/repairing.
by koolba | 2025-04-05 11:43:55+00:00
From that link (emphasis mine):

> A CBSA officer will start with some questions before examining your personal digital device. To examine the device, the officer will first ask for the password. If the device is password-protected, they will write your password on a piece of paper. You are obligated to provide your password when asked.

> Note Failure to grant access to your personal digital device may result in the detention of that device under section 101 of the Customs Act, or seizure of the device under subsection 140 (1) of the Immigration and Refugee Protection Act or under section 110 of the Customs Act.

Well guess we’re not going to Canada again.

It also never mentions them destroying the written down password.