Better HN
topnewbestaskshowjobs
Log inSign up

RichieAHB

273 karma · joined Aug 20, 2015 (11y ago) · 62 submissions

Submissions

comment 2y ago · link · parent

The last 15 seconds sounds like it hit the runout groove on the IKEA phone system vinyl!

comment 2y ago · link · parent

It feels like that might be a fair point in other context but as one of your sibling posts says: this is just double entry book keeping.

Print out the transactions with their timestamps and it feels this should have been very clearly a computer error given the duplicates etc.

comment 2y ago · link · parent

Nice little idea! As a slight aside I’m not sure where the timezone / city list has come from but it labels Hanoi as in Thailand (rather than Vietnam).

comment 3y ago · link · parent

I guess the question would be, if indeed these suggestions would solve those problems, how much does this cost (I genuinely have no idea!) and how much do I want to spend on this versus putting up a webpage to direct people too.

I want to shave off every last ms of latency in the services I own but at the end of the day at some point it’s good enough (and best for the business) just to manage expectations.

comment 3y ago · link · parent

IIUC cm precision should be fine if the algorithms looking for stable placement accounts for that cm (and reality id imagine it’d account for less precision than that). If a placement needs sub cm precision the algorithm would just discard that option.

Additionally there shouldn’t be any accumulation in a specific direction. Any accumulated gaps would be accounted for when placing the next rock and rectified to within a cm.

comment 3y ago · link · parent

A store’s opening hours will probably remain 9am-5pm regardless of any time zone changes around it. If you run a bunch of stores across time zones you need to know where each store is and whether it’s summer or winter to work backwards to find out 9-5 in UTC.

comment 3y ago · link · parent

Makes we wonder how much of the investor’s money was put in to OpenAI as a company or in Sam and the leadership. I think the answer is probably the latter, and the fact that Sam’s firing was this easy (and would likely have the effect of others going in quick order) seems like a massive oversight in terms of investor due diligence in board structure etc.

comment 3y ago · link · parent

I feel like trying to infer valid JSON from invalid JSON is a recipe for garbage. You’d probably be better off doing a second pass with the “JSON” through the LLM but, as the sibling commenter said, at this point even the good JSON may be garbage …

comment 3y ago · link · parent

My phone gets pretty warm when I zoom out but the UI remains nice and responsive …

comment 3y ago · link · parent

I want to hear that at normal typing speed. I feel like, unless there are a good amount of slightly varied samples, it's going to have that TR-808 repetitive vibe going on ...

comment 3y ago · link · parent

Here’s a good example of the test cases used for backspaces in Android[1]. It’s definitely more involved than just deleting a grapheme cluster.

[1] https://android.googlesource.com/platform/frameworks/base/+/...

comment 3y ago · link · parent

Nice to see Clifford Stoll currently topping the page. I bought The Cuckoo's Egg after reading enough people recommending it on HN and so to see the author referencing the main events in that book as the most recent highlight kinda brings things full circle!

comment 3y ago · link · parent

This works fine as long as you’re happy to do the same task multiple times. I.e. the task is idempotent and cheap.

comment 3y ago · link · parent

I read it every time!

comment 3y ago · link · parent

While that is true for Platform 2 drones, from reading this article [1] it seems the ruling currently only applies to Platform 1 drones (ie. the specs I was referencing). Although it does seem like the Platform 2 drones would be more of what you’d imagine for drones dropping consumer packages in the US. And that article goes on to state that this ruling seems like a jumping off point for securing further exemptions (ie for the Platform 2).

[1] https://dronedj.com/2023/09/19/zipline-earns-faa-bvlos-exemp...

comment 3y ago · link · parent

For others interested in how these Sparrow (“Platform 1”) drones operate:

- Cruises at 80-120m and 60mph

- Max payload of 1.8kg

- 50 mile max delivery distance (although it can fly 190 mile on a single charge)

- Payload dropped by parachute from 25-30m into a 5m diameter landing zone.

More details on Wikipedia[1] and the Zipline site[2]

[1] https://en.m.wikipedia.org/wiki/Zipline_(drone_delivery_comp...

[2] https://www.flyzipline.com/technology

comment 3y ago · link · parent

Nice article! As with all CSS posts there’s always something in there I’ve never used. Today it was `display: flow-root;` [1]. I’ll probably never use it given Grid and Flex but still interesting to see this may have saved some small headaches in the past.

[1] https://css-tricks.com/display-flow-root/

comment 3y ago · link · parent

