skysight-inc/HackerNews huggingface dataset:
Show HN: Discord GitBot
Hey HN,

I've co-founded a consulting company, we're growing and I consider it a success, but everyone here wants to move into products more, and not just doing general React coding. Our end goal is either to have our own things that we're attached to, or have clients where we can be more involved.

So we figured that we will learn more about product lifecycle by releasing whatever we can, and this is our first step: a simple bot that notifies you on Discord whenever something happens on GitHub.

I'd love to hear your feedback! Or if you've been on this road before and you have some insight.
Markdown though looks like a really constraining medium.
Stories like this are extremely motivating to me after seeing non-stop streams of pure social negativity or bad events unfolding in the news.

Unrelated, but it did make me think of 9/11 and “The Man in the Red Bandana”:

https://youtu.be/S77KYbkmjwc

The opening question sets the stage for the context:

“What would you do, in the last hour of your life?”

I love humans even with all of our negatives. Everyone has the potential to “rise to the occasion” in their own way big or small.

Happy 4th of July to my US HN friends!
Maybe the rest of HN has a similar, better option, but I could recommend LEGO Mindstorms. Eleven would be a good age to start getting curious about robots and automation. You should of course, help her with it, as it may be too complex for her to handle alone at the start.

It is pricey new, but you could get an older version used for cheaper.

There's also Nintendo Labo, for a similar, less expensive version.
None of the "issues" in the first few pages look serious (most of them seem to be about portability to new architectures), so why don't we save some time and have you link to the specification bug you believe undermined the security guarantees of the system? So far you have only asserted such a bug exists.
Paying for twitter screenshots?
Being a pessimist is easy and lazy. You don’t have to lift a finger. Things can actually get better and do when people believe it and do even just a little bit.
That's not something you should be so quick to tell people.
I didn't see this quote in the article--what are you referring to?
1. That children are 'babies' for all of a few months--then they're something different. And that cycle of having a 'different' child every several months continues the rest of their childhood.

2. You learn and become different at each of those stages, too.

3. There is no way to 'prepare' for fatherhood. It is utterly on the job training, and you just have to show up, do your best, and learn as you go.
I want to listen to my music, the music I've bought, not what spotify throws at me. I'm currently using Youtube Music because it at least lets me store and play my music collection, even though it tries to push me toward the streaming options.
I used tiny core Linux about 10 years ago in a high security environment for a data wipe verification step. Worked great and it booted to an immutable ramdisk from a USB 2 stick in seconds. It was also a breeze to setup with drivers.
Yes. It's a bit of a thing with him.
There is a lot to agree on in this article. Though teams should be able to choose whatever stack (languages, frameworks, databases, queues) they want. What’s important is there is a coherent way to deploy, build, operate, scale, observe these services, without relying on one or two team members. Getting a cluster setup and a few deployments is pretty simple, however scaling that cluster, setting up secure runtime (network policies, mTLS, Kata, KVM, gVisor), prometheus, CI/CD, preview, staging and production environments is a huge investment (personnel, cloud costs, delay to production delivery).

Teams should be able to benefit from Kubernetes and the surrounding cloud-native ecosystem without directly consuming or modifying it. You don’t need to reinvent the wheel, and that’s what you could say a lot of platform teams are doing today.

That’s what we’re working on at https://northflank.com a next-generation deployment platform using Kubernetes either in a secure multi-tenant environment, traditional PaaS or deployed directly into your GKE, EKS and AKS clusters. (disclaimer: Northflank co-founder)
> Are you claiming that it is faster in practice to insert an element at the beginning of an array with 1G items, than it is to insert it at the beginning of a linked list with 1G items?

You missed that insertion point is selected at random and must be found as part of the operation. But in practice if you know data will be inserted preferentially at the wrong end -- you can just easily reverse the data structure to make insertions prefer the better end.

> I am certain the first item will not be true

I am used to it. Everybody gets it wrong until they spend some time thinking about it, get it explained and/or run a real life test.

Hint: think about the cost of iterating over half of the linked list versus performing binary search over the array AND moving half of it.

The cost of binary search goes to negligible pretty fast and cost of moving 8 bytes of memory is always going to be lower than the cost of iterating over one entry (16 bytes) of linked list. And you have statistically equal number of both assuming you are selecting values at random with equal chance for each 64 integer to be next choice.

CPU can be moving a lot of bytes at the same time but it has to dereference the pointer before it can get to perform comparison before it can dereference the next pointer...

Actual algorithmic complexity of both algorithms is exactly the same. But an array is much more efficient (instructions per item).
Is it just me or is the space athlete rotating the wrong way?
> I'm fairly sure that google does a better job keeping cloud spanner and cloud run working, and their redundancy mechanisms working, than whoever runs your single linux box will do.

