HNHacker News
TopNewBestAskShowJobs

chendragon

85 karma · joined November 17, 2017

UBC Engineering student
submissionscomments
chendragon··on How annoying is too annoying?
On my iPhone I find everything up to maybe 0.6 seconds to be just fine. Part of this may be being used to using SSH over VERY poor network connections.

I think the biggest frustration with latency is not the latency itself, but rather when latency is combined with the possibility that what you entered didn't register at all and the time pressure of having only 15 seconds of signal to submit your command - situations that often occur when using Internet based sessions in the wild.

The other source of annoyance is trying to "not crash the system". Often when a system presents high latency like this, I tend to consciously pay attention to how many "buffered" inputs I'm sending for fear of crashing something, and that self-throttling can get tiring.

chendragon··on AT&T employees were bribed to install phone unlocking malware on company network
Is this how the eBay phone unlocking services work?

Usually they say something about servers and "sending your IMEI to the server" etc, and sometimes it can take a certain number of hours.

chendragon··on Why we ground electrical systems (2015)
Generally the higher the voltage you distribute, the lower the current in the wires, allowing you to use thinner wire and reducing I^2R losses.

With this said, having multiple point of load converters may have impacts on efficiency and will add to the cost of the system.

chendragon··on How we built the Waifu Vending Machine
It looks like they did have these. In one of their pictures there was a stack of Anker PowerHouse power banks/battery packs.
chendragon··on Apple's service program for butterfly keyboard MacBooks, even out of warranty
My iPad Pro 12.9 smart keyboard also failed in this way.

Fortunately the Apple store replaced it for free (Vancouver BC Canada) saying there was a quality program about these keyboards. Apparently it is not the connector, but the flex cable that connects the iPad that fails.

chendragon··on Infinite loop in macOS Night Shift in the summer near the Arctic Circle
If I remember correctly the word you're looking for is nihilism.
chendragon··on MacBook Pro Keyboard Failures [Teardown and Explanations]
This is my personal opinion, after seeing this teardown. If you look at some of the images it looks like the actual contact areas on the PCB that the metal domes contact on are rather small, and both the dome and the contacts look like they're made out of a hard material.

0) The top side sealing on these keyboards (at least some of them; one of mine had a hole somewhere) isn't that good. One method I used to fix these keys is to dab some rubbing alcohol or ethanol into the dome thing with a qtip, and somehow it finds its way under the dome. The purpose of the black tape mentioned in the article is likely to direct the light from the backlight of the keyboard, it's easy to damage with this method of cleaning it and it causes the backlight to look bad. Solution: electrical tape carefully cut to size.

1) I feel like the debouncing (filtering the tendency for hard-on-hard contacts to make intermittent contact) is inherently difficult with a design like this. There's a lot of things to go wrong here, and even on a brand new keyboard I noticed that before the system boots (on EFI password, or FileVault2 Unlock Prompt) the keyboard is MUCH more sensitive to key repeats - Probably because half of the debouncing is done in the driver.

Perhaps if they could find out how to add a thin enough slice of carbon-filled rubber (like the black pads under the rubber remote control buttons in a telly remote) under the domes, combined with larger contact pads, the softness would allow the contact to conform to the mating surfaces and make more reliable contact. Furthermore it will absorb some shock and reduce the tendency for the switch to 'bounce'.

Furthermore, carbon filled rubber doesn't tend to corrode.

2) Perhaps they could move to capacitive sensing and do away with actually making contact. This way, there would be less issues with contact bouncing, and no current actually has to flow.Then all the electrics would be completely sealed off. This has the drawback of needing a complicated keyboard controller. Last I remember the keyboard still had logic gates hardwired to do things like SMC reset so this would be harder.

2b) Or just take the key matrix sheets from the 2012-2015 MacBook Pros, which were pressure activated by way of rubber protrusions under the rubber domes, and put the new butterfly keys on top and use a tiny metal disk a la iPhone 4s power button to press on the actual key matrix

