lightcatcher

Joined 16 years ago

Karma
1,252
Submissions
282
Member since
Jan 10
http://ericmart.in (not much here)

https://github.com/lightcatcher

http://www.linkedin.com/pub/eric-martin/34/636/628/

My email is protected behind this captcha: https://www.google.com/recaptcha/mailhide/d?k=01d1UiHRvpkZRXt99xIP9iGw==&c=Klp_6m19BlnmignxY1w00mYErHe263koplO9E_NWDbo=

Interested in startups, machine learning, and high performance computing.

View on Hacker News

Recent submissions

Comment · 5 years ago
I have no experience in PNG encoding, but found https://github.com/brion/mtpng The author mentions "It takes about 1.25s to save a 7680×2160 desktop screenshot PNG on this machine; 0.75s on my faster laptop." which makes me think your slower performance on smaller images either comes using the max compression setting or using hardware with worse single threaded performance.

Although these don't directly solve the PNG encoding performance problem, maybe some of these ideas could help?

* if users will be using the app in an environment with plenty of bandwidth and you don't mind paying for server bandwidth, could you serve up PNGs with less compression? Max compression takes 15s and saves 35MB's. If the users have 50mbit internet, then it only takes 5.6s to transmit the extra 35MB, so you could come out 10s ahead by not compressing. (yes, I see your comment about "don't say to use lower compression", but no reason to be killed by compression CPU cost if the bandwidth is available).

* initially show the user a lossy image (could be a downsized png) that can be quickly generated. You could then upgrade to a full quality once you finish encoding the PNG, or if server bandwidth/CPU usage is an issue then you could only upgrade if the user clicks a "high-quality" button or something. If server CPU usage is an issue, the low then high quality approach could let you turn down the compression setting and save some CPU at the cost of bandwidth and user latency.

Comment · 5 years ago
I went to high school in a science magnet program in Texas. Students from 3 high schools were eligible for the magnet program, and the magnet program was housed in one of the 3 high schools. Our math+science classes were in the magnet program, but our English/history/PE/art/all other classes were in the host school. The program made up about 10% of the host high scool, and students in the program were counted as part of the host school for purposes of university admission.

This understandably made people unhappy at the host school - ~7% of the class is academic high achievers from out of the school zone who take most of the admission spots reserved for the top N%.

I don't know of any cases of parents moving to avoid the extra competition, but I probably wouldn't have heard of that if it happened. I do know of some people set on going to UT who did not apply to the magnet program so they could have less competition.

The point here is you don't need to move to a rural area to decrease school competition. There are plenty of cases where you can move a mile to get into the zone of a less competitive school.

Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
I've found Walmart.com to be about as good as Amazon for my online shopping (in the US). I particularly find Walmart to be a lot better for some dry goods like cereal and Clif bars. They can mix delivery from their warehouses and from local stores.

This is not me shilling Walmart. I've been pleasantly surprised by it in the last year, and find it to be a real competitor to shopping at Amazon.

Comment · 5 years ago
I'm a runner who never goes on an "exercise walk", but there are plenty of (non-injury) reasons someone might prefer walking:

- less strenuous

- much less fitness required to walk for an hour than to run for 30 minutes

- easier to avoid sweating while walking, which can be useful for some commutes

- easier to talk on the phone while walking

- easier to find someone to walk with you than it is to find someone who will run with you

The article was about making fitness easy and not about making fitness efficient. I 100% agree that running is more efficient, but I'd recommend walking to anyone who thinks "bleh/eww" at the thought of exertion.

Comment · 5 years ago
I also find the "or" wording of the law interesting.

I do think it's racist as it grants the privilege of abandoning the Jewish religion while remaining a legally privileged class (Jew) to people with some ancestries (Jewish) but not with others.

Comment · 5 years ago
Parler is the right starting their own company in response to Twitter censoring/banning some of their discussions. Parler's current deplatforming indicates that "start your own company so you're the governor" is a borderline unrealistic point of view, since the internet and especially mobile phones are run by mega-corporations that don't support an open platform.

If we look at Parler being dependent on other companies, there are 3 dependencies that bit them in the last few days:

(A) running servers on AWS

(B) distributing Android app through Google Play Store

(C) distributing iPhone app through Apple Store

Parler could and should have avoided the dependency on AWS by hosting with a company more aligned with their views or outside of the US.

However, I cannot in good faith say "Parler should have written their own mobile OS if they want people to use their platform from their phones". I believe Android supports app installation without Google Play. It's a little inconvenient, but I think an extra minute or two of clicking around is an ok price to pay for access to unpopular speech.

However, as far as I know there's no way to have an app on iPhones without Apple's approval. This is a strong point for "even if you start your own company, you're not the governor - 45% of America's phone users can only access your service at the mercy of Apple".

Comment · 5 years ago
Comment · 6 years ago
2015 BS alum

Trolling, flicking - I never heard anyone say these, but had heard they were used in the past. Along those lines, flaming or flaming out was used for failing out or needing to take terms off.

A few people still did 3AM Tommy's. Negative time Tommy's was a significant event in at least a few houses.

The Ride tradition was definitely around, with the only sanctioned playing on mornings of finals

I never heard anyone say finesse, brute force, or ignorance

Comment · 6 years ago
Comment · 6 years ago
I believe there's work to be done for each new CPU architecture (Broadwell, Skylake (AVX-512), Cascade Lake, let alone ARM or other architectures). The code needs to be updated for things like L1 cache size, number of registers per core, and number of adders per core. So there will likely continue to be frequent work on BLAS implementations until there's some very smart optimizing and profiling compiler (which is related to what ATLAS does I think).
Comment · 6 years ago
> It feels as if the point that I'm trying to make is that mindful archiving is a better solution than to just 'keep all the things'

On the topic of plain text things (such as text messages) - how much data are you actually hoarding?

Let's say you type 100 words per minute for the next 40 years (and each word is 10 bytes). No sleep, no breaks, just 40 years of typing. Congratulations, you just produced 21GB of data. This fits on an SD card (<$30) or in the cheapest tier of cloud backup like Dropbox or Google Drive. You can search your 40 years of typing in well under a minute. If you remember the year you typed in, you can grep the data from that year in under a second.

I don't like the term "hoarding" for this. Hoarding has a negative connotation. Storage of plaintext is so incredibly cheap (and search so fast) that I feel that option value of retaining the text is almost always greater than the miniscule cost of storage and slower retrieval.

I don't think are any valid analogies between storing physical items and digital items, as digital storage and search is orders of magnitude cheaper. Consider the same experiment where one writes with pen and paper for 40 years, and then wishes to search for the name "George".

Making a decision of what to keep must be more expensive and time-consuming than just keeping everything.

Comment · 6 years ago
The 30 digit code option is only possible on Android. I agree it's not that bad to do every couple years.

There's no way to do backup/restore with Signal on iOS.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton