Hacker Newsnew | past | comments | ask | show | jobs | submit | happyweasel's commentslogin

Let's see how this unwrap()s in production scnr

Oh come on, that was funny. It also highlights a problem with the way people write rust. If your app panics it has a bug. People throw panics in cases that can absolutely happen, a file isn't there or fails to parse, some set of inputs is mutually inconsistent these are things for error checking. Even if the correct way to handle an error you detect is to stop the app, do that instead of panicking. Panics are for things that should be impossible. Ideally they even get optimized out.

hmm how can I reuse this useful Go library in python... Oh I can't.. hmm and how can I reuse this useful java library in php ? Oh I can't. Oh and which of the programming languages you mentioned can and do use C libraries? All of them.

Reminds me of that coworker who thought that OpenCV was basically written in python.


I'm not claiming that there is no C or C++ out there. But it's such a nit pick when for most developers, no, their day-to-day work absolutely does not involve the creation of object files.

Sure, akshuwally, there are still C and C++ devs out there. Meanwhile a friend has just embarked upon a career as a pro COBOL developer. What of it?

Edit: Also, in the spirit of akshewally, I have just googled up this monster! My word, PHP and Java AND XML... it's like the unholy trinity of HackerNewsbane... https://php-java-bridge.sourceforge.net/pjb/


Looks genuinely useful. Bookmarking.


NativeAOT compiled C# library can create C compatible exports which can be used with any language that supports C libraries.


does your gtx 1060 help in any way for the NAS use case?


If you're running a media server (like Plex or Jellyfin) you can do hardware accelerated transcoding on the GPU.


>BUT there's another piece that makes or breaks these tools... whether they can >build a community around them and stick around for years...

Why ? who cares? if the tool solves the problem, you need a community maintain it. And that's it.


Oh, let me guess... The protests were organized by groups that get their funding from the NED or other Western sponsored NGOs ? (Asking for a friend)


No evidence of any of that. I don’t see how it’s incredible to believe students will flip out if you ban social media.

(Though the meme of all protests and civil discontent in Asia being the product of Western influence is a popular one among right-wing circles.)


> the meme of all protests and civil discontent in Asia being the product of Western influence is a popular one among right-wing circles

I listen to enough "right-wing circles" to end up getting people tarnishing me as one just for standing up for them (despite all kinds of progressive views) and I frankly don't know what you're talking about. My friends that tend to get interpreted as "right-coded" have historically been supportive of protest movements in Taiwan and Hong Kong.


In Asia.


I always wanted to check out https://qskinny.github.io/ it looks compelling and sticks to c++


vcpkg it


You can open an Issue on that on the repo (https://github.com/ZigRazor/CXXStateTree/issues) so we can track these changes.

Another idea is to create a Python binding with a release of a package


I share the same perspective .. I was also wondering how UDA handles the problem of evolving schemas, "old clients" communicating with newer server or vice versa.


>The truth is that although the AWS Load Balancer Controller is a fantastic piece >of software, it is surprisingly tricky to roll out releases without downtime.

20 years ago we used simple bash scripts using curl to do rest calls to take one host out of our load balancers, then scp to the host and shut down the app gracefully, and updated the app using scp again, then put it back into the load balancer after testing the host on its own. we had 4 or 5 scripts max, straightforward stuff..

They charge $$$ and you get downtime in this simple scenario ?


I used to work in this world, too. What is described here about EKS/K8s sounds tricky but it is actually pretty simple and quite a lot more standardized than what we all used to do. You have two health checks and using those, the app has total control over whether it’s serving traffic or not and gives the scheduler clear guidance about whether or not to restart it. You build it once (20 loc maybe) and then all your apps work the same way. We just have this in our cookie cutter repo.


Absolutely. Information can no longer be retrieved via internet search. Discord and Slack are effectively silos.


A lot of sites now block non-Google search engines from accessing their data.

Honestly, I find it easier to check a Discord server than to get useful results from DuckDuckGo these days.

Google has done whatever it takes to incentivize people not to use competitors. It sucks.


Same thing can be said about Twitter and most of Facebook


For now at least. Some day everyone's relatives will be digging through databases of their ancestor's grand wisdom filleted wide open. Maybe it'll even use all that info to recreate an Ai version of them. Sorry just thinking out loud.


That sounds awful. But there's no reason why Discord can't go the same route.

Some chat apps like Zulip have the option to open a channel to the web. It can even be indexed by search engine bots


Sure but you can search for communities then use the platform-native search. Not as convenient as a search engine natively supporting, though.


you have to have an account, with mobile number


Are you sure? I seem to remember Discord requiring an email but not mobile number

I know Telegram absolutely requires a mobile number, though


It will sometimes let you register without a phone number, but other times it will demand one. I imagine it has to do with IP reputation and how many accounts have been created from your network recently.


until the discord server goes down


If the thing goes down there's no guarantee any indexer/scraper is going to index/scrape it


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: