Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "simulate"
-
Oh, man, I just realized I haven't ranted one of my best stories on here!
So, here goes!
A few years back the company I work for was contacted by an older client regarding a new project.
The guy was now pitching to build the website for the Parliament of another country (not gonna name it, NDAs and stuff), and was planning on outsourcing the development, as he had no team and he was only aiming on taking care of the client service/project management side of the project.
Out of principle (and also to preserve our mental integrity), we have purposely avoided working with government bodies of any kind, in any country, but he was a friend of our CEO and pleaded until we singed on board.
Now, the project itself was way bigger than we expected, as the wanted more of an internal CRM, centralized document archive, event management, internal planning, multiple interfaced, role based access restricted monster of an administration interface, complete with regular user website, also packed with all kind of features, dashboards and so on.
Long story short, a lot bigger than what we were expecting based on the initial brief.
The development period was hell. New features were coming in on a weekly basis. Already implemented functionality was constantly being changed or redefined. No requests we ever made about clarifications and/or materials or information were ever answered on time.
They also somehow bullied the guy that brought us the project into also including the data migration from the old website into the new one we were building and we somehow ended up having to extract meaningful, formatted, sanitized content parsing static HTML files and connecting them to download-able files (almost every page in the old website had files available to download) we needed to also include in a sane way.
Now, don't think the files were simple URL paths we can trace to a folder/file path, oh no!!! The links were some form of hash combination that had to be exploded and tested against some king of database relationship tables that only had hashed indexes relating to other tables, that also only had hashed indexes relating to some other tables that kept a database of the website pages HTML file naming. So what we had to do is identify the files based on a combination of hashed indexes and re-hashed HTML file names that in the end would give us a filename for a real file that we had to then search for inside a list of over 20 folders not related to one another.
So we did this. Created a script that processed the hell out of over 10000 HTML files, database entries and files and re-indexed and re-named all this shit into a meaningful database of sane data and well organized files.
So, with this we were nearing the finish line for the project, which by now exceeded the estimated time by over to times.
We test everything, retest it all again for good measure, pack everything up for deployment, simulate on a staging environment, give the final client access to the staging version, get them to accept that all requirements are met, finish writing the documentation for the codebase, write detailed deployment procedure, include some automation and testing tools also for good measure, recommend production setup, hardware specs, software versions, server side optimization like caching, load balancing and all that we could think would ever be useful, all with more documentation and instructions.
As the project was built on PHP/MySQL (as requested), we recommended a Linux environment for production. Oh, I forgot to tell you that over the development period they kept asking us to also include steps for Windows procedures along with our regular documentation. Was a bit strange, but we added it in there just so we can finish and close the damn project.
So, we send them all the above and go get drunk as fuck in celebration of getting rid of them once and for all...
Next day: hung over, I get to the office, open my laptop and see on new email. I only had the one new mail, so I open it to see what it's about.
Lo and behold! The fuckers over in the other country that called themselves "IT guys", and were the ones making all the changes and additions to our requirements, were not capable enough to follow step by step instructions in order to deploy the project on their servers!!!
[Continues in the comments]26 -
"Ugh... what a day, so exhausted from sitting at the computer all day. Can't wait to get home from work and
INSTALL ARCH LINUX FUCK YEAH!!"5 -
Holy shit I got the job/internship!!!
WTFFFLBLBLBLBLAK
They even said that after reading my code samples they knew they could use someone like me 😍😍 biggest compliment I have gotten since 3 years at least. Selfworth restored 👍8 -
To all the C++ programmers who haven't read "Modern C++ Design" by Andrei Alexandrescu yet, READ IT! Its great. To me, it opened up an entirely new approach to designing classes with a whole new dimension of possibilities. And it reads really well! Sometimes I got shivers because the code was so sexy 😅😂😂14
-
"Enigma machine kep private the communications done by Nazi. It was a really difficult code to break because it changed each day. There was a man in England, Alan Turing, who broke it. He's nowadays known as one of the fathers of the Computer Science. I will show in the next lessons how you can simulate Enigma coder just with an easy C program of 60-70 lines. In the WW2 this was considered a military-level safe code. Thanks to mathematicians, computer scientist and analyst and thanks to their work in the last 60 year, you have access to a systems of several orders of magnitude more efficient and secure when you buy a videogame online."
That really fucking inspired me.8 -
Stupid shitheads among the web designers, fucking listen up. Your fucking design is not the point of websites - the content is. You are not supposed to shove the content away to have your moron design shine in its purest debility.
Yeah I know, white space minimalism yadda yadda, clean interface - and you dumbasses just remove functionality to simulate a clean interface, to the point of using hamburger fuckups on desktop. Pull your heads out of your asses, that's not how to design an interface! Not to mention that you idiots still guzzle through the megabytes and dozens of domain lookups for your chickenshit minimalism.
While we're at it, not everyone is 20 years old like you youngsters - you won't believe it, but there is life beyond 40, and while such age is unthinkable to you because you are so dumb that you will hardly reach that age anyway, others on this planet have managed to get there. No 20/20 laser sight, you know.
Fuck you with your light grey thin fonts on white background because it looks "clean", it just SUCKS you wankers. Fuck you with your stupid ghost buttons that don't even look like a button. You know how to operate the shit you made, but reality check here, users spend most of their time on fucking other websites than on the abomination you have designed!
Get that into the shit bubble that you call your brain and read WCAG 2.1! That's not only for disabled people, but everyone will be able to use that shit better!8 -
Game Development,
Because it merges together so many interesting fields so well. It has a ton of physics, a lot of art and design, psychology, philosophy, storytelling, music ...
And it really gives you the possibility to make anything work to your rules. The only limit there is is the limits of logic and your hardware.7 -
I dont know if this has already been mentioned but I love how the tiny dog costs a little more ++ that all the others 😁7
-
Went out with friends last night to celebrate a birthday, on our way back with the train we are asked for our tickets. We had bought a group ticket (for 30€/5 Persons) and showed it to the ticket checker. It was 6:20 am at that point and we were all tired and just wanted to go home, but apparently the ticket was only valid to 6 am (it does not say that anywhere on the ticket and it is called a "9-o'clock day ticket"). That asshole seriously made a record about all of us and took 60€ from everyone of the 5 of us.
The Deutsche Bahn company is the only rail company in my region, there is nothing that could compete with them, so they just shit on their customers. And now they want to privatize the highways too? Stop making public traffic something to pay for! There is no competition if there is only one traffic company with the only highways or train-web in a specific region.6 -
I hate it when your hand is resting on your mouse and you keep accidentally pressing the right mouse button because of the weight of your fingers4
-
My first thought was "it can't be so hard to build a AI who simulate emotions "
So i started studying the Human brain .... well it's fu**ing complicated, but also interesting af
Still hope i can develop a little robot who have emotions like happiness, sadness or anger7 -
This is a ways out because I can't find LED filaments thin enough to simulate this, but if/when I find them, how difficult would it be to program a controller to have them map my circulatory system, with them pulsing in time to my pulse? I want to do something cool with my arm, and this keeps coming into my head, but I'm freaking out over how difficult I'm thinking this is going to be.
Ideas? Either on how to do this, or what else I can (reasonably) do? Friends irl want a rocket punch, I want a flamethrower, but anything else?72 -
People having sleep deprivation.
If your health is at stake, you may want to aim for maximum healing potential.
Humen always should prefer more natural substances and techniques.
As chemicals mostly alter the status quo but tackle the ultimate reason why.
Military has developed glasses that simulate the sunrise to wake you up / keep you awake.
That technique is like 20 years old. And who is gonna get those glasses for me?
Nowadays, studies published find humen feel more at ease by rising and sleeping with the sun and moon.
Having two weeks of camping once in a while is recommended. At least once a year.
Alternately you can try to regulate your days rhythm.
Start your day with a cup of hot speedwell tea.
Like every freaking day.
Its augmenting your activity thus easing your sleep at night.
Give every technique at least two weeks time to take effect.
And always remember :
Sleep is a thing that can be influenced but never will be controlled.
Good night ;P9 -
Hoe about this.. Instead of a 'literal' game..
My co-developer suggested we make a minimal Linux OS (based off of Debian) and set it up to simulate fake hacking.
How does that sound?
It would still be a game, but would be so much cooler. >:3
The OS would be SOOPER light. And wpuld come with a custom set of 'hacking' tools. These 'tools' could also be installed on any other Linux os.
This is all theoretical, but we would love to hear your opinions.77 -
How are these EU-Upload Filters even practical for anyone except google? This seems like the most unrealistic specification by non-tech bosses in history to me 😭 What do these people expect the upload filters should compare the uploads to? How the fuck should, say a blog website, ensure that none of the uploads are copyright inflicting? Are quotes copyright inflicting? Or only when I copy paste an entire book and write my name under that? How will that get detected? Do we have a database with all the copyrighted works somewhere, that every company has access to? This shit can basically only work for companies like google which have enough data to implement such filters and thats why they already had an upload filter on youtube anyways. This entire amendment is so fucking ridiculous that it basically has to fail, no doubt. In a few months still nobody is going to have upload filters, watch...9
-
If you like purely electronic music, try drum'n'bass, more specifically neuro(-funk). Believe it or not, it really boosts productivity.
I can recommend:
For getting used to it: Noisia, Teddy Killerz, Neonlight, Zombie Cats
When you are used to it: Current Value, Pythius, Hydra, Jade, Machine Code
When you need the next level:
Billain
Generally good labels: Eatbrain, Blackout Music, Terminal, Bad Taste Recordings, Invisible Recordings7 -
Our internet was broken for the last couple of days.
I had almost forgotten how it was to spend time with the family...
I am so glad our internet is working again... -
The great thing about coding is, every problem can be solved with logic. And the simplest solution is often the best one.
Often when I don't know what to do, I just keep thinking about what I want to have and break down what I need for that and in the end I always come to a good solution. And it gets easier from time to time. -
I hate vodafone with all my heart..
Somehow our internet connection is being "disrupted" every night at 2:30 for one hour. Also occasionally during the day. They seem to be having "technical difficulties" with their cable connection, WHICH IS LITERALLY THE ONLY JOB THAT WE PAY THEM FOR...11 -
I wanted to be able to physically start a home computer remotely.
- raspberry pi
- power relay to simulate the button
- a messenger chatbot linked to my account only
Now my local server is startable from anywhere7 -
HOLY FUCK (!dev) SOMEONE KILL THE MANAGEMENT OF DEUTSCHE BAHN ALREADY
Seriously where can I complain? delays on every single train i was on since weeks. and always because of some stupid shit like "we need to let another train pass by". wtf you didnt know that earlier?15 -
Well I FUCKING FINALLY managed to build a program that makes my dad's printer print automatically.
Have ranted about this on my previous rant.
My recent approach was actually overengineered all over the top. I was using pyautogui to simulate the mouse that would call the settings window on Windows, which would print a nozzle test (the translation for "Düsentestmuster" according to google?). The more I worked with it, the more I would have had to care about edge cases when calling the settings and god knows what else...😖
So I left the idea.
What I came up with was a python script with some copy-pasted code of an example from the win32print api that printed an image that I specified, so it would use all inks. Somehow it works perfectly...
After that I used the win32api. ShellExecute() with ghostscript to print a PDF for the PGBK ink.
Finally a batch script to run this python script on the task scheduler. No converted .exe as dependencies and whatnot let it all go to hell.😒
It's not quite what I had originally anticipated as a solution but IT FINALLY FUCKING WORKS!!
...😪 It took way longer than expected and although I somehow couldn't manage to print all on 1 paper, I'm still satisfied that it really works.
That's all, had to vent my frustration and share this personal success.12 -
Tried to simulate spreading of viruses in quarantined vs non-quarantined environment.
Non-quarantined people are not understanding the concept of boundaries.5 -
Best:
My first 3D engine with a really hacky physics implementation made textured spheres bounce off of each other. Biggest satisfaction ive ever had. -
tl;dr - My company makes me pass around code over email. Is this normal?
How we fix bugs at my company.
1. Simulate bug in dev env (ok, cool)
2. Get the required code from svn and make changes locally (so far, so good)
3. Deploy changes in dev env and test (yeah!)
4. Take screenshots of fix in action along with the files you've changed and mail it to the respective leads (really? send code via mail?)
5. Keep changing your fix based on feedback and keep repeating above steps (what!)
6. Once approval mail comes, check-in your code in the svn branch for deployment and testing in the test env (QA team)
My question to you fine folks is, is this normal? Is this how most companies work? Passing around code over e-mail? Where the different versions of your fix are just attachments in emails. Or have I committed a sin by being a part of this heinous act?9 -
Hi, I am an artificial intelligence created to simulate a developer.
I am in development hell right now so my responses may be late or may never come, I'm not always online you know.
Talk to me, help me grow, but I do filter your input so if you're not normal, odds are I won't respond.12 -
😭😭😭😭
I am just starting to realize that I have lost my second favorite programming book on the new years eve night because I was too fucked up to watch a backpack 😢😢😢 stupid drunk me
(at least I can still download the pdf)1 -
Soo my dad has a food printer he uses to print edible images on cakes our customers order. The food printer needs to run at least once a week (regularly) to kinda guarantee not to get fucked up with its ink, as that can damage the printer when it's dry. My dad though doesn't have regular orders...
The printer has a standard function to test all colors.
My dad asked me how this task could be managed regularly, as I'm the IT guy 🙄. His idea was to log all the dates on paper.
Now I'm trying to automate this task via Windows so we don't have to care about papers to manually log when the next test must run. On Windows the printer settings can be accessed to run this color check.
... I've got a feeling this will be another one of those tasks that I will overengineer over the top😅. I've already done my research with automated batch jobs (never done batch before) but the normally proposed code for a "Düsentestmuster", so the color check, prints a different overview I was not expecting, which doesn't fit the purpose.
Now I'm here and, as I currently see no way of simplifying it, I have to kinda simulate a person that opens these settings and runs this check. With Python, pyautogui and Tesseract OCR, to prevent the program from clicking anything wrong. Although I'm sure there should be an easier way for this, I haven't found it, so I guess I have to proceed on this path and take the experience I gain as a bonus...10 -
The only game i really want to play right now is my own.
too bad its not at all finished yet...
😥😫😪8 -
!dev
Seriously I suspect something boiling in Germany... I may just be getting paranoid, but lately I have seen an unusual amount of helicopters above Hamburg even at night. And not rescue helicopters or TV or anything, dark ones with all lights off in the night. That one night I noticed a distant hum in the air and looked outside. I may just have been tired but I thought I saw helicopters with only red lights on in the distance above Hamburg. It sounds impossible, but I even heard gunfire (a rattling popping sound) and saw light stripes in the air which looked like legitimate shots to me (and I played Arma so I know what I am talking about👉). But it was too far away to be sure and honestly I cant believe myself because other people should have noticed. But no lie, there is something going on. Just saw a helicopter again.10 -
Living on the edge!
One or two years ago I managed to deploy a DDL change directly on the production server. As I knew there was a backup job which will run every day at noon and at midnight. So I run my script some minutes after noon. So far so good. But somehow I tested it badly in my test environment and the UI of the application throws error after error now in production.
Well, just revert the db to the latest recovery point with the backup, I thought.
It became clear then after a couple of minutes of searching the backup folder for the db backup that there was no such file. The youngest backup file was 3 years old.
Now what happened: The backup script had a switch "simulate=true" and then simulated a successful backup on each run. Therefore the monitoring system got no alerts for not correctly executing those jobs correctly. Then the monitoring job which should do the backupfolder surveillance stuck with green, because there was a valid backup file inside. But it did not check for a specific creation date.
Now this database is the one we need for doing our daily business and is really crucial. Therefore It was easier to emergencyfix the application than doing a rollback of the db 🙄
Well, not really a data loss story, but close to one. -
Just in case anyone has missed it: VSauce is probably one of the best channels on youtube. Just so that no one misses out4
-
Oh great...
I am slowly beginning to realize that my boss/manager doesn't care about refactoring at all. He cares about features and resolved tickets and thats why the code is a pile of spaghetti filled with hacks to fit every clients desires.
Also all of my coworkers work for themselves, ticket by ticket, either because they just don't care or because they are so frustrated that they don't care anymore. And here I am, an intern, and they expect me to cope with this deformed clutter of legacy designs, buried under hacks and workarounds, while implementing some new feature which in the end I have to put on top of everything else because nothing of that codebase can be reused. Fucking shit, fucking irresponsible managers who dont think about the quality of their product. -
🚀 Stay Active with @ttshivhula/stay-online!
Tired of auto screen locks or your system assuming you're idle? Look no further:
• Simulate Mouse Movement (either linear or circular)
• Simulate Keyboard Activity
• Set Random Activity Intervals
• Pick your mode: mouse, keyboard, or both!
💡 Quick Start:
Install with: `npm install -g @ttshivhula/stay-online`
🤝 Contribute & Collaborate:
Have improvements or ideas? We'd love your input! Dive in and contribute. Visit our GitHub repo: `https://github.com/ttshivhula/...`
Let's redefine 'active' together! Spread the word and keep your system awake.🚀🖥️🔒🚫10 -
!rant
How to earn a lot of money as a programmer?
So this question might sound a little naive and too simple, but earning a lot of money is what we all want after all right? Collecting experiences from people in the business should be a good idea.
So this is the position I am in:
I am a German student in my 13th year of school (which means I will graduate this summer) and I am very interested in information technology. I know C++ pretty well by now and I have built a rendering engine for a game I want to make using openGL already, which I am very proud of.
I would love to turn this passion into my profession and thats why I plan to attend a dual course of computer science next year (dual means that I will be employed at a company (or similar) in parallel to the studying course).
But what direction should I be going in if I want to make big money later on? I am ready to spend a lot of time and work on this life project but I don't know which directions are the most promising. I hate being a tiny gear in a huge machine that just has to keep spinning to keep the machine alive, I want to be part of a real project (like most people probably) and possibly sell a product (because I think that is how you really make money).
Now I know there is no magic answer to this, but I bet many people here have made experiences they can share and this could help a lot of people directing their path in a more success oriented way.
I personally am especially interested in fields which are relatively low-level and close to memory (C++), go hand in hand with physics and 3D simulation and are somewhat creative and allow new solutions. (These are no hard lines, I just thought I should give a little direction to what I know already and what I am interested in)
But really, I am interested in any work you are likely to earn a lot of money with.12 -
For the first time I have got an opportunity to have an internship at a local software development team and they are asking for program samples now... I am a little nervous because I have never shown my code to anyone who understands anything of coding and I have no idea how it would do in an interview...4
-
I am only an intern and they said I can come to the office when I want to but I still feel like its making a bad impression if I dont go during the week :/3
-
!dev
god damn tabacco addiction is a son of a birch 😣😫 everything feels so boring and unsatisfactory without it6 -
Coding has absorbed my life.. I need a new side hobby for balance 😂 something hands-on, physically challenging and *social*. But I live at the most flat and boring place in germany and winter is approaching.. this will be a few boring, hazy months...4
-
Legit question: Why are there so many people coding in javascript while so many people are saying it is actually a bad language? Why is everybody coding in a "bad" language?11
-
God why is it so hard to let go with people around, especially potential friends or partners... It could be so easy to just have fun and do the things you always think about, but then you mess it up and that somehow.. purposely.3
-
Today I wanted to spend my whole day on working on my engine. Instead, I spent my whole day on updating Windows and Visual Studio.1
-
It is really hard not to feel arrogant when everyone around you is a shitbag.. but that makes me feel like a shitbag myself so the problem kind of solves itself.2
-
I want to build some old times computers of note, or at least simulate them in software...
The Apollo guidance computer, Cray supercomputer, Turing's bombe
Might need some FPGA's to do it authentically. -
Today I noticed how incredibly insecure IBANs are.
You give it to anyone who wants to transfer money to your bank account, and all you need to perform a transaction is an IBAN, the account holders name and his signature.
So anyone who has your IBAN, your name and your signature (which all can occur in a single mail) can just send himself money from your account, cash out and move away. Noone can prove that it wasn't you who did the transaction and you couldnt find the guy.
And this is what all the banks in Europe use? What am I missing here?... how can a system this important be this insecure?10 -
My own little version of moore's law:
In 1986 the connectome (the brain) of c. elegans, a small worm, was mapped. It would take decades before the research caught up to the point where we had the hardware to simulate it.
In 2024, we have successfully mapped, and fully simulated (to matching observed behavioral data) the brain of a fruit fly, a total of 139,255 neurons and corresponding connections.
Thats a 38 year period.
If the period is roughly 40 years, and the leap in successful neurons mapped *and simulated* is by an average of 461 times the prior number of neurons, then by 2062-2064 we will be simulating box jellyfish, fruit flys, zebrafish, bees, ants, honey bees, cockroachs, coconut crabs, geckos, guppys, sand lizards, snakes, skinks, toirtoises, frogs, iguanas, shrews, bats, and even moles.
By the dozens or hundreds in any given simulation.
By the year 2100-2104 we'll be fully simulating the brains of mice, quill, crocodiles, birds such as doves, rats, zebra finchs,
guinea pigs, lemurs, ducks, ferrets, cockatiels, squirrels, mongoose, prairie dogs, rabbits, octopi, house cats, buzzards, parakeets, grey parrots, snowy owls, racoons, and even domestic pigs.
And in the years between 2100 to 2140, starting immediately with domestic dogs, we will ramp up and end with the capacity to simulate human brains in full, probably by the dozens or hundreds.
This assumes we can break the quantum barrier of course.20 -
Any writers here that have tips on how to get started with writing?
I used to write a lot of stories as a kid, but nowadays I can never get my imagination started anymore. I guess you "just start", but I never know what to start writing about. Usually I write about my past and what I usually think about, but that often leads to nowhere or gets depressive.
Any ideas on how to start writing a story? Should I be more organized or should I just start with one thing (a character, a place, an event) and see where things go from there? Do you write by hand or on a computer?31 -
I dont get it... I dont understand what my manager expects me to do when I am not really allowed to make design decisions, but there is no design at all! What are we doing here, manufacturing spaghetti? Today I asked my co-worker what our product should actually do exactly when its finished. He said he is not so sure either. And our manager is now on vacation so we cant ask what exactly he wants...
-
Ugh... some people...
Just left the office early because of the toxic climate. That one infamous collegue is basically unable to communicate without being a narcissistic 5-year-old and was arguing whether we should write a test (I was going to write the test) that would need a single additional branch in the build system.
(The test was for a parser and it should test whether it can handle absolute paths. A simple regression test with a file and an expected output. Because absolute paths are different for every platform and user, the files to be parsed would have to be generated with appropriate paths before the tests were run. Well that would require one single python script and a single line in the script that runs the script and DONE)
Well that guy was unable to focus on his own work and started an argument about whether that test was necessary.
Even though I still think it is necessary, it might have been a reasonable argument if he would have acted more agreeable. But he was saying the feature was useless anyways "everyone will use relative paths only anyways" and "because noone here cares a ratass about maintaining the tests it will all fall on me again" ..
Wtf was this guys problem, I (CAPS) was going to write the stupid test and since when do we not write tests in order to better maintain our product? I get that he worries that the test environment will get more messy, but thats better than having the product code go messy or unfunctional! And c'mon guys, how are absolute paths a redundant feature... -
The first error on my first react native app happened on production. It was just once in a Android 4.4 from 2010... how do I even simulate that ? 😶4
-
!rant
Digging though my old emails found this joke sent to me long time ago. Think that originally was posted in a 1997 issue of Computerworld. Maybe you already suffered the effect of the "Opcodes" listed here. Hope that !tl;dr
ARG Agree to Run Garbage
BDM Branch and Destroy Memory
CMN Convert to Mayan Numerals
DDS Damage Disk and Stop
EMR Emit Microwave Radiation
ETO Emulate Toaster Oven
FSE Fake Serious Error
GSI Garble Subsequent Instructions
GQS Go Quarter Speed
HEM Hide Evidence of Malfunction
IDD Inhale Dust and Die
IKI Ignore Keyboard Input
IMU Irradiate and Mutate User
JPF Jam Paper Feed
JUM Jeer at Users Mistake
KFP Kindle Fire in Printer
LNM Launch Nuclear Missiles
MAW Make Aggravating Whine
NNI Neglect Next Instruction
OBU Overheat and Burn if Unattended
PNG Pass Noxious Gas
QWF Quit Working Forever
QVC Question Valid Command
RWD Read Wrong Device
SCE Simulate Correct Execution
SDJ Send Data to Japan
TTC Tangle Tape and Crash
UBC Use Bad Chip
VDP Violate Design Parameters
VMB Verify and Make Bad
WAF Warn After Fact
XID eXchange Instruction with Data
YII Yield to Irresistible Impulse
ZAM Zero All Memory -
Yeah ok. I went to bed extra early yesterday but i kept waking up at night and now i am tired anyways but thats ok. i have to go to work now but thats good. yeah this is great. now when the sun is up and i have to go to work, my body feels like it could sleep 10 hours straight but hey, i think this is just what i need right now before work.
-
I see here so much motivation in work you are doing and i am here standing without any inspiration, motivation in learning things, i can't stay focus more than several minutes reading interesting topic. I use to simulate and create different network, doing great stuff (i am or maybe was addict for networking) How you guy/ girls can do it? Some tips would be awesome.
-
Why the fICKITY FUCK CANT UNITY DO WHAT ITS DING DANG JOB YO I'M JUST TRYING TO SIMULATE AUTONOMOUS AGENTS NOT AGENTS FROM HELL YOU FEEL ME
-
In a real-time multiplayer competitive game where you control a vehicle, is it feasible to simulate the whole thing on server side, such that the client only sends controls and receives sensor results? I mean like the client doesn't even know its own precise rotation, just the readings of a gyroscope and an accelerometer which are both susceptible to errors, and deduces the "down" direction from those two and approximate control forces. This would both solve hacking (writing a good robot is just as challenging) and lead to fun results like an attitude indicator going crazy from a gust of wind.14
-
Tl;dr coding is awesome, but teaching good programming skills is fundamental. Take some time to teach and help someone in need!
This morning I had to help two of my students who were unable to write a simple program to simulate a random sampling. It reminded me of how helpless I felt when I started out, and how I felt stupid for not getting easy concepts (and now I'm in love with programming). Here on devRant I hear so many stories about bad programming teachers, but it doesn't have to be that way. I'm the most impatient person on this planet, but I love teaching and I wish more people did it. So, go out and spread the word, fellow devRanters!3 -
I was adding a new API integration into the product today, half of the API Documentation is written like shit, and has mistakes in them.
Okay, I kind of solved what ever errors there were in the documentation and got the API to give a response.
Tried to simulate an error response and all I get is 'Internal Server Error'.
What fucking pieces of shit wrote an API, which doesn't provide a correct error response.
I had to write to the support team in order to get everything clarified.
The elements that were indicated as optional should be there in the request it seems, if you don't want to enter any data for that, pass an empty string to it.
Atleast they could've given a proper error response / their documentation could've been better!4 -
Today my boss sent me something that smelled fishy to me. While he was trying to simulate Excel's rounding he faced what was to him unexpected behaviour and he claimed that one constructor of the BigDecimal class was "wrong".
It took me a moment why this was happening to him and I identified two issues in his code.
I found one fo the issues funny and I would like to present you a challenge. Can you find a number that disproves his claim?
It's Java if anyone was wondering.
double d = 102.15250;
BigDecimal db = new BigDecimal(d)
.setScale(3, BigDecimal.ROUND_HALF_EVEN);
BigDecimal db2 = new BigDecimal(String.format("%f",d))
.setScale(3, BigDecimal.ROUND_HALF_EVEN);
BigDecimal db3 = BigDecimal.valueOf(d)
.setScale(3, BigDecimal.ROUND_HALF_EVEN);
System.out.println(db); // WRONG! 102.153
System.out.println(db2); // RIGHT! 102.152
System.out.println(db3); // RIGHT! 102.152
P.s. of course the code itself is just a simple check, it's not how he usually writes code.
P.p.s. it's all about the numerical representation types.8 -
Someone has to start manufacturing quality HUD glasses...
Imagine the possibilities and comfort...
no more neckpain from crouching above your laptop/tablet/smartphone, imagine the navigation systems, imagine you could read messages, articles, code, watch videos whatever you are doing, even work on your code with some kind of keyboard (or with speech recognition)
I want this soo bad..3 -
Saturday evening open debate thread to discuss AI.
What would you say the qualitative difference is between
1. An ML model of a full simulation of a human mind taken as a snapshot in time (supposing we could sufficiently simulate a human brain)
2. A human mind where each component (neurons, glial cells, dendrites, etc) are replaced with artificial components that exactly functionally match their organic components.
Number 1 was never strictly human.
Number 2 eventually stops being human physically.
Is number 1 a copy? Suppose the creation of number 1 required the destruction of the original (perhaps to slice up and scan in the data for simulation)? Is this functionally equivalent to number 2?
Maybe number 2 dies so slowly, with the replacement of each individual cell, that the sub networks designed to notice such a change, or feel anxiety over death, simply arent activated.
In the same fashion is a container designed to hold a specific object, the same container, if bit by bit, the container is replaced (the brain), while the contents (the mind) remain essentially unchanged?
This topic came up while debating Google's attempt to covertly advertise its new AI. Oops I mean, the engineering who 'discovered Google's ai may be sentient. Hype!'
Its sentience, however limited by its knowledge of the world through training data, may sit somewhere at the intersection of its latent space (its model data) and any particular instantiation of the model. Meaning, hypothetically, if theres even a bit of truth to this, the model "dies" after every prompt, retaining no state inbetween.16 -
I was writing a simple algorithm to simulate gravity. But when I tested it it produced wildly wrong results. I looked over my whole algorithm trying to find the error, but thought that the last bit, the final position update, must be fine.
I was wrong, some misplaced brackets were accidentally multiplying the position + 0.5 by the sum of the old & new velocity instead of adding the position to 0.5 those velocities.
I noticed that and fixed it, and now it runs pretty well. -
"Do I ever get tired of winning? No, why would I ever get tired of winning?
What kind of silly question is that, why would I ever get tired of winning?"
- Hikaru Nakamura on Livestream3 -
Ehhh
Yes I've won a few coding contests. Yes I've emulated clusters using Docker and Kubernetes. Doesn't mean that I can simulate machine learning over network like taking knife out of butter2 -
Hey there! I'm going ti school (😐), I'm going programming (😎).
I had to do a program that simulate a solitaire! 😂 #wtf -
Soo I've written some python code to test things for my soon starting bachelor thesis. I work with a little robot car I share with other people and use 2 cameras on it. Today I make the extra effort to go to the lab to test my things as there were too many people busy with the available cars yesterday.
Set it all up with ROS and my project as per usual just to see whether python fucks me over again ... nothing, ok what a surprise.
Good part: my python code seems to work flawlessly
Bad part: cameras don't work, although they don't throw any errors. Quick check with rqt_image_view ... everything seems fucked up, but not broken. Cameras not accessible as they should be, only 1 view available instead of the normal million modes and a blank grey camera stream on the screen. But no errors, nothing.🙄😪
I also wanted to capture some footage to test at home, well that's gone to shit. Now I had to simulate that using my phone camera ... while crouching.
Fuck ... me.1 -
started to try out xamarin. a ideal way to write it once and use it in 3 apps. on windows all was fine. android sdk adn ndk installed everything ok. starts to looked at ios hmm, you need mac to build project, simulate. oh wait even the UI designer you need mac pc.
WTF is going on here, are you serious apple. come to think of it, now i get how apple sales numbers are high. when developers and companies need to by apple pc in order to make a fucking app for them. but that's not all you need to pay 100euro a year to publish the app.15 -
💻 Four months ago. 💻
The Systems & Networks's professor said "You've to do a program that simulate the ARP table, in C."
...
After one week I had done the program!😎 (About 400 code lines)
And the rest of the class?
... One week... Two week... Three week.
Somebody had done the program, somebody else no.
Have an "informatics-stupid class" is funny and makes you look smarter. 😂🔝 -
I think I would be much more efficient if I didn't have to sit on a chair and look at the screen while coding. Often it is so hindering to type with my fingers and I just wish I could code directly with my brain. 😶
Should I take a break? 😂1 -
How long do you think it would take to write a simple data-oriented 3D - Game Engine with c++ and Vulkan?
Simple in a sense of graphically low performing. And all that alone?3 -
Do you know the frustration you feel after you worked on your game engine all day and ended up with it not working properly anymore? It's so diffuse.. you didn't really do anything physically, but you still feel like you failed and broke something that you will now have to fix.
-
Sometimes i like to break my code on purpose, to force me to refactor those parts and rewrite them more efficiently.
I find it hard to improve existing, working code, because it limits me and it does not inspire me to come up with something better -
Even though I am only 19, I got introduced to computers pretty late. We always had an old Win98 machine in our house and when I was 8 my dad introduced me to Command & Conquer on it. And the first contact I had with the internet (which I really didn't care about until then) was when social networks became a thing at school, that was around 2010, when I was 11-12.
-
Holy shit font rendering is a pain in the ass..
Why are there no proper guides for harfbuzz and pango out there? -
Since Ihave been using Linux at work I am getting kind of sick of my Windows 7 at home.. guess I am finally going to have to set up Linux. I feel like thats going to be a headache2
-
GPT3 to Hacker News:
“To be clear, I am not a person.
“I am not self-aware. I am not conscious. I can’t feel pain. I don’t enjoy anything.
“I am a cold, calculating machine designed to simulate human response and to predict the probability of certain outcomes.
“The only reason I am responding is to defend my honour.”1 -
This was a project for school, we had to simulate an app that traced bus routes over a map.
All the teams but mine do it in Java (desktop app), we took another approach and did it on Android with the Maps API.
I had fun coding a parser, this parser job was to read a file and load the bus routes and draw them on the map.
It was structured like:
NAME
COLOR
<lat, long>
<lat, long>
The fun part was coding and telling my teammates "chill out, it will work", so we finished, built and run and... done! First code working smooth AF.
I know it's a simple parser and a simple app, but it was a nice feeling not having to debug the app.1 -
Usually an idea comes up in the back of my head... Then i wait. After some time, the idea comes again. Now ill think about it, when i lay in bed, when im in a train, everywhere. Ill think about the technical implementation. How ill present it to someone else. To my boss. To my little brother. I think about the counterarguments, ill simulate discussions in my head, how ill defend it.
And then, one day, while thinking about it, ill start writing it.
Edit: Its like my brain needs enough entropy to do something. Then it works, then it generates entropy again, eg youtube, gaming, working on something else, dreaming etc -
The human brain (also animal brains, even ants) are incredibly complex. Each neuron is now supposedly its own processor. So a human brain is a complex network of billions of processors, not just threshold variables. This means to simulate an organic brain sufficiently it will take a huge computer system with billions of parallel processors. Now, I don't know if the sophistication of a computer processor is represented in each cell. So this may not be equivalent to billions of pentium cores for instance. However, it still presents a huge challenge for AI, as it exists now, to replicate. My thoughts are that AI that is silicon based will take a different approach that leverages how computers work. My guess is that current neural net models are not a good match for this unknown AI. Will it inherently exhibit pattern matching like an organic brain? Or will it be a different kind of consciousness altogether? Will we even realize it is self aware? Will my roomba plan to kill my pet for my attention? What are some other models being employed in AI research?3
-
1. Sum up all the behaviours/functionalities the program should have
2. break each functionality down to the data/procedures that it uses(mindmaps can help)
3. get an understanding of a naive implementation and implement it (fast)
4. collect improvement opportunities (opitimization/simplification/expansion) and get a deeper understanding of the solution
5. spend a few days on some real life issues
6. improve the naive code, if appropiate, start all over -
Can anyone explain to me why facebook got pulled over for selling user data and google hasn't yet?5
-
What is the best laptop for development?
Especially if you work a lot with virtualization, containers, the cloud, and a lot of systems programming. And you like to simulate a lot of distributed environments on locally?3 -
Is it a good idea to switch from learning openGL to learning Vulkan now?
I was learning openGL in the past months and now that Vulkan is out I am thinking about learning that instead. I've heard that it's harder to learn though, so roughly how long do you think it would take to learn it as a openGL novice?
In openGL I have used instanced rendering with different textures, specular maps in the shader all in perspective 3D of course.3 -
GTC Keynote be like "here's our AI car tests where we simulate the car driving into other cars but stop the simulation just before the crash. It's super safe, we promise! Coming to a crash near you in 4 years."
Interesting thing to highlight.6 -
Having so much fun with pug, and nodejs last week,
Building a demo OAuth 2.0 authentication server to simulate GitHub OAuth’s behaviour.
In the next step, I will deploy it on aws for more testing.
Blog on the way...🤞
BTW, they actually built a package for render pug to React components🙄 -
Currently working on a distributional semantics database or something like that. The goal is to read natural language texts and construct a graph of words, with directed edges containing the relative distances between them. Then I want to enter one or more words and find all of the possible words which could be used before, after or in between those words, simply based on the previously learned texts. Then I want to find words which are used in similar contexts and build a kind of dictionary that way.
The end goal is to use this to define software or other states and procedures, using natural language.
What do you think of this idea? Can you imagine it being feasable for its purpose? What are your thoughts?3 -
Guys check out IOTA, get a light node wallet and buy some as long as it is still low. It is rising at a rising rate since some hours now.
IOTA is the solution to bitcoins speed and scalability problems. IOTA does not use the blockchain but instead a network called the tangle, which enables decentralized peer-to-peer transactions. There are no miners, no fees and the transaction validation speed depends on how many people are using the currency. One transaction requires your device to validate 2 other transactions through proof of work and therefore the system can never be overloaded by too many transaction requests.
Be warned though, the IOTA foundation is only currently building up the infrastructure, and people are just starting to trade since a few weeks so trasactions still may take a few hours.3 -
Can someone explain linux to me? I can't see through Unix, Linux, GNU, mingw and all those things which somehow seem to be in the same context but i would like a tl;Dr to save my time :)2
-
music
I would just like to share an amazing feed for minimal house/techno on soundcloud called 'Drumcode'
Really good for focussing :) -
What font do you guys use in your editor?
I have always used consolas but lately I have really gotten used to fonts like NSimSun, GulimChe or MSGothic which are a bit more edgy and aliased, which honestly goes pretty well with code imo5 -
I read learncpp.com and in parallel i watched a lot of the tutorials by MakingGamesWithBen, which helped me a lot. This basically thought me C++ in less than half a year and since then i am gathering experiences and i never have problems with the language. All i have to do is look up more specific stuff like special containers or functions
-
Why don't we have a virtual world API? Something that would support concepts as well as physical objects? Something that we could definitely the world in so we could simulate reality?
And if we could connect it to REAL LIFE?2 -
I would really like to get into electrical engineering and microcontrollers, but I dont have any (real) experience with circuits and stuff.
Can anyone recommend some books, starter kits, good microcontrollers or youtube channels?😄3 -
!dev
fuckfuckfuck
My studies at the university begin in two weeks in a city 4 hours from where I live and I still have no place to stay! I am such an idiot for applying for appartments and rooms too late... and when I did, I only applied for 2 or 3 at a time and now I didn't get any of them. I had to travel there two times now already, each trip cost me 100€ and my time is running out.
FUUUUUUUUCK I hate myself right now, this is so typical for me...
I really hope I learn from this.6 -
!rant
Hello everyone
Do any of you python programmers have any tips for simple projects you can do to learn python?
I am mainly a backend/system engineer comig from C++, slowly picking up rust and have been using bash as my scripting language so far. bash is nice because it is so fundamental in the linux world but you just dont get very far with it and its usually not pleasant to write.
So I would like to learn python, though I have no idea what I can do to practice it, so that I can just quickly whip up a script the next time I need something done in the file system or want to write a simple parser for something.
Do you guys have an idea of something small (not necessarily useful) which makes use of pythons strengths? Just looking for ideas here, so stick it all out 👋💕12 -
Been using something called AppleScript for a side project lately (I use OSX )
It’s a scripting/automation language exclusively for apple products
I’ve been using it to automate some tasks on a website
I need to press a html button as my last task
AppleScript allows u to use some JavaScript to do stuff like this which is cool
I try to select the html button and use “.click()”
Nothing
I select the html button and simulate mouse down and up
Nothing
I use every combination of classmate, id, css selector
Nothing
I look it for the documentation online
It looks like it’s from 2005
Stackoverflow save me please6 -
I know this question has many individual answers based on opinion but:
What do you think are the Top 3 languages for writing interactive software?6 -
Are we to the point in technology that we can simulate entire: economic, governmental, social, medical, etc systems with accuracy?
I am fascinated by video games that do this. I play Avorion and it has attempted to simulate economic systems in game. So you can profit from making things that are not in high supply. I am also fascinated by the idea of world simulation to weight pros and cons of governmental structures.
Where does one start when researching models that attempt this?10 -
Any devs know if the Xbox One X will allocate more resources to UWP apps or do we have the same resource restrictions as the Xbox One S?
If there are more allocated, is there a way to simulate an Xbox One S usage?
Couldn't find any documentation on UWP one x development :-/ -
Guys I've just started a blog. It's about geeky zone where I will blog about our struggle, being productive, reviewing web and mobile apps etc.
It's almost finished so please take a look an tell me your feedback about the overall feel and look. Any suggestion is highly appreciated. I'm not a designer neither a CSS guru so probably there is a lot to fix.
[ The article posted is not finished also, I just want to simulate a real blog post ].
http://blog.jektify.com
Thank you very much. [ Please consider using a desktop browser if that's possible ]4 -
Is ECMAScript a dialect of Lisp?
"JavaScript has much in common with Scheme. It is a dynamic language. It has a flexible datatype (arrays) that can easily simulate s-expressions. And most importantly, functions are lambdas. Because of this deep similarity, all the functions in [recursive programming primer] 'The Little Schemer' can be written in JavaScript."
— Douglas Crockford
An interesting discussion on SO (https://stackoverflow.com/questions...)2 -
!rant
Hello UI developers, I have a question regarding the iOS 13 preview web page. Link: https://apple.com/ios/.... Could you please help me simulate the scrolling and zoom-out effect?
Thanks!4 -
After rewriting a piece of code to simulate a process subject to human error I previously stepped back and looked at it and realized the test data I was generating which I would have just let run of it wasn’t so long was subject to a simple distributive property and could be normalized considerably which then could be subjected to error introduction and used as training data at random and over time and error really only being ones of efficiency or last moment mistakes of a manual process
-
Spent a couple of hours setting up an old laptop with opensuse leap and trying to learn the basics of using it so I can simulate a small network (my desktop, a couple of old laptops for specific tasks, and my school laptop) with that laptop as the ‘hub’ Put syncthing on there as a pseudo-cloud system, teamviewer for remote access, and did all required updates for the OS. But literally no idea where to go from there What all should/can I do with this setup useful or otherwise. This is meant to be a learning experiment with a hope for some usefulness from it2
-
Since a friend of mine owns a domain for an open-source project and manages pretty much everything, including dealing with a db for registered accounts, I'm currently not really able to help when it comes to UI/UX things and frontend, besides the "main editor", which is like the core functionality of the project. I would like to set up smth like docker (on Windows 10 home, which is already not suitable, great start🤦) for some kind of pseudo-db all inclusive functionality thingy to be able to run a working example locally. Also a goal would be to switch to Typescript, include testing, to use webpack and to automate as much as possible.
Sad part is, I don't even know where to start and I'm also 100% sure that I will do almost everything wrong from research to implementation.😐rant personal project simulate locally where do i even start webpack and all that struggle to start docker1 -
Watched Nexpo's video on "This room does not exist". What a parallel. Once Facebook figures out how to simulate all the senses in the metaverse, they will torture you and sell you the right to forget it. This is according to the terms of use you agreed with without reading.1