Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
twawaaay
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
691.
▲
by
twawaaay
4y ago
My kids play Minecraft but they are not allowed to join servers with strangers. I set up some servers where they have freedom to do what they want but the only people they are allowed to play with are their friends from school and family.
692.
▲
by
twawaaay
4y ago
Good point. Cache locality is another important reason that I should have mentioned. I have not run tests, but it may possibly be the most important reason of them all. In many linked data structures you can mitigate a lot of this problem.
693.
▲
by
twawaaay
4y ago
Being burned out is a real condition. And so is depression, chronic pains, tinnitus, and so on. Just because something is hard to ascertain doesn't mean it is not real. But there are various levels to being burned out or depressed. And
694.
▲
by
twawaaay
4y ago
When I was burned out I got hired into a large bank (think Citi, Credit Suisse, maybe not necessarily Goldman Sachs which has high standards). They have huge amount of backend. Super slow development filled with people who do not have large
695.
▲
by
twawaaay
4y ago
The question is "Can you program"? If the answer is "Yes", then stop watching TV, playing video games and lurking on the internet. Honestly, this will sound heartless, but if you can play video games you can also work. T
696.
▲
by
twawaaay
4y ago
You don't get to change the rules of the game while the game is being played. The original problem, as stated by me, was: "You are generating k random 64 bit integers. Each time you generate the integer, you have to insert it in a
697.
▲
by
twawaaay
4y ago
If that was on a very old operating system (think MS-DOS?) On new operating systems process address space is pieced together independently from physical space. So you can have contiguous, multi-GB array even if you don't have contiguou
698.
▲
by
twawaaay
4y ago
Please, read the question. It stipulates that elements are selected at random. You select k integers at random. Some of them might be inserted faster into linked list, but when you average it over k integers you will still be slower because
699.
▲
by
twawaaay
4y ago
> Are you claiming that it is faster in practice to insert an element at the beginning of an array with 1G items, than it is to insert it at the beginning of a linked list with 1G items? You missed that insertion point is selected at ran
700.
▲
by
twawaaay
4y ago
I am not sure how awesome it is. It looks like something you can stumble on your own by accident on a whiteboard on an interview and use successfully even if you don't know why it works exactly. Honestly, I always thought it is a commo
701.
▲
by
twawaaay
4y ago
Oh yeah, linear search I did a lot to the same consternation of other devs. The issue was the device was so low in memory (2MB of unified NV and flash for code, files and operating memory) that there simply did not exist enough space for a
702.
▲
by
twawaaay
4y ago
Well, it actually is kinda worse (or better, depends how you look at it). It is not necessarily +10000, it can also be something like x5000. Because CPUs really, really, really like working short, simple, predictable loops that traverse dat
703.
▲
by
twawaaay
4y ago
I actually used this algorithm a decade ago to implement a log-based, transactional database system for an embedded system with very low amount of memory and requirement that all memory be statically allocated. To the frustration of the res
704.
▲
by
twawaaay
4y ago
The startup I am working for has seen entire engineering fired after they hired a lot of people and spun an enormous amount of infrastructure, spent tons of cash and produced absolutely nothing useful to the company (presumably because they
705.
▲
by
twawaaay
4y ago
Sure we can. And it is surprisingly easy. Sound waves travel 300m every second. If you can get devices synchronised to 1ms (which isn't very difficult given very easy access to GPS which is orders of magnitude more accurate), you can t
706.
▲
by
twawaaay
4y ago
This is an old problem resulting from lack of education. People apply standard deviation without first learning that it only makes sense for data that has standard distribution. Standard deviation is a prediction and characterisation tool.
707.
▲
by
twawaaay
4y ago
> Trust doesn't matter in an unbalanced power dynamic. I am sorry you have never had a chance to work in a place where it did. > If your direct superior can punish you for disagreeing with you on anything, then it stands to reaso
708.
▲
by
twawaaay
4y ago
Simple. By market thinking it is $9M now but anticipating significant increase in the relatively near future.
709.
▲
by
twawaaay
4y ago
The problem isn't hierarchy, it is how managers are thinking it gives them power over their subordinates (it does not), that they are better than their team because they have been promoted (they are not), and it is how subordinates are
710.
▲
by
twawaaay
4y ago
Of course, and that is the point. How can we pay in proportion to the value a developer is creating if we can't even agree on what is valuable?
711.
▲
by
twawaaay
4y ago
Developer productivity specifically and knowledge work in general is extremely hard to measure. Not only that, it is also very subjective. What is valuable to one person might be a liability to another. Just the other day I looked at result
712.
▲
by
twawaaay
4y ago
F1 also bans cars that get a lot of downforce by traditional aero elements. For example, there is minimum required clearance between the track surface and any element that is not wheels, which severely limits downforce. Additionally, they h
713.
▲
by
twawaaay
4y ago
For me the eye opener is working with actual owners of the company that is profitable, is constantly growing, offers an honest product that is designed to provide maximum value to clients. We literally have no marketing and have to turn dow
714.
▲
by
twawaaay
4y ago
I believe these should be illegal, just as it is in F1. The basic problem with this concept is that if it ever stops working you are now driving way over the limit (not just a tiny bit) of what the car can handle and are unceremoniously thr
715.
▲
by
twawaaay
4y ago
Get couple lawsuits for individual pieces of code used without attribution and pretty much every large company will instantly ban Copilot from their development process.
716.
▲
by
twawaaay
4y ago
I lived in Sweden for a little bit, traveling around and into Norway and I can confirm this, at least partly. Where it is not true is in large cities. Small cities and rural areas are one of the safest places on Earth as long as you don
717.
▲
by
twawaaay
4y ago
I have been amateur EE and doing electronic repairs for fun for the past 2 decades. When stuff fails due to external stimulus (like a lightning or connecting it the wrong way) things fail in a typical pattern starting from the power inlet,
718.
▲
by
twawaaay
4y ago
Hate to break it to you, the terminals of CMOS battery are typically almost directly attached to a number of chips that are thousands of times more fragile than the battery itself. Essentially, you can't fry a CMOS battery with a trans
719.
▲
by
twawaaay
4y ago
It is not possible for a CMOS battery to get fried this way and the machine be still able to boot. For a CMOS battery to get "fried" a number of components would have to fail catastrophically. There are typically layers of protect
720.
▲
by
twawaaay
4y ago
I think the problem needs to be thought through separately for individuals and for organisations. For individuals -- yes, no-one knows what they are doing. Most people, including successful ones, are too embarrassed or insecure to admit thi
More ›