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 - "geometry"
-
Researching to making a small 2D game using constructor classes and while building out classes, was working on my Tree method using fractal geometry and made a wallpaper out of the tree 🌳12
-
Update on this: https://devrant.com/rants/1641198/...
I was a little tired but made updated and currently getting a more natural looking tree.26 -
To become an engineer (CS/IT) in India, you have to study:
1. 3 papers in Physics (2 mechanics, 1 optics)
2. 1 paper in Chemistry
3. 2 papers in English (1 grammar, 1 professional communication). Sometimes 3 papers will be there.
4. 6 papers in Mathematics (sequences, series, linear algebra, complex numbers and related stuff, vectors and 3D geometry, differential calculus, integral calculus, maxima/minima, differential equations, descrete mathematics)
5. 1 paper in Economics
6. 1 paper in Business Management
7. 1 paper in Engineering Drawing (drawing random nuts and bolts, locus of point etc)
8. 1 paper in Electronics
9. 1 paper in Mechanical Workshop (sheet metal, wooden work, moulding, metal casting, fitting, lathe machine, milling machine, various drills)
And when you jump in real life scenario, you encounter source/revision/version control, profilers, build server, automated build toolchains, scripts, refactoring, debugging, optimizations etc. As a matter of fact none of these are touched in the course.
Sure, they teach you a large set of algorithms, but they don't tell you when to prefer insertion sort over quick sort, quick sort over merge sort etc. They teach you Las Vegas and Monte Carlo algorithms, but they don't tell you that the randomizer in question should pass Die Hard test (and then you wonder why algorithm is not working as expected). They teach compiler theory, but you cannot write a simple parser after passing the course. They taught you multicore architecture and multicore programming, but you don't know how to detect and fix a race condition. You passed entire engineering course with flying colors, and yet you don't know ABC of debugging (I wish you encounter some notorious heisenbug really soon). They taught 2-3 programming languages, and yet you cannot explain simple variable declaration.
And then, they say that you should have knowledge of multiple fields. Oh well! you don't have any damn idea about your major, and now you are talking about knowledge in multiple fields?
What is the point of such education?
PS: I am tired of interviewing shitty candidates with flying colours in their marksheets. Go kids, learn some real stuff first, and then talk some random bullshit.18 -
Me - I want to work on Java.
Boss - you are working on Java right?
Me - no, just Angular JS
Boss - yes it's the same right... Angular Js, JavaScript, java
Me - (hmmmm, what if I had just said angular, would he assume I was doing geometry?) -
Wow my job sucks right now. Un fuckin believable.
I got hired a month ago as a programmer. Everything went fine at first, then my Boss asked if I could do 3D modeling, and I could, I used Maya for 4 years, but I told him I only can do simple low poly models. A partner company of ours needed some help in their 3D department and I had to help.
Well, I thought, a small 3D project from time to time would be nice and refreshing, especially since it was very easy geometry, my Boss even showed me some previous projects and That was totally doable even for me.
So i started out making the first few models in blender, because we dont have anything else. After a day of getting used to blender i sent off the first models and it all began.
They wanted detailed, high poly models of some mechanical parts, my Boss originally told me it was just an abstract visualisation... fuck me...
Well I agreed to it so had to do it. The partnering Company started to change things, seemingly at random. Had a model completely modelled, textured and animated, now they want to change the model so I have to redo the UVs, the texture and the Animation god fucking damnit.
But still I thought ok, its only for a bit. Now my boss accepted even more work. Because of endless reworks I couldnt finish even one model and have to already make the new ones.
Now my boss is pissed because that company is pissed that i cant know what they want.
Big pile of misscommunication.
I hope this is over soon but I overheard that more is coming...6 -
Should I actually look into getting a dev job..?
*I have a high school diploma (graduated three years early)
*College dropout (3-4 months, Computer Science - Personal Reasons)
*No prior work experience.
*Good textural communication skills, poor verbal communication skills.
*Currentally unemployed. (NEET :P)
*I have extensive personal experience with Java, and Python. Some Lua. Knowledge of data generation, parsing, Linux, Windows, Terminal(cmd & bash), & Encryption(Ciphers).
*Math, but very little algebra/geometry (though, could easily improve these).
*Work best under preasure.
Remote only.
Think anyone would hire me..?13 -
I gave up on learning math as a young person because no one was ever interested in teaching it in a way that made sense to me.
But as I’ve gotten older, I’ve started working on a pet projects that require understanding of (what I would consider) fairly advanced geometry, which as it turns out is called computational geometry. And it’s fun.
I just look back at the time I was afraid of this stuff with regret. All because my teachers weren’t terribly interested in teaching, but more interested in fulfilling useless metrics that only make it look like students are learning when they’re actually not.12 -
Ooh yeeaah. It was 2020 and I was in a final exam. Algebra and Analytical Geometry; 1st year of Engineering class, if you care.
I had a camera pointing at me, my desk and my computer.
The submission was through Google Drive.
So I use my phone to scan my test into a PDF, upload it, and when I tried to submit it...
My recent documents were full of nudes of Belle Delphine.
I had forgotten a friend sent that while we were on Discord having some laughs earlier and I clicked it to check.
I selected my exam, submitted it, and went on with it.
I don't know if anyone noticed, but I think it was kind of obvious, even if it was a screen in a camera... the previews were kinda big on my big screen.2 -
I wrote a Blender plugin that uses vector math, matrices, calculus, trigonometry, and likely other types of math. There's recursion, filesystem access, image processing, interface logic, and on and on.
And worst of all - other people are expected to use it, so there's added pressure to do a good job.
Oh, the hours I spent trying to figure out why the imported geometry looked like an exploded mess. Fumbling around with mathematics I didn't fully understand was exhausting. Finding help was impossible at times because I didn't have the vocabulary to even describe the problems I was having. And getting it to complete an import before the heat death of the universe was not easy.
Every time I made progress and thought I was done, I would discover a bug that other importers didn't have, leaving me to sift through languages that definitely aren't Python to see if I could reverse engineer the logic they used.
I almost gave up a few times, but didn't.
Now I have something that, while not used by many people, works very well, is very efficient, and doubles as a palette cleanser when I need to do something for fun or for a challenge. Plus I learned a lot along the way.4 -
Can someone explain me AI/ML/DL in traditional algorithmic way without AI jargons?
What I currently understand is that they convert the training data to numbers based on a complex black boxed mathematical algorithm and then when a new data comes in, the same conversion is done and a decision is taken based on where the the new number fits in within the geometry/graph plot of the old numbers from training. The numbers are then updated. Is this what they call AI? Nearest number/decision search?
Kindly try to avoid critic, I am having a difficult time understanding the already trending AI stuff. People say that the algo exists from long back but only now we have the compute power.20 -
Those of you who like "The Imitation Game", you probably want to check out "Hidden Figures" (2016). It's on Netflix now.
About a team of female African-American mathematicians who wanted to "break the glass ceiling" in NASA.
- Dorothy : conquered the (recently acquired) IBM frameworks using Fortran and taught her team to program it
- Mary : appealed to court to be allowed to study in a all-white school to get her qualification to be an aerospace engineer
- Katherine : her skills in analytical geometry enabled her to be the first female African-American in the Space Task Group in calculating the momentous capsule launch into orbit
My lazy ass just can't fathom how someone who deals with so much math and pressure can still smile to their family after work. My grumpiness nature will surely turn me into a monster.
And now I know what "human computers" means.5 -
[Post marked as: devRant]
I think one of the weak points in the official devRant app is performance. That's probably due to the cross-platform stuff...
You see, if I shutoff 6 out of 8 cores on my CPU and force my GPU to only run at the lowest frequency possible, devRant gets HELLA laggy. However, games like Geometry Dash run just fine. No lag whatsoever.
It's not that bad though, just explains why devRant uses so much battery on some phones. -
Just finished up some math homework
One of the problems involved finding the side lengths of a triangle
Spend a good 20 minutes fucking around with the law of sines and the law of cosines before I realized it was a right triangle, and so I could use the Pythagorean theorem
I'm an idiot3 -
aaAAaaAaaAaaAaAAAAAaAaaa floating points!
I debugged my algorithm for quite a while, wondering why it sometimes gives out "Circle(Point({1.7976931348623157E308,1.7976931348623157E308}),1.7976931348623157E308)" as the smallest circle around a group of points.
Figured out that it sometimes just never found any circle defined by two or three of the points which included all points (which is mathematically impossible).
Then finally I made it print out the points it thought were not inside the circle:
"1,7,8: Circle(Point({0.6636411126185259,0.535709780023259}),0.4985310690982777)
skip, 1 not inside"
So it defined the circle with 1 being on the edge, but then thought 1 was outside. Thank you, floating point Math.
For anyone wondering about the notation: That way I can directly copy/paste it into Geogebra to have a visualisation.7 -
Everytime you use OpenGL in a brand new project you have to go through the ceremonial blindfolded obstacle course that is getting the first damn triangle to show up. Is the shader code right? Did I forget to check an error on this buffer upload? Is my texture incomplete? Am I bad at matrix math? (Spoiler alert: usually yes) Did I not GL enable something? Is my context setup wrong? Did Nvidia release drivers that grep for my window title and refuse to display any geometry in it?
Oh. Needed to glViewport. OK.4 -
Back in grammar school we started programming in TI-Basic on a TI89 Titanium as it was part of math class (calculus and geometry). I didn't really understand much because the teacher thought it was a great idea to start with recursively calculating GCD (and we were in a sort of "linguist profile", nobody had ever touched a line of code in their lives before). I still liked it though and by some coincidence I got an old Win95 compaq notebook to play with from a friend.
I started playing around with the CMD prompt and batch files and could apply some of the things I had learned on the TI, like GOTO or If statements. I still didn't know what I was doing of course, and so it happened that I used the > file pipe when trying to compare two values. Suddenly there was a file with some code fragments and I started to get what I had done. I put the file pipe into an endless GOTO loop and was amused how those few lines filled up the whole desktop with nonsense files. I went on to refine this a little so I could control it with another file that acted as a kill switch when present. Over the next weeks I played some more with it and made it write out and start another batch file that would check whether the original script was still there and recreate it if not.
That notebook was so large and heavy I could not bring it to school, so I wrote all code by hand on paper and typed it in when I got home, that way I could still code in class when I was bored and no one would notice.
So my first ever "program" that I wrote myself was some lousy malware.5 -
One of the worst parts of being a nuclear engineer is the ancient codes and programs we use.
Like seriously.
Are we all THAT lazy to get a fucking working VisEd and MCNP written in a comprehensive language like python??
I just want to go to work and not have to scroll through thousands of pages of documentation. I just want my geometry to be defined easily and not wonko shit where the sphere exists inside and outside the mesh tally. I JUST WANT A SPHERE TALLY MESH, THE MULTIDIMENSIONAL EXISTENCE OF THIS SPHERE IS UNNECESSARY AND NEEDS TO UNDERSTAND I LIVE IN LESS THAN TEN DIMENSIONS UNLIKE TECHNOLOGY1 -
What if I told you that algebra, geometry, precalculus's (ect) laws are the equivalent of api/documentation. we learn them and use them when necessary to solve problems. I will use the quadratic formula in math to solve a problem just like I would use a particular function in programming.
-
!story
I finally joined uni. With all of its fucking bureaucracy. But I love the feel I get being there with people I know wants same stuff as mine. I picked Math.
It's equally ambitious and crazy as 1) My previous school didn't prepare me at all, (not even limits for fuck's sake) 2) it has given me an antidepressant boost, but I'm also a person that yes goes on anyway but at the first difficulty I second guess my own ability in first place to overcome what's ahead (so, depressive rebound). 3) I have dyscalculia and adhd. Lucky me, not the kind of dyscalculia that makes you unable to grasp logic, it's more like I can't do calculations in my head and 8x7 is HARDER to me than explain graph theory or some stuff about riemannian geometry.
What did you all feel when you went to university? Because I'm feeling a lot ignorant, but worse, stupid, very stupid.
Any advice?2 -
NO FUCKING WONDER I SUCKED-ASS IN HIGH SCHOOL ALGEBRA!!!!!
Arghgghhghgh ughhh....
I want to beef up the hell out of my Maths Chops so I can maybe try going back to school for a A.S. in EE or hell even an B.S.
I'm using my company's Safari Learning account for getting free-ish access to college algebra books and I'm self studying.
I'm still in Chapter 0 where the book covers shit you're supposed to know from previous years of education. I'm just learning about some of this shit now!!!
While it's possible that I didn't pay attention in high school lectures, I took geometry in 9th grade and was an A/B+ student and felt confident in maths. I got to Algebra II in High School and suddenly nothing made sense anymore, reality fucking-fell-apart!
Suddenly, I'm failing tests left and right and struggling with the lecture concepts and I could never seem to grasp materials covered in class anymore to even be able to finish the homework assignments.
Fast forward to me being 15 years older and wanting to take a stab at this shit again, but with new found determination to get into EE so I can fuck around with small electronics for pet projects I want to do. I'm starting with College Algebra to try and learn when suddenly, low and behold I have a HUGE FUCK-MOTHERING GAP in my core understanding of the language/syntax/grammar of mathematics.
Been fucking knee-capped for the last decade+ because I either slacked off during those fundamental lectures (which again; is totally plausible) or I had a complete fucking imbecile for a math teacher that glossed over the topics and fucked not only me but the 40+ other kids in that class.
I'm not going to blame the teacher, although I really fucking want to, but I can't remember how the class scored on tests or homework to be able to fairly and objectively make that judgement against the educator.
FUCK!!! I hate my 15 y.o. self right now6 -
Anyone into road bikes? What’s your ride?
My last ride was a custom-built Mayak fixed gear. Couple of facts about the geometry and the bike as a whole:
1. Even on 165mm cranks, the crank overlapped with the front wheel not by the pedal, but by the crank itself. Because it was a fixie, turning at a wrong moment could send you flying.
2. The stiffness was immeasurable. We’re talking Joe Biden at a kindergarten levels of stiff.
3. It was a rocket. You hop in, make two turns and boom, you’re half way across the street. When we raced with road bikes on urban endurance courses, they were WASTED by the end? Me though? Barely sweating.
This bike was a great metaphor for my personality. Awkward, unforgiving, rigid, chaotic, over the top, difficult, yet brilliant in a very narrow range of specific tasks. A true glass cannon.9 -
FUCK ME IN MY INDICES.
FUCK THE GPUS IN THEIR INDICES.
I mean... I understand (roughly) why the meshes are sent to gpu in this form, but at the same time...
...there's a reason why first thing I did when I was coding my procedural geometry generation library, was abstracting away all of that stuff...
...sadly, as many useful things, when I was looking for that lib on the start of this contract, I couldn't find it. and I was like "doesn't matter, this is a simple thing, using the library would be just a lazy overkill anyway".
well, fuck.
two hours of playing around with two fucking triangles, trying to figure out which indexes are pointing to the correct vertices in a list containing FOUR outline paths.
(lower inner, upper inner, lower outer, upper outer, exacly in this order).
i mean, yeah, it's actually pretty straightforward stuff... for someone not as dumb as me =D
you just have two offsets, one that jumps you to start of the upper path, another that jumps you to the start of the outer path, then it's just
0 + upOffset to get the vertex extruded upwards from the zeroth of the inner path, or
0 + outOffset to get the zeroth from the outer outline, or
0 + outOffset + upOffset, to get the one extruded from zeroth outer vertex...
and so on.
simple stuff, then you just replace the zero with loop control var, put them in the right order, and voilá! walls!
except... whatever, why am I describing in such detail, not necessary, you're not my rubber duck =D
in short, figuring out which fuckin vertex is which, when the list contains ...well, any number of points, and you need to plug the gap between last and first points of the paths, where you need to wrap around the list...
...has proven to be surprisingly hard for me.
funny how much I love doing these things with meshes, despite how bad I am at doing them, which makes me hate doing them despite loving it =D2 -
For the room closeness part of my algorithm I changed it to check against a point on the edge of the room. I determined this point by doing a vector intersect with the room geometry. The vector is determined by center to center of the rooms. Not the closest point on the outside of the rooms to each prospective room, but close enough. That is what I am drawing with yellow dots.
I can use these points to approximate door positions and corridor placement. This is for completely random rooms and corridors. However, for predefined rooms with strict entry points I will have to figure out how to connect those doors to other random rooms. Or I just predefine door locations for all rooms.
I dunno the best way at this point. Doing pure random has benefits. Doing predefined rooms has benefits as well. Will probably hack together a mixture of the two.5 -
I was sitting in Geometry, and i realized something. Geometry fucking sucks, i would pick Algebra any day. I love using letters it reminds me of varibles and its not thay bad5
-
We have people from all different types of backgrounds here on DevRant, and I feel like lots of us just kind of spontaneously discovered the dev world without really planning on it.
That makes me wonder, what did you major in during college, and is it related to what you're doing now? Did you major is Computer Science/Software Engineering/Web Development, or something completely different?
I double-majored in Algebraic Geometry and Astrophysics, and while my math background does come in handy as a developer, I'm very rarely applying what I actually specialized in to my dev work4 -
I never studied CS. This was probably around 2004 (I was 10), I just got my first own computer. I used to mess around with HTML and JS previously, like making obnoxious marquees and so forth, but then I met this guy on DC++ who taught me the basics of VB. Before that I'd always thought of people who could make compiled exes as magicians, and I suddenly became one of them. It was a very empowering moment. While others were playing, I coded apps such as a geometry calculator for school, a TCP chat program (not as cool as Zuckerberg's), and so on.1
-
Since when is blender utterly unusable for meshes > 500k tris. I have 32 gig RAM and it's literally unusable. You try to do anything and it fills up your entire RAM and dies. No matter what you do
Like fucking really? I can't add a subdivision surface modifier to a mesh with 800k tris? Is that too much to ask for
I'm so fucking pissed off right now. I've already wasted an hour trying to export ANY high res model and zero luck so far. Either blender just crashes. Or the exported model doesn't contain any geometry. Or the exported model doesn't contain tangents (even though I explicitely enabled them). Or I try do enter edit mode and it crashes. And then every damn time I have to renavigate to the blender folder (because of course you can't start blender just normally, no no that doesn't work) and when blender crashes it nukes my terminal as well. And then I have to reload the stupid model. And then I have to do what I'm trying to do hoping it doesn't crash. And then it crashes anyway8 -
Why TF does unity use mesh renderers for generating navmeshes? In what possible situation would that be a usefull?
Why would it chose to bug out on the complex visual geometry instead of using the finely crafted low-poly clipping layer? In what situation is that a good idea? Why would the AI need to collide with different things than the player? (IMHO NavMeshAgent should depend on CharacterController or Rigidbody)
I feel like so many features in Unity are potentially very nice but don't work well together or have WTF design elements like this one. Like custom shaders not being able to alter the result after the lights have been added together, and the undocumented finalgbuffer:ColorFunction function. Or a million other tiny things that make me wish I was smart enough to build my own engine.
/rant2 -
whats that? where have you been phazor? gaming! i took a break off of coding! and went to play some games!
minecraft 1.17, muck, rust, farcry 5, ailen isolation, bioshock 1, 2 and infinite, even some geometry dash
after that i decided to come back and relearn html and css because if anyone who wanted to hire me i bet they would ask for a website first and see plain buttons and a depressing web page! -
"Geometry can produce legible letters, but art alone makes the beautiful. Art begins where geometry ends, and imparts to letters a character transcending mere measurement." - Paul Standard4
-
I fucking hate math. Today tried to make 2 unequal rectangles align along 1 axis. This isn't that hard when they aren't rotated but it fucking when they are rotated. I know I have to use geometry to get them aligned and I got it somewat working but as the gap is bigger so is the drift in which it over compensates to the other side and I have no fucking clue how to fix this 😩.
The worst thing is tomorrow I have to be at this again1 -
According to MIT and some other programmers, as I interpreted it from their video, Computer Science is not a science, but rather an art:
https://youtube.com/watch/...
I'm not sure this is the truth.
First things first. Definition:
- In order for a field to be a science, it has to have an internationally recognized body (such as physics has one). Does computer science have one?
Furthermore, one of the definitions of science:
"a branch of knowledge or study dealing with a body of facts or truths systematically arranged and showing the operation of general laws:"
source: https://dictionary.com/browse/...
- In order for a field to be considered art, its essence has to be about aesthetics.
Now, it's true that Computer Science is not about computers (as they are mere physical manifestations and tools that we use to practice the essence of what are abstract models that we theorize, much like Mathematics is not about numbers).
Like is said in the video (3:39 and example at 4:06): Computer Science is about formalizing intuition of process: input, algorithm, output, the precise imperative knowledge of 'how to' vs. Geometry ('what is' true, i.e. declarative knowledge).
Now, if we're formalizing and being precise, are we being scientific or theoretical? It could be argued we're then being theoretical, except for the case of Applied Computer Science, where things get more scientific (introducing observable proof).
Further elaborate discussion is welcome.
Proceed.4