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

In the video you show a 2D mask to blur diagonal lines. How is that mask applied to the DFT? Is the mask also converted to a DFT and the two signals get combined?


Just remove anything under the mask basically, similar to a low pass filter.


The summary of the post says that lambdas/procedures/etc. are another type outside of composition and inheritance. I’ve always thought of lambdas as composition though. You’re assigning a function just as you would any other data, right?


I've been reading through the book The Courage to be Disliked recently. I'm not a big fan of the writing style of the book, but some of the ideas in the book appear in this post too.

One of the concepts in the book is being comfortable with being disliked. If instead you're trying to avoid being disliked, you're effectively subject to other people's whims.

When you look at it from that perspective, that's a pretty stressful experience!


> I'm not a big fan of the writing style of the book

OP here. I address that in How I'd rewrite The Courage to be Disliked: https://chrislakin.blog/courage


I can't help but feel that these criticisms, like many others of the book, are mostly down to cultural misunderstanding. The writing style of the book is deeply Japanese and that's off-putting for many, myself included. But for some, it's to the point where the forest is missed for the trees. I've read a few translations of it and some do a better job at conveying the idea than others, but they all feel clunky without the cultural context.

A good example of what I mean is your first suggestion, choosing a less triggering explanation for teleology. The idea of trigger words as we understand them, and the need to shield people from them, is not a universal cultural phenomenon. The suggestion feels a bit like visiting a country where they drive on the left side of the road and suggesting they try and drive on the right instead. Maybe the suggestion is good! But maybe not, without cultural context, the suggestion reads mostly like just asking for things to be made more familiar to you.


Thanks for the link! I read through it and agree with most of your points, especially the parts about presence and separation of tasks.

I personally liked the intellectual aspect of it, though I also agree that the emotional component should be there as well.


IDK, in my experience not avoiding being disliked only results in a lot of people disliking me, but hasn't brought any gains, unless a rate limit on HN is a gain (they say I'm "too ideological", whatever that means)


Since you brought it up, I will put in my 2 cents, and I will try to articulate it in a constructive way, not meant as an attack at all.

Fair warning, I'm American and I realize you are European, and there are obvious cultural differences that may be at play.

The main problem I have with you is the attitude. Very black-and-white thinking, as if you seemingly just know everything, about everything, which I don't think can be true for anybody really.

I think it makes you actually appear less intelligent, although it is obvious that you are intelligent, but it makes people think things like "pshh what does this guy know, acting like he wrote the book on this subject". But lower intelligence people are masters of black-and-white thinking, and see constructive feedback as criticism, unable to use it to improve themselves, which I don't think you want to be seen as.

Of course, there are people who criticize because they're haters and get a kick out of it. Despite their hatred, their criticism may still be valid.

But most of your comments IMO just seem to be very matter-of-fact, often seemingly blind to important context/nuances that make the answer not really as simple as you make it sound. And when people ask for sources, you often do not respond. I don't think I've ever seen you admit you were wrong either.

In fact this is the biggest problem I have with people in general (not just you), this kind of dogmatism, the black and white thinking. To me it shows a lack of empathy and humility, often those people are also very quick to anger, and I think it shows a lack of critical thinking, as if you somehow have all the answers and are infallible, that there can be no other possible valid perspectives or opinions, I think this is a rampant problem on IRC/the Internet and indeed life in general.

I also notice that a lot of your comments get downvoted, which I assume may be a combination of both unpopular opinions (or that they are stated in a way people disagree with), and just haters that will always downvote certain people.

All that being said, I realize I'm not perfect either, and I have absolutely fallen trap to all these same things and more, and for anyone who I have wronged by it, I apologize.


I have not noted his comment history so I'm only addressing this in a general fashion:

A lot of things actually are black and white, but people invent shades in them in order to avoid having to admit there's a problem without a solution. I've been accused of black and white thinking many times, almost never has the accuser been able to actually show a nuance to the situation.


> A lot of things actually are black and white

My issue is with people who take this to the extreme and apply it to the vast majority of their responses, the so-called "know-it-alls" that Dunning & Kruger told us about.

I think if we want to be seen as truly intelligent, we need to have much more humility and empathy, and accept that we can't know everything about everything, and not try to act like we do.

> almost never has the accuser been able to actually show a nuance to the situation

I accept that that has been your experience, but I don't think it applies to everyone, not even close, and I think it also doesn't mean that they were wrong, they may just be unable to articulate a better response than you.


Thought here: Very often if you see something that's not black and white it really is multiple issues mixed together.


And other times, people invent shades in order to pretend there isn't a clear solution.


This thread is full of wonderful books! I had a lightning-bolt insight (one of few in my life) when listening that audiobook - the section about the shut-in.

The followup book is worth reading as well.

