HN user

moray

118 karma
Posts1
Comments34
View on HN

On aliexpress for very cheap search for "DT3 Data Cable Detection Board Type-C". I got the one below and seems to work fine for what I needed.

https://fr.aliexpress.com/item/1005007509475055.html

Edit: This will test whether the cable is functioning properly. It will show the connections and indicate whether the cable supports only power or also data transfer. However, it won’t provide information about the USB-C cable type or its speed capabilities.

That's a nice little project that I would use to quickly build an API for testing or developing an app, you just need the php executable to start it up.

But if I had to make one comment, after looking at the code, that serve function with that huge try/catch block is not the nicest thing to see, I would split it up and try to get some more meaningful exception and error handling.

"Sender" refers to the domain, read it as: the sender domain policy allows X and Y servers to deliver emails for this domain (or subdomains). But I agree that is confusing, also I was unaware that only the HELO and MAIL FROM in the envelop are used, I should check my postfix config..

I am in the same boat and I was just thinking about it after upgrading to a Mac M1 pro. One plus point for Firefox is the dev tools, especially for grid and flex.

I totally agree and I hope they will remain external packages. My workflow does not use/require any of them and I am happy as it is. What it looks like Livewire is trying to solve is having a "reactive" way of doing things without touching javascript and by elimintating the need of implementing an API. I understand the need of consolidating the dev process to one single language and siplify it but there is a reason why we separate backend and frontend.

Nice project! I just started researching the pieces I need to build something similar. What kind of PoE hat did you use? I was also thinking of having one of the PIs have also an SSD with bootp/dhcp and let the others boot with PXE.

I had been thinking of building a PIs cluster for a while now and I was looking with interest at the turingpi board project [1] they are taking preorders for the second batch if anyone is interested. But I would like nodes with more than 1GB of RAM so I guess I'll have to wait for that.

[1] https://turingpi.com

Octa is latin for eight, in fact also Italian has the word "ottetto" that is used more in an academic setting and becoming even less common. It is true though that in French saying Go (Giga-octet) instead of GB (Giga-byte) can avoid confusion with Gb (Giga-bit).

You can and it is sort of a tourist trap. It is quite expensive to get there and not super easy and despite this when you get there you end up being one of the couple of thousands people visiting it every day. It felt way more people were there when I was visiting...

The closest villages are setup for tourism, hotels, restaurants all over the place, ugly buildings built just for the purpose (often unfinished) in an otherwise beautiful valley.

I am aware I was one among many but I wish the Peruvian government would regulate an protect more the site.

I am guessing now it is the moment to go there though...

I work a lot with Laravel, it is a hell of a framework, documentation is amazing, it's clean, very well done, super extensible, there are a lot of extensions (just have a look at the Spatie library) and allows me to build up a website/webapp backend with a good API, basic authentication and other basic features in minutes.

Also, and this is a really strong point, can manage assets super easily, React and Vue stacks are supported out of the box with laravel-mix.

And if you need something lighter (for building just an API for instance) Lumen is the light version of it.

I have a lot of experience with PHP and Python frameworks, Laravel comes as absolute top for me.

https://laravel.com/

https://spatie.be/open-source

https://lumen.laravel.com/

One of my favourite cities in Italy is Venice, I am italian, and I have been there visiting friends several times. Tourism have ruined the city, they are there all year, residents don't have breaks...

Anyway... there are nice alternative guides that do what you are asking, and for Venice the one of "Corto Maltese" is a good example. I managed to find this guide some years ago after some research. It is a bit rare, a friend had the first edition (I think only in italian), the second one was published by Lonely Planet, I think in 2008, and it is the one I found (in french, but I am guessing also the english version exists).

It is a very nice guide, full of drawings of Hugo Pratt's character Corto Maltese and his world. The guide takes you on a number of walks through the city and tells you a lot about history, people, buildings, and it does telling you also some stories about when Pratt lived there. Most importantly it points you to nice historic restaurants/bars (baccari and taverne :)) where venisians usually go. I used it last time there and the experience was really nice.

Amazon has it listed but only used and some times at a high price: https://www.amazon.com/Corto-Maltese-guide-Venice/dp/8817039...

On the same style I saw one on new york too, I think lonely planet published a few guides with this style.

