I have come to the unfortunate conclusion that npm developers are those who ask for admin access to databases so they can "fix" the database themselves and leave it open for any Tom, Dick, Harry to mess around with databases from code.
Best posts made by WPT
-
RE: WTF NPM
-
WTF NPM
I am trying to set up an internal registry for the Unity Packages that my company is using migrating to the new, shiny Unity Package Manager UI. After digging for a while, I found that it was using npm as the backend for the package management.
So I set up an internal npm server for testing, only to find out that the cli commands for npm is ridiculous.
What kind of ecosystem merges account creation and login as the same command.
You have got to be kidding me. -
RE: Internet of shit
@heterodox
It is true. According to the official Japanese press release, the only claim up to 60 meters in dense surroundings. -
RE: WTF NPM
@JBert
After reading through the responses to issues in their npm.community, I get the feel that npm developers approach to solving problems seems to be just use a different hacky workaround and not actually resolving the actual issue. -
RE: Programming Confessions Thread
@PleegWat
Or you are hitting return/F5/"whatever execution key" on the wrong keyboard. Happened to me yesterday, with 3 keyboards in front of me and was wondering why the return key is not working on the terminal. -
RE: Found in our enterprisey business object factory
This should be classified in the "I have no idea what I am building" moments.
-
RE: Guy brings down thousands of npm builds
@cartman82 It just dawned upon me that web development in most part of the world has progressed to a point of making supposedly simple instructions complicated and supposedly complicated instructions simple.
-
RE: Value Types
I don't get it. Why in the world would you need T when at the end of it, you are just going to perform double-type operations?
-
Shaming my home country
Minister wants Singapore to build a ‘national operating system’ for 100m smart devices
Yup, ignorance is prevalent everywhere.
-
RE: Why doesn't Monopoly have a calculator piece?
Having did my Honors in Physics, I remember forgetting to bring my calculator to exams, then leaving some of my answers in their unevaluated forms. They never really penalized me for doing that. For the trigonometric and power evaluations, I sometimes used the Maclaurin's expansion series to approximate my answers.
My peers gave me the stare of disbelief when I shared with them what I did during exams.I guess that's why I will never make it in Academia.
-
RE: Shaming my home country
@blakeyrat
The biggest irony for me is that in Singapore, there are actual subject matter experts, like software and hardware engineers, but when it comes to such presentations and decisions, subject matter experts were never consulted. Only those business managers who, in my brutal opinion, should not ever be let near any form of decision-making, regarding the tech industry. -
RE: The Most Absurd Thing You've Ever Coded/Built
Years ago, I received instructions from my previous boss to build a runtime C# interpreter in C#... Don't ask me about the purpose of it...
-
RE: Guy who create unused Classes VS Guy who doesn't know normalisation or basic OOP
A guy who create unused Classes, fields, methods, jsp files
VS
A guy who doesn't know normalisation or basic OOPWhich one is worse?
I would rather work with the guy who create unused Classes, fields, etc. If his sense of naming is rather decent, there might be still some use for them with some minor refactoring.
-
RE: Who's worse, Google, Nintendo, or everyone else? A mixed rant.
On a supplementary note, the social/mobile gaming industry revenue is not directly dependent on the satisfaction of the average user in any case, as the game is free-to-play. Generally, the primary target users are Whales
-
RE: Sensei, teach me the way of non-WTF web application
- Make stuff that works and fulfill the basic requirements
- Shoot yourself in the foot for writing crap
- Rewrite it, trying not to make the same mistakes.
- Repeat point 1
-
RE: Who's worse, Google, Nintendo, or everyone else? A mixed rant.
Why use ads when this is the gold standard when comes to making revenue?
Having been in this industry for years now participating in the development of such social games, all I can say is that ads do not bring as much revenue as lootboxes... -
RE: Newest Scratch scam: Ubisoft release a Scratch "learn coding" game
I believe the whole point in why Scratch related programmes are still relevant these days is that the general masses does not understand the point being computers are stupid and programmers make strict instruction sets aka "programs" for computers to execute. Scratch is just trying to explain this simple logic...
-
RE: Idiots make their build process reliant on someone else's server, bitch when it goes down
Another variation of the left-pad saga, idiots blaming others for their own stupid workflow,
-
RE: My Daily WTF of today
I don't think there's anything wrong... No matter you're from South Korea, Taiwan or Hong Kong, I heard people curse their government officials for their wrongdoing.
No matter which country you look at, people curse their government officials. The only difference is whether they are allowed to do it openly/
-
RE: 1 server, 10 workstations, 1 idiot, 1 cup
That reminded me of my previous workplace, which I keep complaining to the sole Operations guy about a secondary DHCP giving out old addresses when the internal IP network was changed to accommodate the new router set up by a different ISP.
He kept claiming that was no such servers and refuse to investigate, till I chuck out a wireshark log to show him the fucking broadcasts by the rogue DHCP somewhere in the network. -
RE: Holy shit, they found him alive!
The actual story goes like this:The boy had a hissy fit during the family outing into the mountains. As punishment, the parents threatened to leave him behind and went ahead about 50 meters waiting. After quite some time of waiting, they returned to the spot to find the boy missing. Having searched for hours into the day, they reported to the authorities. Forests in japan, are so dense that if you go off the trek track, it is hard to identify anyone 10 meters away.
-
RE: Skype barely works; let's add new features
@anonymous234 said in Skype barely works; let's add new features:
Microsoft put all their eggs in one basket with Skype, and are now proceeding to smash that basket.
I remember there is a term for this: Sunk-Cost Fallacy
-
RE: When the reviewer doesn't understand my Javascript it's his fault
I use the existence of conflicting coding styles as an indication of "Copy & Paste" from some unknown place and requires attention for review and refactoring. At the very least after review, I understand what the part is trying to do and reformat(refactor if necessary) it to fit the codebase.
-
RE: Ranting about all the WTF I just experience.
@DieWaffel said in Ranting about all the WTF I just experience.:
Incredibly common to see students doing it this way though (I was guilty of this myself the first time I built a CMS...in 2004)
Yepp, but this is a project with 4 freelance developers and some guy calling himself "senior" who created the blob-methods and call it architecture. Nobody is allowed to change it. I'm going to give a big party after leaving.
Are you sure it is "senior" and not "senor"?
-
RE: Help I live in a country where senior devs create CSV columns and don't use the keywords "extends" nor "implements
Just working 2 years in that environment, I gave up trying to make a change in the mindset of the management, and start to implement proper solutions without their approval, resulting in getting into arguments with the management. Usually, that would result me in getting fired based on their mentality but they could not find a replacement for me, as I was involved (data architecture and design) in every single development project that the company was working on. It was a rather negative environment.
Luckily, 4 months ago, I was offered a position elsewhere in another company in another country, when I dropped the bomb on management. -
RE: Finish 3 roughly similar bulletin boards in 1.5 days by copying and pasting from a roughly similar project: WTF or not?
Apparently, the contracted position only requires knowledge of copying and pasting. Wait... Are you sure they wanted a programmer and not a data entry guy?
-
RE: Fuck You, I Quit - Hiring Is Broken (article)
@cartman82 said in Fuck You, I Quit - Hiring Is Broken (article):
@blakeyrat said in Fuck You, I Quit - Hiring Is Broken (article):
Never worked at McDonalds or any job requiring actual labor
That's such an American thing. Expecting everyone to "do a term" in the fast food industry, just as a normal part of growing up. Reminds me of how people treated mandatory millitary service back in the day...
I had gone through mandatory conscription. It cannot be compared to serving fast food. Conscription still exist in half of the countries of the world. And no, it does not mean that after going through one term, one who have grown up. Spoiled brats will always be spoiled brats wherever they may be.
-
RE: My Daily WTF of today
I don't work in Japan so cannot tell how good or bad the law is enforced.
Looking at what WPT tells us, seem they've done it quite good, but maybe it's just how they run the company.
I have seen novel "なれる!SE" that is said to be based on the author's personal experience and what's heard from other IT-related employees (the first two books are quite real but a bit exaggerating, the later chapters are a bit off, however), and the life presented there is different. Note that the author has stopped working as system engineer for a few years now so things may have been improved between the years.
Nowadays, the IT companies in Japan are being managed and run by people who once were engineers. It is a breakaway from the older generations. The management for these companies are now more understanding of the engineer's plights.
But that said, there is no escape from coworkers that are less than mediocre, you get that no matter where you go. They are trying to resolve this by having mandatory "sharing" sessions where the better engineers will need to come up with lessons to bring these engineers up to the expected level. I have a love-hate relationship with this scheme. Love it when I am there to listen and discuss the methods and ideas of other people. Hate it when I have to prepare slides when it is my turn to share... -
RE: When the reviewer doesn't understand my Javascript it's his fault
@Applied-Mediocrity said in When the reviewer doesn't understand my Javascript it's his fault:
I had expected it could extract the anonymous method and analyze it separately. It actually can in many other cases - there are folks going crazy with awfully complex LINQ. I'm not exactly sure what's different here. Perhaps the abuse of Tuples? Those things are oftimes a bit janky...
Argh, I keep having to debug those pesky long chains of LINQ and Rx. I have seen chains that has depth of more than 7 layers deep and fails somewhere in the middle. One whole awful day wasted on finding where the fail is, after which, I have to painfully refactor to reduce the layers to something debuggable/readable.
-
RE: A new cartridge-based gaming console: brilliant or brillant?
@the_quiet_one
Sony definitely screwed their online PSN store option for the Vita by making their Memory Stick proprietary and a max of 64/128GB -
RE: c# - Any clean way for generic parent to get type of child?
@Cursorkeys
I can't see any "cleaner" way of doing it without making BasicSingleton abstract and abstracting away the Instance property... but then it introduces a whole lot of other complexities... This is a very deep rabbit hole...Just screw the inheritance... It really does not make any sense to implement it in such a use case.
Use a service locator pattern if you need to for the remaining TSingleton... It makes more sense.
-
RE: Scariest software development tool
@fbmac said:
soon there will be npm based projects that download stackoverflow snippets as dependencies
And soon after, 80% of the web is filled with interlinked dependencies like a big ball of spaghetti
-
RE: 1 server, 10 workstations, 1 idiot, 1 cup
I'm saving this picture for future use if necessary. Explaining using cats to
peopleidiots seems to be widely accepted. -
RE: Threading in WPF
I get what Kevin is trying to do... but the approach that he took makes me want to send him to back to school...
-
RE: Future Front Page Perpetrator?
@Carnage said in Future Front Page Perpetrator?:
@Tsaukpaetra said in Future Front Page Perpetrator?:
@Carnage said in Future Front Page Perpetrator?:
toy problems for the most part.
The most complicated piece of software I wrote in college was a calculator that basically (if I did the assignment according to the instructions) supported four functions. Maybe. And, a "jukebox" that used an embedded Windows Media Player control to play two hard-coded files in sequence.
Naturally, I went way above and beyond. My calculator supported everything the Simple view of Windows' calculator, including history log and memory storage. The Jukebox application supported scanning a folder (default to the user's Music folder as specified by the registry) for all known playable types, playlist management including add/remove/reorder, shuffling, repeat one/all, and save/load.
My studies were for game development engineer, and apart from the small and large team projects we had, every bit of code written was a small toy problem. Granted, the toys might be complex, like neural nets, or graphs, but they were very small and contained bit's of code, which entirely side steps the code quality and readability of programming.
I think I could do most of the practical bits of the classes in one week for each class now. A few years after having started working I found some old code from my student days, and it took me and another guy a week of work to produce it, and now I'd say I'd have the code written in a day. And it'd be a lot better as well. And have unit tests. In a language I haven't used before, just to make it a tiny bit fair to student me.My degree does not even have a single mention of software/computer/engineer in it and yet, I did something messing around in C++/OpenGL for my graduation thesis. I swear that the crap of mine is sitting inside a forgotten old usb stick that might have been trashed.
-
RE: When the reviewer doesn't understand my Javascript it's his fault
@Gąska said in When the reviewer doesn't understand my Javascript it's his fault:
How do you mark private memebers of the class to serialize/deserialize them?
Ideally, you add an annotation to the class and it generates a public serialization/deserialization methods that take care of it without reflections.
This, is what I have been trying to convince my coworkers to do. Trying to champion the use of ISerializable and likes is a much better practice than having Attributes+private fields.
-
RE: Ranting about all the WTF I just experience.
@dkf said in Ranting about all the WTF I just experience.:
I really don't see why I should need a 16GB VM to serve what is mostly simple web pages to a small number of users…
Last time I checked in with the crazies in web development, the reason I usually got was something along the lines of "Just because I can, therefore I will". And why would they think about sharing computational resources with other products/services?
-
RE: When the reviewer doesn't understand my Javascript it's his fault
@Tsaukpaetra said in When the reviewer doesn't understand my Javascript it's his fault:
Speaking of refactoring:
This fucking thing.
The underlying field is publicly available. And the things that use it actually use the field pretty much immediately most of the time.
Who the fuck did this?!?!
That looks like something that I wrote when I was groggy or missed out removing while refactoring.
-
RE: Do you always decouple everything in your code?
@sockpuppet7
Are you the only dev working on the endpoint/component? If you have collaborators working on the same endpoint but different components, it makes perfect sense for them to get you to decouple everything so your collaborators can get to work as soon as possible without waiting for your implementation. If you are alone working on that endpoint, just fuck it and refactor when you need to later. -
RE: Guy brings down thousands of npm builds
@cartman82 Wait... WTF do you need nested dependencies just to check a number?
-
RE: Guy who create unused Classes VS Guy who doesn't know normalisation or basic OOP
Ah, the guy who doesn't know normalisation is also in charge of the project management. I was assigned to this position mid-project. He just gave me a Power Point slide show that shows what each corresponding page should do. That's a month ago.
Now, Friday, 5 P.M. last week, he came up to me and the asked.
"Everything is done now, right? The deadline is next Monday."Nothing about the deadline was mentioned previously.
I could say that it could be partly my fault for not asking when the deadline was even if the project manager does tell you when the deadline is for some reason.
However, if I were in charge of a project I would tell my team members what our goal is, at least.
That sounds exactly like my previous workplace. Don't worry, you only stayed until 2 am. Previously, I only returned home 2 times a week. I had dumped all my necessities and toiletries at my previous workplace.