Hacker News new | past | comments | ask | show | jobs | submit | more dieulot's comments login

“Flambéur” isn’t right but “flambeur” means something else entirely (gambler). “Flambéer” would be more legitimate but would be hard to decipher. The title tag plays it safe and uses “flambé restaurant server”.


"flambeur" means someone who sets things on fire. Either literally, as in this case, or metaphorically, as in money.


Flambeur with this meaning is a metaphor (it can mean gambler, or just overspender).

Its literal meaning as "quelqu'un qui flambe" remains correct too.


like somebody who "burns through money"


40% improvement versus what? A docker container for nginx and another one for PHP?


Compared to nginx and PHP-FPM installed on a host machine. All running opcache, JIT etc. Was pleasantly surprised. Note this is up to 40%, not all apps we’ve run have seen same improvement.


I had a legit $13k offer for 180k users recently (even though it looked super shady, and the result for end-users would probably have been gross).


The catch with those enticing monthly offers (versus selling the extension) is that you are taking the risk to get your extension taken down, while the offerors can at any time switch to another partner/victim.

Blog post from an ex-Chrome extension DevRel: https://dotproto.com/2023/06/06/a-warning-about.html


Could you link to a site where you’ve rolled your own SPA? Or ideally the source code. I’d like to take a look as not many people do that, even less do so with enough attention to detail not to cause UX regressions (not that third-party solutions are brilliant either).


I'm an enjoyer of anonymity online and would rather not doxx myself. However if you have a specific question, I'd be happy to answer. I use js/jq for the front-end and php for the backend. Once you have your own CMS, turning it into a SPA means turning your index.php into a index.html that is php free and relies on ajax calls to change the content. So at minimum you need a mainbody.php and a head.php that accept inputs. After that it's just onclick actions on buttons that trigger the ajax function changeMainbody(targetPage). Or changeHead() after a user loggs in. On the phone app side you use the regular WebView, to avoid any cross-origin blocks and problems. Alternatively you can run it locally and pass the cookies as inputs - depending on the app needs. Should be safe using https, right? I fully expect to be scolded by someone with 20years more experience, but I guess that's how you learn.

Of course there's more to it, depending on the app needs. In my case it also auto refreshes the contents on a js timer.

What UX regressions did you have in mind as troubling? Things like resetting one's password if forgotten? Well all those things need to be turned into their own ajax calls and php scripts as well and sometimes reworked to fit mobile users needs. For resetting passwords specifically I just copied what Twitch.com does.


(Not OP) The kind of regressions I'd think of would be things like:

- updating the URL state when someone clicks on a button

- proper back-button support in the browser that takes me back to the prior 'page'

- being able to navigate to any URL deep in your app and get a valid response (ideally rendered server-side so there's no client-side loading delay).

Things like these are hard, and the reason why it's common advice to use a framework and not hand roll. If you hand roll but don't support these things gracefully, you're making a case for not hand rolling.


True. One needs to build it's own "router" if you will. But in practice that means writing functions that modify the URL (some pushState(url) and scrollTo(top) stuff) and make them part of the primary function, so you can forget about it (I'm a functional programmer). Same with adding/substracting from the history stack. 1h of work each. Is that too much?

It really just worked without much troubleshooting. Most trouble I've had was with cookies and cross-origin problems (or weird client requests).


I used curl|grep every 3 to 10 seconds manually.


Took the second-to-last successfully, thanks!


PhotoFiltre is an image editor that opens so fast that I could set it as my image viewer back when I used Windows, on low-end hardware.


Neither, it’s placeholder content used as part of a collection of web layout experiments, hence the weird URL. https://waivek.github.io/website/



Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: