skysight-inc/HackerNews huggingface dataset:
I've implemented a few things from RFCs and I always wish that for each RFC there was a library of test cases to test your implementation.

Does anyone know if there is anything like this for HTTP or associated RFCs?

Eg, for HTTP header parameter, names can have a * to change the character encoding of the parameter value. How many implementations test this? Or tests for decoding of URI paths that contain escaped / characters to make sure they're not confused with the /s that are the path separators.
> it breaks the .sh scripts

What? No it doesn't. Shebang exists for a reason, and you should ALWAYS use it anyway, fish or not.
Ask HN: Whats a good IRC channel for Science Fiction?
Spent a little time on IRC after being introduced by a friend / long time user.

Still dont know it very well but would like to learn more.

Thought scifi might be a good inroad for me.

Specifically hard contemp ie kim stanley robinson, liu cixin etc and a healthy foundation of pkd if that makes any difference.

Thanks in advance! :^)
I'm a bit concerned about the lack of statement and/or substance at all.
This depends on which "real world" you're talking about.

Doing the behavior that feedback driven control-systems do but even better is a nice and impressive applications. That seems most useful for applications like the application that's being described - swarms of flying drones. Flying generally already yielded to various control system - autopilots work because the skies are mostly empty and so your system working according to your predictions is all that matters. A drone swarm is much more complicated but is still under the system's control.

It's worth saying that the "real world" where a lot of robots fail has different challenges. Whether you're talking self-driving cars, robot dogs accompanying troops or wheeled delivery robots in hospitals, the problem is figuring both what you're looking at and how to respond to it. And this has the problem that nearly anything can show up and require unique responses, causing progress here to never quite be enough. And better physics and better cooperation between controlled elements doesn't seem that useful here and this approach might not help this "real world".
Give me the best advice to rank my page
I am a webmaster and for the last years I am just writing to other webmaster begging for a guest post. Instead of focusing on my project being great, I am investing 80% of funds to stupid link building. This is so frustrating.
I guess this no-response-yet response is better than a complete silence or some quick dismissive excuse.
Yeah that was so funny to read that about the company that was the first to demonstrate reusuable boosters!
Also a keyboardist, and you can pry my emacs from my cold dead fingers, but I still think it would benefit from a bit more ability to incorporate platform-appropriate keyboard-driven GUI widgets/arbitrary drawing. For example, if the minibuffer could look like a regular GUI text field + a drop-down menu, or a floating command palette, I genuinely think it would be a nicer experience (and would make it "look more modern" which is not a terrible thing)¹. Similarly for the mode line and fringes. If some of the peripheral elements could be enabled to escape the "everything is a grid of characters" paradigm I think it would be a net positive.

