Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zingermc
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
zingermc
6y ago
Wow, does this apply to Covid tests?
2.
▲
by
zingermc
6y ago
Don't feed the troll.
3.
▲
by
zingermc
6y ago
If the messages are encrypted at rest on your phone, it seems reasonable to expect the same of backups on the server.
4.
▲
by
zingermc
6y ago
Yes, at least for Levenshtein-style edits (substitution, insertion, deletion). Although, I suppose a spell checker algorithm would be O(mnd) where d is the size of the dictionary, because it needs to compute O(mn) edit distance for each of
5.
▲
by
zingermc
6y ago
> Let me tell you folks. Writing spaghetti code with no separation of concerns and no version control is not exclusive to php Yowza. If I can give you some unsolicited advice: get some kind of version control in place! Even if it's
6.
▲
by
zingermc
6y ago
Hilariously, ColdFusion strikes again. I should have used pound signs around the bad_memories variable. The above code would dump the string "bad_memories". Corrected: <cfdump var="#bad_memories#"/>
7.
▲
by
zingermc
6y ago
<cfdump var="bad_memories"/>
8.
▲
by
zingermc
6y ago
Reminds me of CRN++, the molecular programming language. https://arxiv.org/abs/1809.07430
9.
▲
by
zingermc
6y ago
AFAIK it has nothing to do with physical disability. The word has a lot of meanings: https://en.wikipedia.org/wiki/Gimp
10.
▲
by
zingermc
6y ago
There does appear to be ARM64 assembly in Go's crypto code, but perhaps it's suboptimal for M1. Or perhaps there's a build config issue, and the assembly isn't being used. Just my speculation, though. I haven't look
11.
▲
by
zingermc
6y ago
I've definitely been the victim of my own git hubris. Once, when leaving a job, I decided to copy all of my local WIP branches to the server. I whipped out this fancy --mirror option I had just heard of: git push --mirror $remote
12.
▲
by
zingermc
6y ago
Yeah, sounds like an O(n) sort to me.
13.
▲
by
zingermc
6y ago
Keep in mind the adage "you get what you measure". If you optimize for CTR, you are not necessarily optimizing for user satisfaction/loyalty. Case in point: Netflix's auto-play feature used to drive me bonkers, so much t
14.
▲
by
zingermc
6y ago
By "positive response", are you saying that human "from" names yield a higher click-through rate?
15.
▲
by
zingermc
6y ago
void DocumentScribbler.scribble(String s)
16.
▲
by
zingermc
6y ago
> So, I should never drive? > The bad thing about it is I usually don't realize that I'm getting sleepy until after I've dozed off once. I'm not trying to be rude, but this sounds reckless. You absolutely should no
17.
▲
by
zingermc
6y ago
Does the policy disallow Oxford commas?
18.
▲
by
zingermc
6y ago
I'm hopeful it's a startup that sells only the tops of muffins.
19.
▲
by
zingermc
6y ago
"Factor X may contribute to low cognitive function and cannabis use."
20.
▲
by
zingermc
6y ago
I think you can click the compass to switch between these modes.
21.
▲
by
zingermc
6y ago
Your comment made me dig in a little more. I was wrong, it is only fetching the current tab, although it wouldn't need more permissions to see all the tabs. In popup.js[1]: chrome.tabs.query({active:true,currentWindow:true}, func
22.
▲
by
zingermc
6y ago
I feel compelled to point out that this extension sends the URLs of all open tabs to algolia.com when you click the extension (at least on Chrome). I would much prefer if it only looked up the current tab. A more private design might fetc
23.
▲
by
zingermc
6y ago
The beautiful part is that they may have no idea which IP address corresponds to your email until you click a unique link in the phishing email (or load a tracking pixel?).
24.
▲
by
zingermc
6y ago
Awesome! Unguessable auth is the answer. You could even have the server generate a uuid token and have the user paste it into the browser extension.
25.
▲
by
zingermc
6y ago
To follow up: the solution is that the localhost server needs to make sure each API call is authorized (if you aren't already). This means there must be a login/setup step. An API call can't be considered authorized just beca
26.
▲
by
zingermc
6y ago
Unfortunately, CORS isn't a magic bullet. Suppose a site named evil.example adds a script tag pointing to http://localhost:1234/promnesia.js and a victim loads evil.example. If your JS updates a DOM element with info f
27.
▲
by
zingermc
6y ago
Does promnesia server run a local HTTP server? How do you prevent a website from slurping up the entire database?
28.
▲
by
zingermc
6y ago
I read that sentence 10 times. Wow.
29.
▲
by
zingermc
6y ago
Android, Maps, Chrome?
30.
▲
by
zingermc
6y ago
The important thing is that the `x` number of years requirement is a function of the role, not of the applicant's age.
More ›