Another oddity I noticed on a machine I recently had the keyboard changed at the Apple Store on is that the right Shift key (which just got stuck again), is very close to the left side of the aluminum, more so than the right, and isn't centered. It happens that the key is most stuck on the left, so perhaps the accidental interference fit is causing it to stick.

chendragon··on Ask HN: Products that suck but you still use?
Facebook Messenger.

They keep moving the buttons and the UI every once in a while, hiding message requests in some new place every once in a while. They never talk about the changes and the Messenger Web app is slow to load and often has UI bugs.

chendragon··on Jailbreaking Subaru StarLink
Sort of an aside, but I do sort of wonder what goes into the decision to go with Freescale/QNX as opposed to allwinner/rockchip/MTK and Android in this application. Surely the cost would be similar or less, and the performance could potentially be better?
chendragon··on The MacBook keyboard fiasco is surely worse than Apple thinks
I have both types of keyboards (pre-2016) and the 2016 Touch Bar 15" MacBook.

In my experience there are about three failure modes, some of which you can fix by yourself. However, since the keyboard replacement program started I just stopped trying to fix them myself and instead brought them in, because they give you a free new battery too.

1) The key gets physically stuck up and won't press down. You can fix this sometimes by just smushing down the key and crunching whatever crumb was in there down.

2) The key doesn't respond or needs to be pressed hard to respond. This one is hard to fix, but what I tend to try is to get some 70% isopropyl alcohol and a q-tip. Remove the keycap, and dab repeatedly hard and fast with an alcohol soaked q-tip on the round button dot thing. The idea is to get the alcohol in under the dome, and have it dissolve/pump out whatever was stuck in there. A few q-tips worth of alcohol shouldn't reach the logic board, but don't pour alcohol on there directly. When in doubt blow on it, let it dry out, and try again.

3) The key repeats. This one in my experience is easily fixable with the above alcohol and q-tips method.

I've used these methods on a 2016 13" touch bar (problem 2) and a 2016 15" touch bar (problem 3; put in little effort and gave up and elected to get a free new battery). Both were purchased used for cheap, and the 15" touch bar had previous coffee in the keyboard, as I later found out (a little.), and it surprisingly worked fine for about a year until it became unhappy. I've also had a 12 inch MacBook from 2016 that was just fine, even after eating crumby food while using it on vacation.

Based on these experiences, I don't think the new keyboard design rolled out in 2018 with the silicone membrane solves anything but 1), the least frustrating of the three.

I haven't had a dead keyboard to destructively tear down yet, but from observation it appears that the keyboard is made as a plastic sheet with traces on it, and a little metal dome that pops up and down to make or break contact with the traces. Over the domes, there's another cover sheet that's not completely sealed, because it has cut outs for the key hinges and a little weep hole for air to come out when it's pressed. I think the dirt is going in through these. Perhaps if they move to capacitive sensing, or add a little nub under the metal dome and replace the switch layer with the pressure-sensitive sandwich from the older kinds of keyboards, making it so that the part that sucks dirt in doesn't have to make contact but just pressure, this would be resolved better.

The thing is, when typing I really do enjoy the newer type a lot more since the lower key travel requires much less force to actuate than the older ones. The actuation point is also much more precise due to the metal domes vs the rubber ones in the older ones.

chendragon··on Play.js: The Node.js and React Native IDE for iPhone and iPad
I bought this, it looks very nice and the UI has a very high level of polish to it.

I'm trying to use this with WebViews to hack together a multi-window, multi-tab browser thing, not sure if this is something that exists already.

The main issue with this is that it closes all of the windows when you switch away from this app, making it quite inconvenient at the moment.

