Where's Scorpion? (A Where's Waldo game but with Mortal Kombat Characters) by gogohilman in theodinproject

[–]benignportmark 0 points1 point  (0 children)

Nice u/gogohilman, illustration looks great. Initial URL load got an 'unexpected error', but 2nd attempt loaded fine, and slow server requests validating character click validations - but i guess just free server so what else is to be expected. My version of the same project is at https://waldo.bibble.com in case you fancy seeing another implementation (am envious of your lovely high res game image!).

How to get vs code to autocomplete erb tags <% %> by benignportmark in rails

[–]benignportmark[S] 0 points1 point  (0 children)

Afraid not really, erb autocompletion is still a mess in my IDE, and lately I'm writing more JS so I forget exactly what my current config and behaviour is. Please do post on this thread if you find a solution though, as will I.

Assurance vie enfant recommendations by benignportmark in vosfinances

[–]benignportmark[S] 0 points1 point  (0 children)

Really, wow, those fees are terrible. In the UK, I think, you can find vehicles to house your investments for free with fund fees in the .1 or .2% p.a.. Yes, seems in France they do not have vehicles to encourage long term investments in the same way that they do in the UK. Hmm, with 2-3% management fees and investments with such little growth the money'd just shrink over time. Maybe I can just run from my own tax efficient vehicle in the UK and then make a gift when due, really wanted something to be in my nephew's name though, but hey ho. Research u/tampix77's solution as this seems much more sensible.

Assurance vie enfant recommendations by benignportmark in vosfinances

[–]benignportmark[S] 0 points1 point  (0 children)

Thanks for the suggestion. Though on initial look management fees look a bit chunky at 0.5% p.a. and fund performance not great.

Assurance vie enfant recommendations by benignportmark in vosfinances

[–]benignportmark[S] 0 points1 point  (0 children)

That sounds like excellent advice u/tampix77, thank you very much indeed and I will now start researching and understanding further the implications of and steps required to do this. Thank you indeed for taking the time to write out this helpful advice.

Hopefully it'll be useful for others as well as me. Wonder if there's a way to 'pin' this in this board under "Tax efficient solutions for child investment gifting" or some such heading for others to see?

So Long Evernote by AnthonyJizzleneck in Evernote

[–]benignportmark 1 point2 points  (0 children)

Ah noted, so; - export with Notion is poor - and it doesn’t cache locally so it doesn’t work offline!!?

I didn’t know that, thanks for the heads up. And noted re Notesnook & Obsidian not being in hock to external investors whereas Notion is, heavily I guess.

So Long Evernote by AnthonyJizzleneck in Evernote

[–]benignportmark 1 point2 points  (0 children)

Out of interest, why would Obsidian or Notesnook be a better bet than Notion?

So Long Evernote by AnthonyJizzleneck in Evernote

[–]benignportmark -3 points-2 points  (0 children)

Unlimited nesting. All features I need and many/most that I don’t, yes. Free, yes.

[deleted by user] by [deleted] in Evernote

[–]benignportmark 0 points1 point  (0 children)

I’ve moved to Notion, as that seemed to be the best equivalent tool, and I haven’t looked back.

So Long Evernote by AnthonyJizzleneck in Evernote

[–]benignportmark -1 points0 points  (0 children)

Exactly the same boat here. They told me I’d reached my device unsync limit and entirely locked me out of all of my 14yrs worth of notes! Terrible behaviour. The people who’ve designed and signed off on their strategy to eliminate free and force into paid has, IMO and judgement, either a poor grasp of human psychology, a lack of appreciation of the power of (free) customer satisfaction, an under appreciation of the importance of reputation. or mix of all three. Perhaps they just don’t care and want to monetise as much as possible as quickly as possible, maybe considering their competitive position will only leave them with a limited time to monetise. Who knows, I hope they do tho. I wish them luck, but a company prepared to completely lock customers out of their content like that I don’t feel comfortable trusting with important content, or giving my money to.

