Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bb88
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
961.
▲
by
bb88
3y ago
Hunger is caused by not enough glucagen-like peptides (GLP-1, etc) being distributed to the brain from the gut. Obesity is not so much a food "addiction" as it is the body's failure to properly regulate it's own fullnes
962.
▲
by
bb88
3y ago
To me it's a simple argument. PTO has to be negotiated upon job start. If you say you're going to take 5 weeks of PTO every year, and that was negotiated during the offer phase, well they can't then say you can't take i
963.
▲
by
bb88
3y ago
Then startups need to be honest about their needs up front, and stop using misleading terms like "unlimited" -- particularly early stage startups.
964.
▲
by
bb88
3y ago
Yeah it's not good. Once the matching contribution is vested, the money is yours to do with as you please -- including potentially loaning the money out to yourself.
965.
▲
by
bb88
3y ago
I feel culture is emotional manipulation (e.g. the Cameo "Fameo" [1] or family). This works until layoffs need to happen, and then any justification for removing those same family members are justified. So as an employee (not nec
966.
▲
by
bb88
3y ago
> Despite this, they are now periodically emailing us to come back, and work remote. It started as “come back, we will let you be remote”, and has evolved to much more appealing offers over time. I'm not sure that's a genuine a
967.
▲
by
bb88
3y ago
Or worse. Some library developer decided that "panic()" was the way to go rather than: return nil, err I'm fine with error values or Pythonesque exceptions, just not both combined. So much of my code is typically:
968.
▲
by
bb88
3y ago
Well RuntimeErrors (NullPointerExceptions's and the like) weren't never explicitly required to be on the method signature. I was trying to remember who it was, but one author I thought had recommended subclassing every exception a
969.
▲
by
bb88
3y ago
I do too. Error handling is fine-ish mostly. The issue I have is there are three forms of error handling. Errors : Fine. Panics : Weird because golang already had errors. Segfaults: Gah! (though this is a cgo issue apparen
970.
▲
by
bb88
3y ago
That's why organizations like Consumer Reports are important. E.g. if Tesla batteries only last X years and you plan on keeping your Tesla for Y years, then knowing that leads to better decision making.
971.
▲
by
bb88
3y ago
But the question is: Who knows what and what not to do with libc? "But Go compiled it just fine..."
972.
▲
by
bb88
3y ago
Yeah, balanced fertilizer and water. The goal is to get the grass to generate roots and then this will turn into a nice lush carpet. The thicker the carpet the more competition for resources. I mow at 6" to keep germinating weeds from
973.
▲
by
bb88
3y ago
I had kinda the same feeling before I got my first 3d printer too. The first real thing I printed was a case for holding camera batteries to prevent them from just rolling around in my luggage. It was in PETG and it felt super high quality
974.
▲
by
bb88
3y ago
At least they don't have blackouts in the states....
975.
▲
by
bb88
3y ago
Usually after a sports event is over, it's worth a lot less than when it's being played live, too. E.g. The Super Bowl's value is only worth something when people don't know what's going to happen. After the game
976.
▲
by
bb88
3y ago
I'm pretty sure they're the number one customer for water in WDM during the hot summer months. [1] > Yes, but: They (Microsoft West Des Moines Datacenter) consumed as much as 11.5 million gallons of water a month for cooling,
977.
▲
by
bb88
3y ago
I remember when "ANT" files were considered modern. https://en.wikipedia.org/wiki/Apache_Ant
978.
▲
by
bb88
3y ago
You must be confused about how health insurance works in the US, as well as the effectiveness of a bad analogy. Also people who disagree with your must certainly be ignorant -- particularly on HN. > If for some reason your auto insuranc
979.
▲
by
bb88
3y ago
But also, the patient paid for health insurance for the explicit reason that insurance provides protection against surprise costs, often paying thousands of dollars per year for it. So fuck the patient? That's the current regime.
980.
▲
by
bb88
3y ago
Wake me up when AI based search is actually useful. Then I'll be interested.
981.
▲
by
bb88
3y ago
We in the US enjoy a feature of capitalism known as income inequality. If you take that into perspective, and understand the total personal income in 2022 was $21.8T, then $33T of debt is not such a big number. It's only 50% more tha
982.
▲
by
bb88
3y ago
No. Some languages don't require you to play cat and mouse games to get around artificial limitations put there by the language designers. There was a talk at PyCon a while back about that patterns commonly used in Java were non-exist
983.
▲
by
bb88
3y ago
I tend to be fond of Python OOP styles.
984.
▲
by
bb88
3y ago
I don't know. I'm willing to give them another 10 to 15 years.
985.
▲
by
bb88
3y ago
Why do I care about any of that while writing python? Those seem like artifacts of a Java based DI system.
986.
▲
by
bb88
3y ago
Yeah I agree on that here. The user doesn't write DI code for Django Class Based views. E.g. the view doesn't accept a Database upon instantiation.
987.
▲
by
bb88
3y ago
That DI library is not pythonic at all. There's nothing wrong with this at all, say: class MyClass: def __init__(self, my_dep1=None): if my_dep1 is None: self.my_dep1 = get_my_dep1() # Or p
988.
▲
by
bb88
3y ago
I'm curious to understand what dependency injection is in Django that you're referring to? I know pytest does DI with fixtures, and trying to figure out what you're pulling into a test can be difficult.
989.
▲
by
bb88
3y ago
There is some truth to this. Every language I used had severe drawbacks. At this point, it's choosing the lesser of the evils.
990.
▲
by
bb88
3y ago
> This is not a fun situation to deal with and inheritance makes it a lot harder because the "is a" relationship is driving a ton of your logic. Judicious OOP design allows others to change behavior based upon needs that perhap
More ›