Most of the uptime loss won't come from your provider but from your applications and configuration. If you use Cloud Run and mess up the configuration for the redundancy, you'll still have downtime. If your application doesn't work well with multiple instances, you'll still have downtime.

> Keeping a whole linux box running is more complicated and requires more maintenance than Cloud Run and Cloud Spanner.

Is it? I keep quite some linux boxes running and they don't really require too much maintenance. Not to mention that when things do not work, I have complete visibility on everything. I doubt Cloud Run provides you with full visibility.

> It is not 0, it is just that if you manage cloud run and cloud spanner you don't manage all the other things you have to manage when you self host, and managing cloud run and spanner is really not a lot of effort, it is a lot less effort than managing a standalone database at least.

Managing a simple standalone database is not a lot of effort. For most cases, specially the ones that can get away with running production on a single box, you'll be ok with "sudo apt install postgresql". That's how much database management you'll have to do.

> Cloud run can run stock standard docker containers, you will have a bad time if your processes are not stateless though, and you will have the best time if you have a 12-factor app, but I would not count that as adapting to infrastructure.

That definitely counts as adapting to infrastructure. For example, if I want to use Cloud Run my container should start fairly quickly, if it doesn't I need an instance running all the time which increases costs.

I'm not saying Cloud Run/Spanner are bad. They'll have their use cases. But for simple deployments it's more complexity and more things to manage, and also more expensive. If doing "apt install postgres; git pull; systemctl start my-service" works and serves its purpose, why would I overcomplicate it with going to redundant systems, managed environments and complex distributed platforms? What do I stand to gain and at what cost?
And those bytes matter when most Intel CPU cores have only a few dozen KB of L1I cache. Interestingly, the M1 and M2 performance cores have a whopping 192KB of L1 instruction cache.
Yes. I think people are good overall.

I think the biggest reason people in small towns may be a bit quicker to help is that people in cities are a little conditioned by the bystander effect to assume that people around them, or the authorities, are better equipped to help.

But any random individual asked for help in a city is likely to go well beyond their duty and be quite helpful.
> > As the ice caps melt and record temperatures make the evening news, we figure that buying a Prius and recycling the boxes from our daily Amazon deliveries will suffice.

> Yet again blaming individuals' choices when large corporations are by far the largest global polluters

That's not how I read this at all. Rather it's attacking the idea that a few individuals doing the "right thing" can make a difference, when really we need to tackle the larger problem such as corporations.
The higher priced cars use the same system.

Cybertruck will likely get more cameras and a new cpu. It will also likely be a downgrade for a while.
How it should probably be done: some high ranking civil servant is ordered to plan for a process centered around management of _X need_. If _X need_ means having a system to administer social security numbers, then it's fair to assume the process should be simultaneously widespread, short, easy to handle, and extremely reliable.

If it means delivering some checks to single mothers in sparsely populated neighborhoods citywide, it could be done with something as simple as a spreadsheet. The only common requirement to both task is the need for safety, accountability, and compatibility with /between parent and /or parallel systems.

How it's done in real life: some IT contractor creates an overly complicated stacked platform that does it all (ordered by some IT uneducated but ego infatuated ill informed client with a budget), excepted for the fact that the system is a smokescreen and does not all at all. The contractor then sells more platform access to some other like minded clients, which all have wildly different requirements. In the end, the do-it-all platform becomes a giant mess nobody understands, _X need_ budget allocations dissolves in contractor's hands, social security numbers are scrambled, and single mothers never get their checks.
50 ft is just three car lengths. That's a really short distance while driving.

If something happens suddenly in that range, you might not be able to brake in time even if you were driving at just 20 mph.

You might actually mean a longer distance?
Oops I must have replied in the wrong article. It was in reference to this:

https://www.axios.com/2022/07/04/local-newspapers-news-deser...
I built 7 products until I had a product with product market fit with decent revenue. I could not solve the marketing / ads riddle yet. But I have about 25% revenue growth per month starting from a low level. Now I am making a 8th app. I started while I was working as an employee. Obviously I made more money. now I have way more time and flexibility which is a massive gain of freedom plus any potential revenue growth. Basically I exchanged employment risk with business risk which is fine for me.
You're right, they are not blank states, and they are not entirely like you, but even so, there will be moments where you see a deep similarity that you know must be genetic, and it's quite satisfying.

And yes, physical punishment operates by fear. Avoid it. However, if they are violent with you, screaming or out of control, it might be ok. You're the judge of that. Make sure you're in control of yourself first.
Can’t honestly say I know anyone outside of my parents who reads the newspaper. Sounds like the newspaper is dying, not local news that has shifted to be digital.
My 3 kids are all grown and I have only now begun to realize why they have hard and “real” conversations with my wife and light and simple ones with me (to the frustration of my wife)… I suppose it’s because I was an absent parent. Do better than I did!
>"This is a crisis for our democracy and our society," said Penelope Muse Abernathy, a visiting professor at Medill and primary author of the report, in a statement.

