15,501 karma · joined Jan 22, 2011 (15y ago) · 3,183 submissions
comment 3y ago · link · parent
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
#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
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
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
comment 3y ago · link · parent
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
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
But it must be smaller than the number of bugs that exist in code read by a smaller group.
comment 3y ago · link · parent
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
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
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
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
https://www.nbcnews.com/tech/social-media/twitter-strikes-de...
comment 3y ago · link · parent
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
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
> 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