News for hackers. Stuff that matters.

readline_prompt

Re:Auth.js Joining Better Auth on Friday September 26, 2025 @09:33PM (#45392634)
Same. I've personally never had issues with any auth packages, granted I've never used auth0. Personally, they all seem quite similar, especially in the react world.

Anything that can help me utilize oauth standards is fine to me.

Re:Unit Tests as Documentation on Thursday October 17, 2024 @06:06PM (#41874298)
Doctests are great aren't they?
Re:To Nerves from Elixir on Friday August 30, 2024 @09:11PM (#41405944)
Here in Japan, we have a elixir nerves group. It isn't too active, but have made some stuff.

https://www.google.com/url?sa=t&source=web&rct=j&opi=8997844...

Re:GitHub Is Down on Wednesday August 14, 2024 @07:39PM (#41251814)
and... we're back, at least in Japan region
Re:GitHub Is Down on Wednesday August 14, 2024 @07:33PM (#41251759)
these things could happen anywhere though. Gitlab also `rm -rf`ed before remember
Re:A proposal to add signals to JavaScript on Sunday March 31, 2024 @05:56PM (#39888426)
Curious, what about using Proxies for handling state?
Re:Embedded Elixir on Tuesday January 30, 2024 @07:51PM (#39198249)
I've started my nerves journey w/ my (older) raspberry pi 3. It's my first time working on anything IoT, but I have to say how easy it was to start. Currently have a few sensors attached (is this the proper term?), and I was amazed at how easily you can update the firmware w/ mix upload or just burning it.
Re:Storybook 7.6 Is Here on Thursday November 30, 2023 @06:21PM (#38480671)
If you want to create your own design systems / UI components and want to have a simple place to show that without any actual apps running ( or as some have mentioned, without any data - related logic ), Storybook makes this easy and clean. You can build it right off from your actual application.

The company I work for uses it for frontend devs (who are mostly freelance) to understand the feel of the UI designs and how the components should be built/used.

You can see lots of showcases here: https://storybook.js.org/showcase

I'm less worried about how large corps will use my info in the long run vs how myself should develop and learn over time. 'Productivity vs learning and in my own way' was the way I was looking at it. I suppose they aren't mutually exclusive though!
You're right, I guess trying it out won't hurt especially if it can bring up my productivity!

Ask HN: Should I be using GitHub Copilot (and other AI Products)?

Recently I started my freelance journey.I have about ~4 years of experience in the world of software development; web apps (mostly fullstack), LPs, and some mobile apps. Still mostly 'young' experience compared to most of you.After having seen the recent Github Universe, I began to quiver at the thought of my near-future career advances if I didn't submit to using the newest AI-tools like...

( Read More... | 9 comments | 2 points | on HN )
Re:Switching to Elixir on Friday November 10, 2023 @06:43AM (#38217706)
understandably types are great, but the projects I've worked in got along just fine using specs and dialyzer's success typing. of course sometimes it can get messy like in macros etc.
> The man, a worker from the company that manufactured the robotic arm, was running checks on the machine late into the night on Wednesday when it malfunctioned.

I feel like you shouldn't be near it when testing industrial robots / automated machinery, especially when they noted potential sensor issues. Definitely was avoidable and it's very sad for the man's family/friends.

Re:Bluesky migrates from pg to single-tenant SQLite on Monday November 06, 2023 @09:36PM (#38172494)
don't know why, but recent teams around me have always made strict rules about number of commits in PRs. I just wanted to tell them the same thing you said: "Why don't you just look at the diffs?" curious for other opinions. (sorry not really about this particular topic)
phoenix/liveview
Re:The Magical Japanese Art of Luggage Forwarding on Friday October 27, 2023 @08:16PM (#38045606)
It's PayPay country now.

https://paypay.ne.jp

You can go to some of the most remote places and they'll accept paypay lol

Re:The Magical Japanese Art of Luggage Forwarding on Friday October 27, 2023 @01:13AM (#38034948)
JP Post (one of the major postal companies) used to be a government entity. Now, it's a private business with the government having a much less share and less responsibility.

Similar to the railway companies. It's interesting how these things just work out either way in Japan.

Another note: If you forget something from a hotel in 1 place, you can always have them send it to where you are going too (着払い; payment-at-arrival).

Sometimes, it's hard to find legitimate complaints when living in Japan.

Ask HN: What is libinjection and why did it catch in prod?

I have a backend python app running on Google Cloud Run. There are also a few sql injection rules placed in my load balancer / network security. Here was my original WAF rule:`evaluatePreconfiguredWaf('sqli-v33-stable', {'sensitivity': 1})`Our client told us that all of the sudden they could not update a specific piece of data that had a certain word in it (it's a Japanese address, in Kanji)....

( Read More... | no comments | on HN )
Re:Japan and their thoughts on prostitution [video] on Monday July 31, 2023 @05:48AM (#36940448)
I don't think it's okay to generalize the entire population off one video; however, I just asked my wife about this, and she said the same thing as the interviewees: "Paying for sex isn't cheating".

"Why?" "There's no love involved"

What is HN's take?

Regardless of industry, some companies have services for helping you find an apartment, others will have apartments specifically for relocation purposes. Specific to IT, I've never heard a company offering the same things. Some will fly you out. Finding an apartment isn't too difficult although you can only look at the "foreigner list" of apartments.

Regarding tax, it doesn't change. There aren't any breaks nor special levees for foreigners/people with just a work-visa. You get taxed the same (you can even participate in ふるさと納税 [furusato-nōzei] which is a system where you can decide to pay a certain amount to a different prefecture for tax deductions the following year + a gift from the prefecture that you can pick. The gifts are the best part; you can get high grade Japanese beef, high quality fruits, etc).

I got my current employment being introduced by someone inside. I found my previous company via job website, here are two that I find most helpful:

https://japan-dev.com/jobs

https://www.tokyodev.com/

Obtaining residence: my current visa is (quite long): "Engineer/Specialist in Humanities/ Int'l Services" (技術・人文知識・国際業務) I got this visa sponsored by my first company, which is the most common thing for foreigners. Mine is 5 years, some are just a year long. It all depends on the company and how they file your paperwork.

I don't have permanent residency. I could switch over to spousal visa, but since I still have a lot of time left with my visa, I'm not going to bother the bureaucracy. Also, getting residency isn't as easy; it's like a point system here: how long you've been working, if you went to school in Japan, JLPT (Japanese Language Proficiency Test), etc.

Guarantor is only necessary for renting apartments (from my experience).

As a foreigner quite integrated into Japan (living here for over 5 years, married to Japanese, working at a Japanese company), I have also succumbed to 建前 (Tatemae; 'built in front', going around what's 'built in front'. around the bush?). 本音 (Honne; 'real sound') is just what people do in the West (speak their true thoughts), but not so much in Japan. As the article mentioned, people you (at long last) become more than 知り合い (shiriai; common acquaintances) or people with power will often speak abruptly (as 本音 is felt as such). Even so, it took my wife a bit of training to break out of her shell. Now, she can cuss me out in English without hesitation :)

建前 (I'd even consider it brown-nosing sometimes) is something I think that bugs many foreigners living in Japan, as it does me because it's done so commonplace here. I'm starting to do it (unknowingly, but probably from positive-feedback) just for the amount of gregariousness it brings. I would even go further to say that Japanese language it self is blemished in 建前 because of the culture's apprehension towards conflict and directness.

My mere observation. I had a morning meeting today, and found myself mouth full of 建前.

I think this is big. I still try to be humble and consider myself to be nothing higher than a novice. When I do see things that I can quickly understand and even improve on, it's a huge boost to my morale.
Re:Ask HN: Dev handling failed coding test interview? on Thursday June 29, 2023 @05:49AM (#36518370)
love it
Re:Is ORM still an anti-pattern? on Thursday June 29, 2023 @12:10AM (#36516210)
Though not considered ORM, I enjoy using Ecto (elixir).
Re:Elixir v1.15 Released on Monday June 19, 2023 @07:58PM (#36397984)
I feel ya. It's definitely difficult to find work. I've started to focus a lot more on my own elixir projects than my current employment since they have zero interest.
> non-Japanese ghetto...

Yes, they do. It's called Shibuya / Shinjuku, lol I'd say if you have a partner who's Japanese, and you're lazy af, you don't need to learn the language. Most foreigners I've met in Tokyo stick to their groups as well and usually end up complaining about Japan and the bureaucracy (mostly because they can't read or write to save their lives).

> Have things changed since then?

I think the biggest change is the Japanese opting to use more ひらがな(hiragana)/ カタカナ (katakana) in the news, signs, and every day messages (subtitles / ふりがな [furigana]). This is highly welcomed in my opinion. I think it's the right way to teach all people how to read.

I must say though, companies like HENNGE is quite special, and I root for more companies that try to welcome changes. Although there are only a handful of foreigners in my current employment (including myself), we try to slowly include English in our stand-ups / other small-informal meetings.

Older »