HNHacker News
TopNewBestAskShowJobs

oddx

134 karma · joined March 2, 2013

submissionscomments
oddx··on Project Valhalla, Explained: How a Decade of Work Arrives in JDK 28
> it of course will still have identity in being a unique structure in memory

No, it will not. The design allows multiple objects to share one structure in memory across multiple records, or not have such a structure at all (see Scalarization in the article).

oddx··on The “3.5% rule”: How a small minority can change the world
Also in Iran, also in Belarus
oddx··on Why do people post on [bad platform] instead of [good platform]?
Russian has this letter

- english N -> russian Н

- english H -> russian Х

- english X -> russian doesn't have 1 letter equivalent, usually КС or ИКС used

oddx··on Principles for building and scaling feature flag systems
I dedicated a day to evaluating feature flag software based on specific criteria:

    - Must support multiple SDKs, including Java and Ruby.
    - Should be self-hosted with PostgreSQL database support.
    - Needs to enable remote configuration for arbitrary values (not just feature flags). I don't run two separate services for this.
    - Should offer some UI functionality.
    - it should cache flag values locally and, ideally, provide live data updates (though pooling is acceptable).
Here are the four options that met these basic criteria and underwent detailed evaluation:

    - Unleash: Impressive and powerful, but its UI is more complex than needed, and it lacks remote configuration.
    - Flagsmith: Offers remote configuration but appears less polished with some features not working smoothly; Java SDK error reporting needs improvement.
    - Flipt: Simple and elegant, but lacks remote configuration and local caching for Java SDK.
    - FeatureHub: Offers fewer features than Unleash and Flagsmith; its Java API seems somewhat enterprisly but supports remote configuration and live data updates.
Currently, I'm leaning towards FeatureHub. If remote configuration isn't necessary, Unleash offers more features, and if simplicity is key and local caching isn't needed, Flipt is an attractive option.
oddx··on Ruby's hash is a Swiss-army knife
But caching doesn't required here. Hash.new calls block only if value isn't initialialized.
oddx··on How Swahili became Africa's most spoken language
Better example in this context is Singapore.
oddx··on A half-hour to learn Rust
Predictable (low) pauses. Ability to (easily) embed into other language/app as library/plugin.
oddx··on Telegram messaging app proves crucial to Belarus protests
> That's cool and all, except everyone in that country had 2 sim cards with 2 numbers.

This is not true. Some people have multiple SIM cards, but it is not even remotely close to "everyone". Based on numbers that I found, multiple SIMs have around 30% people.

oddx··on Belarus has shut down the internet amid a controversial election
> I've been able to contact a few of my friends

Try to use Telegram for communication, it might work. It's not full internet shutdown, some programs like Telegram or VPN Psiphon, Tachyon work from time to time.

oddx··on Eliminating cold starts with Cloudflare Workers
It's not clear what exactly they mean by cold start. I just ran a simple test with a worker returning hardcoded html without external requests (on a free plan):

1. First run: time_starttransfer: 0.507267s

2. Second run: time_starttransfer: 0.035244s

So it looks like at least some parts of the cold start taking much longer and aren't eliminated.

oddx··on What Armenians should know about life in America (2014)
Just want to add to @orthoxerox comment that Russia 13% tax often isn't understanded correctly, effective tax rate for wages closer to 45% (while many it components not called taxes).
oddx··on Man and man's best friend have both been experiencing declines in sperm quality
In my country (Estern Europe) sperm qulity test cost around 5-15$.
oddx··on US demands social media details from visa applicants
This is not true, you need one schengen visa even if your country doesn't have visa agreement with EU (my country doesn't have).
oddx··on Ask HN: Why are cheaper hosting services like OVH not very popular?
I don't have answer to you question, just a few notes about another low cost proder - Hetzner: * They have RAID by default * They have private network included now (vSwitch)

Drawbacks from my expirience: * You have to monitor hardware by yourself (SMART, CPU and HDD temperature) and requests checks if you suspect hardware failure * Decreased flexibility (curretly Hetzner have limited cloud support, but it's very limited). Probably doesn't matter for most startups. * More manual work for administration (provided services are more low level)

oddx··on Brazil: A look into Latin America’s largest startup ecosystem (2017)
> This is pretty normal

Can anyone comment how common it is? Isn't normal in Europe? US? Other countries?

oddx··on Belarus to create a regulatory environment for circulation of cryptocurrencies
Belarus is may be dictatorship, but it's for sure not totalitarian. And if you think that nacist Latvia is open liberal democracy you bought into propaganda.
oddx··on Donald Trump is the president-elect of the U.S.
Estonia, Latvia and Lithuania were parts of Russia for 300 years with small omissions. It is longer than the time of existence of the United States. So they have a lot cultural and ethnical similarity with Russia. But yes, they try to ignore it officially.
oddx··on Stack Overflow Outage Postmortem
I guess it was just:

- login to server

- make dump of all threads stack traces

- see that something like Regexp.match present in all stacks

- find function that called this regexp.

oddx··on Security update for IntelliJ-based IDEs v2016.1 and older versions
In my Info.plist: <key>JVMVersion</key><string>1.8*,1.8+</string>, but still kept crashing. Have to rollback to old vulnerable version.
oddx··on Singapore employs a mathematics teaching method called productive failure
Do you have any stats for this claim?

I found only this link and look like rate isn't really high http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1414751/table/T1...

>Suicide numbers and rates per 100,000 young persons aged 15-19 - Canada 10.8, Singapore 8.5, USA 8.0

oddx··on Google faces Russia Android probe after Yandex protest
Competition can be limited not only in "hard" way (like not allowing any third-party apps), but also in many "soft" ways.

Google uses his position to set default options for apps and this mean he gets all "unconscious" (and too lazy) users. This is unfair (not backed by any real superiority of his apps) advantage. Yandex tries to change default options for some vendors and Google again uses his position to limit it (limit competition). I'm totally for users making conscious choice, but with status quo it is unconscious choice and skewed in the way that gives Google unfair advantage.

In generally this Yandex vs Google reminds me AMD vs Intel case [1] when Intel used his better position to limit competitor without having real superiority.

[1] http://en.wikipedia.org/wiki/Advanced_Micro_Devices,_Inc._v.....

oddx··on Google faces Russia Android probe after Yandex protest
> Is it a news that corporations are creating "ecosystems" to make money, not to benefit third-parties?

Corporations do their job to make money of course, but it's better to limit harm they can create when making money. Regulations are productive in many ways including regulation of possibility to destroy or significantly limit competitors and competition.

> What if something wrong with the "strategy" of being able to be a very successful third party in someone's else ecosystem?

Nothing wrong with it. The problem is that ecosystem owner can significantly limit competitors.

> Google is no monopoly. There is windows mobile, of course.

Strictly speaking yes, it isn't monopoly, but it is close enough to it, so it can use his position to harm competition.

oddx··on Google faces Russia Android probe after Yandex protest
> How about writing your own OS and creating an ecosystem for hardware vendors and developers first?

I think it would be better for society if smaller companies will be able compete with monopoly without requirement to spend billions.

oddx··on New AWS region coming soon: eu-central-1
We don't have sudden huge traffic spikes and so we don't need automatic scaling. We maintain a few extra serves for redundancy and small traffic spikes. When business grows and we notice that current servers isn't enough we simply order a new ones.

> what do you think that Hetzner does not provide a 2 factor authentication

It's ok for me. Easy solution is to run VPN on hetzner server and access Robot (their control panel) only inside their own network.

oddx··on New AWS region coming soon: eu-central-1
You don't need anything that you mention to scale. My company using hetzner for many years to build profitable business (not extremely big, but not "private blog") and we are happy with our choice. It probably took a slightly more time to build scalable solution with hetzner, but our monthly bill is 9 times smaller with hetzner (than comparable hardware with AWS). This savings allow us to hire 2-3 people more that easily covers additional work.
oddx··on Russia Moves To Ban Online Services That Don’t Store Personal Data In Russia
Secret court orders isn't problem in USA [1] nor UK [2], Russia only tries to keep up with Five Eyes.

1. https://en.wikipedia.org/wiki/United_States_Foreign_Intellig...

2. http://www.theguardian.com/law/2012/apr/04/clarke-defends-se...

oddx··on How the Gut's "Second Brain" Influences Mood and Well-Being (2010)
In russian language there are also phrase "нутром чувствовать" (literally insides / gut feeling).
oddx··on China Begins Longest Bullet Train Service
Another difference: air travel usually require 3-4 hours more for travel to and from airport, check in, baggage claim. Railroad travel requirements usually a lot simpler and railroad stations usually located near center of city.
oddx··on Ukraine protests: Before and after photos from Kiev's battle zone
- "big games by giants" - it was clearly stated by both sides that Ukraine is strategical point for geopolitics for west and east (you can easily found sources, Brzezinski as example), so no conspiracy here

- "It's not Nazis there" - it again easily verifiable that there are Nazis (just first West media from google [1]), you are trying to ignore the obvious here

- "Russian medias are not biased, they are writing complete shit" - I'm not familiar with all russian medias, only with some online news, and for them I can clearly state that they are writing not more shit that popular West media

1. http://www.theguardian.com/commentisfree/2014/jan/22/ukraine...

oddx··on Ukraine protests: Before and after photos from Kiev's battle zone
I think atmosx points very well written and neutral. What exactly is incorrect from your point of view?

Russian medias are biased (as West medias are), but I don't see how it related to post above.

Page 1 of 3Next →