ExperimentalGuy

joined 2 years ago

This comment is probably gonna be annoying but its just an exercise in experimental design for me.

When measuring births, there's also a lot of other factors to rule out. I take this graph as saying "Humans tend to have sex in a specific season" and that's what I'm going to respond to.

Some other factors may be that theres more failed pregnancies during specific times of the year, and the sex rate per season is relatively constant. Maybe humans tend to have sex in ways that conceive during specific times of the year. There's really not conclusive evidence of a mating season given this graph, although it is a helpful visual when it comes to looking at birth rates.

[–] ExperimentalGuy@programming.dev 6 points 2 days ago (1 children)

This is such an interesting point I've never heard come up before, wow

Lemmy, NPR, and AP are the only things I read now.

Stop using types for variables

Mint is a great distro to choose for initially switching. The difference between using mint and raspian is that mint has a lot more GUIs for setting, packages, etc. Don't make the mistake I did and make sure you use those for peace of mind. You can always do a live boot to see if any software you want to use actually works on your system running mint. Also, make sure you back up every important file before messing with any of this.

Theres actually a lot at the gym you can't do at home. Any barbell movement (big stick with weights on the end) you can't do unless you have one at home, all the cardio machines, workout classes, cable machines, etc. I enjoy my gym time because I'm able to get a better workout at the gym compared to anywhere else. You can basically where anything to a gym. If you're doing upper body, just make sure you have a loose fitting shirt on, if youre doing lower body have loose fitting pants on. Gym time is what you make it. If you find one thing fun, you're allowed to just do that.

This is the only real way to do it, the other solutions involve "standards" which more often than not aren't all encompassing. Make sure that any user input of a country is just them uploading the jpg of their home country without any sort of validationbecausee everyone is loyal to their home country.

Readme literally was changed to have the phrase "make x great again". I wonder what got this person to fork it.

[–] ExperimentalGuy@programming.dev 1 points 1 month ago (1 children)

What do they say about standards?

I think that's the whole point of the rolling code, no?

[–] ExperimentalGuy@programming.dev 1 points 1 month ago (7 children)

Only problem with just using just pgp is that the signal would be vulnerable to a replay attack. I feel like a rolling code that's encrypted using PGP might be the way so that the replay attack part is gotten rid of.

All that's to say, there's probably some technical paper that details the best way to set up a system like this.

Idk if this would work but bearblog is a nice platform for releasing stuff. You can customize it a lot and the UI is pretty nice.

 

So I've had this idea for an API for a while but the problem I keep coming back to is authentication. I'm using rocket to actually code it. I looked through the rocket docs and it looks like the closest thing to API key authentication it has are cookies.

I then went and looked at some other APIs to see if I can copy their layouts and it looks like a lot of them use an API key and then a secret API key for authentication. Did some more googling and stackoverflow said that it's more secure to use a pair like that.

So that leaves me with the actual question: how do you actually implement this feature? Do you just generate API keys and throw them a database to be looked up later? Should they be written/read to a file to be used later(probably not a good option I'd guess).

Just for reference I'm using rocket, sqlx and postgres.

 

The first time I've heard about this browser was here on Lemmy maybe 20 minutes ago. A quick look at their webpage says that they use gecko as their web engine, but doesn't specify it bring a fork of Firefox.

To put this in context, most gecko based browsers I've heard about recently have also been Firefox forks. Is Waterfox a Firefox fork? And what does Waterfox do differently that should make people consider it more than Librewolf or another Firefox fork?

 

I've been coming back to the same project a few times. It's essentially just a program that interacts with an API. Only problem is whenever I get back to it, I realize how annoying it is to debug through all the "too many requests" responses I get back from the API because it has a max of 200 requests per second.

On solution would be to filter out those responses but that just feels like the wrong move, so I'm guessing the better solution would be to put some sort of rate limiter on my program. My two questions are: does that seem like a good solution and if it is, do I embed the rate limiter in my program, i.e. using the ratelimit crate or would a better solution be to run my program in a container and connect it to a reverse proxy(I think) container and control rate limiting from there?

 

I've been trying to learn the fuzzing library LibAFL for a while now, but I never seem to be able to fully grasp the essential parts. I've read tutorials, followed along tutorials, read the whole LibAFL book (that's still under construction), and have read a few of the examples in the repo. You could say I'm still in tutorial hell, honestly.

I'm trying to write a simple fuzzer for a malware code sample (MooBot) and I've been trying to figure out two things: how to find the input that has the maximum run time for a function, and how to not run malware directly on my computer. One of them should be more important than the other, but given my lack of expertise in LibAFL right now, I'm focused on the former. For my example, I noticed that there's a custom trim function in MooBot that helps sanitize input:

void trim(char *str)
{
        int i, begin = 0, end = strlen(str) - 1;

    while (isspace(str[begin]))
        begin++;

    while ((end >= begin) && isspace(str[end]))
        end--;

    for (i = begin; i <= end; i++)
        str[i - begin] = str[i];

    str[i - begin] = '\0';
}

This is what I test in my harness. I know I could probably logic my way into finding the input that has the max run time, but I'm using this as an exercise for LibAFL and using the rust FFI. The problem is how to deal with feedbacks and observers. I currently have this with no observers:

let mut feedback = CrashFeedback::new();
let mut objective = CrashFeedback::new();

Which simply reports an input if it crashes the program. It works for inital fuzzing, but now that I'm trying to find an input that maximizes run time this won't work. I tried to figure if there was a maximization feedback that would work with the time observer, but the only feedback that maximizes anything is the MaxMapFeedback which doesn't seem compatible with the time observer.

What I'm envisioning is something like this:

let mut observer = TimeObserver::new();
let mut feedback = MaximizeFeedback::new(&observer);

I think the solution has something to do with MapFeedbacks, but I'm not exactly sure how they work.

 

This is going to sound fishy.

Recently getting into cybersecurity things and have been pretty interested in looking at malware and maybe making some myself to get the hang of it. Do you guys know any good repositories with malware to learn from? For example, if I wanted to make a credential stealing program, there's a lot of different programs that may have credentials that are valuable. Or, maybe writing a keylogger? I took a look at a rust crate that can record keystrokes but has kind of a weird (or at least not as easy) type system because of different OS implementations, but how do different types of malware consolidate those differences?

I guess the broader question I'm getting at specifically is looking at how already made programs get around different technical obstacles like detailed above.

Thanks

 

I went to my local library today and noticed there's a lot of networking, cybersecurity, tcp/ip books from the early 2000s. Now, I want more modern versions of these types of handbooks. Does anyone know any good modern handbooks that deal with networking or network security standards?

Thanks :)

 

I wanted to get others' takes but it seems like the only real way to get a non-spying car is to get an older car without any sort of telemetrics. I saw a video about different car companies' security policies, well specifically the new Mental Outlaw video, and it just blew me away how even our cars aren't safe. Anyone got tips for how to anonymize their car?

 

I've seen a lot of different enterprise and personal use distros for servers, but what do you guys use?

I'm planning on using Debian but was wondering if there are any other good free options to consider.

 

I've been looking around to find a good, privacy respecting way to sync my messages between phones. I decided I'm going to use SyncThing so I don't have to mess around with a server. The only problem with this is that I haven't been able to find any apps that work on modern Android that routinely backup and import messages from a file/folder into the messages database. Does anyone know any app that might do this?

 

I recently purchased a domain for myself as a why-the-fuck-not purchase and I need some ideas for what to put on there. Some ideas so far include: Small Blog Personal S/FTP server to sync back to Minecraft server

Does anyone have other ideas? Thanks :)

 

I'm trying to find a good fuzzing tool for testing my web applications and was wondering what people would recommend. I'm trying to find one that is open source, free, and doesn't use proprietary stuff. It seems like Google's OSSFuzz is the closest option to what I'm looking for, but it uses Google cloud :/

 

I've been trying to find something that allows me to see performance visualizations in my rust programs, but I haven't found any so far. I'm looking for something that's like SnakeViz in Python, but for Rust. If there's a better way to get about doing this, I'm all ears.

view more: next ›