Better HN
topnewbestaskshowjobs
Log inSign up

nirui

2,087 karma · joined Jun 12, 2019 (7y ago) · 706 submissions

You know, I figured if I run this undefined behavior long enough, eventually one day that server will just jump down the shelf and fix the red black tree by itself.

[ my public key: https://keybase.io/nirui; my proof: https://keybase.io/nirui/sigs/oi8UKCZcYxKij-Pi43fDt35S1cHWmEKrFeMHZ4wW5Mo ]

Submissions

comment 3y ago · link · parent

> For an open source user to convert to a paid customer, Wright said, one of three things has to happen: They are in production and there’s a major incident, the person responsible for operating the software leaves, or there are changes to their enterprise platform requirements.

I have an idea ("question" really), but not sure if it's legally sound.

I'm working on a side project for quite awhile now. My original intent was to write a simple software and then release it under AGPL. But then I got greedy and it has grown to over 20,000 lines of Go code -- too big to just give it out for free IMO.

I still want to release the software under AGPL, but now I also want to compensate for my time and effort. So I renew the plan to the following:

    - I'll still release the software under AGPL as originally planed
    - I'll maintain full ownership to the software, and will not be accepting code from other people (or doing anything that complicates my rights of ownership)
    - Based on the original code (open sourced under AGPL), I'll create another software which adds extra functionalities for users who might want to pay for it. And this software will be for sale and completely propriety, the "all rights reserved" type.
My reasoning is, since I'm still owning the software, legally I can do whatever to it, including "re-licensing" the same code to myself under a set of different conditions. The open sourced version under this context is there to provide a fallback (say, in case my users no longer trusts me) as well as a default that guarantees the minimum functionalities that my software will absolutely offer regardless if you're paying or not.

Although it's not strictly "selling open-source software" any more, it could be a balanced approach to the conversion problem, IF it can legally be done this way of course.

But then, can it be done through? Is there any legal and licensing trap that makes the scheme impossible? Thank you in advance.

comment 3y ago · link · parent

Well, a long time back, there are proxies such as fqrouter, GoAgent and XX-NET which sends plain but loaded HTTP requests as transport. So I guess if a country decides to ban/decrypt TLS, people can just switch to another proxy/protocol.

Of course, both fqrouter and GoAgent is long gone by now and should not be used. However, it seems that XX-Net is still been actively developed and (according to their project page on GitHub) is currently give out one million free ChatGPT-3.5 tokens for it's paying user...(I mean like... what??? and why???)

comment 3y ago · link · parent

Actually, nonsense interview is another red flag to watch out for when applying a job.

Some companies uses long and pointless interviews to discover and collect legally sound reasons to reject candidates without revealing the true reason of rejections (could be based on race, gender, age, disability, religion etc).

But, you probably don't want to work for a bad company anyway, so I guess just be happy for the fact that now you don't have to.

comment 3y ago · link · parent

Except the US do have a rather strong private sector that is capable of absorbing the debts (and maybe empty skyscrapers too).

China on the other hand, always squeeze and bit off wealth from it's private sector, sometimes not even by using the power of market force. China instead just issues laws and regulations until private business lights out.

For example, it is completely illegal for an individual entrepreneur to start up video sharing service (like YouTube), because hosting video sharing service require special license. And one of the condition is that the owner entity must be state-owned or state-majority. Without the license, the operator can be fined a huge sum of money and/or be jailed.

On the similar faction, there are also license requirements for operating service like news, BBS/forums/guestbook etc. Not all of them require a state-owned or state-majority owner, but still, enough to drive business ideas out of the window.

So that's a little background information I thought you should know.

Of course, not all laws and regulations issued by China was unreasonable and designed to drive out private business, and IMO state-owned company can operate many fields better than private ones (like running your water, gas, bus, hospital etc). But "letting good people do good things" is just not how things work in China.

comment 3y ago · link · parent

It depends on whether or not technology in the future allows the revival of the deceased. If true, then I imagine many people (rich ones) will pay to store their bodies for 10 to 20 years to wait for the progression of medical knowledge ("frozen for a cure", so do speak).

I doubt that such expense will be paid by insurance policies unless 1) the technology became common or 2) it's a privilege only for the powerful.

comment 3y ago · link · parent

> This suggests standard lid usage reduces but does not eliminate flush-related bioaerosols. Lid-use changes their characteristics and apparently prolongs their residence time in room air.

There is another problem with lid: the success rate of toilet flushing is not 100%. If you close the lid, you cannot verify if your flush was unsuccessful and then retry. If you close the lid, flushed and then immediately verify the result opening the lid up again, some amount of aerosol will still escape.

All and all, I'm pretty sure you don't want to see a surprise when you open the lid especially when the toilet is shared.

comment 3y ago · link · parent

Well, I set my Dash To Dock to autohide only when a window maybe overlapping with the dock. As soon I move the window away, the dock pops back up. Which is the best of both worlds setting IMO.

There are great benefits of having an (almost) always-visible taskbar, one is that it allows you to plan your actions before you move and click, and it also enables more efficient actions when you want to bring up/down more than just one window (simply due to the shorter distance the cursor/hand/finger has to move between).

Also, I'm not really talking about maximizing windows, that problem has already been solved IMO. But as far as I know, by default, there is no similar-acting alternative for minimizing window besides Super+H hotkey which for me is a bit awkward to press, plus I don't really have big hands :( also, I rest my left pinky on the left side of left Control, move it to Super sounded like a lot of effort (and then I've to also locate H???, you know what? I'll survive a few unminimized windows :)).

comment 3y ago · link · parent

You mean the Dock/Dash or the Minimize button?

The Minimize button is still accessible on some windows if you right click the title bar and select "Hide". So the function is still there, just more annoying to access.

And the Dock/Dash problem is actually linked to the minimize feature. Because when user click Minimize, the window then needs a place to be "minimized to" (and an animation is also need to show how it happened). Maybe the lack of Taskbar could be one of the reasons why Minimize button was removed? Just me guessing.

I do respect your use case, but as a desktop environment, I don't think GNOME should implement it as default. But on the other hand, if GNOME is really committed to be a tiling-first desktop environment, then removing the Minimize button could be a reasonable plot on the roadmap.

comment 3y ago · link · parent

> Overlapping windows can get messy quickly

Yeah dude... that's one reason why the Minimize button exists on Windows, MacOS and KDE etc for so long. When you see some feature exists for this long on this many good desktop environments, you know it's too important to...say...been removed (from default setting)?

Also on the same note, Taskbar (or Dock on MacOS) is also important... It's so important that on SOME desktop environment that don't support such feature, one of it's most popular plugin is designed to restore the functionality so the users can actually enjoy the DE instead of fighting it.

comment 3y ago · link · parent

> Please be aware that this version still has some bugs

That's ... very obvious, but thanks for the reminder.

comment 3y ago · link · parent

> It’s the date that determines parts of her personality, her passions, her romantic interests and, to some degree, her life decisions.

One day it came to be from a female colleague during a fun meeting. The vibe was too good to be disturbed, so I just skipped all birthday hoops and told her my star sign is Orion, then I asked her to search online if she wanted to know the attributes.

My fellow nerds, remember, we have a whole 88 IAU designated constellations, and they only got...like 12?? We can win this war and teach em some real astronomy.

comment 3y ago · link · parent

Well, I also do similar kind of judgement. I.e. if someone is seriously religious, flat earth believing or ghost worshiping etc, then I would just assume they... have many things to left learn.

But often as I encountered it, some individual is also too cute to be treated rudely. This is a bit of dilemma, really. Because if you share what you've learned, then no matter how respectful you tried to make it look, they might still switch to defense mode and spoil the feelings.

So, the real question is, if a really cute girl that you like smiling in front of you, and she asks your "star type" (or "constellation"), what would you really do at that spot?

(BTW, you probably don't want to answer G, because I guess it's not hot enough. I'll try A next time)

comment 3y ago · link · parent

> Those who choose to participate will have their general internet access removed along with root privileges on their individual boxes if they had that

Is it just a software thing? For example IP blocking via iptables? 0-days in OS kernels are not something super surprising in these days, not really sure a software lock would really help that much.

Maybe they should just give their employees two computers, one air-gapped for accessing internal systems and must be kept in the company facility issued the computer, and another one fully online for accessing Stack Overflow and must not store any company information.

comment 3y ago · link · parent

I'm not fat in most (if not all) measurements, but I can see my belly fat when I sit down. I've read quite a few articles/papers discussing weight loss, but it ended up helped me very little. The number provided in the articles (including this one) while important, is still too abstract to directly act upon.

Guess what I wanted is a list of specific food/stuffs that I need to consume everyday in order to stay healthy and strong. Maybe some experts in the field can create an app/webpage which allow you "shop" consumables with your daily calories as budget.

Also, as far as I understand it, calories is just one part of the game, the end goal is being healthy, not just weight loss.

comment 3y ago · link · parent

Same where wondering if it performs the same/better under Linux. I imagine the battery life could be better under Linux based on my experience with Windows 11 on my own laptop, I mean, the fans don't even spin up that often under Linux unlike the near constant fan chorus Windows gives me.

Also, a computer without a single fan so I can comfortably use it on my bed? With possibility to replace it's SSD? It sounded a lot like my next laptop.

comment 3y ago · link · parent

I thought that I should mention a book because it got talked a lot under Nvidia's "lucky success". The book is titled: Why Greatness Cannot Be Planned: The Myth of the Objective (https://link.springer.com/book/10.1007/978-3-319-15524-1#toc).

I don't really think Nvidia's luck is really just a luck. After all, they has the vision for CUDA, bet money on it, and succeeded. They CAN stop the effort at any point during the adventure, but they choose to continue. That's not luck, that's a vision.

BTW, the same book got picked up by some Chinese talk heads as an perfect demonstration showing the good side of capitalism, which I totally agreed. After all, if Nvidia was a Chinese company, they'll probably instead put their efforts into developing some massive-spying citizen-incriminating policewrongs-neverseening camera with funding provided by the government, thus almost guaranteed "success". I'm really glad that Nvidia is operating in a country where "making hardware so everyday people can use their computers to play games" is not something to be mocked at by it's (abusive)parents-acting government. Now, look who's paying smugglers for those A100 chips at double the price while crying? A well deserved fate on my book.

So again, "lucky success" maybe not just luck.

comment 3y ago · link · parent

I wonder if anybody tested it's ActivityPub feature. Is it actually supported?

Thanks in advance.

comment 3y ago · link · parent

> To ensure the authenticity of our user base we must take extreme measures to remove spam and bots from our platform.

Well about that, I noticed heavy inflow of spam and bots traffic right after Mr Musk starts selling the blue patch for money. These spammers purchased and utilized the "first-class citizen" privilege to bend the display priority to their favor. Now days, you open a Tweet, the top replies are almost all spams.

You know, at this point, it is obviously apparent that the spammers knows better about Twitter than Mr Musk do.

But all and all, this (as well as the recent events related to Reddit) is a good thing. Because it serves a good reminder that we (the users) are products, sometimes the self-paying type.

So maybe next time you when plan to spend some chill time on some services, think how much you can get out if it for exchange.

comment 3y ago · link · parent

Maybe somewhat off-topic, but if you don't know, there is a video on YouTube published 11 months ago by "CBC NL - Newfoundland and Labrador" titled "This submersible takes passengers to The Titanic wreck. Climb in!" (see: https://www.youtube.com/watch?v=ClkytJa0ghc)

If I put myself 11 months in the past watching that video, I would probably think this company OceanGate is so professional with zero possibility of merging and mixing their passengers with whatever content in that tiny toilet box.

In my mind, all 5 lost souls are explorers. But 11 months... that's long enough time for someone to generate doubts on the thing to either fix it or speak out.

comment 3y ago · link · parent

Many online services (including Twitter) do employ some kind of IP address scoring system as part of their anti-scraping effort.

These systems tend to treat residential proxies as normal users, and puts less restrictions on them. On the other hand, if the IP address belongs to some (untrusted) IDCs, then the system will enable more annoying restrictions (say rate limits etc) against it, making scraping less efficient.

comment 3y ago · link · parent

Fun joke aside, I don't think that's really possible anymore since there are high quality opensource alternatives such as KVM (for server deployments) and Virtual Box (for end users).

But in the CAD field, Autodesk is the clear winner here with no good alternatives, even you count in FreeCAD. It makes business sense for Autodesk to keep grabbing as much money as they could, so they can: 1) earn money, 2) add more features into their product to raise the bar higher. It's the same logic behind Adobe and maybe Microsoft, Apple, Google etc.

The good news is, at least you don't have to pay for Autodesk 3ds Max now since Blender. Maybe it could be more productive if we convert our hatreds towards greedy commercial software into supports (donate etc) towards free and opensource alternatives (FreeCAD etc in this case).

