Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
harikb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
301.
▲
by
harikb
6y ago
Future generations will look back at us and wonder - 'Wait, they called it NoSQL? why couldn't they come up with a better name to denote what it does do, instead of what it doesn't do'
302.
▲
by
harikb
6y ago
> Each iteration of the loop body is a separate scope. Thanks for the correction. You are right. I wasn’t thinking straight.
303.
▲
by
harikb
6y ago
What I meant was if I am Go developer and I write for /* whatever */ { fp = os.open(x) // imagine file open defer fp.close() fp.read() } This is wrong. Go linter might tell you it is
304.
▲
by
harikb
6y ago
Came here to note this exact difference with respect to finally Consider this code fp = os.open(x) // imagine file open defer fp.close() fp.read() With defer, one would think I can simply wrap this in a for-loop i
305.
▲
by
harikb
6y ago
I thought news sites maintained their own pages and followers on Facebook. How does your analogy account for that?
306.
▲
by
harikb
6y ago
Static data, cacheable by a CDN, by definition cannot have any personalized content - activity from your connections. Sure, they can have a generic welcome page, but that is about it. Moreover, anything complicated that activates only once
307.
▲
by
harikb
6y ago
Your signup page asks for a certain $$ commitment. Do we need to pay the yearly fee right away. I would prefer to try it first.
308.
▲
by
harikb
6y ago
> Quite possibly a better option than a tow truck If they can get it down to 10 minutes, then yes, the wait time is better than load, attach, tow, detach sequence
309.
▲
by
harikb
6y ago
If the only vulnerability that was exploited was an unsuspecting user installing a software they thought was clean, it should just be classified as "30K macs have compromised software installed on them"
310.
▲
by
harikb
6y ago
What comes handy is this [1] link, but I will update if I get any better links or others might chime in. [1] https://blog.golang.org/pipelines It is a very long doc, but that also shows that concurrency has so many patterns
311.
▲
by
harikb
6y ago
Does Ruby track that a list is already sorted? If not, you are still adding cognitive overhead for the programmer to track it
312.
▲
by
harikb
6y ago
Going by their first example, the fact that I couldn't write list.delete(value) without realizing it involves a linear search is considered one of the benefits of Go. That said, I agree Go could use a bit for ergonomic and hand
313.
▲
by
harikb
6y ago
> so the value to power usage ratio gets better and better over time. Don't you mean reverse?
314.
▲
by
harikb
6y ago
Freemium models as well as services being in free to get market share is also a model other companies have also done in the past. Granted this is something that should be slightly regulated. Companies must be forced to give N months notice
315.
▲
by
harikb
6y ago
We have to give credit to Google for funding amazing performance work with Chromium/v8 as well as things like project zero. v8 Sandboxes, isolates - powers many edge worker models like those at Cloudflare, Fastly, and even entire node.
316.
▲
by
harikb
6y ago
The thing most people forget about options & RSU is that one is taking away a big chunk of the TC and delay it to a future year. Even when you hate your job, you will be hesitant to leave the company because of FOMO and sunk cost fallac
317.
▲
by
harikb
6y ago
What you need to worry about being tightly integrated with Apple is not a hacker getting your data - it is being stuck with you or your surviving family not having access to your own data. This is my primary worry about walled gardens suc
318.
▲
by
harikb
6y ago
> maybe they should stop doing business deals with a company that's actively hostile to them Remember, at one point they were considered a monopoly on PC operating systems. It is not like PC vendors had an option. Not signing on to
319.
▲
by
harikb
6y ago
Other languages have solved it using better methods. 1. Declare another function with same name and make the older function a wrapper with a default for new argument 2. Support for an explicit default argument Either of these would have pre
320.
▲
by
harikb
6y ago
Not just that it is blank, it is expected that certain things that you fill match what they already know. It is more like a test, where you get nothing if you answer correctly and penalty if you make a mistake. Note: IRS does provide a wa
321.
▲
by
harikb
6y ago
Looking at their illustrations reminds me of Tetris. I guess it is just like in Tetris - we need the right mix of vertical, horizontal, and T shaped pieces or we are screwed!
322.
▲
by
harikb
6y ago
polling is only explained as a logical thing. In reality the given task is only marked to be woken up later. The later being some other point, while the same OS thread executing something else, when the executor determines that the idling t
323.
▲
by
harikb
6y ago
Keep in mind that a new async task doesn't create a new thread. So yes, "not creating a new thread" is 3x faster than "creating a thread". If the app layer can context switch using language level constructs, and do
324.
▲
by
harikb
6y ago
I think both of you agree on this one - once it is too expensive to transact, it will be a permanent store of value ;p
325.
▲
by
harikb
6y ago
+1. Even if it did, in one case (aws), the product’s success is entirely dependent on success of other companies (for better or worse) and the multiples/margins are also different.
326.
▲
by
harikb
6y ago
Can you describe what 'diagrams as code' mean? I don't mind images, just wondering if Github would make it easier to generate those. Something like the syntax of web-sequence/uml but not limited to data-flows and somethi
327.
▲
by
harikb
6y ago
Any word on supporting diagrams inside GitHub flavored markdown?
328.
▲
by
harikb
6y ago
When you share your screen in Zoom/Hangouts/whatever, the monitor boundary is nice to isolate stuff. This is of course because Zoom doesn’t let me “add” n app to existing share after having selected a single app - nothing that can
329.
▲
by
harikb
6y ago
Very interesting indeed.. > The stock borrow programme at the DTCC, they allege, enables the naked shorting of shares to the extent that the number of shares in circulation of some companies is now several times in excess of that issued.
330.
▲
by
harikb
6y ago
The main take away is that there is advancement for global scientific community by having a significant portion of the smart people migrate to one part of the world and collaborate. What is not discussed 1. The fact that it happens a to be
More ›