Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
maxk42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
301.
▲
by
maxk42
5y ago
It was just an indentation typo. Swap check should be one level higher.
302.
▲
by
maxk42
5y ago
Because I have a need to optimize: // Given array a[1], ..., a[n] for i = 1 to n - 1: swapped = false for j = i + 1 to n: if a[i] > a[j]: swapped = true
303.
▲
by
maxk42
5y ago
Reminds me of the time I spent ten days building a memory allocator based on a red-black tree to optimize lookup times for an interpreter that needed to be fast. When I compared its performance against a linear search, it failed miserably.
304.
▲
by
maxk42
5y ago
I worked for one of the "bad actors" that was terminated by Cloudflare. To this day they have not provided anyone with a reason for the termination. To my knowledge, the site in question was not breaking any terms of service and
305.
▲
by
maxk42
5y ago
Implicit overflow is how your processor works. Until that changes it will always be appropriate in some programming languages.
306.
▲
by
maxk42
5y ago
Actually, this is normal in the container shipping industry. Oversupply is the very likely result of this within 24 months. (Likely very much less.). Most of the oversupply typically comes from recycled ships and not new manufacturing. Ho
307.
▲
by
maxk42
5y ago
Not quite true. Although very wealthy people could afford to pay a high price for fuel for frivolous reasons, most people (even the wealthy) would tend to avoid doing so. So if a middle-class person were planning on using fuel to go on a
308.
▲
by
maxk42
5y ago
In order to help the people that need fuel the most the price of fuel should be increased. It's a basic self-healing mechanism.
309.
▲
by
maxk42
5y ago
"Distributed" teams are teams where everyone works remotely whereas "remote" roles may include those where some workers are in an office together. It's an important distinction.
310.
▲
by
maxk42
5y ago
The way he presented it there's a 50% chance that opening another door reveals a goat. I've of the other doors will always contain a goat The key piece of information that is merely implied by the Monty Hall problem but not e
311.
▲
by
maxk42
5y ago
Or rebrand it the 5-ouncer. 5oz being juuuust below a third of a pound, but still more than a quarter pound.
312.
▲
by
maxk42
5y ago
I like this - the hash function is memory-based rather than CPU-based so it's easier on your CPU while being more costly for attackers to spoof en masse. Good thinking!
313.
▲
by
maxk42
5y ago
Couldn't reply to this comment - but sure enough, the permalink gives me the option. Thank you for the info!
314.
▲
by
maxk42
5y ago
Actually, my reply was to Folcon. HN simply doesn't allow you to reply to comments beyond a certain depth sometimes. Perhaps mods have the ability to extend this for active discussions and that's why I can reply now?
315.
▲
by
maxk42
5y ago
Then you're not doing a fresh load of the page. There are over 30 images visible on the front page, so your measure doesn't pass the smell test, does it?
316.
▲
by
maxk42
5y ago
Bash scripts and cron. Automatic alerts go out to devs via OpsGenie when resource availability drops so we can get out ahead of it. 0 seconds of downtime in the past 12 months.
317.
▲
by
maxk42
5y ago
(1) Simple beats complex. (2) You can spend weeks building complex infrastructure or caching systems only to find out that some fixed C in your equation was larger than your overhead savings. In other words: Measure everything. In other o
318.
▲
by
maxk42
5y ago
> the JS fragments thankfully should load only on first visit and then get aggressively cached by DDG/your browser According to Alexa you have a 46.4% bounce rate. [1] When 46% of your users aren't coming back, how does 31 rou
319.
▲
by
maxk42
5y ago
My approach to what?
320.
▲
by
maxk42
5y ago
lol > In general the less moving parts you have in a system the more reliable, secure, efficient and cheaper the system becomes. 100% agreed. This is not my first high-traffic site, nor even the highest. (I built the analytics system f
321.
▲
by
maxk42
5y ago
I run an Alexa top-2000 website. (Mangadex is presently at about 6000.) I spend less than $250 a month. I have loads and loads of thoughts about what they could be doing differently to reduce their costs but I'll just say that the nu
322.
▲
by
maxk42
5y ago
Veterans don't tend to be wealthy. It's like saying "Nevada cops use civil forfeiture to steal a teacher's life savings"
323.
▲
by
maxk42
5y ago
I think what we're seeing is the large proportion of the workforce that can get by on one income rather than two doing so. Many, many workers are working for non-economic reasons. Retired people work for exercise and social interactio
324.
▲
by
maxk42
5y ago
Sextoy.com was a 1-person company for many years. They probably broke ten million in annual revenues before hiring their first employee. So was plentyoffish.
325.
▲
by
maxk42
5y ago
I had the same problem with DDG. I use Bing now. It may not be as ideal as DDG, but it's not Google and I seldom have difficulty finding what I'm searching for.
326.
▲
by
maxk42
5y ago
It's not baseless. China is full of a new class of wealthy people who can have their property or wealth confiscated by the state at any time. They also know that won't happen in foreign real estate and as a bonus it affords thei
327.
▲
by
maxk42
5y ago
Walk-in clinics are affordable and frequently faster than urgent care.
328.
▲
by
maxk42
5y ago
Pure speculation here, but we may be overlooking some mechanical mechanism in the obesity epidemic: Could it be that simply consuming a larger percentage of foods containing ingredients made of powders and pastes which are easy to mass-prod
329.
▲
by
maxk42
5y ago
That's what they're counting on.
330.
▲
by
maxk42
5y ago
No, but if you add whey protein isolate it becomes ultra-processed. Unprocessed foods are the ones occurring in nature. In this case: Wheat, egg, salt, yeast. Once you grind the yeast, blend the ingredients together and bake it, it become
More ›