HNHacker News
TopNewBestAskShowJobs

adamzochowski

651 karma · joined November 19, 2009

submissionscomments
adamzochowski··on Ask HN: What is the minimum yearly income to live in your twenties?
It depends on what is your standard you want to accept, and where you live. The 'basic quality of life' means different things to different people.

For example, 12k rental can be extravagant. At this amount probably you can have a whole private apartment, with an actual bedroom (not a studio). But room rentals should be cheaper. Look what student rentals ask for, or friendly professionals that need roommates. These could be way below $500/month, even in new york. Alternatively, do you have parents or siblings to live with and share the rental costs?

Similarly, clothing is tricky, but people do with less than 1k. Some might not buy anything in a year. Buy quality over quantity, things that last. Be vigilant at avoiding spills, cleaning them quickly, know how to patch clothes, and dye them. Look for coupons, discounts, clearance, outlets, friends that have employee discounts.

3k for transport and without a car? How expensive are the busses + bicycle maintenance in the area? Most expensive monthly passes around the world are around $150/month. Be it new york or singapore. Also, many places let you transfer from metro to buses and vice versa on same ticket! The big thing here is that one has to trade time and schedule ventures out. Know which buses/subways are when, and knowing how long are transfers. Trips that are 15minute in car can become 1hour slogs if not timed right.

6k for rainy day -- the rainy day money is meant not to be spent unless you have to. There is no need to budget for it being spent every year.

5k health insurance -- demand universal health care, or bet you won't get sick, or get a job that covers this?

---

In my earlier years I tried to do similar calculation and I got slightly below 10k for basics like roof over head and lack of malnutrition, and in my calculations found 20k to be comfortable enough to allow for independant living and icecream, and beer outing with friends once a month, a cinema twice a year. etc.

adamzochowski··on We do not have 12 years to stop catastrophic climate change
> Anti growth is propably the worst argument. It will litterally give you the effects of the most catastrophic interpretation of climate change before it has even happened.

How literally?

> You don't want to halt growth, that would surely be suicide.

How surely suicide?

> or turn things that aren't currently resources into resources

So the solution to humanity using too much energy is to expand more energy to use up more of the resources?

> It's not like earth gives us resources, we have to find ways to turn them into resources such as oil uranium etc

Seriously, we only have resources from earth, and energy from the sun (some volcanic / thermal). Where else do we get the resources from? Moon? All resources we have are dug from earth, and refined by using energy.

> If you don't grow you will live in a world that might as well be the catastrophe. I am not going to be supporting that.

Again, I am talking here about long term view, like next few centuries. For how long can we sustain same growth rate as we did last 200 years? How long before something gives?

This is irrelevant to global warming, we just can't have indefinite 2% growth. Period.

There are some things that we can do to stave off problems for a few centuries:

1) less wasteful food production, currently humans+cows+pigs represent 96% of all mammalian biomass, 40% of grain produced is fed to livestock -- solution: meat grown in test tubes and vats, this should release some of wasted land on agriculture back to wilderness.

2) proper atom cycle, currently we destroy environment to get atoms (say cut forest / dig metal), and then destroy environment to hide them (landfills) -- solution: Complete recycling of all we use as either composting and fertilizing or back to re-manufacturing

3) finding ways to use energy without generating heat on earth -- solution: space robots with large surface areas that allow them to cool, and do work.

All of these are things we can do, but they are short gap solution. A century or two at best.

Seriously, take a calculator and tell me, how many years is 2% growth sustainable for before we are counting individual atoms on earth?

adamzochowski··on We do not have 12 years to stop catastrophic climate change
I am not sure which part of the statement you highlighted you asserted is wrong? That:

a) Growth doesn't require work?

b) Work doesn't require energy?

From what you included, since 1980 to 2016, energy usage has doubled, from 281btu to 572btu [1].

Yes, we can become more efficient with the energy we use, but we still use energy, and we still use more of it. If we can use energy without generating heat, then we are good.

Additionally, dangerous part is that, as we are more efficient, we find new use of resource that gobbles up the efficiency gains. [2]

[1] https://www.eia.gov/beta/international/data/browser/#/?c=410... (scroll down to chart to see world consumption)

[2] https://en.wikipedia.org/wiki/Jevons_paradox

adamzochowski··on We do not have 12 years to stop catastrophic climate change
Anti Growth is not necessarily a bad argument, just a long term view argument. Growth requires work and that requires energy. There is a limit of energy we can use. At certain point we will use more energy than earth can cool off.

An economic growth of 2% every year is unsustainable long term.

There is a parable story called "Exponential Economist Meets Finite Physicist" that tries to go into this further. https://dothemath.ucsd.edu/2012/04/economist-meets-physicist...

adamzochowski··on Tiny cement sculptures hidden across Europe
Sounds similar to Wrocław's dwarfs. 350 figures of 20cm bronze dwarfs are spread across the city of Wrocław in Poland.

http://www.bbc.com/travel/story/20171017-the-truth-behind-wr...

https://en.wikipedia.org/wiki/Wroc%C5%82aw%27s_dwarfs

adamzochowski··on Show HN: Fancy fonts you can use almost anywhere
I tried some diacritics letters and the site didn't handle those. Is it issue of the site? or those special characters don't include various latin based diacritics? German Umlauts? Polish ąęćłńóśźż ? etc
adamzochowski··on ASRock motherboard destroys Linux software RAID
You will still want stripping (raid 0) if you truly require more performance and more unified storage (single storage pool as opposed to 6 individual drives).

Usually each NVMe drive has own pcie lanes, so having two drives raided gains performance over having one drive. AMD is now really pushing into having bonus lanes, so for threadripper they published reports on 6x raid0 of nvme ssds, where they got 21gigabytes/s reads out of storage.

https://community.amd.com/community/gaming/blog/2017/10/02/n...

Please note, it is now important to check motherboard information regarding pci lanes availability, and ensure that between GPU and M2 there are plenty pcie lanes. Some early motherboards had 4 m2 slots, but only first 3 slots guarantees pcie lanes, while utilizing 4th would force sharing of pcie lanes and be slower than first 3.

adamzochowski··on ASRock motherboard destroys Linux software RAID
What about recoverability features? Starting with Raid 1 mirroring and then going through to less storage wastefull like Raid 5? Or more resilient Raid 6?
adamzochowski··on ASRock motherboard destroys Linux software RAID
No. Just like all hardware based raids you can set mdadm to use full raw disk.

The GPT is only useful when you want to use part of the disk for RAID - partitioning disk into multiple parts where only some of it will be raided. Some people prefer opposite. First raid raw disks and then partition that md storage.

The other reason to put GPT (or old style partition table) is so that no system or tool will mistakenly be helpful with detrcting "uninitiated drive" and then asking to perform quick format.

adamzochowski··on A Warning from Europe: The Worst Is yet to Come
I read the article, where does it say about lying and faking school shooting numbers? Crisis actors? Fake deaths? Because that is the lie we started from.

The article talks about perception. That people now are more worried about school shootings than they used to be, despite past being 4 times worse off.

I agree with you that there are perception / reality issues on both sides. For example: most gun perpetrators and most deaths are from gun suicides.

But the discussion here is about explicit lies. That there was no school shooting. That the people on tv are trained actors.

adamzochowski··on A Warning from Europe: The Worst Is yet to Come
I am curious about inflating school shooting numbers. Do you have links for that? Are you saying that there were fake deaths and there are crisis paid actors?
adamzochowski··on A Warning from Europe: The Worst Is yet to Come
) ) That school massacres aren't real

) ) but are staged by actors and the "lying" media.

) Both sides on the gun debate lie.

How can both sides lie at the quoted example? Either there were people killed or not? How can both sides lie at the same time about it? Can a person be half killed? Even if there was a Schrödinger person, wouldn't fact checking collapse the state to either one?

adamzochowski··on Carbon – Create images of your source code
Some editors also have option to copy / paste with rich text formatting. This way code can be copied to mail client with all the colors/bold/italics/sizes etc.
adamzochowski··on Carbon – Create images of your source code
Subpixel rendering requires knowing the pixel orientation (are sub pixels left to right or top to bottom) and the order they are in (rgb vs bgr) and finally assume that the display screen is in real full color mode, and not some limit color space like YUV420.
adamzochowski··on Why does sorting in computer science mean ordering rather than categorizing?
There are phrases using word sort as a category: "this sort of people" , "sort of liked".
adamzochowski··on Why does sorting in computer science mean ordering rather than categorizing?
Soundex, the word similarity hashing algorithm, also predates computers. It was developed in early 1900, to help perform census in USA. One of its goals was to sort similar last names together.

https://en.wikipedia.org/wiki/Soundex

adamzochowski··on Ask HN: Recommendations of good cybercrime novels?
Marcin Przybylek wrote a series of books called "Gamedec". The first book is a collection of short stories. Detective crime stories all involving games. Permadeth. Pvp. Hacks and cheats. Kidnappings. Augmentations. Etc. The second book is still much a detective story but it is now one longer book, not a collection of stories.

Afterwards gamedec series changes style and pace, still okay but no longer detective work.

adamzochowski··on No Shirt, No Swipe, No Service
Compare cash to the walmart card:

1) walmart charges 3% for all purchases outside of walmart

2) walmart charges 1$ for all purchses

3) walmart charges 5$ monthly maintenance fee

4) walmart charges 3$ to 5$ per deposit

5) even to check account status costs 50cents

Holding cash has none of these costs. I am not surprised that there is a large contingent of society that doesn't trust cards and banks.

adamzochowski··on How not to structure database-backed web apps: performance bugs in the wild
Guys behinds PostgreSQL / CitusDB wrote awesome article on which methods of pagination work how well and where they fail.

https://www.citusdata.com/blog/2016/03/30/five-ways-to-pagin...

Highly recommended read.

