Better HN
topnewbestaskshowjobs
Log inSign up

function_seven

15,501 karma · joined Jan 22, 2011 (15y ago) · 3,183 submissions

Submissions

comment 3y ago · link · parent

I assume you didn't see my other comment buried elsewhere in this thread, but that's exactly what I just did today. :)

https://news.ycombinator.com/item?id=34178298

(Except I decided to go with 4 spaces from the tab key. I'll see what's up with pasting a literal tab. Maybe that's better)

comment 3y ago · link · parent

You're right, I don't want to change defaults. In fact, this whole back and forth reminded me that AutoHotKey exists, and I'm actually running it already, and I have the power to make this change myself. So I did!

    #if IsExcelFormulaBox()                ; Whenever the formula edit box has focus
    Tab::Send {Space}{Space}{Space}{Space} ; insert four spaces when I hit [Tab]
    $!Enter::Send {Enter}                  ; commit the formula with [Alt]+[Enter]
    $Enter::Send !{Enter}                  ; insert a newline with bare [Enter]
    #if
does what I want, with the helper function:

    IsExcelFormulaBox() {
        ControlGetFocus, F, A
        return (F="EXCEL<1")
    }

comment 3y ago · link · parent

Oof. I actually use that frequently as well. Okay, okay, How about this? My wished-for option would just be to swap the behavior of [Enter] and [Alt]+[Enter].

Normally the first one commits the formula, the second one inserts a newline. I want to reverse that and make a naked [Enter] insert the newline, and the [Alt]+[Enter] commit the formula.

comment 3y ago · link · parent

[Ctrl]+[Enter] would be awesome. Or just a double enter would work. Or clicking on the sheet somewhere.

I don't want Excel to change the default behavior. The way it works now is the right way for most people. I just want to be able to enter a mode where I get to freely edit the formula as if it were in a text editor, then exit that mode when I'm satisfied. Whether that is some checkbox option buried in the settings ("Options > Formulas > Working with formulas"), or an F-key, I don't care.

comment 3y ago · link · parent

I don't know why I wrote it that way. For the indenting, I have to use the space bar to line things up. No [Alt] needed in that scenario.

comment 3y ago · link · parent

THANK YOU. This doesn't fix my original gripe, but it solves another one I've had. When doing conditional formatting rules, I thought I was stuck with a "dangerous" arrow key. F2 works in those boxes as well to let me position the cursor instead of clobbering my formatting rule with cell references.

comment 3y ago · link · parent

Yeah, I do the same, but I wish I didn't have to. It's opposite of how I write text in all other contexts, and is really annoying when I forget to hold down [Alt] and get a modal admonishing me for having written a shit formula. Then I have to dismiss that modal, click on the cell again, and get back to where I was.

Even worse, I spend a good chunk of time in Power BI, and it has a similar formula field (for DAX expressions), that mimics Excel a bit, but there you use [Shift] to insert newlines. So I'm always using the wrong modifier key and spewing insults at my computer.

comment 3y ago · link · parent

My current #1 wish for Excel formula entry: Please let me use [Tab] and [Enter] in the formula bar without trying to commit the change!

I like to format my formulas with multiple lines and indentation, but to do that I have to hold down [Alt] and mash the spacebar like a caveman.

I am happy with the new features I've been seeing. LAMBDA() and the new TEXT functions are nifty.

comment 3y ago · link · parent

Even so, the number of experts looking at the code will increase if it's open, right? I know the concept of "many eyes makes all bugs shallow" isn't the panacea we once thought it was; that still there can be bugs lurking in widely-read sources.

But it must be smaller than the number of bugs that exist in code read by a smaller group.

comment 3y ago · link · parent

Heh. To me is sounds like some Victorian-era disease that requires a suitable balancing of humors and maybe a touch of bloodletting to cure.

comment 3y ago · link · parent

Not when it’s purchased as an add-on to a Kindle version. For most books I end up paying $10 for the text and $8 for the narration add-on.

So much better when starting a new book to be able to read all the new and unfamiliar names and places.

comment 3y ago · link · parent

My perception of Tesla’s supercharging network is that it was a huge edge 5 years ago, or even 2, but not so much anymore.

Yeah, it may still be the densest, but generic chargers are popping up everywhere. If I’m deciding on which brand to go with today, the charging network doesn’t even make the list of considerations. In 2017 it may have been near the top of that list.

Couple that with Tesla’s stale designs and continuous decontenting and I don’t see a Model 3 as all that compelling.

comment 3y ago · link · parent

You running RFC 2324 on that?

comment 3y ago · link · parent

Yup. And if you’re buying bare cells (18650, 21700, etc.) a guy called Mooch is the unofficial authority on their specs and how to avoid counterfeits.

He’s been at this for years now, mostly followed by ecig users (who rawdog these cells, and are keen on not lighting our faces on fire)

https://www.e-cigarette-forum.com/blog/moochs-recommended-ba...

comment 3y ago · link · parent

Another nice feature of that TV was the ability to play the audio from otherwise-restricted... um, "premium" cable channels. Good enough for this 13-year-old. :)