Simpsons aside: I wish this was titled "Is there a chance the track could bend?".

comment 3y ago · link · parent

Taking a picture is deterministic. You aim at something, configure the settings and the cells / CMOS will capture that light in the right manner. You can argue that autofocus and portrait-mode are eroding this but ultimately, if you, the human are not pointing at something good in the first place, well you’ll very likely not have a very good picture. I feel like with AI and a random seed you can ask a question of which you have added none of your own reflection into and it will produce something somewhat in the ballpark that may pass as real. I.e. you don’t even have to point the camera at anything good …

Edit: not to say you can’t use it as a muse or for inspiration, but it isn’t a prerequisite.

comment 3y ago · link · parent

Given this is for a non-tech audience I think this is reasonable. It basically talks about it being a lossy encoding of things that represent the original. Also, if the words / chars were stored as an array or string already you wouldn’t need to read every byte.

comment 3y ago · link · parent

This is true for unwinding but from the Notes section on the linked page, panics can’t be caught using that function if the panic aborts the process.

comment 3y ago · link · parent

I read “the last straw” as being the final bad decision among many (which I think is what the idiom means). A tipping point. Usually you can’t remove “the last straw” to fix the camel’s back.

If the linking policy was the sole issue I think that tweet didn’t convey his meaning. However, I actually think that, like many people, he returned despite some remaining issues he had.

Also, I get it, social media is made to be addictive. Even more so when you have a following. My original point was that I think moving through a long chain of alternatives on moral grounds is not a common pattern.

comment 3y ago · link · parent

What actually happens is people often just come back to TrueBlue - like when Paul Graham left Twitter: https://twitter.com/paulg/status/1604556563338887168.

comment 3y ago · link · parent

One thing I’ve never found a name for (and, as a result, a good way to reference to people) is Typescript’s interesting behaviour around the Erased Structural Types mentioned here: https://github.com/gibbok/typescript-book#erased-structural-....

Objects passed to a function that accepts an object type can generally have more properties that needed given Typescript’s structural typing. That is unless you pass a literal directly to the function (I.e. inline the obj variable in the linked example). In which case Typescript will complain about the excess properties. Ergonomic but confusing the first time you come across it.

comment 3y ago · link · parent

Interesting. That probably does makes it a bit harder to verify but there are still plenty of “words” that are to be expected. My point being that if a German receiver can’t parse it, then what’s the point of send it. And if they can parse it we can encode the rules they’re using to parse it (i.e. at the very least a dictionary of “words”) to give us some decent confidence. And beyond that, using the key on multiple messages effectively increases the char limit to “max chars * message count”.

Also, I agree it doesn’t reduce the search space but I think the post I was replying to was talking more about difficulty of verifying the correctness of a decrypt that reducing the search space. That was definitely my point ant least. Either way, as you say, this definitely doesn’t reduce the search space.

comment 3y ago · link · parent

Remind me of “Deniable Encryption”[1], where a single encrypted input decrypts to multiple plausible plain texts (including the real one, obviously) so that, if, for example, you were caught and asked to decrypt it, you can decrypt to the non-incriminating version.

[1] https://en.m.wikipedia.org/wiki/Deniable_encryption

comment 3y ago · link · parent

I’m not sure being German or from 1945 has much to do with this. I’d think if I had some candidate plaintext that looked German and where a letter didn’t map to itself it’s likely to be right.

Sure, you could argue that it’s not quite as unambiguous as JSON but, in the realm of all possible plaintext, I’d say JSON and 1945 German aren’t too far apart in terms of likelihood of getting a false positive on a string of non-trivial size.

If you want a bit more certainty you could just try it on another string (which is the next step in the process either way), and then another. At least to me the constraints of “German and a char doesn’t map to itself” seem like pretty limiting factors here.

28.

React “prop-drilling”, 10 years on – probably don't use Context(gist.github.com ↗)

3 points · by RichieAHB · 3y ago · discuss

comment 3y ago · link · parent

In my experience “large distributed systems” don’t tend to be idling for 20% of the time? I think often such systems have some dependencies 24h a day. Even if it’s much lower in a 20% window you risk leaving clients out in the cold in that window, similarly to the post you linked, no?

comment 3y ago · link · parent

I feel like the Manim[1] library Grant created to make these videos is becoming some sort of "video matplotlib". I've seen it used in so many maths videos up to this point. There seems like a good amount of value in creating a simple, structured and clear way to represent these concepts in videos.

[1] https://www.manim.community/

123