Hacker Newsnew | past | comments | ask | show | jobs | submit | MR4D's commentslogin

As a guy who on numerous occasions has been in favor of raising taxes on the wealthy, why doesn’t he just write a huge check to the IRS and be done with it?

At least that would make him consistent.


“Donating” to the IRS is an imperfect solution that scales to all billionaires. If he’s only solving for his individual wealth, he can fine tune it to more specific causes.


But think of all the people who will die before he donates it all. Thats why he’s being inconsistent.


Lots of people are misreading this post.

The key phrase is LIFE Insurance, not HEALTH Insurance!

They are vastly different markets.

You don’t deny claims for life insurance as companies would do for health insurance. It’s a very different set of circumstances to have to deny life insurance.


I think an analogy that is helpful is that of a woodworker. Automation just allowed them to do more things at in less time.

Power saws really reduced time, lathes even more so. Power drills changed drilling immensely, and even nail guns are used on roofing project s because manual is way too slow.

All the jobs still exist, but their tools are way more capable.


Automation allows one worker to do more things in less time, and allows an organization to have fewer workers doing those things. The result, it would seem, is more people out of work and those who do have work having reduced wages, while the owner class accrues all the benefits.


Table saws do not seem to have reduced the demand for good carpenters. Demand is driven by a larger business cycle and comes and goes with the overall housing market.

As best I can tell, LLMs don’t really reduce the demand for software engineers. It’s also driven by a larger business cycle and, outside of certain AI companies, we’re in a bit of a tech down cycle.

In almost every HN article about LLMs and programming there’s this tendency toward nihilism. Maybe this industry is doomed. Or maybe a lot of current software engineers just haven’t lived through a business down cycle until now.

I don’t know the answer but I know this: if your main value is slinging code, you should diversify your skill set. That was true 20 years ago, 10 years ago, and is still true today.


> Table saws do not seem to have reduced the demand for good carpenters. Demand is driven by a larger business cycle and comes and goes with the overall housing market.

They absolutely did. Moreover, they tanked the ability for good carpenters to do work because the market is flooded with cheap products which drives prices down. This has happened across multiple industries resulting in enshittification of products in general.


We're in the jester economy - kids now want to grow up to be influencers on TikTok and not scientists or engineers. Unfortunately, AI is now able to generate those short video clips and voice overs and it's getting harder and harder to tell which is generated and which is an edited recording of actual humans. If influencer is no longer a job, what then is it going to be for kids to aspire to?


Something useful, one can hope.


We seem to be pretty good at inventing jobs both useful and pointless whenever this happens. We don't need armies of clarks to do basic word processing these days but somehow we still manage to find jobs for most people.


Most of those jobs have terrible pay and conditions, though. Software engineers have experienced a couple of decades of exceptional pay that now seems to be in danger. An argument can be made that they are automating themselves out of a job.


This is how I use LLM’s to code. I am still architecting, and the code it writes I could write given enough time and care, but the speed with which I can try ideas and make changes fundamentally alters what I will even attempt. It is very much a table saw.


How many wood workers were there as a proportion of the population in the 1800s and now?


I think you’re making a mistake assuming AI is similar to past automation. Sure in the short term, it might be comparable but long term AI is the ultimate automation.


Here’s the crazy thing. All MSFT has to do is build in connections to every AI provider for VS Code and they win.

Embrace & Extend will never die.


> Embrace & Extend will never die

Spread too thin is often the final result of embrace and expand.


You can use the method in this tutorial or you can download LM Studio and run it.

The latter is super easy. Just download the model (thru the GUI) and go.


Dang! Thanks for pointing this out.

I had to look SEVERAL times at your comment before I noticed one is an F and the other is a T.

This won’t end well. Although I like it conceptually, this few pixel difference in a letter is going to cause major problems down the road.


How? tstrings and fstrings are literals for completely different types.

CS has survived for decades with 1 and 1.0 being completely different types.


I had an extended debugging session last week that centered on 1 and 1. confusion in a library I have to use...


Yeah, it's a real bummer when that happens. I wish JSON never tried to do types.


Reread my comment. It’s about noticing you have an “f” or a “t” and both are very similar characters.


Yes, but you will get an error since string and templates are different types and have different interfaces.


Click "parent" a few times and look at the code example that started this thread. It's using the same function in a way that can't distinguish whether the user intentionally used a string (including an f-string) and a t-string.


Yes, and the parent is misguided. As was pointed out in multiple replies, the library can distinguish whether an ordinary string or a t-string is passed because the t-string is not a string instance, but instead creates a separate library type. A user who mistakenly uses an f prefix instead of a t prefix will, with a properly designed library, encounter a `TypeError` at runtime (or a warning earlier, given type annotations and a checker), not SQL injection.


In this particular instance it can't, because there are 3 ways in question here, and it can't distinguish between correct intentional usage and accidental usage of an f-string instead of a t-string:

  db.execute("SELECT foo FROM bar;")
  db.execute(f"SELECT foo FROM bar WHERE id = {foo_id};")
  db.execute(t"SELECT foo FROM bar WHERE id = {foo_id};")
The first and second look identical to execute() because all it sees is a string. But the second one is wrong, a hard-to-see typo of the third.

If f-strings didn't exist there'd be no issue because it could distinguish by type as you say. But we have an incorrect SQL-injection-prone usage here that can't be distinguished by type from the correct plain string usage.


There is no reason to support the first or second usage. It's totally fine to always require a t-string:

    db.execute(t"SELECT foo FROM bar;")
See? No reason to accept strings, it's absolutely fine to always error if a string is passed.


My (and their) point is that's the already existing API. You're proposing a big breaking change, with how many frameworks and tutorials are built on top of that.


It's not like this is the first time APIs have been improved. There are many tools (e.g. deprecation warnings & hints in editors, linter rules) that can help bridge the gap - even if t-strings are only used for new or refactored code, it's still a big improvement!

There's also simply no hard requirement to overload an `execute` function. We have options beyond "no templates at all" and "execute takes templates and strings", for example by introducing a separate function. Why does perfect have to be the enemy of good here?


Because they're both passed to "execute", which can't tell between the f-string and a non-interpolated query, so it just has to trust you did the right thing. Typoing the "t" as an "f" introduces SQL injection that's hard to spot.


Assuming `execute` takes both. You could have `execute(template)` and `execute_interpolated(str, ...args)` but yeah if it takes both you'll have challenges discouraging plain-text interpolation.


It would have to be the other way around or be a (possibly major) breaking change. Just execute() with strings is already standard python that all the frameworks build on top of, not to mention tutorials:

https://docs.python.org/3/library/sqlite3.html

https://www.psycopg.org/docs/cursor.html

https://dev.mysql.com/doc/connector-python/en/connector-pyth...


> It would have to be the other way around or be a (possibly major) breaking change.

If it is going to reject the currently-accepted unsafe usage, its going to be a major breaking change in any case, so I don't see the problem. I mean, if you are lamenting it can't reject the currently-accepted SQL-interpolated-via-f-string because it can't distinguish it by type from plain strings with no interpolation, you are already saying that you want a major breaking change but are upset because the particular implementation you want is not possible. So you can't turn around and dismiss an alternative solution because it would be a major breaking change, that's what was asked for!


`execute` can tell the difference, because `t"..."` does not create the same type of object that `f"..."` does.


The demo page is ridiculously long. I ran out of things to search for. Well done!

https://echarts.apache.org/examples/en/index.html


If their knowledge cutoff is 8 months ago, then how on earth does Grok know things that happened yesterday?

I would really love to know that.


RAG?


At that scale? Is that even possible?


The deficit is 2 trillion.

Income taxes on individuals are 2.4 trillion.

How much do you expect to raise taxes to cover that gap? You double my taxes and I’m in the welfare line.

Further, and this is not referenced enough - the US must rollover ~9 trillion in treasuries this year. The lower the interest rate to do that, the better. Otherwise it increase the deficit even more.

The only way this ends is one of two paths - a path similar to what we are on; default.

We may not like this one, but default is world destroying because of the broad use of the Dollar around the globe.


The deficit is not in fact 2 trillion. Source: https://www.bea.gov/system/files/trad0225.png (and many other official documents)

Also, this is a false dichotomy.


In CBO’s projections, the federal budget deficit in fiscal year 2025 is $1.9 trillion. Adjusted to exclude the effects of shifts in the timing of certain payments, the deficit grows to $2.7 trillion by 2035. It amounts to 6.2 percent of gross domestic product (GDP) in 2025 and drops to 5.2 percent by 2027 as revenues increase faster than outlays

https://www.cbo.gov/publication/60870

IMO, 5%+ percent of gross domestic product (GDP) in a country with massive trade deficits is not sustainable.


"The budget projections are based on CBO’s economic forecast, which reflects developments in the economy as of December 4, 2024. They also incorporate legislation enacted through January 6, 2025."

Out of date!


Nominal GDP growth was 5% in December. As long as share of GDP is constant things are sustainable.


Debt as a % of GDP is not constant, and is on track to grow "far beyond any previously recorded level", according to the Budget Office. [1]

[1]https://www.cbo.gov/publication/61187


I think they meant budget deficit, whereas you refer to trade deficit.


That graph shows a 130B monthly deficit. So maybe not 2B but still 1.5B on a yearly basis.


I believe the OP was talking about the fiscal deficit, your chart shows the trade deficit.


The current administration has no interest in reducing the fiscal deficit. Their expressed policies will make it larger.


Taxes should be raised on the rich. Elon Musk alone is worth $330 billion. There is plenty of money to pay for what we need. The question is whether we can muster the political will to do it.


I’m curious how things like this play into Trumps recent reciprocal tariff threats.


Probably it will. Vance even threatened to leave NATO if the EU regulates X. But EU countries are not satellite states of the US. At some point we just have to draw a line in the sand and stand by our own values, even if it comes at an expense. It's not as if tariffs and the retaliatory tariffs it will lead to is good for the US economy either.

It's all just silly.


a lot of european nations are also discussing on how to create more inhouse and become digitally sovereign from US tech firms. (the dutch government for instance[0])

5 or even 10 years ago this would have been unthinkable in dutch politics, even if this has been called out a lot as a risk in tech circles.

[0] https://www.dutchitchannel.nl/news/602753/tweede-kamer-neemt...


Europe has been pushing this politically for over a decade now.... It's just every European initiative to fix it has failed.


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

Search: