HN user

quag

455 karma
Posts5
Comments114
View on HN

Sadly, Microsoft 365 is not “pixel perfect” compared to word. I often run into headaches where line numbers are different between the two and content ends up on different pages.

If Microsoft can’t get consistent rendering of word docs between Word for Windows, Word for macOS and Office 365, I don’t like anyone else’s chances.

Ti-84 Evo 3 months ago

I agree with you on the Casio fx-115ES Plus 2nd Edition. I picked one up two years ago for $11.41. It naturally writes out equations, has a backspace and is generally excellent. I still love my HP RPN calculators, but the fx-115ES works nicely for anyone who isn't using RPN or sympy.

iOS seems to mute the web audio apis when the phone is in silent mode (the switch on the side of the phone). If you toggle it on, then this site (and many others) play sound.

I have no idea why it works this way and it’s frequently annoying.

How do you update the software in the containers when new versions come out or vulnerabilities are actively being exploited?

My understanding is that when using containers updating is an ordeal and you avoid the need my never exposing the services to the internet.

Thank you for the description of CBC.

I'm curious about it and your thinking on how to track things over time and see what has surprised us since we got started. It is useful to note down every time you (or your team) sets an expectation with someone (or another team) and then make sure you don't forget about that. It's also useful to be deliberate when setting expectations.

Having a public journal could well work for noting down when expectations are set and whenever there is a meeting of minds. I've found when tracking things like this that the amount of data can quickly grow to the point where you can no longer quickly and easily reason about it. The success seems to live and die on the data visualization or UI/UX.

Ok, I'll bite. From the article I can't really figure out what collaborating by contract (CBC) is, how it works in practice or how to introduce it to an organization.

A search in Google for "Collaborate by contract" gives three results, all from the same person, all in the last few weeks. Including this new article it's 1776 words in total on CBC. It doesn't seem to be real or something that has been tried out in an organization. It appears to be Al Newkirk's idea for a system that could work, but has not been tried.

Specifically, I'd like to see an example of a contract and who agrees to it; what the journal of contracts looks like; what happens when after an agreement everyone learns something that they didn't know when the agreements were made; what are the leaders committing to and what happens when they fail to deliver that?

Links found on CBC: https://www.alnewkirk.com/bidirectional-accountability/ https://www.alnewkirk.com/understanding-collaborate-by-contr... https://www.alnewkirk.com/maybe-its-time-to-change-the-way-w... https://www.reddit.com/r/productivity/comments/1n04s5z/comme...

It sounds like you've got something specific in mind when you say, "modeling". The term modeling is used in a lot of different situations to mean different things. For example, it could mean to make a 3d model in Blender, it could mean to pose for someone to paint you or to take a photo, with databases it's used to mean modeling the data, with statistics it's used to mean finding a way to simply represent and reason about the data (create a model of it).

The things you've listed out make me guess you want to write 2d or 3d image rendering software. Is that right?

