HNHacker News
TopNewBestAskShowJobs

zlsa

749 karma · joined December 14, 2014

https://forestkatsch.com/
submissionscomments
zlsa··on An ongoing 3D-printer AGPL violation
I have a Prusa i3 Mk3 and a Bambu P1S and I have to disagree. They are in entirely different leagues. The Prusa was a step change improvement from an Ender 3, and the Bambu is a step change from the Prusa i3 Mk3. It definitely depends on what you're printing, but I personally saw all my print failures on the Prusa pretty much go away overnight with Bambu.
zlsa··on F*: A general-purpose proof-oriented programming language
I think this falls under "[wanting] to know the user case the authors had in mind"
zlsa··on An Engineer's Guide to USB Type-C [pdf]
not that it really solves your problem, but any compliant USB-C to USB-C cable is required to support at least 60W of power and USB 2.0 speeds.

Unfortunately, beyond that it gets pretty bad and spotty for a casual user. I make sure to only buy reputable cables that support 240W (this isn't an expensive feature: it just means the cable supports 20V, effectively), and I have only two cables that support the full Thunderbolt data rate. But those are effectively tethered to my Thunderbolt dock and I don't use them generically.

zlsa··on Corners Don't Look Like That: Regarding Screenspace Ambient Occlusion (2012)
This is largely because early screen-space AO techniques weren't able to accurately estimate whether the pillar is freestanding (and shouldn't darken the wall) or if it is against the wall (and should darken the wall.)

Modern real-time ambient occlusion techniques can estimate the depth far more accurately and produce correspondingly more believable results, at the cost of performance.

https://www.researchgate.net/figure/Visual-comparison-of-dif...

zlsa··on Malware can turn off webcam LED and record video, demonstrated on ThinkPad X230
Was it a built-in camera cover, or a third-party one? Apple specifically (and possibly other manufacturers?) recommends against third-party covers because the tolerance is so close:

https://support.apple.com/en-us/102177

zlsa··on Tesla's Cybertruck is outselling almost every other EV in the US
This is a thread about the Cybertruck.
zlsa··on We're excited about our new roundabout
I live near this roundabout and drive through it almost daily.

> Drivers going northbound on SR 203 traffic may need to yield twice – once when entering the roundabout and again if traffic is passing between the two islands. If you think about it, that’s just following the same rules a second time.

The one key difference from the average (American) roundabout is the second yield. After you've waited your turn and entered the roundabout, you're required to yield again within a few feet. Obviously this is not an impossible task, but the signage leading up to the roundabout from northbound SR 203 doesn't at all indicate the shape of the roundabout. The navigation sign at the entrance only shows a single roundabout.

The second yield point is indicated with the standard yield sign and triangle markings on the road. But judging by the amount of detritus scattered on the ground, as well as the recent addition of "YIELD" text painted on the road and orange flags attached to the yield sign (both not present at any other entrance to the roundabout), the yield-twice pattern is not obvious to everyone.

Plus, the topology of the roundabout isn't conducive to seeing this from the ground, either; the relatively sharp right turn leading into the roundabout places the second yield sign out of your forward vision when you're approaching the roundabout, and the whole intersection itself is very slightly tilted away from the northbound entrance, making it really tricky to see and understand it when approaching.

---

Anecdotally, almost every time I've driven through here while there is simultaneous traffic from northbound SR 203 and northbound 203rd St. SE, the northbound 203rd St. SE traffic ends up being cut off by drivers failing to yield at the second entrance.

zlsa··on We're excited about our new roundabout
Unfortunately, it's not. Driving from right-to-left (in the first picture) requires drivers to enter the roundabout twice, then leave once. Judging by the amount of vehicle debris generally present and the additional "Yield" markings and signage that have been added to the second yield point since the construction was completed, it's been confusing from the ground as well.
zlsa··on Apple introduces M4 chip
I'm not sure a machine that benchmarks half as fast as an M2 can be said to be in the same ballpark.

MacBook Air (2022): https://browser.geekbench.com/macs/macbook-air-2022

Ryzen 5 5500U (CPU): https://browser.geekbench.com/processors/amd-ryzen-5-5500u

Ryzen 5 5500U (APU, similar laptop): https://browser.geekbench.com/v5/compute/6751456

zlsa··on Valve Makes All Steam Audio SDK Source Code Available Under Apache 2.0 License
The Magic Trackpad comes with a USB-C (computer) to Lightning (Magic Trackpad) cable.

https://www.apple.com/shop/product/MK2D3AM/A/magic-trackpad-...

(I agree with you, for what it's worth - Apple is weirdly slow to update some of their products; AirPods Max stand out here as missing USB-C and the lossless audio of AirPods Pro.)

zlsa··on Memory leak proof every C program
Related: the Ariane 5 rocket failed on its maiden flight because it reused code from its predecessor, which made an assumption that didn't apply to the higher-performance Ariane 5.

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

zlsa··on Fewer people are buying electric cars in the US
LFP batteries[0] are cobalt-free and make up over half of the EV market as of mid-2022[1].

0: https://en.wikipedia.org/wiki/Lithium_iron_phosphate_battery

1: https://m.energytrend.com/news/20220520-28100.html

zlsa··on Tesla Cybertruck payload capacity 29% less than promised
It has been a while since they've talked about that price, and I would not expect it to be anywhere near that price point today, given <gestures at everything>.
zlsa··on Tesla Cybertruck payload capacity 29% less than promised
The Rivian has a 4.5 foot bed[0] and the F-150 Lightning has a 5.5 foot bed[1]. I don't think it's fair to call Cybertruck a novelty item based on its capabilities, especially compared to its competition.

0: https://rivian.com/r1t (Dimensions → Storage)

1: https://media.ford.com/content/dam/fordmedia/North%20America...

(Of course there are completely legitimate downsides of Cybertruck - for example, with the sloped bed sides, it won't be able to tow a fifth wheel trailer. But that is a capability the vast majority of truck owners don't use.)

zlsa··on Apple's Scary Fast event could spell the end of its Lightning port
I completely agree - having four Thunderbolt ports was amazing, and I'm sad that one of them has become a dedicated HDMI port. I like the SD card slot, though, but even then I'd rather have four Thunderbolt ports than three Thunderbolt, HDMI, and an SD card slot.
zlsa··on USB inventor explains why the connector was not designed to be reversible (2019)
According to the USB-C spec page 37[0], even USB 2.0 C-to-C cables will support USB-PD at 3A (negotiated with the CC wire which is mandatory even on 2.0 C-to-C cables.)

0: https://www.usb.org/sites/default/files/USB%20Type-C%20Spec%...

zlsa··on USB inventor explains why the connector was not designed to be reversible (2019)
> Some “low wattage” specification USB-C devices are compliant with USB-C but are only compatible with USB-A power bricks because thet require 5V:

This is because they are not USB-C compliant, despite physically featuring a USB-C port. The USB-C spec calls for any USB-C sink (i.e. device that consumes power) to include a pull-down resistor (Rd in the diagram on page 4: https://www.ti.com/lit/wp/slyy109b/slyy109b.pdf?ts=169690039...)

Devices that do not include this resistor, and are therefore unable to be powered with a USB-C to USB-C cable, are noncompliant and should not exist.

> Some USB-C cables are only 31 watts, and some devices can’t charge with less than 60W

As seen in [0], page 37, even USB 2.0 C-to-C cables will support USB-PD at 3A: https://host.zlsadesign.com/HJU_Drfba.png

The USB-PD handshake is performed independently of the cable, and uses the CC wire that is mandatory even in USB 2.0 C-to-C cables (page 76 of [0]): https://host.zlsadesign.com/Bk62vSMZp.png

You're right about the 60W point. Anecdotally, every device I've ever tried to charge has had no problems at 60W (although of course they'll charge more slowly than if they had 100W), but this is definitely not guaranteed.

0: https://www.usb.org/sites/default/files/USB%20Type-C%20Spec%...

zlsa··on USB inventor explains why the connector was not designed to be reversible (2019)
4. Yes, all USB-C to USB-C cables can charge at a minimum of 60W which should be sufficient to charge almost anything

5. It depends, but the output capacity is printed on the power supply[0]. (Compare to USB-A, where the most you could do is 12W.)

6. The minimum of the cable (60W for any cable, 100W for some cables, 240W for a very few[1]) and the charger

[0] Annoyingly, this problem is compounded when using a power supply that can output (say) 100W on one USB-C port, but when both are used, the limit on the two ports is 60W / 40W.

[1] There are vanishingly few products (power supplies, cables, and devices) that support USB EPR. If you have one of these, just use the power supply and cable the device came with; this is no worse a situation than with devices that used proprietary power cables.

zlsa··on iPhone 15 teardown reveals software lockdown
That wouldn’t prevent the case of “the module is swapped for one that unlocks no matter what, and upon noticing the phone isn’t unlocking, the owner resets and sets up Face ID again” right?
zlsa··on The New Godot Development Fund
The higher tiers allow you to link to a domain of your choosing. Would you expect the Godot team to ban links to gambling companies?
zlsa··on Tesla Secures Over €148M to Build 7,200 Chargers in EU
> Why can't Tesla build their own charging stations

They have. AFAIK, until recently there wasn't any major federal funding for charger installation in the US at least.

> if EVs are so great then why don't some entreprising companies build some charging stations without the taxpayer getting involved?

Because chargers have pretty thin margins and the upfront cost is extremely high (permits, hardware, grid hookup, etc.) It's the same reason there aren't all that many gas station startups.

zlsa··on iPhone 15 and iPhone 15 Plus
If a USB-C to USB-C cable only had wires for VCC and GND, here's what wouldn't work:

* Data (this one is fairly obvious) * Power (since the CC wire in the cable is missing, and a compliant USB-C power source will refuse to output power unless the CC wire is terminated on the other end which signals what type of device it is)

You'd need at _least_ the CC wire as well.

zlsa··on Zero Motorcycles makes its service manuals free
Tesla makes their service manuals available for free (you need to sign in and subscribe, but it’s free and didn’t require a payment method for me.)

https://service.tesla.com/

zlsa··on Toyota has been developing a solid-state battery for EVs with a range of 745mi
It is trivial in the US if you're able to use Tesla's supercharger network.
zlsa··on Rivian embraces Tesla's charging standard for EVs
CCS1 (the variant of CCS used in the US; basically J1772 + HVDC pins) has a lot of flaws that can't easily fixed in a backwards-compatible way:

1. It's gigantic, making it a lot harder to handle and plug in [0] 2. CCS1 has a mechanical latch on the handle side (as opposed to NACS, which puts an electronic latch in the vehicle side). This results in a few problems: a. The CCS1 latch is is exposed and easily broken, allowing the vehicle to begin charging without being physically latched in (meaning it can be unplugged without pressing the lever to unlatch, while still carrying HVDC at hundreds of amps – there is protection against this but it's not great practice to rely on the control/ground pins being unplugged first, rather than making a latch that isn't so easily circumvented) b. The latch is long and requires a lot of force to unlatch (this may just be my bad experiences speaking, but I've always needed to wiggle the connector a bit to relieve the friction.)

Unrelated to the physical connector, Tesla's charging network in the US is far larger and more reliable than everyone else's CCS1 networks combined, and the only way to use the network is NACS (at the moment, anyway. Magic Dock[1] is being added to some superchargers and will most likely be rolled out wider in the near future.)

0: https://digitalassets.tesla.com/tesla-contents/image/upload/... 1: https://electrek.co/2023/02/23/tesla-supercharger-magic-dock...

zlsa··on All About USB-C: Illegal Adapters
If the 5.1k pull-down resistors are missing on the device side, it will not charge from a USB-C wall brick, laptop, etc. in either orientation, but it will work fine when charging from a USB-A outlet with a USB-A to USB-C cable. This is because USB-C outlets are not permitted to provide any power until they detect the presence of a "legacy" device that just wants 5v (as signaled by the pull-down resistors on the device).
zlsa··on All About USB-C: Illegal Adapters
This is a super common f*ckup in a truly ridiculous number of devices. It's so common that somebody published a PCB design to retrofit noncompliant devices to make them work: https://github.com/ide/usb-c-to-c-power-mod
zlsa··on Driving Amazon’s electric delivery vehicle: Rivian EDV [video]
Using a more powerful computer won't really change development costs all that much; but it could seriously affect BOM costs. Amazon wants to buy absurd numbers of this, so it's not unreasonable that they've tried to heavily cut costs in the BOM.

(Also what the other commenter said.)

zlsa··on My full statement regarding DOOM Eternal
I used to be an active moderator of a fairly popular community. At one point, we were requested by a US TLA[0] to remove a post that they believed contained information that should not have been made public. We complied, obviously.

We then got numerous people complaining that we, a bunch of unpaid moderators, didn't try to fight back. I recall one person saying we were "too chicken" to stand up for ourselves against a major US government agency.

If we had stood up for ourselves, the agency would have gone straight to reddit and filed a DMCA (as would be entirely within their right to do in that case), and reddit, inc. would instantly have removed the content (as hosting providers nearly always do, even if there's no grounds for a DMCA takedown[1].) Why are unpaid moderators held to a higher standard than the website itself?

[0]: "three-letter agency"

[1]: yes, this is wrong, but it's how it usually goes when false DMCAs are filed.

zlsa··on SpaceX is now building a Raptor engine a day, NASA says
There's not a huge number of datapoints yet, but there are several Falcon 9 boosters that have flown >10 times (including two that have flown 14 times.) I'm quite confident in Super Heavy at least handily exceeding 10 flights MTBF.
Page 1 of 5Next →