Better HN
topnewbestaskshowjobs
Log inSign up

electrotype

377 karma · joined Jan 29, 2011 (15y ago) · 175 submissions

Submissions

comment 7y ago · link · parent

Got it, you are right!

comment 7y ago · link · parent

You set a cookie "forAdProvider".

When a client send you this cookie (sameSite) your server forward it to the ad provider using a RPC call.

The ad provider replies to this call with new data they want you to add to the cookie.

You set the "forAdProvider" cookie on the client, using the data specified by the ad provider.

comment 7y ago · link · parent

I'm not talking about 3rd party cookies.

I'm talking about a sameSite cookie made for the publisher, via a proxy on the server.

comment 7y ago · link · parent

Cookies could be send to an API of the publisher by the server, and information could then be received back to update the cookie.

comment 7y ago · link · parent

Dedicated servers for cheaper: https://www.kimsufi.com

comment 7y ago · link · parent

I used Rockbox a lot, I even made my own build so I can configure some buttons to tigger specific actions. Sansa Clip+ with Rockbox has been my music player for a long time.

The problem now is that mobile phones have killed multimedia players and it's hard to find new players with Rockbox support :-(

comment 7y ago · link · parent

Would you allow ascii characters under 32? Or would you considere it a dumb rule to disallow them?

comment 7y ago · link · parent

Indeed. And I would argue that 80% of the websites out there do not need anything complicated.

Now if you have a very rich client side desktop-like application, such as:

https://www.tradingview.com/chart

https://ahrefs.com/site-explorer

or if you are Facebook, then maybe a SPA is required.

(by the way, I picked those two examples because I'm pretty sure they do not use a SPA!)

comment 7y ago · link · parent

I use server side generated HTML pages with progressive enhancement using JQuery (I prefere it to plain Javascript). Not complicated and works very well.

Of course this is not popular/cool, though.

comment 7y ago · link · parent

Now let's see something similar but for a private coin such as Monero! :-P

comment 7y ago · link · parent

I wonder: why does everybody say it's a "Facebook currency", a Facebook project, if there are +/- 30 corporations in the association?

Does Facebook have more decision power than Visa, MasterCard or any other participating corporation?

Or is Facebook simply the main vector Libra will be promoted with?

Would Libra still be a project if Facebook was (hypothetically) shut down?

comment 7y ago · link · parent

This should be part of some philosophy course: how can one become evil, even when starting with good intentions.

comment 7y ago · link · parent

Right-Click + "Customize..." FTW!

comment 7y ago · link · parent

Still no real MERGE, sadly?

https://commitfest.postgresql.org/21/1446/

comment 7y ago · link · parent

https://addons.mozilla.org/en-CA/firefox/addon/old-reddit-re...

comment 7y ago · link · parent

At one point, you have to stop "looking for the next magical/better thing".

You pick something mature enough, that works well, and you ignore new cool trends (anyway there will be cooler things soon enough).

https://www.youtube.com/watch?v=ecIWPzGEbFc

What I am trying to do with my framework, https://www.spincast.org , is to ignore new cool trends as much as possible and focus on real use cases. Comments welcome.

comment 7y ago · link · parent

My opinion is to stick to plain SQL, but to use tools around if you like: query builders, transactions utilities, mappers.

But no ORM for me, thank you. I have already given.

comment 7y ago · link · parent

I've used ConEmu a lot, now I use ConsoleZ on Windows. It's simple and it just works.

https://github.com/cbucher/console

comment 7y ago · link · parent

Newbie question: why can't they just renew the certificate, like in 5 minutes?

comment 7y ago · link · parent

Are you one of those online (unclear)?

comment 7y ago · link · parent

Internet, you're not as free, wild and fun as you were 20 years ago, but I still love you.

82.

Spincast 1.0.0 Released(spincast.org ↗)

3 points · by electrotype · 7y ago · discuss

comment 7y ago · link · parent

Make a RealWorld.io implementation or it doesn't exist!

https://github.com/gothinkster/realworld

comment 7y ago · link · parent

I'm curious on why the upgrade mecanism to tell the server you understand and prefere HTTP3 is different from the one used to upgrade to a Websocket connection? It doesn't seem to use the "Connection: Upgrade" and "Upgrade: XXX" headers but rather "Alt-Svc"...

I'm a total newbie on the topic, so I'm curious about this.

85.

Big Bada Boom – collaborative comics(bigbadaboomcomics.com ↗)

2 points · by electrotype · 7y ago · discuss

comment 7y ago · link · parent

I use Dbeaver everyday. Thanks for it.

comment 7y ago · link · parent

I learned CSS Grids, and I like it!

comment 8y ago · link · parent

GraphQL is really nice for the client. But I have an hard time believing that this flexibility given to the client (over well defined REST endpoints for example) doesn't hardly impact the complexity of the queries to make to the database!

How it is possible for a product like Prisma/Hasura to be able to generate the complex logic of the queries required to handle real world logic and support that extra client flexibility? In my experience even regular SQL ORMs are often a bottleneck in a REST application and you need to fallback to (or only use) plain SQL.

And even if you can fallback to hand written SQL in those GraphQL backends (I hope so!), the extra complexity of the queries to make is still there because of GraphQL.

comment 8y ago · link · parent

Amen

comment 8y ago · link · parent

CSS Grids are a game changer in my opinion.

Using some "grid-template-areas" + media queries is so cool... It gives you so much control over the layout!

123456