HNHacker News
TopNewBestAskShowJobs

XaspR8d

1,157 karma · joined September 20, 2012

contact{@}tdhsmith.com
submissionscomments
XaspR8d··on UTF-8 history (2003)
> Is there a language that consistently uses codepoints with more than 2 bytes?

There are definitely (small) communities using scripts that lie entirely in the SMP. For example, Mru, Adlam, Takri, Pracalit, Miao, Wancho, etc. Most of these are either historic scripts that have mostly been supplanted by unified ones (esp. Devanagari) but retain usage in some areas, or languages that did not have a pre-colonial writing system that are attempting to reclaim cultural identity with a new script.

But yes, I don't think there are major communities that consistently do so. My anecdata from a few Mandarin- and Japanese-speaking friends is that SIP characters rarely occur.

Really if anything, emoji obsessives, mathematicians using bold/fraktur characters, and historical linguists/anthropologists would have the biggest savings.

https://en.wikipedia.org/wiki/Mru_language#Alphabet https://en.wikipedia.org/wiki/Adlam_script https://en.wikipedia.org/wiki/Takri_script https://en.wikipedia.org/wiki/Pracalit_script https://en.wikipedia.org/wiki/Pollard_script

XaspR8d··on Auto-Antonyms
Yeah, but that's a really challenging line to draw diachronically.

For example, clip = to fasten originates from Old English `clyppan` (to embrace/clasp/surround), while clip = to cut originates somewhere Scandanavian, as in Old Norse' `klippa` (to clip/shear). Are those still homographs? I think a fair number of the list items are the result of convergent evolution.

XaspR8d··on How we hacked Blackboard and changed our grades (2018)
> my first question would not be about the origin but about the embedding itself. The user's input is rendered in the web frontend of blackboard? Why?

I think Blackboard sees this as a convenience feature, i.e. students submit assignments as, say, PDF documents and they can be viewed directly within Blackboard without the extra steps of downloading. Just silly that it works with anything that can interact with web API, but maybe that was requested specifically?

> Is the client js generally allowed to perform http requests outside of the origin domain?

EDIT: By default, yes, but I'm not sure what restrictions can be applied. (I'm misremembering how CORS even works so I took out my previous paragraph.)

In any case, Blackboard probably provided other tools they could use within the domain as well. For example they could probably trigger some sort of user-to-user private messaging and send the token in the body.

XaspR8d··on Joel Spolsky and Clive Thompson discuss the past, present, and future of coding
In my rural US curriculum, these concepts were 100% part of the (very vague) "Algebra II".

Granted it seems like it didn't stick for a large segment of folks.

(Which might be a valid thing to examine in itself: for math and science we tend to act like it's just the fact that a course is missing from the curriculum that will answer why the general population is inexperienced with it, but nearly everyone also takes composition and literature classes, and I don't feel like we can say their associated skills are really at "saturated" levels.)

XaspR8d··on Police Shut Down a 3k-Person Game of Hide-and-Seek at IKEA
I had assumed it was one of those where the players who are found join the seeking team. I think that tends to scale because the seekers usually have explosive growth as the poorly-hidden players are rapidly converted.
XaspR8d··on Traffic apps turned L.A.’s neighborhoods into ”shortcuts”
Well the issue behind that issue IMO is that so many US streets can be used as main roads. They were built overly-spaciously with only the interests of car drivers in mind.
XaspR8d··on Pronunciations for hexadecimal numbers (1968)
I tend to prefer lowercase since it reduces the number of confusable characters, especially in handwriting (8/B, 0/D, 4/A), but I can understand that numbers might typographically or semantically feel uppercase, so lowercase A-F creates a MIxEd cASe looK.

Is uppercase the older tradition? I'm ~30yo and I've been seeing both for as long as I remember.

XaspR8d··on Ask HN: How do you scale salary for part-time work?
> Now imagine going from 5 to 10 people. The communication web of the two are different. 4 possible communication points vs 9.

Or if you measure communication needs by number of conversational pairs, it goes from 10 to 45!

XaspR8d··on Patterns on goods designed to trigger Automated License Plate Readers
That particular pattern looks like it came out of the Hyperface project.[1]

Also here's an actual purchaseable link at RedBubble [2]. No affiliation with the seller (nor does it look like they're connected to the original project).

[1] https://ahprojects.com/hyperface/

[2] https://www.redbubble.com/people/naamiko/works/24714049-anti...

XaspR8d··on Known packings of equal circles in a circle
At first glance, blues seem to have 2 contact points and magentas have none, but the correspondence seems to break for yellow and orange, which each have several (overlapping) numbers of neighbors that they are used with.
XaspR8d··on How to Find Hidden Cameras in Your Airbnb
My rule of thumb has been that a US city needs to be at least a million people to have a hostel, and at least 4 million to have more than one.
XaspR8d··on Tulsa Teacher discovers calculus flaw
Joke's on you -- the article helped me find a flaw in the theory of journalism!

(Paper is much better yes. I always had trouble with that notation.)

XaspR8d··on Raspberry Pi 4 not working with some chargers
Also curious about differentiation strategies, if anyone has tips. I'm guessing the marketing materials for the cables isn't even sufficient to tell them apart in many cases.

It's tempting to build some sort of test rig for this (though I hardly have the background for it)...

XaspR8d··on Grocery Outlet S-1
To be fair, even most of the United States hasn't heard of this chain. YC's location bias makes it sound wider-spread than it is.
XaspR8d··on Cloud Code – A new set of plug-ins for IntelliJ and VS Code
Not a licensing expert myself, but I'm sure that exists out there. Creative Commons has some pretty close variants, for example CC-BY-NC-ND (attribution, non-commercial, no derivatives).

https://creativecommons.org/licenses/by-nc-nd/2.0/

EDIT: I do understand that CC licenses aren't really designed for code, and that these restrictions probably don't make sense under the label "open source". Just wanted to link a possible starting point.

XaspR8d··on Alternative Periodic Tables
I always found it strange that the standard view usually depicts Lanthanum + Actinium on the main block and Lutetium + Lawrencium on the auxiliary. I suppose historically it makes sense that valence was the motivating factor, but at my (totally layperson at this point) glance, the pedagogy seems like it would be simpler to just adopt a more electron-orbital-focused design like the "left step" one.

In any case, it's not like anyone should really be looking at the table placement of an element say to themselves "ah yes now I know everything about how this behaves"; the exceptions are basically an intractable necessity in chemistry.

XaspR8d··on Burger King is introducing a vegetarian patty from the start-up Impossible Foods
White Castle has had Impossible Burgers available for about a year now. Just interesting to see the trend emerging from what I would consider the "bottom-most" market segment. I suppose they had the most to gain from drawing in a meat-averse audience.

Whatever your feelings on this particular product, it seems that the perhaps-inevitable decline of the traditional meat industry is going to take place on many fronts (clean meats, plant hemes, alternative proteins, locavore provider networks, increased availability of traditional vegetarian cuisines).

XaspR8d··on History of Biosphere 2
Lots of people sharing their tour anecdotes, but I wanted to add: my favorite part of the experience is when they take you inside the "lungs".

Due to the immense amount of atmosphere inside, they needed a way to handle the expansion and contraction over the course of the day, so they built a giant diaphragm roof that can raise and lower on top of an auxiliary dome. During the tour they take you inside to see it inflated, then take you into the outer shell and crack a door so you can watch the whole thing collapse.

Super simple mechanism, but it really hit home the complexity of the problem space.

XaspR8d··on Proving the Turing Completeness of Fonts
It's not arbitrary code execution, just a toy observation about the specification. Additionally, 1) as noted, none of the font rendering libraries used were capable of recursion without the author's modifications, 2) in a web context, Javascript is unable to access information about actual glyphs rendered or other "font-internal" calculations.

If anything, exposing glyph data to the web API would be a bigger problem for fingerprinting, and probably expose some sort of user browsing history snooping flaw...

XaspR8d··on From video game to day job: How ‘SimCity’ inspired a generation of city planners
I'd love it if OpenTTD had just a smidge more complex of a city simulation, so that towns weren't just concentrically-expanding colonies. But yes, it's much better at bringing that transport logistics puzzle to the forefront, which is probably why I've bothered to keep it around, unlike the various SimCities.

It also teaches you that long routes are magically always more profitable. :P

XaspR8d··on From video game to day job: How ‘SimCity’ inspired a generation of city planners
I don't get the feeling that SimCity suggests that car-centric solutions are the "right" answers. My interpretation always was that it shows you how ideal mass transit solutions were but why economic pressure could keep them from working. Ultimately it seemed like the message was that pure capitalism was biased towards solutions that just barely met the citizens' needs.

The lack of parking lots was always an obvious bias, though a reasonable game design choice considering the visual appeal. I remember when SimCity 4 modders started making more buildings with "correct" parking lots (and other scaling aspects), it was so contrastive with the built-ins that people often either rejected it, or worked to acquire enough custom buildings that they could turn off all the default ones, which required a pretty staggering number of assets.

XaspR8d··on Americans Cross Border into Mexico to Buy Insulin
If you ever find yourself near Yuma, AZ, and have a sense for "weird travel" like I do, I'd recommend taking a jaunt into Los Algodones (AKA Molar City) immediately across the border. You can park at the border station and walk in. The tiny city is pretty much entirely dedicated to discount medical sales and is packed to the brim with dentists, pharmacists, opticians, and cosmetologists. When I was there, salesmen would literally call out "cavity? cavity?" to the passersby on the street. It's like some eerie alien recreation of Las Vegas where gambling is replaced with curbside botox and root canals.

We only spent about 20 minutes walking around (probably spent more time in the border office), but it was a super memorable pit stop for me.

XaspR8d··on Zero-shot transfer across 93 languages
Tangent: I've always wondered if there would be utility in humans gaining expertise in writing "for" translation, i.e. knowing what kinds of semantic and syntactic constructs are the least lossy when localized, or perhaps even learning to write in some intermediate, non-native-human language whose reduced feature set guarantees a certain level of translatability.

I suppose the answer might be that machine translation will improve fast enough that such a field wouldn't have time to emerge. But I always think that using humans to intelligently fill gaps in machine competency is a neat solution!

XaspR8d··on 773M Password ‘Megabreach’ Is Years Old
My local grocery store has a sign above the gift cards reminding people that government entities and utility companies will never ask for payment in gift cards. If they can manage a warning, I would hope Bitcoin sites could have a disclaimer somewhere...
XaspR8d··on How to reduce the file size of large background images by over 93%
There isn't any sort of spec to ask the browser to use specific scaling algorithms, right?

I think the general idea is safe enough -- images of gradients are probably going to look fine upscaled in any algo that would actually get shipped. But there's no guarantee that tomorrow Mozilla won't decide their new mission statement is to spread the gospel of nearest neighbor.

XaspR8d··on How to reduce the file size of large background images by over 93%
CSS gradients have 2 notable annoyances:

- Simple horizontal, vertical, or radial gradients can rarely capture the "organic" look that most designers want (the gradients of real materials and scenes are highly uneven so perfect symmetry has a distinctly artificial appearance).

- I'm not sure if it's actually an aspect of the spec, but all implementations I've seen interpolate the colors in RGB or an RGB-like colorspace. This can have the effect of creating dramatic jumps or ridges. With a lot of trial and error (or color math) you can overcome this by using custom stop values, but it's much simpler and more in-line with a designer's toolset to be using colorspaces whose linear interpolations are more perceptually uniform.

Of course there's also the "standard drawback" of modern webdev too: it's often easier to just throw assets at the problem. :/

(Thoughts from a design-adjacent dev.)

XaspR8d··on Discovered: The Most-Distant Solar System Object Ever Observed
Some estimates for the outer boundary of the Oort Cloud put it at 200,000AU = 3.16ly (more conservative estimates seem to be 1ly or less). Even the inner boundary is thought to be at least double the distance of the object just discovered, so current astonomical hypotheses align with your idea that there's a lot more out there.
XaspR8d··on The Cube Rule of Food Identification (2017)
Yeah, also it may seem obvious that a bagel sandwich sliced in the traditional would fall into the {top,bottom} Sandwich category, but they provide no formal descriptions of smoothing. I'm sure I could construct some wildly-non-homotopic constructs that would defy the "obvious" smoothing.

(Is an uncut bagel a Toast or an "air" Sushi?)

If I were arguing for this rule, though, I'd say that the unlisted combinations should collapse to the listed ones based on curvature. {side,bottom} collapses to either Toast or Taco, and {side,back,bottom} collapses to any of Toast, Quiche, or Taco.

XaspR8d··on The Cube Rule of Food Identification (2017)
I am a scientist, and any experiment that demonstrates a hypothesis I do not like is an experiment I do not accept.
XaspR8d··on Triplebyte Now in Seattle and Los Angeles
Yeah, I almost feel bad about how often I see Triplebyte ads, since I'd like to use the service but I'm not intending to relocate to one of their cities right now.
← PreviousPage 3 of 12Next →