So maybe when next time someone wanted to say "fuck Autodesk", send $5 to FreeCAD instead (https://www.freecad.org/sponsor.php).

comment 3y ago · link · parent

Unless the captcha is annoying enough to a significant degrees, I doubt that it would work. With all the money in the bucket, scrapers can just hire a captcha farm to get pass the captcha with help from a real human.

Also a side note: distributed Web crawler is not unheard of these days, as well as residential IP proxies. Meaning the effectiveness of Proof of Work model maybe also limited.

comment 3y ago · link · parent

Based on the context provided through the article, I think what the author actually wanted was a Minimum Viable Product, that is, instead of coding the shortest path first, you remove the need for unnecessary paths (and without cutting corners). This should create a reasonably correct product that is safe to use and easy to build on top of.

But I do agree about the CI/CD part. In my case however, it's because many of these CI/CD services uses their own propriety config formats which are unfriendly for local testing. I can't remember how much time I've spent on hot-trying Travis CI just to get the build process right. I imagine things could feel a lot different if the services supports NixOS or just Dockerfile based script, because I can at least try the script locally before invoking the online service.

comment 3y ago · link · parent

Not really sure about the cross-platform caveat... `dropbox-lnx` eats away 265MB of RES for it's file syncing job, I'm pretty sure what Dropbox was doing on my old laptop was very heavily 265MBly important. Also, `keepassxc` takes away 180MB of RES when you opened it.

The first Linux that I've used, Mandriva (KDE), runs smoothly on my Intel Pentium 4 PC with 256MB of RAM. I can even do some web browsing (Flash gaming) and music playing without feeling slow. That's an entire OS, running on 256MB of RAM.

comment 3y ago · link · parent

As far as I can tell, the network timeout (specifically SetDeadline, SetReadDeadline and SetWriteDeadline) is handled by Go runtime not by the OS, given how complex real world systems are, I wouldn't hold my breath on that one.

comment 3y ago · link · parent

Ain't we are all responsible for "duping" Purism into making that phone? Just look at the hypes after the announcement and how people loved it on paper. It's a classic example on why you should never fully trust your consumers for their suggestions.

Based on those hypes, Purism probably thought they can just create a phone for hackers first... and never realized the reality that even hackers loves consumer products. Just take a look on how many hackers owns a MacBook as their main driver despite the existence of many good Linux laptops. People are hiding some truths here, and they wanted a smart businessman to figure it out.

As one of the hypered, I'm sorry, Purism. This is the baseline that I actually wanted from a handheld device:

- Runs open source Android and Linux without bug, maybe also iOS;

- Powerful, as least 8GB of RAM and a relatively fast CPU;

- Big swappable battery, 4~6 hours continue use without a re-charge;

- But most importantly, INexpensive, at least not far more expensive than their consumer counterpart;

- Then you can start thinking about ergonomics, self-serving ability, usability and extensibility (builtin keyboard, swappable modem etc)

I should have listed all this clearly in my hype post...

comment 3y ago · link · parent

This is what "wolf cult" i mean "culture" get you I guess :(

There is another story from ancient times tells the tale about two big telecom company in China stealing or damaging each other's production equipment/infrastructures installed on the streets... knowing that, the act of photographing your whiteboard with drone suddenly sounded well within the realm of possible things that could happen.

comment 3y ago · link · parent

I have a mental test that I always do when trying to evaluate the privacy protection guarantee offered by an online service, it goes like this: imagine if a malicious actor is holding the top most owner of the service at gun point, and demanding for my user data, will the owner risk their own life to obey the privacy agreement?

Probably not. Of course, the mental test is very extreme, but it proofs that the guarantees offered will fail and be violated when some threshold is exceed. It's not a sign and done deal.

comment 3y ago · link · parent

> The knowledge is just transferable after all

Not exactly. I do agreed about the value destroying part. But unless the knowledge mentioned is standardized, it's not really easy to transfer them to the succeeding team members.

Some highly successful products (or features in these products) was created because the effort from one or two employees who got the idea based on their knowledge from life. Without these key employees, the product/features will never be implemented, and the success will never happen (and nobody will know it's possible).

It's the same way how CEO/CTO works, really. Some CEO lead the company to success while others failed, not because they're incompetent, but because the knowledge is not there, which lead to (for example) the lack of imagination and growth.

But unlike the leaders, employees usually don't receive nearly enough reward for their insight, if their effort is noticed at all. That's the dilemma.

comment 3y ago · link · parent

Please stop it.

I watched the recent developments to Twitter, Google and Reddit, and loved it all.

One way for self-hosted service to catch up is to wait for the big companies to mess up, and they're messed up very well at this moment.

Google previously changed their account expiration policy, and decided to lock users out of their usernames instead of allowing the old owner to re-active it, making the expiration permanently destructive for the user.

This effectively told their users that use of Google services is not "maintenance-free", you have to constantly engage with Google to keep it alive. And funny enough... maintenance costs is one of the reasons why people choose to abandoned their soft-host services.

Now the pendulum swings another way, it's great.

1
111213
24