MurphyA/hacker-news huggingface dataset:
by iainmerrick | 2025-05-13 13:02:22+00:00
That's what I was trying to get at by talking about making ZII opt-in. If you're using a big chunk of memory — say a matrix, or an array of matrices — it's a win if you can zero-initialize it cheaply or for free, sure. In JS, for example, you'd allocate an ArrayBuffer and use it immediately (via a TypedArray or DataView).

But still, in other parts of the program, ZII is bad! That local or global variable pointing at an ArrayBuffer should definitely not be zero-initialized. Who wants a null pointer, or a pointer to random memory of unknown size? Much better to ensure that a) you actually construct a new TypedArray, and b) you don't use it until it's constructed.

I guess if you see the vast majority of your action happening inside big arrays of structs, pervasive ZII might make sense. But I see most of the action happening in local and temporary variables, where ZII is bad and explicit initialization is what you want.

Moving from JavaScript to TypeScript, to some extent you can get the best of both worlds. TS will do a very good (though not perfect) job of forcing you to initialize everything correctly, but you can still use TypedArray and DataView and take advantage of zero-initialization when you want to.

ZII for local variables reminds me of the SmallTalk / Obj-C thing where you could send messages to nil and they're silently ignored. I don't really know SmallTalk, but in Obj-C, to the best of my knowledge most serious programmers think messages to nil are a bad idea and a source of bugs.

Maybe this is another aspect where the games programming mindset is skewing things (besides the emphasis on low-level performance). In games, avoiding crashes is super important and you're probably willing to compromise on correctness in some cases. In most non-games applications, correctness is super important, and crashing early if something goes wrong is actually preferable.
by nielsole | 2025-05-13 13:02:46+00:00
I like the simplicity of pricing on CloudCamping.

* It includes price differentiation. Grounds that want to save the last penny can do so by handling payments themselves. I guess camping grounds are very price sensitive.

* It grows with size of the value provided

* Grounds can start using the tool without paying anything. Thus low barrier of entry

* It seems unlikely anyone can win over existing customers based on undercutting your price.

* 1% of revenue of a business sector can make up a nice indie business.
by lailslove | 2025-05-13 13:03:00+00:00
I’m working on Refraim.ts — a CLI-first, opinionated framework built on top of Next.js 14.

I love the flexibility of React and Next.js, but recently I’ve found that Next.js 14 (especially the App Router) introduces so much abstraction and architectural freedom that it actually slows me down. I missed the Rails/Laravel experience — where structure, clarity, and speed are built in.

So I’m trying to bring that back. Refraim.ts aims to:

- Generate schema/service/controller/route structure automatically - Use a declarative route DSL (defineRoute()) - Include an integrated UI layer (Tailwind + Radix + Framer) via Rebirth UI - Let developers scaffold entire features via CLI

It’s early-stage, open source, and still in progress. But the vision is to help developers build faster with less mental overhead.

*I’d love to hear your thoughts:* - Is the current meta-framework ecosystem too flexible? - Would a CLI-driven, opinionated structure be useful to you? - What has helped you move faster in fullstack development?

GitHub: https://github.com/Refraim-ts/Refraim.ts

Thank you!
by nicooo | 2025-05-13 13:03:14+00:00
I’ve had success twice using targeted social media outreach — specifically by joining relevant subreddit discussions and commenting on YouTube videos where my target audience was already active.

Instead of simply promoting your service right away (it often feels spammy), I recommend genuinely engaging in conversations until the right opportunity comes up.

I ended up turning that process into its own product: https://sparkflow.ai/
by mantas | 2025-05-13 13:03:24+00:00
I'm not very familiar with US, but over here „conspirational crowd“, based on thinking patterns, is very diverse. But media seems to flag as „conspirational“ only a portion of it that comes to vaccines. And a lot of people who had issues with vaccines also have issues with corruption and other, let's say, tricky topics. Yet if we want to stop „conspirational“ crowd and make people fall in line with some topics, I'd be worried that it'd affect people concerned with other topics too.
by Applejinx | 2025-05-13 13:03:39+00:00
Might be fortunate instead: they're setting up to be able to train AI on specifically you and then, if needed, make music AS you undercutting you. Such is the way of things these days.

I dropped Soundcloud paid version too, and migrated to just YouTube. Currently YouTube is trying very hard to learn to reply to my fans AS me, but through pushing buttons to immediately supply AI-generated responses. I'm sure anyone else with a substantial YouTube presence has seen this too.

So far, they are not self-pressing the button and taking over replying to my fans for me, against my will. So far. They'd also be looking at some challenges in AIing my content as it's weekly open source software development serving a specialized audience, though they would have a considerably easier time AIing my thumbnails, as those are a very predictable pattern and reproducible.

Regarding OP, and in the light of what I've said, maybe ask yourself in what way you can disambiguate yourself from any random AI-powered startup in targeting what for the other startup will be an arbitrary or shotgun selection of customer targets. Is there an audience you can work specifically for, and is there a way you can signal to that audience that you're particularly aware of them and interested in working for them?
by Bluecobra | 2025-05-13 13:04:25+00:00
It might help to take a look at Arista/Metamako 10G L1 switches for some inspiration. These are 48x ports and use the FPGA for specific network applications (including switching). You might be able to find some of the older models on the cheap on eBay.

I’ve opened up a few and the board itself seems fairly simplistic. I do recall a giant copper heatsink though.
by lerno | 2025-05-13 13:04:46+00:00
I always find this opinion intriguing, where it's apparently fine that globals are initialized to zero, but you are INSANE to suggest it's the default for locals. What kind of programs are y'all writing?

Clearly the lack of zeroing in C was a trade-off at the time. Just like UB on signed overflow. And now people seem to consider them "obvious correct designs".
by thunky | 2025-05-13 13:05:14+00:00
> What does it mean to hold "a company" liable?

It means that the company is sued and is responsible for damages.

> decision makers at companies can make the company behave unethically or even illegally and suffer no repercussions for this

But now you've just argued yourself back to the "which human(s) do we hold accountable for these decisions?" question you raised that I was trying to get you out of.
by deng | 2025-05-13 13:05:16+00:00
> I believe the nextcloud team when they say they need the permission.

I don't (and I do use NC). The sentence "SAF cannot be used, as it is for sharing/exposing our files to other apps" is simply wrong and llm_nerd is right that SAF should be able to handle that use case,see

https://developer.android.com/training/data-storage/shared/d...

There are some restrictions regarding which directories you can access, but for most use-cases it should be perfectly fine. It's also not that this should come as a surprise to them. In fact, there's an issue about this from the NC team themselves from August '22:

https://github.com/nextcloud/android/issues/10123

Why they still think SAF cannot be used is a mystery to me.
by inetknght | 2025-05-13 13:05:20+00:00
> It's basically stealing.

This is exactly right. Why should the company pay an extra $250k in salary to "optimize" when they can just offload that salary to their customers' devices instead? The extra couple of seconds, extra megabytes of bandwidth, and shittery of the whole ecosystem has been externalized to customers in search of ill-gotten profits.
by squidbeak | 2025-05-13 13:05:30+00:00
Janan Ganesh's explanation[1] is pretty good, in essence that a university education often means missing out on the life experience that instills common sense, so its missing or stunted later when spare intellectual energy needs a touchstone.

[1] https://www.ft.com/content/1dbc675b-944d-4fb3-8889-6be7526cf...
by notpushkin | 2025-05-13 13:06:34+00:00
Yeah, I agree that everything that helps reduce maintenance overhead is good for Mozilla (although I believe there’s more low-hanging fruits that could be addressed before that).

I would love to see Mozilla moving to Codeberg.org (though I’d ask if they’re okay with it first) or something like that. Using GitHub is okay-ish? Personally, I frown upon it, but again I agree – it’s not the most important issue right now.
by xnorswap | 2025-05-13 13:07:47+00:00
It vastly depends on what software you're forced to use.

Here's some software I use all the time, which feels horribly slow, even on a new laptop:

Slack.

Switching channels on slack, even when you've just switched so it's all cached, is painfully slow. I don't know if they build in a 200ms or so delay deliberately to mask when it's not cached, or whether it's some background rendering, or what it is, but it just feels sluggish.

Outlook

Opening an email gives a spinner before it's opened. Emails are about as lightweight as it gets, yet you get a spinner. It's "only" about 200ms, but that's still 200ms of waiting for an email to open. Plain text emails were faster 25 years ago. Adding a subset of HTML shouldn't have caused such a massive regression.

Teams

Switching tabs on teams has the same delayed feeling as Slack. Every iteraction feels like it's waiting 50-100ms before actioning. Clicking an empty calendar slot to book a new event gives 30-50ms of what I've mentally internalised as "Electron blank-screen" but there's probably a real name out there for basically waiting for a new dialog/screen to even have a chrome, let alone content. Creating a new calendar event should be instant, it should not take 300-500ms or so of waiting for the options to render.

These are basic "productivity" tools in which every single interaction feels like it's gated behind at least a 50ms debounce waiting period, with often extra waiting for content on top.

Is the root cause network hops or telemetry? Is it some corporate antivirus stealing the computer's soul?

Ultimately the root cause doesn't actually matter, because no matter the cause, it still feels like I'm wading through treacle trying to interact with my computer.
by ricardo81 | 2025-05-13 13:07:54+00:00
Minimalism is excellent. As others have mentioned, using languages that are more memory safe (by assumption the language is wrote in such a way) may be worth the additional complexity cost.

But surely with burgeoning AI use efficiency savings are being gobbled up by the brute force nature of it.

Maybe model training and the likes of hugging face can avoid different groups trying to reinvent the same AI wheel using more resources than a cursory search of a resource.
by armchairhacker | 2025-05-13 13:08:02+00:00
Is there or could we make an iPhone-like that runs 100x slower than conventional phones but uses much less energy, so it powers itself on solar? It would be good for the environment and useful in survival situations.

Or could we make a phone that runs 100x slower but is much cheaper? If it also runs on solar it would be useful in third-world countries.

Processors are more than fast enough for most tasks nowadays; more speed is still useful, but I think improving price and power consumption is more important. Also cheaper E-ink displays, which are much better for your eyes, more visible outside, and use less power than LEDs.
by pomerange | 2025-05-13 13:08:14+00:00
The app is a competitor to google drive (app). It is used to upload/download, backup, syncronize (one or two way) files, media and documents between the device and the cloud. Doesn't that cover more than one of the mentioned uses? Why would FilesyncPro (example) get to have the permission but not nextcloud client? Even for media files specifically there are a lot of gotchas without full file access, like risk of location being stripped from all images synced trough the app (unless user gives media location permission) or similarly missing exif.. To upload on change it needs to be allowed to watch the filesystem

Meanwhile google drive gets to be installed as a system app
by csaba-boros | 2025-05-13 13:08:23+00:00
SEEKING WORK | REMOTE (US and EU time zones)

Available for full-time or part-time contract work, preferably on a long-term basis, but I'm also available for smaller projects.

I am very flexible with my working hours (mostly working with clients from USA).

I am a full-stack developer with more than 10+ years of experience. C#, Node.js, AWS (certified developer), DevOps, CI/CD pipelines, microservices, react

I prefer long-term contract work, but I'm also available for smaller projects. I'm also available through Toptal.

Github: https://github.com/boros-csaba

Website: https://www.boroscsaba.com/

Toptal: https://www.toptal.com/resume/boros-csaba

CV: https://www.boroscsaba.com/assets/cv.pdf

Email: boros.csaba94@gmail.com
by stevoski | 2025-05-13 13:08:23+00:00
I'd wager that paying customers really don't care whether the images look AI-generated or not.

They care much more about whether this product solves a problem they have.

This is based on my 17 years of running first a successful B2C product then a successful B2B SaaS.

Minor changes to one's home page tend to have little observable change in numbers of trial signups, the rate of conversion to paid customer, and so on.
by sorcerer-mar | 2025-05-13 13:08:41+00:00
This seems generous in my view. COVID conspiracists who I talk to tend to be completely devoid of knowledge of basic, basic facts, and totally ignorant of the contents of actual primary sources. They are not curious enough to actually look at the primary sources, probably because it's tedious, but they love spending hours reading other idiots' interpretations of those sources.
by threeseed | 2025-05-13 13:08:59+00:00
> I expect an interface to be consistent after working for 9 years

