Details
-
AboutProfessional programmer, hobby japanologist.
-
SkillsC#.NET, C++, Software architecture
Joined devRant on 2/7/2020
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
-
Hello fellow adventurer. Let me give you some pointers from my own experience in solo-travelling to Japan.
- Read about your destination and its people beforehand so you know what to expect.
- Learn a few useful sentences in the local language. Knowing how to ask "Where is X" is super useful IMO.
- Study the local emergency numbers (Europe: 112, Japan: 119 for example)
- Know where the closest embassy, hospital, convenience store,... are located.
- Prepare an emergency kit for when you end up being stranded/your suitcase didn't arrive (this happened twice to me so far...).
- Prepare a piece of paper with your own info, contact info of the travel group/hotel/airlines etc. and carry it with you.
- If possible, get in touch with someone who has been there. You won't get better advice than from someone who has gotten their hands dirty in the local culture.
- Don't blindly follow someone you don't know.
Good luck and have fun! Feel free to drop any questions you may have! -
NGL, I wouldn't have been the type of kid that steals his dads credit card to buy this stuff. I would've been the kid that is going to be traumatized for life because I let a virtual animal die lol
I am glad I lived through my childhood without this bullshit.
This post made me wonder how the Nigerian prince that asked for my money via e-mail is doing these days though... I hope he didn't die of starvation like the poor birb. -
I love how this type of question always invokes the discussion around "What is the solution for the ambiguous problem?", while the more valuable question is: "How do we write the problem statement in a non-ambiguous way?".
-
@Voxera Smooooooth
-
The reason why you shouldn't just "get rid" of the mentally ill in some place is because many of these probably became mentally ill by having "gotten rid of" in the first place. You're just making it worse. The intelligent people you speak of have figured that out already. Only the extreme cases that can't be saved or would cause damage need supervision. Gender dysphoria is by no means problematic.
So here's my advice: Instead of exiling everything that doesn't fit with your world view, how about you develop some tolerance and let people just have that scarce little bit of acknowledgement in their lives instead, as long as it harms no-one?
Seriously, imagine getting mad over a text field lmao -
@jiraTicket Thanks for the input. Let me add some more context of how I ended up here...
I always feel like ViewModels (in C#.NET) get incredibly cluttered super fast:
- There's all the binding properties, which are thankfully simplified by libraries providing some boilerplating for INotifyPropertyChanged
- All the ICommand logic goes in there.
- Validation logic using the INotifyDataErrorInfo.
This breaks SRP in my opinion, so I've factored out each bullet point into its own set of classes. Problem I encountered with the ICommand is that I have circular references, since the command sometimes needs to update the viewmodel that owns it. So I solved it using another layer of indirection which is the CommandFactory. It also allows me to detach dependencies (like EntityFramework) from the VM and inject it into the factory instead.
If you've got a more elegant solution or idea, I'm all ears. -
It depends, but from a business perspective I can say: Don't develop what you're not selling. Because you won't have the resources to do it for free.
For example: If you build common hardware, don't write drivers. Use standardized and existing drivers where possible. If you have special features, then there is no way around. But then your selling point should be the added features. -
OK, thanks everyone. I've seen some good ideas. Refactoring/composition and namespaces are something I already try to apply. In fact, it's generally by applying composition that my names get longer.
Assume I have a BusinessObject, I would create a BusinessObjectEditView and BusinessObjectEditViewModel. And since I want to separate button logic from the view model, I also create a BusinessObjectEditViewModelCommandFactory. I consider this name to be lengthy already, since BusinessObject could be a longer name too, like VehicleMaintenancePlan or AquaticEnvironmentConfiguration or something.
I could reduce the name to EditViewModelCommandFactory, but this will only hold as long as no related entity is dropped in the same namespace...
Maybe my approach is not right. I will give it some more thought. Feel free to keep adding tips here. -
I haven't, luckily. But this comes to mind: https://gist.github.com/banaslee/...
-
> For fucks sake. Clean up and remove shit when it's not necessary anymore.
"YoU cAn'T, tHeRe Is No BuDgEt fOr tHaT." I know we have a few projects at the company that are complete shitshows, but I can't refactor 'em because it wouldn't make us money.
> Like "let's implement monitoring without having any clue about how monitoring works and even less clues about how TCP/ HTTP works."
You'd be surprised how often you have to do shit waaay outside your comfort zone. We had this freelancer who was OK, but he believed async/await is for multithreading, and thus never used it for offloading the CPU while waiting for PLC feedback. Yes. the code is full of while(true) loops.
> Stop. Doing. Stupid. Things.
You'd have to realize first that you're doing stupid shit. -
@sneaky2x I know. I am currently researching and setting up something that works for me.
Incognito and disabled cookies do next to nothing, because you're being tracked by a html5 canvas fingerprint anyway. Hardware spoofing seems to be the only way to go these days. -
@Berkmann18
> What you describe seems nothing like GDPR-compliant.
And yet the majority of the websites do it. Google for example gives you the option to agree or navigate through countless menus to toggle what you want. And at the end? You still have to press the same "I Agree" button at the beginning, which may or may not consent to all activity.
I haven't heard anyone file a complaint against Google so far. -
After reading your rant, this website comes to mind... https://mjt.me.uk/posts/...
-
> I work on a sofa.
HMMMMMMMMMMMM -
@iiii Capitalism, communism, dictatorships, corruption, whatever-ism. I think we can simplify it all to "Encouraging greed without constraint", because lining your own pockets is a world-wide phenomenon.
-
@kescherRant Yep, and that switch is currently as useful as this gate:
-
@LotsOfCaffeine @Voxera @iiii I know that is the intention of it all. But its still bad UX. It's not what the user wants to do, its what Mr. Cashgrab requested.
-
It's still spyware, but this time you agreed to it by accepting some ambiguous kilometer long Terms and Service document noone has ever read.
-
The thing I love about FP/pure functions is that everything is isolated. You only need to break your head at solving the problem at hand, and the rest are problems for later.
It works in your head, it works in your unit testing kit. It works for your planning/kanban. It works for your procrastination/work switching. It just fucking works and its amazing. -
@heyheni Mit Mir Gehts gut. The 'Herr' is indeed German for mister, and the Nyani is a portmanteau of 'Nya' and 'Nani'. 'Nya' is 'meow' in Japanese and refers to my love for Japan and cats! And I used to reply 'nani' often in voice chat, which is Japanese for "what (is it)?". My friends actually gave me this nickname, and I've used it as my user name ever since.
-
@BobbyTables The ups and down of life, my friend. And downvote spammers, probably. You have them on every platform.
-
An interesting concept I found on a SO post about this type of discussion, is that you store your source as whatever, and have your editor just format it the way you want to see it. Kinda like how HTML and CSS are supposed to work.
Are there any editors/IDEs that have experimented with that type of functionality? -
The big plus about diversified knowledge is that you know shit no one else does, and that you can see things from a perspective not imaginable by others.
One of my friends is without a doubt a better programmer than me. He knows a fuckton of tricks when it comes to writing code, especially ASP.NET. But as soon as speed or memory becomes an issue, I'm the one who can identify tens of possible issues due to my background in electronics, hardware architecture and C++.
The other big plus about diversification is identification. In my company, I am "The ninja" because I am the only one who knows a lot about Japan. Can't say I've become a better developer through Japan, but I've built an identity, and people know me. I'm no longer an abstract concept, but a tangible person to them. This is especially true for the non-tech people. -
Well played sir/madam/apache helicopter.
-
#1 That bitch...
#2 That bitch...
Wait, you had that many women in your computer classes? -
Spaghetti code ported from C to C++, with a manager that was very reluctant on refactoring because we never had budget. There were more memory leaks in the software than sand particles on a beach. As a result nothing got ever delivered on time. I've heard stories of the manager practicing mushroom management as well, but that was before I started working there.
I enjoy screwing around in legacy code, but I am not going to keep trying to keep my head above water because dry land is not within the budget. ffs. -
Only reason I still use Windows is because 95% of my game library is windows-only and I'm too dumb to setup a gaming linux.
-
Being rejected is no indicator of skill. It usually translates to "you're not a good fit". Following criteria may cause this:
- Your skills don't align well enough with company needs.
- You excel at what you do technically, but miss other basic skills (social skills for example).
- You're too good, and possibly too expensive as a result.
- You're incompetent.
- Whoever runs the HR/company is incompetent.
- Competition provided a better alternative.
- Unforeseen circumstances don't allow for a new team member.
Don't hammer yourself down. After 8 years, you should have the experience to be useful anywhere in your domain.
The Corona-shenanigans take a toll on everything and everyone. And if it isn't Corona, then it is a market crash or anything else that create unfavourable odds.
In the end, all is a dice roll. You just rolled twice in a time where the bar is set very high.
Good luck. -
@buitrung The color is based on the background color of the OPs avatar. I can't set anything myself. And you don't see it until you "open" the rant.
-
@C0D4 "A lot of benefits, when it doesn't crash" sounds like a trade with the devil. Good to know though, thanks.