Readit News logoReadit News
ewolf commented on Rye: A Hassle-Free Python Experience   rye.astral.sh/... · Posted by u/jcbhmr
arthur-st · a year ago
Any ongoing work/plans to follow for cross-platform lock files?

This is one concern that would prevent the team I'm on from moving. We do ML work, so I'll use a pytorch-based project for my example. The desired state is that all dependencies are in pyproject.toml, e.g., from which you can generate a set of lockfiles from an AArch64 Mac or an AMD64 Windows workstation for the following platform configurations:

1. Mac with default (MPS) pytorch

2. Windows with CUDA pytorch

3. AArch64 Linux with CPU pytorch

4. AMD64 Linux with CPU pytorch

5. AMD64 Linux with CUDA pytorch

P.S. Big thanks for making Ruff, we're huge fans of linting and formatting both.

ewolf · a year ago
I have almost the same problem. With Poetry, I managed to work around it using this technique, involving a combination of groups and extras: https://github.com/lucaspar/poetry-torch

It's a hacky workaround, but it seems to work so far. It would be much nicer to see this solved in a better way, though!

ewolf commented on Ask HN: Does anyone here have an art degree?    · Posted by u/iansowinski
dheavy · 9 years ago
I have a degree in Fashion Design.

It was about a decade ago or so. I was finishing high school and contemplating studying graphic design or animation in a renowned school in my hometown (Les Gobelins, Paris). I befriended freshmen who were being sucked up into Flash animation trend and we started working for short-lived startups as Flash animators.

Then I discovered the works of Joshua Davis', Erik Natzke's, Robert Hodgin's (aka flight404) and it was the first epiphany — I started coding. It became a part-time job and a time-consuming intellectual pursuit up till now.

I knew nothing about it, but chose Fashion Design out of curiosity and because it's an interest I could share with my sister, but kept programming everyday. I never regretted it. In some way, it's very much like architecture (technical + philosophical + social impact). I even worked as a fashion designer for a short period right after, but it was not for me.

I learned HTML, CSS and PHP, then AS3, all thanks to the massive amount of literature available. I worked part time, paying part of my school tuition. When I graduated, I used my connections within the fashion industry to work as a Flash dev in a creative agency specialized in luxury brands.

Today I'm a full-stack web dev doing mostly JS, Python and studying Lispy dialects. I currently hold a position in an academic lab, where we blend design, research and engineering to study social sciences-related question within large data sets.

I'm studying math and algorithms to make a transition for the web to other scope of interest.

ewolf · 9 years ago
> I currently hold a position in an academic lab, where we blend design, research and engineering to study social sciences-related question within large data sets.

That sounds very interesting! Care to elaborate?

ewolf commented on With Station F, Paris will have the world’s biggest startup campus   techcrunch.com/2016/12/05... · Posted by u/programLyrique
jmeister · 9 years ago
I don't see why this is bad - I echoed this sentiment in my previous comment. Not every city/country needs to turn into SF/US.

Most people associate Paris with old world charm, weltsmerchz, brooding philosophers and artists, sassy and fashionable women etc. - none of this is compatible with neckbeards with macbooks, obsession with money/productivity/growth that a thriving startup scene inevitably brings. Let it stay that way.

ewolf · 9 years ago
I strongly agree. Nonetheless, many places aspire to be a second Silicon Valley, and it's certainly worthwhile pointing out how close or far away they are from that goal. In particular, those behind Station F probably want their project to develop in a SF/US-like direction.

It would be interesting to see if there can be a third way - an attractive location for startups with a culture that is open to entrepreneurship without being overly obsessed with quick unicorn money and without being entirely dominated by startups and VCs?

ewolf commented on Canada's immigration website crashes on election night   ctvnews.ca/canada/canada-... · Posted by u/iamdeedubs
enjo · 9 years ago
After two or three conservative justices are appointed the court your life will be mega affected. Are you gay? Kiss gay marriage goodbye. Right to privacy ? Gone. Wanna buy or own a sex toy? Those were illegal in many states until a progressive court put an end to it. A conservative court will absolutely reverse that.

This is a huge deal.

ewolf · 9 years ago
However, as long as you are not directly affected by any of those, e.g. you are not LBGTQ, you might consider staying to defend LGBTQ rights and thereby have a more meaningful impact. Even if you're not a politician, voting, educating your children and talking to friends and coworkers can have a significant impact.
ewolf commented on Doing Business in Japan   kalzumeus.com/2014/11/07/... · Posted by u/waffle_ss
srem · 11 years ago
I'm sorry for picking this out from an otherwise great article (though I disagree on a few other minor points), but I can't let this slide:

> That said: is racism a bigger problem in Japan than e.g. in the United States? Oh, yes. Unquestionably.

I disagree. I disagree so very much I don't know if I can even put it into words.

Being the "wrong" race in the US can be a matter of life and death. It's not even fair to compare racism on that level to the kind that exists in Japan. Do I really need to talk about how pervasive racism is in the US? And how extreme it is? Pick your poison: income, education, prison sentences, violence, etc. This should be common knowledge by now. Please, please don't downplay it. It's huge.

It's interesting nonetheless. You really can see a difference between whites and non-whites when they talk about racism in Japan. There's a reason why there's such a difference of opinion. Growing up having the race advantage all your life and never giving it much thought, only to move to country where it no longer applies is a huge shock to many people.

Really. Ask non-whites what they think about racism in Japan. I think you'll find that most people will tell a very different story. It's usually something along the lines of, "The amount of ignorance is astounding sometimes, but I haven't really felt hatred/hostility directed towards me because of my race, which is refreshing." The ignorance is certainly bad, though also isn't all that surprising if you've had no meaningful conversations with someone of a particular race all your life.

Yes, if you're talking about anti-discriminatory laws, there's a world of difference. They're almost non-existent in Japan. Anti-discriminatory laws didn't come about in the US overnight. A lot of people suffered and fought a long war before we even saw a positive change. Again, not exactly fair to compare the two countries here. It doesn't make it right, but let's put it in perspective please. The US has a very, very dark history regarding race, and it's not even close to being over.

There's also one other important difference in my opinion. In the US, you're dealing with extremes on both sides. People who absolutely abhor you for being a certain race or having a certain sexual orientation, and others who will loudly defend your rights and speak out when they see injustice. In Japan, you don't have much of either. Which is worse I guess depends on your perspective... but it shouldn't be too surprising why a lot of people think the former is worse. Hostility is a very difficult thing to deal with.

ewolf · 11 years ago
What ethnicities/races are you talking about here in particular?

I suppose African-Americans will probably experience less animosity in Japan than in the US. But I think the ones subject to severe racism in Japan are rather other Asians, such as Chinese or Koreans.

Japan is a very ethnically homogenous country with almost zero immigration, and it is my understanding that that is due to the fact that foreigners are not very well accepted. Since people of different races hence represent almost negligible parts of the Japanese populace, you might consider it less of a problem than in the US, where racisms exists between citizens of the same state.

Disclaimer: I've never been to Japan, please correct me if I have the wrong impression.

ewolf commented on Switch to HTTPS Now, For Free   konklone.com/post/switch-... · Posted by u/rodrigocoelho
ewolf · 12 years ago
Are there any downsides to these free certs? Do they work in all browsers; is there anything that could be better security-wise?

If not, than this is exactly what we need to establish HTTPS as the new standard.

ewolf commented on BackgroundCheck   kennethcachia.com/backgro... · Posted by u/zzzsh
waster · 12 years ago
I'd add that though we've adapted to the look of a cursor, the designer in me cringes at the thought of outlined text (though I'm willing to allow that there are probably applications of this that work elegantly; I just can't picture any).

Sometimes the answer might be yet a different color of text (not black or white), although that too has design downfalls.

But all that said, tools to help text and other elements adapt to background images are mighty helpful. I'd definitely consider using this, even as is.

ewolf · 12 years ago
> I'd add that though we've adapted to the look of a cursor, the designer in me cringes at the thought of outlined text (though I'm willing to allow that there are probably applications of this that work elegantly; I just can't picture any).

Outlined text is quite common in videos (e.g. for subtitles or credits). The outline doesn't disturb at all if done properly — it doesn't have to be thick, a subtle shadow will usually suffice.

ewolf commented on Google is retiring its Latitude location-sharing service on August 9th   thenextweb.com/google/201... · Posted by u/fraqed
ydant · 12 years ago
They sort of did - they had a "request check-in" function. It never worked very well.

They also had an accelerated and supposedly more accurate tracking option on demand (i.e. I could request my wife's location to be updated "in real time"). That never worked very well and was removed.

ewolf · 12 years ago
That's strange — I've always had the impression that the battery usage of GPS was the main obstacle for location tracking services, so that any way to sidestep expensive polling would be a greatly welcomed remedy. I can't imagine that this would be technically impossible.
ewolf commented on Google is retiring its Latitude location-sharing service on August 9th   thenextweb.com/google/201... · Posted by u/fraqed
hahainternet · 12 years ago
Latitude is just being merged into G+. I can't see any features that are being killed.
ewolf · 12 years ago
I haven't used G+' location features a lot so far, but if they are anything like Facebook's, they certainly don't replace Latitude. This comment (https://news.ycombinator.com/item?id=6019298) seems to affirm this.

u/ewolf

KarmaCake day115August 10, 2012View Original