throwaway_pdp09

Joined 7 years ago

Karma
1,611
Submissions
1,581
Member since
Sep 4
View on Hacker News

Recent submissions

Comment · 5 years ago
It's animated (and there are 3 on that page totalling 35MB). Some systems unfold each frame into its own image and store that.

Please open firefox to that page, leave it open for a few minutes and observe the memory. I suspect FX will bloat too.

Comment · 5 years ago
Your damn animated gif has sucked up >4.7GB in my browser and crashed it. Not impressed.

Did animation actually add anything significant anyway.

Comment · 5 years ago
I'm doing a project perhaps relevant to this. Talk of declarative schemas (or what you imply they offer) is very interesting and I'd like to know more but I can't find anything relevant (just magento and sqlalchemy). Indeed, searching for <<<"Declarative schemas" "sql">>> in google gets this very thread on the first results page.

Any links to clear, actionable and reasonably comprehensive examples of these would be most helpful. Obviously abstract statements of the required semantics are also needed, but I also need to see what actual code would look like.

TIA

Comment · 5 years ago
Mornington Crescent!
Comment · 5 years ago
Parsing (use of rather than theory) matters as it affects my work. So I followed up.

See https://youtu.be/Jes3bD6P0To

Tree sitter is based on LR parsing (see 23:30 in above video) extended to GLR parsing (see 38:30).

I've had enough of fools on HN posting unverified crap to make themselves feel cool and knowledgeable (and don't kid yourself that you helped me find the right answer by posting the wrong one). Time I withdrew. Goodbye HN.

Comment · 5 years ago
You're ignoring the ; which are sync points.

> How can you be sure that that } is the end of a certain defined block

If it's not in a string, what else is it but a typo? If a typo, it fails to parse but so long as it doesn't crash, fine.

Comment · 5 years ago
Yours is the toxic comment. Appeal to authority is fine if the authority is an authority and WB has proven his. Suggestions of intention to flatter and accusations of hero worship are pretty gross. @kingaillas's point is entirely valid IMO.
Comment · 5 years ago
Does that issue go away if you use packrat vs some other means?
Comment · 5 years ago
Can you give an example (or three) where that lets us down? That would be very helpful to me I suspect.
Comment · 5 years ago
Text -> parser -> AST -> job done. If it's any different in an IDE vs anything else I'd like to know how.
Comment · 5 years ago
Comment · 5 years ago
I have some idea what I'm talking about, see my post https://news.ycombinator.com/item?id=25210523 and I don't kniow about why using a packrat over anything else. I pull something off the shelf, antlr for my latest project, then get on with it.

The parser is the most trivial side of things, if you consider that a key skill it comes across as being an issue from the 1970s, not today. Writing a RD by hand is not a big deal anyway as someone else said.

If your into optimising compilers you're focusing on a very odd area to criticise. I'd gave though more about dataflow using lattices or whatever, graph stuff etc.

So parsing aside, what are the 'relevant' skills you feel are missing?

(and what are 'Database Compilers'? Nearest I can think of that may fit are query optimisers)

Comment · 5 years ago
> let's say your bank's website uses JavaScript, what do you do

Well mate, take a guess :) I do it on the phone only (and I don't mean smartphone). I've had a little exposure to bank's competence from the inside 20 years ago (large UK bank, mortgages), they couldn't find their own arse with a torch, arrows, diagrams and a PhD in arse-finding.

> 'll just rephrase things to something less offensive: you're not "hurting" yourself, you're limiting yourself, sometimes with drawbacks not everyone is able/willing to endure.

That's much more accurate. We can agree, however consider that that 'limiting [my]self' means limiting my exposure to ads, abuse of my CPU, tracking, most dark patterns, nag screens, malware and more. The tradeoff's very ok for me, and I've experience the web on both sides. Oh yes it's worth it! (for me).

Comment · 5 years ago
> maybe I should try it with some Firefox extensions

So you're making fun of me although you haven't tried it. Yeah, okay.

> But I expect 95% of the web to break if I disable it

And you'll be wrong, it is much lower than that (except if you're talking about adverts failing to display, then I guess yes, in that respect it does).

I don't give a damn about other sites (and I don't browse intranet sites on my home machine -- if I'm in an office I use their office machine). If they don't work I don't use them except in rare cases when I really need to in which case they get run in a VM.

> you're probably hurting yourself, too

That's deeply patronising from somebody who admits they haven't even tried doing what I do, nor has even asked why I and others do it (hint: it's for many of the reasons you described). It sounds like you're talking to a rather stupid child.

Comment · 5 years ago
MDMA works on what's there, it doesn't conjure up what was clearly not there in you at the time.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton