skysight-inc/HackerNews huggingface dataset:
Ask HN: As a CTO, how do I ensure that I have a fair compensation
I am a CTO of a recently created company (2y). I was the first person to work there, the other one was owning the company and providing projects and finances for everything (lobbing, salaries, offices, infrastructure etc).

My primary role was to bootstrap some projects for top local salary + ~5% bonus. I worked all things required for this to succeed - coding, testing, documenting, operating, integrating, designing architecture and infrastructure, hiring, handling team of senior devs... So it is basically like a startup, but without finance problems whatsoever (actually, it looks bottomless pit to me).

Current state is that company has 2 big successful gov projects that are projected to last for at least 5 years and probably more, each costing in M and are also generic enough to be offered to other countries. I started to work on another projects, but then I stopped in order to handle my own company status. I am compensated well, but have no life and basically I do all internal stuff to make a projects flow, furthermore, I earned a company few M. Me and the owner have good relation, but relations can change and I would like to have a plan to protect myself. After all, its way easier to ditch someone when people, processes and technology is in order and I will have nothing from future installations and all that effort in company building.

What should my offer be? Note that I didn't invest any money in the company but all projects are extremely successful, 0 or low maintenance and I hired and handled all of the people (mostly my dev friends from previous jobs, ~10 at this moment, without any extra compensation).

I thought about IP share, service contracts with percentage of all future deployments, compensation for new hires etc. but this is not my territory, I have no experience in this and any help would be appreciated.
That argument is disturbingly convenient: it lets you dismiss any evidence-based criticism of US policy as "biased, ignoring the good parts, criticism is inevitable because it's the most powerful country in the world" . . . Without actually engaging with any evidence to the contrary.
jogging makes my day 3x brighter

even if it only gives me 1 absolute year more alive, it will yield 50 years of chilly smooth days.
Could it be either Russia or the US have contingency plans regarding those countries ? Like... nuke them now or send them a suicidal elite special forces mission to take out the top and assume command in the name of peace keeping ?
Lambda School: Innovation or Scam?
What do you mean by "deal with a catastrophic failure" in this case? Yes, we pretty much bury the stuff. That doesn't sound like a catastrophy to me.
Note that this is not quite the same. Gitlab made a technical decision to move to Google Cloud, and Google Cloud has its own, much more outrageous block on a network level.

Gitlab not being accessible from Iran is a by-product of that move, not a conscious decision Gitlab made.

Arguably, if I create a Gitlab Account using a VPN but put country of residence "Iran", and Gitlab lets me do that, then Gitlab does not have the same policy has Github.
It should, in principle. Canada recently introduced a carbon tax with dividend program in which about 80% of consumers receive more in dividends than they pay out in carbon tax. Despite that, opposition is very significant. It's a crazy world.
My how far we’ve come in such a short few years.
> Are share buy backs a common strategy for large companies?

Dividends used to be the be-all and end-all of giving back capital to investors. However, the 'problem' with dividends is that by receiving cash, it creates a taxable event that not all investors are happy with.

With share buy backs, an investor could choose to either sell their share (at the presumably higher value) or hang onto them (again, assuming the price goes up).

Financially/mathematically speaking, whether a company does share buy backs or dividends does not matter:

* https://www.youtube.com/watch?v=UpXI_Vd51dA

Yet for some reason there is an idea the dividend-paying companies are better than those who do not, and that share buy backs are bad/evil in some way.
Use python.
"What do you mean the bully hurt you? Just give him your sandwich next time!"

The US is a school bully, nothing more. Unfortunately, the EU doesn't have the guts to tell them to pound sand. Instead they tell Iran they will help and do nothing to enforce it.
Number of books read isn't the goal. The goal is reading outstanding books with such intensity that you exhaust what can be taken away from them.

One of those books, by the way, is How To Read a Book, by Mortimer Adler. Check out my notes here: http://alvaroduran.com/how-to-read-a-book
I'm interested to see the calculations from which you derived “3–5 decades”. My calculation in 2017 was that, for example, Japan had enough exports to import enough solar panels to reach energy autarky by 2028. But prices have fallen dramatically since 2017.

Clearly this would involve continued investment in production capacity for photovoltaic panels; you are correct that if production capacity remained stuck at 2019 levels, we would not be able to make the transition. Were you assuming that would be the case? That seems like a an unwarrantedly pessimistic assumption, even more so than my assumption that prices would remain constant. Indeed, your assumption (if it is indeed yours) would entail that photovoltaic panels would suddenly start to get more and more expensive!

My calculations are in notes/japan-energy-autarky.html in http://canonical.org/~kragen/dercuano-20190724.tar.gz.
Which often makes you eat more which apparently shortens your life
I used to eat mainly processed to ultra-processed.

My neighbor came over for some of my famous no-packaging vegetable stew yesterday. She said she was overwhelmed with how delicious it tasted. I made two stews. Here are the ingredients:

Stew 1: Black beans, potatoes, cabbage, nutritional yeast, epizote, zucchini, water.

Stew 2: Split peas, chard, zucchini, nutritional yeast, water.

Both were topped with onion, nuts, cucumber, and nuts. Salt to taste.

The beans, peas, nuts, and salt were from bulk from my local coop (filling containers I brought). All other ingredients from my CSA or the local farmers market.

Maybe a quarter cup of scraps to compost. Zero to a landfill.

Dessert was nectarines that I couldn't help but say, "I can't believe anyone eats ice cream" they tasted so good. Appetizers were tomatoes from my CSA and greens from my windowsill garden.

Total cost: maybe $10 worth of food, enough to eat for 7 to 10 meals.

Now I eat like this all the time. Anyone in or around Manhattan interested in sampling, I'm easy to find. Email me and come over for some famous no-packaging vegetable stew. Especially mid to late summer when I have trouble keeping up with all the CSA vegetables.
Five Ways to Spice Up Your Bash Command Prompt
Why couldn't this be used in cars -- 50% seems better than traditional internal combustion engines?
What a low quality article.

Haskell hasn't had updates in months? They link to a GitHub for RFCs, instead of GHC's GitLab https://gitlab.haskell.org/ghc/ghc
False dichotomy! Economic sanctions are not the only alternative to actual wars. In fact, they are a form of collective punishment that harm average citizens of these countries more than their governments. And this is not just about some inconvenienced github users; this has been a contentious issue in every natural disaster [1].

[1] https://www.reuters.com/article/us-iran-floods-redcrescent/f...
Everything that reduces quality of life kills people in some way. Heck, I commute through a town that back in the day was rich enough to prevent the highway from being expanded. I bet a couple people have died in ambulances in gridlock there.

Sanctions are a heck of a lot less violent than bombs, or some tit for tat response (which would probably eventually escalate to bombs). They're basically one step up from taxes/tariffs.

The perfect is the enemy of the good.
FYI, Obama started more wars and bombed more countries than Bush and Trump.
We cannot evaluate that claim based on hypothetical figures. 10% claiming the Earth was flat would be a very biased sample in the real world. It would more likely be 98% and 99%, resulting in only 1% surprisingly popular.
> That's just a normal environment that most middle class people who use debit/credit cards are already used to.

No it is _not_ the normal environment. He said "you must secure permission" from a third party. This is not true for those who use debit/credit cards because they also have the choice to use cash as well.

A side note: cash and cashless work great with one another. If your card stops working some reason, you are still able to use cash. If you don't want to carry cash one day, you can use a card. I find it very frustrating that they are constantly pitted against each other when they are in no way incompatible.
Front end Weekly Digest (22 – 28 July 2019)
> After all, they've presumably backed your loan with some kind of equally long-term security.

See, this is what banks are explicitly NOT in the business of doing. They are in the business of borrowing short and lending long, with a rate spread to make money in the process.

