HNHacker News
TopNewBestAskShowJobs

neetdeth

465 karma · joined November 20, 2018

submissionscomments
neetdeth··on The not so hidden cost of sharing code between iOS and Android
You've listed a lot of technologies that people have used to create successful products with long life-cycles. In particular C, C++, Java, JavaScript, Qt, OOP... if anything is notably missing from your dumpster it's probably Adobe AIR.

Nothing in this industry lasts forever. I'd certainly rather inherit a Java/Swing or Qt app from the early '00s than an MFC or Carbon dinosaur.

neetdeth··on Socialite Cordelia Scaife May Spent Her Fortune Trying to Keep Immigrants Out
Money does seem to be the only way to get even a hint of policy change from Washington, but the trend line of public opinion is opposite of what you suggest. Until around 1995, immigration restriction was overwhelmingly mainstream in the United States and still commands a strong plurality.

https://news.gallup.com/poll/1660/immigration.aspx

I'd further point out that the overwhelming majority of the moneyed interests still stack up on the side of permissive immigration policies. It is, after all, capital that benefits from a global free market for labor and an expanded consumer base. It's just about the only thing the Koch brothers and Soros can agree on.

neetdeth··on Anime4K: Real time high quality video upscaling
I found the preprint somewhat confusing with its talk of approximate residuals and "pushing" pixels. Let me propose another way to think of this and someone can tell me if I'm off base. Disclaimer, I haven't read the source code.

Consider a grayscale morphological operator such as erosion. For each pixel, you would replace the value with the minimum value found inside a structuring element surrounding the pixel. This is kind of like a weird morphological operator with a 3x3 box structuring element, where instead of choosing values based on a simple criterion such as 'min' or 'max' you use information from an approximation of the image gradient. If the gradient magnitude is above some threshold, you select the neighbor pixel in the 3x3 structuring element in the opposite direction of the gradient.

This generally has the effect of making the edges more pronounced. Intuitively, you're distorting the image by "pinching" along the edges. To prevent weird color artifacts, they're using edges computed on grayscale data so that the identical morphological filter is applied to each color channel.

It seems similar but not identical to the method described in this paper: T. A. Mahmoud and S. Marshall, Edge-Detected Guided Morphological Filter for Image Sharpening 2008 http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.384...

In any case, great looking results! Proof that neural networks have not yet made thinking obsolete.

neetdeth··on FBI tells lawmakers it can't access Dayton gunman's phone
The Dayton shooter was not a white supremacist. He was Antifa affiliated.
neetdeth··on I'm a College Professor Who Faked Dissertation Data on the Side
That's not how controlling for a variable works. You don't "rule out people" - the question you need to answer is whether a college education makes people more successful than would be predicted by IQ alone, and if so, by how much?

Is your contention also that SAT/ACT are vanity measures? The correlation between IQ and ACT is very strong, or in other words they are both strongly g-loaded and are good measures for general intelligence.

http://iapsych.com/iqmr/koening2008.pdf

We also have ample evidence that general intelligence correlates with economic success:

http://sci-hub.tw/10.1016/j.intell.2006.09.004

Vanity measure, my foot.

Given that institutions of higher education aggressively select for high-scoring SAT/ACT individuals, and thus high IQ individuals, the burden of proof is on them to show that a degree results in significant socioeconomic success that cannot be explained by the preexisting psychometric attributes of the college bound population.

neetdeth··on I'm a College Professor Who Faked Dissertation Data on the Side
If you don't control for IQ, the observation is useless.
neetdeth··on Kubernetes Is in Hospice
Twitter screenshots? "Container celebrities"? What the hell is this?

It sounds like a bunch of people who based their technology decisions on social media buzz instead of well-defined requirements are now running into operational problems and looking for the next trend to chase.

neetdeth··on H-1B: Federal judge backs government’s narrower view of ‘specialty occupation’
Or they can't take up that job because they don't have the credentials because they didn't pursue education in the field because education in America is expensive, and there is no market incentive to do so because everyone knows that the positions that do exist are quickly filled with low-to-median wage hires with overseas credentials, which is circularly justified by a perennial shortage of qualified American candidates, somehow, despite a population of 330M.

Even in legitimate cases of difficult to find specialty labor, programs like H-1B should be sparingly applied because they jam the market signaling mechanisms that create qualified candidates in the first place.

neetdeth··on The Raspberry Pi 4 needs a fan
See also: the Power Mac G4 Cube
neetdeth··on If Sapiens were a blog post
So this seems to be the thread for the malcontents. I was recommended this book enthusiastically and dropped it after only a few chapters.

My issue with it is basically this: Harari's original insights and opinions are only mildly interesting. There is no single thesis presented (at least as summarized) that justifies an entire book. By grafting those ideas on to what is otherwise a rather dull exposition of mainstream anthropology, he impresses the less educated audience with knowledge, while lulling the more educated into an agreeable attitude by restating the well-known, at length.

It's a common persuasion and marketing tactic: Fact, fact, conjecture. Fact, fact, conjecture. Fact, fact, fact, bold conjecture.

And of course, being unwilling to slog through the filler, I'll be written off by Harari's acolytes as ignorant. But that's OK. I'm starting to regard the rejection of pop phenomena like this one a necessary self defense of my own time and attention.

neetdeth··on When bills pile up, young people turn to strangers on Venmo
The third definition of community from dictionary.com:

a social, religious, occupational, or other group sharing common characteristics or interests and perceived or perceiving itself as distinct in some respect from the larger society within which it exists

A prerequisite for finding community support is to be a member of one. There are many communities. The commonality and social bonds between members form the basis of trust and the expectation of reciprocity.

When people perceive that their resources are simply being expropriated to benefit people they have nothing in common with, may never meet, and certainly cannot expect reciprocal investment from, they tend to withdraw from voluntary participation. Without that participation, communities simply die.

It's true that some communities have a larger pool of resources to share than others. But consider this before you condemn a synagogue for helping out a local Jewish family with money that could have gone to taxes to help someone arguably more in need.

It's sad that not everyone has a home, but the solution is not to demolish the entire block and apportion to each person an equal share of lumber.

neetdeth··on Apple kills the non-Touch Bar MacBook Pro
Why label literally any button? Just number them all, and if a pilot can't remember that button F81 means "gear down" well that's user error.

Hitting a function button is not "typing" in any real sense anyway, use being so relatively infrequent. Can you really hit F8 consistently, without looking?

Maybe the doctrinaire solution would be to delete the function keys, if "thou shalt not look at keys" is the ultimate commandment. But that's incompatible with legacy needs.

Back in the pre-GUI days when use of the function keys was far more prevalent, software would sometimes ship with cardboard overlays to indicate which key did what action. The touchbar is bringing that old idea into the 21st century.

I would have preferred they scaled it back and include physical Esc and power keys on either side, but in other ways it presents a real improvement in computing UX which is too rare these days.

neetdeth··on Google’s robots.txt parser is now open source
Rust was created by/for systems programmers who are in exactly that situation - where performance and control are not optional - and thus have been stuck writing C++ for decades. Although C++ has evolved over the years, there are pain points, particularly regarding modularity, that persist and may require a clean break.

It's still somewhat early but I do already see software being written in Rust with best in class performance (take ripgrep for a prominent example), so lumping it in with Go and Python is really a category error in my opinion.

Personally, I'm still writing C++ for the platform support, etc. but not pretending to like it.

neetdeth··on How to Make Apple’s Mac Pro Holes
It does, but the ability to evacuate material straight out of a hole is very limited. Some are designed for side milling only, others can do plunge cuts but it's mainly done to expose a new "shelf" so that the bulk of the material removal can be done using the side of the tool.
neetdeth··on How to Make Apple’s Mac Pro Holes
Right, that's the idea I was trying to express. Don't expect anything good to happen if you try to plunge a ball end mill straight down into the material.

The thought was only that a large-radius ball would be able to approximate the sphere to within tolerance with larger stepover than a smaller tool. After bulk material removal with a more suitable cylindrical tool of course.

With a little bit of googling I discovered a different class of end mill called a circle segment tool, which could potentially make short work of the problem in a 5-axis machine:

https://www.moldmakingtechnology.com/videos/circle-segment-t...

Would love to see how Apple does it, but it's never happening.

I'm not really a machinist either, but let's not allow that to stop us from incorrecting each other on HN!

neetdeth··on How to Make Apple’s Mac Pro Holes
With a ball end mill, theoretically.

Not that it's a good idea - you need to be able to actually evacuate material from the surface you're cutting, and milling is different than drilling in this respect. But I imagine you could come up with a very fast two step program using a cylindrical end mill for plunging/roughing and a relatively large ball end mill for finishing.

neetdeth··on In the 1820s, a new kind of lens saved ships
Very common example: Focusing lenses in front of smartphone camera flash LEDs.
neetdeth··on Open-sourcing Sorbet: a fast, powerful type checker for Ruby
Their reputation for fast prototyping was established before type inference became a widely available language feature.

Duck typing is also a minor win for "do what I mean" generics - you never have to worry about the type specification being too narrow, just pass an object with the necessary methods and it'll work until it breaks.

neetdeth··on GE accidentally makes the case for not owning smart GE bulbs
Coincidentally, I just had to do the same procedure for a LIFX BR30 smart bulb this morning. To be fair, I doubt the timing is actually that critical, and it's more easily summarized as "turn it on and off five times." Not the worst thing ever.

However, that was just to get started. WiFi setup from iOS failed with an "unknown error" multiple times. So I had to wait 20 (!) minutes for it to fall back to the old style open-AP type configuration, open the app, manually enter my SSID and passphrase...

I bought this one bulb as a curiosity, not expecting to be impressed, but honestly wasn't expecting to find an implementation as botched as this. The day/night cycle feature seems cool until it randomly stops working. The app often can't seem to figure out if the bulb is on the network or not.

Did I choose a lemon or is this par for the industry?

neetdeth··on Stop and Shop now has big, goofy-looking robots patrolling its aisles
Polarization imaging [1] could probably do it. Granted, the sensors are expensive and lower resolution than one might like.

Another way is to measure surface specularity. Use one or more IR spotlights at different angles to the surface and strobe them on and off. A wet surface will have a different angular variation in reflectivity vs a dry surface, unless the floor is very shiny.

1. https://thinklucid.com/tech-briefs/polarization-explained-so...

neetdeth··on YouTube to Remove Thousands of Videos Pushing Extreme Views
It should unsettle you. Power in a democracy is obtained through the manufacture of consent. SF has been reluctant to take the reigns of power away from NYC, but it's finally happening. Strap in everybody.
neetdeth··on YouTube to Remove Thousands of Videos Pushing Extreme Views
Did you deliberately drop BLM from the list because of the 2016 Dallas shooting? Who's trolling whom?
neetdeth··on YouTube to Remove Thousands of Videos Pushing Extreme Views
This is all a very interesting thought experiment, but you're supposing some attempt at logical consistency which will surely not be made.

What this announcement actually means is that YouTube is going to become more politically active in their content curation. This is what a subset of their employees, as well as influential bluechecked Twitterati, have been lobbying for. As a progressive/neo-liberal institution, it will apply exactly the sort of differential policy enforcement that one might expect.

I won't delve into the details of how that applies to your examples because it would quickly become too controversial for HN.

Just imagine how the median Bay Area tech-person would parse out the details and you'll have the answers.

neetdeth··on Apple's Audacity
They could take a Mac Pro and just chop it in half to create the product so many people want.

1 MPX module. 6 DIMM slots. 700 watt power supply. One 10Gb Ethernet port. Supports up to 12 cores.

Shrink the case somewhat in two dimensions and call it the Mac Pro Mini.

How hard can this possibly be you have all the parts right there...

neetdeth··on Gab will become a Mastodon fork
Personally I think Curt Yarvin had a decent idea about how to handle this type of thing with Urbit. Of course Urbit itself is terminally esoteric and nigh unusable, but here are the principles:

“Urbit will do everything possible to help you block content you don't want to see. It does nothing to help you block content you don't want others to see. ... If you post content on Urbit which may offend or disturb any significant group of users, it is your responsibility to mark it properly for automatic blocking.”

https://urbit.org/posts/beliefs-and-principles/

There was a wordier post related to this but I think some stuff might have been purged with his separation from Tlon.

Anyway, the point is, if I’m writing from an alt-right perspective it’s my responsibility to tag it as such. Properly tagged, anti-semitism (for example) would not be an abuse of the platform. I don’t see how this is any less enforceable than the outright banning that e.g. Twitter practices now, and in fact it may be quite a bit easier, as you’ll get fewer “outlaws” who have to cycle through alts every week or two to get their message out to their followers.

One problem of course is establishing a small and universally recognized set of tags that work well enough for most people. Instead of very specific “content warning” types of things, it’s probably good enough to indicate broad political allegiance - black flag, red flag, brown flag etc. It’s rare that just a single word in isolation sets people off - offense taken seems to have more to do with the worldview motivating a given statement.

Then there’s the question of asymmetry. Say, for example, that As are mortally offended by B content but Bs don’t seem to care much about A content. In effect, you’d be creating an unfair burden on Bs simply because they’re more tolerant than As.

NLP algorithms can obviously help here, as well as crowdsourced tagging. So a single A user might have to be exposed to a B-type post to apply the tag, but we might consider that an acceptable loss over a large enough base.

This of course all assumes good faith. I suspect that As will simply be furious that Bs are able to talk to other Bs and neutral Cs, even if they never see those posts.

neetdeth··on The Boring Company will develop an underground “people mover” for Las Vegas
Wouldn't the obvious solution be to multiplex cars at each station? They could have twenty Teslas at each location for passenger pickup/drop-off, only entering the launch queue when all occupants are seated and restrained.
neetdeth··on Unlimited Google Drive storage by splitting binary files into base64
Report in person to an issuing authority for biometric authentication. Have them issue a new one and blacklist the old public key.
neetdeth··on The food industry’s new favorite protein source: peas
Try some of the products from Ripple Foods. Whatever their process is, it works - taste is very smooth and neutral. The chocolate premix shake is very close to dairy for me.

As far as iron content goes, it looks like the RDA is around 10 mg daily with a tolerable upper limit of 40 mg per dose. It's not clear how much daily intake you need for a person without hemochromatosis to experience negative side effects, but exceeding the RDA by several times doesn't seem like a major problem. Notably, the recommended intake is 1.8x higher for vegetarians vs non-vegetarians.

https://ods.od.nih.gov/factsheets/Iron-HealthProfessional

neetdeth··on San Francisco bans facial recognition technology by municipal agencies
Clearly, people are living there to pursue their careers. Many can't stand it for long and leave after a few years. I know some of these people.

There is no excuse for a city with the per-capita wealth of San Francisco to suck as bad as it does, and "overzealous law enforcement" is not even on the list of problems the place actually has.

When a basic level of order is not being maintained, hand-wringing about a hypothetical police state falls flat with members of the public, some of whom are thinking fuck it, moving to Singapore sounds nice right about now.

neetdeth··on Walmart announces next-day delivery, firing back at Amazon
That's a tough one - considering the blurry definition of "grocery item", they'll end up with a lot of frustrated customers who find they need a premium upgrade for the privilege of buying from Amazon.

For example, you can buy a Philips electric razor through Amazon Prime, but refill cartridges are only available through Amazon Fresh. The result: I made my first online order with Walmart and will probably make many more in the future.

← PreviousPage 3 of 6Next →