skysight-inc/HackerNews huggingface dataset:
A few months back, we released FastKafka, a free and open-source framework under the Apache 2 license that simplifies the process of writing producers and consumers for Kafka topics. Inspired by FastAPI, FastKafka uses the same paradigms for routing, validation, and documentation, making it easy to learn and integrate into your existing projects. The latest version adds support for newly released Pydantic v2.0, making it significantly faster.

With FastKafka, you can quickly prototype and develop high-performance Kafka-based services with minimal code. And, because it’s open-source, you can use it in your projects for free and contribute to its development if you’d like.

If you are working with streaming data, please test it and give us feedback for making it better. Visit the GitHub repository to get started, and don’t hesitate to reach out to the FastKafka team. We appreciate all comments, questions, feature requests, critiques even! :)
Police need a warrant to get location data from your cell phone provider. No department is bothering with that for a welfare check unless the situation is really dire, and the process still takes a while to carry out. "Where do you think your brother is?" "Oh probably at XYZ's place" is a much more straightforward and common process.
I don't think that's true at all, most people I've come across use it in an off-handed way to express solidarity with victims of police violence, or their general distaste for racialised and/or militarised policing. Full-fledged abolitionism is rare.
A good minimizer for the html could remove the optional tags
The CDC yelled "VACCINATE YOUNG PEOPLE" using fraudulent data.

https://twitter.com/kevinnbass/status/1674920880219234304

I agree they should be charged with manslaughter for all the blood clots, heart disease and cancers they caused among young people.
Just addictive. Brings back memories from way back.
I have a finite amount of attention, resources and energy. I'm fortunate to have more than most. But climate change is not even in my top 10 problems. Preparing for retirement, getting my kid educated, caring for ill family members, supporting my local food bank, keeping my government from going authoritarian - these are where I spend my resources. If I had more I'd probably spend them on things that literally kill millions of people per year like malaria, typhoid, infant mortality, etc.
You can do anything but you can’t do everything (well).
You never “need to” learn much of anything, but I think it would give you a different perspective. You don’t know what you don’t know.
Thank's! I'll have a look at this as well.
I have the opposite view. No matter what individuals do, they won't turn the system around. Furthermore, a good % of consumption is B2B.
There has to be a systemic ban on producing products that threaten the existence of life. Winning money is not an excuse to destroy the planet.

Yes, I know it's utopic, hard to regulate, implement and will never happen. But drastic decisions need to be made.
People think we need cars so it's fine to destroy life to use cars. Well, humans lived a good bunch of years without cars, and humans won't be able to live when cars destroy the planet. So stop producing cars, stop producing fuel, and people will struggle but survive. Continue producing cars and fuel, and we'll all perish to greed and stupidity.
I think that they meant that you'll know Twitter has definitely hit it's decline when other media is focusing on what's happening on other platforms instead of Twitter.
Post-war Europe is a result of the Marshall Plan. In today’s dollars, the Plan invested close to $130 billion in Europe to help rebuild infrastructure, restore production, and generally support economic development. It’s arguable that Europe would not have recovered to become the economic engine it is today without the Plan. [0]

War is bad. Some might think war is all about money, and I would not disagree with that sentiment. But money will be required to rebuild Ukraine after this war, and that money will come as win-win for Ukraine and for investors/contractors. Without this aid, Ukraine will be left in ruin and will negatively impact the rest of Europe.

[0] https://www.piie.com/commentary/testimonies/lessons-past-ukr...
From birth: Six to twelve weeks depending on breed.

From death: one or two days.

"Retail products are usually delivered to a retailer’s warehouse the day after leaving the production plant. Most often, chicken products get placed into company grocery stores the same day of delivery." [1]

[1] see step 10, https://www.chickencheck.in/faq/how-chickens-slaughtered-pro...
I won't eat free anything anywhere because I don't want to give something else up in exchange.
> I mean, if they want to turn Twitter into SomethingAwful, that would be a good route.

I can't say I know that this is their goal right now, but it's impossible for me to distinguish their actions from those of someone with that goal.
I don't know the processes in US, but in Europe I saw this in action first hand done in minutes, so I don't know.

edit: Over a stolen phone, no less, not even a person being in danger.
and ban 'noisy devices' at protests in the name of fighting terrorism, as well as categorizing a kitchen pan in that category.
For ebooks, we don't rely on the browser to know what to do with sloppy code, because the reader may be not a browser. It may be a Kindle or worse. So being able to strictly validate is a benefit. Also, being able to use xml-based tools for editing and creating is a bonus.
Sometimes, Stavros, it is a painful choice to decide in assessment between malice and the various shades of stupidity - the perspective of the latter can be a tad more difficult to digest.

But the last time I read reported unhandable blabbering devoid of awareness and mental competence, attributed to a "minister of the republic", was just minutes ago. When you hear utterings like "it will save lives" - completely alien to conscience of quality of life, good reason, cleanness and propriety, rejection of absurdity, collaterals etc. - I am afraid they may actually "believe" that (or, better, just "sit on that", "hold on that", "cling to that" in some internal economy).
> Every 30 seconds, stop writing, make a copy of the old database to a new file

I hope that by "copy of the old database" you mean "Using the SQLite Online Backup API"[1].

This procedure [copy of sqlite3 database files] works well in many scenarios and is usually very fast. However, this technique has the following shortcomings:
* Any database clients wishing to write to the database file while a backup is being created must wait until the shared lock is relinquished.
* It cannot be used to copy data to or from in-memory databases.
* If a power failure or operating system failure occurs while copying the database file the backup database may be corrupted following system recovery.

[1] https://www.sqlite.org/backup.html
It's all fun and games until the electric bill hits. Assuming you have a working power grid, of course.
You have to plug in the cable somewhere. If the hardware where the x-connect is plugged in dies, has issues, has to be rebooted, etc. you have an issue and it's not like there were no CF issues ever.
It is a similar concept that I touch on a bit in the article I linked above.

In the section "AI dominance, stagnation and human skill debt" which mentions the idea that we could break the cycle of learning new information and skill where there is nothing to fill that void.
I'm definitely curating as I scan my library. The first thing I look for is the potential for insight due to a host-guest paring that I may not have seen before - or that I have and it was pretty good last time.

If it's a news-driven podcast, I'll look for topical content I've been interested in lately.

After that, it's just what every topic I'm interested in at the moment.

I would also recommend very liberal use of the pause button. If the conversation is bubbling specific thoughts up in your head and those thoughts seem more interesting than the conversation - PAUSE IT. Nothing will be more relevant than your own insight on the topic. Once you've synthesized the thought, unpause and see how your thoughts compare to the podcasters. This is probably my favorite thing about the medium.
My kids being 4 and 6 means we’re full into Lego. I grew up with two brothers so we have like three hundred pounds of it. But lost most of the instructions.

It’s been amazing to go online and find any instruction and re-assemble these kits.

It also made me realize something: half the value of buying a kit these days is that you aren’t spending hours finding needles in a 300lb haystack.
https://en.wikipedia.org/wiki/Heat_pump_and_refrigeration_cy...
Do you support mandated age limits on workers?
New Meaning of ‘Hoover’
We are always balancing a set of constraints: total cost, speed of delivery, certainty of cost, and certainty of delivery for a given date are but four.

The real problem is that management think they can directly constrain those kinds of variables but in reality they are not inputs they're outputs. The real inputs are things you can actually control like what you're building and which of your team you assign to build which parts of it at which times. That might come in on time and under budget or it might not but shortening a timeline or decreasing a budget won't change how long it takes or what it costs.