Even if that interface is insecure and harmful to users ?

As an industry we've learnt a lot about how apps siphon and sell your data. And I appreciate this probably doesn't apply to NextCloud but it can be difficult to build an API that is flexible and secure so you will get casualties.
by ubermonkey | 2025-05-13 13:09:59+00:00
The increasing longevity of computers has been impressing me for about 10 years.

My current machine is 4 years old. It's absolutely fine for what I do. I only ever catch it "working" when I futz with 4k 360 degree video (about which: fine). It's a M1 Macbook Pro.

I traded its predecessor in to buy it, so I don't have that one anymore; it was a 2019 model. But the one before that, a 2015 13" Intel Macbook Pro, is still in use in the house as my wife's computer. Keyboard is mushy now, but it's fine. It'd probably run faster if my wife didn't keep fifty billion tabs open in Chrome, but that's none of my business. ;)

The one behind that one, purchased in 2012, is also still in use as a "media server" / ersatz SAN. It's a little creaky and is I'm sure technically a security risk given its age and lack of updates, but it RUNS just fine.
by makeitdouble | 2025-05-13 13:10:02+00:00
To note, people will have wildly different tolerance to delays and lag.

On the extreme, my retired parents don't feel the difference between 5s or 1s when loading a window or clicking somewhere. I offered a switch to a new laptop, cloning their data, and they didn't give a damn and just opened the laptop the closest to them.

Most people aren't that desensitized, but for some a 600ms delay is instantaneous when for other it's 500ms too slow.
by bluGill | 2025-05-13 13:10:34+00:00
Bounds checking solves one tiny subset of security. There are hundreds of other subsets that we know how to solve. However these days the majority of the bad attacks are social and no technology is likely to solve them - as more than 10,000 years of history of the same attack has shown. Technology makes the attacks worse because they now scale, but social attacks have been happening for longer than recorded history (well there is every reason to believe that - there is unlikely to evidence going back that far).
by csaba-boros | 2025-05-13 13:11:01+00:00
Remote: Yes (US and EU time zones)

Willing to relocate: No

Technologies: C#, Node.js, AWS (certified developer), DevOps, CI/CD pipelines, microservices, react

Website: https://www.boroscsaba.com/

Résumé/CV: https://www.boroscsaba.com/assets/cv.pdf

Email: boros.csaba94@gmail.com

Github: https://github.com/boros-csaba

Toptal: https://www.toptal.com/resume/boros-csaba

Available for part-time or full-time contract work, preferably on a long-term basis, but I'm also available for smaller projects.

I am very flexible with my working hours (mostly working with clients from USA).

I am a full-stack developer with more than 10+ years of experience. C#, Node.js, AWS (certified developer), DevOps, CI/CD pipelines, microservices, react

I prefer long-term contract work, but I'm also available for smaller projects. I'm also available through Toptal.
by skydhash | 2025-05-13 13:11:12+00:00
From what I’m seeing people do on their computers, it barely changed from what they’ve been doing on their pentium 4 one. But now, with Electron-based software and the generals state of Windows, you can’t recommend something older than 4 years. It’s hard to not see it as stealing when you have to buy a 1000+ laptop, when a 400 one could easily do the job if the software were a bit better.
by carderne | 2025-05-13 13:11:57+00:00
Can you give some examples of when this might be better to use than H3?

The ones that seem obvious:

- You need very high resolution. H3 is also 64 bit I think, but it seems like A5 highest resolution is about 4 orders of magnitude higher.

- Equal cell size: are the cells exactly equal in size (in m2)? H3 they vary by up to ~2x.

What are the downsides? The shapes are irregular, distances between centroids are not uniform...
by taylodl | 2025-05-13 13:12:27+00:00
This is why I say Women's Lib failed. Traditional "female" work is no more valued today than it was 60 years ago. Women are only valued when they perform traditional "male" roles. Men are looked down upon when they perform "female" work. When we realize that the work traditionally done by females is every bit as valuable, if not even more so, then the work traditionally done by males, then maybe we'll have advanced. But I won't hold my breath waiting.
by ngangaga | 2025-05-13 13:12:38+00:00
Well sure, if you're looking to be angry you can tie anything into your interests. But actual criticism of the moon landing is soberly connected to reality: https://www.youtube.com/watch?v=goh2x_G0ct4