Different but related: Not Nice, by Aziz Gazipura.


There was another reply here earlier that was saying it isn't a trade deficit. I wanted to steelman the parent post:

Foreign investment into USA companies reduces the USA trade deficit but it isn't tracked in traditional methods.

I've heard that foreign investment in real estate generally isn't counted as each country owns properties equally between the two, so it nets out. I wonder if investments into companies is the same?


It is tracked! there are a few different numbers.

by the BEA: https://fred.stlouisfed.org/graph/?g=gX0f

by the treasury: https://ticdata.treasury.gov/resource-center/data-chart-cent...

It's a little hard to figure out how important it is, but there are "good" numbers.


> Foreign investment into USA companies reduces the USA trade deficit

Other way. Foreign investment doesn’t touch the trade account but the capital account. When the company the foreign investor invested in buys stuff, that alters the trade balance depending on what they buy from whom.


Showing my age here, but this reminds me of knex. You would get different models but you could make whatever you wanted out of the parts. It was a great creative toy back in the day.

I just took a look online and they’re still selling kits. I’m partial to the Ferris wheel.

https://www.basicfun.com/knex/


Knex is great! I had a small set growing up, but never one of the big dynamic ones. Did you ever come across Capsela? Another fun modular building kit. The floaty set was awesome.


Capsela was really cool! In the end I feel like Lego with the Technics and Mindstorms stuff caught up but for a while Capsela was some of the coolest stuff you could get for making mechanical/electrical systems.


Somehow Capsela did a better job of teaching me gear ratios than LEGO bricks


I put down $50 to reserve one. I grew up with an old car that I tinkered with endlessly. Mostly because it was simple enough for me to get my head around! This car reminds me of that time.

I'm hoping that they go with a lot of "off-the-shelf" electronics and mechanical parts. Standards are a blessing.

It feels like they're going with a different business model to traditional car manufacturers. AFAIK most manufacturers make a lot of their money via servicing. I'd love to take a look at what their long-term business strategy is.


You could buy an old Volkswagen bug (not the new models) for cheap. They are dead simple too with tons of parts available.


Depending on where you live you can almost build certain older cars from new parts. For the UK I believe you can get every single part of an Morris Mini either brand new or at least refurbished. For France you can probably built a Citroen 2CV for parts, including an EV version.


A friend is doing exactly that with a defender 130 . New galvanized frame, every panel new, new axles, new brakes, new transmission, transfer case and engine. New seats, new interior, new doors. Cool project.


how did you find their website? all i get are articles about the car but no links



Thanks for the link. I see they sell portable bluetooth speakers we can mount under the dash. I like the idea of DIY wrapping both the interior and exterior; I can imagine anime fan boys like my son coming up with very wild art for these wraps. I had also forgotten cars used to have hand cranks to roll up the windows.


Do you have a doc or article that describes more about this? I’ve worked with relational algebra before but I’ve never heard it described with an API before. Are the responses all table based? I suppose you could wrap all calls with a SQL style API?


For all my GTD-style note taking I'm using Things. I stuff everything that I need to remember into its inbox as soon as I think about it. Adding context + sorting happens at a later date once I can sit down and give more details.

The one thing I don't have is a general "reference" system. Once I've finished with a task / project / etc. I want to be able to archive it into a wiki-type system. But I also want to be able to query structured data out of it too.

The closest thing I can think of is writing mini-wiki pages. Because they're mini wiki pages, a screen should be able to show multiple pages at once. There's something there, I'm just not sure what.


According to this post it looks like new accounts can’t onboard:

https://news.ycombinator.com/item?id=41104997


Right I saw that, but no communication about if/when CodeCommit is actually going away.

That is something that AWS tends to be really good on. Maybe a bit uncommitted on smaller features of a product, but this is a weird middleground on an entire product basically that isn't really clear on what the future is.

It doesn't even say "At some point in the future CodeCommit will go away and we will give X amount of notice". Just, no new signups.


This might be problematic in some use cases.

For example, if a software company works on different products, they would ideally have separate AWS accounts/environments for each product.

If they have established pipelines/infrastructure/procedures/etc., and they use CodeCommit as part of such infrastructure, they won't be able to create a new project, without reworking everything.


I was honestly wondering about that myself. If in an organization I CodeCommit in use on one account but I need to move over (and for whatever reason moving off of CodeCommit isnt an option at the moment) could this flag be at the organization level or on the account level. Or at the very least an account rep could override since that since I am actually already using it.


Yes and you can add me to the group.

FS is Field Separator. It’s ascii code 0x1C. Theres a whole group of these separators in ascii:

> The separators (File, Group, Record, and Unit: FS, GS, RS and US) were made to structure data, usually on a tape, in order to simulate punched cards.

https://www.ascii-code.com/character/%E2%90%9E


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

Search: