2,085 karma · joined Jun 12, 2019 (7y ago) · 704 submissions
[ my public key: https://keybase.io/nirui; my proof: https://keybase.io/nirui/sigs/oi8UKCZcYxKij-Pi43fDt35S1cHWmEKrFeMHZ4wW5Mo ]
comment 1y ago · link · parent
comment 1y ago · link · parent
Why would you assume Elon Musk himself would immune from such "disappearing" if they pissed off someone powerful (like Xi Jinping or someone from other nations)? Have you see the man desecrate Xi Jinping or Vladimir Putin? If he likes to critic politician, why the redline?
comment 1y ago · link · parent
The man traveled to the US back in 2017 and publicly criticized how US utilized their tax incomes etc see [Link 1], then just few years later he lost half of his wealth for criticizing Xi Jinpin [Link 2].
So, apparently be a communist lapdog did very little in helping him gain political shield.
[Link 1]: https://www.cnbc.com/2017/01/18/chinese-billionaire-jack-ma-...
[Link 2]: https://edition.cnn.com/2023/07/12/business/china-jack-ma-we...
comment 1y ago · link · parent
Ah, the benefit of having a Chinese CEO, they tend to want less public attention to themselves. "Man don't want to be famous, like pig don't want to grow big" as people say.
That, plus the fact BYD's founder/CEO (same guy) was not as flashy (reads "Unhinged") as Elon Musk.
comment 2y ago · link · parent
Also, at 0:30, turning off that living place hazard is very kind of you. And you also saved Bob and Jim from being cut in half by doing that. Father Grigori might not like it, but he's crazy too.
comment 2y ago · link · parent
> it involves less moving parts
Every sane person who experienced a few server updates will not put out claim like that. One day you ran `apt upgrade -y`, minutes later 30% of your clients PHP website somehow went down? "less moving parts"?
In fact, Docker was invented to address this exact "it worked on my machine, why not yours" problem, by actually introducing "less moving parts".
> cutting corners just because "this will run in a container, so they can just add another HTTPS terminator" is just carelessness IMHO
Stop trying to misrepresent anything. No one is trying to solve a problem by wrapping HTTPS terminator with "another HTTPS terminator". Also, for real, how can you terminate HTTPS twice?
Also, from your another post:
> Traefik plus my service is two layers. My service has a DB hidden behind it, it's three layers. I put a VPN in front of it, and now it's four.
Why stop there, if you start from user's keyboard as a layer, then there's 5, and screen 6, then countless Internet cable and routers. Man! so many layers, it's crazy!
Also, that's not how you structure things. You have a reverse proxy, and then a service, 2 layers total.
And VPN? Oh boy you'll probably be surprised that Docker has cross-node communication built right in (https://docs.docker.com/engine/network/drivers/overlay/), so you don't even need VPN to connect to your database.
Alright, alright, please, just admit that currently containerization is not a technology you can correctly take advantage of, and then you go ahead and learn more about it. It will be an useful tool for you, as it did for many, I'm sure.
comment 2y ago · link · parent
You can setup a Traefik (or some other ingress service) instance in a container and let it handle all the reverse proxying thingies for you. And if you do it right, the services should automatically register to the ingress service as they start up, and a port/HTTP route should be automatically assigned to them.
Do it in the old bare is harder and probably will always be harder, since you will be directly interact with OS facilities that was probably designed for something else than what you might try to run. Container management service such as Docker and Kubernetes abstracted away a lot of these complexities.
Funny enough, Traefik is written in Go... guess we've gone some (maybe not full) cycle on this one.
comment 2y ago · link · parent
You probably need a food purchasing to-do list feature, and allow user to plan ahead of purchase.
But overall, it's a very nice idea with many potentials.
When I was little, the feeling of anticipating a good dinner always keeps me excited the entire day. Maybe this app can bring that feeling back.
comment 2y ago · link · parent
I bet Mr. Ballmer saved a lot of money from his "polite and warm".
I once watched one of TED business talk videos. In the video the businessman proudly claimed that from a very young age, he learned to take advantage of people's empathy towards him as a kid to get a better business term (or something like that, it was long ago I can't fully remember).
From that video, I've learned to reduce my empathy/emotional reaction when making decisions. Because you just don't know if the other side is manipulating you into making mistakes. Money is money, you pay what you should've, we'll discuss extra things after that.
If Mr. Ballmer never pay the tips that he should've, then he needs to pay more for the product (in the form of added on convenience fee, for example). Of course, if you failed in charging such fee, then that's your fault, for falling into the "polite and warm" trap.
BTW: "sensitive" not. But comments on Hacker News are often trended to demand stuff for free, including kindness which is independent of the original stuff. That's very foolish.
Today at least you have 15% 20% 25% choice to punish or reward people who directly serve you. If everything is 20% included in the price (oh, it will be like this, it always goes like this), then you just have to sit there and take in whoever got the altitude that day. That's not even how capitalism let alone democracy works.
comment 2y ago · link · parent
OK, sure, the program itself maybe safe (enough to run with root while listening a local port that everybody uses this computer can access), but is it really THAT evil if you don't run it 24/7 and instead only enable it when the user is actively using it?
comment 2y ago · link · parent
The real question is, why this should be a problem that TCP must solve? TCP gives you a bidirectional waterflow-like pipe, and that's enough for you to create many useful applications. TCP never provided guarantee for correct delivery, that's your job.
For example, if a HTTP request is interrupted before the respond is received, the sender should assume the request never reach the server and try again with a new connection, while the server should mitigate duplicated requests (reject or return a successful code).
Well, maybe that's the point of the article, because many web pages gets confused if you send duplicated requests to them.
comment 2y ago · link · parent
IETF RFC 8441 (https://www.rfc-editor.org/rfc/rfc8441.html) described a way to bootstrap WebSocket under HTTP/2.
That said, I don't know whether or not people are actually doing it in the wild.
comment 2y ago · link · parent
HTTP/2 Server Push is another thing. It allows server to send additional related resources to a client without the client explicitly requesting.
comment 2y ago · link · parent
The output: "What's the most memorable or unusual conversation you've ever had with a stranger at a bar, and what made it stand out?".
Like... this question itself?
I'm feeling the creator of this project didn't spend much time on the prompt design. It's probably because Nodejs, React, Webpack and OpenAI API etc alone is already too much of a struggle to get right lol
comment 2y ago · link · parent
Notice that I said "forensic"? Yeah, assuming some very unfortunate situation has occurred, police are called and there will be a full incident report on it, a DIY'ed apparatus without detailed logging records will make the deployer of that apparatus look really bad. This is especially true if you're a contractor, since your hirer might not fully trust you.
Also, at very least, you'll probably want to be mentioned as "the proficient and diligent from one of our employee/partner allowed us to collect detailed information on what the attacker has done on our systems" than "the lack of consideration on the use of remote access tool made it impossible for us to know what else the attacker has done". It's good for your resume.
comment 2y ago · link · parent
But if you find yourself requesting `ssh -R` too often, maybe just ask those datacenter people to setup a proper SSH Bastion for you. There are opensource solutions and enterprise-level ones (Teleport for example: https://github.com/gravitational/teleport), some also allows you to do audit and access control, which maybe important if you work for a enterprise client.
The DIY solution described in the article literally punched a hole in the firewall. The firewall people might not like it.
comment 2y ago · link · parent
After Musk took over, not only he removed the moderation team, he also introduced many policies that encourages extreme content (well actually, it encourages encouragements, but extreme content draws the most encouragements, which is a well-know phenomenon). For example the blue checkmark for sell and encouragement based revenue sharing.
Current problem that Twitter suffering is the result of those policies from Elon Musk himself. A YouTuber John Harris suspected that Musk is doing this to mock something (see https://www.youtube.com/watch?v=WYQxG4KEzvo), but I think it's just incompetent/lack of understanding, a bullied child turned an asshole, it often happens.
comment 2y ago · link · parent
I followed zero person on Twitter and has zero followers, currently on my Twitter feed:
- Racist shit like: https://x.com/barrystantonGBP/status/1828414194548461801, https://x.com/WarMonitors/status/1828498157589938272,
- People got bombed to shit: https://x.com/Nadira_ali12/status/1828380272322322536
- People got shot: https://x.com/SteveInmanUIC/status/1828409629329760769, https://x.com/datsjackedup/status/1828372131727720509, https://x.com/Haqiqatjou/status/1828518967578706415
- People fighting each other: https://x.com/SteveInmanUIC/status/1828440833835573529
- People got mutated: https://x.com/_NicoleNonya/status/1828212958742081803, https://x.com/Nadira_ali12/status/1828241017096614366
- Also post about this news: https://x.com/soaringeagle555/status/1828335179141963944
This is just what I saw when I hit F5 on the home page and then Page Down. You can see those are posted recently, and have very high engagement. Just take look the View and Liked count on those posts I listed, those people are insane. Sure, humans are animals, big fucking deal, I'm there for cute cat videos, not fucking WikiLeak.And it's not the worst day either, in those worst days, you saw people getting shredded (literal), animals eating each other etc with all the blood and graphic and more, in full HD. As well as, of course, political propaganda lies and misinformation, you know something can be summarized to "why we should kill them" and "why you should kill yourself", which is probably the most lighthearted content among those.
I mean, yeah sure, everyone have their freedom of speech to post shit like that, but WHY I HAVE TO WATCH IT? I never responded (liked, commented etc) on any of those. Why I'm keep seeing these? AFTER I've blocked hundreds of those accounts?
At this point, Elon Musk might as well turn his X.COM into an actual porn network, and it'll still be less harmful to the public than what it is now.
Maybe this also showed why a person with unaddressed mental problems should not be left in charge of anything social, just my guess.
comment 2y ago · link · parent
However, even through Framework ships to Taiwan, importing product from Taiwan to China is not significantly easier than importing from the US. I still need to handle shipment forwarding and customs etc. Plus, my knowledge is, Framework discourages/bans shipment forwarding. So before I can get the product in an official and legitimate way, I'll just keep waiting.
The tablet mentioned in the main article while promising, it just can't interest me as a consumer. For it's starting price at $149, I can buy a secondhand ThinkPad X230t to run Ubuntu 24.04 and it's also a tablet (arguably the best tablet in the entire tablet history in the entire tablet universe so far).
Maybe the Chinese government should buy those tablets as work equipment to prevent their employees/personals from playing Microsoft Solitaire during work hours.
comment 2y ago · link · parent
comment 2y ago · link · parent
> What tipped us off
> 5. Background noise during their interview that indicated other people speaking in an interview-like setting
The rest maybe false flags, but this really seals the deal. (or... maybe it's just a recent day in Starbucks. But I don't take the risk)Also, how dare those people apply jobs for an US based cybersecurity firm? Don't they know what cybersecurity firms do? Go apply a Web3 companies, they also uses Vue/React all front-end kids stuff and some of them still got deep pockets.
comment 2y ago · link · parent
I don't think designers should put anything interactive in an arbitrarily timed interface aside from "Dismiss". A toast is the best when it's displaying what is currently going on, not as a pop up dialog box.
The best design for Undo I think is to make it a dedicated button, like the one in the text editors. When user clicked "Archive", a Toast pop up and displays message "Archiving N entries, please wait" and then change it to "N entries archived. You can press Control+C or click [Undo Icon] to undo if that was a mistake" then the Undo button lights up.
Also, IMO the message format "Archiving N entries, please wait" should be a standard, it tells the user in a clear way 1) what the software is doing, and 2) what should I the user do. On the other hand, the message "Conversation archived" don't really provide the same value, since user already saw it happened.
comment 2y ago · link · parent
I tried Zed for one day, without collaboration or AI enabled. It has some un-rounded edges, for example, the scroll bar in some window frame don't even work, but I can still get some job done with it. I use VS Code daily, Zed reminded me how a faster and snappy interface should make me feel. I hope Zed succeed.
comment 2y ago · link · parent
Put that aside, Eric Schmidt did told the truth (maybe except AI and NVidia stock thing) and offered the public a glace of how things actually work within the industry.
One important thing he mentioned was (after simplified) "just steal, and deal with justice later", which actually mirrors what Steve Jobs once said "Great artist steal". This should remind everyone, that if you want to have significant achievement in this industry, you at least needs to guard against thefts, because there WILL BE (maybe ALREDY are) people who comeout with a "be shameless or be dead" mindset after been educated by people like that man.
(Also, I found it quite funny that one of Eric's girl friend has probably took his lesson too)
comment 2y ago · link · parent
But I would rather say, cloud is not for everyone. Especially in the case mentioned in the article. Think this: do you really REALLY need to distribute enlarged images globally at top speed? I bet most people just don't.
Same thing goes for "scaling", it's true the cloud can do that very well, but do you really need it that bad?
comment 2y ago · link · parent
Back in the old days where everyone operates their own server, another thing you could do is to just setup a per-IP traffic throttling with iptables (`-m recent` or `-m hashlimit`). Just something to consider in case one day you might grow tired of Google Cloud Storage too ;)
comment 2y ago · link · parent
The main background problem is (industry) consolidation, because the interest for Web techs is not that hot anymore, the fewer people who still left to improve it might also used their positions to advance their own gains. Sad, but not unheard of.
To bring Web back to it's previous glory, it must create enough opportunities in itself to get people are re-interested. But if you observe how today's people uses tech product (i.e. on a phones), you'll know it's really hard if possible at all.
The phone platforms (Android and iOS etc) has optimized their services so well, the entire flow, from discovering an tool (app, service etc) to signup/purchase can all be done within just seconds. Unlike back in the day, where you have to search (with a search engine) and compare (by reading online reviews) in order to find the tool you need.
Similar thing is also happening on desktop software/OS too. Maybe in this era, web and desktop computing is no longer considered modern?
comment 2y ago · link · parent
And, let's don't forget creating a self-hosted CDN service to serve those bundles is not really THAT hard. (also creates job ops)