Better HN
topnewbestaskshowjobs
Log inSign up

8ytecoder

4,084 karma · joined Aug 25, 2016 (10y ago) · 1,159 submissions

Submissions

comment 5y ago · link · parent

That's pretty much it. There's a certain category of people with a certain attitude towards debugging. You have to be able to break it down into steps - sometimes from "first principles". Then work up and identify where the issue is and how to resolve it. Sometimes it requires looking at logs and simulating production conditions and other times you may have to understand low level network stack.

I still remember the time trying to reproduce and fix a certain issue. We had a 3-node cluster mysql database setup with one main and two replicas. The replicas are read-only. If one replica goes down, reads shouldn't be affected at all. We had an application layer on top of this to coordinate and enforce these requirements. Every which way you look at the code, there's no reason why this shouldn't work. And yet, when one node went down in production under a very particular circumstance with the network, it took down the entire cluster - not that the cluster was not reachable - it wouldn't allow reads and just hang.

Tracing it took me down the hole of understanding the precise network issue (fading memory - I think the machine wasn't responding back and tcp kept retrying) + linux tcp setting (I think tcp_delack_min) + a java networking setting + how thread safety was setup in the application (do not use synchronized at the method level). It took a week to diagnose.

Recently, there was a minor issue with adapting a sample Spark UDF to work with our setup and it took the developers 3 weeks and they kept giving up after every try.

comment 5y ago · link · parent

That result came out yesterday or the day before.

comment 5y ago · link · parent

It's a very small cohort of people that want to do "whatever they want". Most people do productive stuff within the bounds of what's possible in an iPad - I mean Office/Outlook, Social Media, a full fledged browser with most websites supporting mobile mode now, reading apps, video/entertainment apps, games, social media apps, even corporate vpn apps are readily available. My dev environment is the only one I know of that I have to absolutely have a laptop for.

comment 5y ago · link · parent

Agreed. The iPad is leaps and bounds better for casual device use during travel - reading, movies, music, emails, browsing, social media and some casual document editing works just fine on the iPad. Except for the development environment, I don't need to reach for a laptop at all. I can even read code via the Github app.

So, unless I know I have to write code, I don't carry my laptop anymore. 10 years (or even 5 years ago), this was unthinkable for me.

comment 5y ago · link · parent

Huh, I remember learning Yuri Gagarin as the first person to space. I don't think I even remember learning/reading about Alan Shepard.

comment 5y ago · link · parent

I don't want to take away anything from your argument but that case is a bad example. There was no evidence to show corrupt evidence and it was dismissed as such.

https://www.mercurynews.com/2021/06/01/santa-clara-county-ju...

comment 5y ago · link · parent

How do you know they didn't, in fact, act with racial bias?

comment 5y ago · link · parent

It used to be a uniquely American thing. The Discovery and Nat Geo channels in my home country used to be truly educational. (I don't know/think it's the case anymore, sadly.)

comment 5y ago · link · parent

That was my thought as well. I change my phone every couple of years. I have used HTC and Nokia in the past. It's way easier to recycle an Apple device and they're very diligent about ensuring it's unlocked. They pay a decent price for up-to 3 year old phones. It's also way way easier to get an iPhone fixed than the other ones I have owned.

People talk about Apple lock-in issues in general terms. No one seem to look at from a matter of practicality. I have fixed my iPhones every time there's an issue - because I actually can. My HTC camera had the purple glare issue. HTC refused to service it unless I pay $200 + shipping back and forth and be without a phone for 3 weeks!!! Same with my LG TV or Sony laptop.

I used to complain about the same things people in this thread too - about how draconian Apple is. Until I actually started using their products and realized they both last long and are repairable. The only downside is the cost - even that is not expensive in the long run (my Pro is now 7 years old and runs like a champ with just a battery replacement).

comment 5y ago · link · parent

Not to give too much credit - but, as a fact, the US has been getting better at targeted sanctions. It's the preferred model these days - from Russia to Iran to Honk Kong - specific officials are embargoed and their assets blocked or seized.

comment 5y ago · link · parent

You seem to think it’s a bad thing. I’d argue “Free” products destroy innovation. It’s extremely hard to beat gmail or Facebook without massive VC funding.

comment 5y ago · link · parent

Yeah, but it’s still my property and you can’t make me serve a beer I don’t like.

comment 5y ago · link · parent

That assumption doesn’t go well with what we saw in the case of Instagram and then Snapchat. Both took significant share out of Facebook but Facebook was able to buy Instagram and copy Snapchat to retain its monopoly. The Instagram acquisition shouldn’t have been possible is what the parent seems to be alluding to.

comment 5y ago · link · parent

IANAL either, but I'd expect anything that puts onerous restrictions on speech to be unconstitutional. Usually these "over-enthusiastic" laws don't define the restrictions in a narrow scope. It all boils down to the definition of PII in this law, for example. If it's narrowly and clearly defined it could pass the first amendment test. If it's not clear and instead has the effect of chilling speech because of that, it'll get thrown out.

I mean the Supreme Court just threw out the donor disclosure requirement in CA because it could have the effect of stifling free speech.

comment 5y ago · link · parent

There-in lies the problem. You overestimate the tax increase and underestimate what you end up paying if you ever get sick.

And yes, the bigger issue is reducing hospital bills. Again, look at the line items and you'll see a big large number next to admin costs of processing insurance. Add the cost of profit for the insurance company and their cost of running the business and you know where this is going.

comment 5y ago · link · parent

Agreed that different people have different synapses based on how they grow up. I didn't drink a lot of milk and never had cheese for most of my life. We used coconut milk for the creamy base. But I grew up eating, limited but regular, meat. I was ready to give up dairy before I could give up my lamb chops. I grew What I crave is seafood. So I go to a local fisherman for that. I'm vegan in all other aspects and I don't give an F about some people preaching me.

The vegan cheeses (Miyako in particular), Oat Milk (the barista kind) and Just Egg are great substitutes btw. Impossible tastes just like meat to me now.

comment 5y ago · link · parent

your absolutely correct. its the way its always been.

comment 5y ago · link · parent

This is media doing the media thing. In fact even small cracks are perfectly fine - it at least that’s what our civil engineering professor told us. In hindsight everyone of these minor ones will be put under a microscope.

That said, if the building had a pattern of these it’s probably not very well maintained.

comment 5y ago · link · parent

Most apartments have a no-smoking clause in their lease -it’s grounds for eviction. The problem though is it’s also usually illegal to smoke it in public.

comment 5y ago · link · parent

I downloaded the app alright. Just not theirs. Apollo for iOS is such a pleasure to use compared to the Reddit app. They can’t even get the app experience right.

comment 5y ago · link · parent

Europe also goes through the pain of developing rules and laws that are incredibly detailed and specific. US just doesn't have that culture. The law will be vague and it'll require at least a few lawsuits before it gets settled as to what they actually mean. This and the general misuse of lawsuits (I mean "Do not iron while wearing the shirt") here is why people are against laws.

comment 5y ago · link · parent

Not just short-sighted, these sort of things is why I don't try anything that involves a subscription. That is also why I make them pay the Apple Tax and subscibe through Apple instead.

comment 5y ago · link · parent

While the media has been reporting that Facebook has embraced wfh, the reality on the ground seems different. When I spoke to their recruiter, they seem to decide based on team, manager…etc. Even then they still expect you to be in office a few days a week. A non-starter for me.

comment 5y ago · link · parent

Eh, every design choice is a compromise between multiple variables. The cost has to be reasonable for there to be someone to sell the product to.

comment 5y ago · link · parent

I'm assuming you are aware of the difficulties for machines to do even the most basic of things that a living being can do with a brain the size of a pea. A housefly can fly and navigate effortless through most complex scenarios that it evolved to navigate (even though the same fly can get stuck behind a glass window and eventually die).

So yeah, even getting that level of intelligence would be a huge win. However, most people mean close to human level intelligence when they mean AGI even if it's one narrow specialization.

comment 5y ago · link · parent

Uhm, it says "access the features". I presume you own the car, have insurance, pay for gas and then also pay for the software "driver".

comment 5y ago · link · parent

Espresso machines are good at extracting the oils along with the coffee. The crema is basically the froth as a result of this. There are some beans (e.g., Yemeni ones) that have very high oil content and you can get a similar taste with simple brewing.

comment 5y ago · link · parent

Databricks as well. Azure sells both their own version and “Azure Databricks”

comment 5y ago · link · parent

It need not have been this way. All three major providers do work with third party vendors all the time. They could have been the Databricks. Or even better a fully managed solution on the cloud as well (like Snowflake).
1
161718
39