« first day (3840 days earlier)      last day (1325 days later) » 

00:45
@Mikhail das Haiku
 
1 hour later…
01:47
Folks, I came across this comment. (p.10 in this application note. The app note is about criptography certificates.)
// Set two most significant bits to 01 to ensure a positive untrimmable serial number.
What do they mean by untrimmable? Why is untrimmable important?
 
2 hours later…
03:32
@NickAlexeev I suspect this is basically a variation on how SHA-256 padding works. Before you hash data with SHA-256, you "pad" it out to a multiple of the block length. The padding always starts with 01, followed by the length of the data (as a 64-bit number). Although it's not exactly the same, it looks to me like this is based on the same general idea.
If you look at example 2 on page 13, it shows what they mean by "trimmable".
To summarize: they trim off leading bytes that have all bytes zero. The leading 01 you insert ensures against that happening if you got a SHA hash value that happened to start with some zero bytes.
03:59
Good evening loungers
04:17
Hello.
 
4 hours later…
user7659542
08:29
Does anybody have a good suggestion on where to buy a good server?
user7659542
I don t want to pay monthly. I want something I can buy once and keep untill the end
user7659542
in other words something like this: cloudatcost.com
user7659542
I bought 2 servers via them 8 years ago for 20$, still have them and never had to pay anything additional
user7659542
@JerryCoffin Hello.
user7659542
@CupOfJava Morwin'
08:32
I saw that
nwp
nwp
08:50
Buying a server for 20$ and using it for 8 years seems ridiculous.
user7659542
@nwp yet, that is what I have done
user7659542
btw it was 10$/server
user7659542
but they were very small, 10 gb ssd, 2gb ram
user7659542
or smth like that
nwp
nwp
You can easily get rich renting them out for 2$ per month.
My 2GB 1 core server costs 2,89€ per month.
09:02
I was called
servers are such a mess to deal with
user7659542
Yes, I can imagine. Yet, as you can seein the link I posted not everybody does this
user7659542
I am looking to buy one
user7659542
@CupOfJava No
they're loud, produce so much heat, and the electricity they consume isn't worth it
Not to mention security and setup
I get a lot of warning from lint saying conversion from int to char* of greater size. What is this?
nwp
nwp
09:05
@Eminem A bug that you should fix.
user7659542
@Eminem a warning
user7659542
from lint
hahaha yea I know but why is this happening?
nwp
nwp
Because you wrote bad code.
2
user7659542
@Eminem because you are converting from int to char* of greater size
09:06
you're probably converting from 32 to 64
the issue is primarily with negative integer widening
if you have the int -1 and convert that into a wider type it's going to change values when interpreted as unsigned
@Eminem does it come with a compiler warning #?
nwp
nwp
@Eminem If you're looking for serious answers you should go here and show code.
The problem is that I have thousands of these warnings and im not sure if I should do something about it
well not thousands but a lot
depends, do you intend to change the code in the future or is it mostly legacy stuff?
09:11
mostly legacy
Warnings are suggestions (joking). If it runs, it ships
yea but "possible loss of data" sounds scary
I'm not a huge fan of "fixing" legacy code just for the sake of it. The conversion rules are unlikely to change.
Does anyone in here use scrapy?
I think I used it once years ago in the python 2 days, but just for a very simple application
09:21
I've tried everything to just get the page's plain text, I think I'm just going to end up using Beautifulsoup because it does this type of thing a lot cleaner
I doing response.xpath('//body//text()').extract() but I'm getting so much '\n\n\t\t' type of results. I think I can probably fix all my problems with regex but I'm going to need a cup of coffee first.
nwp
nwp
Be the cup of coffee you want to have.
thank you for the words of wisdom
10:21
nobody here talks about C++ :))
 
3 hours later…
13:23
This room talks about C++ all the times ... mainly complains, but no pain no gain. Sometimes painful features lead to improvements :x
nwp
nwp
Maximum pain for maximum gain!
@nwp Who are you with for the server? I am paying something like $200 USD a year for my 2 servers.
I thought they were dirt cheap because my websites don't get a lot of visitors.
nwp
nwp
Hetzner. And I think I lied and it's 2,96 and not 2,89.
Still fairly good, will consider switching.
nwp
nwp
They are hosted in Germany though. The latency to Australia will suck.
13:35
The websites are almost acting like a place holders, I doubt many people visiting them.
@nwp Wait ... will the helpdesk be speaking German too?
I do need assistance with web hosting every now and then.
nwp
nwp
I'm sure they speak English, maybe with a heavy German accent, but at least in writing it should be fine.
I never considered using a helpdesk.
 
10 hours later…
23:44
@nwp I do, sometimes I need assistance with the mail server, sometimes I need help with DNS or other Linux admin related issues.
Not often, but on average once or twice a year.

« first day (3840 days earlier)      last day (1325 days later) »