I have had a number of mortgages in the last 10 years in the US (refinanced multiple times), and none of them had any prepayment penalties. I suspect if I looked for one that does I might find it and it might have a slightly lower rate. Maybe. That depends on whether the bank planned to keep it on the books or sell it on; it's easier to sell on standardized mortgages into an MBS than weird ones with bespoke terms.
It speaks to the priorities, attitude and / or the work ethics of the developers involved. I wouldn't trust people who care about using teenager slang and looking cool to write secure and efficient services that I could use in production with customer data. I may be wrong, but my confidence is still low.
If nobody wants those solutions (in other words: they are politically impossible), they are not practical at all.
I sometimes do medium to large transactions in cash so I don't have to pay things like credit card fees. $600 set of tires? Why should visa get $18 (3%)? I don't mind stopping by the ATM to save that.

Also, maybe I just don't want everyone knowing everywhere I spend my money. I tried to get a mortgage a bit over a year ago and they wanted to see statements from all my accounts for the last 6 months. It's none of their damn business if I spend 500 a month on champagne or 500 on church donations.
> Doing innovation comes with risks - which may or may not pan out. If it doesn't pan out, the executives would get chewed for it, and if it does pan out it is unlikely to pay off for a long time (in terms of bonuses - at least, not within their tenure).

You really nailed the problem. It is faced by all companies with sizeable middle management (read, all companies above a certain size).

Let's look at the incentives. A middle manager with an entrepreneurial spirit who tries to enact change, try new ideas and stay ahead of the curve has a chance to make it to the top, provided they have allies already at the top who are also willing to bet their reputation on the underling and also that none of the bets backfire badly.

On the other hand, let's take a pointy haired boss type middle manager who does jack-all, avoids responsibility where possible and therefore by definition they also don't participitate in any cockups. They sort of coast by, being too average to notice either for outperformance or underperformance. After 20 years at the company, they retire.

Which of these two are going to be the majority? In my experience, the latter outweighs the former by a large margin. Being in the latter, you don't have to do anything, just stay away from trouble. Squash any ambitious projects your group comes up with, maintain some token efforts that look good on quarterly presentations, but keep it all fairly toothless.

Over time they get entrenched in the company and whether consciously or not, they ensure that only similarly minded people are promoted to middle management, since anyone more ambitious is a direct threat. None of these people are individually evil, and they perhaps aren't even consciously impeding the company. They become a product of the environment. A natural selection of sorts.
> and those companies are also having US clients, proving that it can be done.

Proving they haven't been caught, or may not even know about the US Dept of Commerce entity list.
This is a pretty gross generalisation of the people and issues at stake. "We" the individual freedom loving, contributors. "They", the rogue nations using open source software to oppress and enslave.

Honestly it boggles my mind how easily you slipped into that mentality in response to the comment you replied to - a comment describing people caught in the crossfire, affected by the choices of nations at war, individual liberties crushed by sanctions and foreign policy.
Those clever enough to discover the cheating were clever enough to understand that regulations are rather inadequate, and should not be followed à la lettre.
The Model 3 one? Doubt that they're significantly more expensive. They have some problem with frozen door handles which they should probably get some fix for, like putting in a heating element. That would add cost, but also not much.
> Any language that grows big has that problem.

I'm also quite sure that we will see similar issues with other languages in the coming decades, with new paradigms becoming popular and existing languages trying to retrofit those in their design. C++ is one of the oldest and biggest (in term of usage) language that is still used for new projects and evolving, the competition is one or two decades younger, they still have plenty of time to evolve into monsters.
Ok, storing carbon in the air and oceans is much more practical as it basically comes for free. Well, not counting in the cost of climate change of course.

Burying atomic waste on the other hand requires laughable amounts of space if you want to compare atomic waste vs carbon for let's say 100 years of global energy production. We already have to deal with the "catastrophic failure" of carbon storage as a "future generation" as you already mentioned.