Of course that sucks for managers who want to make informed decisions like whether to go ahead with a project that will require an uncertain amount of investment to complete but needs to generate more return than some threshold to be worth doing. Now the managers have to find a way to guess what the important outputs like cost and timescales will be as some sort of probability curve so they can make a rational decision based on the best but still incomplete information they have available. And even then a lot of managers insist on trying to be absolute about things like time and money when the actionable decisions they need to make are more often whether to start some project at all or which ongoing projects currently have the greatest need for any additional resources that are available.
I would consider dictation an OS feature nowadays.
Welcome to 1999! XHTML has been created exactly for this reason, and that's even where the self-closing idea came from.

HTML5 syntax hasn't been designed, it's been reverse-engineered from the mess HTML has become while the XHTML has been failing to get proper (XML parsing mode) adoption.
Level up your Coding Skills building real-world applications
I share weekly Coding Challenge aimed at helping software engineers level up their skills through deliberate practice.

These are challenges that I’ve used or am using as exercises to learn a new programming language - Rust most recently - or technology.

Each challenge involves writing a full application or tool. Most of which are based on real world tools and utilities.

The challenges are picked to be small enough to completed in a week or two and yet large enough to be complete working projects.

I'd love your feedback on the challenges!
Long time Joplin user. I LOVE Joplin. Got it synched with Dropbox. Several people have asked me what app I use when they see it. It's just what a note app should be: simple, cross-platform, markdown-based, can export notes.
I realize this is hypothetical, but I’d run the numbers before putting that much down… If you do 20%, you can put the rest in an index fund which will probably earn more than the interest rate on the loan. (Though at this point it’s going to be close.)
I’m surprised by this. Digital Ocean is in no position to be splurging on new revenue streams. They’re underwater and making a loss [0].

They’ve got growing revenue but falling profits and they’ve got more debt than assets. They may want to raise their droplet prices, or issue more stock and then refocus on making their business profitable.

[0] valustox.com/DOCN
A Pathogen Too Far: How the 1918 Pandemic Revolutionized Virology
Yes, that is a helpful framing and is aligned with how I approach release notes in practice. It really boils down to thinking in modes of documentation (learning, understanding, tasks, information), not doc types. Release notes can and should be "instantiated" in different modes depending on audience needs. Release notes probably don't hint at a new mode.
The whole "we want to look like XML, but not /be/ XML" has to be one of the most annoying aspects of it. I shouldn't be too surprised on this particular edge, but holy crap I also wouldn't be shocked to know that I did it wrong in some pages.
I personally don't care if you're frustrated by it. Things aren't looking good unless more is done.
LOL ok, they "failed". They haven't had an outage like this in decades and this one only affected a small number of their clients. But sure, let's spend money on providing a backup for CF. Armchair QBs are the worst.
Are your shoes tied?
Laws vary by country while blockchains are global. It's probably legal somewhere.
> So the gov can def say things that would lead to self-censorship. They just can't be dicks about it.

The government is going to have a hard time claiming they didn't engage in coercion when they've been actively threatening to yank the Section 230 protections of the Communications Decency Act if the platforms don't step up the censorship.

>You may have never heard of it, but Section 230 of the Communications Decency Act is the legal backbone of the internet. The law was created almost 30 years ago to protect internet platforms from liability for many of the things third parties say or do on them.

Decades later, it’s never been more controversial. People from both political parties and all three branches of government have threatened to reform or even repeal it.

https://www.vox.com/recode/2020/5/28/21273241/section-230-ex...
Just another day in digital feudalism: you own nothing, peasant.
If an extra tool is fine, a really common trope in the world of minimal markup languages/libraries/DSLs are ways to write low-furniture html/xml and generate the delivery files.

DMark (https://denisdefreyne.github.io/d-mark/) is the only one I've used, but IIRC there are probably ~dozens of these out there (and many eschew furniture more than DMark).
In the US the process is you go to the police to report a stolen phone and they say "tough luck, hope you had insurance".
> Syncthing doesn’t support mobile.

Just checking ... yes, I have Syncthing running on Android.
There's also another kind of doomerism, just as annoying: the one repeating "oh it goes in cycles, nature will recover" while blissfully ignoring that we probably are in position to influence and smooth out this cycle, instead of getting wiped out while nature will indeed recover in a way or another.
Exactly. Don't count on the next-gen mega-state to have a long-term positive effect on your life.
Woah, why the downvotes.
Well great, I hate it!

Yesterday somebody shared this with me and it made me reflect about what things could we learn from other engineering disciplines. It might be just me but I have this gnawing impression that a lot of the pains we have in software are self imposed.

https://web.cs.wpi.edu/~gogo/humor/hum_toast.html
Show HN: A template for cross-browser extensions using Svelte and TypeScript
It's basically a simplification for life for some people. A lot of people don't like to think in nuances. Cops have a dangerous job and now that a large portion of the general citizenry hate them they have even more reason to be jumpy and sometimes aggressive. I think politicians could help a lot by ending programs like civil asset forfeiture, militarization of the police, etc. There is big gap between militant cops in small towns beating heads and what seems to be letting criminals do whatever they like in San Francisco downtown and then the DA letting them go because they did something less than shooting someone. I, for one, choose to live in a place with relatively stable "small town" cops even though they have sort of a bad rap in the neighboring city because they actually do patrol. I'm a brown person who has had zero problems with cops even though I have a lead foot.
I post on Twitter "I'm gonna beat up anyone who disagrees with the CDC about vaccines!"

CDC views my post

Now, the CDC can't say anything about vaccines, because they know it'll be violently enforced.

The CDC ceases to exist because of my legal jiu jitsu
+1 with government project this reflect my own experience. (EU)

When a project hit a certain size and have a strict budget with hard deadlines (where hard means: political party wants it done before their term ends or there is a time restriction on the budget's availability) agile just won't cut it. You cannot say at the end of the 1.5 year project that 40 programmers and managers worked on that "yeah sorry that last dozen features and 100 bugfixes did not make it to the last sprint".

Also when there are several parties and subcontractors involved the "big design up front" stage is not optional anymore.

QA is usually a third party who gets paid to find out if everything is according to the functional spec and documentation and enter at the later stage of a project.

You simply cannot do agile in such an environment - though of course the documentation will contain the fact that you are indeed agile :D
> This all seems cobbled together and very prone to failures.

The entire internet.
I agree that many of the features they were adding were useless (to me), but I disagree that you can encompass what they do with the description of storing and editing files. Their value was in the removing any concern a user might have about where a note is, both in terms of which device, and where on the device. There are a bunch of ways to sync and edit files, but I don't want to spend time or brain power on that, I want to capture bits of information and then be able to find it again without thinking about it. What I was buying was simplicity, reliability, ubiquity, and speed. They screwed up because they didn't seem to realize that was their core value proposition.
When my hands dont hurt; im quite fond of the dog fighting in S and M ships. Go out in something small and try to peel the pointy bits off a Xen K.

More often now I'm hacking mods as much as playing the game; working out a "perfect game" system of going from a (customized) start to a billionaire empire and no remaining Xen (or anyone else you care to take offense at) in say, 24hr or less.

I don't play the way anyone else does, apparently. I never do "missions" and on my todo list is a mod to hack out the one they've apparently added recently that appears to happen regardless of player input. In that respect, the creators notion of the game gets in my way; I'm cheerfully distorting the universe here, got no time for the individuals in it.
It's a lazy and petulant acronym. I think it's okay to dislike it.
Would love gender-by-affinity rather than gender-by-bimodal-physical-characteristics. It'd be neat to try on having boobs, especially if it's e.g. temporary to feed my child or something, and still do and be seen with all the guy characteristics I currently identify as.
Why does this even need to be controlled with firmware? Can't it be a simple circuit? (I know nothing about this)
Any disaster like that is likely to be caused by fireworks finding the worst structure to burn down. Stochastic, destructive testing of building fire codes.
I think you've both got it backwards. The ecosphere in general is gravely threatened. Humans specifically though? We have engineering on our side. We can air-condition our buildings; coral reefs cannot. We can rapidly adapt to changing circumstances using technology and ingenuity, while most other life cannot adapt except through evolution (which will prove too slow to keep up.)
Tough to say, information about the systems is restricted and hard to come by.

I'm pretty sure they have hooks into audio systems for wireless emergency alerts, but could be wrong.
> I wouldn't try and write JSON so it can be parsed by a YAML parser

JSON is a subset of YAML so you actually can do that. You can throw all JSONs in the world at any YAML parser and it will parse it.

…except for some weird unicode issues that I don’t remember that most people don’t hit unless they intentionally try.
Actually it's not really a big news:

* right now: Law Enforcement need the decision of a judge to do this (when they technically can, either using 0-day or maybe asking for the phone provider to upload a malicious app under their service app)

* after the law: Law Enforcement will be able to do THE SAME without the need for a judge under some specific (but not really restrictive, like national security) conditions

So, all in all, it will just shorten the time needed by Law Enforcement to hack some suspected citizen and it won't require a judge. Is it a shame for the democracy ? Yes, obviously. Is it a change in the way for the State to spy its people ? No, sadly.

Will there be a debate about what individual freedom may be taken of citizen in the name of national/public security ? No, obviously. And sadly.
Hm, yeah, you're right. It's a difficult choice because both options are so dire, but I guess they have to be when you have a decision like this.
Ukraine Has Caught Up with Russia’s Tank Numbers
While it may be a profession, it's also a critical community service. Unlike some professions that come and go, or could theoretically disappear tomorrow, we'll likely need police for the foreseeable future in at least some form.

Binary positions like "every cop out there can just...not be a cop" are a form of false choice fallacy and ignore the reality of what this would actually entail.

"Just don't be a cop" is not a solution to the systemic problems, and introduces a whole new set of problems that I think most would argue are just as bad, and likely far worse.

Ultimately all of this distracts from real policy discussion.
I have only had one interaction with police. It ended with them trying to pin the robbery of the store I was working at on me. They had footage of another person running, but couldn't see his face. They couldn't ID his car. The officer on the scene misquoted me and they used that against me. They took me for questioning without telling me I could have a lawyer, and without telling me that my parents should be present (I was under 18). They told me I had to take a polygraph test and tried to use that to bully me into confessing to something I didn't do. I was a child.

If I, a solidly middle-class white guy can have that experience, what is the experience like for marginalized kids?

Now, that is VERY anecdotal, I understand that. But why would I ever open myself up to that kind of liability again?
Well, the web has been very successful in the last few decades. Arguably at least part of this success has been due to Postel's law since, for example, browsers interpreting HTML on a best effort basis has allowed for both diversity and innovation. Comparing the rapid adoption of the web to the failures of numerous closed and strongly specified protocols provides some empirical basis for this.
Yes, but the reason to bring in vector clocks in computer science is because information does not propagate instantaneously. This is also the key insight of Special Relativity.

The key insight of General Relativity is that in addition to, tidal effects of gravity cannot be transformed away even in arbitrarily accelerating reference frames. This is not particularly related to vector clocks.
s3 sync is still broken for me. haven't had time to open a pr to fix it.
Assuming that local user access is simply impossible is a problem. But assuming that local user access means you're already fucked can be pretty damn honest. And sysadmins are the people who will know this the best.
What if I want to live an AND life AND an OR life?

This post finds reasonable fault with false dichotomies as "OR life" then reifies the structure of false dichotomy in the title and proposition as positivist thinking.

I think the constructive equivalent is "When life gives you lemons, make lemonade". Or at least be mindful of the false binary trap, even in your personal life...