« first day (3653 days earlier)      last day (1285 days later) » 
02:00 - 21:0021:00 - 23:00

2:37 AM
@juanvan so it doesnt get coppied to install directory?? maybe windows stops it for security issue? is it named same as some windows dll?
i dont know if that is even a thing. just an idea.
 
3:37 AM
posted on October 13, 2020

An important step in moving my blog to Azure was to consider getting this .NET app, now a .NET Core app, to run on Linux AND Windows. Being able to run on Linux and Windows would give me and others a wider choice of hosting, allow hosting in Linux Containers, and for me, save me money as Linux Hosting tends to be cheaper, even on Azure. Getting something to compile on Linux is not the same as

posted on October 13, 2020

An important step in moving my blog to Azure was to consider getting this .NET app, now a .NET Core app, to run on Linux AND Windows. Being able to run on Linux and Windows would give me and others a wider choice of hosting, allow hosting in Linux Containers, and for me, save me money as Linux Hosting tends to be cheaper, even on Azure. Getting something to compile on Linux is not the same as

 
wasup
 
mr5
too early
 
4:03 AM
yo mahman
ever used oracles bfile column?
im trying to save images but is looking for an alternative so it will not bloat my db in the long run
 
mr5
bfile?
are you trying to save images in database?
 
yeah.
but as an alternative, im looking to save them in an external flat file.
the bfile column contains the path and the filename.
but i still have some question
 
mr5
that's not an alternative, that's the right way.
 
i dont wanna save them directly to the db.
i can save them directly as blob.
but i didnt
 
mr5
you only save the path in db and store the images as files in the storage device.
 
4:13 AM
im saving it in a flat file so im converting the image to blob and saving it elsewhere
not in the db. in the db im just saving the path and the filename
is that what youre saying
we in the same page?
 
mr5
no
 
you mean like just copy the damn img to a path
 
mr5
why do you need to convert it to blob type?
 
and save the filename
and the path
 
mr5
I am really not sure if there's a blob type format but nonetheless, it shouldn't go with that process.
why do you need to separate the filename and the path?
 
4:15 AM
ihave this extension of postgre
 
mr5
what I am just saying is: save the image file as a binary (as is), save the relative path to the database.
 
allows me to write and read external files, pretty much the bfile function in oracle.
the standard saving images is to convert to blob and save to db. however i dont wanna bloat the db with blobs so im taking the liberty to write it in an external file
and save it elsewhere
 
mr5
dude
 
o
\o
 
mr5
yeah, my approach would lead you to it.
1. save relative path to db
2. save the binary file anywhere in the internet
3. ...
4. profit!
now, to retrieve it:
1. query db.
2. know the address where you save the image.
3. append the path with domain address (domain address + relative path)
4. ...
5. profit!
 
4:20 AM
but the thing with the extension is the readme function takes (path,filename)
filename is a text file with the binary in it.
so does that mean that 1 image would equate to 1 text file?
thats my argument now. so i trying to find sources how its done in oracle with bfile
 
mr5
why is there a need to use this extension you're talking about?
 
coz i thought it will allow me to write and retrieve multile binaries (photos) from a single text file.
and primarily i dont wanna write the binaries in the db.
but if this is going to impede the development further im going to put it directly to tables
 
mr5
> multile binaries (photos) from a single text file.
a wut
this is basically how store (zip) works
and also similar how databases works
why do you need to store all images contents in a single file?
 
so i wouldnt have multiple files.
basically i just wanna offload the photos
 
mr5
why?
 
4:24 AM
save db space. im expecting tons of photos.
 
mr5
why do you think having multiple files hurts performance?
why do you think storing them in a single file saves storage space?
 
coz if 1 photo equates 1 text file then its defeating the purpose
 
mr5
well, yeah it could if you compress them but you always have the need to decompress it (additional processing time)
@c0dem0nkey purpose of what exactly?
why are you keep mentioning text file?
 
lemme just give you the extension github.com/darold/external_file
 
mr5
text file is a file format where human can read it.
most image files are binary file
 
4:27 AM
coz im converting the images to bytea/blob then storing them to a text file not the db.
were disconnecting somewhere
 
mr5
where are you going to read the images from?
 
xamarin upload
then throw them in the api. process them there
 
mr5
ah I see. The thing with SQL having the need manipulate/automate files for you will always put developers in confusion.
so it seems you are forwarding all the tasks into SQL to upload and read the images for you, is that correct?
@c0dem0nkey if you want to avoid the database from being bloated with binary files, I suggest you to not use the library.
what you can do instead is:
server-side: create an API in the server that accepts file upload and store it anywhere you want, save only the relative path in the database.
client-side: create your upload function using HttpClient.
 
mr5
4:45 AM
also see this:
197
Q: Storing images in SQL Server?

markoI have made a small demo site and on it I am storing images within a image column on the sql server. A few questions I have are... Is this a bad idea? Will it affect performance on my site when it grows? The alternative would be to store the image on disc and only store the reference to the ...

Which I think applies not only in SQL server.
 
thats baasically what im doing
except that im saving it in a flat file
or in the db directly. thats my only argument.
 
mr5
then why are you using the SQL extension you mentioned earlier?
I see.
It's not what I thought it was. Well then, use it at the same time, store the relative path in the database.
but using that extension wouldn't let you upload the file in different computers though. It seems it only works locally.
 
6:13 AM
o/
Storing images in the database has advantages.
- ACID
- SQL logs & backups
- Single source of truth
- Only served when explicitly allowed
Also disadvantages:
- DB space cost > file space cost
- Worse performance vs kernel acceleration on flat files
- Custom file handler method
Neither approach is good or bad. It just depends.
 
 
2 hours later…
8:37 AM
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' pleberinos!
Nice way to start the day 2hr meeting :'D
God they are old
@Hozuki \o roel
Jack, funfriday
> - ACID
I'd have some two please
yesterday, by Squirrel in training
16 hours ago, by Squirrel in training
2 hours ago, by Squirrel in training
3 hours ago, by Squirrel in training
37 mins ago, by JackSparrow
42 mins ago, by ntohl
WD40
 
mr5
9:01 AM
all of a sudden I can't directly open .js files anymore.
this is what's launching instead of the default app associated with the file type.
Ah finally I fixed it.
 
lul
scrub
nub
get rkt
 
mr5
u w0t m8
 
come fite me
 
hiya
 
9:40 AM
I just decided to use .NET 5 for next production project, with CoreRT NativeAOT if possible :D
 
Is that good?
 
I just finished installing VS 2019 Preview, can't confirm yet...
 
mr5
@DKDhilip how's the project?
 
I want to use .NET 5 but it's still a RC, isn't it?
 
Why tthe prview of 2019 oo
Radio controlled?
 
9:42 AM
@mr5 Which project? My R&D project?
.NET 5 RC requires preview version of VS
 
mr5
@DKDhilip that thing you said months ago.
 
