Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
singron
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
541.
▲
by
singron
5y ago
I'm not aware if this exact idea, but dependency injection frameworks have a similar concept where the parameter order doesn't matter and the framework figures out the right order when it calls functions based on the types. It
542.
▲
by
singron
5y ago
Not a lawyer. A copyright license is a written agreement not dissimilar from a contract. However, validating the contract usually doesn't come up, because the violator needs the agreement to be valid to avoid copyright infringement. &g
543.
▲
by
singron
5y ago
School job boards are notoriously bad. Schools like to advertise the value of their networks, but the value is usually overstated and only in specific channels. Job fairs are usually the best way to be recruited through your school. Compani
544.
▲
by
singron
5y ago
If the old versions of records stay where they are, they will start to dominate heap pages and lead to a kind of heap fragmentation. If the records are still indexed, then they will create an enormous index bloat. Both of these will make ca
545.
▲
by
singron
5y ago
I don't think a disagree. I think this is exactly what makes this so tricky. On the consumer side, users have a choice, pick their favorite, occasionally switch when they buy a new phone, and are generally content. However on the suppl
546.
▲
by
singron
5y ago
I think there is a big difference in that there are only 2 mobile OSes and users stick with the same one for years. Imagine there were only 2 restaurants and 99% of people went exclusively to the same one every day for years.
547.
▲
by
singron
5y ago
You can also print documents at staples that you email to an address. They reply with a 24 hour code that you can type into the printer. I'd love a service that would mail you the documents back in an envelope and was still as cheap ($
548.
▲
by
singron
5y ago
Reflinks on CoW filesystems are also good for that (along with native features like snapshotting, which are sort of a reflinks of a directory).
549.
▲
by
singron
5y ago
This is really orthogonal to SRE. Google, in many ways, prefers centralized infrastructure. They invest in a few ways of doing things and integrate them all together. Devs have a few tools/libraries/services etc. to pick from and
550.
▲
by
singron
5y ago
If the inheritor somehow has no capital gain, shouldn't the entire basis be taxed as income instead? E.g. if I win a car in a contest or get paid in stock for working, I have to pay income tax on the current value when I receive it.
551.
▲
by
singron
5y ago
The baby boomer generation spans 20 years of birthdays. The youngest boomers will turn 80 in 2044. Just because we know about a problem for decades doesn't mean it goes away automatically.
552.
▲
by
singron
5y ago
Would you apply to a job with that salary range?
553.
▲
by
singron
5y ago
On a GPU you could do a parallel n-ary search. I.e. instead of making 1 test in the center, make n tests. E.g. 1 round of 32-ary search should be equivalent of 5 rounds of binary search. Not only do you avoid the branch predictor, but the m
554.
▲
by
singron
5y ago
Xoogler here. Google has been doing remote-work from the office for years. The campuses are so big and have so many buildings that meetings are often held over VC anyway so people don't have to walk back and forth. I occasionally had V
555.
▲
by
singron
5y ago
Having used Monarch at Google (basically an explicit relational algebra for a query language), the fixed-function query "language" for DataDog is truly sad. It seems that prometheus made similar mistakes to borgmon in terms of des
556.
▲
by
singron
6y ago
The loss of the wash sale is added to the basis of the next purchase. You would still be taxed on a gain of $100 in that scenario. The nasty case is if you buy X at $100, sell at $1000, buy at $1000, wash sell at $100, then buy at $100. You
557.
▲
Encouraging Inclusive Code with RuboCop
(flexport.engineering)
3 points
by
singron
6y ago
|
1 comments
558.
▲
by
singron
6y ago
TL;DW Very liberal mortgage policy that encourages very low or negative wealth on the low end, and very old money that remains concentrated despite recent income equality.
559.
▲
by
singron
6y ago
I think the labor has also required less skill over time or at least compared to other companies. Google has very uniform custom hardware. Usually they only produce a few configurations of a particular platform at any time, and there may on
560.
▲
by
singron
6y ago
He also runs independent subscriptions and chat on destiny.gg, his custom open-source website. I think his subs might have predated (2013) the general launch of twitch subscriptions (can't find the year), although some partners like da
561.
▲
by
singron
6y ago
Timestamptz doesn't store a time zone in postgres. It converts all timestamps to utc. It's a common misconception.
562.
▲
by
singron
6y ago
A lot of math is based on word problems and has ambiguities from language. E.g. "Alice gives Bob half her apples and Bob gives Alice half his apples". The number of apples each of them has depends on whether the actions were simul
563.
▲
by
singron
6y ago
One problem is that it encourages using items with negative sales tax for other purposes with value lower than the true cost (i.e. it can induce inefficient demand). There are similar issues in agriculture subsidies and price regulation. E.
564.
▲
by
singron
6y ago
Income tax itself isn't the complicated part of taxes. I encourage everyone to do their own taxes by hand sometime. There are like 4 boxes for wage income and income tax, and 100s of boxes for everything else. And besides the boxes you
565.
▲
by
singron
6y ago
The headline sounds a little more exciting than it really is. Debt before this year was already at 320% of GDP. It's also important to remember that GDP is an annual number ($/year) whereas the debt number includes accumulated de
566.
▲
by
singron
6y ago
Employee options must be granted with a strike price at the current fair market value, which means they aren't worth anything the day they are granted. For private companies, that fair market value is decided by the board, who may be i
567.
▲
by
singron
6y ago
Google found that the main cost of context switching isn't really in the syscall boundary but in the task scheduling. That's why their linux fork has optional userspace scheduling of kernel threads with the switchto syscalls[0]. E
568.
▲
by
singron
6y ago
Have you tried ydotool?
569.
▲
by
singron
6y ago
1 mostly applies to update heavy tables since index only scans use the visibility map, which would be frequently invalidated. 3 is definitely true, especially the larger the table. I've had success splitting frequently updated columns
570.
▲
by
singron
6y ago
I've used nix to cross compile, and I recommend it if you can bother to learn it. It's straightforward if you want to deploy using nix/NixOS, but you can also adapt it to create portable deployables. E.g. I cross-compile a mi
More ›