I'm just saying there's a reason why moon landing is such a funny topic to discuss—if you do deeply care about it enough to deviate from the accepted narrative, that's very odd.
by fidotron | 2025-05-13 13:12:40+00:00
> Get out of their fucking way when they have their wallet out.

Cannot be emphasised enough.

I have seen enough B2C funnel optimization work to be able to say that at every minor obstacle you create 90% of the people will fall off.

You need to get people invested in your solution and make it super easy for them to throw money at you.
by belorn | 2025-05-13 13:13:14+00:00
1GW worth of power during a period of high demand and low supply will cost you more than 3 GW worth of power during a period of high supply low and demand. In some situations, even 100 GW worth of power during some time periods will be cheaper to buy than 1 GW.

For a typical consumer in Sweden, the consumer buys most of their electricity when the prices is at its highest point, which is around 4 times of what the energy cost during the cheapest months. Electricity consumption is at the lowest point when prices are at the lowest, which is the same period when solar peak in production. Inversely, consumption is at the highest when solar production is at the lowest.
by myth_drannon | 2025-05-13 13:13:23+00:00
Software development has been commoditized and is directed by MBA's and others who don't see it as a craft. The need for fast project execution is above the craft of programming, hence, the code is bug-riddled and slow. There are some niche areas (vintage,pico-8, arduino...) where people can still practise the craft, but that's just a hobby now. When this topic comes up I always think about Tarkovsky's Andrei Rublev movie, the artist's struggle.
by Tuna-Fish | 2025-05-13 13:13:41+00:00
I'd prefer proper analysis for globals too, but that is substantially harder.

"Improperly using a variable before it is initialized" is a very common class of bug, and an easy programming error to make. Zero-initializing everything does not solve it! It just converts the bugs from ones where random stack frame trash is used in lieu of the proper value into ones where zeroes are used. If you wanted a zero value, it's fine, but quite possibly you wanted something else instead and missed it because of complex initialization logic or something.

What I want is a compiler that slaps me when I forget to initialize a proper value, not one that quietly picks a magic value it thinks I might have meant.
by spamizbad | 2025-05-13 13:14:18+00:00
This saddens me greatly.

I think to certain people, this is viewed as a necessary trade-off to curb the political power and influence of the so-called "Professional Managerial Class" in the United States, due to fears that a version of James Burnham's prediction[1] would come true. When this discourse comes up on sites like Twitter, and people ask why we're doing it, supporters of these cuts ultimately lay the blame at the feet of two camps: Campus protesters and the response to COVID (Masking, vaccine mandates, etc). I think for some people, those things were so traumatic the entire system needed to be torn down. I think the former is mostly harmless and the latter was necessary, but the faction in power doesn't see things that way - and the dissolution of scientific power in the US is how they're going to feel secure again.

[1] https://en.wikipedia.org/wiki/The_Managerial_Revolution
by bluGill | 2025-05-13 13:14:50+00:00
If you know what you want then not talking to a human is faster. However if you are not sure a human can figure out. I'm not sure I'd trust a voice assistant - the value in the human is an informed opinion which is hard to program, but it is easy to program a recommendation for whatever makes the most profit. Of course humans often don't have an informed opinion either, but at least sometimes they do, and they will also sometimes admit it when they don't.
by dreamcompiler | 2025-05-13 13:15:14+00:00
> fancy radiation-hardened versions

Ha! What's special about rad-hard chips is that they're old designs. You need big geometries to survive cosmic rays, and new chips all have tiny geometries.

So there are two solutions:

1. Find a warehouse full of 20-year old chips.

2. Build a fab to produce 20-year old designs.

Both approaches are used, and both approaches are expensive. (Approach 1 is expensive because as you eventually run out of chips they become very, very valuable and you end up having to build a fab anyway.)

There's more to it than just big geometries but that's a major part of the solution.