skysight-inc/HackerNews huggingface dataset:
With S3 you don't even need lambda to do something like this

S3 has some setting where you can log activity on a bucket into another bucket

But that setting allows you to set the destination bucket to be the same bucket that you're monitoring. So ~30s after something happens on the monitored bucket, S3 writes a log into the same bucket. And then that activity triggers the logging again. So every ~30-60s, forever, there's a little log written into the bucket.

It takes a while to add up to something noticeable if your monthly AWS bill is already a few digits long. It's super fun to sift through the bucket a few months later when you're trying to figure out if there's any real data in the bucket or just endless logs.
I taught myself x86 assembly from a book as a pre-internet teenager. My first .COM printed exactly what it was supposed to on the screen. Then it printed a bunch of random junk and my computer rebooted. This happened every single time I ran the executable.

Eventually I actually read the first chapter properly and added MOV AH,4CH / MOV AL,0 / INT 21H. When my executable returned to the DOS prompt this time after running it, I felt like my mind had just expanded 10-fold as I realised what had been happening.
There is none. I implemented passwordless on an app a few months back and a few weeks ago it passed a CHECK pentest with no flaws detected or expected in auth. It’s basically asking the user to reset their password every time, which is much safer than having them using “123456” as their password.

I use Sendgrid to send the email and have had no issues with the service so far.
Don't forget test runners
> Running Lambda, I get a million calls per month for free. Then it's 20 cents per million calls.

And you are overpaying by a significant chunk. My raspberry pi - the old cheap one - can handle 10 million requests a day without breaking a sweat. If I push it, I can get up around 90 million requests a day without too much effort (it's only about 1 request/ms)

I really don't think most devs understand how fucking cheap hardware that's comparable to these services is.

Now - you might be using a host of other valuable features that your cloud provider gives you (things like edge servers near your customers, or truly significant outbound network traffic flows, or a very robust multi-region setup, or disk backing of some sort, etc).

But generally speaking - you ARE overpaying for cpu cycles in the cloud. It's not really up for debate.
Powerful yes, what about getting good peering and routing?
I've assumed it's a FAANGism. This is the only place I see the term used.
Something to ponder....
https://whalesanctuaryproject.org/the-worlds-most-intelligen...

> "we’ve known that the neocortex of a whale or dolphin brain has more folds than ours. All those folds mean that the surface area is greater and therefore may have more units to process information."

Maybe they know something we don't?
uBlock Origin is still availible on Firefox mobile, just not all addons
I disagree but glad I saw this.

I think as these edge runtime things get more feature rich, it's going to pay off to be all-in on one that does it perfectly exactly optimized with an easy pathway vs expecting third party packages to figure out an implementation and stay up to date.
We have the tools and technology to work less and live better (2019)
Widevine is currently in the Chrome, Brave, and Firefox browsers. What are the odds we'd have gotten that (instead of a Chrome DRM solution, Firefox DRM solution, and Brave DRM solution) without the EME standard?
Can you give an example of a leetcode test that can be "practiced"? I assume you actually mean "memorized" since leetcode tests are meant to be used for practice.
Thanks for your feedback solardev!

> On Windows, the tab and ctrl-enter shortcuts seem to be "captured"
It's like this on alls systems at the moment. For example you can't use Tab to add a new node while you're currently editing the text of another node. I'm working on this but its a bit complicated because some shortcuts interfere with system shortcuts for text editing.

> * Box-selection
I agree!

> * When you drag a node to move it, it's not immediately obvious what will happen to it.
This is a really good idea. I was just a little lazy and didn't add any ux niceness here. I could probably add some phantom connection lines showing what edges would get aded.

> import/export UML
I'll take a look on exporting to UML. I'd like to support as much import/export formats as is feasible.

> how the connections between nodes work
The connections are simply an edge in the graph. There isn't any styling or way to convey meaning to an edge. One of the big differences with knotend and other diagramming systems, however, is that knotend isn't geared towards making particularly pretty diagrams. It's very much designed around speed. So for example it supports colors, but doesn't support any manual layout or custom shapes. To be honest I'm not sure if/when it will. But I'm happy to export to those systems. If you email me with any example diagrams that you've made using UML (or other systems) I can see how those may work in knotend now or in the future.

Thank you for all the great feedback, it really is super helpful!
>Sloppy looks like never getting sidetracked from the main project but never finishing anything completely, letting the finishing touches of the last project drop as you rush heedlessly into the next project.

But Sloppy gets promoted while Stuck gets a "meets expectations".

The key is in knowing when it's ok to be sloppy.
Sorry, I might have been not very clear, but AWS billing alert for $300 have been triggered only when it have reached $1,484 in charges.

If that alert triggered earlier (and $300 would have been triggered in an hour), my all accumulated charges would be only $400 not $4500.

So the hard learning here is that CloudFront charges takes time to appear on your bill, up to 24 hours.
If you're putting your service behind CloudFront, you're probably aiming for DDOS protection and low latency or something that you can't easily get from a VPS. Of course, you can put your VPS behind CloudFront, but you would run into the same issue (albeit the fixed capacity of your server would effectively cap your bill).

A single VPS is great if you don't need reliability or scale, but if you care about those things you probably need at least a few of them running behind load balancers, and you probably don't want humans manually poking at them (but rather you want some reproducibility). Moreover, there's a bunch of host management stuff you're taking upon yourself--configuring metrics collection and log collection and SSH and certs and stateful backups/replication/failover and application deployment and process management and a whole bunch of other things that come for free with serverless.

Implying that serverless/Kubernetes/whatever is just hype ("cool kids") while ignoring the pretty significant discrepancies in requirements is pretty silly.
Google only funds Mozilla so it can be an anti-trust figleaf. It's kept on a short leash to ensure it is never a threat.
It's unreasonable to take away people's bodily autonomy. Just.. no.
Gun owners’ private information leaked by California Attorney General
This is a well known but poorly publicized issue with Lambda -- that they can get stuck in infinite loops and run up your bill.

I advise anyone I work with that if you are calling one lambda from another anywhere in your system, you should generate a request ID with every inbound request and then pass it along with each call as part of the context, and then error out if you see the same request again.

The good news is that AWS is aware of this and that their alarms are delayed, and will almost always waive the fees for you if you ask.
Let’s hope no one looks at the Yen.
Why on earth is there only 3 items per page? Instantly useless.
Maintenance is always done on site. Do you think the workers on oil rigs take a commute to land every night? No, so people are going to need to live in space to solve problems in space.
Tell HN: It's easy to start a business from scratch, here's our experience
My guess is as good as any, but the first fruit of the season can sometimes go for quite high prices.
Wait, the OP is clearly describing a case where the sender is much lower on a power dynamic and trying to meet a much higher person, like a CEO of a unicorn.

The CEO of a unicorn absolutely has no responsibility to configure her mailbox so that randos can ask for advice in a way that grabs her attention. She does have the responsibility to configure her inbox so she doesn't miss board emails though!
It's on them and on web developers, who then have to deal with a balkanized client space without even the courtesy of a standard to allow the page to detect whether a given decryptor is available.
I don't know what deno is and it appears that I'm the only one. Does this mean it's not for me? Would I want deno on my tiny 1 visit per hour website?
I think a major flaw in evictions is the concept of invitation.

You cant invite someone out on a boat ride and then evict them while out at sea in the "most gentle manner feasible". The degree to which conception equates to invitation is certainly debatable, but it is an elephant in the room.

Similarly, if the trespass is allowed for long enough, questions of adverse possession and de facto easements come into play.
For anyone interested in this subject, the BBC produced a great miniseries called Victorian Farm in which three historians worked on (and lived at) a farm using authentic 19th century tools and techniques. The highlight of the show for me were the frequent artisans and skilled tradespeople who would visit the farm to demonstrate these types of skills. None of the people profiled in this article would be out of place among the guests they had.
China had a literal one child policy to combat exponential growth in population. India incentivised small families.

Population grows exponentially and it is also a function of time. I don’t think we should look at it in decades but rather as through lenses that capture time in centuries.
There was a startup in 2009 or so that did exactly this. Got millions in investment and disappeared? Can’t remember the name now.

As far as I can tell, this sort of use of Wikipedia content - even for a monetized YouTube video - isn’t inherently against the CC-BY-SA terms. Though, you have made one change, you created a character called the storyteller who introduces each text, and a brand for that channel. That might make it a little questionable legally, even though you credit Wikipedia in the description. Also under the terms of a ShareAlike license, it seems to me that you should also provide the raw generated video under the same terms.

Maybe do a little inquiry into how to do this right? It seems your project is basically abandoned now though?

Source: my own knowledge - I did work on media licensing CC content years ago, but am not a lawyer.
I think this entire episode has highlighted that maybe the correct way to run early stage investing for the last decade or so is basically to more or less fund everything, and that the differentiator in terms of firm success is purely access to deals and no decision making at all.

If you take the view that we really are in an everything bubble the most successful VC strategy over the last 10 years was simply to say yes. Everything was going up. You say yes, and you make sure everyone comes to you. And this strategy has worked so well that now you have a generation of leaders - such as Chris Dixon, who don't even go through the motions of what was previously thought of as the successful strategy for VC.

It makes sense, if the correct strategy is to just say yes, the people who do due diligence and run the numbers and research the market before saying yes (a) lose out on deal flow to those who Just Say Yes and (b) find (good) reasons to say no which both is a losing strategy and damages your reputation.

Of course the people who are investing in Crypto don't understand how the businesses would work and make money, if that was required they wouldn't be crypto investors. These grand visions and bold statements are a great way of covering for what's really behind the investment strategy - Just Say Yes.
Obviously the billing mechanism (or, lack of control) is an issue but that doesn't negate the whole concept. They could (and should) easily fix this by implementing hard caps to activate if so required.
This is a great way to accidentally learn assembly language! I was so amused that a designer friend of mine who swore they could never learn to program solved this game and in certain cases, more optimally than myself, and I have a fair amount of experience in assembly.
We see rent as a massive expense for this innovation, but that isn't an inevitability. Consolidated landlords cannot recognize certain advantages that "Ma and Pa" owners will recognize like consistent (albeit lower) payments, tenants who are respectful of the building and grounds, or the fun of supporting a cool business.

Compare that to a place like Japan where the post-war distribution of land and smart zoning continues to cultivate a vibrant local economy, or venerable Italian cities where homes and businesses remain for centuries.

I don't condone decommodification of real estate or other acts of heavy-handed socialism, but there are laws that play against the "little guy" that must be repealed. Admittedly, every approach (including the Japan and Italy examples) has pros and cons, but many of us forget that there are alternatives out there.
I didn’t find a mention id this Fresh framework could also run on Node. In other words: is it relying on anything deno-specific?
Yeah, I love the book, but it's not "so much better". They're both great, but they're very different, despite some similarities. The movie tells a completely different story within the same events. Perhaps a less coherent story, but still a worthwhile one. But the movie is absolutely more about style.
“Be truthful to your partner” is not the inverse of “Do not commit adultery”.
More addons on mobile?
I don't understand what I'm looking at.
> "All he ever wants is to be the most powerful person he can be, even though he’s completely inadequate in his abilities to handle it. So it’s white male victimisation and unchecked ambition. And those issues just happened to reflect the guy who, it’s just still surreal to say it, was fucking president of the United States"

Curious to what "white male victimisation" meant in this context it's apparently this idea that white men cannot be victims, or that issues they are concerned with don't matter.
Yeah, lesson learned.

Don't ever use AWS unless you have a limited card (e.g. Privacy.com) and are willing to burn that bridge.
Ecological complexity and the biosphere: the next 30 years
Of course you are paying more for AWS than for a damn raspberry pi.
These days it's usually the case that the company came to me, rather than me applying to them. I'll do full research before the final round but for an initial intro? I'll glance at your website, otherwise I'm there to hear your story and decide if I want to take the time to learn more. Lately early stage companies seem to expect you to have a fully formed motivation to work there before the first conversation which is just not the way this works, sorry.
Did you get that "This machine does whatever I can tell it to do!" feeling?

And then you wonder what can you think to tell it to do. The wonder of computers.
Nothing is really stopping people from keeping those extensions compatible. Unsupported doesn't mean impossible - it just means you need to do some tweaks: https://webextensions-experiments.readthedocs.io
This. The company I work for use AWS and that makes sense for the level they scale at etc and I'm sure they work out a deal with Amazon.

I have a few dedicated servers monthly cost ~100$, never ran into any problems, for a brief period I needed to pay cloudflare for some dns management that was getting a bit heavy, but even that was because I didn't know enough as to how to optimize.

For any personal projects etc / POC's even startups launching to less than 100k daily users (traffic and load type dependant ofc) hold off on the AWS>

I also don't like the lambda architecture in AWS as it seems to lock you into it in a sense, you're almost tied to that infrastructure for good. Yes you can rework it but thats tech debt that may not be possible.

Love AWS but only as an enterprise solution.
What exactly is mysterious and misunderstood about pack and unpack? I personally understood it right from the start.
Corporations shouldn't necessarily always be treated the same as individuals, but in this case if it is believed that individuals will change then corporations will also change as corporations are an extension of individuals.
> You can make a pretty good guess that if they don't answer you, they either don't want to talk to you (in which case you should leave them alone), or they have some kind of weird power complex and get off on you begging

Choose the simplest explanation of someone not responding to your email:

1. they don't want to talk to you
2. they have a weird power complex and want you to beg
3. they missed the email or forgot to follow up

2 makes way too many assumptions, we can eliminate it. I'm confused you made a point about not guessing someones inbox management, but then guess at their deep psychological state.

1 and 3 are pretty equal if you assume people are organized on average, otherwise 3 has the edge if you believe the average person is disorganized.

The problem with 1 is you trade maybe not bothering someone for lots of opportunity cost for you.

I'd also argue many software engineers default to 1 because of the anxiety of potential conflict and/or imposter syndrome.
Parent was talking about hacker.news not hacker-news.news (hacker.news being a redirect domain to this site)
How to Debug – Cyclic.sh
I explain this in the post. The goal is to optimize the application for users. I really don't care if Postgres is faster than SQLite or viceversa, I just want users to have a snappier application. The experiment was to swap out the database while leaving everything else the same to see if that affects the overall user experience in a positive or negative way.

Also note that I'm not saying Postgres is faster the SQLite in absolute terms. That happened to be the case for this particular application and how it was deployed. If you perform a similar test with a different app or stack you will likely get different results. A main point I'm trying to make in the article is that people should do their own benchmarking instead of making decisions on stuff you read online.
Few folks have mentioned it, but you should really plan considering your age and needs for next few years. You did not mention your family situation either. Are you planning it alone or with a partner and kids? Kids, as usual, complicate the matter even further :)

