Readit News logoReadit News
nananana9 commented on Microsoft is officially sending employees back to the office   businessinsider.com/micro... · Posted by u/alloyed
IshKebab · 2 days ago
I think it would be hard to argue that working all together in an office - like before covid - isn't more productive. In-person meetings are easier. Whiteboarding and brainstorming is way easier. Spontaneous conversations are easier. Helping junior people is easier. People actually pay attention in meetings. You get to know colleagues better.

Have you ever had to "now click on the left... no, up a bit. No go back you were just there. It's the third one from th... I'll just paste the link in chat" when you were standing next to someone's desk? No.

The only benefits of working from home are:

1. No commute.

2. Can do life stuff (we finally have a solution to the dumb problem that shops etc. are only open when people are at work).

3. The company doesn't need to spend money on offices.

The first two are huge bonuses for employees, but the company doesn't give a shit about them. At best they care about paying for offices, but that's pretty minor (especially when they've already paid for them and they're sitting there empty).

nananana9 · 2 days ago
I completely agree, but just as the company couldn't care less about the employee's benefits from WFH, I couldn't care less about the company's benefits from WFO.

Most organizations are so inefficient, that all of this is barely a factor - whether or not work is getting done at 1% of the rate of what it should be getting done, or 1.3% isn't really a dealbreaker for the company.

nananana9 commented on Things you can do with a debugger but not with print debugging   mahesh-hegde.github.io/po... · Posted by u/never_inline
truetraveller · 2 days ago
This is something that does not require a debugger perse. this is something that can be implemented by a "smart" log. beside the log entry there might be a button to see the trace + state at those points. could even allow log() to have an option for this.
nananana9 · 2 days ago
But you have to

  1. stop the program
  2. edit it to add the new log
  3. rebuild the program
  4. run it
  5. get the program to the same state to trigger the log
3. can take quite a while on some projects, and 5. can take quite a while too for long-running programs.

And then you see the result of what you printed, figure out you need something else as well, and repeat. Instead you can just trigger a breakpoint and inspect the entire program's state.

nananana9 commented on Things you can do with a debugger but not with print debugging   mahesh-hegde.github.io/po... · Posted by u/never_inline
h4ch1 · 2 days ago
I can tell you for a fact a lot of budding web developers don't even know a Javascript debugger exists, let alone something as complex/powerful as Valgrind.

All of these are useful skills in your toolkit that give you a way of reasoning about programs. Sure you can plop console.logs everywhere to figure out control/program flow but when you have a much more powerful tool specifically built for this purpose, wouldn't you, as an engineer, attempt to optimize your troubleshooting process?

nananana9 · 2 days ago
With native languages you'll almost always be using a compiler that can output debug symbols, and you can use the output of any compiler with (mostly) any debugger you want.

For JS in the browser, there's a often chain of transformations - TypeScript, Babel, template compilation, a bundler, a minifier - and each of these makes the browser debugger work worse -- and it's not that great to begin with, even on plain JS.

Add that to the fact that console.log actually prints objects in a structured form that you can click through and can call functions on them from the console, and you start to see why console.log() is the default choice.

nananana9 commented on No adblocker detected   maurycyz.com/misc/ads/... · Posted by u/LorenDB
happymellon · 3 days ago
Firefox and UBlock Origin has never broken for me and works effectively.
nananana9 · 3 days ago
I use the same setup, on Windows Linux and Android. It will break when they decide to roll out their aggressive anti-adblock measures more widely, currently they seem to be A/B testing and turning it on and off at random.

I'm surprised they haven't gone for the "refuse to serve the video stream for 20 seconds or however long the ad would take" card yet, although it's probably a matter of time.

nananana9 commented on No adblocker detected   maurycyz.com/misc/ads/... · Posted by u/LorenDB
ahofmann · 3 days ago
I hear this often. My experience is totally different. I've installed ublock origin and I'm using Vivaldi as my blink engine wrapper. I've never seen a YouTube ad since years. I wonder why anyone has to fight for an ad free YouTube.
nananana9 · 3 days ago
They often release new "features" in a A/B fashion to a small percentage of users. It's most obvious with UI changes, where a portion of users will get a disfigured version of the site for a month, but it's probably true for their ad-blocking endeavors as well.
nananana9 commented on NPM debug and chalk packages compromised   aikido.dev/blog/npm-debug... · Posted by u/universesquid
stevenpetryk · 3 days ago
I'm a little confused, is this rage bait or what?

> Things were fine before they became mainstream

As in, things were fine before we had commonplace tooling to fetch third party software?

> package files that are set to grab the latest version

The three primary Node.js package managers all create a lockfile by default.

nananana9 · 3 days ago
I mostly share GP's sentiment, although they didn't argue their point very well.

> As in, things were fine before we had commonplace tooling to fetch third party software?

Yes. The languages without a dominant package manager (basically C and C++) are the only ones that have self-contained libraries, that you can just drag into your source tree.

This is how you write good libraries - as can be seen by the fact that for many problems, there's a powerful C (or C++, but usually C) library with minimal (and usually optional) dependencies, that is the de-facto standard, and has bindings for most other languages. Think SDL, ffmpeg, libcurl, zlib, libpng/jpeg, FreeType, OpenSSL, etc, etc.

That's not the case for libraries written in JS, Python, or even other compiled languages like Go and Rust - libraries written in those languages come with a dependency tree, and are never ported to other languages.

nananana9 commented on Contracts for C   gustedt.wordpress.com/202... · Posted by u/joexbayer
jimbob45 · 3 days ago
Java 24 and C# 9 resemble little of their first versions. C++ might as well not even be the same language at this point. Why are we so conservative with C but then so happily liberal with every other language?
nananana9 · 3 days ago
The complexity of C# and C++ should be a warning, not something to strive towards. C++ has 3 reasonable implementations, C has hundreds, for all sorts of platforms, where you don't get anything else.

Most C developers don't want a modern C, they want a reliable C. WG14 should be pushing for clarifications on UB, the memory and threading model, documenting where implementations differ, and what parts of the language can be relied and what not.

Nobody really needs a new way to do asserts, case ranges, or a new way to write the word "NULL".

nananana9 commented on No adblocker detected   maurycyz.com/misc/ads/... · Posted by u/LorenDB
jdprgm · 3 days ago
I really can't comprehend how aggressive ad blocking isn't the norm and at 90%+ at this point. Whenever someone just doesn't seem to care i'm concerned something is wrong with them. Youtube ad blocking was briefly not working for me recently and the volume of ads just while doing some chores which forced interrupting flow to go manually skip was astounding and enraging. It's like if I was at a quiet library and every 30 seconds someone randomly started screaming yet half the people have a reaction of "meh, doesn't bother me".
nananana9 · 3 days ago
Most people don't use the internet at a whole - if you just stick to the 10 biggest apps/websites, the experience is acceptable without an adblocker.

As for YouTube, blocking their ads is basically a part-time job at this point. On the desktop it breaks once a month, on Android NewPipe stopped working recently, and soon you won't be even able to install third party clients.

u/nananana9

KarmaCake day23September 9, 2025View Original