I know a lot of people like to imagine that getting rid of atomic waste is basically some people with shovels digging holes for some hazardous yellow barrels, hoping in a thousand years no one will find them. Well, no. Atomic waste is much more manageable. And to be honest: If we had a way to say efficiently compact/solidify/whatever carbon then we would do the same with that stuff today already, just with the difference that we would leave much much much more waste behind for future generations.
I'm prejudiced against people with a scientific background mainly because of the code I've seen written by astronomers. When I was in high school, I was interested in VSOP87, and found the sample code to be in obfuscated Fortran, and I also remember how Sky & Telescope insisted in publishing all programs as stone-age style BASIC, with line numbers, on the basis that anything more readable and structured would not be compatible with everyone's computers.
(just by pure curiosity, are you Vesa Norilo ? if so, great work on Kronos !)
Cryptocurrencies seems to become the only "cash" alternative. Not saying I think it's a good (or bad) idea, but what else is there that resembles cash?
Good raw ingredients are also hard to get/expensive. If most stuff is artificially inflated/grown for productivity/financial gains, what can one do?

Examples: chicken grown in 6 weeks 23h/day in light with antibiotics & growth hormones, fruits & veggies with fertilisers, pesticides, insecticides and preservatives so it lasts longer. When only monetary incentives matter, this is what we get.
Any exceptions? I ask because that limit is very low.
Yeah, tell that to all my friends who had to leave the Crimea. "Voting" after the Russian armed forces had been brought is not significant.
I have seen this phenomenon so often in explanations/tutorials of different things. People seem to not have a concrete target audience in mind. They simply write of cuff.
> What if you wanted to buy a $25,000 car in cash from a dealership?

I think you’ve not done this in the past twenty years, or just heard the phrase and misunderstood it.

“Paying cash” at a dealership for a new car doesn’t mean literally bringing in paper currency. Generally you pay via cashiers check or wire transfer (rarely via personal check, but with a waiting period most of the time then). Saying “paying cash” at a dealership means “not financing the vehicle.”

I’m not saying it’s not possible to use paper currency, I’ve done it myself. For anything of value though, you’ll generally get a less enthused recipient (as they’ll have hassles depositing it), not to mention the hassle you’ll get just to withdraw the money. As an example in the US, withdrawing over $10k in cash requires filling out paperwork. Withdrawing much larger amounts will generally involve even more scrutiny. Trying to break up the withdrawals to stay under $10k will very likely set off red flags with the bank and lead to inquiries from their compliance department at best (usually much worse).
True, some people do indeed buy cars that I would think are way too large. But you should pay close attention to the demographic which does.

> Everyone who doesn't agree with you is one of the above.

It was no judgement. I was also on that train a while ago.

> The problem in Germany right now isn't high taxes, it's low wages.

Partially agreed. There is no reference as to what constitutes too high taxes honestly, but the point stands. Having low wages doesn't really allow for tax increases either.

> Taxes in Germany have never been lower than in the last 20 years

Not true at all. Income taxes maybe, but not overall tax contribution. What I mean is the quota of all taxes combined (Steuerquote). We are setting record after record here. We can be proud of ourselves...
What would be the alternative? Do smaller franchises/no-name stores have a smaller carbon footprint?
Like everything else, where would the money come from?
I think we're asking the same thing, or I've not explained well. I'm saying when ownership transfers, it'd be good to keep all the existing version history on the original namespace, exactly so you're not forced to update all your dependencies in case you don't need to upgrade and/or don't want the updates of the new owner.
In all fairness, the Iranian government is more popular in Iran than the US govenment in the US. The US sanctions wasn't enacted to help the Iranian people, but to weaken a country that the US perceives as an adversary.
If anyone has an answer to this question, I'm definitely interested in a mini compressor. As in, my credit card is ready and waiting.
Hence:

> True, which is why we need a legislation framework to combat this problem.

I'm sorry to say, we're barely trying. We're doing far too little on an international level. On a national level, I just saw on Wikipedia [1] my country is on 5% for renewable energy. For a rich country, that's terrible. Yet we're voting on retards who deny climate change? Not only is the evidence there, right now we're experiencing it. Which is, I suppose, a good way to stimulate momentum in supporting change. And it is even worse. I saw the other day that my aunt who lives in Amsterdam (a city where Green Left party has won, and they have a mayor from that party as well) that they're still not separating some garbage such as biodegradable waste and plastic. How on earth? I'm not from Amsterdam so I don't know the details but I felt flabbergasted when I learned about that.

[1] https://upload.wikimedia.org/wikipedia/commons/2/29/European...
Yeah, for someone not used to the code it's tough. The "insider knowledge" is that builtins defined in .tq files (files compiled by the Torque compiler[0]) are added to entries in the Builtins enum, which itself is defined as a giant macro[1] that pulls in a Torque generated macro[2]. In the bootstraper (which sets up the standard library), the Builtins::kArrayPrototypeSort builtin is installed as "sort" onto Array.prototype[3], which means you should grep for "ArrayPrototypeSort", which is defined in the linked .tq file.

[0] https://v8.dev/docs/torque
[1] https://cs.chromium.org/chromium/src/v8/src/builtins/builtin...
[2] https://cs.chromium.org/chromium/src/out/Debug/gen/v8/torque...
[3] https://cs.chromium.org/chromium/src/v8/src/init/bootstrappe...
Perhaps for small scale applications this could be cheaper and more reliable? (if they can also get to 50% and if the materials used are cheap enough)
My understanding for a while now has been that papers and glass are pretty recyclable, aluminum is super recyclable, and everything else is just garbage by another name.
Pylint and mypy are about syntax and type-checking. While I agree these kind of tools work well, if think that by static analysis people usually imply something which goes farther than that. For example, the languages Facebook is citing (C++, Java, ...) already include type-checking in the compiler.
FOSS Contributor Tracks
If you make it harder to cool the turbine by putting those neat the radiator, efficiency will go down; if you make it harder to keep the heater hot, by putting those near the fire, efficiency will go down.

As animats already said, turbine efficiency on power plants is very near the theoretical optimum. The only way left to improve it is by increasing the temperature.
Taking about legacy brands, most of them do have exactly those low range fully electric models available that you're talking about, e.g. the VW e-up, which is a great choice for a daily commute.

They aren't very aggressive about growing the market though.
Cool! Will read your post and the book. Thank you
We many just need to reform all of modern society.
I'm not sure i understand, your issue with Composer was making a chart? Why would you try to make a chart in Composer, it is a page editor not an image editor, why not make the chart in a tool made specifically for charts and use it as an image? Also what tables and colspan/rowspan have to do with charts?
> (After taking into account fees, many depositors pay a negative rate to maintain banking privileges.)

This isn't strictly true in Australia. Savings accounts where short term savings go typically provide 1 to 1.5% interest after adjusting for inflation (i.e 2% interest account with Australia's 1% consumer price index). If you don't have a mortgage or credit card debt, having money in an Australian bank savings account is usually a net positive.
I'm not aware of any way to cause a UDP amplification attack with a torrent tracker - announcing to it doesn't cause it to connect back to you.
Re: Is Lisp Dying? Hello World (1999)
Frozen vegetables and fruit can work pretty well too. Some will have a different texture after thawing (eg berries) and cannot be used for everything but in cooking it's almost the same as fresh. How is the frozen food situation in the US?
I count on lower interest to kick down the can a bit longer down the street.

Maybe in two to six years... I even wouldn't be surprised if trump gets reelected, does everything to "rescue" the economy (while more and more people suffer on a personal level) and when he leaves... Bang... It's the fault of the next guy!
Of course this is one of the intended consequences of any capricious military-state outrage. Uncertainty allows them to oppress more people while simultaneously claiming that wasn't their intent. The firms who are applying a broad brush are doing exactly what the armaments lobbyists desire.
Now, I'm not arguing that a nuclear war is going to be all unicorns and rainbows but I feel like "1-3 hours and kill every human on Earth" is over-estimating our capability a wee bit. Like, sure, all major cities would be gone as would most medium ones but there would be plenty of towns in BFE on all continents that would be untouched because they simply have nothing worth bombing.