Why is everything a crisis now? The crying of wolf gets tiresome and it makes it easy to tune out, probably to the detriment of local newspapers.
>groups of like-minded citizens can resurrect real local newspapers

Social media is the killer, because in a perfect world it would serve precisely this purpose. But instead of replicating the means of production for each locality, you share one globally - which also helps concerned readers from different geographies pool their resources. A fine vision, and its true, but we see now how severe the downside is: the dissociation of reader from event is the wiggle room in which professional rhetoricians can form new and exciting memetic viruses. And virtually no-one has the psychic immune system to wade through it on a daily basis and not get infected with something. These viruses are designed to serve a narrow aim, and the side-effects are ignored, and this is what leads to the meltdown we have now.

Of course, a simple behavior change can help: pay attention to news in proportion to its physical proximity to you! The knee-jerk reaction to see a national or global trend when anything bad happens is bad for the soul. We should be open to seeing trends, of course, but only slightly. At least a little bit of stubborn resistance to inferring a trend from two anecdotes is good for the soul, I think.
A lot of your relationship strategies depend on slack that will soon be gone. If a chore gets done by whoever is feeling less tired it simply won't get done. Explicitly decide who does what and be prepared to revisit frequently to make it fair.
I think it's a basic feature of human nature that every ingroup has an outgroup.
Knotend now can export to PlantUML
According to that graph 2020 usage is almost identical to 2003. So the only significant drop happened between 2002 and 2003. Not to nitpick, just to emphasize that the missing data from 1970 to 2002 could contain numerous large changes too.
And yet slack still takes 30 seconds to select and load a chat.
Is it fair to judge a system only by listing its cons? How do you come to the conclusion that the attention-inducing burden of supposedly meaningless content pushed by social media outweighs the benefits of letting Indians, Pakistanis, Israelis, Americans and Australians all chat on the same forum? Or read news instantly from any corner of the world - for the sole reason that an algorithm realised people found it interesting. How do you weigh the benefit of a platform that can raise global attention to a regional problem?
By this logic, you believe Samsung Exynos will be competitive with Apple’s A16 when it launches later this year? If it’s all in the process size - you’d expect this to be true but I’m betting A16 will continue the trend of Apple Silicon being dramatically superior.
Why is the closure of local news considered spurred by the pandemic though??

I personally stopped reading news outlets after the first Trump year.
Every single news outlet was full of exactly the same Trump vitriol ( I lean left so, not strange ).
And to make it worse, I am not even american in the US.

Why read the exact same opEd in the local and the state news?? At least in my home country, since about 1 year after Trump I pretty much scaled from maybe 5 outlets to 2.
Since covid times I read one left and one right ( I used to only read left ) and then subscribe to weekly papers that support investigative journalism.
Honestly I feel local news shot themselves in the foot with Trump hysteria.

Or maybe it was already in decline and Trump times just made it that much more evident.
Perhaps I mean more of, “convinced this is an idea that could potentially be a commercial product” rather than “passionate”
I think you are smart.
I should probably add that I program mostly C# so I'm getting Functional benefits like Map and Filter because Eric Meijer added LINQ. He made it his life's work for a few years to bring functional programming to the masses.

But I was minimizing state long before that because state makes any program much harder to understand.

Confessions of a Used Programming Language Salesman: Getting the Masses Hooked on Haskell
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.72....
If OP is looking for a high-impact way to work on this problem while also receiving some pay, The Center for Election Science is hiring a director of operations and outreach:
https://electionscience.org/ces-updates/were-hiring-a-direct...

They’re entirely remote and use Discord, which has been neat to see as a supporter.

(Disclosure: Although I’m not affiliated with the group, I’m a big fan and I’m co-leading the campaign to adopt approval voting in Seattle. In a sense, I’ve chosen to advocate for this change without pay, so I’m very biased!)
Eddie Murphy has the definitive counter point to that argument: https://m.youtube.com/watch?v=e9nb8ffIYl0
Yes, really. The world is obese with fantastical conclusions propagated by terrible practice of first hand experience and thus spreads rumors and worse.
Maybe it could be read that way, but I think it's a good indication of the problem that a strict reading doesn't include that. The article advocates that you should be using Heroku or Vercel or Netlify or Fly as not doing so is an antipattern, but it then says that instead of k8s "Most organisations should consider some of the higher-level building blocks available via cloud providers", which seems contradictory.

I quite liked the actual message of the article (which I take as "be mindful of your technology choices") - but I think that it is really devalued by the less coherent but more click-baity arguments (e.g. "javascript is the only rational language choice")

