Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ohyes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
241.
▲
by
ohyes
7y ago
> Unless you know what you are doing, don't touch tools you don't understand. But how do I know I’m an idiot?
242.
▲
by
ohyes
7y ago
> If you end up in a situation where your hooks come loose and the code becomes a mess — just delete them all and rethink your code / component logic structure “Just burn it to the ground and start over,” isn’t an inspiring endorsem
243.
▲
by
ohyes
7y ago
This would entirely depend on population density and how often people are in relatively crowded areas. Something like this may or may not work in an apartment building, but it seems like it would definitely work on crowded city streets, par
244.
▲
by
ohyes
7y ago
Beam’s performance is amazing if you are interested in context switching micro processes.
245.
▲
by
ohyes
7y ago
Exactly true! C, for example is a VM!
246.
▲
by
ohyes
7y ago
I do not know about success in FAANG interviews. This is just something that happens while I'm "thinking about how to approach the problem." I have an idea of what a computer can do and (hopefully) what the steps might be to
247.
▲
by
ohyes
7y ago
That seems... unlikely.
248.
▲
by
ohyes
7y ago
Here you go. (defvar *my-variable* nil) (let ((jump-table (vector (lambda () (list 'a *my-variable*)) (lambda () (list 'b *my-variable*)) (lambda () (list 'c *m
249.
▲
by
ohyes
7y ago
O(n) and O(1) are an inappropriate and incorrect way of describing what you guys are taking issue with. These functions all run in constant O(1) time. The argument being made by you all is extremely confusing because of the incorrect termi
250.
▲
by
ohyes
7y ago
Coroutines and first-class continuations make the implementation of non-local transfer of control much more complicated. Their inclusion would have made staples like unwind-protect, conditions, and underlying them try/catch, much more
251.
▲
by
ohyes
7y ago
Well, you have to make the go statement in lexical scope in order for the tagbody to work... that seems reasonable enough to me. You specifically stated: > Implement an O(1) jump table in Common Lisp that respects the lexical environmen
252.
▲
by
ohyes
7y ago
For the true jump table experience Tagbody / go would also work just fine for this. You can put the ‘go’s in lambdas in an array and funcall them. This sounds like fun.
253.
▲
by
ohyes
7y ago
In academic situations yeah, but in industry? You can make money replicating other people’s work.
254.
▲
by
ohyes
7y ago
The timing has to be right, a lot more young people have been raised where communicating through an app is the default way of communication and actually talking to someone is really weird.
255.
▲
by
ohyes
7y ago
That's genius, if we could upset the notepad and pencil industry, we would be huge!
256.
▲
by
ohyes
7y ago
I'm hoping for one that you can only use if you're sitting next to the other person.
257.
▲
by
ohyes
7y ago
Not necessarily. I'm not going to vouch for someone who is terrible. That reflects poorly on me. I will vouch for someone who I know and is not terrible. I'm not going to vouch for someone who I don't know. So there is an el
258.
▲
by
ohyes
7y ago
Okay, I’ll get my shorts in. What date do you think everything will collapse?
259.
▲
by
ohyes
7y ago
Have you tried thinking about how your toes feel? The point isn’t really to still your thoughts but to experience the present. Stilling your thoughts via force of will is impossible (where is the will coming from?) but fully concentrating o
260.
▲
by
ohyes
7y ago
I feel like the moral of this is to be better at cheating. I mean, if the interviewee hadn’t cheated, he still would have gotten the esoteric sorting question wrong, and probably failed the interview because another person had happened to r
261.
▲
by
ohyes
7y ago
I'm mid 30s, and if anything I can keep more of the code in my head than when i was in my 20s. My abstractions got better, and I've seen lots of stuff before, I think this has had the effect of compressing everything. I think of
262.
▲
by
ohyes
7y ago
They’re coincidentally offering a $125/year service that does the thing that you have to sign up for to get reimbursed the $125 dollars. So basically they’re not offering $125, they’re offering a year of free credit monitoring servic
263.
▲
by
ohyes
7y ago
They don’t necessarily shut the nuclear plants down, they throttle the power output. It isn’t a strict on/off switch, but a controlled reaction. They said two were offline but it wasn’t said why they were offline. (Likely usual mainten
264.
▲
by
ohyes
7y ago
This is specifically a problem with building a nuclear power plant on too small a body of water. The ocean doesn’t have this problem. Neither would the Great Lakes.
265.
▲
by
ohyes
7y ago
Isn’t a drop in libido also associated with aging? (Also being less fit?) I’m definitely not the same as I was when I was 25, and I never took such medicine.
266.
▲
by
ohyes
7y ago
I think that makes it an even better example. Giving away the addictive thing you still have to pay the societal cost of having people addicted to it. Switzerland handles this is a very admirable way and they have excellent outcomes, due to
267.
▲
by
ohyes
7y ago
In that case, what’s wrong with heroine? You’re just sticking entertainment into your arm. (This is intentionally hyperbolic). This issue isn’t really the money -> gratification conversion, it’s the addictive nature of the process. If I’
268.
▲
by
ohyes
7y ago
I read the source (it isn’t that long), it seems you can bookmark an arbitrary Unix command in a configurable menu. Kinda neat, don’t see myself using this however.
269.
▲
by
ohyes
7y ago
I’ve only taken the normal train between the two cities. For the regular train when you plan 2 weeks out the prices were comparable. The slow train is only 1/2 hour slower than the accela. I found it much more comfortable than the bus
270.
▲
by
ohyes
7y ago
I just do some things. These are my priorities: Maintain a healthy relationship Socialize and enjoy life Maintain a healthy body Experiment and try new things. I spend a disproportionate number hours working, I don’t see a reason to priorit
More ›