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

VSCode is by far the lightest Electron app I've ever used. I currently have a decent sized repo open, with a good number of plugins, and it's using 0% CPU and 12MB ram on Windows (and I haven't restarted the app in probably 2 days).

Teams on the other hand... that's a hog.


The Panzer IV is by far the most agile and nimble medium tank I've ever used.


Does it not depend a lot on what plugins and the size of the files? I'm sitting here in a small Python repo and I am at 260MB with no files open.


Sure, plugins can be very powerful and can therefore eat up any amount of resources. If you've got a language server that's doing the work of a full-on IDE behind the scenes, resource usage will go up accordingly.

But the GP wasn't talking about plugins. They were invoking the tired trope that Electron App Go Brrr, which isn't especially true in the general case, and is emphatically not true in VSCode's case.


This website seems to have version 2 which includes that text on page 11. You can scroll down and read it without downloading it.

https://www.academia.edu/36044237/WhatsApp_Encryption_Overvi...


Google translate of the first tweet (in German):

> Extreme nightcap in the #network frequency. Quite unusual at this height and at this point in time. One of my measuring devices even shows 49.74Hz as a minimum. Has a major #power plant failed somewhere?

And second tweet:

>Here is another representation of the # mains frequency from just now. Extremely unusual, as a malfunction is to be suspected. Unfortunately, none of my network analyzers are currently running to check the exact course.


There's a translate tweet button right on twitter, isn't there?


I do not have the option on Safari in iOS.


Below is the majority of the post, before it gets in to all the links and such, run through SMMRY[0] set to only use 7 sentences (92% reduction). It obviously doesn't tell the full story, but it isn't bad for a tl;dnr.

My name is Maxim and I'm an independent game developer.

With millions of downloads it is definitely my most successful game so far, and that's thanks to a very active fan base which I'm very grateful to have.

It's really cool to see people play the game in front of your eyes.

You evaluate behavior - are they passionate gamers? Or rather cold business people.

You check out their game - it looks like a copy of a popular game you know.

The answer So as with many other people who offered to buy the game - you politely decline.

How come? How come a copycat can use the name of the original game? You guessed it... trademarks.

[0] https://smmry.com/


Sounds like some key phrases from the page. If GPT-3 would be able to glue them together?


Just curious: What is the benefit/reason for the readfile shortcode for displaying code snippets as opposed to just pasting the code in and using the typical syntax highlighting?

I suppose if the actual source file changes then the page would be updated as well which is neat, but if you're specifying certain lines to read from then that could easily become a problem.

Considering how few shortcodes you're using I just felt like there must be a good reason to use it in this way and I was curious why.


The readfile shortcode was added because this sort of code inclusion was used previously and when converting the documentation I needed something with similar semantic. Another advantage is that it allows me to have a compilable code examples that can be easily downloaded using gitlab support for creating zip from directories[0].

More interesting are the doxysnippet shortcode[1] that provides the extraction from the source code or the custom rendering of links[2] that allows this sort of markdown links: [Overlay](docs:kirigami2;OverlayDrawer)

[0]: https://invent.kde.org/documentation/develop-kde-org/-/archi...

[1]: https://invent.kde.org/documentation/develop-kde-org/-/blob/...

[2]: https://invent.kde.org/documentation/develop-kde-org/-/blob/...


One of the local news stations uses them on their website. They have a tiny "continue without supporting us" link that blends in nicely with the text around it. The weird thing is I always see that link while my wife never does. I don't mean she can't find it; it simply isn't there. This is using Chrome on Android. No root or anything special. Doesn't matter if her phone is on wifi or mobile. On the other hand, I see that link every time. It's been that way for about a year and I have never been able to figure it out -- although admittedly, I haven't tried that hard.


The publisher can choose to remove the option to bypass the modal after a certain number of visits or after a certain period of time.


Good to know. Thanks.



Yes! You had to do a `blame` view to get it? OK!


What do you want to do exactly? On the repo, click the SVG file and then “Source”


I don't have any experience with them but I went to the pricing section on their website[0] and was greeted with very large all-caps text:

PRICING: WHY PAY FOR WHAT YOU DON’T USE?

PAY FOR THE COMPUTE AND STORAGE YOU ACTUALLY USE.

I found that pretty funny given the problem you're running in to.

[0] https://www.snowflake.com/pricing/


You only pay for what you use, but you must purchase their virtual currency Snowbux, at least 10,000 units per year.


Their marketing copy is still accurate.

It sounds like the OP wanted to get 15% discount, which required them to prepay for 10,000 usage credits that expire after a year.

It's not Snowflake fault if you didn't use the prepaid amount that allowed OP to gain the 15% discount.

Only prepay for things you know you'll entirely use


We knew we weren't going to use the entire prepaid amount and said to the sales rep we didn't think it was worth doing it because our usage was low and we would have amounts left over and the rep insisted the roll-over process would be perfect for our use case (he can see our prior months of on demand) and said literally it is just paperwork (I guess that is technically true, paperwork is involved, so lesson learned!). That said, from what he wrote it seems these "policies" may be new to 2020 because he told me that even newer customers have the renew at the original contract amount or more to roll-over so maybe it was easy paperwork any roll-over back in 2019 when we signed and that has since changed. The contract is so vague that it only protects them, not the customer, if they decide on changing their internal policies. Obviously, if they just stated the policy, we wouldn't have signed any contracts.

We purchase because without contract, you can't access their support engineer which we thought we would need but turned out not needed at all (also, I am starting to doubt if the support engineer part is even true, you can probably submit a ticket anyway).15% is not a significant enough saving to sacrifice the flexibility, given AWS can offer like 75% off at reserve. I wrote this post so others who may be considering it should know their rep may not be transparent about everything or might not be able to live up to their promises. I feel like for their long term, this is counter productive for their business strategy, shrug.


Only if you stay on demand, which is why I say, use Snowflake if it works for you (not knocking the product), just stay on demand.

Edit to add that for those who don't believe the sales process was as misleading as I portrayed, just look at their investor earnings release from today! They really try to paint a picture that it is trivial to rollover your credits beyond your contract term and you wouldn't be anything you don't want to buy/need/use. I mean gotta laugh considering their newest policy is you have to buy new contracts at the same or greater price point as last year to rollover.

"Product revenue is a key metric for us because we recognize revenue based on platform consumption, which is inherently variable at our customers’ discretion, and not based on the amount and duration of contract terms. Product revenue includes compute, storage, and data transfer resources, which are consumed by customers on our platform as a single, integrated offering. Customers have the flexibility to consume more than their contracted capacity during the contract term and may have the ability to roll over unused capacity to future periods, generally on the purchase of additional capacity at renewal. Our consumption-based business model distinguishes us from subscription-based software companies that generally recognize revenue ratably over the contract term and may not permit rollover. Because customers have flexibility in the timing of their consumption, which can exceed their contracted capacity or extend beyond the original contract term in many cases, the amount of product revenue recognized in a given period is an important indicator of customer satisfaction and the value derived from our platform. Product revenue excludes our professional services and other revenue"

https://investors.snowflake.com/news/news-details/2020/Snowf...


OP here, for some of the common themes/FAQs, because I am going to hop off but the original post doesn't have enough character space for me to be clear. 1. No, we obviously did not know the min. sales conditions to issue new contract after the year and the rep never mentioned this even though we explicitly discussed that we could not finish the contracted amount even at our pre-covid usage. The rep portrayed the roll-over process as simply issuing new paperwork. Had he said this is done with min. sales conditions, we would not have signed. I looked up what they have written publicly about their own roll over policy and I can only found this on their SEC filing "Customers have the flexibility to consume more than their contracted capacity during the contract term and may have the ability to roll over unused capacity to future periods, generally on the purchase of additional capacity at renewal".

What I want to point out is that the last clause does imply that some people at some point could roll over without purchasing additional capacity, so it may be that the policy of min. new purchase was made after we signed, or the rep didn't disclose the policy, or whatever. All this is to say their whole roll over policy is obviously in flux so you are at their whim even if it sounds great. The rep (I guess to convince me that the min. policy is not that bad) said newer customer are in a different bucket where their roll over can only occur by signing another purchase at the same price or higher (so if we signed later, we would have to pay 10K more to retain the 9k and so on). Hopefully these newer customers were told this or were savvier than me and got it in writing in their contracts. If you are interested in the exact text of the contract where roll over was mentioned, I posted it in a reply somewhere.

2. We signed a contract for a few reasons and the discount wasn't even the main one. We always prefer the flexibility but Snowflake promises engineering support only for those on contract, though we ended up not even needing this as we solved problems that came up ourselves and the product is pretty self explanatory. Again why I say go on demand. The discount offered for contracts is really small, much smaller than AWS for example where it's like 70% off for 3 years etc. AWS is super clear that those expire in 3 years but the discount is huge to make up for it. In Snowflake's case, I don't see the upside since roll-over is really a pain and the discount is tiny. I don't have any experience with the support to say whether having a contract is worth it for this reason, but I suspect you can probably go through generic support or solve your own issues without too many problems.

3. I have no problems so far with Snowflake as a product by itself which is why I still say if you want to use it, I just recommend doing it on demand. Especially because a lot of smaller orgs are probably drawn to their positioning of being more flexible and only pay for what you use computing, they clearly are trying to figure out how to maximize their top line and changing policies around so you are probably better off on demand.


Thanks for making this public. That's a fantastic use case that I hadn't considered.


>stackoverflow page comparing hash algorithms (from crc32 md5 xxhash to sha) thru patterns it generated onto an image.

https://softwareengineering.stackexchange.com/a/145633

>Also answers by the zlib guy

https://stackoverflow.com/a/20765054

https://stackoverflow.com/users/1180620/mark-adler

>the nagle algorithm guy

https://news.ycombinator.com/user?id=Animats


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

Search: