2,087 karma · joined Jun 12, 2019 (7y ago) · 706 submissions
[ my public key: https://keybase.io/nirui; my proof: https://keybase.io/nirui/sigs/oi8UKCZcYxKij-Pi43fDt35S1cHWmEKrFeMHZ4wW5Mo ]
comment 4y ago · link · parent
This one could be a better value compare to the Intel one, if it provides support for Thunderbolt 3 eGPUs.
One downside I can think of is that T14s usually only comes with soldered on RAMs, no DIMM slot, meaning it's less upgradable (say to 64G of RAM). That's why I'm waiting for a new AMD T14 which should come with a DIMM slot and hopefully USB4. And if Lenovo failed to deliver the T14 that I want, then I'll probably just get an E14/old-style XPS13. I don't really need cellular connectivity, fingerprint scanner and backlit keyboard anyway :-\
comment 4y ago · link · parent
Uhhh... objection.
A digital town square is more like Reddit or Hacker News or an online forums, where people are gathered by discussions, not someone attractive. Twitter and other social medias however, is where people go if they want to watch someone.
From this perspective, I think Mr Musk bought the wrong company...
comment 4y ago · link · parent
Just a side note: Go test supports benchmarking (https://dave.cheney.net/2013/06/30/how-to-write-benchmarks-i...) which gives you few useful tools such as `b.ReportAllocs()` and `go test -bench . -cpuprofile cpu.out -memprofile men.out`. These tools can give you far better information than just the execution time of a test case.
comment 4y ago · link · parent
Usually, a responsible website will password-hash the plain-text password into a hashed string before saving the hashed string into their storage. Password-hash is a special hashing process designed to be reasonability slow, so an attacker who somehow obtained the hashed string cannot easily collide the hash with another plain-text.
Some password-hash configuration can took few milliseconds to run, that's really expensive if you have to do that for every request just so you can compare the client password-hash v.s. the one stored on your server.
(Full disclosure, I designed few session manage systems for my job before :D)
comment 4y ago · link · parent
Maybe just keep the Top/Pined repository list since they only show public repositories anyway?
Also, based on my test, even if I set my profile to private, I can still see my activities through GitHub API (say https://api.github.com/users/<UserName>/events). I mean...???
comment 4y ago · link · parent
However, I think maybe there are ways to achieve delivery even if the manufacturer is not operating in the destination country? Maybe through a third-party partner such as Amazon?
This Chromebook (https://www.amazon.com/dp/B07YMM4YC1/) for example, ships from the US and can be delivered straight to my hand even Google don't actually operate here.
Currently, if I want to buy the laptop, I have to hire a courier company to proxy the package (from their US warehouse to the destination country), the company will handle import and customs. But given the nature of the business, the package might be damaged or lost, and when it did, I might only get the courier fee refunded.
Amazon on the other hand, almost never fail, and even if they did fail, I can still get all my money back.
I would totally pay a small premium to get my laptop and other hardware safely delivered. So... I hope Framework consider this.
comment 4y ago · link · parent
Yeah.... it's not really a big deal, just few dogs and stories such as:
- Hospital refused to rescue their own nurse who had an asthma attack, leading to her death (https://new.qq.com/omn/20220329/20220329A02CZK00.html)
- In another an asthma death case, an ambulance (carries another patient) drove away while refusing to offer any help to the person who was having an asthma attack (https://new.qq.com/omn/20220331/20220331A0DFA900.html)
- Here is a video of an elderly man crying in front of a hospital, because the hospital refuse to take in his daughter: https://www.reddit.com/r/China_irl/comments/tz74vk/%E4%B8%8A...
- The "neighborhood committee" (a community level management department) refuse to let a heart attack patient go to hospital. The patient dead as result: https://www.reddit.com/r/China_irl/comments/tztiu0/%E5%B1%85...
Those were all caused by the lockdown.
Let me teach you a Chinese word here, called 理中客, which is an abbreviation for 理性 (Rational), 中立 (Neutral) and 客观 (Objective). This is not a positive word, instead, 理中客 is a derogatory term describes people who disgusts their excuse under layers of reasoning that looked Rational, Neutral and Objective at first, but starts to break down upon deeper inspection.
For example, someone might apologetically claim that "Yes, there are pains, but in the end, most people will survive, so it's all good", which is rational, neutral and objective. But is it though? Why the pain essential? Have you tried something else? Have you learned anything from the good instances in the past two years?
I'm not an emotional person as well, nor sentimental. But if a policy is leading to such massive destruction, then objectively speaking it's a bad policy, especially when there are many safer and better ways to implement such lockdown. Using word such as "sentimental and emotional" to describe people who's currently suffering through this disaster is, logically, at very least, "weird".
I hope you learned something today.
comment 4y ago · link · parent
In the article, the author wrote
> As a parent, though, I’ve discovered that there’s a fine line between omission and deception.
I found that, discovering and maintaining the fine line requires significant amount of knowledge and life experience. Often, only the wise ones knows how to respond to those challenging questions appropriately.
Sadly, many parents I know of struggles when facing difficult inquiries from their kids, so they end up telling lies upon lies just to send their kids away (in another words, to escape from the question).
Take my parents for example, back when I was still a child, when I asked them how I was born, the two typical answers they offered were: 1) "We picked you up near the trash can", or 2) "You'll figure it out yourself when you're older". They also used this escape strategy when ever I ask them something they don't or unable to provide answer to. As result, I realized it fairly quickly in a young age that my parents might not be a reliable source of information.
If I'm a parent, I would probably never escape the questions like that. Some kids are smart and curious, parents need to help them to navigate in this sea of knowledge, instead of play funny games with them when the kid is actually seeking for help.
By the way, I think "how I was born?" is actually a good test question for parents. You can figure out many things by simply observe how the parents react to this question. Smart parents can often quickly figure out a fitting metaphor that satisfies the curious kid, and at the same time without bring up the awkward (and hard to understand) concept of sex. On the other hand, I literally saw some parents doing weird hand gestures in front their kid trying to explain the detail, please don't do this, it's embarrassing and the kids probably will not understand.
comment 4y ago · link · parent
Keep in mind, you get what you paid for. Many low cost VPS vendors are also using low cost IDCs to host their hardware. Some of those IDCs might be heavily sanctioned by other online services (say, Google will always want to verify if you're a human if the IP of the VPS lands on the sanctioned range).
Other than that, they're fine. My VPS with Virmach has been up since 464 days ago, I consider it stable enough (again) for my application.
If you're interested in low spec VPS, I would point you to Low End Talk (https://lowendtalk.com/), which is a forum for low cost VPS vendor and consumers.
comment 4y ago · link · parent
1: https://virmach.com/cheap-kvm-linux-vps-windows-vps/
I only need it's IP address and network, nothing else, to setup a stateless reverse proxy. Which I guess is the best use case for such VPS.
comment 4y ago · link · parent
> The martial arts adage - don't bring a weapon unless you know how to use it / control it. Otherwise it will simply be taken from you and used against you.
To put it simply, you think: a technology must be tested safe and can only be used for the intended purpose, otherwise it will hurt you back and it's your (a technologist) own fault.
While I do agree a technology should be designed with good intention, I must point out that your opinion is too idealistic.
Most technology that we utilize today were invented not actually by one inventor, rather, they were invented by the iterative advancement of our (as human) knowledge. Further more, technology itself is not static, instead, it iterates too, sometimes by different people in different organization at different place across different time.
Put it under the context of the Internet, an inventor maybe "rigorously think through the negative cases and faults" of their invention, but it is almost impossible for them to have complete control over even their own invention, let the lone alterations of it.
Often in the end, you can only hope that you've designed something good, and let the progress of things take care the rest.
Let me put my end opinion here: Internet is promoting democracy, the world will be a far worse place if the Internet don't exist.
comment 4y ago · link · parent
That's the magic part: you don't have to be explicit to promote certain thing, you just create the ground tech-knowledge to enable the easy access of such thing, and hand everything else over to natural progression.
The Internet for example, enables everyone to exchange information with everyone else. That's textbook democratic-builtin design. Some undemocratic nations are so fearful such network, they go as far as creating their own little net to protect their pathetic little propaganda, the propaganda that those nations don't even dare to show to the world. And even that, they still have to fight a propaganda war (actual names might be different) in their own little net to keep democratic force in check.
Internet is democratic, there should be no question about that.
The problem about the Internet today, is that most people thinks Amazon+Google+Facebook+Twitter+other big brands is the Internet. They forgot that they can host things themselves without those big tech companies.
comment 4y ago · link · parent
> Earlier, there were five plans: free, personal, premium, business and e-commerce.... But at some point late last week, WordPress replaced all of the paid plans with a single ‘Pro’ plan and reduced the storage on the free plan 6x, from 3 GB to 500 MB.
> Imagine looking for a good-quality surgical mask to wear in a park but finding out that the most reliable vendor in town has suddenly decided to sell only chemical safety masks.
Yes, it contains Premium support, premium themes, commerce, payment support and automatic backups, but how many of those features you'll actually utilize? Why would you want to purchase their automatic backups when you already have a system that backs things up better? Why should you pay for their commerce system when you already using a better third-party one?
It's not "But it's loaded with features" here, instead it's "Yes, it's loaded with features. But I (author) don't need most of it".
comment 4y ago · link · parent
1: https://github.com/mastodon/documentation/blob/9efa9b69d8dc4...
Their new document stopped providing such information now. I wonder how things improved during the years, does it demands less RAM now?
Long story: my plan was to put the instance on one of my Raspberry Pi which got 2GB of RAM. But based on the old information, 2GB of hardware RAM is dangerously close to the limit, so I waited to see if things improves somehow (say Ruby suddenly become more memory efficient, I can dream too).
comment 4y ago · link · parent
It's like religions. Somebody who lives deep in the religion that they believing in might deny all other beliefs, and almost all religions were created from adult fairy tales (in another word, lies). But what if a religion makes people peaceful, kind, productive and healthy while strongly rejects the idea of harming the others? Is that religion bad?
Contrary to what people might think, more information does not necessarily make you more rational and reasonable. It can be the opposite, sometimes information makes you anger and hatred, while ignorance gives you the power of justice and forgiveness. That's why sometimes those who made improvement to the world were doing so from their own veil of ignorance. Nobody tell them to hate, so they helped instead.
Echo chamber is an overly stigmatize word. It's true that some people handled it poorly, thus sadly created a spiral that dragged them all the way down. But on the other hand, echo chamber can also be a useful moderate tool to keep yourself out of those harmful ideas online too. It depends on how you craft the chamber, how you use it, and whether you left the door unlocked.
I would rather use my ignorance as a vault to keep my humanity.
comment 4y ago · link · parent
I found that most people in my block list were fans of few propaganda accounts. It could be a nice addition if the service can monitor those accounts, and keep banning people who liked any Tweet posted by those accounts.
I know there are side effects for doing that, but I have other ways to gather valid information and opinions so I don't really care. I rather save my time from useless and baseless online arguments (a lot of those were sent by bots), and focus on things that are really important.
comment 4y ago · link · parent
> Determining good-ness or bad-ness of a design has to take into account the intended usage and design goals. Whether a customer should be able to repair their device easily/at all, is a whole separate topic
I was just talking about the product design itself, did not touch the self-repairability issue at all.
There are certain expectations a device should be providing, been Apple does not grant them the exception. No, Apple is not a special company that produce magic rainbow out of their computer/phones, it's a company that produce digital product and service, just like those in Shenzhen, Apple is not special. They're expensive, they're a monopoly, and they hire some good people, but they're not special, keep this in mind.
I would complained the same thing if Dell or Lenovo designed their wind system like that. Fun fact, I kind like how Dell designed their OptiPlex MFF system, at least I don't have risk my life trying to clean them. But of course that computer, not a Mac.
But with all that said, I'm not here to stop you. If you want one (because it look beautiful I guess???), then treat yourself. I'm just here to complain what I saw as a consumer.
comment 4y ago · link · parent
The same is true for PCB design: as long as the board is correct, reasonable, stable and have good performance, it's a good board.
Based on the video, in order to clean up the dirty fans in this machine (something you'll start to do eventually), you'll have to:
1. Un-glue the button rubble stand ring to access the body screws,
2. Remove the exposed power supply (Risk getting shocked or worse),
3. Detach almost everything (screws, tapes and cables) you can see, so you can un-mount the main board to access the fans.
Then, after done cleaning, you have to do everything again but in reverse.
My opinion is, Apple can make their circuits look like a Steve Jobs thonk pose, but if an user has to go through all that many trouble and risks to preform such simple and (rare but) routine task, this design is bad.
comment 4y ago · link · parent
> I don’t think this can be classed as open source anymore:
> The definition of an Open Source License is quite clear:
> 5. No Discrimination Against Persons or Groups The license must not discriminate against any person or group of persons.
> I don’t really want to have to read through each of my dependencies and transitive dependencies licences to determine whether I am agreeing to discriminatory terms by using a library.
I think the author of the article has misunderstood the definition, thus reached the wrong conclusion.
The non-discrimination rule applies only to accessibility and nothing else. Simply put, you provide the same code/product to everybody, including Santa Claus and Mr Putin under the same set of condition and permissions. Adding/removing malicious code does not change the fact that the code is by definition open sourced.
All and all, this is not a license problem.
Now, talk about node-ipc, which just got attacked by mobs (see https://github.com/RIAEvangelist/node-ipc/issues?q=is%3Aissu...).
If an open source project is a scam, then it's a scamware. If an open source project is malicious, then it's a malware.
Personally, as a normal human being, it is hard to keep a peace of mind after watching how the Russians fired multiple heavy rounds to kill the elderly couple who just traveling peacefully in a car down the road near a hospital. It is even harder to keep a peace of mind after watching a video recorded by a son showing how the Russians shoot and killed his father who sits in the driver's seat right beside him. I fully understand and respect the anger.
However, I do agree that people need to be more mature on this even during this difficult time. Turn your project into a malware only hurts your own reputation and people who trusted you. Once the trust is gone, it might never recover. There are many ways to actually hurt those who contributed the invasion. Be constructive and accurate, or at very least don't be destructive.
comment 4y ago · link · parent
Imagine I started learning Rust at 10 years old...
comment 4y ago · link · parent
I think a better description is: those companies are using a small set of VPN features to run proxy business.
BTW: In Android OS, if you want to intercept and redirect network traffic, you must(I guess??) use a component called android.net.VpnService(1) introduced in Android 4. Maybe this is what inspired those companies to name their product a VPN. Just a guess of course, but the timing is roughly a match.
1: https://developer.android.com/reference/android/net/VpnServi...
comment 4y ago · link · parent
You know, as an Asian myself, I watched all the shit unfolded on Asian people because of the COVID-19 pandemic, I know what vigilante mobs can lead to. Russians who hated the war should suffer none of it.
However, it is important to notice the fact that most Russian supports the ongoing invasion effort (see 1). That means the "ordinary" people supports what Putin has done and they're looking for more.
You may now think "hey but that's all government propaganda". Well, an "ordinary" Russian who's not against the invasion might help or even join the invasion effort. Propaganda or not, the effect is real.
It's not about shaming, it's about providing the critical information needed before someone picked a side and locked themselves at that side.
If people ended up ashamed by this, then hey, their nation did this, maybe they Should feel ashamed.
1: https://www.washingtonpost.com/world/2022/03/08/russia-publi...
comment 4y ago · link · parent
Just a thought: I been viewing the evidences of Russian war crimes (photograph, video) that people posted on Twitter since the very beginning of the invasion. A lot's of them are real and fact-checked.
Maybe it could be a good idea to setup some sort of online and physical memorial to show the timelines of how each single innocent people lost their life in the invasion, completely neutrally and uncensored, only tell the story, no decoration.
My rational is this: it is just impossible to convert the entire Russian population to be peace-loving, let's just face it, it won't happen as long as the regime needs brainless tools. But for the curious ones who really wants to understand, the memorial can plant the seed in their head. Every 0.0000001% counts.
comment 4y ago · link · parent
And most of their life would be normal, happy, even fulfilling until the very moment they "stepped over the red line".
I've observed many instances in the past, so yes, I'm very familiar of it. In fact, people has invented a term for it already, it's called *** ****.
comment 4y ago · link · parent
"There is no effort ... I mean they do all the scientific research, but they never investigate how to communicate with them, how to have peaceful solution... their society thrive on the need of an enemy. And they have all these space ships and faster than light travel, they made all this advancements, but it's a fascist society that just breeds his bread for war." (11:07)
This cuts really deep.