comment 3y ago · link · parent

I remember asking for a color 13" TV for Christmas back in 1988 I think?

For months I would grab the Sunday paper and pull out all the ad inserts looking for the perfect TV. It had to be cheap; I didn't want to ask for anything crazy. I finally found one that was under $200 and showed it to my parents. It was some unknown brand. It wasn't "Cable Ready", and it still had separate tuner knobs for VHF and UHF. I didn't care, main use would be for Nintendo.

Parents decided to splurge instead and spent almost $400 on a Toshiba unit with a digital channel display and a remote(!). It also understood cable. I could watch Nick at Nite on it when I went to sleep.

$400 for a 13" TV, in 1988. That's $1,000 in today's money. A 75-inch 4K TV.

EDIT: For a nostalgia hit, I went searching for it. This is the model they got me: https://www.youtube.com/watch?v=15wiYAEOYAE

comment 3y ago · link · parent

But if I pay for 2 products (Match and Music) then… nope, I’m still the product :/

comment 3y ago · link · parent

Here's a rewording of the phrase:

Go back to the time Elon learned about the things Buzz Aldrin—his childhood hero—said about SpaceX

I think this is the interview in question: https://youtu.be/23GzpbNUyI4?t=726

comment 3y ago · link · parent

I think it’s this?

https://www.nbcnews.com/tech/social-media/twitter-strikes-de...

comment 3y ago · link · parent

Sharks are sharks, and humans are humans. We are not mere animals, we have civilizations and… humanity.

Animals do all sorts of horrifying things to one another. I mean, when a human does gruesome, cruel things, we often call them “an animal”.

We know better.

comment 3y ago · link · parent

My favorite recent Amazon search: looking at LCD displays, one was categorized as “Style: Women’s”

Was this a classic case of review laundering, where a blouse was replaced with a computer monitor? Or did some code somewhere overlap with attributes that normally apply to clothing?

Whatever it was, the categories and filters on that site continue to degrade.

comment 3y ago · link · parent

https://twitter.com/elonmusk/status/1589414958508691456

comment 3y ago · link · parent

The chair doesn’t change just because the occupant is a physicist.

The reason is because they’re spherical frictionless scientists.

comment 3y ago · link · parent

Doesn't numeric storage save space and make indexing faster? (This is a naive question, I'm not asserting it.)

Yeah, numbers get you fun stuff like overflows and wrap-arounds, etc. But sorting is faster (sorting "99" before "100" is more complex than 99 before 100) and space requirement is lower (6 bytes can store a unique ID for 281 trillion objects, but 6 characters only permits 1 million if you're storing them as strings).

Or is there some datatype that combines the space- and sort-efficiency of a numeric type, but doesn't bring the baggage of assuming they represent quantities?

comment 3y ago · link · parent

As opposed to a neutral protocol not controlled by any one entity. Think of it like email or the telephone network, versus the various instant messaging silos.

comment 3y ago · link · parent

This isn't true. I use Zelle on my credit union's website. No app or phone required.

comment 3y ago · link · parent

That kind of phrasing is boilerplate for indictments. It's used even in the most nailed-down circumstances. Here's a bit from Zacarias Moussaoui's indictment for 9/11 [0]:

> On or about September 11, 2001, Saeed al-Ghamdi, Ahmed al-Nami, Ahmed al-Haznawi, and Ziad Jarrah hijacked United Airlines Flight 93, a Boeing 757, which had departed from Newark, New Jersey bound for San Francisco at approximately 8:00 a.m. After resistance by the passengers, Flight 93 crashed in Somerset County, Pennsylvania at approximately 10:10 a.m., killing all on board.

I mean, if they're being careful about the date of that, they'll do it for all dates. (Curiously, though, the very next paragraph in that indictment doesn't use the "on or about" qualifier.)

[0] https://www.justice.gov/archives/ag/indictment-zacarias-mous...

comment 3y ago · link · parent

Not only shitty, but opposite of how you'd expect. When a high-profile donor does a high-profile crime—and when they're certainly not going to be a fundraiser in the future—the recipient of those donations has a lot of motivation to distance themselves from the fraudster, to be harsher in their actions, to respond to pressure and sever any perceived ties.

comment 3y ago · link · parent

> "the prosecutor: but you said this on Twitter?"

> "SBF: I was no longer the CEO of FTX and I was just kidding".

Jury: "We don't buy it. Guilty"

1
192021
107