Edit: Actually, re-reading the article yet again, I think I can see your reading (though I wish you had written the article, as your writing is much clearer). As I understand it, the article says you should use a PaaS-style solution until you outgrow it, when you should move to something from the cloud providers. For me, that would be CloudRun -> GKE-Autopilot -> GKE (skipping CloudRun if you don't want to learn two systems), but there may be some google-bias there!
+1000
Came here just to say this. Aside from being a good parent, you have to focus on your partner and you (that is assuming you want to, if not the case then please disregard). Without that relationship being healthy, everything changes. It spiraled into divorce for me two years later. Doesn’t need to be much, but learn to even go on dates with the baby. You can, and it helps. Flying is also not that bad - if you can, buy a seat for the baby, and you can just bring them on in their car seat. It took me 3 kids before I finally figured it out :) Good luck and congrats!
Yes, otherwise they wouldn't have gone into own chips with such low volumes. Even now their volumes probably don't afford for them making much money on such big chips if we compare them to top tier competitor SoCs.
> To be a devils advocate for a second, what did you expect them to do?

Open source the Flash Player code and work towards properly defining the SWF format. They could have kept their shiny IDE that a ton of people knew how to use and work with but also made it possible for Flash to become part of the open web - since it was actually useful.

This is something that they were repeatedly asked to do, but never ended up doing because Adobe wanted to have full control over it - and ended up having full control of something dead.
How is it that you need the screenshot? Doesn’t the app/backend keep records of matches?
An otherwise good article that however overlooks the possibility (I would dare to say fact) that most flat-Earth videos are nothing more than money making devices aimed at less educated people to cash on YT clicks, ad impressions, communities creation, personal data harvesting, books, conventions, merchandise sales, etc.
Moreover, angry uneducated people can easily be pushed into conforming to this or that political movement and generally becoming easy to manipulate to do something nasty, so yeah, it can be a profitable business on many counts.

To get straight to the point, I think that a lot (most?) of that material is produced by very clever malicious people who are not flat-earthers at all.
I totally agree with this, and I don't know why you are getting so many downvotes. When Fox news called Arizona for Biden, many of their viewers were mad and there were anti fox news protests because their typical audience was mad they weren't being told what they wanted to hear.

In a capitalist nation where supply and demand is everything, some people treat the news and facts and information like a product, and when people hear things they don't like they'll find someone else to give them stories they want to hear like Trump won massively and this election was stolen.
From the viewpoint of Tesla’s marketing and legal departments, the nice thing about that phrase is that there’s no way to prove it clearly is false.

Their claim isn’t about their cars; it’s about the fact that some software can be created that gives their cars “a self-driving capability at a safety level substantially greater than that of a human driver”. Even if they never manage to deliver such software, that’s no proof such software doesn’t exist.
I'm sure some of this was already mentioned, but here it goes...

Read to your children. We set a goal of reading 100 novels to our daughters. We're at #80 and the girls are 13 and 11.

Create some traditions. Whenever either of our daughters lost a tooth, I'd write a letter from the tooth fairy. The letters offered advice, humor, fairy "facts" and even maps to buried treasure they could go dig up. In retrospect, I wish I'd done more creative things like this.

Build things together. Teach your children to use their hands. Clay, crochet, knitting, model building, woodworking, papercrafting, LEGO, playing an instrument, gardening, etc.

Don't rush things. Your young child doesn't need that new gadget or that new app or that new programming language. Stick with blocks, trains, LEGO, puzzles, model rockets, art, dress up, books, etc. as long as you can.

Give your children their freedom and let them fail. Children shouldn't be shielded from the world or from not succeeding. With struggle comes growth.

Always remember, some days of parenting seem to drag on forever, but the years will fly by. Try your best to be present and congratulations!
I thought this guide is great. Not sure why people are upset with it. It’s not the be all end all definite guide to the topic, but it definitely helps.

I especially like the examples given that remove ambiguity in explaining the concepts.
Both XML and s-expressions have a great formal advantage over JSON or YAML and most of their derivatives: the ease of being explicit by means of using names and types allows applications to process their configuration freely rather than according to inappropriately high level conventions.

(server-addresses)

(server-addresses (ipv4 "10.255.5.5:801") (localhost) (ipv6 "1234::5678") (ipv4 "10.255.25.25:8001"))

(list
(server (address (ipv4 "10.255.5.5")) (port "801") (allowed-countries (list "se" "no" "dk" "fi")) )
(server (name "nil") (allowed-countries nil) (address (ipv6 "1234::5678") )))
Pretty sure they're not.

https://yewtu.be/watch?v=xwA4k0E51Oo
There are numerous FSD Beta crashes according to NHTSA complaints, including ones that occurred prior to Elon tweeting that none had occurred.

https://twitter.com/TaylorOgan/status/1539607989937741825
> 1. Sometimes for no apparent reason, you'll start crying

Phew, for a minute there I thought I had an unknown child somewhere out there.
4 would definitely be my pick as well.