HNHacker News
TopNewBestAskShowJobs

_a1_

64 karma · joined October 22, 2020

submissionscomments
_a1_··on Speed of Rust vs. C
The fact that my perfectly valid comment was down voted like this shows that HN has a pretty dysfunctional community. I think that is my last comment here ;)
_a1_··on Speed of Rust vs. C
I appreciate the article, but it would be really nice if the author could add a timestamp to his blog posts. Without timestamps, it's impossible to know if any issue described in the article body still exists.

I didn't read it, because it might present outdated knowledge.

_a1_··on Kinto: Mac-style shortcut keys for Linux and Windows
> Sure, there's a whole slew of crap being grafted onto it like systemd, Wayland, Chromium, etc...

But... you don't have to use any of this

(in fact, I can't even use Wayland at all, even if I wanted to [because of Nvidia])

_a1_··on Scientists break through the wall of sleep to the untapped world of dreams
Where did you get this from?
_a1_··on Scientists break through the wall of sleep to the untapped world of dreams
People who train themselves to reliably induce lucid dreams call themselves oneironauts (Oneiros = Greek god of dreams).

I was actively interested in this topic when I was younger and had much time to sleep and practice, but after I got my job and life problems kicked in, suddenly I realized that the only thing I require from a dream is to get a good night sleep so I will have strength to face problems during the day. A little bit sad but true.

But, during my lucid dreaming endeavors I realized the technique itself is incredibly powerful. Especially for people who have tendencies for daydreaming. One easy technique used during learning is to create a habit of looking at the watch and asking oneself if this is a dream or not. Doing it for a few times during a day will eventually create a habit, and will eventually increase the chances of unintentionally doing it during the actual dream. Then, the question "is this a dream?" will have a chance of recalling that we have consciousness, while still being inside the dream. It will be a lucid dream.

Maintaining lucid state of a lucid dream is another topic. Sometimes a few seconds after starting to be in a lucid dream, we forget about the state and we go right back to a normal, non-lucid dream. There are techniques for prolonging the state, but require training (like everything I guess).

_a1_··on Mold: A Modern Linker
> If you think this approach is wrong, could you articulate the reasons why you think it is wrong?

Because later if you want to reuse parts of the code in a continuous environment (e.g. a daemon), then you will be surprised that you have memory leaks all over the place (or worse, someone else will discover it by accident).

I don't have a problem with the end-of-process-releases-all-memory optimization. But I had the impression that the author uses let's-worry-about-leaks-later-because-OS-takes-care-of-it-for-free-(in-my-use-case).

Best approach to take would be to create a memory pool with fast allocation (e.g. TLAB allocation in Java, or how computer games do it), in order to have control over how the memory is freed or when.

_a1_··on Mold: A Modern Linker
> As an implementation strategy, we do not care about memory leak because we really can't save that much memory by doing precise memory management. It is because most objects that are allocated during an execution of mold are needed until the very end of the program. I'm sure this is an odd memory management scheme (or the lack thereof), but this is what LLVM lld does too.

The fact that someone does it wrong doesn't mean that we should do it wrong as well ;(

I don't think I like this approach. It may work now, but will probably seriously limit the possibilities in the future.

_a1_··on YouTube blocked chess channel after mistaken detection of racial slurs
I wait for the day that chess will be banned in USA, or some fork of chess will emerge, because obviously chess is racist: white is always first.
_a1_··on Ask HN: What are the best websites that the Anglosphere doesn't know about?
https://www.wykop.pl is probably the biggest Polish site that gathers best experts from most of the industries, to provide comments on the newest political, religious, science and engineering news from all around the world. The comments posted by users of wykop.pl are often cited in other sites.

...at least that's what everyone on this site would like to think. In reality, it's just a digg.com clone, before it started to suck ;)

(even name is a reference to digg, 'wykop' means 'a dig site', or 'to dig')

_a1_··on From First Principles: Why Scala?
> Scala just has implicits which can be used for method extension.

I don't think it's fair to say it like this. Scala's implicits can mean different things, depending on where they're used. Scala 3 even divides 'implicit' to multiple keywords.

(kind of 'static' in C++ I guess, only more complicated)

_a1_··on From First Principles: Why Scala?
Using scalac is not a standard use case.

Standard use case is to use sbt (well, or mill, since we're in lihaoyi's thread :D). Sbt starts up slow, but with bloop, or sbtn (native client of sbt), the compilation is really fast (much faster than C++ for example):

    $ time sbtc compile                                                                          
    [info] entering *experimental* thin client - BEEP WHIRR
    [info] terminate the server with `shutdown`
    > compile
    [info] compiling 1 Scala source to /home/.../target/scala-2.13/classes ...
    [info] compile completed
    [success] Total time: 0 s, completed Feb 11, 2021 4:21:51 PM
    sbtc compile  0,08s user 0,02s system 21% cpu 0,492 total
_a1_··on Switching to Windows
You're right, I missed that.
_a1_··on Switching to Windows
> When I hit the start menu, it’s because I want to launch an application. I don’t need to see the rest of the desktop. So why is the Start menu by default only occupying a small portion of the screen, and wasting the remaining space?

Hilarious.

I mean, I fully agree with the author on that. But since the author is not tied to a Windows ecosystem, he doesn't know that a full-screen start menu actually happened on Windows 8, and it was nearly boycotted by Windows userbase because of the fact that it occupies full screen space. Users demanded to have a Windows95-style start menu, and MS had to redesign it.

Why it's so important for Windows users to have a Windows95-style menu, is beyond me.

There you have it :D

_a1_··on Monkey.org
hate speech?
_a1_··on Monkey.org
So many comments and I have no idea what monkey.org is and why I should care.
_a1_··on How to Lose Money
> I’ve written four short books and they have literally grossed hundreds of dollars.

I hear this argument pretty often.

A book is not a binary thing: there is a book, and there isn't. It's not about the "book", it's about the contents of the book.

So in other words the author has gathered some knowledge and he didn't make much money off of it. Therefore, the knowledge you will gather will not allow you to earn any money. Does that make sense? I don't think so.

I will probably be downvoted, but maybe more important thing is the subject of the book, than the actual book itself?

Disclaimer: I did not write a book. I did write a chapter to a book, and I got some money off of it. I'm not rich because of it, but I see the potential.

_a1_··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
I thought that software development was about finding solutions to problems, not escalating existing problems and demanding changes so we don't have to adapt.
_a1_··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
That's part of what I'm talking about. Giving a 'f you' sign on a public conference is not professional at all. I mean I know that it's Linus who did it, and we all like Linus, so we give him a free pass with his sh-ttalk, at the same time when we would condemn anyone else who uses such rhetoric who isn't Linus, but in closed-source software development world such clashes happen all the time, each month. Whether a software project in such environment is a success or failure depends on whether people will get along with each other, or not. In case of Nvidia/Wayland I think that simply people just don't want to get along each other.
_a1_··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
Wayland doesn't even work for me, so I guess I don't have such problems. I'm not really into the actual arguments between NVidia and Wayland folks, but I suspect it's something like "they don't want to bow to us, therefore we don't want to work with them" from both sides. Like a kindergarten ;)
_a1_··on Remembering Windows 3.1 themes and user empowerment
Generally I agree with the article, but it would be nice for the author to enable dark mode of the website for dark mode users :)

(it's possible in CSS to detect if the user is using dark mode, and adjust the colors automatically)

_a1_··on [dead]
Direct link instead of some trashy proxy: https://www.foxbusiness.com/technology/parler-not-working-of...
_a1_··on How Video Works
Oh, I thought it was about VHS video for some reason. I guess I'm old enough to rant that this should be named 'how video streaming works', not 'how video works' :/
_a1_··on Maybe we shouldn't want a fully decentralized web
I think this blog post should be taken down or at least mostly censored, because it promotes depression. I don't want to see posts like that on the internet. Children can stumble upon it and find links to nazi content.
_a1_··on Self-host your fonts for better performance
I'm using uMatrix and by default all javascripts are blacklisted until I explicitly enable it for the site. The downside of this is that lots of websites are broken, payment sites are non-functional, but after a week of building the whitelist, the web is somehow usable again.
_a1_··on Self-host your fonts for better performance
Funny thing is that this site itself uses fonts from Google Fonts
_a1_··on Microsoft is working on an Android subsystem for Windows 10
Troubleshooters never worked for me as well. It's hard NOT to try a troubleshooter, because it's suggested by Windows on every occasion, but after I've discovered that "troubleshooting" in Windows terms means "first try restarting the service, then try restarting the computer, then try reinstalling windows" then indeed I've stopped trying them completely.

I mean, if the user doesn't change system settings at all and uses external drives for their cat pictures then reinstalling the system isn't such a bad advice. The problem is that if someone uses Linux, then this person isn't satisfied with this style of system usage.

_a1_··on Messenger API Updates for Europe
You shouldn't wear a helmet because other people tell you need to wear it. Instead, you should wear it in order to be safe.

The problem with law is that only good guys abide the law. And you don't need to defend yourself from the good guys, only from the bad guys. And bad guys will violate the law anyway.

_a1_··on Messenger API Updates for Europe
Great news, I feel much safer now. Now I'm waiting for EU to completely ban computers, this way I will never be attacked by anyone online.

But seriously, if anyone had doubts what GDPR will achieve, I think this person is pretty naive. GDPR is not a progression, but a regression, and it will seriously hit (already does) online businesses in the long run.

Same thing with cookie warnings. No normal person will read tons of legal text on every website they visit. And even if the normal person will read it, they won't be able to decline the cookies, because the site will not work. But let's say you're a technically savvy person that is actually interested in cookie privacy; I'm really surprised you're not using "cookie autodelete"-style plugins already.

Creating laws only to have laws will never work. It only creates cost for everyone in order to be compliant. And people always go where the cost is lower.

_a1_··on Microsoft is working on an Android subsystem for Windows 10
That feeling when a stable version of Wayland will be released on Windows faster than on Linux ;(

(disclaimer: i've tried to use it on Nvidia, but it's far from being usable, also tried to use it on Radeon 5700, it hangs on start, even mouse didn't work)

_a1_··on Infinite Bad Guy
Doesn't work for me, doesn't even tell me it doesn't work.

Unless it's just photo and a smear-like effect under the cursor?

Page 1 of 2Next →