adamzochowski··on How not to structure database-backed web apps: performance bugs in the wild
count(*) ends up counting all records, reading one first row is much much faster than finding and counting all.

https://wiki.postgresql.org/wiki/Slow_Counting

adamzochowski··on AVIF – AV1 based image format
How is it 95% smaller? FLIF is a lossless compression, and AV1 in lossless mode can't do magic. It can't do 95% better.

https://wyohknott.github.io/image-formats-comparison/report....

FLIF is reported at 59.57% avg space savings

AV1 (2018-02-22) is reported at 66.02% avg space savings

adamzochowski··on Ferro – Simplifying web development, no more HTML
Not everyone can read the link. Many people are just presented with a disclaimer : " No attempts have been made to support older webbrowsers like Internet explorer and Edge 15. I recommend: Firefox ".
adamzochowski··on Kraken down 24 hours on system upgrade
I believe the proper way to upgrade schema is to

1) don't change existing schema (don't alter columns)

2) introduce new schema, side by side (add new columns, all nulls, without defaults)

3) update code to read new schema first, if nothing found, read old schema,

4) create triggers that a write in new or old schema updates the other

5) have a separate process to sequentially migrate data from old schema to new schema

6) once all records are migrated to new schema, start slowly removing code that reads old schema

7) once nothing reads old schema, delete it

Handling schema changes is a tricky process that is spread across multiple different steps, where each step can be rolled back.

adamzochowski··on US Income Inequality: All for the Top 1%
I think the OP purposes that there are people earning zero, skewing the bottom percentiles, no matter how linearly the income is multiplied.
adamzochowski··on Sabotaged by Polish orthography
To strengthen your argument there is another digraph 'ni'.

But this is now approaching discussion that writing doesn't match phonetic. Pronunciation shifts. Words change. Brother Grimms (famous for fables) were linguists studying how consonants use has changed. They talk how 'pater' (like paternity) shifted to 'father'. But Polish has own such shifts. Take a word like 'jabłko', which many people pronounce 'japko' or 'śliwka' that is pronounced as 'ślifka'.

There is even a branch discussing how people using correct pronunciation are HyperCorrect https://en.wikipedia.org/wiki/Hypercorrection#Polish

adamzochowski··on Sabotaged by Polish orthography
Polish letters on top of Latin are no worse than German (ä, ö, ü, ß), or French (é, à, è, ù, â, ê, î, ô, û, ë, ï, ü, ÿ, ç). Cyrillic is not the answer, as each Cyrillic country has own variations, own letters. See https://en.wikipedia.org/wiki/List_of_Cyrillic_letters

Regarding homophones, this is not 'when word entered the language' but rather, the change of pronunciation no longer matching the phonetic writing.

The 'ó' vs 'u' is homophone because the sound now is the same. However, historically it wasn't. Additionally, since historically it was different sound, it also had different rules for how it morphed during declension.

Similar situation is with 'ż' and 'rz'. There are even cool words that due to declension we can see where they originated from. For example two declensioned words have same pronunciation: 'każe' and 'karze'. The first comes from root word 'kazać' as in tell people what to do. The second comes from root word 'karać' meaning punish.

I would wager that 'ch' and 'h' is the most recent homophone. Some people still alive were taught to use correct hard 'H' vs soft 'CH' when pronouncing words.

adamzochowski··on PostgreSQL 10 Beta 1 Released
Postgresql has compression by default on, for all large text and other large fields that get great benefit of compression. From documentation -" The technique is affectionately known as TOAST (or "the best thing since sliced bread"). "- https://www.postgresql.org/docs/8.0/static/storage-toast.htm...
adamzochowski··on Web Developer Security Checklist
I am not the original poster, but some queries can't be moved to stored procedures (depends on SQL software and library abilities). For example:

IN clauses can get tricky if prepared statements don't support arrays / lists of columns.

Adhoc queries get tricky where user could specify a parameter or not.

This answer is more about stored procedures than prepared statements.

adamzochowski··on Show HN: A travel tool to discover destinations based on your budget
The site is cool, but some questions:

None of the keyboard scrolling methods work. I can't use pgdown, arrow down, even the old school "space to scroll"

On search page, changing duration erases my budget, why? Just because I might be able to stay a day or two longer, or am willing to cut my stay short, doesn't mean my budget is changing.

What is the p.p. currency? On search page I set it to USD, yet I keep seeing it p.p. everywhere?

Once I open a location destination (why a new tab?), it forgets where I am flying from, so for flight search I have to retype my city.

Awesome page, this is what I was looking for, but few minor things need to be fixed up.

adamzochowski··on The foreign words that seem like English, but aren't
But it isn't "Bob" to "Robert". You skipped middle step, and one final step.

First names were shortened.

Robert to Rob

Richard to Rich

William to Will

Then the shortened version had first letter replaced to make second diminutive form

Rob to Bob

Rich to Dick

Will to Bill

Finally you have third diminutive form, by adding ending

Bob to Bobby

Dick to Dicky

Bill to Billy

← PreviousPage 4 of 8Next →