|
I do like it, and maybe if I lived alone I'd feel that way but having to be up in such a way that I don't wake my hubby - esp since my dev machine is in the bedroom (his request) I'd be lying if I said it wasn't kind of a bummer.
But sitting in a dark room for hours isn't the greatest way to start my morning.
It's better in the summer when it's light out and I can go for a walk without it being all depressingly dreary.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: all depressingly dreary. You misspelled "all BEAUTIFULLY dreary"!
|
|
|
|
|
Gosh you would love it here.
Or London for that matter.
Real programmers use butterflies
|
|
|
|
|
I wish I could do with four hours, but I need at least seven, preferably eight, and if I don't set an alarm I get nine.
Nighttime is the best time and mornings suck, but unfortunately, I have to be up in the morning for customers.
That said, my alarm still rarely goes off before 9:00
During my two week Christmas vacation, which is kind of a thing for me, I usually don't get out of bed until 12:00 and I stay up till at least 2:00, but often later.
|
|
|
|
|
I envy your ability to sleep like that. I used to. As I get older I sleep less and less. I think I may slowly be turning into Margaret Thatcher.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: I only sleep for 4 hours at a time
I've had pets that would do that.
6 of those 4-hour blocks a day.
|
|
|
|
|
Gotta love cats!
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: I know a little Spanish but that doesn't help me as much as most of the speakers I know are in a similar time zone. Not all
That's why I always played MMROPG in USA Servers, they were mostly active during my night
Now I don't play them in such level anymore, so I switched back to EU Servers for the little time I am online
I usually sleep an average of 5 hours, but I could sleep longer.
It is just that I wake up very early (first alarm is 4:30 am) to be back home after work at 15:00h, this way I can still see / play with my kids or do things at home a couple of hours before having dinner and bring them to bed. Then "my time" starts so around 20:30 or 21:00h, and I go to bed between 22:00 and 01:00 depending of the day.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
For some reason I just don't run into a ton of Spanish speakers from Spain online. All my major haunts seem to have a lot more people from elsewhere. And y'all say your "b"/"v"'s funny.
I know more Mexican Spanish than anything, and just enough to be dangerous. It's a wonderful language to swear in.
Edit: Then again, I bet a lot of Spanish people speak English so maybe I wouldn't notice. I don't go around asking.
Real programmers use butterflies
modified 28-Nov-20 11:04am.
|
|
|
|
|
honey the codewitch wrote: I bet a lot of Spanish people speak English you would lose the bet
Foreign languages are not that extended in Spain, at least not in my generation. I am a huge exception on this.
Maybe the younger people? But I would still not bet on it, because the probability of losing is high.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Fair enough.
Real programmers use butterflies
|
|
|
|
|
Just noticed: every Christmas Day falls on one of the few days the angle is at 180 degrees (clockwise from North).
Couldn't find another reference (off the top).
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
Colour me confused!
The Solar Azimuth Angle hits 180° everyday at local noon, in the Northern hemisphere outside the tropics.
The Solar Right Ascension on Christmas day is around the 18hr:15min:00sec mark, with 00:00:00 hitting on the vernal equinox in the following year.
???
|
|
|
|
|
And me ...
Wikipedia: The solar azimuth angle is the azimuth angle of the Sun's position. This horizontal coordinate defines the Sun's relative direction along the local horizon,
So unless the earth rotates but skips a bit in the middle just to be annoying, 180o will occur every day in the Northern hemisphere.
Or is this a "40% of your sick days were on Monday and Friday!" type wind up?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I dint need no Wikipedia!
I first used a sextant when I was 8 years old, and was proficient by the time I was 11. Before the age of satnav, I took a year off to go sailing after 4 war-torn years in Baghdad, and wrote a full astro-nav program - a complete ephemeris for sun, moon, the four navigational planets and the 58 navigational stars, plus Polaris - for the HP25C in HP BASIC, and I am just now putting the finishing touches to it for Android and Windows as a retirement project, although I sold my last boat a couple of years ago - 15 metres is a bit much for single-handing at my age!
This stuff is as natural to me as left and right!
... now the sun - it rises in the ... er ... wes east, doesn't it?
Don't blame me - it's lock-down fever!
|
|
|
|
|
I'm pretty sure it rise in the sky, but after that it all gets a little hazy ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
There was a time when I understood all that stuff, and could use a sextant to check.
|
|
|
|
|
According to the NOAA, you're confused.
For China, for example, the "solar azimuth" hits 180 in 2020 on 4/15, 6/13, 9/1, and 12/25.
(The north pole doesn't rotate).
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
modified 28-Nov-20 13:35pm.
|
|
|
|
|
Well, I'm even more confused now.
The NOAA definition of Solar Azimuth, from their website:
NOAA wrote:-
azimuth and elevation - an angular coordinate system for locating positions in the sky. Azimuth is measured clockwise from true north to the point on the horizon directly below the object. Elevation is measured vertically from that point on the horizon up to the object. If you know the azimuth of a constellation is 135° from north, and the elevation is 30°, you can look toward the southeast, about a third of the way up from the horizon to locate that constellation. Because our planet rotates, azimuth and elevation numbers for stars and planets are constantly changing with time and with the observer's location on earth..
Gerry Schmitz wrote: The north pole doesn't rotate
The North Pole definitely rotates - if it didn't, nothing else would, and there would be one sunrise and sunset through the whole year, assuming the earth's rotational stasis with reference to the plane of the ecliptic.
Sudden thought - you're not a flat-earther, are you?
|
|
|
|
|
A senior citizen I know has a contract for Geek Squad, and while trying to get a minor issue resolved by a Geek via remote control, the connection dropped out, and now clicking on any icon comes back with a message like "blah blah not found".
What the h3ll is Geek Squad service worth if it ends up making the problem worse?
|
|
|
|
|
You are complaining to the wrong people.
|
|
|
|
|
It's not quite as bad as it originally seemed. The Geek was trying to get Google Chrome updated, and the connection cut off, causing this issue. Still, the Geeks should know how to deal with this situation.
|
|
|
|
|
I found myself with nothing to do this week, so I decided to make a concerted effort to repair the significant code loss I suffered back in May/2020 with respect to my entity factory app. I think I'm happy once again with the model generation, so I figured I'd post some code the app generated for me.
For those that have forgotten, EntityFactory will generate model (and optionally viewmodel) classes based on the selected table, view, and stored procedure (SQL server). What makes this app more functional than the ADO code generator is that it will generate an object for any stored proc that returns data, regardless of the method by which the data is returned (the ADO code generator refuses to work with stored procs that return data with dynamic sql, and re-generating code doesn't work in a number of spectacular ways). In the sample below, I turned on the generation of crud properties, just to exercise that part of the code. All of the code below was generated based on the returned schema for the indicated database source object. Processing took less than a second.
/==================================================================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace Models
{
public partial class EntityAlerts
{
#region entity properties
[Key]
public int ID { get; set; }
public string AlertName { get; set; }
public string AlertTitle { get; set; }
public string AlertMsg { get; set; }
public DateTime AlertStartDate { get; set; }
public DateTime AlertExpireDate { get; set; }
public int AlertType { get; set; }
public int AlertClassLevel { get; set; }
public string AlertApps { get; set; }
public string ActionName { get; set; }
public string ControllerName { get; set; }
public DateTime DateAdded { get; set; }
public int AddedByUMSUserID { get; set; }
#endregion entity properties
#region database properties
public string CRUDGet
{
get
{
return "SELECT [ID], [AlertName], [AlertTitle], [AlertMsg], [AlertStartDate],"
+" [AlertExpireDate], [AlertType], [AlertClassLevel], [AlertApps], [ActionName],"
+" [ControllerName], [DateAdded], [AddedByUMSUserID] FROM [dbo].[Alerts]"
+" WITH(NOLOCK);";
}
}
public string CRUDUpsert
{
get
{
return "UPDATE [dbo].[Alerts] SET [AlertName] = @AlertName , [AlertTitle] ="
+" @AlertTitle , [AlertMsg] = @AlertMsg , [AlertStartDate] = @AlertStartDate ,"
+" [AlertExpireDate] = @AlertExpireDate , [AlertType] = @AlertType ,"
+" [AlertClassLevel] = @AlertClassLevel , [AlertApps] = @AlertApps , [ActionName]"
+" = @ActionName , [ControllerName] = @ControllerName , [DateAdded] = @DateAdded"
+" , [AddedByUMSUserID] = @AddedByUMSUserID WHERE [ID] = @ID;"
+" IF @@ROWCOUNT = 0"
+" INSERT INTO [dbo].[Alerts] ( [AlertName] , [AlertTitle] , [AlertMsg] ,"
+" [AlertStartDate] , [AlertExpireDate] , [AlertType] , [AlertClassLevel] ,"
+" [AlertApps] , [ActionName] , [ControllerName] , [DateAdded] ,"
+" [AddedByUMSUserID]) VALUES ( @AlertName , @AlertTitle , @AlertMsg ,"
+" @AlertStartDate , @AlertExpireDate , @AlertType , @AlertClassLevel ,"
+" @AlertApps , @ActionName , @ControllerName , @DateAdded , @AddedByUMSUserID);";
}
}
public string CRUDDelete
{
get
{
return "DELETE FROM [dbo].[Alerts] WHERE [ID] = @ID;";
}
}
#endregion database properties
}
}
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Bravo! especially for the UPSERT part.
But it would be even more interesting if it could also generate PostgreSQL code!
|
|
|
|
|
RickZeeland wrote: Bravo! especially for the UPSERT part.
That's actually configurable - you can tell the app not to combine the insert and update parts.
RickZeeland wrote: But it would be even more interesting if it could also generate PostgreSQL code!
I'm going to leave that as an exercise for another programmer. Besides that, you can easily inherit the generated class, and override the CRUD properties to support your own kind of chaos.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|