¹I've tried mini-frame, and it's fine, but it's still just a utilitarian grid of text.
How do you develop for it though? Do you install it locally as well? Or do you only do interpreted languages and/or Java? I suppose Go would work across distros also (because it doesn't use libc), but that's all I can think of.
Sweet Naked Objects
Why is HTTP so complex? The base use case (hypermedia request-response) sounds really simple.
> Disagree? Ask yourself when was the last time you created something at work that provides a net benefit to society's survival.

I think you have a point, but at the same time I’m not sure it’s possible for everybody or even most people to have jobs that are crucial to society. Once you hit certain technology level and population thresholds, a lot of jobs become all about optimization and margins — even those that have more of a concrete role in society. It’s unavoidable unless we drop back to pre-1900s technology and/or population levels.
Law of diminishing returns i guess
PHP isn't Linux with its strict "never break userspace" dogma - but for real, a PHP version upgrade should not be that bad to follow.
Of course you could always just do ctrl+r and cycle through and refine suggestions in bash
But I don't think we can get to the singularity with humans in the loop. Chips have to get better faster than the humans can do the designing, even "with the aid of" computers.
It's reasonably easy to replace the chain yourself if you want to control costs.

https://www.parktool.com/blog/repair-help/chain-replacement-...
„Eventually terrible memories turn into great ones“

Rejections and awkward situations are awful and really hurt afterwards, but after two days you will forget about them and in 3 months they will make you smile and you have a story to tell.
Only if power is free
Because some people are more easily fooled, doesn't mean that we should remove protections. Lol

Crypto IS higher on the radar because it's easier to pull off a fraud and send it through a bitcoin mixer. That's simply proven by criminals preferring crypto.

Bank money mules are a lot harder to accomplish if you're not a criminal organisation. Additionally, the money is more easily recovered through banks and banks should return your money from fraud in many cases: Eg. https://www.citizensadvice.org.uk/debt-and-money/banking/ban...
Did you still have the same problem when you offered the latter enough money to dissuade them from pursuing something else?
My wikipedia fact checking tells me that the third domain is archaea which together with the bacteria are prokaryotes. Or did I read sth wrong?
150w of a 200w FTP is tempo territory. That is a long way from being a cruising pace.
I'd love to have an electric version of the Honda Super Cub. Good carrying capacity for around-about, not as large as a full-sized motorcycle. Dunno if it's available in the US yet.
That's because "birthdays" we celebrate are technically birthday anniversaries. Hence starting from 1 year after the actual birth day
A deleted Tweet from her has broken the thread. The full version can be viewed easily at https://threadreaderapp.com/thread/1463885539619311616.html
What is this?

class User
{
/**
* @Assert\All({
* @Assert\NotNull,
* @Assert\Length(min=5)
* })
*/
public string $name = '';
}
PHP 8.1
class User
{
#[\Assert\All(
new \Assert\NotNull,
new \Assert\Length(min: 6))
]
public string $name = '';
}
In 100 years it will probably be possible to genetically engineer humans with more or extended range pigments, which are sensitive to IR / UV.

Or maybe we'll just have bionic hyper-spectral eyes which plug directly into the optical nerve.
If you are receptive to lists of gratitude, it is worth noting that one of the many tools of cognitive-behavioural therapy (CBT) is to try to keep a journal of everyday gratitudes[0] (something like "write 3 a day in a journal" works, but other things like open prompts about "what are you grateful for this week?" can also work). Plenty of other examples out there[1] can help too.

Not everybody will enjoy doing that or benefit from it, but CBT overall is proving itself to be very valuable for people suffering from clinical depression, and if that tool from the toolbox doesn't resonate with someone it's always possible to look at other tools[2] too.

[0] https://greatergood.berkeley.edu/article/item/how_gratitude_...

[1] https://positivepsychology.com/gratitude-journal-pdf/

[2] https://www.therapistaid.com/index.php/tools/cbt/none
Great to see some playfulness and whimsy in this architecture. So many architects today only pursue minimalist grey boxes in everything they do.

It might be garish when it’s this bold, but I really wish a little more of this kind of thinking would make its way to western buildings
No. And I write as much. There's not really any new new evidence so further discussion is stoking the fires of nationalism.
> when you type something invalid it’s red, blue when not

Does anyone know how to do something like this with Bash?
The other third thinks they will get rich as influencers…

Seriously, it’s hard being a parent of this generation and trying to get them to understand how much of what they are consuming is an illusion.
Social skills are harder to learn than machine learning because you can learn them on your own.

To learn social skills you need to do practical work involving other people. But everyone your age is lvl 99 and you're at lvl 5. It's not even about catching up anymore. You basically speak a different language than these people.

There aren't really that many good explanations of basic social skill stuff because it's mostly unconscious to people. They have never explicitly thought about it. It comes so naturally that they can't teach it.

Also most people would rather make fun of you than help - look at people on twitter and so on screenshotting this thread and insulting the OP. Not sure why that is a thing.
In a standard market economy with many participants the incentive for efficiency is in productive portions of the economy being able to deliver more for the same cost. In a cost+ model of value the cost is typically assessed in terms of building new today. If the original builder was particularly inefficient then it will lead to a lower valuation for the home as new buyers consider the cost of building new.

This process incentivises more efficient means of production, when goods become very cheap relative to performance then consumers of that good can spend money elsewhere. In practice most material goods should be on a cost plus pricing model for this reason. The alternative is scarcity economics which hardly incentivizes efficiency but instead rewards market timing, monopolies, and other activities which don't do a lot to make the world better in the future.
I posted that and I'm 0% Chinese. What do you think is unreasonable about the comment? Isn't it true that nothing done to prove that she is fine has been accepted?
It is a great way to cook chicken and turkey.
Applied Science is amazing, +1 highly recommended. Well, to both.
A robot flanneur will save us from the protestant work ethic. It is written.
All math notation was created by mathematicians who wanted to quickly represent something, either to:

- better see the structure of the problem; or

- reduce the amount of ink they need to write the problem

Very similar to how programmers use functions, in fact.

To this end, mathematicians in different fields have different notation, and often this notation overlaps with different meaning. Think how Chinese and Japanese have overlapping characters with different meanings.

As others have stated, there is no "one true notation" -- all notation is basically a DSL for that math field.

Instead, choose a topic you are interested in, find an introductory text, and start reading. They will almost certainly explain the notation. Unfortunately, even within a field, notation can vary, but once you have a grasp of one you will probably grasp the rest quick enough.

I will mention, though, that some notation is "mostly" universal. Integrals, partial derivatives, and more that I can't recall right now all use basically the same notation everywhere, since they underlie a lot of other math fields.
The police in the UK aren't enforcing it because they haven't got sufficient resources. It's not a policy decision.
Food for thought: when has any action of the Chinese government been cast in a good light by Western media?

We start from the conclusion "China bad" and search for evidence to confirm it, while ignoring contrary evidence.
First math course at university of Waterloo:
https://cs.uwaterloo.ca/~cbruni/Math135Resources/courseNotes...

Learning everything about math is nearly impossible like knowing everything about all code that exists.

That course should teach some basics for proof strategies. Ex here on page 2, there are definitions with examples: https://cs.uwaterloo.ca/~cbruni/pdfs/Math135SeptDec2015/Lect...

Specialized math tends to have specialized notation. For ex Linear Algebra, Calculus, Combinatorics. Any decent textbook will have an appendix or table with what the notation means.
If it is confirmed to spread like this chart makes it look like, this is very bad.

https://nitter.net/jburnmurdoch/status/1463956686075580421
+1 for Sceptre, they have some really interesting models at good prices; unforunately they don't seem to support DVB, and shipping+taxes to Europe would be outrageously expensive anyway.
Yes, the screensaver is part of the OS, not the app.
Honestly, to just get moving, installing Doom emacs and selecting evil mode during setup. The basic keybinds are all Vim then, works great for me with minimal headache.
TLDR:

* Will be released on a predictable schedule every 2 years, supported for 5 years. Minor releases every quarter.

* GA will be based on Fedora 35. Preview is currently based on Fedora 34

* There's no official statement regarding compatibility with Fedora packages

* SELinux will be enforcing by default

* Kernel will be a kernel.org longterm version, not the Fedora one

* VM images/docker containers will be officially available when GA. For now you can download images unoffically [1]

* Unofficial ETA is Q2 2022. For reference, AL2 is currently officially supported until June 30, 2023.

1. https://news.ycombinator.com/item?id=29344927
You should encourage people for learning, not try to tear them down.
Web is not dead.
Also the person camped/slept in a dry river bed which is one of the worst possible places to camp. A flash flood or torrential rain uphill can wash him out in seconds..
and I can see even the company had recommended him to sleep. Really ignorant to put him at risk like that. Always follow the river but maintain distance.

You can see here how dry river beds flood https://youtu.be/oWHvi_tW-rg?t=206
>At the end of the day a large portion of the population is not going to simply accept that they need to shoulder the losses for a bubble they didn’t make and had no perceived choice but to participate in.

They (you?) don't have to accept it. That's not a factor at all. Your acceptance is not required.
Some, like Stephen Wolfram, say that the universe must exists, that non-existance is not possible.

https://writings.stephenwolfram.com/2021/04/why-does-the-uni...
So, basically, another Covid variant, but much badder than Delta?

I’m a bit fed up with coronaviruses tbh.
*Hello there, do you need hacking services? please contact DarkHorseIntelligence At Usa Dot Com! You just have to be careful, most of these hackers called here are impersonators, I know how real hackers work, they never advertise in such a gullible way and they are always discreet. I was tricked so many times out of desperation trying to find urgent help to change my grades from school, finally my friend introduced me to a group of trusted hackers who work with discretion and delivery promptly, they do all sorts of hacking that vary;

+Credit score increase/repair

+Database Hacking,

+Crypto recovery

+Spying and monitoring of any device

+School grade hack,

+Company records and systems,

+Bank Account Hacks,

+Clearing of Criminal records of diverse types,

+VPN Software,

+Monitoring of GPS locations,

+Bank transfer, Western Union, Money Gram, Credit Card transfer,

+Bank Account Hacks,

+University Grades Hack,

+Any social media platform hack,

+Retrieval of lost documents

+Facebook Hacking Tricks,

+Email hack: Gmail, AOL, Yahoomail, Proton-mail etc,

+Mobile phone (call and text message Hacking are available)

+ATM hack,

+Retrieval of lost documents, etc..*
But if you are writing framework or library that has to deal with both, its:

result = fn()
if isawaitable(result):
result = await result

And turns out isawaitable is not that fast so things like GraphQL libraries that run above logic thousands of times per request get noticeably slow.
Don't write off gen z, write off their parents and educators who haven't shown them another way.

We have created a harsh economic climate, surely we are more responsible than the next generation.

Tech has built a brand of meteoric magic, it's not surprising snake oil can be sold in such an environment.
18 miles is ~30 km (for us, people who use the other measuring system), which, computed roughly, gives me a 6-7 hours walk. Yes, it's expected of a person who goes on trips regularly to see that as a piece of cake but for us, town folks, it might not be that easy, in any case, not a piece of cake.
Why does RTFM not apply to mathematics dependencies?
Some good picks on the list (Solaris, Kindred, VanderMeer, Chiang) but also some awful ones. The Martian is probably one of the worst popular and hyped books I've ever read, together with Ready Player One.

If I had to pick one PK Dick book it wouldn't be Scanner Darkly but Ubik or Flow My Tears, the Policeman Said.

Also I think some important non-English fiction is missing. Yevgeny Zamyatin's We is a foundational dystopian book, Roadside Picnic is great, 20000 Leagues under the Sea and Ten Billion Days and One Hundred Billion Nights is a pretty wonky Japanese SF story. Also Eumeswil by Ernst Jünger for a niche German recommendation, not sure if this was ever translated.
It's worth mentioning that Emacs is not a text-only editor, but is able to function in a text only environment if configured to. I think many people never consider giving Emacs a shot because they think it's purely a terminal based program.

Modern Emacs can be (and mostly is) compiled with GTK support and features a GTK interface, but can be launched in text-mode with a command line argument. If you don't mind using bleeding edge versions, there is a branch called "PGTK" that allows the GTK interface to run natively on Wayland!
Conceptual Programming with Python
That’s the git plugin doing it’s thing. You can fix it in config but I admit is an annoying default.
Apple is not known for overpaying. Apple is however a significant volume customer and volume customers usually enjoy a huge discount that smaller customers don't get. So in addition to preferential allotment, Apple is probably paying less for the same node.
Ask HN: What can lead to misleading names of functions?
1) parse_str in PHP, which extracts query parameters from request URL. This can have simple explanation: this is old relict which was designed at earliest versions of PHP. And PHP back then was designed as web templating language, not general programming one. So this name wasn't much confusing in this context;

2) What about functions like getOurCityTimezone() ? This functions seems to be returning timezone of our city but what it really does is checking if current time is before certain deadline (determined by specific business rules). I can't give simple explanation to this.
This looks like:
* Programmer who wrote this function, is not fluent in English. Even with this statement the name is too divergent from real meaning of function to be just lexical mistake. And the programmer could translate it roughly with Google Translate;
* This function would be initially called as "isBeforeOurCityTimezone", but as programmer wasn't such fluent in English, this was called "getOurCityTimezone". AND it really determined if current time is before 00:00 (next day) in local time. And it was used to calculate date gap. But then business decided to shift border from 00:00 to earlier time like 23:00 . And for the sake of backwards compatibility, avoiding copypasta and not "wasting" time for refactoring only the body of function was changed. The name remained the same;

What are common reasons to misleading names of functions?
Yeah this sounds like a terrible idea. The current goal is to build reproducible and hermetic builds. By adding more complexity it’ll be much more difficult to get the same artifact, build after build as well as give another method for attackers to achieve supply chain injections.
I got a really lovely chrome single slice from...i think the 30s or 40s on ebay for $30.

work required: completely dismantle.

soak return coil spring assembly in mineral oil.

make a new carbon contact by cutting down a motor brush

replace cord with new cloth 3 conductor (plastic didn't look right)

10 years later and still works perfectly.
Post-scarcity is a noble goal! But a lot of people seem to put the cart before the horse and imagine eliminating the economy would cause post-scarcity to show up.

To my mind the economy is a jagged, violent tool that aligns everyone's petty, selfish interests roughly with everyone else's. As the 'everyone's a central bank minting slavery-backed currency' thought experiment highlights, it's self-contradictory in some important ways. I still think it's the best tool available for the kind of changes that might lead to post-scarcity if we're lucky.
In less than 2 weeks B.1.1.529 dominates in South Africa: at 75% of last genomes
You can get reasonable version control integration from zsh without any kind of wild oh-my-zsh config. Most distributed versions of zsh are compiled with vcs_info enabled.

autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git hg
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:git*' formats "%{$fg[cyan]%}(%{$fg[green]%}%s %{$fg[blue]%}%r%{$fg[cyan]%}:%{$fg[green]%}%b%{$fg[yellow]%}%m%u%c%{$fg[cyan]%})%{$reset_color%} "

setopt prompt_subst
export PROMPT="%{$fg_bold[red]%}%n%{$reset_color$fg[white]%}@%{$fg_bold[green]%}%m%{$reset_color$fg[white]%}:%{$fg[cyan]%}%1~ \${vcs_info_msg_0_}%{$fg_bold[white]%}%(#.#.\$) %{$reset_color%}"
I started using vim before switching to emacs, and my experience was that just installing evil-mode and then picking up any normal emacs tutorial was enough - I skipped all of the editing specific stuff and got the interesting stuff from the rest. You might want to try that.

Actually, your question made me realize that the interesting part of vim is the modal editing interface, while the interesting part of emacs is everything but the text editing bits. So, focus on those.

Does that help, or have you already tried this?
These are attributes which add metadata that can be programatically acessed by applications and tooling.

That piece of code is about data validation.

See more at https://www.php.net/manual/en/language.attributes.overview.p...
>the only difference between a cop in the US and a cop in the UK is better training and less reliance on guns

Ah, so that’s why American cops routinely murder random people and go unpunished - it’s just the lack of training!

(The reality is that there’s a fundamental difference in that in Europe police is just another government branch that’s helping people, like firefighters and doctors; normal people don’t need to fear them and avoid any unnecessary interactions, which seems to be the case in the US.)
> It’s unavoidable unless we drop back to pre-1900s technology and/or population levels.

No. What we need to do is to not define our worth as humans by the work we do. Only then we can truly automate our crucial needs (i.e. food production, transportation) as far as possible without fearing massive social unrest by millions of people "without employment". A single train conductor replaces a hundred truck drivers. Many governmental services could be done by the citizens themselves based on automated processes. Most teachers (especially the ones who spend all their day droning in front of a blackboard) could be replaced by videos.

The only thing where we will definitely need humans in the future is research, care work and construction/trades. Everything else? Look at the Star Trek economy.
Some pointers that might be useful:

https://www.youtube.com/playlist?list=PLGP2UnPoZ7HzLGU2cyK1M...

https://github.com/noctuid/evil-guide

https://www.spacemacs.org/doc/VIMUSERS.html

Best of luck!
I know this is included in booster reuse, but it demands being emphasized:

SpaceX is landing rockets at sea on comically small platforms.
Humans are way less tolerant of audio lag than video lag, in fact.