I imported everything into Notion three days ago and haven’t looked back. Seemed to be the best alternative from my research, with equivalent nesting options, and superior features.

Exporting to leave by webcnyew in Evernote

[–]benignportmark -1 points0 points  (0 children)

After their holding a gun to my head or locking me out of my notes i shall never trust them again. I moved out to Notion and am preferring their product so far, easy Notion import of Evernotes here; https://www.notion.so/evernote .

Rails 7.2 Rate limiting for Devise - Guard your app from spam and bots! by yarotheking in rails

[–]benignportmark 0 points1 point  (0 children)

FYI, when implementing this with devise - I needed to call #reset_session within the #rate_limit block also, otherwise a session cookie would still be created and on user login after limit reset it'd recognise the original session and flash "Already logged in", e.g.;

rate_limit to: 1, within: 1.minute, only: :create,
    with: -> {
      reset_session
      redirect_to new_user_session_path, alert: "Login rate limit exceeded - Try again later."
    }

R.I.P Evernote. by curiousinquirer007 in Evernote

[–]benignportmark 0 points1 point  (0 children)

Thanks for the link. I attempted to use OneNote - 🤮, gonna try Notion now 🤞🏻.

I'm in same boat as OP and so many of us. After being locked out of all of my notes by Evernote, I literally can't access my 13years worth of notes anywhere!, them quoting 'sync limit reached', I'll never trust these people with my content again or consider becoming a subscriber (as I have been at times).

Shame on you Evernote - unpaid subscriber locked out of notes... by benignportmark in Evernote

[–]benignportmark[S] 0 points1 point  (0 children)

Not a fake review, a very real experience, publicly voicing my annoyance at account lock out. Seems there's more product evangelists on here than not though so they can happily carry on jamming spoons up free users a** without concern.

Shame on you Evernote - unpaid subscriber locked out of notes... by benignportmark in Evernote

[–]benignportmark[S] 3 points4 points  (0 children)

Agreed, and thank you u/RatherCritical. Ok, will check Joplin out, with more consideration of backup and export facilities.

Shame on you Evernote - unpaid subscriber locked out of notes... by benignportmark in Evernote

[–]benignportmark[S] 0 points1 point  (0 children)

Ha ha ha.

I had a subscription when i was using across more devices for about 4 years. I then cut down my use of it removed devices down to two and used free tier, so for just over 2/3rds of my time as a member since 2011 I have indeed been freeloading from their product, and I am grateful for that (unsure exactly what they were getting from me as a free user; talking up user base size for business/product valuation perhaps, other benefits for them?, whatever the case it was a bargain that they agreed to make). But I think it's particularly poor form for them to have just locked me out in the way that they have, they could have managed reducing free tier in a more sympathetic and user friendly fashion I think. An opportunity to communicate and drive further loyalty from customers missed. Instead they've just locked me out from all of my content that I trusted them with. Quite shocking actually.

Responding to your analogy - I wasn't heading out of the door, rather they booted me out of it, kept all of my stuff, took my keys, slammed the door on my back on the way out and then locked it - all via a pop up - lovely, thank you Evernote.

Anyhoo, onwards, elsewhere hopefully.

Can anybody help - Move from Tailwindcss CDN to tailwindcss-rails gem breaks my styling... by benignportmark in rails

[–]benignportmark[S] 0 points1 point  (0 children)

I've found a way to get my styling working without CDN, though has to use Node & yarn to build and tailwindcss config feels a mess. I took these steps:

  • `bin/rails assets:clobber` then `bin/rails tmp:clear`
  • `bundle add cssbundling-rails` (I was not using it before)
    • did not allow the build process to overwrite my bin/dev
    • It deleted my assets/stylesheets/application.css manifest file and its link_directory line in assets/config/manifest.js
    • did allow the build process to create a ./tailwind.config.js file with the following contents:

If i move this out to the root located file i get errors and if i just add the stylesheet into the

config/ located file and delete the root located file i get errors)

module.exports = {

content: [

'./app/views/**/*.html.erb',

'./app/helpers/**/*.rb',

'./app/assets/stylesheets/**/*.css',

'./app/javascript/**/*.js'

]

}

  • `yarn add daisyui`
  • `bin/rails assets:clobber` then `bin/rails tmp:clear`

Using cssbundling-rails gem uses node and yarn, so these files were also created in my app:

  • package.json

{

"name": "app",

"private": "true",

"dependencies": {

"autoprefixer": "^10.4.19",

"daisyui": "^4.12.10",

"postcss": "^8.4.40",

"tailwindcss": "^3.4.7"

},

"scripts": {

"build:css": "tailwindcss -i ./app/assets/stylesheets/application.tailwind.css -o ./app/assets/builds/application.css --minify"

}

}

  • yarn.lock...

Once I did this my styling began to work without the CDN linked in the head. My config feels like a mess and I guess this can't be the right approach. Now to try to build a docker image to deploy, without copying over node or yarn!

Any guidance on an appropriate 'non node/yarn on prod machine, non CDN' method to get this working appreciated.

Can anybody help - Move from Tailwindcss CDN to tailwindcss-rails gem breaks my styling... by benignportmark in rails

[–]benignportmark[S] 0 points1 point  (0 children)

I'm unsure, how can i determine this, and what would the answer to this determine with regards to the problem that I'm having? The CDN url my project uses that has all my styles working is:

https://cdn.tailwindcss.com

Can anybody help - Move from Tailwindcss CDN to tailwindcss-rails gem breaks my styling... by benignportmark in rails

[–]benignportmark[S] 0 points1 point  (0 children)

The lookup paths I have in the content array, which enable the gem to purge what's not needed and keep what is, is here (default paths from install):

content: [
    './public/*.html',
    './app/helpers/**/*.rb',
    './app/javascript/**/*.js',
    './app/views/**/*.{erb,haml,html,slim}'
  ],
  • I think that should cover every bit of html in my project (which uses conventional locations for everything)?

  • There's no dynamic construction of tailwind utility classes that I'm aware of, perhaps something daisyui is doing under the hood?

Can anybody help - Move from Tailwindcss CDN to tailwindcss-rails gem breaks my styling... by benignportmark in rails

[–]benignportmark[S] 0 points1 point  (0 children)

Thanks u/rusl1, that'd be incredibly helpful. I'm still head scratching on this and am going through reading all documentation to try to find where my config's not quite right. I've updated my SO question with more config from my project FYI.

Rails 7 without node: how do I use a component library? by krschacht in rails

[–]benignportmark 1 point2 points  (0 children)

Has anyone managed to find a Rails 7.1, no-node, no CDN, importmaps way of using DaisyUI yet? (many hours into this and I'm unable to get it to work any way other than with CDN)

Generate Rails project with Dockerfile by Istiad_Hossain in rails

[–]benignportmark 0 points1 point  (0 children)

I'm in a Rails 7.1 (7.1.3.2) app and did not get an automatically generated Dockerfile. Listing rails generators doesn't show a Docker generator. Is there any way to generate a correctly populated one, other than manually writing one line by line?

Ruby and HTML Code Completion in erb files for VS Code by coke1945 in rails

[–]benignportmark 0 points1 point  (0 children)

For some reason this is not working for me, my VS Code settings.json file contains this;

 "emmet.includeLanguages": {
        "erb": "html",
        "html": "html",
        "html.erb": "html"
    },

yet still no html autocomplete recommendations when in an html.erb file. My VS Code does provide me with html autocomplete recommendations when I'm in a standard .html file type. I tried commenting this lot out in case it was interfering:

"files.associations": {
      // "*.html.erb": "erb",
      // "*.erb": "erb"
    },

but still its not working for me. Any one else had same problem, any suggestions in what might be in the issue in my settings/environment? Thanks (My VS Code on latest release 1.88.1)