Readit News logoReadit News

Deleted Comment

ashkankiani commented on setBigTimeout   evanhahn.com/set-big-time... · Posted by u/cfj
swatcoder · a year ago
That's just terrible input validation and has nothing to do with setTimeout.

If your code would misbehave outside a certain range of values and you're input might span a larger range, you should be checking your input against the range that's valid. Your sample code simply doesn't do that, and that's why there's a bug.

That the bug happens to involve a timer is irrelevant.

ashkankiani · a year ago
You are a bad programmer if you think silently doing the wrong thing is not a bug. The right thing to do with unexpected input as the setTimeout library author is to raise an exception.
ashkankiani commented on Experimental web browser optimized for rabbit-holing   szymonkaliski.com/project... · Posted by u/cernocky
ashkankiani · a year ago
I had this exact idea and I've described it to colleagues before. Fun to see parallel evolution. It feels like a simple concept that should already exist, so I'm surprised it's not more commonly attempted. But you're missing a few of the features that I came up with that build on the initial idea. I haven't gotten around to implementing it yet, but it's on my todo list for this year/next year.

I was planning to build it with ultralig.ht, but I'm not 100% sure if it's ready for it. But since most of the content I'm interested in for research is textual/reader mode, and the rest can be viewed with yt-dlp, I think it can render them and it seems the lightest weight. Otherwise it's webkit or servo that I could think of for this.

Good to know there's interest in this.

ashkankiani commented on TSMC execs allegedly dismissed OpenAI CEO Sam Altman as 'podcasting bro'   tomshardware.com/tech-ind... · Posted by u/WithinReason
JanSt · a year ago
Using Claude 3.5 Sonnet in Cursor Composer already shows huge benefits for coding. I'm more productive than ever before. The models are still getting better and better. I'm not saying AGI is right around the corner or that we will reach it, but the benefits are undeniable. o1 added test-time compute. No need to be snarky.
ashkankiani · a year ago
LLMs make mediocre engineers into slightly less mediocre engineers, and non-engineers into below mediocre engineers. They do nothing above the median. I've tried dozens of times to use them productively.

Outside of very very short isolated template creation for some kind of basic script or poorly translating code from one language to another, they have wasted more time for me than they saved.

The area they seem to help people, including me, the most in is giving me code for something I don't have any familiarity with that seems plausible. If it's an area I've never worked in before, it could maybe be useful. Hence why the less breadth of knowledge in programming you have, the more useful it is. The problem is that you don't understand the code it produces so you have to entirely be reliant on it, and that doesn't work long term.

LLMs are not and will not be ready to replace programmers within the next few years, I guarantee it. I would bet $10k on it.

ashkankiani commented on OpenAI to become for-profit company   reuters.com/technology/ar... · Posted by u/jspann
imdsm · a year ago
Lot of people unhappy about this yet not at all unhappy (or even caring) about the 1,000s of others who started out for profit. And while we're all here hacking away (we're hackers, right?) many of us with startups, what is it we're chasing? Profit, money, time, control. Are we different except in scale? Food for thought.
ashkankiani · a year ago
Your food is undercooked
ashkankiani commented on DuckDB 1.1.0 Released   duckdb.org/2024/09/09/ann... · Posted by u/craigkerstiens
ashkankiani · 2 years ago
Love the expanded C API support! Also those performance improvements are massive! Pushing through filters and the streaming optimization for fetchone() is great! This makes it more viable to use duckdb in smaller queries from python.

I'm pretty excited for variables too! I really wanted them for when I'm using the CLI. Same with query/query_table! I appreciate the push for features that make people's lives easier while also still improving performance.

Everyone who I've introduced duckdb to (at work or outside of work) eventually is blown away (some still have lingering SQL stigma)

Deleted Comment

ashkankiani commented on Buy, Borrow, Die – Explained   old.reddit.com/r/BuyBorro... · Posted by u/nkurz
sangnoir · 2 years ago
Without a cap, overpriced 8- or 9-figure residences will themselves become the vehicle of wealth transfer, rather than irrevocable trusts.
ashkankiani · 2 years ago
Make a cap on the value of house. What do people need $100 million stupid ugly houses for anyway. None of these billionaires have good taste anyway.
ashkankiani commented on Tbsp – treesitter-based source processing language   git.peppe.rs/languages/tb... · Posted by u/hiyer
ashkankiani · 2 years ago
Adding a way to query the path at the current node would let you skip out on doing stuff like keeping track of `in_section`.

I wonder if the `enter|exit ...` syntax might be too limiting but for a lot of stuff it seems nice and easy to reason about. Easier than tree-sitter's own queries.

I think if you really wanted performance and whatnot, you might end up compiling the queries to another target and just reuse them.

I could see myself writing a lua DSL around compiling these kinds of queries `enter/exit` stanzas or an SQL one too.

ashkankiani commented on Buy, Borrow, Die – Explained   old.reddit.com/r/BuyBorro... · Posted by u/nkurz
pmichaud · 2 years ago
Maybe there's just no good solution here, but I think the original inspiration for this sort of law was about family homes. It's one thing to inherit stocks and have to sell some of them off, but it's much more complex to try to pass down a property that can't be arbitrarily subdivided. There are various options obviously, but I think enough people had to sell their beloved childhood home because of the tax obligation that came with the inheritance that someone thought there ought to be a law. Maybe your idea plus a carve out for a primary residence could work, but it doesn't seem politically feasible to me.
ashkankiani · 2 years ago
Make an exemption for a primary residence. Everything else can go. Stop letting people hoard wealth like dragons.

u/ashkankiani

KarmaCake day352October 18, 2019View Original