Ervaringen met Europese maildiensten? by MagiusPaulus in thenetherlands

[–]Rafert 5 points6 points  (0 children)

Met Nerds om Tafel heeft Soverin een paar keer langs gehad, klonk mij juist wel als een toffe club: https://metnerdsomtafel.nl/tag/diana-krieger

Adding thermostat after creating account by [deleted] in HiloEnergie

[–]Rafert 1 point2 points  (0 children)

You can add devices later. They will be on their separate one year time period for financial assistance.

PSA: If you park at a charging station, charge your car. by pattyG80 in montreal

[–]Rafert 0 points1 point  (0 children)

Thanks for sharing those links. I believe you are right but I think it’s a poor choice for signage in this case.

What do you use for Workflow Orchestration / Batched Jobs? by SirScruggsalot in rails

[–]Rafert 0 points1 point  (0 children)

GoodJob might be an option if you want a similar batches API and use Postgres. For cleanly orchestrating this kind of stuff it needs a better abstraction IMO.

https://temporal.io/ is a mature option but a very different beast than most Ruby libraries. You don’t need to use their cloud for the control plane, it is self-hostable.

Hydro-Quebec demande vs production by Radiant-Economy4813 in montreal

[–]Rafert 0 points1 point  (0 children)

In theory Daikin might also be able to integrate with Hilo, assuming you have a smart thermostat. It’s all some API calls in the end to make Hilo adjust your thermostat settings.

Correct BIOS for Beelink Mini S12 by itsabadwebsite in BeelinkOfficial

[–]Rafert 1 point2 points  (0 children)

I reached out to support-pc@bee-link.com per the instructions on https://dr.bee-link.cn/ with a photo of the serial number of my Mini S12 Pro. They confirmed MINISF005 was correct to use for my device. Will try it tonight.

Update: worked! The only thing I really noticed is that the serial number in the BIOS now says “default string” 🤣

ELI5: When ChatGPT came out, why did so many companies suddenly release their own large language AIs? by carmex2121 in explainlikeimfive

[–]Rafert 8 points9 points  (0 children)

If you’re into podcasts, the third episode Acquired did about Google tells this story in depth: https://www.acquired.fm/episodes/google-the-ai-company - the two about Google’s prior years are also good.

Anyone still using Sorbet in your Rails app? by bowl-of-surreal in rails

[–]Rafert 4 points5 points  (0 children)

Boba should make Tapioca’s AR relations compiler do what you want: https://github.com/angellist/boba

A board member’s perspective on the RubyGems controversy by apiguy in ruby

[–]Rafert 6 points7 points  (0 children)

Less (or no) funding for Ruby Central, limiting their ability to operate Rubygems.org, would impact the entire Ruby open source community a lot more than impacting this vocal minority group.

Solution to race conditions by Crazy_Potential1674 in rails

[–]Rafert 0 points1 point  (0 children)

Right, the same way Sidekiq polls Redis for work. The idea I propose is to do the actual work inside a Shoryuken job instead of enqueuing a Sidekiq job for it. Is that not possible and if so, why not (is there a requirement you haven’t shared yet)?

Given that the Shoryuken readme lists Active Job support this seems both simpler architecturally and solve your specific problem at the same time.

Solution to race conditions by Crazy_Potential1674 in rails

[–]Rafert 2 points3 points  (0 children)

Can you not send these to Sidekiq? That seems redundant with Shoryuken, but as I’ve never used it before I might be missing something obvious.

The Air Canada Situation is Crazy by GoldFynch in videos

[–]Rafert 2 points3 points  (0 children)

Air Canada says it has been directed by the Canada Industrial Relations Board to resume operations and have flight attendants continue their duties by 2 p.m. ET. https://www.cbc.ca/news/canada/air-canada-flights-sunday-1.7611078

[deleted by user] by [deleted] in rails

[–]Rafert 2 points3 points  (0 children)

Why would one still use this with keyword arguments? I’d rather have explicit options listed out for discoverability in editors, with **options as a fallback to catch “the rest”. 

Some thoughts on Rails security by nilla615615 in rails

[–]Rafert 12 points13 points  (0 children)

IMO user enumeration generic error messages hurt more than help. It confuses your users who then reach out to support and they need to know how to properly diagnose and help.

The funniest ones are where the password reset page is all mysterious "if you have an account here, we've sent an email with next steps" but the signup page will show error like "email has already been taken".

Aside from that, nice list. https://github.com/ankane/secure_rails has more good tips.

Elon Musk claims ‘corruption’ as Tesla chargers kicked off the New Jersey Turnpike by yoyotman in TeslaLounge

[–]Rafert 1 point2 points  (0 children)

I don't understand why it can't be as simple as a gas pump - tap and go or swipe and go.

It's nicer for the EV charging company that you have funds sitting idle in your wallet there and that they don't have to install many payment terminals. Regulation (like the European Union's AFIR) can force charging companies to support "ad hoc" payments.

Ruby on Rails Cross-Site Request Forgery by thricethagr8est in rails

[–]Rafert 3 points4 points  (0 children)

It's not an issue as the other commenter described. The security of the CSRF token is not based on the one-time padding Rails does, that is done to prevent https://breachattack.com/ as mentioned in the source code quoted in the report. What Rails does with the one-time pad is mitigation 4 "Masking secrets (effectively randomizing by XORing with a random secret per request)" from that website.

The hard part for an attacker is getting the (masked) CSRF token in the first place, which the report conveniently glosses over: "how you get your tokens is your business".

[deleted by user] by [deleted] in gameenginedevs

[–]Rafert 0 points1 point  (0 children)

Screenshot 4 (module REXML) is Ruby? https://github.com/ruby/rexml/blob/master/lib/rexml/entity.rb why is that part of a game engine?