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 - "bikes"
-
If the wheel wasn't reinvented, bikes would still have wooden tires.
*continues writing another Javascript framework*3 -
Best non-technical description of why we hate to post in forums (shamelessly copied from Shamus Youngs blog found here: http://shamusyoung.com/twentysidedt...) ->
ALLEN: Hi, I’m new to driving and I need to move my car back around 5 meters. How can I move the car backwards?
(2 days later.)
ALLEN: Hello? This is still a problem. I’m sure someone knows how to do this.
BOB: I can’t believe you didn’t figure this out yourself. Just take your foot off the gas and let the car roll backwards down the hill. Tap the bake when you get to where you want to be. Boom. Done.
ALLEN: But I’m not on a hill. I’m in my driveway and it’s completely flat.
CARL: Dude, I don’t know what you’re trying to accomplish, but you should never be driving backwards. It’s dangerous and will confuse the other drivers. See the big window in FRONT of you? That’s your first clue. Don’t drive backwards.
ALLEN: I’m not trying to drive backwards. I just need to move back a little bit so I can get out of my driveway and start driving forwards.
CARL: So just drive in circle until you’re pointed the right way.
ALLEN: I don’t have enough room to turn around like that. I only need to move back a few meters. I don’t understand why this has to be so hard.
CARL: Sounds like your “driveway” isn’t compatible with cars. It’s probably made for bikes. Call a contractor and have them convert some of your yard into driveway to be standards-compliant with the turning radius of a car. Either way, you’re doing something wrong.
DAVE: I see your problem. You can adjust your car to move backwards by using the shifter. It’s a stick located right between the passenger and driver seats. Apply the clutch and move the stick to the “R” position.
ALLEN: But.. I don’t have a clutch. And there isn’t a stick between the seats.
CARL: Sounds like you’re trying to drive in Europe or something.
ALLEN: Ah. Nevermind. I figured it out.8 -
Let the student use their own laptops. Even buy them one instead of having computers on site that no one uses for coding but only for some multiple choice tests and to browse Facebook.
Teach them 10 finger typing. (Don't be too strict and allow for personal preferences.)
Teach them text navigation and editing shortcuts. They should be able to scroll per page, jump to the beginning or end of the line or jump word by word. (I am not talking vi bindings or emacs magic.) And no, key repeat is an antifeature.
Teach them VCS before their first group assignment. Let's be honest, VCS means git nowadays. Yet teach them git != GitHub.
Teach git through the command line. They are allowed to use a gui once they aren't afraid to resolve a merge conflict or to rebase their feature branch against master. Just committing and pushing is not enough.
Teach them test-driven development ASAP. You can even give them assignments with a codebase of failing tests and their job is to make them pass in the beginning. Later require them to write tests themselves.
Don't teach the language, teach concepts. (No, if else and for loops aren't concepts you god-damn amateur! That's just syntax!)
When teaching object oriented programming, I'd smack you if do inane examples with vehicles, cars, bikes and a Mercedes Benz. Or animal, cat and dog for that matter. (I came from a self-taught imperative background. Those examples obfuscate more than they help.) Also, inheritance is overrated in oop teachings.
Functional programming concepts should be taught earlier as its concepts of avoiding side effects and pure functions can benefit even oop code bases. (Also great way to introduce testing, as pure functions take certain inputs and produce one output.)
Focus on one language in the beginning, it need not be Java, but don't confuse students with Java, Python and Ruby in their first year. (Bonus point if the language supports both oop and functional programming.)
And for the love of gawd: let them have a strictly typed language. Why would you teach with JavaScript!?
Use industry standards. Notepad, atom and eclipse might be open source and free; yet JetBrains community editions still best them.
For grades, don't your dare demand for them to write code on paper. (Pseudocode is fine.)
Don't let your students play compiler in their heads. It's not their job to know exactly what exception will be thrown by your contrived example. That's the compilers job to complain about. Rather teach them how to find solutions to these errors.
Teach them advanced google searches.
Teach them how to write a issue for a library on GitHub and similar sites.
Teach them how to ask a good stackoverflow question :>6 -
Took a headoverheels digger on my bike today, groceries went flying, chinos even ripped on the asphalt, first thing this lady bystander says is RAAAAAAAAAAAAA THIS IS A PEDESTRIAN ONLY STREET!!!!!
I'm like no it's not, look at the sign
nO iTs BeEn WrITtEn FoR 2o YeArS, pEdEsTriAnS onLy!!!!!
sure enough at the end of the road, says pedestrians AND bikes allowed... 🤡🤡🤡🤡
stupid bitch, if you're gonna be a bitch at least be right about it
honestly i'm not sure how people navigate through the world, just floating around, no REAL knowledge or consideration of anything, just ideas, hype, and idiotic "feelings"6 -
This is the story connected to this rant:
https://devrant.com/rants/1533475/...
Thanks everybody for the concern! I want to inform you that I'm doing alright again. I went to a not too big event not far from home.
After a few beers and one stronger drink me and my friend had a good time. Everything that happened after, I can't remember it.
My friend told me we were walking to our bikes (he wouldn't let me go home, he noticed something was wrong) and right before we arrived I fell to the ground. After a while my friend helped me up but as I stood again I fell immediately, my head hit the ground hard.
I puked a lot and after almost an hour the police was there, who called an ambulance (last night I got a flashback in my dreams and vaguely saw one of the two ambulance drivers.
They inspected me but surprisingly they didn't take me to the hospital. My friends' mom also arrived and together they pulled me in to her car.
After that they brought me home and of course my parents were shocked as hell. They pulled me out of the car and put me down on the couch. It was about 4 am at this moment.
I first woke up at 7 am but immediately fell asleep again (I can't remember me doing this but my father said I did this, he stayed awake the rest of the night). An hour later, 8 am, I finally woke up. A lot went through my head because I could't remember how I came home.
Without many words I went to bed and later we talked about everything that happened.8 -
So, I finally got a bicycle today. Time to start working on my health...
Am I the only one who's daily regime was:
1 - Go to work, sit around for 8 to 9 hours
2 - Come home, sit around for 8 to 9 hours
3 - Sleep for 8 hours
Goto 1?
I was surprised how the bikes these days are so incredibly light. I could lift it and keep it up no problem!10 -
When Google Engineers Made a Speech Synthesis Program, they hadn't figured out a name until:
"What should we name our advanced speech synthesis program"
"Hey bob what are going to order for lunch today"
"Tacos."
"What was that weird movie with the laser bikes that make light walls"
"Tron."
"Bob you're a genius" -
So friend is making this key-value app with Thunkable for people with dementia. We're just unlocking our bikes when he wonders "what if they forget they installed the app?".
I suggest push notifications but cos he's using Thunkable FREE he'd have to pay £200 for that.
So he says he'd "F*CKING SPAM THEM WITH EMAILS" instead!
ps his APK is 30MB9 -
~dev, not in front of computer stuff
Playing with the controller and power management using the torque sensor, managed to get this flatland cook-off going today on the fat tire ebike with only 50watts of assistance. Efficiency gains over stock of 28%! 30mph on a bike feels ridiculously unsafe, but the looks you get from cars are even better.
Love being able to gather all this telemetry (GPS, elevation, pulse, durations), gives me stuff to fish through and data to play with.6 -
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 -
Not my story, but something that my friend did which inspired me a lot. So, a friend of mine who just graduated with a bachelor's in physics, had a month off after one of his semesters, and while most of us ended up doing internships in companies, he decided to do something else. He decided to go up to a local mechanic and ask him to teach him how to repair bikes for a month. Now in India, a mechanic is sadly one of the least reputed jobs, so for him to go there and work for free was unusual. After working there, he told me about the things he learned and to what an amazing extent he could apply that practical knowledge he gained. It was truly impressive. Which is why I have decided to do something like this in the future as well. With enough savings, I'm sure all of could survive a month. I can't even begin to imagine the potential of this, you could learn so much practically.
-
OnePlus 3 camera app has integration with Google Lens, that's great let's try it.
*Open camera, switch to Google Lens, and capture my mouse ( a regular one, with very common design in general)
*Results: bikes, Moto, and more motos.. 🚲🛵🏍️
Wow Good job6 -
Heads up , not a tech rant
So I now know what you should say if your kid asks what kind of person you should or should not be
So in the picture (sorry it isn’t clear , was taken late night after work) was a common parking area , the bikes parked you see are parked leaving space between at least for 2 more bikes. The owners usually park it that way cos they are too lazy to “properly park”. I confronted them last month and they said they’ll look into it , they have been contacted by various people from my area about this mattter , but it seems they don’t think it matters
So kids , learn to be considerate and not a douche bag , learn to listen and act , not act and listen , and last of all , learn to be a better person , that’s what humans have been trying to do for hundreds of years1 -
Had a fun adventure this morning. Had to deliver some bags to some houses. Entered the addresses in Google Maps. Off we go. First house, no problem. Second house, and Google is taking me on a weird route, through some parking lots and stuff. Finally, it wants me to turn onto a bike trail. WTF? My Google maps is set for bike routes. Went a lot faster when I set it to car. No wonder there were so many bikes and the road seemed so narrow.1
-
I just noticed that whenever I get a captcha to prove I'm human, it's always images from the street.. cars, crosswalks, traffic lights, trucks, bikes, tractors etc etc...
I just want to know... Who's ML model I've been helping to train for the last i don't know how many years?!? 😤
I should've realized something smelled funny the moment i understood that a bot is asking me to prove my humanity to it, by doing something that a bot should be able to do by now.6 -
Things I don't think I ever want to own. Large battery powered vehicles: bikes, cars, trucks, etc. They seem to be quite good for carbon reduction though. People don't seem to survive the fires they cause.5
-
i don't understand what would be termed as "relaxing" for me.
when i was in college , i watched a lot of movies on romance, bromance and friendship. being from a very angry , isolated family with bitter relationships from relatives, we had almost 0 people to interact with.
i personnally was also very different from society and struggled making friends.
as of now i did have somewhat come over this problem and have a good number of "known people" (atleast 500+) that i can categorise into'
- A just people with whom i shared a situation( college, office, tutions)
-B people with whom i have spent my free times in those situations (aka friends, and free time = lunch breaks, seat sharing, projects with them, etc)
-C people with whom i spent some time willingly( aka close friends from college, tutions and home, with whom i played cricket, went on partying/touring places , etc)
-D people whom i liked but never got a love back( aka girls to whom i told i like them. they mostly belonged to category C but eventually went to category A)
previously the category C people were special for me and i would weave my life around them. like all those bromance and friendship movies? these are the guys with whom i would do that. world tours and awesome weird shit? these people will be their in the pic... i would wish them on birthdays, i will call them every few days, go meet with them , have a bite, plan trips, movies , etc...
but today i feel am so done with everyone. i feel like everyone is so fake and forgetful, no one is worth my attention. i can easily forget wishing them birthdays or calling/meeting them every few weeks, because i don't want to or care about it.
friendship , from what i have realised, is just a means of dealing with a task in a group. it just provides a herd immunity and herd advantage . and once you learn how to survive alone, you don't really see a point in it. after coming out of college i was alone in the world, as my friends were from different fields. before college, i thought these were the guys with whom we will be living as F.R.I.E.N.D.S, not just in terms of relation, but rather in a symbiotic way: each one helping each other.
today, i feel criingy just thinking about it.
no friend will remember you for more than a year if you die now. everyone will move on. and in the struggling phase that me and my friends are right now (20-30s), we don't even need to die to forget our friendships.
my so called friends have wished me less on my birthdays than the lifeless apps i have on my phone.
so neither i am expecting someone to do something for me, nor do i think i want to do anything with anyone
------
so back to the problem, i don't know how will i find some relax or meaningful time anymore.
i am always up for trips and one of the first person to say yes to plans.
once upon a time i had this realisation that in a trip, we can enjoy 3 things:
1. the people with whom we are
2. the place we are visiting : the locals, the foods, the nature
3. the mode of travel : car on highways, bikes or flights above the clouds , or some memorable train journeys, etc.
but lately so even that seems to be not working out.
- the people are shit
- places feel like somewhat same everywhere . it's either : rocks/mountains or snow or water or buildings and population. it's just a temporary change of scenary and doesn't really gives a feeling of peace. same for mode of transport.
if i rule the going out part, the things that remains is to enjoying your job, home family and daily life. that i do , but that's the thing that creates an environment of "bored-out"-ism in my mind.
i don't know what i am looking for. the only thing i have not experienced is that class D of people. to have a token of faith/respect/appreciation/love from a non blood related person. to have someone with home i will not feel "bored out" when am planning a journey with them.
mathematically , it seems so far fetched and crazily impossible. like if get bored out and loose trust on people whom i shared most of my life after 50-60 meets, how can i be not bored, and be unhappy with a person to whom i have to see each day?
but since this happens for most of the couples, i will say the mind is the biggest and the most fantasizing mystery of human body ❤️ 💔6 -
Motorcycle owners, riders, I need your advice.
I have my licence for quite a few years now, yet I do not own a steel horse. I keep borrowing one [ninja 650 2010] occasionally for a ~100km ride from someone, 2-4 times per season.
A few weeks ago I did a 1k km mototrip around the country. Gotta say, I loved it! Ever since I cannot stop day dreaming about my own bike.
I'm not an aggressive rider. I like it smooth, steady, comfortable, but with some proper kick occasionally. I'd be riding in a city and taking longer trips [500+km], preferrably with a passenger.
Cruisers are awfully large, city bikes look boring, choppers are loud. Supersports - not my cup of joe. I think I'm settling for the sport-touring class.
Since I don't have lots of xp, it's likely I'll fall, so new and shiny or expensive toys will have to wait.
I feel like falling in love with vfr800 late gen6 [2007-'09], with fine-tuned vtec. I love all the feedback about the steadiness, comfort and power. And it does look cool!
What are your opinions about the vfr? What are the drawbacks?
What other bikes should I look at, that would have similar specs to vfr?
Also, when is it better to buy one? At the end of the season or at the beginning [spring/autumn]?1 -
how can i learn to drive without killing myself?
i have several constraints around me, some seems solvable but others seems kinda messed up:
1. no vehicle?? my family owns just one scooter with a 125cc engine that my father takes for his job.
solution : i can buy another vehicle , i got finances.
2. problem of keeping? : living in the world's 2nd most populous country, we had to fight worse battles with our neighbours to get the parking of 1 small 2 wheeler. we might get another one somewhere for another 2 wheeler, but anything bigger than that, and I don't know if it could fit.
solution : ???
3. what to buy? cars are usually most preferable since they are made for multiple people travel. but bike riding is a good skill and bikes can cut through traffic pretty easily. light scooters are also very good as they are easy to balance and cheap, but some highways don't allow them as they can't reach the std 80-90 kmph speed limits
solution??
4. my history of shitty driving and how to get better? we have this scooter in our family for last 4 years (and a few before those that my father used , but this was the firs vehicle that i bought ) , but i haven't been able to get better at it. i can surely ride it myself and drive it at slow speeds without someone sitting on the backseat, but if there is someone at the back, then my hand shakes and the backseat person will be shit scared. i also failed my driving license test, and it will he awkward to buy a new vehicle of I can't properly learn it /use it on daily basis
solution : ???
5. why buy? i never really had a use for it. my college was 90kms away from my home and required train+bus+auto travelling for 2 hours on highways.
and now my work is from home. i sometimes think that my lack of necessity has also caused me not to learn this skill properly
solution : ??
i really wanna learn this skill and be seen as a more maturw reliable person but everything around it seems confusing.15