chendragon··on Show HN: Video player that puts viewers first
Some of the examples do not work well on mobile (iPad Pro). The UI elements are a tad small to hit accurately on a touch screen and elements which require scrolling don't scroll as expected such as the forms to be filled in.
chendragon··on Why intel processors draw more power than expected: TDP and Turbo explained
IIRC until the recent fix they pushed in a macOS update for the new i9 models, MacBook Pros don't have any of their power limits set (or have them on the defaults at 100W). The processor runs at full turbo, until the CPU gets to 102 C and throttles itself to keep it at about 99C.
chendragon··on Facebook “You Can't Use Facebook Right Now”
Anecdote: A testing account on fb @mailismagic.com (mailinator) has been up for 2 years now and has never required any form of verification. I wonder why this may be. The name on the account is very common, however.
chendragon··on Thelio – System76
The rear fan appears to be shared with the CPU fan. This is actually not a bad design in my opinion, many Dell OptiPlexes from around 2002-2009 were built with a similar design. By putting the fan farther from the grille, they can reduce the effects of noise from the blades passing by the stationary grill.

The fan appears to point inwards, which seems to make more sense for BTX Dells with the fan at the bottom than this with the fan on top.

The site mentions the power supplies are 80plus certified or something with (iirc) 90% efficiency or so.

Quality of the case wise it does look like quite some effort was put into it, given the top appears to be one piece and it certainly looks harder to manufacture than a standard PC case.

With that said, as much as it is nice, I think it's just more of a standard PC with a nice case.

chendragon··on Copyright Office Ruling Imposes Sweeping Right to Repair Reforms
Was there any particular reason that the problem could not have been resolved through hardware since the hardware was a new development?(i.e. a UPS or better filtering?)
chendragon··on Repair is as important as innovation
The motor for the dryer also needs to power the fan that draws air through the unit. Without anything attached to the shaft, I previously measured the no-load power of the electric motor to be 200W.

I would expect the full load current to be considerably higher, as the dryer's drum rides on friction pads and not ball bearings.

chendragon··on Apple Insiders Say Nobody Knows What’s Going on with Bloomberg's Hack Story
Iirc the chips were supposedly found near the SPI flash for the BIOS if you can locate that, probably close to the IPMI/BMC chip.
chendragon··on Someone Uploaded What Look to Be Apple’s Internal iPhone Repair Videos
I think you can change the pressure for Force Touch or 3D Touch under Settings > General > Accessibility
chendragon··on Some MacBook Pro users complain about throttling issues
I have the 2016 version of the machine, base model, and it throttles. Not nearly as badly as anything else in it's thinness class, but the CPU can only run at 37w as measured by Power Gadget under p95 with fans forced to 6500rpm. PC manufacturers often throttle the CPU with the BIOS on purpose or set PL1/2 which Apple doesn't do.

Similar PC notebooks tend to keep the CPU at 85C and run them at 15-20W. Apple runs the CPU at 102C before throttling them, and there aren't apparent power limits.

They're trying pretty hard to solve this problem and to be honest there's not very much more they could be doing short of putting last-mm^3 heatsinks everywhere or making the fans even louder. I'm personally okay with the form factor they've chosen and they've done their best with that.

chendragon··on Some MacBook Pro users complain about throttling issues
Here in Canada Apple charges about $250 CAD to change the set of battery/topcase in a MBP Retina 13 from 2015. I think that's not a bad price considering you get a new keyboard, casing, and trackpad.
chendragon··on Building the Google Photos Web UI
I suspect some of this has changed at some point, right around when they switched to material design. Scrolling became laggy on some machines and the page would often become unresponsive. When Google Photos first came out it was wonderfully responsive but I have since switched away.
chendragon··on Ask HN: Does anyone know if Apple plans to address the MacBook keyboard issue?
I'm not entirely sure if the problems with the keyboard are simply inherent. The gap between the keys on the new one and the frame is simply tiny, and since the key doesn't move, and because the key hits the bottom when pressed, anything that gets in there isn't going to come out or let the key work normally. With that said, I still do appreciate the thinness of the new MacBooks.

Interestingly enough it also seems to vary between units. The 2017 TBMBP is apparently V3 of Butterfly according to someone who worked at Apple on Reddit, who claims they tried to fix the issue.

The 2016 Retina MacBook (12") that I had was able to handle some serious crumbage and never had issues. I at some point had some real crumbly snacks over it and nothing got inside the keyboard.

Then I got a 2016 MacBook Pro (13", touch bar). Even with lighter use, and trying to keep anything getting into it, I had basically every problem with that keyboard. The only thing that fixed it was a silicone keyboard cover from Amazon, after taking all the keys off and cleaning under them. Then it never broke again because it was effectively sealed.

I wonder if the thinner MacBook has a different keyboard than the Pro (It does, I know that now). I think that might have made a big difference, since the thinner one was definitely less susceptible to pulling stuff into it. Might also have something to do with the airflow from the key going in and out.

On the plus side though, the keyboard covers impact typing a LOT less than they used to because of how thin the keyboard is.

chendragon··on New Asus 'gaming' phone has more USB ports than 13“ Macbook Pro
I wonder if they will provide an option to run Linux when it's plugged into the display. It seems like they're giving it quite the bandwidth to drive a 4K display and fast charge power through the multiple connectors, so it would be nice to see the ability to have this to use as a portable development machine.

At least this is the main selling point for me, coming from iPhone I really do want one to see about doing that on. Of course, being Android/ARM, the kernel might not be the friendliest of all things to be running for development and it might not be updated after a few years. I could imagine that some development would be needed to make the transition from dock to phone more smooth, but I think they could make it work.

I do quite like the attention paid to thermals and power in this device, the 20W power supply surely solves the 'drains when using and charging at the same time' issue unless they decide to throttle current draw when the screen is on like Samsung used(?) to? Seems like the fan might help, given that desktop workloads might push the processor hard.

chendragon··on Giving Up on the Current MacBook Pro Keyboard
Did they change them after the 2016 touch bar models?
chendragon··on Giving Up on the Current MacBook Pro Keyboard
I bought one of these things last year around September. I had the 12 inch 2016 MacBook before it.

tl;dr buy a keyboard cover if you have this machine, or just contend with cleaning under the key with alcohol.

I've had a fairly good experience with the keyboard on these machines. The 12 inch MacBook had a perfect keyboard. I love the low travel keyboard and they really got it right.

But then on the MacBook Pro, it seems like the butterfly mechanism was changed to make it more susceptible to foreign matter causing key malfunctions. Admittedly I eat at the computer, so this is probably my fault, but the 12 inch MacBook didn't do this.

Either way, every time oddities like double characters or non-responsive keys happened, I'd carefully pry up the key, use a q-tip soaked in 70% isopropyl alcohol and just clean out the area. You have to get a LITTLE bit of alcohol into the actual switch dome. Basically, you take the q tip with alcohol on it and dab the middle of the little dome madly for a while. Then you stick the key back on and it usually works.

I got really unhappy about how often this started happening, especially since some keys' retention clips broke after so many removal cycles, so I just bought a silicone keyboard cover (the MoKo) one off Amazon. It held the keys in place.

No more problems. That's what it took. It works great now. And the cover doesn't even make it terrible to type on, due to the low travel.

chendragon··on System76 moves it's computer manufacturing from China to Denver
Just kind of hoping they can get the look&feel and most importantly the thermals right on this one. If you go on notebookcheck you can see that every single thin machine that comes out has throttling problems and insufficient sizing of cooling parts, and Apple manages to dissipate 2x the heat in the same thin chassis.
chendragon··on ThinkPad X1 Carbon 2018 review: The only laptop in a professional’s paradise
I'm wondering what the max sustained TDP of the CPU on this is like. On a MacBook Pro (13,2), the Intel processor package can pull 42-45W of power for an indefinitely long time without throttling down below that power level, even on batteries iirc. I'd hope that PC laptops get this at some point; this is one of the main reasons I still buy Mac
chendragon··on Krita 4.0 – A painting app for cartoonists, illustrators, and concept artists
Any hope for support of things like Metal at all maybe?
chendragon··on Ad network uses advanced malware technique to conceal CPU-draining mining ads
Safari already does this kind of. "This webpage was reloaded because it was using significant energy"
← PreviousPage 2 of 3Next →