Better HN
topnewbestaskshowjobs
Log inSign up

qwertyuiop12

53 karma · joined Jul 29, 2021 (5y ago) · 28 submissions

Submissions

comment 2mo ago · link · parent

SOAP is good for flexible APIs due to xml “eats anything”, the “included” support for signatures and schema validation.

comment 11mo ago · link · parent

the only way is “anonymity by design”. history showed us that “don’t be evil” does not work if the entity can change its mind unilaterally.

be confident that the service is not keeping logs? JÁ!

comment 1y ago · link · parent

Probably in the past a strong typing system was a good deal. However, when you growth, it has many advantages having a type system which lets you change whatever you want without fighting against the compiler/transpiler. So useful for debugging and hacking purposes.

Also, as you experienced, you can implement new "language restrictions" using zod or new lint rules. Making your project more resilient to version updates and creating your "language superset" that can growth with you.

comment 1y ago · link · parent

I don’t know “why”. Why the format defines a way to set the orientation instead of set a pixels matrix as it is.

comment 1y ago · link · parent

I recently read Project Hail Mary. It has one of the best approaches I’ve ever seen.

comment 1y ago · link · parent

In general, I try to add a fingerprint into the output.

For example, in a project which generates images I usually set a specific set of pixels.

comment 2y ago · link · parent

I use both and they work like a charm. But I disable the tailwind base styles ;)

comment 2y ago · link · parent

These years I tried many approaches and I felt in love with htmx for my side projects.

It’s a return to the old easy times.

However, many times I only use a small subset of it.

I recommend to begin with small steps and increasing the complexity a little bit on each one before being crazy applying ALL for a “to-do” app: pure html, htmz (a tricky way, TAKE A LOOK), htmx and react or whatever.

Finally, I also recommend to follow htmx in Twitter, you will laugh a lot.

comment 2y ago · link · parent

For me, it would be the salary needed to have an amazing flat or house near the office. So, if you have the office in Toronto or New York it’s okay, but I will want many money (probably you won’t hire me)

comment 2y ago · link · parent

baremetal or vps and ansible playbooks with OVH. Easy and cheaper.

Also, my own in-house servers if I don’t need so much availability.

comment 2y ago · link · parent

Uau. Since many years that I am considering creating a DE based in html and do something like this.

The html + css approach is wonderful, easy to learn and thanks to arias and html standard amazing in terms of accessibility.

comment 2y ago · link · parent

It does not change a lot. I don’t prefer Unix systems because they are open (okay, for some problems yes), I prefer Unix because the provided system abstraction.

I don’t like the windows register and some of its issues derived of retrocompatibility. Also, many of its defaults for directories or “system hidden files”.

comment 3y ago · link · parent

I had the same problem. Take online courses.

And now, you can use AI to be “inspired”

comment 3y ago · link · parent

It's sad because the new version is awful. It takes too much time only to read emails.

comment 3y ago · link · parent

The stack is not te problem, the problem is people using the incorrect tools and doing over-engineering.

React and others are simply a tool to pass the logic to the client. Useful in situations like apps that can run almost completely without the server or it can manage the offline situations.

All the related tools are only optional things to improve something: • transpilation for older browsers • talwindcss to manage the styles -if you are a lot of people- • redux or others to manage the application state

For other kind of applications, you can continue using the same pattern where the server has the main responsibility of generating the entire view.

In my case, I’m quite happy using htmx and avoiding frontend frameworks because usually I don’t develop offline apps.

comment 3y ago · link · parent

Because it’s the main benefit of using typescript.

For a playground can be excessive, but for production is a nightmare.

Otherwise, you can use only JS with JSDoc and enable the @ts-check.

comment 3y ago · link · parent

What happens with SPAs? Because the page is constantly changing. The tag is smart enough to be displayed only when it is needed? If so, it could be hard for the developer search the tag in SPAs with more than 3 “pages”

comment 3y ago · link · parent

A language is only a tool. Try different approaches like composition over inheritance ( I created a method in TypeScript to create mixins/traits in order to migrate non-sense OOP patterns that I did in a few projects ), patterns that you didn’t apply before… also you can look for DDD ( and its “patterns” ).

Or start new projects for your own curiosity. I implemented a cache policy recently and I learned -tried- to develop different parts of an OS.

comment 4y ago · link · parent

I think that Typescript is better for people that consume external libraries.

When you are making some personal software, in general you know how it works, the problem is when you use external tools.

Many times I had errors due to optional params in a constructor to capitalize or not capitalize the keys.

Also, typescript helps you documenting the code “without” documenting, only looking for what types are passed.

comment 4y ago · link · parent

The Machine Learning course by Andrew Ng in Edx.

A basic ( and not at all! ) approach to know if it is funny for you

comment 4y ago · link · parent

2-3 years ago the price was less than 1000€. 1500 for the base model is ridiculous

comment 4y ago · link · parent

Engagement statistics basically.

The first cause is that in general users use more their phone than their computer.

The second cause is a corollary of the first cause and the existence of tools such as push notifications.

comment 4y ago · link · parent

Report only to companies that accepts publicly vulnerability reports and keep all the records

comment 4y ago · link · parent

I think that microservices is a good approach that was demonized a few years ago due to there were companies that did not separate the pieces correctly.

The main cons that you can find are the sync work between teams ( here is the hard work, if you separate in little pieces you can cause that teams need more sync effort ) and devops effort.

comment 4y ago · link · parent

Do whatever in one line: 1) Open a source code with Sublime 2) Ctrl+J to join the lines 3) Enjoy

comment 4y ago · link · parent

If you have a qa team, perfect. But I don’t recommend to follow this way.

Many code is slow due to it has a couple of wrong implementations, such as rendering or make something heavy all the time when you have to do it only one time.

There is no problem to create a decoupled system using di, the final performance it will be tolerable.

Also, you have the possibility to create custom builds with tests and good practices in the main branch.

comment 4y ago · link · parent

No. I don’t want a world with subscriptions for all.

Sure, it’s the best for the product, but it is stupid pay a sub for something like a calendar. Think if you pay for system tools like file manager, custom configurations…

comment 4y ago · link · parent

I though that I was the only guy who think this