Also, I find the New York Times 1/3/5 days guides also nice.

I can confirm, French people had always been so proud of their language, but now not only tourists life is much easier in Paris, english words are also being used daily incorporated in their language.

A very common example that younger generations use is the expression "c'est cool ca" to simply say that something is cool.

source: I live in Paris

I have a very similar experience, in particular with my current project one of the users (a sysadmin actually) asked if I was using elasticsearch or similar because he noticed that searching a record and filtering was very fast.

My response: nope, MySQL! (plus an ORM, a very hated programming language and very few config optimisations on the server side).

This project DB has a couple of tables with thousands of records, not billions, and, for now, a few users (40-50).. a good schema and a few well done queries can do the trick.

I guess some people are so used to see sluggish application that as soon as they see something that goes faster than average they think it must use some cool latest big tech.

We study the Divina Commedia in High school (for three years, one "cantica" per year) and it is not actually that easy, not only for the language (that it is still a dialect of the time) but also for the interpretation of the text that is full of references to the political and social situation of the time (beginning of 1300 btw). Most of each page are actually notes...

Dante is usually credited for having chosen the Tuscany/Florence dialect to be the future Italian, later adopted by many writers and poets (that also contributed to the evolution of the language), so yes, I wouldn't say it is artificial at all, maybe the only artificial thing is the choice of a dialect over another.

And as I guess many already know many of the regional dialects survived, and in some regions more than others are still spoken. In fact an Italian is often bilingual in a sense. And if you happen to be in a book store in Italy it is not at all that rare to find a book from a contemporary author written in his local dialect.

BTW we study all of the three authors you mentioned at school ... not an easy task I assure you :P

I do read posts, and I wrongly implied you end up preferring other means to email because people don't answer to emails, sorry about that, but let me expand on my thoughts.

I get that too, people not replying, but I don't think this is only a technical problem unfortunately. With IM systems where you easily get notifications on your phone you have more chance to get a faster response, also when receiving large amounts of emails one tends to skip many of them.. frustrating, for the sender, but that happens to me too from time to time.

I do work in tech though, also in academia, and email is still the first choice (well, from my experience, also I am in Europe.. maybe this counts?)

As for the technical aspect, SMTP and mail transfer protocols are part of a distributed system, and a distributed system must be open, this of course leads to the SPAM issue, but after what, more than 30 years? we have a couple of strong server side implementations that work well. And let's not forget TLS... emails travel in the "open air" as every other protocol that does not use encryption.

I agree that a redesign would be helpful to eliminate some basic issues we still have with emails, but it looks like that at the moment most are busy inventing new proprietary protocols for new way to chat and send emoji around...

I get a photographer, video maker or someone working in fashion (I am sure there are other cases, I know those) using facebook or <x social tool> for business communication because it is trendy or it is more convenient, but preferring it to emails?

There is obviously a problem here, there is so much talk about privacy and confidentiality and then you give all your communication in the hands of one company.

What I am trying to say is that there is a fundamental technical difference between emails and <faceslaktter>: The first is based on a distributed, well defined (RFCs??), open protocols and formats. The second? It is an application, running on the premises of some company...

The thing is that it also depends on the client side (meaning the software client) and from the sender behaviour.

For instance, I have a client (person) who now and then sends out a newsletter to some hundreds of addresses. He does that directly from the webmail. I always catch him because I have an alert on the mail queue, and every single time I check it I notice that the messages have been delayed because the remote server has a filter on "too many recipients at the same time" or "server sending too fast" or similar.

This affects the way the remote server will consider further emails from your server, and change its "behaviour" temporarily. I use Postgray [1] that does very similar checks, and it is a great deterrent for incoming spammers. So I completely understand this strict checks from the point of view of a sys admin.

Then there is the email content and headers that are checked by spam filters... but that's another story...

[1] http://postgrey.schweikert.ch

I have a very small (on the side) hosting business that has been running for almost 6 years now and growing little by little. I have direct contact with my clients and they have it with me in case of need (if they need technical advice or support not necessarily directly related to the services).

And this is exactly the kind of service they were looking for, very difficult to have with a massive business company (have you ever opened a ticket with OVH?)

Then of course, the technical challenges to setup and maintain such services are high and a control-panel all-included package or a docker with everything in it is just a very small part of the work required.