Better HN
topnewbestaskshowjobs
Log inSign up

emptybits

6,904 karma · joined Nov 20, 2012 (14y ago) · 1,051 submissions

  LOAD "*", 8, 1
Coded stuff. Cofounded companies and a charity. Successes & failures. http://bitmason.com

Darren Stone, Vancouver, BC, Canada

  "Once men turned their thinking over to 
   machines in the hope that this would
   set them free. But that only permitted
   other men with machines to enslave
   them." - Frank P. Herbert, Jr., 1965
  
  "The programmer, like the poet, works
   only slightly removed from pure
   thought-stuff. He builds his castles
   in the air, from air, creating by
   exertion of the imagination." 
   - Fred P. Brooks, Jr., 1975
Submissions

comment 3y ago · link · parent

Kevin Wang, competitive coder: "I also try to minimize the amount of code I write: each line of code is just another chance for a typo."

Peter Norvig: This is why AlphaCode learned to write code with one-letter variable names, and with no comments or docstrings.

!!

comment 3y ago · link · parent

And please collect my fine from my automaker. Their selfdriving AI parked my car where it shouldn't have.

comment 3y ago · link · parent

A composite without compensation for at least 1) direction of light sources, 2) colour temperature of light sources, and 3) perspective matching will just look "off". Uncanny valleyish. Maybe that's okay or desired for a very limited application. I'm thinking pulp scifi cover artwork, lol.

Humans make these mistakes with naive/low-effort composites. Poorly generated AI images could contain such mistakes also.

OTOH, appropriate training could not only allow AI to avoid the mistake in its own prompt-driven images but also allow it to correct human artist-drawn images. Like local white-balance adjustments or local lens/perspective distortion correction.

comment 3y ago · link · parent

> One minor correction - no one 'wants' ads.

Yes, in 2022. I have ad fatigue. PTSD, even, from the onslaught and effort to avoid them.

But I recall a time when I enjoyed ads and actually looked forward to them and paid good money for magazines, and to a lesser degree TV, full of ads that somehow seemed informative and civilized and entertaining. Byte Magazine, The Computer Shopper (all ads! yet I paid for it!), Car & Driver, Popular Mechanics, Bicycling, you name it. I don't think this is nostalgia; I was informed and entertained. Never again, I suppose...

comment 3y ago · link · parent

I hear you. That's part of the joy I seek with AoC.

Most years I choose a language I've never worked with commercially (e.g. Fennel in 2022) and rather than reach for prebuilt libs for timesaving fancy array or set or string ops, I'll invent those wheels myself without dependencies and I find a ton of satisfaction in it. Unwise commercially but ideal for learning and play. And, yeah, bugs!

IMO, when it's not a customer paying for my learning curve, there's a lot to be said for rewalking old paths with new boots (or no boots and funky coloured glasses). Also, a terrible way to get onto the leaderboard IME!

comment 4y ago · link · parent

Cooking food over fire. Vegetables or meat. Traditional everywhere and all kinds of delicious! :-)

comment 4y ago · link · parent

I'm neither Jewish nor Asian, but I do always have a large tin of this delicious Chinese vegetarian barbecue sauce in the fridge with a prominent 卍 on it.[1] It's a fantastic marinade, among other things.

Anyways, it resembles a Nazi swastika enough for the uninitiated to look twice when opening the fridge. It causes me some cringe when I think about it but my Chinese friends and family assure me it's common, has nothing to do with hateful values, and long predates the Nazi use, and ... shrug?

[1] https://www.kuohua.ca/shop/p0540023/

comment 4y ago · link · parent

I can't think of examples of positive activities in a workplace being best labelled office politics. Help me out?

I understand politics, outside of government, to suggest deception or manipulation with hidden motives.

comment 4y ago · link · parent

Sure, but in the spirit of these games I guess there needs to be a balance between simplicity and realism. A single roll and table lookup is simple and fun but not finely grained so not realistic if limited to 1D6 or 2D6. So maybe a re-roll, like you suggest, but then maybe that doesn't have the same easy flow.

Nowadays, dice with more sides are common so that allows a simple 2D10 roll and a percentage lookup table. Maybe that's the balance.

comment 4y ago · link · parent

Loved reading this. I was unaware these boxed editions existed but I do recall using my AD&D dice as a kid to make a "baseball" game. I was obsessed with the probability of singles vs doubles vs triples vs home runs at the time and how to balance that with the poly dice. Anyways, it was probably the late 1970s and I had neither real stats nor the internet and I have no idea what my rationale was but I recall the game design process was far more enjoyable than the game. (Personal note ... boy, was that foreshadowing!)

Anyways, in the article, my eyes were drawn to the roll outcome tables and they all seem to be making triples as likely or more likely than home runs. Yikes. In reality, it's the exact opposite by a large degree. Example ... in the 2018 MLB season (pre-pandemic, full season), 853 triples occurred while 5,656 home runs occurred. And triples are becoming less common over the decades for a variety of reasons. But even in the 1950s, home runs were two to three times more likely than triples per at-bat.

Anyways, none of this matters, just sharing something nerdy. I enjoyed the article, thank you!

[1] https://www.wolframalpha.com/input?key=&i=triples+in+mlb+201...

[2] https://www.wolframalpha.com/input?key=&i=home+runs+in+mlb+2...

311.

Mary Kenneth Keller: the first Ph.D. in computer science in the US (1965)(en.wikipedia.org ↗)

6 points · by emptybits · 4y ago · 1 comment

312.

Unstable Diffusion, the group trying to monetize AI porn generators(techcrunch.com ↗)

6 points · by emptybits · 4y ago · discuss

313.

Programming by Punch Card(hackaday.com ↗)

2 points · by emptybits · 4y ago · discuss

comment 4y ago · link · parent

No kidding. Actually, considering how mindblowingly huge but untouched the volume and area of our seas and seafloors are, "oceanically unlikely" is also a superlative I can get behind!

1.3 billion cubic km of water, the tallest mountain ranges and deepest canyons. Aside from occasional glimpses of the surface, it's forever out of sight and out of mind for nearly every person on the planet.

comment 4y ago · link · parent

Exactly; car lengths vary by model, not by velocity.

I get it. You'd prefer to use the phrase "car length" to not literally mean "length of a car" in this context. Apologies if I seemed pedantic but, as evidenced by this thread, your use of car length is going against the grain.

Safe following distance is often expressed in multiples of car length. What car? Sure, good point. Pick one; it's close enough! (If you're actually thinking about following distance in any terms at all, even roughly estimated, you're ahead of the safety curve and you clearly are!)

Ideally, following distance could be accurately estimated in metres and adjusted continuously by velocity and driving conditions. AI can do that. People just kind of eye it and say, "it was raining and I followed about four car lengths behind him" or "we were inching along and I was half a car length behind him". Good enough for meat brains!

Safe driving!

comment 4y ago · link · parent

> One car length is way more than 15 feet to my mind, probably 40 feet or more depending on speed.

A car length is, literally, the length of a car. It does not vary with speed.

Exception: https://en.wikipedia.org/wiki/Length_contraction (coming soon in a software update to a Tesla near you)

comment 4y ago · link · parent

So many strange and beautiful rabbit holes. Wikipedia claims Prince wrote the song Nothing Compares 2 U (famously covered by Sinéad O'Connor) about the author, Susannah Melvoin.

comment 4y ago · link · parent

Last week's Lex Fridman podcast featured Andrej Karpathy (former director of AI at Tesla, founding member of OpenAI) and they discussed this aspect briefly also.

The usefulness of neural networks has not ceased, despite researchers' early ideas and hopes about its biological analogies having somewhat sheared away.

comment 4y ago · link · parent

1. This is an "old" resume. I'm not as old as OP's dad but I definitely recall putting my gender, height, probably weight, definitely "health: excellent", etc. on my resumes in the 1980s. Different times. Times of discrimination? Probably. :-/

2. As others point out, this gentleman was in aerospace and even though he wasn't a pilot, here's a fun fact for the morning ... I watched a documentary on the early years of fighter pilot selection and grooming. Russia apparently recognized and exploited the value of a short heart-brain distance in its pilots. If I recall correctly, pilots with shorter distances between heart and brain can pull higher G's (or maybe negative G's) before browning or blacking out in certain maneuvers. It makes sense when you think about it. So if you're an air force looking for every edge you can, you might select for this trait. Shorter men (specifically, shorter sitting height: reasonably correlated with heart-brain distance). Also some women, I would expect. Anyways, this is probably not why OP's dad shared his height, but sharing a possible TIL as it was for me... :-)

comment 4y ago · link · parent

It's really different IMO.

"Fire!" (falsely) in crowded theatre: Specific. Beneficial outcome unlikely and difficult to even imagine. Harmful outcomes nearly certain.

Powerful AI codebase or service: Generic. Endless beneficial and harmful outcomes easily imagined.

comment 4y ago · link · parent

Freedom to speak and publish, even dangerous ideas, is also a right. Beyond the US.

322.

NamX at Paris Motor Show: Hydrogen Powered SUV Concept Using Removable Tanks(hydrogen-central.com ↗)

2 points · by emptybits · 4y ago · discuss

comment 4y ago · link · parent

Yes, my question was honest. When I asked it, I did not see "further away" in the text of the post. Possibly it was added or else I misread it.

As a motorcyclist, at night, I wish I had the appearance of a car in other motorists' fields of view!

But if it means misjudging my proximity, sure, I do not want that. Still, I think a single point of light (common motorcycle config) gives even less depth information than a pair or triplet of horizontal lights. I've run two or three lights wide on most of my bikes for decades. ATGATT and fingers crossed...

comment 4y ago · link · parent

How would such a misinterpretation be an actual problem? Less safe?

325.

Is Cheese Good for You?(consumerreports.org ↗)

19 points · by emptybits · 4y ago · 9 comments

comment 4y ago · link · parent

> There's a quote I cannot find that I miss greatly ...

This is probably it: "Civilization advances by extending the number of important operations which we can perform without thinking of them." - Alfred North Whitehead

(And I agree that depth is rewarding and civilization allowing us to forget things isn't always tempting!)

327.

Canadian ransomware hacker sentenced to 20 years in U.S. prison(cbc.ca ↗)

7 points · by emptybits · 4y ago · 2 comments

comment 4y ago · link · parent

In Canada, with sales taxes varing from 5% to 15% by province, we round to the nearest nickel on cash transactions. Non-cash transactions are rounded to the nearest penny as usual. Works fine IMO.

Note that the rounding is to the nearest nickel, neither up nor down. So it favours neither buyer nor seller; it all nets out about the same for all in the end.

We stopped minting pennies 10 years ago. They're still legal tender but rare to see since there's no need with 5-cent cash rounding conventions now. There were brief popular grumblings and misplaced arithmetic anxiety leading up to the death of the penny. I expect the same when we bury the nickel and I bet few will miss it either when its time comes. And then the dime.

Of course one can construct amusing temporary edge cases or arbitrage opportunities when buying specific quantities of specifically priced items in the presence of any new rounding rules. The market will respond.

comment 4y ago · link · parent

Nice! That hourly data link ("*matrices") looks easy enough to parse. Thank you!
1
101112
36