Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mjcohen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
mjcohen
3y ago
I got the original 13" M1 MPB and put some additional "buttons" on the touch bar. Sort of miss it on my 16" M1 MBP.
92.
▲
by
mjcohen
3y ago
Can't Use Devices (by) AMD
93.
▲
by
mjcohen
3y ago
I use an app called MonitorControl on a M1 16" MBP running Sonoma that adjusts both the MBP screen and external HP 25f monitor. It adjusts the brightness and contrast of whichever screen the cursor is in.
94.
▲
by
mjcohen
3y ago
You need to document everything you do.
95.
▲
by
mjcohen
3y ago
This is a version I haven't seen before of my favorite piece: https://www.youtube.com/watch?v=MzXoVo16pTg
96.
▲
by
mjcohen
3y ago
I guess that this somewhat contradicts Monsanto's real motto: Without chemicals, life itself would be unprofitable.
97.
▲
by
mjcohen
3y ago
Then again, you may get to work on something challenging like how to brick printers if they don't use your ink.
98.
▲
by
mjcohen
3y ago
Germany and Japan did not have anything in their constitutions advocating the destruction of the allies.
99.
▲
by
mjcohen
3y ago
I used Compuserve a lot. I remember, on a forum for a Casio handheld with Basic, telling of my discovery of undocumented POKE and PEEK commands, which caused much excitement. I wrote a memory dump routine using these. Ahh, the good old days
100.
▲
by
mjcohen
3y ago
A comment about ternarys: Nested ternarys can be quite readable if they are formatted like nested if-then-elses. Here's an example from some awk code I wrote about 15 years ago. vval = ((k > 1 \ ? substr(vval, 1, k
101.
▲
by
mjcohen
3y ago
It might be a worthwhile investment in self-preservation.
102.
▲
by
mjcohen
3y ago
An exponential curve is not a singularity; 1/(x-a) is as x goes to a.
103.
▲
by
mjcohen
3y ago
You assume that word and line are the same length. Haven't checked beyond that.
104.
▲
by
mjcohen
3y ago
This may be weird, but the main thing keeping me on my Galaxy S10e (and the Android phones earlier and Palm/Handspring even earlier) is the Note Everything app. I find this a very convenient app to keep text, photo, and voice notes in.
105.
▲
by
mjcohen
3y ago
I wrote this in a story of mine in 2012: I knew that the organization most often responsible for terrorist plots on American soil was the FBI, and I decided to take advantage of this.
106.
▲
by
mjcohen
3y ago
Works fine in Brave in MacOS 12.7.1.
107.
▲
by
mjcohen
3y ago
I have an Anker PowerConf 300 webcam which (on Mac or Windows) can go up to 115 degrees with the AnkerWork software.
108.
▲
by
mjcohen
3y ago
Any solution to a linear recurrence relation is exponentially bounded by the root(s) of the characteristic polynomial.
109.
▲
by
mjcohen
3y ago
Originally extensions were only 3 characters long.
110.
▲
by
mjcohen
3y ago
I got this package opener in 2007 from Amazon for $12. It has two parts - a retractable blade to start the cut in the plastic and a "nibbler" to work its way around the plastic. Still works. https://www.amazon.com/
111.
▲
by
mjcohen
3y ago
You might try a separate duplex scanner. Less than $200. There are a number of very compact ones. Connect with wi-fi or usb.
112.
▲
by
mjcohen
3y ago
For the new version of Opa, seems like you are reinventing COBOL: A COBOL program basically divided into the following four divisions: Identification division. Environment division. Data division. Procedure division.
113.
▲
by
mjcohen
3y ago
I long ago concluded that karma is bs. Just look at all the crooks and liars who hardly ever get punished and when they do its a slap on the wrist.
114.
▲
by
mjcohen
3y ago
Depends what you mean by larger. The example that occurs to me is the priblem of determining whether or not an integer is prime. This can be done relatively quickly for numbers of the form 2^p-1 where p is prime, but would take much longer
115.
▲
by
mjcohen
3y ago
Of course Western Digital has been having its own problems with ssd drives dying.
116.
▲
by
mjcohen
3y ago
Tried it, and you are right about experimental being gone. I tried signing into google and got a message about browser doesn't support Javascript. Gave up.
117.
▲
by
mjcohen
3y ago
Same thing on a Unix/Linux level: When using find, I always do it first with -print until I see the files I want. Only then do I add the actual action I want.
118.
▲
by
mjcohen
3y ago
The cross product does exists in any number or dimensions (at least 2). In n dimensions, the cross product of n-1 vectors is the determinant with the axis vectors as the first row and each of the n-1 vectors as the next rows. In 3 dimension
119.
▲
by
mjcohen
3y ago
That is also a good way to start an improv scene. Figure out later, if at all, what is really going on.
120.
▲
by
mjcohen
3y ago
The basic approximation I use is n! ~ (n/e)^n so ln(n!) ~ n(ln(n)-1). The basic inequality is (n/e)^n < n! < (n/e)^{n+1}. When considering convergence of series using the n-th root test, (n!)^{1/n} ~ n/e so ((
More ›