Hacker Newsnew | past | comments | ask | show | jobs | submit | backprojection's commentslogin

They also don’t have to act on callables, see @dataclass for instance.


Classes are callable.


You can abuse this fact with type hunting to get a ParamSpec of a class's __init__ arguments.

But yeah type systems get weird at the margins. Your class is an instance of type which has a __call__ method which creates an instance of your class.


I understand and agree with your sentiment, but just don't buy the uni-tasker type lego. They make plenty of sets where most if not all of the parts are general and can be used for undirected play.


You can repurpose a lot of the space and themed bits, and some of them are truly wonderful, the ones which functionally allow bump-to-bump placement.

And for lego fanatics you can buy specified unit-sizes in specified colours, so there is that.

We got a lot of themed play stuff, fences, trees, animals. I do recognize how much kids love themed play too.

Back in the 60s/70s I had the trainset, which included a "one noise forward two noise stop three noise backward" controller. There were two or more generations of the train motor: the one with rubber anti-slip on the wheels and the one without. depending on how much you enjoy crashes, either were useful...


I’m up voting because I want to hear this side of the argument. I guess your point is that most people’s experience isn’t that bad, and they owe their parents.

Sure, so it can just be a matter of balancing how they treat you and your family vs basic decency and the benefit of merely maintaining contact and having them around as grandparents for your kids. Everyone’s experience and tolerance is different.

I don’t think we necessarily owe our parents. They made the conscious decision to have us and raise us, that ought to be a reward in it self.

I certainly will the best I can for my kids, but I don’t want them to think they owe me anything. This is especially true if I am (unknowingly or unconsciously) treating them or their family very badly.


It’s relatively expensive, depends on your income level. Chicken beef and goat are common. Folks in the country have better access than in the cities.


Plus, people follow strict fasting (up to 210 mandatory fasting days in a year) ... at least the Oriental Orthodox church followers which make up 40-50% of the population.


Threadrippers are not really 'workstation' CPUs, they are HEDT CPUs. More Apples-to-Apples would be to compare to EPYC CPUs.


Same here. Dataclasses and type annotations are fantastic, not to mention f-strings.


This is all fine for personal/proprietary purposes, but open source can't be that cutting edge. While type annotations are probably fine (3.5), f-strings (3.6) or dataclasses (3.7) won't make it to mainstream OSS anytime soon. But they are great features nonetheless.


> open source can't be that cutting edge.

what?


I mean, RHEL 8 is shipping with Python 3.6 and Python 2.7 available. There is no standard /usr/bin/python without making the symlink manually, and the system uses its own internal python for dependent tooling, so it doesn’t conflict with user installed versions.

And, based on my experience, general open source is usually much more cutting edge than the larger distros, that’s the whole point.


tried this outside of QGIS? pip install rasterio, etc.

We heavily use GDAL/rasterio/numpy at work with no real problems.


Everything works outside QGIS. There's just something about the environment. I have 7 lines of code that crashes my QGIS every time.


Please share those for investigation!


Google's 3D models are based on aerial imagery, which is higher resolution, and suffers from much less atmospheric interference.


The fact that Google has so many cities mapped for aerial imagery is very interesting to me. Do we know how they get this aerial imagery data? (i.e. Is it one or more subcontracted companies that specialize in aerial photography?)


According to [1]:

"The US National Agriculture Imagery Program (NAIP) offers aerial image data of the US at one-meter resolution, including nearly complete coverage every several years since 2003. Earth Engine includes this data as well as sample imagery from several commercial providers."

[1]: https://earthengine.google.com/datasets/



I see; thanks for the clarification.


Ha, Dr. Blecher's webpage on HN! That's great.

I did my PhD in math, in large part because I enjoyed his class on advanced linear algebra so much, and later on real and functional analysis.


really cool. It looks pretty close to the ideas behind seismic imaging.

https://en.wikipedia.org/wiki/Reflection_seismology


Judging from your username, I'm going to guess you're an earthquake seismologist. Cheers from the reflection world!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: