skysight-inc/HackerNews huggingface dataset:
I shake my feet and repeat the same sentence over and over in my head until I fall asleep. It’s the only form of meditation that overwhelms my bullshit thoughts.
Then you’re not paying even an ounce of attention
I've seen the dev team using https://www.npmjs.com/package/sls-plugin-dynamodb-offline

Not sure about RDS or S3, possibly use the local or dev resources in aws
Autopilot in a plane can make things significantly safer by reducing cognitive load for the pilot. However the plane autopilot will in no way avoid a collision. Pilots are still primarily at fault if the plane crashes.
> I actually don't get this at all.

> Read the article, clearly the actions by police go against the order by the judge.

Yes but they (the police) are the coercitive part of the law.
> So what is the point ? Why assume the risk ?

There is no risk or the risk is very low.

> What is the goal from law enforcement, and what is being achieved by the picture taking?

Intimidation. (take care we know who we are). If it worked so well in USSR why should not work in US ? (I know: US is a "democracy")

> Do cops think there are thugs cloaking themselves in fake press gear ? Do cops think press staff is actively participating in the riots?

No. The cops know exactly who they are.

> Where cops ordered to intimidate ? Who is the beneficiary from such a campaign ?

The state and the repressive apparatus.

> So many questions, and the article explores almost none of them. Come on gents.

Do you really expect quality journalism. It is good that they report something is happening.
Can’t you use two shared thread pools, with threads affinity set to the big and little parts of the CPU, respectively?

I think for most use cases runtime scheduling is better than compile-time one. Because other processes sharing the hardware, and because tasks take unpredictable time, depends on almost everything including ambient temperature. Not to mention compilers don’t generally know count of cores, outside of a few niches like embedded, iOS and consoles games.
Fair enough, the word is ambiguous (it can either mean “keep under restraint or custody” or “delay”). Checking someone’s ID should be the second, not the first.
You'll just get BS answers for that. Most reasons for leaves are even internally announced to the colleagues with a fake reason to save face for both the company and the employee. Mostly "moving to another city because of family" "health", "want to see something else". Never "poor performance" or "shitty tasks" or "bad relationship to boss"
Can be disabled but on in default mode.

https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#...
Because you can never implement everything only via the API, anymore than you can implement everything via SQL queries. The reason why people created custom business logic atop the data model is .... because they need custom business logic atop the data model. Oh, you want to require a captcha before allowing someone to view a record? Well, that's not gonna be in your api. It's business logic sitting ontop of it. The reason people "do" API 1st design is just that they haven't thought these use cases through very well and it all makes sense until you start looking at the details of what your business logic is actually doing. Then it's up to everyone else to either convince the decision makers that no, this really is API first design so they get the buzzword crowd off their back, or they just drop the ability to securely do custom business logic and hope no one notices.
There’s some good advice here on sleep, exercise etc. which is likely to start being helpful straight away. The impact of exercise can be especially quick.

But for me starting therapy provided a way to address the reasons behind the chronic stress in the first place. For example, it might be worth asking yourself why you feel guilt when you take time to rest.
> Maybe we should stop growing rice and almonds in the desert.

sounds reasonable. maybe generally put sane limits on water usage in desert areas (swimming pools et.al.)
An interesting scifi book deals with this - The Water Knife by Paolo Bacigalupi.

(he's pretty good, won hugo and nebula before, etc)
> The incident occurred hours after a judge issued a temporary order barring the Minnesota State Patrol from using physical force or chemical agents against journalists

They are kind of burying the lede here.

How the hell did we reach a point where judges have to intervene to order police to stop tear-gassing and beating up journalists? As a society, this is not a good place to be.
agreed, but for me the appeal of static site generation is that the input is typically just markdown and some templates so even if a particular generator ceases to be supported it should be trivial to drop in a replacement in whatever the currently fashionable language is.
Angular Galleria
A couple of years ago I was contracting for a company, and their CTO was so fired up about Lambda that that created a project to start using it - without having any other service on AWS (yet). Small sample size, but still.
React Galleria
Vue3 Galleria
AWS Lambda is a great replacement for cronjobs when gluing various AWS infrastructure components together, but I would hesitate to use it for an actual application.

Pre-packaged lambda functions are a pain to deal with if you're standardizing on something like terraform for all AWS infra provisioning - you need to jump through extra hoops to repackage the lambda functions into something you can manage.

Replacing the zip deploys with Docker images is a good first step. I just wish they'd support inter-account ECR -> Lambda usage - ATM you still need to replicate the images to each account separately.
Looks like each country has some kind of i depended developer that tries to fix poor official websites for vaccine appointments.

In is there is https://vaccinefinder.org/ (and probably others).

For Poland I've built something similar (but contrasting with the article I don't take any PII, I just post the available vaccination spots, so the users themselves need to book the spot with the info I provide): https://szczepienia.github.io

(sorry no English version)
It's both.

From what I've read most police officers in the US are barely high school graduates.

Even in Romania, which is kind of low on the European ladder of development, the Police Academy is an actual university. You go there to study for ~4 years, if I recall correctly, and there's stiff competition to get in (back when I finished high school I think there were 5-10 candidates for 1 spot).
Rasa vs. Alphachat.ai – Conversational AI Shootout Comparison
Rasa.com and alphachat.ai are some of the most advanced Conversational AI tools for building Natural Language Understanding chatbots for customer service. In this post we will be comparing the two to make your choice between the two easier.
The ability for a Chrome URL to include a scroll-to-text fragment like this is old news:

https://web.dev/text-fragments/#:~:text=supported%20in%20ver...

Having the built-in UI to easily highlight some text and generate such a link is new (but was previously available via an extension).
Peaceful != Legal

Assuming you are not right-wing, imagine having endless Trump people on the street protesting - there is no way you would reach the same conclusion.
From “Marcus by Goldman” to “Hazel by Walmart”?
Cellular Automata (1983) [pdf]
We, as a society, are bombarded with things that are distressing and the past year has been just over the top with stressful noise.

I made a point to get outside and away from the constant stress I was experiencing back in the `80s. I was lucky to live near Malibu Creek St Park when it first opened. The first few years almost no one went there and in the winter and early spring it was green and lush and the creek was running and for the most part I had it all to myself.

I noticed right away how much better I felt after spending even just a few hours there. It let me get rid of the grinding tenseness and truly calm down and relax. It was so noticeable that at first I kind of felt guilty afterwards for taking time for myself. But then I realized there was more to it than that. It's not just mental, it's a very physical difference in how you feel. It's replenishing something that's lacking physically. That's the best way I can describe it.
1 kn0w 7H12 m1gh7 83 0Dd 8U7 7H12 12 R34d48l3 70 M057 h4X0r P30pL3.
> why your expectations do not align with reality

My expectations align with industry practice, and so should yours.

Python is welcome to play games with their version numbers, it doesn't change expectations however. That they made mistakes with unicode at 3.0 doesn't mean there should be breaks every X.Y release instead.
This is a great insight.
i played it as a kid with several lack of understanding in general but also of the english language.

i: "papa, was heisst 'cutthroat'" (dad, what does 'cutthroat' mean?)
dad: "das heisst halsabschneider" (it's cutthroat)
i: "und 'swashbuckler'" (and swashbuckler?)
dad: "???"

first time in my life that my father wasn't able to answer a question.
I found it extremely frustrating in that what I expected/hope for was that I'd write a function that got called with some object that had the headers and body of an HTTP request to which I'd output a response.

Instead what I got was a (massively over engineered?) front end (the API Gateway) where the default is to add 10s or 100s of rules to try to have Amazon parse the request. As a JS dev I can only guess this was designed by Java programmers where strict typing might suggest such a convoluted solution?

It took a while to figure out how to turn off all that stuff and just pass the request to my lambda JS based function.

I feel like API Gateway should be doing absolutely nothing except routing requests to the appropriate service. That should be the default and all that parsing should be a separate service. In other words it should be

API Gateway (no parsing) -> lambda

and if you want parsing then you'd

API Gateway -> Parsing service -> lambda

Or for that mater just make the parsing a library you can use if you want.

OTOH I'm not a network person so maybe there's valid reasons for API Gateway to have such a giant configuration
> I imagine we will use nuclear powered water desalination plants. It's the only way.

there are plenty of other solutions. Building ecological cities that conserve water than suburban sprawl, changing diets away from food that is water intensive, stopping to subsidize agriculture or water-heavy industry in regions where water is a precious resource, and so on. US water consumption is way out of the norm even compared to other developed countries with similar economic output.

https://ourworldindata.org/grapher/water-withdrawals-per-cap...
What, you can go to the 522’s page of a pdf and it will insta-appear. With web technology, you can’t even begin scrolling because layouting happens from top to bottom.

Of course there are some pdf’s that is so full of multilayered vector graphics that it may take a short while, but goddamn facebook starts up the fans in my laptop, so it is hardly fair comparison.
Reminds me of "The Big Short (2015)" ending where it says "Michael Burry (...) still does (investing, which) is all focused on one commodity: water".
Curl those funny IPv4 addresses
It breaks down fast if you sort alphabetically the letters between the first and last letter.
Bitcoin Blockchain Visualization
Beautiful visualization of the Bitcoin Blockchain, calms me down while hodling
Quirky Recycled Upscaled Clothes and Bags
Generally police officers are not held responsible for suspects dying from a heart attack during arrest. Either while running away from the police officer, or while resisting arrest.
> From what I've read most police officers in the US are barely high school graduates

Where did you read this?
I can recommend r/coins, r/AncientCoins, r/papermoney, r/Coins4Sale, and r/exonumia. Outside of Reddit, the cointalk.com forums are excellent.

I'd stay away from the PCGS and NGC forums, at least for a while.
Vegan Wallets? It's here now
Minnesota has less than half the population of the US city I live in. That metropolitan area is less than a third of the metropolitan area I live in. My area, as well as many other large US metropolitan areas, does not seem to observe that animosity of police aggression and civic unrest though some do. Could this problem be regional, because it isn’t evenly distributed based upon population density alone?
Tragedy of the commons is a thing for a reason.

Why do you think that a lot of people want "small government"? The state/government is by definition in those "commons".

Regarding examples, they're countless. Think of petty tyrants fighting over the remains of the Byzantine Empire just as about the Ottomans were about to conquer it. Almost every falling empire had this behavior going on, selfish people "getting theirs" just before the fall.

It's human nature, unfortunately.
If they're sold, they will be collectibles (there's a big sneaker market out there where shoes are traded up until some rich enough guy buys them to wear once).

For day to day use, there's $30 Nikes that are fine.
Well, yes; but this is missing the context that you don't have a history of doing so. By now there is plenty of evidence that China does engage is large-scale hacking campaigns to steal trade secrets, and before anyone brings on the "but whadabout the US?", the scope is much larger (US is mostly focused on security, not trade secrets) and the US has imperfect but at least some oversight.

Was this actually used to gain unauthorized access to information? Maybe, maybe not. It was still bad to grant this access in the first place, and arguably the only reason it didn't lead to unauthorized access is because action was taken. "We let a known serial killer loose but he didn't kill anyone" is still pretty bad.

Also that this was kept secret for 12 years doesn't exactly inspire confidence.
this is great. The brand recognition alone is probably worth it. Most people havent even used the app, but know that it exists, that's got to be worth a few $B, right?
Basic Music Theory in ~200 Lines of Python
> semi-reified asynchronous dataflow programming API based on coroutines

Gesundheit!
The 72F3 was made almost specifically for this use case, though it's comparable (and may even fall behind per-core) to the Xeon 8356H.
That's an odd example. Singapore gets 92 inches of rainfall per year vs 15 per year for LA and 4 for Vegas. It's probably driven more by politics for Singapore so they don't need to rely on Malaysia for water.
Funny thing is I think millions of diesel gensets and UPSes are actually worse for the environment than just having enough power generation capacity, even if that is coal. Imagine all across the country diesel is burning in every housing complex, lithium or lead acid batteries are discharging in so many homes. All that takes valuable resources, causes pollution in various forms. But all that is disregarded in the blind hatred for coal.

We need to satisfy the demand first, as soon as possible. If solar or wind were the most effective source right now, India would have used that for sure. Who wants to pay more than necessary? The fact is that the tech is simply not there yet. In the meantime, why should we suffer?
Interesting... what bus does it use if not PCIe? At the driver level I’m guessing it just dumps NVMe packets onto shared memory and twiddle some sort of M1-specific hardware register?
How many of the people posting high quality comments on HN have the time to dedicate to doing that (in addition to writing the initial comment in the first place)?

I'd wager the answer is very few will be willing to add that time sink on. It'll all take a surprising amount of time to coordinate, prep, record, edit, publish.
I can't say I have statistics, but I've been involved in enough online forum debates to find out (and be horrified) that the US police academy is at best a 6 month long thing (post high shool).

I'd love to be proven wrong and find out that the majority of US police officers are well educated, and I mean that in the sense that they have advanced training about their jobs, de-escalation, law, etc.).
Which country do you live in? What is your average yearly per-capita CO₂ and CH₄?

Anyway, I welcome you to India. Stay here for a few years. Live through peak summers with power-cuts due to load shedding. And then repeat your message.
I love Rails, but if you like and already know Python, then Django is a better choice for you :)
It can swap to ssd real fast.
The proposed async "framework" happens to work well with coroutines, but they are not required (and infact most of the papers on the topic deal with them only in passing). You can build the async graph as an expression template and if you want, each operation (including the while loop) can be expressed as a different type.

I don't think coroutines provide (yet) enough introspection to break them down in the same way.
but why would it go through ANGLE's libGLESv2.so and add a backend to that for the PS4 when the PS4 team could most likely provide their own libGLESv2 which maps directly to their driver (since they were doing that already for the PS3) ? As this is what chrome actually calls, gles functions.
Anyone else get 1984 vibes? I can't fathom how one can see a man kneeling on someone's neck for nine minutes and then say "there must be another reason he died," but apparently that's the level of discourse we find ourselves in.
A book for quantum machine learning
Remind me why we can't find this kind of thing in the app store?

Edit: which clause stops this kind of thing?
> From what I've read most police officers in the US are barely high school graduates.

I recently worked with a police officer on a side gig. Most of the officers in that police force had a baccalaureate and several were former attorneys. The distinction of rate of education seems to come down to level of compensation.
> While law enforcement leaders say they had hoped to continue facilitating the more peaceful elements of the demonstrations with a more distanced approach, there were pockets of aggressive behavior that posed a threat to officers, as well as attempts to breach the station's outer ring of fencing, which spurred action from law enforcement to clear the immediate area.

The protests became unlawful and rightfully so.

> A lot of journalists like myself were slow to leave the area,” Colt said. “We didn’t think we needed to, and we wanted to cover what was happening.”

> Colt described police then corralling protesters and media into one group and yelling for them to get “flat on our stomachs.”

Sounds like if you had the full context it wouldn’t be so outrageous.

How do we know people are press and not pretending to be to sneak behind police lines and set fire to the police station or things like that.
The most copyable idea ever. They are truly playing with fire here, and I’m curious how this ends. If they successfully dominate this space then it will be a case of people just ignoring their conquest.

Not unlike Slack.
A World Without Slack
copy files deploy

That one is not great, unlike first two points. For one, larger bespoke programms need CI (and would benefit from CD). There is linting/type checking/testing to be done.

Secondly, "copy files deploy" is cheating. Somebody else did the job (hoster) and we are claiming that it is somehow benefit of PHP itself. Well? Did hoster do nothing? Really nothing at all? Nope.
On top of that. Performant set up for PHP nowadays do not look that much differently then say, setup for Python.

Two first points are very good. Shared nothing architecture preclude existence of subtle bugs. While multi-threading in mutable, imperative code is the definition of subtle bugs.
Those two keep PHP relevant and even on top of it's game (in certain domains).
I see, that solves it then. Great !
Well, what you just read is a counter-propaganda piece, so that’s no surprise that it was spun that way.
> too much pollution

How much pollution is too much? I feel we are a long way from that point still, in India.
Teslas aren't planes, though, so how does the etymology of the word "autopilot" help here?
Not relevant. The US Army Corp & DNR studied this in the 50s and 60s. It’s not feasible to get water from the Columbia, eel, or Klamath rivers to central or Southern California. As parent mentioned there are too many mountain ranges in the way and nuclear tunneling didn’t even pass muster then. Why would the US go to BC when it already flows in to WA & OR, and is still too isolated from CA populations?
I don't live in the US, so I'm not familiar with the law there, but I don't understand why a peacefull gathering would be illegal ? Are large gathering illegal somehow ?
Payroll Technology Trends in 2021
No business is safe from the consequences of payroll errors. Fortunately, most of the payroll errors are easily avoidable by staying informed about the latest payroll technology and trends. Modern payroll technology helps you optimize and smoothly carry out your payroll process so that you can enjoy complete peace of mind.
Anecdotes like this are plausibly explained as https://en.m.wikipedia.org/wiki/Frequency_illusion
That specific article is quite flamboyantly written. But then looking at just the intro page of the "Anti-social Behaviour, Crime and Policing Act"[0] the uses cases are very wide-ranging in a way that I don't have the experience or knowledge to judge its 'normality'.

eg:

The Act introduced simpler, more effective powers to tackle anti-social behaviour that provide better protection for victims and communities.

The Community Trigger and Community Remedy empowers victims and communities, giving them a greater say in how agencies respond to complaints of anti-social behaviour and in out-of-court sanctions for offenders.

The Act also:

- tackles irresponsible dog ownership and the use of illegal firearms by gangs and organised criminal groups

- strengthens the protection afforded to the victims of forced marriage and those at risk of sexual harm

- enhances the professional capabilities and integrity of the police

- amends the port and border security powers in Schedule 7 to the Terrorism Act 2000, to ensure that they strike the right balance between the need to protect public safety and the protection of individual freedoms.

- amends the Extradition Act 2003 to strengthen public confidence in, and the operational effectiveness of, our extradition arrangements

[0]: https://www.gov.uk/government/collections/anti-social-behavi...
This is encouraging.

>> On Chrome OS, our real-world benchmark that browses popular websites in multiple tabs demonstrates 51% less CPU usage from kswapd and 52% (full) less PSI on v5.11

In addition, direct reclaim latency is reduced by 22% at 99th
percentile and the number of refaults is reduced 7%. These metrics are important to phones and laptops as they are correlated to user experience.

>> Use cases

On Android, our most advanced simulation that generates memory pressure from realistic user behavior shows 18% fewer low-memory kills, which in turn reduces cold starts by 16%.

On Borg, a similar approach enables us to identify jobs that
underutilize their memory and downsize them considerably without compromising any of our service level indicators.

On Chrome OS, our field telemetry reports 96% fewer low-memory tab discards and 59% fewer OOM kills from fully utilized devices and no UX regressions from underutilized devices.
Why President Buhari should sack his communication minister Pantami now
There are definitely accidents with Autopilot that could have been avoided by humans, but we need to compare those against the cases where autopilot prevents accidents that are unlikely to be avoided by humans, like this one: https://youtu.be/bUhFfunT2ds?t=116

It's pretty clear that human paying attention + autopilot is safer than either: 1) human only 2) autopilot only.