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 - "drilling"
-
You remember when I said the people near me might take everything away?
THE DAY HAS COME.
FUUUUUUUUUUU-
Do I have to say how retarded it is to take a PC and a phone away from a person who first off, loves tech, second of all, gets all her university assignments and information THROUGH an email, third, wants to be a game developer?
Seems like even telling them that I am trying to get as much informed about gaming industry as a whole isn't a valid fucking reason for why I use tech as often as I do... I want to be a game dev, you fucking morons.
So... This began by them AGAIN drilling me about the university progress. I cannot even remember my goddamn schedule, for fuck's sake! How do you expect me to remember every damn grade, every damn exam date and every damn subject name? They also expect me to study 100% of the time I'm using the PC. WHO does that?
They start drilling. I try not answering. It drives them mad. They start exploding. I try all I can to calm the goddamn situation. It's not enough for them. NO, they HAVE TO KNOW EVERYTHING! I try all I can to survive the situation without a conflict. Too late. At a certain point my amazingly clever father says I'm definitely autistic for trying to answer in as little words as I can. Because they totally don't give me a reason to never want to talk at all in their presence...
They got mad enough to take the phone, the PC and my headphones away.
And now here I am, writing this on a university PC in Chrome of all :|60 -
Him: everything is hackable, you know
Me: oh well, enlighten me with an example.
Him: well take for example whatsapp, which was bought by facebook, so if Facebook is hackable, then why not WhatsApp
Me: ok, so tell me how do you hack Facebook ?
Him: just like how you hack WhatsApp.
Me: *digs in the Bosch toolkit to find and drilling machine* How about I drill some knowledge into you? *evil jack nicholson (the shining) smile*4 -
4pm and the neighbour starts drilling.
Excuse me lovely neighbour, some of us have late meetings to attend 🤷♂️
I got asked if i was on a motorcycle. 🤣6 -
New country, new company, new team, new projects.
I'm supposed to be the TL of a team working on a React project.
A guy in his late 40s celebrates himself as "the senior", he basically just finished watching a youtube thing, React 101 crash course or similar. The other two juniors who did only Wordpress so far venerate him like a god.
The code, of course, is one on the finest pieces of crap I ever had the pleasure to deal with in my life: naturally a bunch of JQuery plugins for everything, no tests, no state management, side effects everywhere, shared state and globals like hell, everything written in ES3/ES5 style, no types, no docs, build and deploy totally manual, deep props drilling at every level... and not to mention the console.log() shipped in prod.
First day, already headache.
Full rewrite start tomorrow.
Hiring real devs as well.4 -
!rant
Arduino CNC
Hey guys.
Since I mostly see frameworks to use with G-Code in Arduino CNCs I'm gonna make my own framework, where you don't need to know G-Code and the code is executed by Arduino code.
The code would include a template to define steppers steps and such.
Would include a library to work with different stepper shields.
Would this interest to anyone?
I'll provide a full example with stuff to learn for any amateur working with CNCs or that want to work with one. If you're not interested, thank you for reading, you can stop here.
Ex:
X(10);
Y(-5.5);
XY(6,7.5);
Z(-10);
This framework would only use incremental coordinates and will work for basic forms, drilling and such.
<Tutorial>
Coordinates.
Coordinates can be relative/incremental or absolute.
Lets say you have a square with 10mm, (top coordinates: (X=0,Y=0) to (X=10,Y=10).
think your drawing this square.
First line:
X0, Y0
Absolute: x10,y0
Relative: X+10
Second line:
A: x10,y10
R: Y+10
Third Line (...)
Absolute is a fixed point (coordinate)
Relative is a distance to move (not a coordinate but the distance and direction)
</Tutorial>
So, to cut a square with a TR10 (end mill with radius=5, diameter=10)
<code>
// You don't place + in positive values
// The tool always cut in the direction of the tool rotation, meaning on the left of the material.
Z(10); // Security Distance
XY(-5,0); //Compensate the diameter of the tool in radius
Z(-1); // Z=0 is the top of the block to mill, in this case. Z=0 can also be in the bottom
Y(15); //Second Point
X(15); // Third Point
Y(-15); // Forth point
X-15; // Fifth Point
(repeat)
</code>
Now we have a block with 1mm depth. If you use a while or for you can repeat the sequence for x=n passages, change the value to Z for the depth and your done.31 -
Google Business Profile is probably not meant for developers. "Help customers find your business by industry." Dev: set primary category to "Web Developer". Google: We didn't understand your category. Please select from the suggestions that appear when typing. Dev, typing: "Web D"... Google suggests: "Web Designer, Web hosting company, Well drilling contractor, Waterbed shop". Okay, Google, nevermind.
Google: "Update your customers. Keep your customers up to date about your business!" Dev clicks "add update", adds info about that customer should use different phone number temporarily due to broken phone. Google: "Your post has been removed from your Business Profile on Google because it violates one or more of our post content policies." Okay Google, at least you let me add an additional phone number on my profile without requiring to verify my primary number that I currently have not access to. Anything else?
Google: "Claim your €400 free advertising credit" Dev: clicks "claim credit" Google: "To access this Google Ads account, enable 2-Step Verification in your Google account." How to combine idiocy and deceptive patterns in a single UI: Google knows! Apart from their search engine, their unique business advantage is simple that they suck a little less than Apple and Microsoft. Sorry, not a day to be proud of our profession, once again.5 -
Looks like it's time to update the old CV... Christ have I really been here for 8 years.
It's been fun, the most fun time of my life but with new owners breathing on everything stuffs starting to fall to shit.
To use a SysOps analogy there are category 1 - critical warnings ringing in my ears.
I can accept a lot, but I'm genuinely concerned for the future of this place, and after trying to fix things for long enough to realise the new owners are the ones drilling the holes in the ship it's time to sink or swim, and I don't feel like sinking.
To quote billy Joel,
It seems such a waste of time
If that's what it's all about
Mama if that's movin' up
Then I'm movin' out1 -
I am building my own server right now, problem was that the case was too small for the Mainboard to fit.
Solution: drilling the fucking case apart
(PS: sorry for no cocktail rant, but soon)8 -
So they were renovating the toilets on my floor this week and despite all the noise from the drilling and taking down walls I was very productive 😍4
-
So I'm coming out of one that has a focus on this stack (JS [JQuery after weeks of Vanilla JS drilling in our heads, React], Java, MySQL, Python [Django, Bottle], HTML/CSS, and a few web security concepts (XSS, SQL injections).
The whole course has been 4 months learning, 3 weeks working on a final project. Next week is the presentation, so I think I can safely comment on the course.
We moved fast, but that's to be expected. Lecture in the mornings, exercises in the afternoons, assignments due at the beginning of each week. Constantly working towards it and improving. I have been working pretty hard. We were given some help, but had to get a lot of answers online (based God StackOverflow), but that's part of it.
We touched on some concepts like inheritance in JS, Python and Java, OOP and to be open to concepts we don't know so we should be thirsty for that knowledge.
In my off time, I've begun texting myself Node and really trying to double down on React because it seems useful. I realized I was more drawn to the backend, but I was comfortable in front end as well. (Just don't ask me to design anything, my eye for aesthetics/CSS sorcery is terrible.)
The overall experience has been pretty mixed, but we were mostly unsatisfied. We weren't given then help we were promised. The explanations weren't exactly crystal clear, so we would have to teach ourselves and each other quite a bit. We worked together a lot. Some people really fell behind, some caught up, some flew ahead and thrived. (I'm somewhere between caught up and thrived, I recognize where I stand.)
I'm happy I did a bootcamp, they aren't miracle programs, but they at least kick you into place that you are learning and need to continue to learn. (Just kinda wish I had done a different one.)
Feel free to ask about anything concerning it! -
I am sitting on a fucking vibrator!!
PoV: Writing my code, minding my own business, listening to lofigirl.. private Schema<?> asSc
<rrrrrrrRrRRrRRRRRRRRHHHHHHRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRHHHHHRRRRRRRRRRRRRRRRRHHRHRHRHRHRHRHRHRHRRRRRRRRGGGGGRRRGGRGRGGRGRRRRRRRRrrrrrr.><KNOCK KNOCK KNOCK KNOCK KNOCK KNOCK><3.5sec pause><rrRRRRRRRHHHRHRHRHRRRRRRRHRRHHRHHRRRRrrrrr>
hema(Type ty
<hhRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRrrRRRrRRRRRRRrRRRRhhRHHrHRHHRRRrrrrr>
pe) {
How the hell am I supposed to concentrate when my neighbours are trying to make me cum with a drill.
Swear the God, my ass is on some serious vibro.10 -
A wild project appears!
The deadline is set in two months.
It's a 3D environment interactive app with some oil drilling models and other stuff, for a stand on a show. It needs to look nice, but The Company we're working for needs to figure out where the fuck their product is located on those machines. Think tiny pipes, O-rings etc.
I prepare a build in the first couple of days for The Company to figure shit out.
Management holds the build back because:
> the ocean waves are going the other way
> the underwater area doesn't look so nice
> the antialiasing could be better
> one pipe is 5cm off center
> the sky is not blue enough
> the drillship propellers are pointed the wrong way
> one icon is too far to the right
> the shadows could use some work
> there are shadows on the seabed
> some flickering on ambient occlusion
> it loads too slow
> one random object is flipped on it's Z axis
> it's too green
> camera locks up if you move about 2km out of the range
> the name of the build should represent the date of the build
> the name of the build SHOULDN'T be anything else than just a simple three-word name, no dates because their environment doesn't allow apps that are not allowed (by name) by admin
> lots more random things that won't prevent them from using the app
I'm only a month late, but it's good progress. In about a week I hope we can get some feedback if we can use those models at all and what to showcase.
Then I can work on the basic functionality. And then it's a simple case of time travel to meet the deadline.2 -
After drilling yourself with links and resources, documentation and cant execute what you want. You leave it.
Some time later you go back and you are like why the hell didnt I understand this it's so simple :/ and it literally says what to do.
This is when I became a calm developer. Don't rush yourself. If you want to quickly do something. READ dont just look 🙃
Also, don't persist with understand the official docs. The third party explanations will show you flames 80% of the times if you are learning something new.2 -
Converting one of my older projects to use functional components and hooks instead of class components and prop drilling. It's nice.
Though now I have this useState:
const [ disembodiedHead, setDisembodiedHead ] = React.useState("");
Promise it's not as creepy as it sounds.5 -
Some of you know I'm an amateur programmer (ok, you all do). But recently I decided I'm gonna go for a career in it.
I thought projects to demo what I know were important, but everything I've seen so far says otherwise. Seems like the most important thing to hiring managers is knowing how to solve small, arbitrary problems. Specifics can be learned and a lot of 'requirements' are actually optional to scare off wannabes and tryhards looking for a sweet paycheck.
So I've gone back, dusted off all the areas where I'm rusty (curse you regex!), and am relearning, properly. Flash cards and all. Getting the essentials committed to memory, instead of fumbling through, and having to look at docs every five minutes to remember how to do something because I switch languages, frameworks, and tooling so often. Really committing toward one set of technologies and drilling the fundamentals.
Would you say this is the correct approach to gaining a position in 2020, for a junior dev?
I know for a long time, 'entry level' positions didn't really exist, but from what I'm hearing around the net, thats changing.
Heres what I'm learning (or relearning since I've used em only occasionally):
* Git (small personal projects, only used it a few times)
* SQL
* Backend (Flask, Django)
* Frontend (React)
* Testing with Cypress or Jest
Any of you have further recommendations?
Gulp? Grunt? Are these considered 'matter of course' (simply expected), or learn-as-you for a beginner like myself?
Is knowing the agile 'manifesto' (whatever that means) by heart really considered a big deal?
What about the basics of BDD and XP?
Is knowing how to properly write user-stories worth a damn or considered a waste of time to managers?
Am I going to be tested on obscure minutiae like little-used yarn/npm commands?
Would it be considered a bonus to have all the various HTTP codes memorized? I mean thats probably a great idea, but is that an absolute requirement for newbies, or something you learn as you practice?
During interviews, is there an emphasis on speed or correctness? I'm nitpicky, like to write cleanly commented code, and prefer to have documentation open at all times.
Am I going to, eh, 'lose points' for relying on documentation during an interview?
I'm an average programmer on my good days, and the only thing I really have going for me is a *weird* combination of ADD and autism-like focus that basically neutralize each other. The only other skill I have is talking at people's own level to gauge what they need and understand. Unfortunately, and contrary to the grifter persona I present for lulz, I hate selling, let alone grifting.
Otherwise I would have enjoyed telemarketing way more and wouldn't even be asking this question. But thankfully I escaped that hell and am now here, asking for your timeless nuggets of bitter wisdom.
What are truly *entry level* web developers *expected* to know, *right out the gate*, obviously besides the language they're using?
Also, what is the language they use to program websites? It's like java right? I need to know. I'm in an interview RIGHT now and they left me alone with a PC for 30 minutes. I've been surfing pornhub for the last 25 minutes. I figure the answer should take about 5 minutes, could you help me out and copypasta it?
Okay, okay, I'm kidding, I couldn't help myself. The rest of the questions are serious and I'd love to know what your opinions are on what is important for web developers in 2020, especially entry level developers.7 -
Two weeks ago this literal statement from client:
I reckon <Your Product> is almost at the point where we can bypass <Competitor Product> altogether, just need <Feature X>
After various much back and forth email, drilling into <Feature X> and asking pointed questions:
At the end of the day because of <Reason Y> I'm going to need <Competitor Product>'s <Feature Z> anyway.
While I appreciate this was necessary, valuable and saved my organisation a great deal of time, it is supremely annoying that it is necessary at all.
95% of of product management seems to be about preventing dolts from being dolts. -
I hate those "simple DIY" instructables. Just had to build something I had to get. Found out one "simple DIY". It requires owning a power drill with a table mount. And a pipe threading machine. Yes, I surely have a drill mount for drilling thru some steel, I know how to use a CNC machine, and maybe have a little metal foundry in my flat. But hey, it's a DIY not 'go to nearest store and buy that friggin piece you need' so you should have prepared yourself for some difficulties.
It's not supposed to be easy!
I still wonder why the author not assumed everyone own a metal foundry, after all. It would be much easier for all of us.
And I ended using PCV, glue, and a spare bottle. Had to buy drill for glass, less than $3. Wasted few bottles to cut out what I wanted. Beer was quite good, thou.1 -
Tired of seeing people showing off their bootcamp certification on LinkedIn as if they had just climbed Mount Everest, and as if they were about to enter the most glamorous field of work one could imagine.
OK I went through a bootcamp myself but I certainly knew I was still a baby upon completion of the journey and still consider I have a veeery long way to go today after two years of dev work experience. Also I knew working as a developer probably wouldn’t be as awesome as these bootcamps make it out to be. In fact it’s everything but glamorous when you take into account the stress, the dynamics with coworkers, POs, PMs, shitty management, wacky clients, weird demands, deadlines etc.
Don’t get me wrong. I enjoy being a developer and have more or less been able handle the workload and expectations. But for goodness sake stop drilling into bootcampers’ heads that it’s gonna be amazing and that they’re doing incredible things. Congratulate them for their hard work and then wish them good luck because they’re going to need it. Bootcampers, stay humble. Be prepared for the worst while hoping for the best3 -
I Work from home for like twice in the quarter
And of course, on the day I happen to be at home... my neighbor starts drilling holes into his walls at 9:20 am3 -
Why dose relocating a server have to be s pain, could be worse if it was a rack server I guess not a workstation case but still, drilling new holes and cat proofing it will be a pain lol
There is many downfalls to self hosting and most of my problems seem to be the home environment lol -
Area: oil & gas
Full time job: SCADA apps, network comms, real time database;
Part time job: drilling app for geologist engineers, real time data acquisition, lots of math calculations and simulations;
I'm loving both jobs, because of working with external acquisition devices, because of freedom of work and complexity of the field. -
[Rust] What are alternatives to argument drilling for something like a string interner which is technically a memory leak so it really shouldn't be global but at the same time all but a couple top level functions depend on its existence? I'm aware of context objects and that's all ChatGPT could give me as well, but I'm wondering if there's more to this problem than that.1
-
Shit is getting more and more weird.
Context updating hooks inside useEffect is just icing on the cake especially the comment about how putting that hook in useEffect dependecies would cause infinite loop. No 💩, Sherlock!!!
No dumb components in this project except maybe buttons.
Every fucking component has tons of business logic and you can't simply tear it apart as data structures are all over the place. Prop drilling with every drill-step recieveng data of a different type.
We are using Context. For just one value. One. That's it.
Fuck this shit! This shit beats every anti-pattern approach I saw in my whole life, and this is my 40-ish project!
Over engineering by stdOut playing in the backround while I curse at this POS code.
The product is cool though. And it works™ -
Is there anything like React Context or Unix envvars in any functional language?
Not global mutable state, but variables with a global identity that I can set to a value for the duration of a function call to influence the behavior of all deeply nested functions that reference the same variable without having to acknowledge them.13