If that's the case, there's no substitute for trying to recreate certain algorithms or curves using a language or tool that you're comfortable with. It'll help you build an intuition about how the mathematical object behaves and what problems it solves (and doesn't). All of these approaches were created to solve problems, understanding the theory of it doesn't quite get you there. If you don't have a good place to try out functions, I recommend https://thebookofshaders.com/05/ , https://www.desmos.com/calculator , or https://www.geogebra.org/calculator .

A good place to start is linear interpolation (lerp). It seems dead simple, but it's used extensively to blend two things together (say positions or colors) and the other things you listed are mostly fancier things built on top of linear interpolation.

https://en.wikipedia.org/wiki/Linear_interpolation

For bezier curves and surfaces here are some links I've collected over the years: https://ciechanow.ski/curves-and-surfaces/ https://pomax.github.io/bezierinfo/ https://blog.pkh.me/p/33-deconstructing-be%CC%81zier-curves.... http://www.joshbarczak.com/blog/?p=730 https://kynd.github.io/p5sketches/drawings.html https://raphlinus.github.io/graphics/curves/2019/12/23/flatt...

A final note: a lot of graphics math involves algebra. Algebra can be fun, but it also can be frustrating and tedious, particularly when you're working through something large and make a silly mistake and the result doesn't work. I suggest using sympy to rearrange equations or do substitutions and so on. It can seem like overkill but as soon as you save a few hours debugging it's worth it. It also does differentiation and integration for you along with simplifying equations.

https://docs.sympy.org/latest/tutorials/intro-tutorial/intro...

Motion sickness in Far Cry is why I stopped playing first person or any 3D games. It has taken about 20 years before I seriously tried again and figured out that with higher frame rates and wide enough FoV I could actually play them again.

I have a DM42 and have had it a few years. I haven’t had to replace the battery yet. There are times when I used it everyday, and times I leave it sitting on the shelf for months. I also have an HP42, and it eats batteries. I assume it has a fault.

Wouldn’t two symbols with a 1:1 ratio have four possible bit patterns for two bits? (00,01,10,11) With the ratio only happening on average over a large number of bits?

Id there really could only be 01 or 10, then those are the two symbols in the alphabet, and you only need one bit to pick the next symbol (two bits of output).

Thanks for the reply! I think I've figured out why I couldn't get any of the examples to run. I was using the debug build rather than the release build. Take sqrt.candy for example, it takes 26 seconds to compile (25s) and execute (1s) with the debug build, and only 1 second to compile and execute on the release build. This is on a Ryzen 7700X, one of the fastest single threaded CPUs.

Similarly, average.candy takes 24s to compile the 10 line program that only depends on Core and averages three numbers (1, 2, and 3). clock.candy takes 39s to compile and then panic. echo.candy takes 23 seconds before prompting and echoing the input. file.candy takes 26s before panicking, and so on. I never waited long enough to see any of the programs work. Thanks for pointing me at needing to use --release.

  cargo run -- run ./packages/Examples/sqrt.candy  26.28s user 0.11s system 100% cpu 26.392 total
  cargo run --release -- run ./packages/Examples/sqrt.candy  0.97s user 0.08s system 100% cpu 1.052 total

I have take a weakness for languages like Candy. A word of warning for those eager to dive in like myself. Candy seems to require a nightly build of Rust from 2024-02-22 (that's two days ago). After building, it gave me a 157MB binary that either seems to panic or print nothing when I run the examples. I assume the only way to really use it right now is from VSCode, and trying to run the CLI tool (as I did) just doesn't work. I'd love to give it a go, but I might have to wait a few more weeks.

While trying to get reviews, I posted on a forum a few times (I think it was this one). Got a little traction, got great advice and updated the patches. Sadly I hit the forum’s new user posting limits and was unable to get the reviews to give the final approval. So I’ve had some patches accepted and others that have been sitting there for months/years.

It has meant that after a burst of packaging, I’ve stopped submitting. I’d love to be able to get reviews even if it takes months. Any suggestions are welcome.

Is the author claiming that LLMs are Markov Chain text generators? That is, the probability distribution of the next token generated is the same as the probability of those token sequences in the training data?

If so, does it suggest we could “just” build a Markov Chain using the original training data and get similar performance to the LLM?

To “delete” HN: 1. Open Settings > Screen Time > App Limits > Add Limit 2. Scroll to the bottom and pick “Websites” 3. Pick “news.ycombinator.com” 4. Click “Next” 5. Pick 0 hours, 1 minute 6. Click “Add”

Now you’ll be limited to one minute a day of HN. If you set 20 minutes it also gives you 5 minute warnings, and lets you extend.

The App Limiting has a nice feature were if you set a limit on multiple apps at the same time, it doesn’t matter which app/site you use, the time counts against them all. This prevents you from wasting time in one app, then rolling onto the next distraction.