Dollars stretch a lot in most places and depending on what you want to spend your time and money in, it would make a lot of difference. Personally, I have decided to do something like 4 months of travel and 8 months of recuperation. Luckily, my current job allows me to do it and while it is a bit of a burden on family, it is doable.
It doesn't have a magical bubble. What it does have are some excellent natural defenses. The eastern border of the Shire is marked by the Brandywine river, which is wide and hard to cross, with only one bridge in the area. (The Shire was attacked by orcs and wolves once, during a particularly cold winter when the river froze over -- no magical bubble!) Past the river is is Buckland, which is much more dangerous than the Shire and acts as a buffer zone; the Bucklanders put a lot more effort into defense than the Shire hobbits do. After Buckland there's a twenty-mile-long protective wall, with its two gates guarded at all times. After that there's the Old Forest and the Barrow Downs, which are both exceptionally hostile places for travelers to pass through, way worse than most of Middle Earth.
I'd like to share an old Dylan Cuthbert blog post on his hypothesis that Assembly is actually easier for kids to learn programming.

https://www.gamesindustry.biz/articles/2011-03-30-machine-co...
Ahhhh thank you for mentioning this! This was _really_ important to us, because it was hard for us to find real code examples that worked, and when we did, they were hard to parse.

It's also why we put it in GitHub, so it could live alongside the code examples :)
Assuming things like the tendency to increase the consequences for individuals is a good tendency, perhaps the desire is to have consequences for corporations also increase.
> This is both fascinating and a scary reminder of what the future has in store for us in a deepfake world.

Social engineering has always been a thing, check out this Darknet Diary podcast about the Lazeraus hacking collective group (suspected to be N. Korean digital Army) and how they have try/tried to infiltrate their way into crytocurrency based exchanges--and have succeeded in the past--using all kinds of methods including hijacking CVs from Linkedin.

The truth is that while the advent of deepfakes and even text to image AI/ML based tech has muddled the waters even more, it's always been a challenge to not encounter some level of difficulty when dealing with verification. Fraud is and will always remain a component in daily operations of any organization.

We have a saying in the Bitcoin space that i think applies here: Do not trust, verify.

And this is why I think people need to understand that the usecases for an immutable ledger can and will go beyond just a digital token (it's only the backbone), and these usecases (the limbs and appendages to continue with the body metaphor) will become more imperative in the 21st Century: you can manipulate all you want via social media and many have, but if verified sources with proper validation is stored on an immutable ledger with a cryptographic proof of work blockchain that is impossible to alter then you can essentially have the closest thing to verifiable truth Online.

Jacob Applbaum said it best when he said that to maintain security online you'll likely have to adopt 2 or more identities separate from each other to continue to have some level of assurance that your personas are not traceable to your real ID in a World where Doxxing became 'a thing' Online. I wonder hat he has to say about the OPSEC/INFOSEC space now that we have the ability to mimic people Online so closely with very little resources.

0: https://darknetdiaries.com/episode/119/
https://www.greatitalianfoodtrade.it/en/consum-attori/la-app...

There are certain lines that the platforms can’t cross.

The information of open food facts, is pretty much useless(is open and known by anyone) when it gets interesting is when we analyze the formulations and effects of those. Same applies in cosmetics

If something has more or less sugar , more or less saturated fats is just a kids play. Nothing really interesting there, the brands and manufacturers , years ago were trying to prevent the exposure of the “is a bad product” message on those apps and platforms. Now they have learnt that is indeed nothing they have to be worried about. As the market of mindful consumers is literally tiny , it may look like gigantic from outside (data says the opposite)

So , An ingredient manufacturer , sells it to a Group , a group creates a formulation , goes to the market as safe (as of today) and becomes to be sold in your supermarket. Years later independent studies arise and show that ingredient N was harmful (cancer, breaks barrier of the skin, generates hormonal effects) and this platforms , aim to show that in their software. But this is proprietary to their platforms and like Yuka you may get sued
Love this! Must admit, my favourite part of doing a CS degree was creating a CPU core from scratch (a cut down ARM, running on a FPGA), then writing asm to run on it. So satisfying knowing I made the actual CPU (at gate level) and ran my own code on it. I’d be happy to do a YouTube series covering how to do this if anyone is interested.