Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jacob019
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
631.
▲
by
jacob019
9y ago
Nah, my company sells lightbulbs and many other things. Yeah some people are unbelievable, and the fraud... but most people are decent. We work hard to be ethical and I think everyone who works here would agree that we have a working mora
632.
▲
by
jacob019
9y ago
Yes, any change will have winners and losers. The winners will be happy, and the losers will be mad. We all support the idea of simpler tax code, but the devil is in the details. I'm not sure that eliminating the state tax deduction
633.
▲
by
jacob019
9y ago
Agreed. I like to test the validity of a function's input and throw an exception if it fails. It catches most regressions with a nice error message.
634.
▲
by
jacob019
9y ago
I just mean a manual test of application functionality. Maybe some manual function calls. Nothing automated or saved. BTW, the code is an ecommerce platform, not just a website but dozens of integrated applications that handle everything f
635.
▲
by
jacob019
9y ago
No unit tests. With good code structure regressions are minimal, most are caught with practical testing. Ocationally one slips through to production, is reported, and quickly patched. It's rare and something that I'm sure happe
636.
▲
by
jacob019
9y ago
Usually I feel like the only person who doesn't unit test. I've heard all of the arguments and I like the theory, but practically I don't want to spend the time on it, and I maintain a large codebase. Regressions are easily
637.
▲
by
jacob019
9y ago
I've been using a VPN over TCP ssh for a year. The end point is across the world. I get excellent bandwidth and no stalls. Latency is less than anticipated. The thoretical arguments against TCP/TCP do not match my experience.
638.
▲
by
jacob019
9y ago
Pretty nice hardware for the price. 8MB flash and 64MB ram, small form factor, dual NIC and WIFI. That will go far with lede.
639.
▲
by
jacob019
9y ago
The article clearly articulates what I've been thinking for years. It is so sad how many lives are ruined for nothing by the immoral and draconian drug laws.
640.
▲
by
jacob019
9y ago
I don't want a Tesla because they're green. I want one because they're wicked fast, because they provide full torque from a dead stop. Because I hate the gas station. Because the interior is both luxurious and minimalist. I
641.
▲
by
jacob019
9y ago
Why? Don't like self-documenting code?
642.
▲
by
jacob019
9y ago
Love the little stick figure representations of the threads/cores.
643.
▲
by
jacob019
9y ago
My company has had a much better experience with FedEx than UPS. FedEx employees seem happier. Our driver owns his route and treats us like his personal customer. The UPS guys are nice too but tend to have that postal worker attitude and
644.
▲
by
jacob019
9y ago
I agree with debaserab2. We use both PayPal Merchant Processing and Stripe. PayPal processes for us at 2.2% + $0.30. We use Stripe for the smaller charges where the $0.30 is prohibitive. There are many other options out there too. For
645.
▲
by
jacob019
9y ago
We also pay for cell towers that we don't use when we pay our phone bill. We all see through our own lens. Heavy handed approaches to improving equality by disrupting the status quo destroys wealth, and we must instead strive for rul
646.
▲
by
jacob019
9y ago
I do not accept the premise that all taxation is redistributive. When services are provided to the taxpayer that exceed the value of the taxes then wealth is created. We as a society choose to perform certain services collectively though
647.
▲
by
jacob019
9y ago
An interesting perspective, feels cynical to me. I fully support progressive taxation, free education, public transit, affordable health care and so-forth. I would argue that government is a service provider. We can't all be expecte
648.
▲
by
jacob019
9y ago
While I would love to live in a more equal society, history shows time and again that government efforts to redistribute wealth mostly destroy it. We should try to devise systems that prevent power from centralizing in the first place.
649.
▲
by
jacob019
9y ago
Smartphones only seem to last for two years before the hardware starts to fail.
650.
▲
by
jacob019
9y ago
Thanks for detailed reply with references. Knowledge enhanced. :) Yes, I suppose it's incorrect to think of the charger as pushing current; but with a resistive load, with LEDs, with raw lithium cells, most batteries, and with most lo
651.
▲
by
jacob019
9y ago
The charger could push more current by increasing the voltage, but that would be dangerous and most likely damage the device--unless the charger could somehow sense the resistance of the charging cable and compensate for the voltage drop, t
652.
▲
by
jacob019
9y ago
"Their newer USB battery packs in particular are very interesting because they will ignore the line termination and do a TCP-like ramp on amperage until they get a voltage sag" This comment doesn't make sense in the context o
653.
▲
by
jacob019
9y ago
Excellent points, thanks for the thoughtful response. I suppose it depends on the use case and certainly there are limits to gevent, but for our use case--serving and routing web requests, they rarely come up and are easily worked around.
654.
▲
by
jacob019
9y ago
It depends. If the calculation can be split into nice chunks you can throw in some gevent.sleep(0) to prevent them from hogging the process. We use python for handling web requests, anything heavy tends to be handed off to another process
655.
▲
by
jacob019
9y ago
No need for forking or threads, that's the point of async. Yeah there's limitations when CPU bound, but that's python. Fire up a few processes and load balance. #3 hasn't been an issue for us, monkey patching works wel
656.
▲
by
jacob019
9y ago
Most of our stack is built around gevent, it works great just about everywhere and requires little to no thought about the asynchronous nature of the code. Performance has been incredible compared to the old thread based code it replaced. A
657.
▲
by
jacob019
10y ago
Is it just me or do most Atlantic articles seem like pointless tirades?
658.
▲
by
jacob019
10y ago
I'm more comfortable using just two words.
659.
▲
by
jacob019
10y ago
So true.
660.
▲
by
jacob019
10y ago
We wrote our own system that preauths to get AVS, mandates a match to proceed or automatically voids the auth. You wouldn't believe his many people don't seem to know their own billing address. Customers get frustrated about the
More ›