Better HN
topnewbestaskshowjobs
Log inSign up

Gorgor

95 karma · joined Jul 19, 2015 (11y ago) · 45 submissions

Submissions

comment 2y ago · link · parent

Calculating the solar position is also pretty important when simulating power production of photovoltaics plants. So, the Python library pvlib has nice functions for working with this: https://pvlib-python.readthedocs.io/en/stable/reference/sola...

comment 2y ago · link · parent

But no one is training these kinds of models on their personal device. You need compute clusters for that. And they will probably run Linux. I'd be surprised if Microsoft trains their large models in anything else than Linux clusters.

comment 4y ago · link · parent

Have you looked at DigiKam? It offers directories, tagging (with custom tag hierarchies), deduplication and also face recognition. I think it can do quite a bit more, but I'm not a heavy user, at all. I just use it for keeping track of my modest library and it works great for that.

comment 5y ago · link · parent

I had not known about 'font-display: optional' before. Now I wish more sites used it because there has been so many times where I started reading something on my phone with slow internet when it had not fully loaded yet. It’s really annoying to see the page jump around a while later after font loading finished and you realize that you just wasted data on nothing.

In my opinion, 95 % of websites should just use system fonts. They’re good enough for almost every need really.

comment 7y ago · link · parent

I took a look at your link and I don’t understand why you feel it’s “really risky”. To me (a German), it seems like any other playground with quite common elements. Sure, the climbing web (if that’s what it’s called) is high, but this is a structure where kids will not even get that high if they are not skilled.

All the images and videos just looked so American to me. A guy pulling kids in wagons with his motor vehicle, where I’m just asking myself: Why? And of course, almost all the adults and a fair amount of the kids are overweight …

I’m not trying to bash America, but this did confirm quite some stereotypes of mine.

comment 7y ago · link · parent

They weren’t even the tallest for very long because the Sears Tower was completed in 1973.

7.

5G – Energy Consumption, Carbon Footprint, Climate Change: Environmental Impact(emfsa.co.za ↗)

2 points · by Gorgor · 7y ago · discuss

comment 7y ago · link · parent

I have a smartphone and use pass via the app Android Password Store [1]. You have to set up your GPG key of course and also an SSH key for the sync with the remote repository, but once that’s done, it works perfectly fine.

[1] https://github.com/zeapo/Android-Password-Store

comment 7y ago · link · parent

It has one for me.

comment 7y ago · link · parent

Even if not many developers use an email-based workflow for their own work, I think it’s pretty well-known that the Linux kernel does.

comment 7y ago · link · parent

To be exact, Google did not “delete” the app. It cannot even do that. It removed the app from its own app store. The fundamental problem is that Google’s own app store is perceived by many users to be the only way to install Android apps.

Are there any ideas about how to convince users to use other app stores?

comment 7y ago · link · parent

If you do it this way, you have to copy your actual server’s private key to your local machine (or even machines if you’re using several), though. That possibly increases the chances of it getting compromised.

I’d prefer getting a separate certificate for local.domain.tld instead.

Please correct me if I have a misunderstanding.

comment 8y ago · link · parent

Beside what others are saying, this whale does not look like a big sperm whale. According to Wikipedia [1], a 20-meter animal weighs up to 60 tons. This one looks closer to 10 meters and probably weighs less than 15 tons.

[1] https://en.wikipedia.org/wiki/Sperm_whale#External_appearanc...

comment 8y ago · link · parent

While u"" is accepted in current Python 3, for some reason they ignored the raw unicode string ur"" which still is a syntax error in Python 3. So, unicode_literals is definitely preferable.

15.

Explore the immersive web with Firefox Reality(blog.mozilla.org ↗)

1 points · by Gorgor · 8y ago · discuss

comment 8y ago · link · parent

That’s interesting. Did you \usepackage[T1]{fontenc}?

comment 8y ago · link · parent

In Python’s object system? How so?

comment 8y ago · link · parent

What was their argument? Do you have a link?

comment 8y ago · link · parent

What was the reason for switching from Postgres to MySQL?

comment 8y ago · link · parent

I’m using this setup too for quite a while now and overall, I’m pretty happy with it. But some HTML mail is barely readable. How do you deal with that?

I’ve written an emacs function which opens the mail in firefox, but I’m not really fond of that as every remote content is loaded by the browser. Is there a way to stop that?

comment 8y ago · link · parent

How is it relevant that it may be a girl?

comment 9y ago · link · parent

That’s something different, though.

comment 9y ago · link · parent

You mean a table with many columns, don't you?

comment 9y ago · link · parent

I'm not familiar with Macs. How is their UTF-8 different from the normal one? How is such a thing even possible?

comment 9y ago · link · parent

I have trouble conceiving of a use case where macros or regex-replacement cannot do what multiple cursors do. Do you have one in mind?

comment 9y ago · link · parent

Could you explain that a bit more?

comment 9y ago · link · parent

Don't you end up duplicating every line break that way? I think it should be

    perl -p -e 's/\r//g' Bad_Microsoft.csv Good_unix.csv
After all, Microsoft files usually end in a carriage return followed by a line break and not a bare carriage return, don't they?

comment 10y ago · link · parent

Who is it you're talking about?

comment 10y ago · link · parent

This also makes it difficult to automate. Similarly, maybe I would like to automatically submit my new bot when I do a commit or a push, but the Submit button uses Javascript which makes this unnecessarily difficult. (At least for me.)
12