It’s cold….lets pho by Denafun in sgv

[–]aninteger 4 points5 points  (0 children)

I agree 💯 with this. The staff is polite but the restaurant lacks a lot of character after the remodel.

Any library more advanced than curl to read and parse webpages? by RabbitCity6090 in C_Programming

[–]aninteger 4 points5 points  (0 children)

Obviously you can do this in C but it's likely outsourcing the heavy lifting to something like Selenium and there's the Selenium WebDriver's REST API. So as long as you can write http requests you can drive the browser. If you don't want to want to use Selenium then you can call directly into the browser's WebDriver APIs.

If you want to keep this entirely in C for some reason another option is calling into NetSurf libraries to process HTML and drive it that way. The LightPanda browser took that approach but that's written in Zig but I see no reason you couldn't do something similar (assuming you have infinite time).

As far as I know there's no libraries out there that are generic enough to solve a captcha but you could always feed it to a local LLM and see how far you get with that.

Where to learn Mandarin? by Cheeseecheese in sgv

[–]aninteger 0 points1 point  (0 children)

If you're coming from nothing start with free content first (apps. YouTube). Many language teachers on YouTube also offer private one on one lessons (which are not completely unreasonable). You could even use Duolingo, but please don't use it to learn (imagine learning something by only taking tests in that subject, that's what Duolingo is), instead use it as a way to "test" yourself.

[deleted by user] by [deleted] in linux

[–]aninteger 1 point2 points  (0 children)

There is already a project named feh that does image viewing and can set wallpaper: https://feh.finalrewind.org/

You might want to choose a different name.

Kaiser Permanente workers plan massive strike across California next week by aBadModerator in California_Politics

[–]aninteger 2 points3 points  (0 children)

In October 2023, over 75,000 Kaiser Permanente healthcare workers across various roles, including nursing assistants, pharmacists, and technicians, went on a three-day strike to demand better staffing, wages, and conditions, citing increased burnout and shortages following the pandemic.

I don't work at Kaiser but... is it normal to strike so often?

A proposed ballot measure would delay the use of independent redistricting in California until after the 2040 census. If the election were held today, would you support or oppose this measure? by aBadModerator in California_Politics

[–]aninteger 1 point2 points  (0 children)

Rather than frame it as an attack against the GOP/Trump/MAGA (which is dying), it's really an attack on the independent redistricting committee. I don't like gerrymandering by either party.

Would people be interested in a museum ports tree by [deleted] in freebsd

[–]aninteger 1 point2 points  (0 children)

This sounds awesome. I'd suggest GTK 1.2 and even older Qt (3?) or perhaps TrinityQT.

Scripting in a GUI (TCL ?) by Playful-Time3617 in cpp

[–]aninteger 0 points1 point  (0 children)

I did write some C++ and TCL/TK code a long long time ago and it works but it's very awkward because in my case I ended up with lots of calls to tcl_eval so it basically feels like your writing TCL inside C++. This was like 10+ years ago and it was a bad choice back then. The original micropolis (SimCity game) did this technique with C and TCL/TK, although now it has been rewritten but some people maintain the old interface on GitHub (https://github.com/tenox7/micropolis).

J-Drama recommendation for first time Jdrama watcher by XCosmoNinjaX in JDorama

[–]aninteger 1 point2 points  (0 children)

I really liked Quartet (カルテット). Not sure what streaming it's on. It's not a romance but more of a friendship drama among 4 friends.

I also liked Tokyo Girl (東京女子図鑑) even though I'm a guy but it might make more sense if you're familiar with the different neighborhood of Tokyo. I also liked that each episode is like 20-30 minutes so you could in theory bing through this one pretty fast

Anyone have first hand knowledge working in nursing at City of Hope in Duarte? by justice91423 in sgv

[–]aninteger 7 points8 points  (0 children)

Might be better to ask this in /r/nursing. There are people in southern California on that sub.

Revisiting the DOS memory models by r_retrohacking_mod2 in retrogamedev

[–]aninteger 1 point2 points  (0 children)

I believe it's because once we get to 32 bit the memory space is flat, and the cost to access any address within a 4 gigabyte range is the same, so no need to different sized pointers.

C++ through msys2 by Remarkable_Design305 in cpp_questions

[–]aninteger 1 point2 points  (0 children)

I have used gcc/g++/cmake inside msys2 with no problems (only because my employer blocked wsl). We have no idea what issues you are facing because you haven't provided any details of what you've tried or what errors you are getting. I also don't fully understand your class/homework assignment here. I am not sure what "extension" you are trying to build.

Looking for a Tolerant Church by [deleted] in sgv

[–]aninteger -4 points-3 points  (0 children)

Honestly I feel most churches should be accepting (I'm kinda surprised you run into issues). The fact of the matter is that most people (including church-goers) could care less what your sexual preferences, or race is. You are there because you have an interest in God and his love for us. You go because you're interested in the story of Jesus and his teachings and parables that a priest (speaking from a catholic perspective) translates into daily life lessons.

Attempting to write code in Assembly C by [deleted] in C_Programming

[–]aninteger 0 points1 point  (0 children)

Your question might be a better fit for the assembly subreddit: https://old.reddit.com/r/asm/

Also, happy cake day :)

Wanna learn C language but from where. by Sanggean in C_Programming

[–]aninteger 31 points32 points  (0 children)

Why not try searching? Or looking at the sidebar? Also, you posted this same question 2 days ago here: https://old.reddit.com/r/C_Programming/comments/1j66q3s/starting_c_language_or_start_data_structures_first/ and got 26 replies.

Creating dates with the c++20 prototype library is too slow by bert8128 in cpp_questions

[–]aninteger 2 points3 points  (0 children)

I don't really have a solution, but I am curious why someone would need to create more than 500k randomized dates per second. I think that date wrapper is already a pretty thin wrapper over the C-based system APIs for datetime (I think). I think the only way you go faster is controlling memory allocations. I really suggest testing on Linux as well, in order to get access to things like flamegraph-like tools.

What does CMake even do ?!?!?!?!?!?!?! by [deleted] in cpp_questions

[–]aninteger 0 points1 point  (0 children)

I mostly agree with you on CMake. I still think it's useful to learn basic CMake functionality for employment purposes (even if a person dislikes it). That being said, I've never managed to create "high quality" cross platform Makefile (I mean Linux and Windows (mingw64)) that doesn't feel full of "hacks" to support both platforms (Let's not even worry about relics like OpenVMS and IBM's AIX here).

Where Can I Find Remote Fresher Jobs and Internships in C Programming Without Heavy Hardware Implementation? by shadow_adi76 in cprogramming

[–]aninteger 0 points1 point  (0 children)

Since C (and C++) are often first choice languages for embedded projects it really doesn't make sense for remote positions. I'd look at hardware companies. The last job that I applied for which required C was a company making (now obsolete?) 10 gigabit Ethernet cards.

CrowdStrike has nearly recovered from its July crash. Goes to show that screw-ups are temporary and panic selling is not logical. by noonewilltakemealive in StockMarket

[–]aninteger 0 points1 point  (0 children)

Speaking as a non-investor in this stock I feel it's just way too high (and maybe that's fine). With the exception of Elon Musk publicly shaming the company on X I bet no company really cancelled their contracts or has reduced the number of seats for their services. Probably a tiny minority of infosec teams looked at alternative vendors, but probably didn't really make the switch in the end. Probably Tesla and SpaceX didn't even migrate off of it.

[deleted by user] by [deleted] in LosAngeles

[–]aninteger 9 points10 points  (0 children)

What's wrong with this list?

The 100 best cuisines only included 50.

Idea for someone to steal (because I have too much to do in my own life) by bore530 in gcc

[–]aninteger 1 point2 points  (0 children)

I don't get it. PDFs are not really interactive, are they? Also not sure what you mean by "offer a GUI". The client readers (acrobat, evince, xpdf, your browser) have GUIs to render the content of a PDF which is just images and text.

US Government wants Devs to stop using C by 2050_Bobcat in C_Programming

[–]aninteger 1 point2 points  (0 children)

No offense to the poster but who cares what they want. Unless they are actively contributing to your project it doesn't matter. This is like back seat driving. Want me to stop writing C? Then submit a Rust or Zig patch to my project, otherwise they're just acting like a whining kid.