That thing is on hold now :(
 
I have another project which is a top priority
 
Isn't evrything top prio?
 
9:48 AM
Slacking is one of them :D
 
my boss would actually tell me that everything was top priority, in all seriousness..
I once tried to explain to him that when everything is top priority, nothing is, but he looked at me like I had just told him I didn't want to work or something
 
@Feeds Shut It!
 
10:39 AM
We had a customer do priorities on features they wanted.
He just gave everything top prio and returned the list.
 
it's sad that people don't seem to understand the concept of priority
 
Yeah
Maybe they think it will pull more devs to the project.
And not thinking in the "project" scope but in the "company doing my project" scope.
Ergo "Hey if i give it all top prio, they'll pull more people on this job"
 
"Guys, get in here quick! The client said that ALL THE THINGS are top priority!"
5
"But sir, my mother died yester.."
"Doesn't matter! Top priority is top priority!!!"
 
Fetch me my fire resistent keyboad, cuz my fingers will be lit!
SOMEBODY TURN OF CODE QUALITY CHECKS!
 
Scope is a real creep. I mean, we've gotten a restraining order against this creep but scope keeps creepin
4 yrs on project. We're to deliver by Jan '21. And we're still uncovering requirements. No req's gathering was done and we were brought on later
 
11:12 AM
I wish I had said no to one of my clients because the thing I'm working on for him has taken ages now lol
 
mr5
12:10 PM
@Freerey how long did it take you to create your website?
 
the autorise one? I mean it went live 5 months after I first created it, but it couldn't have taken more than a few hours of the day in a week to get it where I wanted
 
- squarespace.com/affiliate/squirrelInTraining
 
mr5
that's fake website
@Freerey I'm hesitating to do my website and APIs in NodeJS now. I'm not sure if I know how to webdev anymoar
 
what I did on my website was hardly web development; itw as just taking an existing template and putting my own text+images in it
really it was only once I made the banner when I was like "okay we're almost done here"
drawing the banner and icon took the most amount of time lmao
especially when I basically had a nervous breakdown in the middle of thinking what to make the AI mother character look like
 
12:16 PM
@mr5 Write code, test code, publish code, repeat. This is how you dev.
 
mr5
right. I forgot where to start again :D
 
Don't worry too much about what is right and what is wrong and just do whatever, improve it as you learn
 
I don't think George Lucas ever thought that actually would be possible 40 years later
 
mr5
@Squirrelintraining big lighter!
 
12:17 PM
yeah very biqq
 
mr5
yujj!
 
I wonder if they'll ever trash their workshop because the pushed to far
 
mr5
@Hozuki I was actually doing a lot of web dev stuffs back in college but it's mostly php, mysql, nodejs (5 years ago)
 
Well, php, mysql, and nodejs are still valid technologies today ;d
 
BRUH I saw that last night!
 
mr5
12:19 PM
@Squirrelintraining they outsourced the thing that produces plasma (lighter) right?
 
we just gotta wait until we're able to clash sabers together instead of just having them pass through each other
 
mr5
wut u mean "still valid"
u think it got outperformed by most of its competitor?
 
no
@Freerey put enuff pressure against that blade and it's possible
 
mr5
gun > light saber
 
Lazzer gun > gun with no firing lazzers
 
12:22 PM
but guns are uncivilized
 
I wonder if the sound they used for the lightsaber is copy righted
 
mr5
guis
any suggestion for database?
 
And disney sue them for using the term "light saber" or using the sounds.
Would be so disney like
 
mr5
that is free (if possible)
 
"lets sue this awsome thing that is clearly a ripoff of our good name"
@mr5 SQL Server Dev
and local serving
 
mr5
12:24 PM
izz free?
 
iirc yes
or sql express izz
 
mr5
can my nodejs connect to it over the wire?
 
and i don't know
 
mr5
kekk
@Squirrelintraining link?
hmm. my be I really don't need rdbms.
what if I just need a storage? what would be the best option?
 
@mr5 Depends, what for?
 
12:39 PM
@mr5 iirc = if i remember correct
 
mr5
yeah, I mean, link to that free claim kek
@Hozuki I think for mvp, I only need internet storage space.
 
It all depends on scale and where you run your thing. For most small websites, I'd say, use SQLite. Unless you run serverless or something.
 
mr5
something I could upload/download with authorization
 
https://www.microsoft.com/de-de/sql-server/sql-server-downloads
you lazy poric do that urself
> Developer

SQL Server 2019 Developer is a full-featured free edition, licensed for use as a development and test database in a non-production environment.
> Express

SQL Server 2019 Express is a free edition of SQL Server, ideal for development and production for desktop, web, and small server applications.
 
mr5
izz alien language
 
12:45 PM
trolololo
 
mr5
y do u understand that alient language? r u alien?
 
No me squirrel!
Here englisch version microsoft.com/en-us/…
 
mr5
what name should i put in subscription name?
@Squirrelintraining thnasks!
 
np brah
glad to hlp
@mr5 mr5
 
mr5
why is the subscription need a name!?!?
hiyaa
 
12:50 PM
yeeee
 
mr5
@Hozuki have you really tried to use sqlite in a website?
okay
I will mix nodejs, sql server, and google. haha
 
mr5
google for my leaderboards and user identity
sql server for my storage
nodejs for my api
 
yo yo yo
 
mr5
@Squirrelintraining should I use elastic pool?
is that a swimming pool made from rubber bands?
 
12:56 PM
remember important videos? 👀
 
mr5
am I doing it correct?
I want this db to be expose publicly
@Hozuki pls
halp
tis my setup:
6 mins ago, by mr5
google for my leaderboards and user identity
sql server for my storage
nodejs for my api
so I want to connect them altogether
@Squirrelintraining u lied to me
 
Never trust the squirrel
 
mr5
welp, changing it to serverless reduces the cost to just ~4USD/mo
I'm not even sure what that means and I'm too lazy to look it up
I think I will just resort to php again with free hosting
 
Ryan Donovan on October 16, 2020
Welcome to ISSUE #43 of the Overflow! This newsletter is by developers, for developers, written and curated by the Stack Overflow team and Cassidy Williams at Netlify. This week, we’re coding for the long game, learning the difference between cats and not cats, and translating our favorite JRPGs into English. From the blog Play the long game when…
 
apparently keeping your Windows PC on indefinitely causes the memory to bloat up to 99% for no reason
 
mr5
1:09 PM
never happened to me
 
Hey guys
help please: imgur.com/a/WTYeY63
what's that error?
Never encountered one before
 
a "too many requests" error?
 
Nope
 
then why does it say too many requests?
 
1:20 PM
Where?
 
{"errors":[{"id":"","code":"429","status":"Too Many Requests","detail":"Too Many Requests"}]}
at the top bar
 
too bad you can't paste the image here
 
@d4rk4ng31 You've made a library, not an executable
 
if you link ends with a .jpg or some other extension, your image will show up here
 
@Neil I selected xamarin.forms when I created a new project
 
1:22 PM
@d4rk4ng31 ok, well you can make a library of xamarin forms if you wanted
a library is a library, and an executable is an executable
 
Switch from the Any CPU to something like x64
 
oh! okay
 
that taskbar is hella transparent/aero
 
1:24 PM
@mr5 no i didn't
 
I just realized my transparency effects have been off the entire time
 
@Neil This is what I selected while making one
 
You are going on azure
I said on your machine
you just no lsiten
you dumb little boii
 
mr5
why is the sql server installer looks like an executable made from 2000s
 
@d4rk4ng31 you still have to choose the CPU..
You can't compile a program to become an executable which can literally be run on any machine you know
if you want to test it on your computer, choose x64
 
1:26 PM
@Neil It builds successfully
I want to test it via ADB on my device
 
@d4rk4ng31 good, now run it
 
@Neil Okay, lemme rephrase; it was always building successfully
 
you have to compile it for x64, and then run the executable for the compilation for x64..
you cannot run something compiled for "Any CPU"
 
These are the options I have:
Configuration Manager:
 
iPhoneSimulator would be my guess, if you wanted to test it on your computer
 
1:28 PM
@Neil Its not a mac
 
mr5
@d4rk4ng31 you cannot run the shared project (XamarinForms). You need to run either Android or iOS
 
@d4rk4ng31 I didn't say it was a mac
 
mr5
Select a project to run next to the [Any CPU]
 
@mr5 Worked like charm
Thanks :))))
 
mr5
np
why is Azure dashboard hella complicated
 
1:31 PM
@mr5 Yeah. SQLite is perfectly capable. Can handle hundreds of concurrent requests without issues.
It's also super convenient. I really like SQLite. There's no hassle.
 
@mr5 cuz yo mama didn't help designt it
lul
shots fiaed
I think..
I gotta go home..
I feel to trolllike today
 
filthy rodent
!~shiba
 
oh I was expecting a shoe or something
 
mr5
@Squirrelintraining yo mama's name can't fit in Google data center
 
1:40 PM
 
yo mama's so fat, if she were a database type she'd be a blob
 
mr5
yo mama so fat, if she was a data type, she'd be the whole RAM
 
 
2:11 PM
Jack, echo !~shiba
Now for the 10 min shiba wait
 
2:22 PM
!~shiba
 
🔨
Alright, Stop
 
HAMMERTIME!
 
2:37 PM
mmmmkay silence me for something nobody whined about yesterday, alright
at least the system tells me why
 
mr5
setting up an API is stressful
 
ever typed Taumata­whakatangihanga­koauau­o­tamatea­turi­pukaka­piki­maunga­horo­nuku­pokai­whenua­ki­tana­tahu into Google? :P
 
fortunately I wouldn't need to type more than the first 6 letters
 
2:53 PM
@Neil Fuck yeh that's a good one
 
Have a nice weekend gurls
seeing you
on
 
see ya gurl
 
monday?
@Hozuki lots of luv and kisses xxx
 
that's usually when the work week starts again
 
@Squirrelintraining xxx see u soon babe <3 xxx drive safe
 
2:54 PM
xxx i cycle xxx better for environmennt #greenearth
#teamtrees
#luvyourplanet
xxx
Great, now SO will think I am a 13 year old girl...
 
On the internet you can be whatever you want!
 
I'm a 15yo girl...wanna cyber?
 
mr5
@Squirrelintraining I thought ur 95 girl
 
@Hozuki this Majestic Green Flaming Lion disagrees
 
my girlfriend is like windows
95
 
3:04 PM
my girlfriend is like √-100
a perfect 10, but imaginary
4
 
@Freerey It works, but others look better or are slimmer?
 
well the other options are around 98, 2000, and 10 -- and I'm not going out with a 10yo!
 
@Freerey 10?
The fuck did I stumble into
 
@Squirrelkiller Chris Hansen is watching!!
 
im 45 minutes away from officially finishing with my current job
 
3:13 PM
Also I would have accepted as a punchline: no punchline because windows 95 freezes/hangs
 
I'm just here to ping @CaptainObvious because of my PR for some nicer Botler code
 
was windows 95 really that unstable?
 
blue screen of death, that wasn't something just made up
 
bsod existed in earlier versions
 
3:14 PM
@CaptainSquirrel Define finish - finish your current task, project, or like, be done with this employer?
 
and a lot of problems with computers in the past was nobody knew how to use them
 
there was no concept of permissions in windows 95
not that most programs would try to sabotage, but maybe it would make things unstable
then you were just kinda screwed until you formatted and reinstalled windows from scratch
 
So I've been playing AoE3DE - they basically took a nice game and built it the modern way: Release with nice graphics but bugs and incomplete localization. Also changed indigenous civs "for historical accuracy" but also made every other european settler black.
 
So even though Unix had been using chmod at its core since the 70s, Windows in the mid-90s couldn't figure that out?
 
@Squirrelkiller employer
 
3:17 PM
At least I read the one with the black settlers, I haven't actually counted
 
Start my new job on monday
 
Noice, excited?
 
What kinda tech you looking at?
 
@Freerey Windows philosophy has been and still is to hide away those things, so that when you do need to deal with them, they're in some window 4 layers deep that you'd never think to click on
 
3:18 PM
Still haven't received my laptop tho
@Squirrelkiller Blazor, asp.net core & some azure things
their legacy stuff is in webforms but they are actively moving to new tech ^
 
lol entering company slack like "'sup guys I'm on my phone so gimme time to type"
 
lmao
gunna ring my new boss soon
 
Right that was enough time to realize Lee's probably not online, cya on monday when I'm back at work and ready to ping Lee again.
Also "Legacy is webforms but moving to new tech" is basically what my current boss told me, and now we're at some angular/js hybrid monster on net462 because I'm the only one actively presuring everyone to upgrade.
Watch out.
 
we will see
 
3:55 PM
@Squirrelkiller "historical accuracy" some bullshit
how is it more accurate to call the age of colonialism the age of commerce
 
4:35 PM
am still working
is this hell
am i dead
 
5:31 PM
Hey guys, I have a form1 with a button which open a form2. If I click 3 times the button it does open 3 times. and that's okay, that's how I want it to work, but, how can I know how many forms are open?
 
@Sharki You can know because you're the one who opened them
keep an integer count of how many times you've opened it
add logic to opening another based on the current count
add an event listener for when the form is closed if only active windows matters
 
 
3 hours later…
8:30 PM
Does my proposal below make sense?
 
8:43 PM
i think you can solve it much easier by just making 2 methods
not putting the responsibility to the user
 
I am confused in determining whether my proposed feature should be implemented in the core language or a preprocessor (analyzer, etc).
 
or in the library
 
@Wietlol Could you show how do you solve in in a lib?
with 2 methods, I did not get your idea.
ping me if you respond it. I am not monitoring every comments. :-)
 
02:00 - 21:0021:00 - 23:00

« first day (3653 days earlier)      last day (1285 days later) »