skysight-inc/HackerNews huggingface dataset:
> From what I gather, your ask is to add information about the usage of the toolkit and steer people towards that. Is that correct? If so, I don't mind adding it, but I think the existing information is helpful.

Basically, yes. The point is we want people to know that writing object spreads and action constants by hand is _not_ how they're supposed to really write Redux today, and that RTK both exists and is the standard approach for writing Redux logic.

Per the "Quick Start/Getting Started" page: the point of that page is not to teach Redux or RTK. It's just the simplest possible example to show what the syntax looks like. _Learning_ this material is why we have the extensive "Essentials" and "Fundamentals" tutorials. Frankly, if having those snippets in the "Getting Started" page is confusing, I'd rather _remove_ those snippets and point more emphatically over to the tutorials.

> you're not really learning Redux, you're learning the abstraction that's built on top of Redux

Yes, and that's also the point. RTK _is_ now "Redux". Or rather, it's the form of Redux we want people to learn. Yes, it _is_ a set of abstractions, and some people may find it easier to learn if they understand the underlying principles and techniques first. That's why the "Fundamentals" tutorial exists. But, many other people just want to dive straight into writing working code and see "how to use it". That's why we have the "Essentials" tutorial, and there's been very positive feedback from people who _only_ read the "Essentials" tutorial to start learning Redux. (We've actually considered just replacing the NPM `redux` package with the RTK contents, but concluded that would be too much ecosystem churn: https://github.com/reduxjs/redux/issues/3321 ).

It is admittedly hard to split the learning material between our three docs sites: the Redux core docs, the Redux Toolkit docs, and the React-Redux docs. That's why I actually just deleted the tutorials in the RTK site itself recently, and instead now point to the "Essentials" and "Fundamentals" tutorials in the core site instead, so that there's no duplication of tutorial content. (There were several other issues with the RTK tutorials people had complained about anyway - see https://github.com/reduxjs/redux-toolkit/issues/371 ).

FWIW, this is a really good discussion and set of feedback, and I appreciate you engaging with me on this :)

If you still have concerns about how we're trying to teach Redux and RTK, could you do me a favor and file a new "Discussion" in the Redux core repo, at https://github.com/reduxjs/redux/discussions ? I definitely take concerns over Redux learning flow seriously and am interested in ways we can improve the docs, and this HN thread probably isn't the best place for surfacing the discussion :)
The idea of "unsolicited bug reports" is lovely.
Using nlp techniques to create tokens is for a fast and simple python search often not needed. It makes things slow and python standard string function are often good enough. Issues arise when searching for combinations of words like ‘machine learning’ in a sentence. Nice read, but the GitHub repro needs a license to be more useful.
What is your opinion on https://screen.so? They are made by your ex-colleagues.
Really? I can't tell what accuracy a good theodolite gets, but this consumer device [1] claims 3/16ths of an inch at 30ft. Obviously that won't scale to 1km distance like they're doing in this, a professional one seems competitive with the quoted ~2cm accuracy.

[1] https://www.amazon.com/SKIL-Self-Leveling-Cross-Line-Laser/d...
Well, if you already know vim keystrokes, just use Spacemacs. The big win is easy discoverability: using the space bar as a menu-starter, and when you find the command you want, it tells you what key stroke you could have used instead.
My understanding is this is why one should partition a drive. If you have a data partition, a swap partition, and an OS partition, you can get around issues where a server’s lack of disk space hoses the whole system.
In the style of “DH6” the author linked, I don’t agree with the unwritten assumption he seems to make: that the quality of a video is as simple as the qualifications of the person making it. Nor is it even the “density” of information provided. The overall quality of a YouTube video also involves: accessibility, SEO, inviting/entertaining narration or personality, and even some technical meta-quality stuff like the quality of the camera, audio, etc. All of this factors into the overall experience of the viewer and the skill of content creation is oftentimes very different from the skill of, for example, cooking, or coding. Not all masters are teachers.
RetroShare v0.6.6
Hypothesis: Proto-Music Was a Language That Asserted Shared Emotions
Yes, I've been really interested in FTS recently and love articles like this. I'm currently implementing a paired-down version myself in Elixir because I'm searching one "table" (not postgres) and I don't want to bring in external dependencies for it.
For me vibration is very intrusive notification, if the phone is on the table, the table all but explodes, a melody without vibration is a much softer notification.
Been using Kindle for a long time. Extra screen for working through examples. Favorite features: word lookup, bookmarks, and navigation.
I had a similar idea when I was working with them but I never got around to trying it. I was primarily using them to compose other behaviors I had developed. It is not my specialization so I'm not up on the latest research around them but I would wager that there is some interesting research that could be done in that area.
Before life got in the way, I wanted to be an urban planner. There are always relatively small projects you can do to improve walkability, encourage use of bicycles, etc.

