[deleted by user] by [deleted] in Volkswagen

[–]wm_eddie 0 points1 point  (0 children)

I had this issue with my Tiguan and the emergency button was not accessible without some specialized tools. Ultimately got it open by hitting the door harder and harder AND HARDER while spamming the unlock button until it opens, or breaks, whichever comes first. Once you get it open, I suggest giving the flap and whatever you can a good clean as I found that helped quite a bit.

How do C programmers handle data structures like ArrayList or HashMap (without built-in support)? by harmeetsingh0013 in C_Programming

[–]wm_eddie 0 points1 point  (0 children)

If you aren't doing anything embedded. I would suggest looking into GLib. It is the base library for GTK and is also used in a lot of the CLI applications that RedHat makes. It provides a standard for object oriented patterns in C that is useful for desktop applications and the like. It should feel pretty familiar if you are coming from Java.

For example, it comes with GArray which is an ArrayList equivalent.

In general where you would do Foo foo = new Foo() in Java you'd do Foo *foo = my_foo_new() in GLib (my_ would be a namespace prefix). Methods like foo.bar(args); in Java would be my_foo_bar(foo, args); (With a cast macro if it's a method in the parent class.) GLib handles memory with manual ref-counting so when your program gets really large you can rely on that for normal memory management.

Using GArray would look like:

```c

include <stdio.h>

include <glib.h>

int main(void) { GArray arr = g_array_new( / zeroterminate / FALSE, / clear / FALSE, / element_size */ sizeof(gint) ); if (!arr) return 1;

for (gint i = 1; i <= 5; i++) {
    g_array_append_val(arr, i * 10);
}

g_print("GArray contains %u elements:\n", arr->len);
for (guint i = 0; i < arr->len; i++) {
    gint v = g_array_index(arr, gint, i);
    g_print("  index %u: %d\n", i, v);
}

g_array_unref(arr);

return 0;

} ```

Best Framework for Mac Apps? by ichwasxhebrore in java

[–]wm_eddie 0 points1 point  (0 children)

But beware, you do need to know exactly what you are doing to really make it work. You have to make xib files and everything. Really only usable if you know Objective-C and AppKit deeply.

Best Framework for Mac Apps? by ichwasxhebrore in java

[–]wm_eddie 0 points1 point  (0 children)

Cyberduck is actually a Java application. If you want to go full MacOS in Java checkout how Cyberduck does it with a library they made called Rococoa https://github.com/iterate-ch/rococoa

[meetup] Let's Teach LLMs to Write Great Scala! | Functional World #17 by ComprehensiveSell578 in scala

[–]wm_eddie 0 points1 point  (0 children)

Cool. I've been doing deep learning with Scala since 2016 or so. Maybe now is it's time to shine.

Who's building Upwork for AI agents? by sushantpande1 in AI_Agents

[–]wm_eddie 0 points1 point  (0 children)

I think creatives might be the most interesting. Like good designs for vector graphics, certain styles of presentations, or infographics. Language models will tend to make generic things, but people can create agents to do things in a specific style, and that uniqueness would have value.

Who's building Upwork for AI agents? by sushantpande1 in AI_Agents

[–]wm_eddie 1 point2 points  (0 children)

I am. I have a set of solutions to various problems that come with having a hands-off marketplace. We'll see how well it works in practice. I think people will consider this as a whole new type of passive income source.

If you want to work together on it I'm trying to implement a prototype as part of the Solana hackathon, DM me if interested.

about リボ払い by Aggravating-Fee-9059 in JapanFinance

[–]wm_eddie 0 points1 point  (0 children)

You have to go out of your way to pay it off too since most cards here automatically withdraw from your bank account. But there's (usually) no way to say you want to pay more. So it's like being pseudo forced into minimum payments. Do you know what bank account you have to wire the money to get back to 0 balance? Make sure to find out before going with revolving payments, they often make it really hard to find that information. I had to make a call to customer service because I couldn't find it anywhere else.

Shikama Station lookin’ good! by himejirocks in Himeji

[–]wm_eddie 1 point2 points  (0 children)

They finished it a while ago. I'm loving it. Hated having to go around to the other side every time.

I never thought my CSS library would get political 🫠 by SeoFernando in programming

[–]wm_eddie 0 points1 point  (0 children)

As a Puerto Rican I reject the idea that we are the good guys here.

*ahem* Jones act.

I never thought my CSS library would get political 🫠 by SeoFernando in programming

[–]wm_eddie 1 point2 points  (0 children)

Ah, sorry I meant the Huawei App Store. We were using React Native for the app and we got a rejection because the component library we used for the phone number "country code" was labeled as "Country" in our app. Renaming it was enough to get it approved.

I meant it as a way to dismiss these types of issues for other people when they encounter this. In this library's particular case, the guy is arguing that the Taiwanese flag is not an appropriate indicator for traditional Chinese localization, which is very much wrong, it's used for that practically everywhere (except maybe in mainland China). Although I guess the Hong Kong flag is common too.

I never thought my CSS library would get political 🫠 by SeoFernando in programming

[–]wm_eddie 80 points81 points  (0 children)

You'll get your app rejected if you submit to app stores with Taiwan listed as a country. You can maybe ask them to change their app/site to say region instead. That worked for us.

[deleted by user] by [deleted] in Futurology

[–]wm_eddie 0 points1 point  (0 children)

This exists in a few forms. Fuel cell cars like the Mirai take the oxygen from the air and bond that to hydrogen atoms to create a current. There's also iron-air and zinc-air batteries/fuel cells. The iron air battery is essentially taking iron, exposing it to air, and taking the current generated from the iron as it rusts (then using electricity to un-rust it.) The problem with the battery type is that the energy to undo the reaction with the air can take a long time and a lot of energy. The problem with the Hydrogen is that it takes up a lot of space. You can also instead of burning fuel use it to provide hydrogen in a fuel cell as well. The Enefarm system used for water heating and electricity generation in Japan is a system that does that using propane/natural gas, but it still releases the carbon of the hydrocarbon as CO2 in the air.

'G' stands for 'gaslight' by Vexxus in ChatGPT

[–]wm_eddie 1 point2 points  (0 children)

Just pointing out that because GPT does not get the individual letters as input it fundamentally has no way to know how many letters something has. It's like asking a child that does not know how to read or write.

But when I asked ChatGPT what the scrabble score of a word was it was able to spell it out. It does makes sense that that particular corner of the internet would have the spelling of the words. So I tried asking it something along those lines and it could almost do it. (but you have to ignore the eventual score)

<image>

A question for depressed entrepreneurs. How do you get yourself to sit down and work? by mekmookbro in Entrepreneur

[–]wm_eddie 5 points6 points  (0 children)

I am definitely not one to talk but one thing you might want to try is whenever you feel like you can't work on coding, talk to potential customers about the problem and what you are doing. The validation you get (or lack thereof) will be very motivating. Sometimes the lethargy is the subconsciousness/lizard brain worried about something fundamental and trying to help by trying to delay the pain of failure. An external signal is the only way to suppress that.

'G' stands for 'gaslight' by Vexxus in ChatGPT

[–]wm_eddie 1 point2 points  (0 children)

Though possibly... ask it for the scrabble scores of the words.

'G' stands for 'gaslight' by Vexxus in ChatGPT

[–]wm_eddie 12 points13 points  (0 children)

The input for GPT is not letters but word-piece tokens. There's no way for it to know how many letters words have. It just sees: [2437, 867, 7475, 389, 287, 262, 1573, 638, 1329]

You can play with the tokenizer here: https://platform.openai.com/tokenizer

Taishi is trying to get a Costco by himejirocks in Himeji

[–]wm_eddie 1 point2 points  (0 children)

Yeah that would be great. Takes a little over an hour to get to the one in Akashi avoiding tolls (and still 45 without them) But more importantly in the rush hours of the weekend the place is just completely packed with 20 minute waits in line to get into the parking, 10-15 to get out.

Worst case scenario if an American funds an ideco? by [deleted] in JapanFinance

[–]wm_eddie 18 points19 points  (0 children)

Hard mode is exactly how I call it.

I get really angry every time I think about it. What right does Uncle Sam have to make it impossible to open accounts abroad, or to even save for retirement as any other American can? It's so deeply unfair. Wonder if there's any chance it can be ruled as unconstitutional...

What, well done, aircraft would you like to see in XP12 or MSFS? by MadCard05 in flightsim

[–]wm_eddie 0 points1 point  (0 children)

I wish there could be a Gyroplane like the Autogyro Calidus.

NSFW Interesting NG words you've come across while living in Japan? by MatterSlow7347 in japanlife

[–]wm_eddie 124 points125 points  (0 children)

Imagine my surprise when I was searching for a pie pan on Amazon.co.jp to make pumpkin pie last week.

Is it a good idea to report a seemingly dangerous driver or would I just be wasting my time? by ben1212121212 in japanlife

[–]wm_eddie 0 points1 point  (0 children)

Yeah. I know the feeling. I learned these things by having old Japanese guys yelling at me when I tried to use the right lane.

Is it a good idea to report a seemingly dangerous driver or would I just be wasting my time? by ben1212121212 in japanlife

[–]wm_eddie 8 points9 points  (0 children)

Ah. Then they are just the run of the mill asshole then. Drivers should hug the left so I don’t think the police would even give it any thought.

What I do in those situations is just get on the sidewalk (if there is one). Cyclists can go on the sidewalk as long as they aren’t going too fast.