“then” is used to depict time, sequence or a causal relationship. “than” is used with comparative adjectives, to depict comparison.
- 8 Posts
- 452 Comments
You are in violation of the Community Guidelines due to not marking the comment “NSFW”.
Of course we are not going to tell you why, but you get 1 strike./s
I see, so logically it is fine.
Just not in the context.
Same as ?
std::optional<bool> role; if (role.value()) { std::cerr ("User is admin");} else if (!role.value()) { std::cerr ("User is not admin");} else if (!role.has_value()) { std::cerr ("User is not logged in");}Here
has_value()should have been checked first, but the JS seems kinda fine.
Which is it?
ulterno@programming.devto
Privacy@lemmy.ml•Wikipedia loses UK Safety Act challenge, worries it will have to verify user IDsEnglish
1·1 year agoPicture
Usually worth around a few million characters.
Send boss a memo of the number of work-hours lost per month due to data loss caused by power-offs.
Multiply each colleague’s lost-work-hours by their salary and sum it all in the end, telling the boss how much that’s costing the company.You your boss has a boss, CC them to make sure they know the reason for why your boss will be trying to set you up in the future.
Oh, I just realised the “had”.
I like the shifted head-circle for the extra oppressive effect.
ulterno@programming.devto
Programmer Humor@programming.dev•Instant production ready codeEnglish
2·1 year agoGood that you escaped wrong, or you would have nuked your
.bashrc.\comes before the thing you are escaping⇒ overwrite from start.>to append
ulterno@programming.devto
Programmer Humor@programming.dev•Instant production ready codeEnglish
5·1 year agoSome guy outside the company: Why don’t you just remove the ability to delete the database from the API?
The guy that made the thing vibeable before being laid-off: There is no API, I just piped the ChatGPT output tosh
I removed the magnets
I have an older ASUS ROG laptop in which the sensor is a separate PCB (less than a thumb in size) connected using a few IDC pins.
It could simply be taken off and I haven’t even opened the monitor frame yet.
I see.
I used “proximity sensor” because I didn’t know what these sensors use and didn’t want to worry about it while writing that comment.
I might/might not be one.
But it definitely is a proximity sensor. Unless yours is an Apple device, in which case, it might be an angle sensor.
The term “Hall sensor” would refer to the tech used in it, whereas the term “proximity sensor” refers to its function.
It could be using any other proximity sensing technique too and it would still be a proximity sensor.
So OOP is just in the pre-sysadmin stage
Take out the lid-close sensor and use it in a side project that requires a proximity sensor.
Just make it executable using
chmod +xand call it like you would just anything you want to “run”.
If it “does not work” then you need to change your CPU by getting another motherboard. That will be $3k
You’re getting downvoted because you didn’t get reference.
forecast?
Everything
ulterno@programming.devto
Programming@programming.dev•Developer survey shows trust in AI coding tools is falling as usage risesEnglish
1·1 year agoThere is 1 particular thing where I think it can be very useful.
That is when looking for relevant documentation.It has happened to me a few times that despite enough documentation being available I am unable to find the relevant thing because even though the description in the documentation matches what I need to do, I didn’t use the correct keywords required for the search to find the correct class and I ended up using internet search.
If a language model can find relevant patterns and reduce the requirement onto the documentation writers for having to add tags to make search easier, that would be a win.But of course, no generation of new text. All that is needed is to parse the documentation and examples provided by developers and to provide links to them.
ulterno@programming.devto
Programmer Humor@programming.dev•Child labour with 10 years of experience, 'AI-native' accepting 250k lines of Cursor codeEnglish
0·1 year agoI was thinking about payment processors and banks.
They might debit more from the payer’s account and credit less to the payee’s account and that way at the end of the FY, they will have this happy coincidence of having higher than anticipated credit from the Reserve Bank.
ulterno@programming.devto
Programmer Humor@programming.dev•Child labour with 10 years of experience, 'AI-native' accepting 250k lines of Cursor codeEnglish
3·1 year agoImagine your paycheck is half what it should be because of AI.
If that were to happen it won’t be due to AI, it would be them using AI as a scapegoat.
Because they would definitely make sure to add a check to make sure I didn’t get more than that.
Even if they replace you with AI, they will make sure to call you back and pay you 10x your time for that 1 thing.






So, was the time of murder 20th of October 2021 - 1:25 PM or 21st of October 2020 - 1:25 AM?
Depending upon that, you may/may-not have an alibi.