The reality is "planned neighborhoods" of the sort you are talking about typically fail. That's not how good neighborhoods come into being.

Good neighborhoods grow organically out of good policies that foster such neighborhoods and they evolve over time.

Jane Jacobs said something about the big developments that get all built in one go along the lines of "It was always dead, but no one noticed until the body began to smell."

Yes, it has to work as a system. No, it doesn't need to get "born" all at once, like a human child or something.

The book "How buildings learn" brilliantly documents that wonderful old buildings are typically wonderful precisely because they are old and that means they've had time to adapt and evolve. They weren't usually brilliantly designed from the get go. They had a lot of wonderful touches added to them over time in most cases.

This tends to also be true at the larger scale of neighborhoods and cities.
How strange, sorry, I didn't know that it did that. Just updated it to an archive link. This is the only source I know of that gives an overview of closures.c so it's worth the read.
I advise you to check Common Lisp CLOS and Dylan.
apologies for using the K- word.
I'm not saying Elastic's model is the open-source ideal. But a product that can't find a financial model won't exist either.

ES may not give their contributors the same rights on paper, but in practice there is no discernable difference, other than that the contributors aren't allowed to directly compete with them (iirc).
> There certainly are usecases where Lucene based solutions aren't the best fit. But I think the claim that you couldn't make something faster by moving away from Python is outlandish.

I read that as a statement that they implemented a proper and bespoke algorithm, not that the speed of Python is greater than C. I am surprised that you read it that way. Who in their right mind would say Python speed is faster than C speed?
See small world networks, these supernodes are also called "hubs"

https://en.wikipedia.org/wiki/Small-world_network#Network_ro...

https://en.wikipedia.org/wiki/Hub_(network_science)
GNSS and clock comparisons measure slightly different things and are complementary. GNSS gives the position of the receiver in space relative to some defined coordinate system. This allows accurate mapping of the earth's surface and measurements of continental drift. Clock comparisons measure (via the gravitational red shift) the difference in gravitational potential between the locations of the clocks. This is affected not only by the height difference, but also by changes in the mass distribution within the earth. Transportable optical clocks would allow real-time mapping of the earth's gravitational equipotential surface (geoid). Currently, the geoid has to be determined by painstakingly levelling accross the continents point by point. This can be surprisingly accurate (cm-level) but is obviously much too slow to observe fast variations, for example due to earthquakes.
Monitoring is a good idea, regardless. However, there are cases where a bug or some other issue can cause disk usage to ramp too quickly for someone to respond to an alert.
I got my start doing professional programming working on Perl CGI code.
Before reading this, I had presumed that sparse files did not overcommit drive space, but apparently, they do. I don't use them regularly and certainly not to "reserve disk space" but I was surprised that you can make sparse files way larger than available free space on the drive. I had assumed they were simply not initialized, but the FS still required <x> amount of free space in case a block is accessed.
I think it was a joke, dude.
I've had my disks so full that a `rm` command doesn't even work, would this workaround work in those cases too?
Well, this is true for any iterated game with upside and minor (only opportunity cost) downside: the more you play, the more you win.
I like this model, but I'd replace side B with "how much you self promote your work". Someone who's side A is 1 and side B is 20 has similar opportunity as someone whose side A is 20 and side B is 1. A talented developer who isn't great at self promotion gets the same luck as someone who doesn't know what they are doing at all but can talk a great talk and enchant the execs. Surely 10x10 is better but you can linearly make up for a lack of A with a surplus of B and vice versa.
I quit Wow and now I cant put in the commitment to raid or even do mythics let alone play the tbc beta. Gods I was strong then.
The UI builder and libraries are still heavily WIP. Previously we were focused on making a VBA interpreter.

For the HTML-over-wire part we are experimenting with a protobufs-based protocol so the backend runtime can support as many languages as possible. The most challenging part is that client-server UIs have fundamentally different assumptions about state, concurrency, and session handling compared to traditional desktop/mobile GUIs that operate on callbacks. Most of the design patterns used for your typical WinForms/Cocoa UI fail horribly in web scenarios (unless the entire app is running client side in WebAssembly) because state must be held in a DB, global variables are completely not allowed and multiple users may simultaneously access a service so any form of long-running loops or blocking code is very problematic. Serverless could help here but you will need long-running serverless containers. The current pricing models of AWS Fargate and Google Cloud Run are not compatible with this.

