HN user

liyanage

927 karma

https://twitter.com/liyanage

my public key: https://keybase.io/liyanage; my proof: https://keybase.io/liyanage/sigs/VVA1UdmCKuSmCtF0IKLdO0Jp3V7eOikcokc538yV41g

Posts50
Comments52
View on HN
github.com 2mo ago

LLM Policy for Rust Compiler

liyanage
100pts84
99percentinvisible.org 4y ago

Decoding Utility Markings Spray-Painted on City Streets

liyanage
2pts0
www.linfo.org 4y ago

Rule of Silence

liyanage
34pts1
www.zdnet.com 4y ago

YubiKey Bio builds biometric authentication into a security key

liyanage
2pts0
ai.eecs.umich.edu 5y ago

Reminiscences of the VLSI Revolution (2012) [pdf]

liyanage
28pts1
arstechnica.com 5y ago

The Ars Technica semi-scientific guide to Wi-Fi Access Point placement (2020)

liyanage
3pts0
www.ntia.doc.gov 5y ago

United States Frequency Allocations [pdf]

liyanage
1pts0
developer.apple.com 5y ago

Safari 15 Beta Release Notes – Apple Developer Documentation

liyanage
4pts1
www.sfgate.com 5y ago

First NorCal Legoland is about to open with 1M-brick re-creation of the Bay Area

liyanage
1pts0
computerhistory.org 5y ago

The Eudora Email Client Source Code – CHM [2018]

liyanage
2pts0
webkit.org 5y ago

New WebKit Features in Safari 14.1

liyanage
12pts2
electronics.stackexchange.com 5y ago

How can energy “physically” be fed back into the grid?

liyanage
1pts0
www.scholarpedia.org 5y ago

Ant Colony Optimization

liyanage
2pts0
theprepared.org 5y ago

Production Marks – The Prepared

liyanage
1pts0
www.reddit.com 6y ago

What's the relation of entropy in physics and entropy in information theory?

liyanage
3pts0
electronics.stackexchange.com 7y ago

Why Was Mini USB Deprecated in Favor of Micro USB?

liyanage
292pts210
nest.com 7y ago

Google Nest

liyanage
4pts0
99designs.com 7y ago

History of the Design Grid

liyanage
4pts0
www.npl.co.uk 7y ago

Redefining the Si Units

liyanage
1pts0
www.instrumental.com 7y ago

Hardware engineers speak in code: EVT, DVT, PVT decoded

liyanage
1pts0
www.runnersworld.com 8y ago

The Running Test That Has Tormented Sport’s Biggest Stars Turns 50

liyanage
1pts0
hackernoon.com 8y ago

Apple’s Icons Have That Shape for a Very Good Reason

liyanage
16pts5
ww1.microchip.com 8y ago

Introduction to USB Type-C [pdf]

liyanage
1pts0
www.theguardian.com 8y ago

New blood test could help detect eight common cancers before they spread

liyanage
9pts0
www.youtube.com 8y ago

Unboxing a $500 LED

liyanage
4pts0
uxmovement.com 8y ago

Why Rounded Corners Are Easier on the Eyes – UX Movement

liyanage
6pts0
asktog.com 8y ago

First Principles of Interaction Design (Revised and Expanded)

liyanage
2pts0
www.dwitter.net 8y ago

Dwitter

liyanage
4pts0
www.theguardian.com 8y ago

The suicide rate for farmers in the U.S. is more than double that of veterans

liyanage
317pts380
www.electronicdesign.com 9y ago

The Engineer’s Travel Bucket List

liyanage
1pts0

Things like "not sure" and "I think" and "even if I'm wrong" suggests that it is not very clear what is covered and what isn't. A lawyer would probably have to sort that out.

The practical problem is that some organizations simply discourage or don't allow the use of GPLv3 or AGPL software. I don't want to learn one tool for personal projects and another for potential work projects, in case the opportunity comes up.

The easiest way to deal with that is to just switch to a tool that has a license that is more widely accepted.

That brings back fond memories. I used to package up a PHP installer (and a MySQL one) for macOS for many years, back when OS X was still new and it was a bit of work to build various UNIX open source projects from source.

My day job was Solaris/Linux work so I was used to it and I wanted PHP on my Mac, so I built the installer for myself and also put it on my website, where more and more people downloaded it from over the years.

I haven't used PHP in more than ten years and only recently started dabbling with web development again for fun. I am very happy with TypeScript + React on the client side and Python or Swift on the server side.

I'm curious, do you know what scooter model Skip uses in SF? I've also seen Bird use it in San Jose and possibly elsewhere. It has a Segway label.

That model is fantastic. Very pleasant brake, and it is much more powerful than the one Scoot uses. The Segway one gets me up some of the hills in SF, whereas the Scoot one is woefully underpowered, a joke for a hilly city like SF.

The new Dropbox 7 years ago

Yes that's exactly what I need. Just sync the symlinks to the server and back down. Don't follow them.

The new Dropbox 7 years ago

Agreed, and I'm a big Python fan myself, I didn't mean to bash the language.

Somewhere between cool MIT dorm room side project and serious company there is a point where it's time to ditch it and reimplement it in in something that performs better.

Another drawback of it being Python is that when it is causing the fans to spin, I can't inspect what's going on with Activity Monitor's sampler. It's all opaque nameless Python stack frames.

The new Dropbox 7 years ago

This is a perfect description of my issue with their symlink handling, and their arrogant response to the complaint about it.

The new Dropbox 7 years ago

I've been a Dropbox user for many years but I'm looking for a replacement. What drives me nuts and hasn't gotten better over the years is their truly awful Python-based macOS client software.

It is constantly burning a ton of CPU/battery. It's always at or near the top of Activity Monitor's list in the Energy tab. It seems like their app constantly reacts to any file system activity, even if that activity is outside the Dropbox directory. My file system is busy all day long from building in Xcode and other things.

What I need is for Dropbox to improve that by making an efficient, battery-saving, native macOS client. What I don't need is what is announced in this post.

The two other things that I hate are the fact that they don't support symlinks and that they use a kernel extension. All of these things together made me start the search for a replacement.

Does anybody know how the CPU/power impact of Microsoft's and Google's offerings are on the Mac?

Hello World 11 years ago

I'm very happy to see that this is released under the Apache license.

I love the Dropbox service, but if Amazon will provide iOS and Mac clients that work well and the Mac client turns out to be less of a CPU hog than the awful Dropbox Mac client, I'll switch right away.

Dropbox is constantly the second highest average energy user over the last 8 hours on my laptop, impacting battery life. It shows up high on the CPU usage list all the time.

I had bought an inexpensive FPGA board to play around with programmable logic and then later learned about CPLDs (from a bigmessowires project report at http://www.bigmessowires.com/68-katy/), which seemed a better, cheaper fit for what I want to do.

I wanted to know more about the background and history of these programmable logic technologies and this tutorial was fantastic, so I posted it here.

Hackaday also has some great articles and tutorials on this topic: http://hackaday.com/2008/12/11/how-to-programmable-logic-dev..., http://hackaday.com/2014/04/06/cpld-tutorial-learn-programma...

Another vote for Fusion 360, especially on the Mac. I settled on that for 3D printing and hopefully soon desktop CNC modeling. It seems to be the only affordable yet not dumbed-down packages for OS X.

Yes I read one of your chapters as well, very well done and I'll be buying the book when it comes out.

That order is the part that confused me. I expected to read it right-to-left, instead it's left to right for the for statements, then the expression on the left at the end.

I see now that the Python docs explain this very clearly...

I think this is great, I've been doing Python for a while and I knew many of the features but I also learned a few new ones.

I don't understand how this one to flatten lists works:

    a = [[1, 2], [3, 4], [5, 6]]
    [x for l in a for x in l]
Can somebody explain what the order of operations is here and what the variables refer to in the various stages of evaluation?

This is great, and I love how they got some UI things exactly right, such as zoom with the mouse wheel, and pan with the space bar held down, including visual feedback for the tool switch.