Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rcfox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
301.
▲
by
rcfox
8y ago
I don't agree that "basic Linux knowledge" requires knowing which commands have different versions. You can be intimately familiar with the Linux kernel and never step outside of the GNU environment. I've never used OSX,
302.
▲
by
rcfox
8y ago
I doubt most people even know that there are different versions. (I didn't!)
303.
▲
by
rcfox
8y ago
What about Typescript clicked for you that didn't click with the Closure Compiler?
304.
▲
by
rcfox
8y ago
`const testVar = {}` doesn't mean that the object is immutable, it means that testVar will never point to something else.
305.
▲
by
rcfox
8y ago
Yes. You'd want to guard against this running more then once, probably by disabling the button until the submit finished.
306.
▲
by
rcfox
8y ago
`await` is essentially syntactic sugar that means "wrap everything after this in a callback to be executed after this function does something asynchronously."
307.
▲
by
rcfox
8y ago
You could have been more generous and assumed they meant `succ = await submitForm();`
308.
▲
by
rcfox
8y ago
I always assumed that was a free service for YC companies.
309.
▲
by
rcfox
8y ago
I use it all the time. If my program crashes, I swap `python foo.py` with `ipython --pdb -- foo.py` and it will drop me into an ipython session at the exception so that I can inspect variables and the backtrace. Also, if I want to pause at
310.
▲
by
rcfox
8y ago
Microsoft did have a PerlScript ActiveX engine, similar to JScript and VBScript, but I don't think it was used with IE.
311.
▲
by
rcfox
8y ago
If you're not depressed about some of the code you've written, it might be time to take bigger risks.
312.
▲
by
rcfox
8y ago
I had no idea tramp-mode supported docker, that's amazing. FYI: You can set it up to use the container names: M-x customize-variable docker-tramp-use-names
313.
▲
by
rcfox
8y ago
"Sanctioned" is a weird word, meaning both "approved" and "punished". I always have to look extra hard at it...
314.
▲
by
rcfox
8y ago
Python: https://docs.python.org/3.7/library/copy.html#copy.deepcopy
315.
▲
by
rcfox
8y ago
Sorry, I switched set and unordered set in my mind. Still, a generic hash table isn't going to match a tailored data structure.
316.
▲
by
rcfox
8y ago
So you ended up using a tree to hold your tree nodes. I guess that was good enough for your purpose, but the article is discussing an optimized implementation.
317.
▲
by
rcfox
8y ago
I have a similar email address, and I get emails for three or four people with the same name as me. I get wedding invitations, tax documents, job application responses, even a grad school application response once! I can only assume there a
318.
▲
by
rcfox
8y ago
I wonder if the person who bought it will sue for damages when the AI program is inevitably used to spit out millions of similar portraits on demand.
319.
▲
by
rcfox
8y ago
What does GA mean? The article uses it a few times but doesn't define it.
320.
▲
by
rcfox
8y ago
Language barriers can be exclusionary, but they're not discriminatory. Anglophone project owners don't not work with non-English speakers because they hate other languages, they just can't understand them. Nobody's at fa
321.
▲
by
rcfox
8y ago
Have you tried using a print media stylesheet? You could hide the navigation, reduce the whitespace, maybe shrink the font size a little bit, and remove link text decoration.
322.
▲
by
rcfox
8y ago
For me, when I load the page, I see a resume display and then a split second later it's all replaced with "AN UNEXPECTED ERROR HAS OCCURRED." Is the error so critical that it must hide your content? Did it accidentally includ
323.
▲
by
rcfox
8y ago
The system is the sum of the parts. Once, while investigating the cause of occasional bursts of static in audio, I eventually narrowed it down to misconfigured pull-down resistors on the ADC data lines. (Okay, not quite silicon.) EEC memory
324.
▲
by
rcfox
8y ago
I think your "correct" bozo sort example from earlier shows that there is a finite number of states (all of the permutations of the input array), just an unbounded number of state transitions. I think for something like this, you
325.
▲
by
rcfox
8y ago
Do you have a better source than "an anonymous lecturer once said..."? I've never heard such a strict definition of algorithm before. Randomized algorithms are often used to avoid falling into worst-case scenarios and improve
326.
▲
by
rcfox
8y ago
That's a reasonable answer. Of course, the follow-up question is going to be: Randomize a list that doesn't fit into memory.
327.
▲
by
rcfox
8y ago
Looking at the documentation, I got the impression that you give them Dockerfiles that they will run on GitHub servers for up to an hour at a time. Seems like this would be pretty easy to abuse, and I was able to sign up with my free accoun
328.
▲
by
rcfox
8y ago
Oh, nice. We use RBush quite extensively in Upverter, and there are a few places where we build static trees to query. I'll have to try using this and see if it improves performance.
329.
▲
by
rcfox
8y ago
The article is about making a local client in HTML/Javascript for a program doing the heavy lifting in Python. I feel like your response is just a knee-jerk reaction to seeing the work "websockets".
330.
▲
by
rcfox
8y ago
You have to try pretty hard to get bad connectivity to localhost though...
More ›