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.
HN user
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.
Your damn animated gif has sucked up >4.7GB in my browser and crashed it. Not impressed.
Did animation actually add anything significant anyway.
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
Mornington Crescent!
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.
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.
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.
Does that issue go away if you use packrat vs some other means?
Can you give an example (or three) where that lets us down? That would be very helpful to me I suspect.
Text -> parser -> AST -> job done. If it's any different in an IDE vs anything else I'd like to know how.
Prev post by me, if it's any help https://news.ycombinator.com/item?id=25210523
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)
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).
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.
MDMA works on what's there, it doesn't conjure up what was clearly not there in you at the time.
Americans aren’t capable of dealing with a problem where their actions impact others more than themselves.
While it's true USA'ians are probably more individualistic than many other cultures and that may translate some way even to selfishness, the above quote is a gross, incorrect and offensive description, and I'm a brit.
Please don't broadbrush entire cultures.
You acknowledge javascript has all the serious downsides of flash, then denigrate us who disable it for the very reasons you've given?
Why?
easy to tell if a type can have cycles or not at compile-time, you just need to check if it refers to itself
Certainly useful at times as I suppose it may be used to ensure you don't have cycles (I imagine that could be useful for resource management) but 'can have cycles' is definitely not 'does have cycles'. It's the latter that's important here.
I purposefully used the word 'efficient' in my original post. Of course you can find cycles many ways, but floyd's (or similar) are not acceptably fast and never can be in general.
Would you consider full graph scan efficient? Would you like a full graph scan after every allocation, millions of times a second?
I don't understand why you said that.
Fair question, was unclear.
Cycle detection at point of creation (when a pointer is set). You can do a full scan of data structure graph after every malloc but that's equivalent to your GC, and clearly horribly, unacceptably expensive.
Fast web pages unquestionably exist. This just spends a lot of text (and 2 pointless images, as noted by the top comment in that article) to pretend they don't. Now there's a reason for trying to fudge the question but it's not clear why. Someone's up to something, pushing something, selling something.
Pretty sure no efficent run-time algo for general cycle detection exists. It has (AFAIK) been a big area in garbage collection for a long while, so smart people have been all over it.
Not sure if one exists for compile-time either.
I've used MS Word over very many years and I'm happy to say that it is a far better product now than it ever was in terms of reliability and doing what it's supposed to do. I'd even call it... good.
But that is now, and the number of times I've been burned in the past and watched other people being burned, and the distress it is caused those who just want to get their job done and the time wasted; those memories fade slowly.
Tarantula was indeed picked as an 'easy' start as I've played this before with people.
So I guess you're right, though it's not the way a human would do it, we'd home in faster and more precisely, but still.
As you say, it kind of partitioned off the search space pretty efficiently in its own strange manner.
Fuck, that's surreal. A bunch of totally rando questions on 16 it suddenly asked right out of nowhere whether it was a black widow spider. Very close.
So I said no, 3 questions on, total of 19, it nailed it with tarantula. That's just eerie given the total apparent irrelevance of the questions. Unsettling.
Q20. I am guessing that it is a tarantula?
Right, Wrong, Close
19. Is it hard? No.
18. Is it bad for your health? No.
17. I guessed that it was a black widow spider? Wrong.
16. Would you find it on a farm? No.
15. Can it climb? Yes.
14. Does it go inside other things? No.
13. Do you catch it? No.
12. Can it make a sound? No.
11. Is it found in a bathroom? No.
10. Is it larger than a pound of butter? No.
9. Can you order it at a restaurant? No.
8. Does it live in the forest? Probably.
7. Is it a type of cat? No.
6. Is it an absolute state? No.
5. Would you give it as a gift? No.
4. Is it a type of dog? No.
3. Is it a vegetarian? No.
2. Can you hold it? Yes.
1. It is classified as Animal.Which is ideal, but generally beyond reach for now. So assertions it is.
There are shills for various nationalities, chinese, us, russian and (probably a few) brit as well.
I find these boards to be very much influencing people to one specific type of ideology,
I find the opposite, a few biased ones and a decent number of independent thinkers.
I find it funny that while on US platforms, people call themselves Brit, whereas no one in the UK calls themselves that.
Are you implying I'm not actually a brit but faking one? Londoner, mate, sarf lahndan, though not born & bred.
When abroad one will identify onesself appropriately, I am 'abroad' on a US website where my nationality mattered WRT my comment, I don't know what you expect me to say.
Soviet union no longer exists as such so let's talk of current russia. Hence my link.
From my link: A CBS News story on the launch of Russia Today quoted Boris Kagarlitsky as saying it was "very much a continuation of the old Soviet propaganda services".[10]
https://en.wikipedia.org/wiki/Propaganda_in_the_Soviet_Union...
But no mention of the gulags then.