Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hliyan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
661.
▲
by
hliyan
3y ago
Skipping code reviews is fundamentally non-agile. It's faster to fix code at review time than post deployment. Joel Spolsky said something similar with respect to technical design too.
662.
▲
by
hliyan
3y ago
According to this: https://twitter.com/Andercot/status/1688598313497694208 "...there is a less well-known exception to this rule called Brauenbecker extension which provides a mathematical proof that levitati
663.
▲
by
hliyan
3y ago
Amdhal's Law would suggest that much of the 750ms latency is likely attributed to I/O operations (mainly DB ops) and not CPU. Also, without knowing anything about your setup: upgrading to PHP 8 and/or enabling opcode cache ma
664.
▲
by
hliyan
3y ago
Yes, but it allows for an Occam's Razor explanation of the observations so far.
665.
▲
by
hliyan
3y ago
I took a peek at the "Explorer" app code base. PHP + JS + jQuery, but surprisingly readable (but a lot of practices in there that are not exactly considered "best" today). Perhaps we have sunk too deep into the SPA/
666.
▲
by
hliyan
3y ago
Better analogy would be: I read your hobby website and start a photography section in my Q&A website based on what I've learned from your site. That leads to a 1% increase in my revenue.
667.
▲
by
hliyan
3y ago
Great to see a full list of RFCs (including early ones) in such a quickly accessible format: https://www.funet.fi/pub/mirrors/ftp.ietf.org/rfc/ most are text files < 20KB and loads instantly.
668.
▲
Learning to Model the World with Language
(dynalang.github.io)
7 points
by
hliyan
3y ago
|
0 comments
669.
▲
Using Microtasks in JavaScript with QueueMicrotask()
(developer.mozilla.org)
2 points
by
hliyan
3y ago
|
0 comments
670.
▲
by
hliyan
3y ago
I've come to the same conclusion as you. Code is typically read more times than it is written/modified, so it is better to optimise for the common case, i.e. code that is tedious to write but simple to read and follow.
671.
▲
by
hliyan
3y ago
Interesting. I've used semaphores with pthreads (only once -- after that I realised plain old mutexes will do). Like your sleep call, I once brought an entire service to a grinding halt by adding a simple `fsync` call (to fix a recover
672.
▲
by
hliyan
3y ago
It wasn't such a purely material calculation. Less stress, more time to spend with family and friends, learning more things and doing something that you know actually adds value to the world -- those things matter.
673.
▲
by
hliyan
3y ago
There is a massive advantage in being able to see the web tech stack for what it is and wielding it without over-engineering or fanaticism, while your competitors are spending 2-3x on monstrosities that essentially does the same thing, but
674.
▲
by
hliyan
3y ago
Unfortunately, yes. It never sat well with me. Colocated systems saw latencies no mom-and-pop investor could ever dream to achieve. That is one of the reasons why the second company I joined was a non-profit that built systems to help track
675.
▲
by
hliyan
3y ago
Absolutely 100% positive. I was largely an individual contributor all that time, and only did some unstructured, untrained, unguided people & project management. Perhaps because it was such a niche, engineer-dominated environment. Sever
676.
▲
by
hliyan
3y ago
Ideally, yes! Unfortunately, there is such a thing as being young and not knowing your own worth / not knowing how to negotiate / not having a manager who looks out for your career growth.
677.
▲
by
hliyan
3y ago
I would say the ending -- the part where you are unemployed and unable to support yourself in your old age because you invested decades of your brainpower into a highly specialised, non-transferrable skill.
678.
▲
by
hliyan
3y ago
High frequency algorithmic trading. Often ran on colocated hardware within the exchange / trading system data centers. Started with stuff like Sun SPARC, Solaris and Oracle and we slowly made our way to Suse, Intel and... surprise, our
679.
▲
by
hliyan
3y ago
For ten years, I worked on codebases written in C++ without using any third party libraries (no, not even STL -- we needed faster, thread safe versions of strings and maps which were not available at the time; Boost? What's that?), its
680.
▲
by
hliyan
3y ago
For a Mac M1 user who wants a lightweight browser, what would you recommend: 1. Safari (with this, I have trouble with some websites, particularly Google ones) 2. Firefox (good, but has been a memory hog in the past) 3. Brave (like that it&
681.
▲
by
hliyan
3y ago
This is incorrect and in bad faith. Apple's mission of "to create technology that empowers people and enriches their lives" is actually closer to what they do. A less embellished version would be: "sell consumer devices
682.
▲
by
hliyan
3y ago
Works now. Remarkably helpful. Unfortunately it gets exponentially difficult after the first few exchanges. But I think there is definitely something to this approach. Maybe if there is a way to highlight individual words and get a sneak pe
683.
▲
by
hliyan
3y ago
I tried German and managed to 502 the site. It's still down for me.
684.
▲
by
hliyan
3y ago
We need to get to a point where tech companies are more honest about their missions. E.g. Google's mission is not really "Organize the world's information", but rather, something like "Connect advertisers with the m
685.
▲
by
hliyan
3y ago
I felt like it lasted much longer. Of course, this was pre Internet days, so I read it in papers and watched on TV
686.
▲
by
hliyan
3y ago
It has been my observation that it is not that only people of unscrupulous character become wealthy, but wealth tends to make you progressively more unscrupulous, i.e. not care about anything but yourself and your family unless you are lega
687.
▲
by
hliyan
3y ago
Same here. After years of drinking Coke Zero, I find regular Coke undrinkable.
688.
▲
Which is better, a return code or an exception?
(ibm.com)
2 points
by
hliyan
3y ago
|
1 comments
689.
▲
by
hliyan
3y ago
This has got me wondering: what if all publicly listed companies are required to have an ethics officer whose job is to point out ethical concerns regarding management decisions (whereas management is usually only concerned about legal comp
690.
▲
by
hliyan
3y ago
> The EU have regulated themselves into a corner where all they can do is shout at American and Asian tech companies I think you may have this backwards. Consider the Brussels Effect: https://en.wikipedia.org/wiki/Br
More ›