This is additionally complicated by the fact that many languages have async/concurrency "bolted-on". It is hard to integrate a WebSockets server into the language if there is already another event loop to deal with. This is especially problematic for feature-fragmented languages like Python where async is a relatively new concept. (See https://journal.stuffwithstuff.com/2015/02/01/what-color-is-...) Go is basically the gold standard here. Overall, we are still working on how to build the language-agnsotic backend SDKs without too much duplicate code. If you see similar systems like Streamlit and Plotly Dash, they avoid the problem entirely by making proxying the default way of embedding in third party applications. The integration is not as tight as traditional UI frameworks but avoids many of the problems with state management.

For deployment, the Blazor/LiveView/HTML-over-wire format would also require CDNs that are as close to the end user as possible for lowest UI latency. Think Zeit/Vercel or Fly.io.

There's a mailing list link below where you can be notified for when we launch:

https://hypermachine.org
Yes. We usually use a ConfigExecute (https://arc.tripl.ai/execute/#configexecute) stage to dynamically calculate a runtime parameter and pass that into the JDBCExtract query for example. There is an example here: https://arc.tripl.ai/solutions/#delta-processing
Do you find it hard to connect to people without services like FaceTime, Snapchat, Messenger, or Whatsapp? I'm a similar age and so much of my socializing takes place on digital platforms like those, especially during COVID.
Hitchhiker’s Guide to Ruby Variables
Loop alignment in .NET 6 – .NET Blog
Well sure, but that's true for plenty other quirks of modernity: the fact that we got along without them for millennia doesn't necessarily say anything about their present usefulness.

Chat logs are just an example, and maybe not a very good one because of the pre-digital analogue you point out: let's try screenshots of gameplay. I used to use a third-party tool to take screenshots/clips and upload them to a server. I still have all the clips and pics from these. These days, that functionality is often part of whatever game service framework you're operating in. A while ago a friend's account got banned, and that wiped out all the screenshots and clips stored by the service. Centralization and moves away from open protocols makes it easier for that type of situation, where you don't actually own a copy of content you're creating, to come about.
> We do not allow hate, defined as publishing content or funding initiatives that call for violence, exclusion, or segregation based on protected classes. This does include serious attacks on people based on race, ethnicity, national origin, religion, sex, gender, sexual orientation, age, disability, or medical condition. It does not include attacks on ideas, ideologies, organizations, or individuals for other reasons, even if those attacks are cruel or unfair.

So what does this mean when authors write about things like gender identity? Can Abigail Shrier (https://twitter.com/AbigailShrier/status/1277906221618487296) or Debra Soh (https://twitter.com/DrDebraSoh/status/1285649878308323328) or Ryan Anderson (https://www.firstthings.com/web-exclusives/2021/02/when-amaz...) expect to be allowed on this platform without being censored or deplatformed? What about the millions of parents of girls, who do not want transwomen (biological men) in women’s sports - would Substack label content pushing for such separation as “hateful”?

And to reverse the situation: what about proponents of affirmative action, which is a call for active racial discrimination against some races like Asians and Whites? Or those calling for segregated graduation ceremonies at colleges?

How do words like “exclusion” or “segregation” apply in all these instances? Why doesn’t Substack just let all legal non-spam speech operate on its platform instead of defining vague rules that will no doubt be abused in the future?

If Substack practices the same censorship we've seen elsewhere, it really is not useful to me as a platform. We already have a whole collection of tech companies that practice biased censorship.
> Think of the better art assets that were needlessly left behind.

Consider how long it takes to edit or recreate art assets to reduce their size. Depending on the asset, you might be basically starting over from scratch. Rewriting code to reduce its size is likely to be an even worse option, introducing new bugs and possibly running slower to boot. At least smaller, simpler art assets are likely to render faster.

This is also the kind of problem that's more likely to occur later in the schedule, when time is even more scarce. Between these two factors (lack of time and amount of effort required to get art assets which are both decent looking and smaller), I think in practice you're actually more likely to get better quality art assets by having an artificially reduced memory budget from the outset.
> I do find it terrifying though how he is lynched for what is essentially rational and permissible speech in an ugly wrapper.

What he said in 2019 was basically the last straw for many people of behaviour that stretches back a decade or three:

* https://selamjie.medium.com/remove-richard-stallman-appendix...

He hasn't admitted to doing anything wrong, or feeling regret for any words/actions, and so the thinking is if he won't ask for forgiveness (?) then why should he be let back in?
You should fix it then, takes no time at all.
Absolute gold standard for use in a laboratory, probably not. But GNSS is definitely the instrument of choice for 99% of surveying and navigational purposes.
This so explains me. Struggle to concentrate in day times but at night I'm laser focused. Staying up late and only getting up later in mornings. Which for whatever reason most organisations and people are awful at accommodating.

At most organisations I've been part of I've adding some of, if not the, highest value on projects, ideas etc by far. However they never see that and focus on the stupid morning stuff so often.
I don't get it. How is this any different from typing your name into Google yourself?

I wasn't able to see if the results were in any way different from the 'normal' Googing, as, unlike with actual Google [and most search engines] the search box on that site breaks with accented characters [which some of us have in our names]

1/10 Could try harder.
Not all environments require a stringent SLA. I have some servers that don't have a stringent SLA and aren't worth being woken up at night over if their disk is filling up fast.
That same format string is used in multiple places, and unfortunately I don't think the text engine they expose to us is smart enough to do the ordinal 1st 2nd 3rd thing.

Edit: oh, we can do that. Changed experimentally.
Ah yes... good ole'

in_case_of_fire_break_glass.bin
Excuse me, but you were succesfully made to swallow the coolaid.

No construction technique out there can make wood a safe construction material, no way, and no how.

The wood still burns no matter how much fire retardant you soak in it, and it will inevitable rot, warp, and slip off fasteners.

The vodoo cult of "wooden skyscrapers" is bizarre, and the way they slip past building regulations is even more.

In BC, the wood lobby effectively managed to undo a fire safety testing for building materials, and rewrite a big part of fire code to make wooden skyscrapers possible.
Why Do I Know Nothing About the Soviet Union?
It's not just migrating the front-end if they're also using other functionalities like Netlify functions, forms, authentications etc. Netlify is not just static file hosting.
One VM using excessively more disk space than it's supposed to can potentially cause data corruption in all the other VMs on that system. For just spinning VMs up and down for testing, you probably won't run into that issue, but on a production system, it could potentially cause some massive downtime
1AM is extreme. I wouldn't even call that waking up early, more like just staying up all night. When I was in high school I worked 10PM to 7AM, and that was terrible. But, I was able to, at a young age learn exactly how much sleep I need and what it took for me to sleep (pitch black darkness - eye mask).

Now, I consider 5-6AM early and that's when I typically wake up - haven't used an alarm in years.
I don't think I'm falling for the Nirvana fallacy, or mistaking the platform and the communities.

Yes, FB has been pretty egregious in certain areas, but the question of how to prevent misinformation in online communities is a tricky one, that goes beyond the details of a particular platform and into human nature. Government can (should?) help in certain ways, but even in the best scenarios, that will have limitations, as well.

Anyway, I appreciate your thoughts.
There were social features. Since it used google accounts, there was a large base of people who were able to like your shared news items (IIRC).

I didn't have a large following, but I would see people liking my shared feed items from time to time, and they could subscribe to your feed (IIRC).
The HN title is not explained at all by the linked page, which on the contrary specifies that “For instance, call them by the names they use, and honor their preferences about their gender identity” which is absolutely not transphobic.
What you have to remember about Google is that engineers are mostly free to choose what teams and projects they want to work on. And there's also a lot of pressure to go promo.

So in the context of the times (I joined Google roughly around when this all went down, but this is not insider information, I'm just speculating) I can imagine how it happened -- it likely became hard to staff the project. It probably became hard to "demonstrate impact" by doing incremental changes on it, and little desire on the company's part to put a major push on launching new features or migrating it to new tech stack etc. etc. People working on it could have transferred to any number of higher impact projects and done better for themselves in the corporate career success game.

No manager would have the "power" to demand that the people involved stay working on the project.

So if it needed technical work, and no product managers saw a future for it, and few if any engineers wanted to work on it, and Google was in the middle of pushing its energies behind G+... It seems inevitable for a project like that to die. It was likely dying internally long before it was killed externally. That's my educated guess anyways.
> in what situation is it really worth all the added complexity of risk of pushing out functions to the edge

If you are talking about developer point of view, then there is no additional complexity. All the complexity is covered by the underlying platform

> what is the advantage of saving a few ms on a transaction?

one example - if a transaction consists of a few separate sequential transactions, then ms add up and might affect user experience.
Also an app might need to issue lots of requests on a page load and taken that there is a limit on parallel requests (6 requests per domain), the advantage might be sensible.

Having said that, I tend to agree that many use cases are not sensible to a few ms advantage
There is no 'online life'. There's just life, and technology is only one part of it. Often, not a very important part.
Just to be clear... I wasn't explaining the reason these projects get shut down, just the timeline of events and some of the contributing technical factors, since these factors are a little different at Google than at other companies.

The decision to deallocate headcount and stop ongoing engineering effort on a project will eventually cause that project to get shut down, no matter what company you work at. However, at many of the software companies I've worked at, projects that run on "industry-standard" or at least mundane tech stacks can run for a very long time with a relatively low amount of effort. At Google, the timeline is shorter.

For example, if you have a web app that runs on Rails or PHP, or something that runs on the JVM, maybe with a Postgres, MySQL, or MS SQL backend, you might be able to shove it onto different machines or VMs for years, only making occasional / minor changes to the code base. If, in 2008, you had a JVM app which used PostgreSQL and ran in Apache Tomcat, there's a good chance you could still run it today with minor changes.

At Google, the internal tech stack--filesystems, databases, monitoring, etc... has changes that are large enough and frequent enough that the situation is different, and projects are shut down on stricter timelines.
Real world vite with react and TypeScript