However, for some things like debugging Windows kernel trickery it is impossible to use print statements.
Personally I like debuggers.
110 karma · joined February 17, 2015
However, for some things like debugging Windows kernel trickery it is impossible to use print statements.
Personally I like debuggers.
[0]: https://handmadehero.org/watch [1]: https://youtu.be/GfGNPo9Z6mA [2]: https://youtu.be/vohsUKjg9tU?t=33
It is still early days for the debugger, so it has bugs and might crash. Another downside is that it is closed source which might be difficult to reconcile with today's culture of open source. It is really unfortunate because author said it is developed completely from scratch using very few third party libraries. Because of that it would be interesting to take a look at the source and perhaps hack on it. But people are buying it anyway.
I urge everyone who might be interested to support the development of remedy, because I want the project to succeed.
If you really want to do it, then stop looking for a reason to do it. Because any piece of text containing the answer is probably going to fit in a few HN comments, because that's what you're currently looking at, an HN thread. You are looking for a small piece of text giving you the reason to limit your information intake and providing a technique to do so.
Most likely you won't find what you're looking for. And even if you do find something that appears to be that, it will be inferior to your experience of actually doing that. Imagive a set of all possible HN comments. It contains no element that is better than you simply deciding, without any good reason or a way to do it clearly formulated in your mind, to simply set aside a couple of weeks and read only one book exclusively.
Now you might have two objections.
First, what if the piece of text is large, like a book? To that I'll say that books have to satisfy publishers and earn a profit, which manifests itself in disgusting ways like containing a lot of filler text and flawed case studies that presumably prove the author's point. I couldn't read "Shallows: What the Internet Does to Our Brains" and "Deep Work" because of that. All books about talent or peak performance are pretty much worthless in my eyes. I might be wrong about their value, but one thing is certain - they do not contain a clear answer and come with it's own set of issues.
Second, my claim that taking two weeks and doing one thing is better than any HN comment. I'll say it doesn't even matter. Two weeks are gonig to pass regardless, so you might as well try doing that instead of simply looking for a piece for text saying whatever. You might decide to do two things or three. That's fine, the point is to get meaningful experience doing a few things over a period of time. It could be that it is simply not for you. It also could be that your brain, physically, reached the point where neurons are wired in such a way that you're never be effective. Good luck rewiring this mess with an HN comment.
Anyways, my apologies. I see I really pinched a nerve here. I will become smarter and understand the basics of big businesses. It's a good thing to do especially if you want to become the monopoly, right?
So I'm curious what will happen when you can't do almost anything on your computer without it being inside proprietary cloud. When everything I do is recorded, aggregated, and analyzed by mismanaged big data experts. When real life decisions are made that affect me based on this data by some faceless entity without consulting me. Kind of like what China does with their social credit score but much more elaborate. When there are people who are within this system and those who are outside because they are rich and powerful.
It really fascinates me. It can't get so bad as to be intolerable in my lifetime. And what if I become rich and get real power? The ability to make important decisions that change the global landscape. Will I be good or evil? Nowadays rather than complain about the top 0.0001% it's better to put the energy into becoming the top 0.0001%.
And by the way, you never owned Warcraft or Diablo. I suspect that to satisfy you all one needs to do is to realse a few really good and engaging games. You shall have your games and you will play them in the evenings. But during the day you WILL write survelience code for collecting plausable reasons to crush somebody inconvenient to the illuminati.
You can do training sessions for people you want to advance or hold back. In both cases sessions would be meaningless and void of any real value, except that they assign attribute Foo to the group of people. Then you can say that only people with Foo can do Bar, moving those people forward in their career. Alternatively you can overcome some bureaucratic obstacle by claiming that you do Foo regularly, which is a requirement from some authority for some reason.
I don't really know how this kind of politics works, but this is how I tend to think about it.
It's the early days for the tool but hopefully it will become available on Linux in the future. Because the world totally needs yet another git wrapper and visualisation tool. I jest of course, but there are already a few tools I wanted to learn but never dedicated the time for. For example hub command line utility for working with github. git-extras for lots of small things like repository statistics. fugitive.vim, a vim plugin that claims to be a git wrapper so awesome it should be illegal.
Recently I had to find out why a section of code was written a certain way and decided to hunt for the commit that introduced it. The only way to do it that I'm currently familiar with is by using github blame interface. The code was moved around so regular blame showed the commit that moved the code instead of introduced it. Github allows you to jump to a commit before the change, so I did that a couple of times while looking at the diff of where the code was removed from, because this was the place I actually needed. Overall I felt rather clumsy doing that and wondered if learning to do it on command line would be easier in the future. How can tog help here? Avoiding learning to use git on command line by itself isn't a good idea in any case, but a proper browser that allows to easily dive through history without shell trickery or a dozen of HTTP requests is a welcome addition.
Also, for tools like this I think video demonstration is best.
I've been learning CMake recently and it seems that quite literally every part of it is ridden with edge cases and weird bumps. Like:
- Variables can have a type, but it's not really a type, it's for GUI only.
- There are cache variables but regular variables take precedence except if you set a cache variable with FORCE. But if you do so, then it hides the normal variable and you get different behaviour on subsequent runs.
- Variables can be combined in an array, except it is a string separated by ;.
- There is a bunch of deprecated syntax that you shouldn't use but should be aware of. You should start your CMakeList.txt files with a weird conditional that sets the minimum required version using a syntactic hack.
- It ignores $CPPFLAGS in some cases, Arch Wiki said so.
- There are multiple values for true and false. Things like YES, 1, ON, TRUE, NO, 0, OFF, FALSE.
- For older versions of CMake a string literal can evaluate to the value of similarly named variable.
- It is really a programming language. There is seems to be so much to it, it doesn't look limited
I just started to learn. It's not a big deal, but it feels messy.Does anybody have any science fiction recommendations along these lines?
I've recently watched a talk by Jonathan Corbet on Linux Kernel Report [0]. At one point he asked the audience "Who's running Linux on their phone?". Lots of people raised their hand. He then said "Well, are you? Because a lot of companies have as much as 2+ millions of lines of custom kernel code on their devices. Huawei in particular has 2.7+ millions. If the kernel currently is at about 24 million lines of code, and you only need a small subset of that for a phone, then what you end up with is something different than Linux." It happens at approximately 30:40 in the video. I have a suspicion that HarmonyOS is just what they have now plus another 200k+ lines of code or so to change the look.
You need millions of dollars, then it starts being worth it. You should listen to Martin Shkreli, even though he is in prison for fraud, because he knows more about investing than almost anybody here on HN. Most people on HN will not be able to record 1 hour video talking about investing, let alone 35+ of them. They don't have the stamina and knowledge. They also don't have the results to back up their advice, unlike Martin Shkreli.
It seems foolish to think that you can spend just a few hours per week and think you're going to beat the market.
I don't want to insult anyone, I myself don't know much about investing. The reason why I mention Martin here is because his videos on youtube are very accessible for layman people who are uninformed about the market.
What disappointed you about the book?
I remember reading something about geniuses and high performance individuals, and of course examples were about sports. Because everybody understands sports and the book was for everybody. I wanted to read about workings of the minds of best mathematicians or professionals in intellectuals fields, like engineering, programming, businessman. As I was reading I felt physically ill, until I closed the book, yelled as loud as I can "BWHAAAAAAAAAAAAAAH" and made a cup of coffee for myself. I realized that most of the books I wanted to read were fluff written for the publishers and editors. Not for me. I can get the idea from the title, description, table of contents, and maybe a few Amazon reviews.
I notice the same thing with technical books. Sections about history, long winded explanations of what is going to be taught paired with long conclusions. Recaps. I can't tell you how many times I've read history of Linux, and I can't remember anything about it: these mad diagrams of standards, what came from where, and how it was improved, extended and replaced by something else. I wanted to read a book on algorithms, a free one, it had very warm reception on HN[0], and guess what? It starts out with history of numbers. With detailed names of people who came up with ideas, of places, and even pictures. I hate these forms of introduction. But the book still seems to be good. I can recognize whether a book is "heavy" or "light". Heavy books often have exercises, they start fast, and go deep. Light books just can't get to the fucking point.
Heavy book: Computer Systems: A Programmer's Perspective Light book: Practical Object-Oriented Design in Ruby: An Agile Primer
I think it's unlikely, but still it's annoying to see stuff like this here. I'm not against it, but it's always there. It got to the point that I started thinking about rtv like program for HN that has built-in recommendation system based on my favorites. Strong filters too. I know there is haxor-news, but it's not that. I want to be able to get a listing of stuff only related to my favorites and favorites of HN users I whitelisted.
I remember showing up early in the morning before 8AM and there were already people waiting in the hall. Time was cheaper in the morning and you could buy a "pack" of 3 hours for 100 rubles which was equivalent to $4. It was also sometimes dangerous because older guys used to bully younger people and take their money. I remember one time I was walking out of the cafe after playing for 4 hours and was approached by 2 guys, slightly older than me. One of them whipped out a knife and said: "Give me all your money or I'll slice your throat, I don't give a fuck, I'm minor so nothing bad will happen to me". I knew these two somehow. They had a reputation for attacking and robbing people, so they weren't fucking around. I gave them crumpled 10 rubles and said it's all I have left, because I'm going out of the cafe, not in. They should be stopping people who are going in. They believed me and let me go. I had another 500r on me and was glad they didn't check my pockets. Later this evening I came back to play more despite being afraid of getting mugged again, that's how strong my addiction to these cafes was.
To be frank those places weren't like cafes at all. We called them clubs. All they had inside were computers with LAN connection. Internet was there as well, but it wasn't popular. Most people were playing Counter Strike or Battlefield. Most clubs were managed by a single person, an admin. Those people weren't owners, they were just there to take money, allocate time to specific computers, and to tell people to get out.
[0]: https://twitter.com/pau1riddle/status/1116205409780600833
Now I overthink this whole thing and went too deep in my comments, failing to do it fluently. I still belive cussing is an important tool in communication, and if it is frowned upon to cuss in a room, then I doubt it is a room filled with winners. They are concerned with superficial instead of essential and lack emotional intelligence.