Better HN
topnewbestaskshowjobs
Log inSign up

smalu

211 karma · joined Dec 1, 2013 (12y ago) · 18 submissions

Submissions

comment 1mo ago · link · parent

same here.

`[00:06:03.209] pecl install -f amqp igbinary redis imagick` :sad_face:

comment 2y ago · link · parent

It is funny since there are devices other than Flipper Zero which are designed specifically for stealing cars with key-less systems AKA "SOS opening" and they come in GameBoy-like enclose. Keywords - "SOS Autokeys Bulgaria".

comment 2y ago · link · parent

I am aware of it, but as far as I understand, cyclomatic complexity is used to compare implementations of single flows (algorithms), not for codebases. What is the cyclomatic complexity of Facebook? :)

comment 2y ago · link · parent

What is the point of flexing about LOC, if it is not a total number of \r\n since we are using external deps? I know that there is no unit for codebase in SI system, but I think we should measure cognitive load somehow.

comment 2y ago · link · parent

And its also the name of American news site (vox.com), Polish furniture company (vox.pl)...for every major gtld, the vox.* is taken for something...Do not event start with the fruit nammed apple.

Context is the King, like @eggy said.

comment 2y ago · link · parent

I do not known why OIDC has so many bad comments here. At my $company we are using Keycloak for multi-realm (multi-tenant) authentication of users and clients (applications). Yes, the learning curve is long for OIDC and even longer for Keycloak. The FreeMaker Template Engine is awful compared to Twig. Updates of Keycloak can break something, so better have proper test/stagging environment. But this is the tax for not implement something, that is not in core domain of organization.

OIDC solves problems for OAuth2 like "every Identity Provider has different endpoints" with OpenID Connect Discovery (/.well-known/openid-configuration).

comment 2y ago · link · parent

Due to an error in data from a third-party data provider (Morningstar), the EUR/PLN exchange rate displayed by Google, Forbes, and other websites was inaccurate.

The error caused the euro to be displayed at 5.4 zlotys, which is a significant increase from the actual exchange rate of 4.2 zlotys. The US dollar was also displayed incorrectly, at 4.8 zlotys instead of the actual exchange rate of 4.0 zlotys.

The National Bank of Poland (NBP) issued a statement emphasizing that the error was caused by a third-party data provider and had no impact on the real situation on the foreign exchange market. The central bank assured that currency exchange rates in Poland are stable and that there is no reason to worry about their further development.

8.

Exchange rate for PLN (polish złoty) gone crazy due to a bug(businessinsider.com.pl ↗)

2 points · by smalu · 2y ago · 1 comment

comment 2y ago · link · parent

I recommend zmwangx/ets package, it is the modern version of ts. I'm using it in CI/CD pipeline in gitlab for debugging performance.

comment 3y ago · link · parent

Using real domains (like yahoo.com) for "fake" e-mail address is not a good practice. There are domains like example.com, example.net or example.org for such purposes (RFC 2606, RFC 6761).

comment 12y ago · link · parent

false

comment 12y ago · link · parent

What about Revel framework?

comment 12y ago · link · parent

You can enable logging XMLHttpRequests in dev tools settings (gears icon on bottom-right edge) -> console

comment 12y ago · link · parent

  GET /{user-id}/likes/{page-id} 
may produce false-negative if user has weird privacy policy. Using signed request (tab applications) is only safe way to check if user is fan of a fanpage.

15.

Wkhtmltopdf – generate pdf from page, rendered by webkit engine(wkhtmltopdf.org ↗)

1 points · by smalu · 12y ago · discuss

comment 12y ago · link · parent

chmod -R 0777 /* instead of chmod -R 0777

comment 12y ago · link · parent

The world would be better place if software could exist without hardware.

18.

Why is a minute divided into 60 seconds, an hour into 60 minutes?(scientificamerican.com ↗)

170 points · by smalu · 12y ago · 148 comments