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 4y ago · link · parent

SDR maybe useful if you already got a bunker to host and power the equipment needed. But if you already got a bunker, why not install a more powerful station?

Realistically, you probably want to have something mobile and not power-consuming, plus a solar panel (or any kind of generator). So maybe a set of LoRa device and/or goTenna, HAM radio + backup batteries, and AM/FM radios.

Or maybe just HAM radio + backup batteries.

I think I might just reignited my desire for a HAM radio license...just kidding, I'm living in a small city of 3KM radius, I'm will not survive the fireball if a nuke decided to hit us. So good luck for you, I guess.

comment 4y ago · link · parent

I don't think the newsletter pop ups is a layout design problem, it's more like an idea contributed by the marketing department.

Layout wise... you can totally have a website designed like a whole casino of dump truck emptied on you. I'm not talking about Japanese websites or even pointing my figures, but it's a simple fact that you absolutely and unmistakably can have the worst of the both worlds, and everybody who visits taobao.com can experience that first hand.

comment 4y ago · link · parent

It is another thing if the decision was made due to notice from your government. Otherwise, as a Chinese and someone pretty pissed off by what Putin did (not just recently in Ukraine, he is been crazy long before that), I'm sorry, this decision is beyond stupid.

Imagine a Russian kid just done protecting, escaped the police assert and got this email on their way home, how they would feel? The word is probably Betrayed.

I'm not a customer of Namecheap and I don't know the rationale behind it. But if the Russian government or oligarchs are using your service, maybe ban them directly. Not all Russian are pro-war. Your passionate sanction will just make the life of regular Russians harder and push them to the very authoritarian government that they might disagree with, simply because it's the only government willing to treat them more fairly.

One funny story: Awhile back I've read a discussion about US sanctions against China on an underground Chinese website. One of the funny reply said something like "In the end this website will shutdown probably not due to crackdown, but because the owner cannot pay for the hosting fee from their Chinese credit card".

I hope the company reconsider it.

comment 4y ago · link · parent

The loophole mentioned in reply 30044019 is certainly interesting. But it's also important to note that the enforcement of the license is also heavily depended on the law. After all that's what the document is designed for.

Hypothetically, a lawyer might argue that the act of setting up a filtering reverse proxy counts as active violation of the license. All and all, the eventual result will be determined by the court, not people reading the license online.

Of course, a clearer license without such possible loophole is better (i.e. the license should explicitly enforce _public_ access of the source code, not just access of the source code).

comment 4y ago · link · parent

Do Russian military knows how to safely operate the remaining functional reactors in the power plant? If Chernobyl episode 2 is just a wrong button away, the entire EU is in danger.

comment 4y ago · link · parent

> If, under duress, Alice is forced to reveal a decoy key that pieces together data from `m` books, she needs some way to explain the remaining `n−m` books that were not used.

If I read it correctly, then the adversary might extract the data decrypted via the decoy key, and then reconstruct the encrypted payload using the extracted data and the decoy key. By comparing reconstructed encryption payload with the actual sample, it is easy for the adversary to figure out a better `m` to determine whether Alice is hiding something or not.

I assume the approach that the article is showing only works if the encrypted meaningful data is stored in a fix sized container (say a disk volume or a fix sized file) that is initialized with random data, so knowing the size of `n-m` doesn't matter.

> She could claim that,

It just don't work like this if the adversary knows that you have installed some encryption software on your system that allows you to decrypt different content with different passwords.

Just hide your real crypto wallet on one of your 10 years old HDD that still got Windows 7, Microsoft Office and Doom installed. Encrypt the wallet, then put it inside C:\Windows\System32 or similar and give it a system-like name such as `sysdump`.

After you've done that, make a fake crypto wallet and put it on a expensive USB drive, lock the drive in a safe, then hide the safe in a hole of your basement.

comment 4y ago · link · parent

I found this entertaining. Since you cannot legally refuse to give up the password, insult them while you giving up is probably the most appropriate revenge you can do at that situation.

"Tell me, what's your password?" says the adversary, "It's 'kissmybloodyhemorrhoidsassyoudumbshithahaha!', all lowercase, no space, ended with a exclamation point".

The password is cryptographically secure too since it's long. And it's easy to remember, relatively easy to type in. All around, simply a good password.

comment 4y ago · link · parent

Currently not a Windows user, but I'm interested in developing applications for major desktop operating systems.

I wonder how React Native program performs when compared to the native one. Specifically, how many memory & CPU does a React Native program consume compare to a native one with the same functionality?

The blog didn't provide the information, but it did mentioned that "... performance and accessibility of WebView UX tend not to be as good as a native equivalent". I'm just curious.

Thanks!

comment 4y ago · link · parent

Man that sounded like a lots of work for watching YouTube.

I watch YouTube usually because I have something else to do, and I needed something to make a sound + be my timer. If an ad starts to play, it will not effect my main task. 5 or 10 seconds later the Skip button displays, I click/tap on it and continue my task, and the ad will be forgotten almost instantly.

I don't think those ad makers knows how ads actually work: you only have certain amount of seconds to convert a client. After that, the ad will be forgotten. People who interested in your product will sign on after few encounters with the ad. And for those who didn't sign on, they don't care and pushing more ads will simply annoy them and makes them hate your product.

For example, those 5 seconds TikTok ads are low quality and extremely annoying (, making me believe that ByteDance is using the strategy to downgrade the user experience of YouTube. Very clever indeed), I'll never sign on no matter how many times it plays.

For me personally, I like to take my time to read the detail about a product, those video ads just can't cut it. The text + picture based ads displayed by Reddit catches me better.

comment 4y ago · link · parent

I'd say the creator of the graph is probably the owner of the repository, based on the commit records here: https://github.com/JannikArndt/git-in-one-image/commits/mast...

comment 4y ago · link · parent

Let's be fair, Jihadi terrorists probably don't know which platform is actually secure for their terrorist operation (none of them is, actually). They could've used WeChat if they were able to register an account for themselves. It's simply not a good metric.

It's the same reason why you don't want to measure someones kindness by comparing it with Adolf Hitler. "Oh I have such good neighbor, he is the completely opposite of Adolf Hitler", it just don't compare very well.

comment 4y ago · link · parent

I guess they are trying their chances with RCS (Rich Communication Services) which is a standard rather than a service.

And now let me just get this out of me: Google is really bad at naming things. "Hangouts" is too casual, "Meet" is too confusing (it's sounded more like an outdoor activity planer), and I don't even know what Duo or Allo means (I'm not even interested to look it up).

Just call it "Chat" or "Chat service", Google, and then sit on it really REALLY steady.

comment 4y ago · link · parent

Freshly cooked rice smells different than the "expired" ones. You can give it a smell after it has completely cold, if after a few days it starts to small odd, then probably don't eat it.

A rice cooker can usually finish cooking in less than 30 minutes completely automatically, so it's not really worth the risk anyway.

comment 4y ago · link · parent

> She pretends to be some women's rights activist when she's really just a purveyor of some weird type of titillation.

Naomi Wu was influenced by the cartoon (animate) culture. She designed her character according to the public perception of a girl in animation, it's her persona. And based on how I look at it, her wearing style is a rebellion against the traditional idea of what a woman should be wearing, maybe it's a political statement of some sort.

I do agree that she maybe wearing a little too less. If she were my own sister, I would probably constantly annoying her so she can dress more properly at least for her own safety concern (you don't want to test the dark side of people). However, if it was truly an act of political statement, then maybe it's reasonable that she wants to make it louder.

(Seriously, I would recommend that she remove the "Sexy" reference in her banding to avoid serious legal issues)

comment 4y ago · link · parent

Speak of rice, cooked rice sometimes only lasts for 2 days even when stored in refrigerator. After that, the rice could become inedible due to biocontamination. Ideally you want to cook rice right before the meal (the same is true for vegetables but for nutrition related reasons).

Meat on the other hand, can be prepared days in advance, then freezed in freezer.

comment 4y ago · link · parent

> Microsoft's Family offering is way better

Well, it's called Google _Workspace_ now and their cheapest offering is _Business_ Starter at $6/user/month, and their "Individual" offering is $9.99/month (currently on sale for $7.99/month).

I guess Google is making the service business-oriented. For you, that means you need to consider whether or not the service will add value to your _business_ before buying them. It's not a family service.

Little rant here: to be completely honest, I don't really understand what Google has been doing in the past decade. As a search engine company, the clerk of the Internet if you will, you'd imagine that they would do anything in their power to create and maintain a vibrant Internet. Things like encouraging custom domain usage, lowering hosting costs etc should be naturally on bucket list. But instead of doing that, they became one of the company who focused on sipping on their user, all the while the Internet is more and more concentrated and hard to search. Well played ...

comment 4y ago · link · parent

Here is a documentary Johnny Harris made (https://www.youtube.com/watch?v=IwJzsE8CvzQ). In the documentary, he concluded (start at 14:55) that "The Flat Earth movement is not totally about the shape of the Earth ... What it does has to do with is been skeptical of big institutions that are probably watching you, that are probably controlling your life, that are probably feeding you bad information to retain power..."

Simply put, it's a trust issue, and not a completely groundless one. You can't fix a trust issue with information produced by the very institutions that they don't trust. This is why Mike Hughes build that rocket, he wants to see it for himself instead of "blindly trust" NASA and "big company/governments".

It's not just education I'm afraid. The trust problem must be resolved first somehow.

comment 4y ago · link · parent

Back in the day when blogging is still hot, many "tech bloggers" that I read exchanges "friend links" between their blogs so their readers can discover other blogs. Many high-end bloggers are quite picky on who they would exchange links with (after all the link is displayed on the home page), which resulted a high quality read list.

Maybe people should resume doing it.

PS. "back in the day" does makes it sounded old, but it was just 15 years ago or so.

comment 4y ago · link · parent

So... besides the Rust war, I want to talk something more obvious...

Take look the screenshot under "The search bar is available everywhere in the app" section, the Navigation button is not aligned with (I assume) the window title.

The Navigation button did in fact aligned with the "Find a setting..." search input box (trust me, I measured it with two different rulers). But... visually it's misaligned still because the bottom borderline of the Navigation button is too blended in with the window background color.

Well, that's ... dare I say... ugly?

comment 4y ago · link · parent

> capitalism increases inequality, it favors the wealthy at the expense of the poor

Does pure capitalism without cronyism give everybody an equal chance though? What if cronyism is the very product of current capitalism?

Finger swap is useless. To actually fix a problem, we need to find the root cause and fix the entire tree of problems one by one.

comment 4y ago · link · parent

> 530 bats, 2 cats, 1 horse, and 1 llama.

Ooook, now I understand why nobody is keeping bats as pet. Just think how much the vaccination costs each and every year for both the bat and the owner (and the bystanders screaming in fear, potentially).

comment 4y ago · link · parent

I mean... First, you don't have to alienate yourself from your old friends in order to meet new people. Second, you don't have to make "left the group" reach the level of alienating.

People comes and goes, booze night can be fun at times. But if it stopped been fun, then your decision of leaving should be honored. Otherwise, the relationship is unhealthy and needs adjustment.

comment 4y ago · link · parent

> this would open up the field to a lot more people

Maybe... but I don't think it can be done in the exact format as presented in the article though.

"Hey we've a new version to deploy, can you punch that 'default:service:hello-world' chicken until it ... turns into smoke? You can keep the egg ;)"

A good UI needs to be efficient to operate while easy enough to form mental model (abstraction) around it. So, basically not a Minecraft server. Nice try, Now get back to work.

comment 4y ago · link · parent

Yes, but the advantage is that the user sends their own public keys and they can switch it freely (and preferably easily, user click "login", a window pop up, user select a public key, done) at will. While client certificates is currently managed fully by the browser, and you need to adjust your HTTPS infrastructure in order to enable the feature.

comment 4y ago · link · parent

Is there any chance to go even further than this? I'm imaging a public key based authentication scheme.

The user submit their public key to the server first, then in the feature logins, server will generate a challenge for client to decrypt and respond.

Of course the browser can apply some UX magic at the client end, for example displaying a pop window to allow user to select a public key for the authentication process, etc.

comment 4y ago · link · parent

The writer must meant another poor feller, Michael Hitler. It's a surname from his parents for Christ's sake! And he is older than the evil Hitler! The most dark thing that he ever did in his entire life was kicking a cat in the butt while the cat was taking a dump on his doormat. And now everybody wants to pet his head with this weird hand gesture, and then kick his butt. Come on! Cut Michael Hitler a break, he did nothing wrong!

comment 4y ago · link · parent

I think those ads were designed for womans too...

comment 4y ago · link · parent

> strict legal framework for its implementation

And that might turn this technology into something that only big company can afford, artificially created a pro-monopoly environment.

The problem is complex.

1
161718
24