Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
imiric
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
71 ms
·
811.
▲
by
imiric
1y ago
> Most of us write classes that just have a few for loops, if conditions, metrics and a few transformations. You're describing code . At what point does code become "worthy" of a unit test? How do you communicate this to
812.
▲
by
imiric
1y ago
This is interesting. It's good to read up-to-date impressions of V, considering its shaky beginnings. This describes a more positive experience from mine about a year ago, which is a good sign. I remember running into similar weird err
813.
▲
by
imiric
1y ago
Right. Particularly Trump, who lives in a perpetual bubble of lies and disinformation.
814.
▲
by
imiric
1y ago
Being wealthy and powerful doesn't constrain you to the health care system of a single country. It also allows you to be at the top of any priority lists for treatments and interventions. And, as a sibling comment mentions, marketing p
815.
▲
by
imiric
1y ago
Those are outliers. It doesn't mean that these foods are healthy for the average person. There are documented cases of people living well into their 80s while having smoked cigarettes since their teens. Same thing. It doesn't inva
816.
▲
by
imiric
1y ago
> You mean just like unit tests where every useful interaction between units is mocked out of existence? Sure, that is a risk. But not all unit tests require mocking or stubbing. There may be plenty of pure functions that are worth testi
817.
▲
by
imiric
1y ago
> So if your code is ascertained to work at the high level, you also know that it must be working at the lower level too. No, that is not guaranteed. Integration and E2E tests can only cover certain code paths, because they depend on the
818.
▲
by
imiric
1y ago
You can't build a house without nails and screws, though. Sure, if you're only writing a small script, you might not need tests at all. But as soon as that program evolves into a system that interacts with other systems, you nee
819.
▲
by
imiric
1y ago
You claim it's dogmatism, yet do the same thing in reverse. (: Unit and integration tests test different layers of the system, and one isn't inherently better or more useful than the other. They complement each other to cover beha
820.
▲
by
imiric
1y ago
I'm a big believer in the utility of tests, and I do think the author has a point. There is a time and place when a test is not useful, and should be deleted. However... > If the future bug occurs, fix it and write a new test that d
821.
▲
by
imiric
1y ago
> When I’m driving, I hand my phone to a friend and say, “Reply ‘on my way’ to my Mom.” They act on my behalf, through my identity, even though the software has no built-in concept of delegation. That is the world we are entering. That i
822.
▲
by
imiric
1y ago
What a ridiculous stance. Do you lock your front door, or use passwords on any of your accounts? Because what you're essentially saying is that you're OK with strangers having access to your personal information. That's beyon
823.
▲
by
imiric
1y ago
Yeah, this is hardly surprising. To AI companies, data is even more of a gold mine than to adtech companies. It is existentially important. The truly evil behavior will emerge at the intersection of these two industries. I'm sure Googl
824.
▲
by
imiric
1y ago
Not gatekeeping, just pointing out that they're different activities with very different experiences. What you're talking about and what the article is talking about are different things. When using ML tools you have no deep under
825.
▲
by
imiric
1y ago
That's not the same flow state experienced by programmers. While programming, it's possible to get into a trance-like state where the program's logic is fully loaded and visible in your mind, and your fingers become an extens
826.
▲
by
imiric
1y ago
> Previously, you would prioritize traction among developers over focusing on revenue. A.k.a. using open source as a marketing tactic to lure in customers, only to do a rug pull once the business gains enough momentum. > But that does
827.
▲
by
imiric
1y ago
> The thing is - I just saved bookmarks, I never really utilised them ever, to find something, to go back to. Everyone's workflow is different, but I personally do this often. I bookmark something interesting or valuable precisely
828.
▲
by
imiric
1y ago
I don't think this project is necessarily going in the wrong direction, but I agree that keeping track of web URLs requires more data than just the URL and title. At the very least, I personally need tags. Tree hierarchies are too limi
829.
▲
by
imiric
1y ago
Yeah, I imagined Bats might be too limiting for a complex project such as yours. But in principle, it is simply a command runner that minimizes some of the boilerplate commonly used for testing. It's not even Bash-specific, and can be
830.
▲
by
imiric
1y ago
Hey, apologies for the late response. > using `timep -t` to run the code this increased to 38 seconds. So +10%. Thanks. I suppose this will depend on each script, as there is another commenter here claiming that the overhead is much high
831.
▲
by
imiric
1y ago
I was never a fan of images from Bitnami. They always used complicated entrypoint and setup scripts, and introduced weird quirks to the software. More than once have I experienced issues or ran into configuration limitations with Bitnami im
832.
▲
by
imiric
1y ago
> I do not want any company or government telling me what software can run on my devices that I paid for and I own. Device manufacturers that are also service providers want nothing more than to adopt the licensing business model. The pu
833.
▲
by
imiric
1y ago
"Just a font" is an ignorant statement, and misses the point. Behind every (well-designed) font is a world of typography. That's an entire industry at the intersection of science and art. Type designers take great pride in th
834.
▲
by
imiric
1y ago
It matters because as a developer I'll get support requests from users who claim that my software has issues, even when the root cause is unrelated to my code. If I explicitly document that I support a single way of deploying the softw
835.
▲
by
imiric
1y ago
> No developer is being asked to support every distro. You mentioned $current_debian above. Why Debian, and not Arch, Fedora, or NixOS? Supporting individual Linux distros is a deep rabbit hole, and smaller teams simply don't have t
836.
▲
by
imiric
1y ago
There's no guarantee that software/library vX.Y.Z packaged by distro A will be identical in behavior to one packaged by distro B. Sure, distro maintainers have all sorts of guidelines, but in reality, mistakes happen, and there ca
837.
▲
by
imiric
1y ago
Right. Build and runtime dependencies are a separate matter. But for runtime dependencies, it's easier for developers to supply an OCI image, AppImage, or equivalent, with the exact versions of all dependencies baked in, than to suppor
838.
▲
by
imiric
1y ago
That is an impossible task in practice for most developers. Many distros, and Debian in particular, apply extensive patches to upstream packages. Asking a developer to depend on every possible variation of such packages, across many distros
839.
▲
by
imiric
1y ago
I'm surprised there's been no discussion on this project. A part of me thinks that if you have to profile a Bash script, it's a sign that you've surpassed its intended use case, and a proper programming language with all
840.
▲
by
imiric
1y ago
> Average users benefit greatly from their pocket appliance not being a full fledged computer. Why, though? There's certainly no technical reason that a pocket appliance can't be a full fledged computer. The primary reason it
More ›