Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vishbar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
vishbar
10y ago
> There is an argument that Ruby is mostly LISP, so it could be said that lots of people use it very happily everyday. How is that? I thought Lisp's "killer app" was its extremely powerful macroing system. Does Ruby have a
32.
▲
by
vishbar
10y ago
I have what is probably a silly question. When you have an idea or something you want to mass-produce, what do you actually do? Is there some website that you can upload your design to, then receive quotes from factories that agree to manuf
33.
▲
by
vishbar
10y ago
> Microsoft has been open-sourcing a lot lately, but it seems to be mostly "peripheral" software... How is .NET Core peripheral software? If anything it enables developers with C# codebases to move away from Microsoft's
34.
▲
by
vishbar
10y ago
Really interesting how it spikes on weekends! I wonder if this is because more home broadband connections are ipv6-enabled compared to businesses?
35.
▲
by
vishbar
10y ago
This seems more like a limited-lifetime side project rather than an actual viable startup. I've used MongoDB for situations like this where I just need to stuff some simple data into a datastore and retrieve it later without any partic
36.
▲
by
vishbar
10y ago
Well yeah, Node processes run a single thread (of user code). There's no concurrency there. Go and Java will use all available cores of the system. A better (and likely more realistic) comparison would be to actually hit the database:
37.
▲
by
vishbar
10y ago
The "canonical" implementation of IDisposable includes a finalizer. As you said, that's the only time I've seen it used. Adding finalizers to classes has performance implications as well as the CLR will add any object wi
38.
▲
by
vishbar
10y ago
It was definitely an option for AIM, and I believe it was an optional plugin rather than a default feature. I remember freaking out friends in high school :-)
39.
▲
by
vishbar
11y ago
Go isn't just a threaded concurrency model, it uses an M:N greenthreads pattern. Also, when you say that Go I/O operations are blocking, it is true that they'll logically block a goroutine. However, under the hood, it uses th
40.
▲
by
vishbar
11y ago
It doesn't even implement IIntegerOperation!
41.
▲
by
vishbar
11y ago
True. Generating collisions is doable, but a.) and b.) are still huge constraints that make it orders of magnitude more difficult.
42.
▲
by
vishbar
11y ago
I'd imagine it would be nearly impossible to generate a collision that a.) does what you want, b.) is small enough to be unobtrusive, and c.) can be discovered in finite time with the computing power reasonably available to NSA/GC
43.
▲
by
vishbar
11y ago
It seems like the "strategy" here would be 1.) submit a bid of $3000, and 2.) have a friend submit a bid at $1. The bidding closes, your friend intentionally sandbags the project, then you complete the project at $3k.
44.
▲
by
vishbar
11y ago
Noun-verbers are also really helpful for testability, not just refactoring. Using a decent mocking framework (or just rolling some custom mocks) I can test almost all my business logic through unit tests, reducing the time that tests need t
45.
▲
by
vishbar
11y ago
My bank, Capital One 360, has something like this. You can give a read-only access token to an external service and change/disable it at will.
46.
▲
by
vishbar
12y ago
This may be a silly question, but when it's said that these are not in a "stable orbit", what is the mechanism of decay? I'd imagine if they were in an elliptical orbit, they'd simply continue that way forever in a
47.
▲
by
vishbar
12y ago
That's probably the reason. Those are all rather niche markets. Stick "ASP.NET MVC" in your resume or on your LinkedIn and you'll get swamped.
48.
▲
by
vishbar
12y ago
F# has a similar concept via the with statement. To use your example: type point = { x: int; y:int} let z = {x = 5; y = 10} let y = {z with x = 17}