Hacker Newsnew | past | comments | ask | show | jobs | submit | jcoder's commentslogin

There are two attempts to render an American flag on that page and they’re both wrong


The Emoji ones top and bottom or the animated banner?


The illustrated “hackers” clothing


I'm trying to remember if anyone complained like this about the Apple Card offers in Apple Wallet. For some reason advertising their credit card is completely fine, but advertising their movie is where people get out the pitchforks? Not defending either, I think both are egregious. I just think it's interesting.


Excited for this—was NOT expecting it to tell me to follow them on Twitter after signing up! That one sure hits different than the last time…


Completely agree! Felt like such a refresh right up until the suggestions to follow on the Musk platform – it’s basically the same as suggesting to follow on Truth Social nowadays, only that Musk has more money than Trump could ever dream off


That blog is simply saying the same thing as GP—that it’s a term from gov agencies, and musing about applying the same ideas in their work.


Yes, I understand that. I was just pointing out someone else publicly made this connection, several months prior.


Not the author, but when I use the phrase I mean each commit accomplishes a single important thing, but also that each commit is complete: it includes necessary tests for example. IMO every commit that lands on `main` must pass the test suite (this means intermediate commits should be squashed into that atomic commit).


The more I've been doing open source maintenance and contributions where there isn't as much context between the code author and reviewer, the more I've been pushing for a little more than this.

- Add tests in a commit *before* the fix. They should pass, showing the behavior before your change. Then, the commit with your change will update the tests. The diff between these commits represents the change in behavior. This helps the author test their tests (I've written tests thinking they covered the relevant case but didn't), the reviewer to more precisely see the change in behavior and comment on it, and the wider community to understand what the PR description is about.

- Where reasonable, find ways to split code changes out of feature / fix commits into refactor commits. Reading a diff top-down doesn't tell you anything; you need to jump around a lot to see how the parts interact. By splitting it up, you can more quickly understand each piece and the series of commits tells a story of how the feature of fix came to be.

- Commits are atomic while PRs tell a story, as long as it doesn't get too big. Refactor are usually leading towards a goal and having them tied together with that goal helps to provide the context to understand it all. However, this has to be balanced with the fact that larger reviews mean more things are missed on each pass and its different things on each pass, causing a lot of "20 rounds of feedback in and I just noticed this major problem".

As an example of these is a recent PR of mine against Cargo: https://github.com/rust-lang/cargo/pull/14239

In particular, the refactors leading up to the final change made it so the actual fix was a one line change. It also linked out to the prior refactors that I split out into separate PRs to keep this one smaller.


I agree, but I usually explain (and do) this from the side of fixing a bug, but where the test suite is currently passing: first commit adds the failing test (shows that it would have caught the error), second commit makes it pass.

Also agree with GP that each commit on master should be passing/deployable/etc., but I don't see why they can't be merge commits of a branch that wasn't like that.


That still interferes with `git bisect`. Make the test pass in history but then make it fail in your working directory and work to get it to pass before committing.


No it doesn't? Only on your unmerged branch anyway, which seems either no big deal or desirable to me.


I absolutely love that testing suggestion - I'd never considered shipping a whole separate commit adding the OLD test first, but having a second commit that then updates that test to illustrate the change in behavior is such an obviously good idea.


Even ignoring the rude name-calling, I usually find that these kind of comments are poorly thought-out and come from an unrealistic idea of name ownership. I wasn’t familiar with any other D2 and want to give the benefit of the doubt, so I went through a few pages of search results for “D2 language”. Didn’t see any other projects. Are you thinking of the D3 JavaScript charting library?



But the app is literally called “Astro App”


That's gonna be hard to find on SEO :/


Why a xitter post of a screenshot with no link when the full article is public? https://support.docusign.com/s/document-item?language=en_US&...


Because that article is published by docusign and they could change it.


https://web.archive.org (take a screenshot option if you have a login and it's JS madness WBM can't handle), https://archive.ph, etc (hopefully captured more than one if possible) - random screenshots are proof of absolutely nothing.

(here's one for the page above: https://archive.is/e6K4K)


In that case a link to an archived copy is preferable to a screenshot of the partial document hosted by Twitter.


An archive link should be added as a comment automatically for all posts... in some cases it would even allow you to bypass paywalls...


Because twitter downranks any tweet with link, so now users put a pic/screenshot in first tweet with the link in the next tweet.


Also because xitter provides a broader discussion platform and reach compared to only HN (even though I highly appreciate the HN content). But yeah, the xitter post should preferably also contain that url to the source.


You’re saying the university denied their application because they referred to their homebrew device as a “laptop” and not a “cyberdeck”? I’m far from any of the worlds involved, but that just seems extremely unlikely to be the reason. In fact I’d expect the opposite—the uni not understanding that an applicant’s “cyberdeck” is actually a homemade laptop—a concept anyone can grasp


What kind of issue do you have in mind? By all accounts, the functionality or OpenOffice, LibreOffice, and Google’s suite are the same as Microsoft Office. There’s no theft unless they _actually stole intellectual property_


The commenter is confused, they mean infringing, not theft.

Theft is theft, no reason to get IP law involved.

Infringement can happen without intent. I don't know who would be liable, the open source company with little revenue, or the customers who are just using the software.


Thank you, yes I mean infringement.

Say big Hooli company builds product/platform “A” and charges arm and foot for usage. Having tried the platform I personally find it ridiculous anybody is paying for this because I successfully (lone developer) hack together a trimmed down working clone of the core system *in under a week*. Furthermore, core aspects of Product/Platform “A” are open-source technology, in non trivial ways (like I’m not saying “oh they use YML for config files”, I’m saying “core engine component they’re using is explicitly open source”).

If I decide to open source my clone, am I asking for trouble?

This is all hypothetical, I’m not soliciting actual legal advice.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: