Hacker News new | past | comments | ask | show | jobs | submit | howeyc's comments login

I just put everything in one file. Over 15 years worth of transactions in a single ledger file ordered by date.


if you want file names matching a pattern, no need for grep:

find . -name '*.py' -iname '*pattern*'

for filenames that have content matching pattern, no need for find:

grep -r --include '*.py' -l -i pattern .

no need for pipes, xargs, etc.


US Defense spending is a US employment program. I really wish we would drop the pretense and just make it a full employment jobs program. Anyone that wants to work should be able to get a job.

The private sector can then get employees by paying above the minimum wage offered by the defense department job program.


> US Defense spending is a US employment program

Out of curiosity, have you or anyone you know served in any armed forces?


Obviously the military doesn't literally do nothing. Many of the people involved work very hard; lots of hard physical work, risk of death etc etc

But the military is uniquely patient when, for example, an already-very-expensive jet fighter ends up 10 years late and 80% over budget. And uniquely able, among government departments, to buy things like Javelin missiles that cost $200,000 a shot. Or to send $12bn in cash into Iraq, as literal pallets and truckloads of banknotes, into Iraq and somehow... lose it all and not be able to account for it. Or to be unable to pass any sort of account audits, as they can't find about 63% of their assets.

What's more, from the perspective of a politician, military spending makes for a great jobs program - because you can reasonably require your suppliers manufacture in America from components sourced in America AND small government types will approve military spending AND you get to look tough and strong.


Have you heard of Tesla's robotaxi fleet?

What about Google+?

The Apple Vision Pro?

New X-Men movies from Disney?

Perhaps the US military is not so unique after all when it comes to projects that don't pan out.


Those are all situations where a commercial entity has put private funds at risk.

Most of these defense contracts that have gone way over have left the taxpayer paying for it all. In many cases, the defense contractor ends up better off because of the slip. And even very troubled programs that would have been killed in industry ages ago continue to survive.

This is what he was referring to with "But the military is *uniquely patient* when..." It's not the failure that's the problem.


A person with a gun shooting stuff isn't the only part of defense spending. I'm not sure if this is the point you were even making.


This would be a terrible idea for all sorts of reasons. I will start with a few questions.

How would you determine the wage level of the govt?

How would you differentiate pay at the govt?

How would you prevent govt sector bloat and excessive spending?

How would you ensure people put in the work required at the govt if they were guaranteed a job?


Government pay scales is public knowledge. You'd pay based on seniority and function. You'd have an outside committe audit the jobs. You'd have KPIs and fire people that weren't performing, same as you would at a business.

The government already exists and has solved these problems before, I don't know why explicitly having jobs programs would be any different. Calling for UBI is a failure of imagination. As a society we should take care of those on the lowest rungs of the ladder, but there's more than enough work and thus jobs out there to be done, the only problem is funding them. If the government paid out $100 for every tree planted, we'd do well for the environment and have a whole lot more gardeners.


1. Federal min wage would be a good place to start.

2. Uh, the same as now? Just because you work for the government doesn't mean you earn min eage. I'm pretty sure Generals make more than $15k per year.

3. People that have jobs spend money in the economy to buy things. Private sector economy benefits from this.

4. You would have to do tasks to get paid. It's a job if you want it. Not forced. The idea is to curb unemployment.


Unemployment is not a bad thing per se. Unemployment for a long time for an individual seeking employment is a bad thing.


> The private sector can then get employees by paying above the minimum wage offered by the defense department job program.

Well that's one way to grow a private army to overthrow your country: capitalist incentives


"In 2018, 71% of young people in the United States would not be able to join the military if they wanted to."

Source: CDC.


Easy, relax the requirements, and find work that isn't physically demanding. I'm sure there are a few "paper pushers" at the DoD.


Imagine step 2 to realize the insanity. That household likely doesn't have disposable income that is greater than 25% of their unrealized cap gains, so what do they do?

1. Hope they can get a low interest loan to pay their taxes?

Or

2. Sell some assets. Think about what will happen to your 401k balance as wealthy people all over the US are forced to sell stocks. It will not be pretty.


lol come on. “I might have to sell some assets in order to pay money I owe” is not the end of the free market economy.


I'm not talking about the economy failing. I'm talking prices. What do you think happens to asset prices when there are only sellers (everyone with wealth has to sell). You think poor people will have enough cash to keep prices up?

When Elon sold in his latest Tesla round the stock tanked 30% over a couple months. Repeat for Bezos, Gates, etc.


If there are only sellers and no buyers the market collapses entirely. Luckily though people buy and sell stock all the time and even if the entire OMB estimated revenue from the tax (about $500b) was funded by selling stocks, that would represent less than 1% of total market volume.


Also, a household worth $100M is not going to suddenly be starving come tax time. And, they'll know in advance how much they need to pay because they have a CPA or a private wealth manager at the bank who can just tell them and set aside the money for April.


Hahaha. You think the people in that arena don't re-invest every possible dollar for more growth as soon as it hits their pockets? Cash flow is king to be able to pay for continuing leverage.

A sudden tax bill and the end of acquiring new debt are when massive wealth unravels.

Bubbles die when cash flows dry up.


It is when a very large proportion of asset holders sell "some", increasing supply and therefore driving down prices.


I think AMZN and TSLA dropping 10% or whatever because Bezos and Elon have to sell more shares could be feelsbadman but it is not very close to the end of the free market economy.


If you don't switch between window managers is there any point in having a DM?

Why not just login and run "sway" or "startx"


I've used DMs only for eye candy, as it looks a bit better than using getty/greetd to login.

But I've never got DMs working without any problems, so I just have

  if [[ $(tty) = /dev/tty1 ]]; then
    exec sway; logout
  fi
in my .zprofile file, which just works (tm).


This has the advantage of executing all your shell mcguffins too, so PYTHON4_LC_COLOR=Europe/Orange is set for the entire desktop session, not just the shells you launch from your desktop environment.

(By the way, exec is a fundamental Unix syscall of interest in that it replaces the current process’s code with new code. Your logout call will never run. The exec is the last thing zsh does before being replaced by sway.)


(What if sway doesn't exist?)


Then you probably don't want the 'logout' there anyway, so you can get a shell and see the output that says why it didn't run.


That’s a good point but I think the original intention was clearly “run sway until it’s done, then logout.”


Also if sway dies not exist just change to tty2 e.g. and log in there. This will not Start sway there.


logout is unreachable here because the previous command is exec


This is exactly what I do. It’s also a lot faster


I think it has more to do with OnlyFans.


OnlyFans has been around since 2016. The entertainers in the article are talking about a steep decline in the past ~year.


No, they haven't. The first tweets about this (when this bullshit "indicator" went viral on Twitter) were in 2021.


In this specific article, which is all I've read on the subject, they talked about the latest YoY and post-covid. I did not see any references to 2021.


The evidence is tweets.


Also doesn't need to be decentralized or an existing crypto currency to solve those issues.

For example, central banks are exploring smart contracts for international payments. https://www.bis.org/press/p240403.htm


This is correct. Interest payments go into bank accounts. Some of that money gets spent into the economy, some stays and gets reinvested into more treasuries.

There's a reason real GDP growth is higher than it's usually been, money is being injected into the economy via interest payments.


Even though the annual government deficit is almost 7% of GDP, essentially injecting stimulus into the economy, wall st analysts are convinced high interest rates will cause a recession. CEOs have responded by slashing forecasts and employees to appease wall st.


Because we all know corporations were keeping prices and profits low before COVID because it's good for PR. After COVID they said screw the PR let's be greedy now.


>Because we all know corporations were keeping prices and profits low before COVID because it's good for PR.

Is this the same corporations that didn't want to pay "essential workers" a living wage and/or give them reasonable hours? I find it doubtful that they turned over a new leaf during covid because it was "good for PR".


whoosh

The sarcasm went right over your head.

Of course the inherent greediness of companies & executives did not undergo wild swings during/after COVID, the idea is absurd on its face.


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: