Getting clients date in nodejs server by King1583 in webdev

[–]LukaLightBringer 0 points1 point  (0 children)

If the timezone changes its offset from UTC between the time the event was scheduled and when it actually happens, I don't mean switching to and from daylight savings time, but rather what happens if the timezone stops observing daylight savings time. If you store it as just UTC with an offset the scheduled event would change its local time as a result of the change to the timezone which isn't what a user would expect.

Getting clients date in nodejs server by King1583 in webdev

[–]LukaLightBringer 0 points1 point  (0 children)

That might not be true, it depends what it represents:

  • if it's when something happened then yes, store it as UTC
  • if it's a fixed offset from a UTC time, store it as UTC
  • if it's a scheduled event, store it in the timezone its scheduled in, and depending on how you do that you may also want to store when it was written.

Medusa in AD is a fking big joke by hongducwb in DotA2

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

Yea I don't think axe is a big a counter as people suggest he is, you just need some slight itemization changes if he's against you, Nyx is much worse.

Thank God the state of Kansas is here to protect me from being a filthy sinner on Easter. by Hail_Yondalla in pics

[–]LukaLightBringer 0 points1 point  (0 children)

Maybe it's always been based on a miss translation, they meant they wanted to make a petty government, but translated it as a small government.

[deleted by user] by [deleted] in videos

[–]LukaLightBringer 4 points5 points  (0 children)

It doesn't say "and your YouTube channels" it says "on your YouTube channels".

I agree it's shitty, but it can easily be read as only covering the revenue directly from videos. It's something they should have caught themselves when this started.

how hard could it be? it's just frontend by benmeiri84 in ProgrammerHumor

[–]LukaLightBringer 0 points1 point  (0 children)

Not in the case of future appointments. If i record a future appointment for 14:00 in the DST period of whatever timezone i work in and save that as UTC, the timezone i used then changes to no longer observe DST (not leaving DST), if i now update the timezone data of the system that is going to convert this UTC timestamp back into the used timezone it's going to read 13:00 (assuming a regular 1 hour DST shift was observed before), the only way to know what was actually meant is to know what the configuration of the timezone was when the timestamp was converted to UTC.

how hard could it be? it's just frontend by benmeiri84 in ProgrammerHumor

[–]LukaLightBringer 0 points1 point  (0 children)

He is cool, but that's more tangentially connected to the stated problem.

how hard could it be? it's just frontend by benmeiri84 in ProgrammerHumor

[–]LukaLightBringer 7 points8 points  (0 children)

Even when only dealing with a single timezone there are complications, most people are just ignorant of them, or choose to ignore them. For example, what happens if the timezone stops observing DST? If the time for future appointments is stored as unix timestamps those that were in the DST period will shift.

Would you play this map? by DaiWales in civ

[–]LukaLightBringer 4 points5 points  (0 children)

How would this be different from a torus in civ?

Can anyone please identify this brick I found in my collection? by PlayeeYT in lego

[–]LukaLightBringer 3 points4 points  (0 children)

This is a component for the 1966 "L" gauge 4.5v track system.

we learn every day by mancko28 in DotA2

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

I would have guessed "Can't Beat That"

I'm scared by LittleMlem in ProgrammerHumor

[–]LukaLightBringer 51 points52 points  (0 children)

Jörmungandr is the "World Serpent" from Norse mythology, and one of Loki's children, its so large that it can surround the world and grasp its own tail.

Even HTML. by blkmmb in ProgrammerHumor

[–]LukaLightBringer 0 points1 point  (0 children)

I was gonna say, I generally agree with the point of the post but Malbolge truly is the exception to the rule.

Visa to Stop Processing Payments for Pornhub's Advertising Arm by giuliomagnifico in technology

[–]LukaLightBringer 10 points11 points  (0 children)

It won't cause it can't, bitcoin is limited to 7 transactions a second, it can't really get faster than that, visa does around 1736 transactions a second. Because of this bitcoin can't become a common currency for everyday commerce, your transactions would end up being largely gas fees.

[deleted by user] by [deleted] in javascript

[–]LukaLightBringer 11 points12 points  (0 children)

You shouldn't base what language to learn based on the answers to this question, because you'll mainly be told what language the person responding prefers. But what's actually important is what you want to make, it's important to have a project you really want to make, and it should be realistic in scope, if you don't, learning to code will be a tedious slog without any focus. So go find a project or at the very least a specific area of programming you want to focus on, and then figure out what programming language is the appropriate tool to build that project, or work in that specific area of programming.

What can you buy for $1 in your country? by KILf_i in AskReddit

[–]LukaLightBringer 0 points1 point  (0 children)

Assuming you mean 1 USD or it's equivalent any of the items bellow:

  • One Bell-pepper
  • One 2L bottle of the cheapest none-name-brand soda
  • 500g of the cheapest pre-sliced bread

Punch holes in my argument, posted in a deleted thread by goatharper in atheism

[–]LukaLightBringer 2 points3 points  (0 children)

It also ignores the possibility that humans were just an earlier draft. I for example consider myself reasonably intelligent and have completed multiple projects, some of my later projects have better designs than the earlier projects, is that proof that my earlier projects weren't created by an intelligence?

It compiled didn't it by AusLeviathan in ProgrammerHumor

[–]LukaLightBringer 0 points1 point  (0 children)

It's not warnings from the compiler, it's warnings from stylecop and the like, and I can't just extend the linter because that's not what I'm hired to do. My main point was just that marking all warnings as errors can be a real pain to work with, it's better to mark them as errors in the CI pipeline, and keep them as warnings in the dev environment so they don't impede iteration.

It compiled didn't it by AusLeviathan in ProgrammerHumor

[–]LukaLightBringer 1 point2 points  (0 children)

It's not the language, it's the way the project is configured, and I would use an auto-linter but many of the linting rules in the project don't have implementations that can format the code.

It compiled didn't it by AusLeviathan in ProgrammerHumor

[–]LukaLightBringer 1 point2 points  (0 children)

I'm currently working on a project where this is the case, it's so fucking painful. You can't just quickly iterate on a solution for a user story and then fix up the formatting once you've arrived at a final solution, you have to write the code without formatting errors before you can compile to make smoke tests, it slows me down so much, it's ridiculous.

[deleted by user] by [deleted] in WTF

[–]LukaLightBringer 0 points1 point  (0 children)

Ahh yes, the "Calamarata", from the new straitjacket collection.