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

I am assuming that the GP was referring to buying these exact speakers second-hand, given how they spoke of the environmental impact.

> I want my sandbox to be backed by a large, well funded security team

How much are you ready to pay for a license?


Nothing, because I want this for open source projects that I give away for free. That doesn't work if I have to tell my users to go pay a license fee for one of the components.

I think the SSH key that has push permissions is SSH-forwarded. It is quite a sophisticated setup (in both a good and a bad sense).

The output from Jules is a PR. And then it's a toss-up between "spot on, let's merge" and "nah, needs more work, I will check out the branch and fix it properly when I am the keyboard". And you see the current diff on the webpage while the agent is working.

How about specifying a version in the CI config? [0]

Also, you know that you can do a binary search for the version that works for you? 0.154.0, 0.77.0, 0.115.0 ... (had to do it once myself)

[0]: https://github.com/oslc-op/website/blob/9b63c72dbb28c2d3733c...


This is probably the smarter way actually.

Alternatively there's apparently some nix flakes that have been developed.

So, there's options.

I just recommend pinning your version and being intentional about upgrades.


> This is probably the smarter way actually.

Oh definitely. How can you suggest adding a binary to a git repository? It's a bad idea on many levels: it bloats the repository by several orders of magnitude, and it locks you to the chosen architecture and OS. Nope, nope, nope.


The issue with binaries is when they are large, change often, is often a duplication of information already present, and that you can't diff them. A program is neither large, it doesn't change often, is not duplicate information and you don't want to diff them. IMHO this idea is fine, this is not added the build artifact in every commit type of situation.

Second this. Once I setup GitHub actions with Hugo (there’s one readily available), I rarely build the blog locally anymore. New article drafts become GH pull requests, and once ready they get merged and published. This also works on mobile well enough.

I am assuming the message durability guarantees lean towards YOLO rather than ACID? See also https://news.ycombinator.com/item?id=46196105


> I am assuming the message durability guarantees lean towards YOLO rather than ACID?

"Core" nats doesn't have durability. Nats jetstream is the api built on top of nats that in the main nats-server impl provides durability. Jepsen tested Nats Jetstream.

Also from your link:

> Regular NATS streams offer only best-effort delivery, but a subsystem, called JetStream, guarantees messages are delivered at least once.

The project linked here does not implement the nats jetstream api, just normal nats.

So yes, it seems its same (documented, understood) "yolo" as normal nats.


IBM Plex is very good. Recently, I have been enjoying https://rsms.me/inter/ for interfaces a bit more (with ss02 for body and ss02+tnum for tables activated).


Inter is the only libre typeface that has good coverage, and produces readable small text on terrible 80 DPI displays. I've tested probably hundreds of them.


But l and I (ell and eye) are identical in Inter.

https://fonts.google.com/specimen/Inter?preview.text=lllll%2...

I never understood why a font designer would ever choose to do that. There should be an ironclad rule that different letters must look different.


You did not check my link and ss02 out, did you?


Then tell me where to download that ss02 and install on PC for docx file and set default in browser?


Hasn't Inter been the default tech font for the last 5 years or so by virtue of being the default font in Figma? The Times New Roman of UI.


I think you have it the other way around.

It's not used because it's the default font in Figma.

It's the fact that it's the best modern alternative to Helvetica, making it universally useful and therefore the default in Figma.

Incidentally, I'll forever mourn that the designers didn't choose to go with a glyph for "1" that is closer to the one in Helvetica.


Inter is the default in Figma because the first designer at Figma was the guy who created it.


Huh, TIL. Thank you!

I guess I can try to argue that it if it weren't as generally useful as Helvetica it wouldn't have been made the default in Figma and it wouldn't be, well, so generally used.


Hah, this one can go on Wikipedia as an example for "chicken or the egg"! IMO, there's probably a number of other fonts that could've been chosen rather than Inter as default Figma font, and if they had been, they'd now be more ubiquitous than Inter. Of course, we'll never know. Unless someone here is looking to do a research study into popularity of fonts over time compared to popularity of Figma and seeing how strong the correlation is - maybe a weekend project for someone into typography ;)


Oh, is that why everyone uses it? I just assumed people wanted knockoff San Francisco on purpose


Ah, it initially appeared that the capital I and the lowercase L have identical-looking glyphs. But scrolling down, I see the ss02 and tnum features add noticeable glyphs. Looks like a nice typeface.


Inter has also become my default.


Nice. Inter even has "U+1E9E" "Latin Capital Letter Sharp S" and two lower case sharp s variants as well.


Is U+1E9E used for anything besides ALLCAPS text?


Probably not.

Inter or linter?


Feature ss02 Disambiguation (one of many)

Alternate glyph set that increases visual difference between similar-looking characters.


Why isn't it the default? :( I'm rarely in control of how a font is used.


I think the phase change hypothesis* is a bit wrong.

I think it happens not at 100% coverage but at, say, 100% MC/DC test coverage. This is what SQLite and avionics software aim for.

*has not been confirmed by a peer-reviewed research.


What's MC/DC?


Modified Condition/Decision Coverage (MC/DC) is a test coverage approach that considers a chunk of code covered if:

- Every branch was "visited". Plain coverage already ensures that. I would actually advocate for 100% branch coverage before 100% line coverage.

- Every part (condition) of a branch clause has taken all possible values. If you have if(enabled && limit > 0), MC/DC requires you to test with enabled, !enabled, limit >0, limit <=0.

- Every change to the condition was shown to somehow change the outcome. (false && limit > 0) would not pass this, a change to the limit would not affect the outcome - the decision is always false. But @zweifuss has a better example.

- And, of course, every possible decision (the outcome of the entire 'enabled && limit > 0') needs to be tested. This is what ensures that every branch is taken for if statements, but also for switch statements that they are exhaustive etc.

MC/DC is usually required for all safety-critical code as per NASA, ESA, automotive (ISO 26262) and industrial (IEC 61508).


Limit <=0 appears to include every number between 0 and INT_MIN.

I hope you don't have any string inputs, or your test is gonna take a while to run!


To test 'limit > 0' according to MC/DC, you need only two values, e.g. -1 and 1. There may be other code inside the branch using limit in some other ways, prompting more test cases and more values of limit but this one only needs two.

But yes, exhaustively testing your code is a bit exhausting ;)


Modified Condition/Decision Coverage

It's mandated by DO-178C for the highest-level (Level A) avionics software.

Example: if (A && B || C) { ... } else { ... } needs individual tests for A, B, and C.

Test #,A,B,A && B,Outcome taken,Shows independence for

1,True,True,True,if branch,(baseline true)

2,False,True,False,else branch,A (A flips outcome while B fixed at True)

3,True,False,False,else branch,B (B flips outcome while A fixed at True)


I made a mistake:

  Test #  A      B      C      Result
  1       True   True   False  True
  2       False  True   False  False
  3       True   False  False  False
  4       False  True   True   True


Basically branch coverage but also all variations of the predicates, e.g. testing both true || true, and true || false



For dotnet, there is a built-in flag "--self-contained".




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

Search: