skysight-inc/HackerNews huggingface dataset:
Following TFA example, I think there's one more step that could be done (or could have been done earlier in the processes) - shift from piped, hardcoded function calls to a data structure which describes the transformations you would like to have applied to your data.

With just a few lines of mini-framework definition code, you can define a Processor system which behaves like a pipe+reducer but takes a simple data structure of initial value, functions to call with that data (and optional additional params), with the result of each step fed to the next. But in the framework you take the output of the previous step and update the results key within a process hash. Or if the function fails, you can accumulate errors in an errors key-value pair. Steps can have flags, such as :hard-fail, etc. which the Processor can use to affect special behaviors (like a rollback or a termination) based on errors in steps.

This enables really dynamic programming options as the transformations to be done on the data can be determined at runtime based on formulas or process generators.

It might seem that such an approach would make debugging and troubleshooting more difficult, but because you can add additional metadata and debug behaviors to the Processor steps data, tracing exactly what has occurred in very easy.

The only downside I've found from this approach is that IDEs may not "see" your call to functions as they are just references or strings/symbols (depending on the language).
my mistake, according to the description "Working Time: About 7hours on one Charge Can store up to 96 hours of audio", I haven't let the battery run out yet
Personally I do see FP as a “successor” to OOP, but not in a strictly constructive or chronological sense.

Building FP functionality with classes sounds just as fun as building java classes with assembly.
It looks like there are research works trying to define precisely this notion of existential risk in the context of climate change, see e.g. https://link.springer.com/article/10.1007/s10584-022-03430-y
Why is Spotify still linking to the CDC?
So, SigmaOS is a browser, not an OS. I have to say it pretty confusing to read that page trying to fit it on the definition of an OS, it took a while before I could let that go.
Maybe, but your lens might be off here. Tips aren't a fundamental part of Australian culture, and no driver (or anyone in hospo) is reliant on them like some other countries.
India. Not pakistan.
Exploiting Url Parsers: The Good, Bad, and Inconsistent [pdf]
Been saying the same thing. EA functionally is the same pattern I grew up around among evangelical extremists. It's an all purpose source of self righteous authority based on theoretical virtue erasing actual harm.
KubeVela, the extensible engine for IDP and platform engineering
KubeVela has recently released v1.6 with unified app delivery and management features. https://kubevela.io/blog/2022/11/10/release-1.6
Cryptex: How a custom iPhone is changing macOS updates
I wonder if there are languages (that have a stdlib) where that isn't the case
> By naming it such, it felt like an implicit dig that most altruism is not effective. Like oh your altruism is not that productive, but my altruism, well it's effective altruism.

But ... that's where effective altruism comes from. Have you not noticed the eroding trust in charities (https://www.theguardian.com/voluntary-sector-network/2015/se...) over the past decade? Effective altruism is just a counter-movement against wasteful charities and engenders a growing realization that not all donations are good and even that donations might not always be the best solution. It wasn't about lecturing anybody, it was about (for example) figuring out which charities are most effective and least wasteful with the money that they receive.
Instead of

const x = await promise1(someArgs);
const y = await promise2(someFunction(x));

we do

function processor(monad, args) {
return monad.unit(promise1(args)).map(someFunction).then(promise2)
}

That's all about monad.
> Use the right tool for the job

When losing an argument, some people resort to the "it's just a tool, use the right tool for the job" cop-out instead of admitting it's a bad tool and moving on. I don't think it's a good argument at all. It's a phrase you can use to defend anything.
Analysis of WonderCMS 3.1.3 Vulnerable to Authenticated SSRF
The WonderCMS 3.1.3 is vulnerable to authenticated server-side request forgery (SSRF) through the installed themes and plugins. An attacker should have a legitimate authenticated session on the CMS to exploit the vulnerability.
Great, so now not only Python will be incompatible with itself, but also incompatible with itself even if you use Python 3.

Sigh.
What is a good way to get started?
That's a pretty specific complaint.

You can use the web version of Office. You can install Office under Wine. I personally have Office 2010 installed on Linux. It works.
Awesome content. Twitter looks simple on the surface but there are deep technical solutions there.

Is there some alternate Mastodon UI that would be better? You have to expand the toots one by one and it also jumps around. Something like thread reader for Mastodon?
That is such an extremely low-effort proposal that it would already be rejected by kids in primary school.

De-escalation happens gradually and with steps taken by both sides. You may have noticed that there’s mixed signals coming from the US since Russia retreated from Kherson.
Chicken bar in Churinga is heaps better anyway!
It's always 2 or 3 in my experience.
There's quite a bit more than just the unittest removals

https://docs.python.org/dev/whatsnew/3.12.html#removed

An example of a more recent deprecation is the 'distutils' module which was deprecated in 3.10.
> This 'westernization' process started to slowly make Ukraine richer.

I don’t think Ukraine reached even the pre-2014 prosperity levels by February 2022. You need to separate wishful thinking and hard data.
Click on the figure and you will see a reference
I disagree. These lines of reasoning have always been there. Logistic thinking, and thus geopolitics, has always [i.e. for at least the past century] taken terrain and climate into account.

Selling the old as new is a basic marketing ploy. And geopolitics isn't immune to this. Clausewitz talked about logistics and terrain, Sir Lawrence Freedman has too, W. Gardner did, Robert E. Pape too (in the optic of air power).
EA is about the most "invisible hand"-friendly school of philanthropic thought going, complete with ethical arguments generally siding in favour of individuals preferring to take the best paid private sector job going to raise funds rather than working directly for nonprofits.
If you are making money trading - you are "making money" - if you are buing lottery tickets with a 1:1,000,000 payout and are on losing ticket #500,000 you are making "High EV trades"
> There's something deeply disturbing in this passage. I hope I'm not the only one seeing it.

Yes. This "disturbing thing" is, unfortunately, the cold, hard reality of the world.

> In a group stranded on a desert island, without enough food for the whole group, I think a good strategy would be: \n\n* share the available food fairly\n\n* work to get more food

Yes. Unfortunately, the entire recorded history and everything you see happening every day provides an unending stream of hard evidence that this strategy is not naturally possible for humans to take. The entire enterprise of society and civilization is, in a sense, about making it so that people take your strategy more often than the obvious one, which is for groups and individuals to hoard enough to minimize perceived risk to their own survival.

Additionally, the idea behind a competitive, free market, is that this very nature can be exploited for good of all, if the effort can be directed towards methods of hoarding that actually grow the pie.

I'm not an American, but I do recognize that "American technological dominance" in this technology is a big part of what kept my neighborhood (Europe) in peace for the past few decades. Americans would be wise to recognize that this is a big part of what makes your country rich.

I don't think GP sees space industry, or the economy, as zero-sum game in an absolute sense. But it obviously is in the relative sense, and it's the relative sense that also translates into geopolitical importance.

(And FWIW, I suspect bringing this up is another kind of "make people complaining about space industry funding go away", because again, this kind of argument typically resonates with them. Commercial and scientific space sectors, as well as enthusiasts, tend to lean towards cooperation, "citizens of the world" kind of thinking. Space exploration is actually one of those things that encourage this view.)
OP, sales is a skill that has the highest ROI of all. life is sales, it's how you pitch yourself to a company or a client, how you negotiate for a larger salary, how you identify the pain points of your clients, how you screen if they're the right fit for you, how you prioritize if you're focusing on the right stuff. even dating the right person is sales, also how you convince your kid to beush his/her teeth every after meal. all of it is sales, which is more about emotions than logic.

you resist learning it because you're anxious, probably because you got this idea that learning and doing it is cringeworthy as hell. what you resist persists, it might be the sign it's the right thing to do: to start fucking learning it.

check out @bowtiedsalesguy on twitter, his tweets alone will show you a different frame and headspace of how to properly approach these things.
You say that, but the web platform rarely if ever removes features in this way. My web code from 15 years ago works the same as it always did.
It is my understanding of nuance that leads to my dismissal of someone who’s success is entirely the result of US political culture where we can’t directly fund NASA so instead find a private parasite to funnel the money through so that the republicans don’t kill the program.
MISS Chanandler Bong
I tried googling for an example[1] and had difficulty finding a good one.

Do you have a link to a good one?

[1] https://elixirschool.com/en/lessons/basics/pipe_operator
Not-a-Boring Competition 2022-2023
> The Boring Company is excited to announce the second Not-a-Boring Competition which challenges teams to come up with tunneling solutions and answer the question, “Can you beat the snail?”. The challenge this year comes with a couple of twists and turns! See the Abbreviated Rules for the 2022-2023 Not-A-Boring Competition.

https://www.boringcompany.com/s/2022-Not-a-Boring-Competitio...
Not necessarily correct.
The reason of the invasion might be because of russian adherence to the heartland theory, creating defensive depth.

Might be Putin's megalomania, need for approval rating back home, maybe the oil prices rose and they took the opportunity, maybe to prevent Ukraine from joining the EU/NATO.

Could be a thousand and one differing things, or all of them at once.

What is correct? No one but Putin (and maybe not even him) knows.
'Ditching leap seconds' would amount to ditching UTC. We already have TAI for uses where leap seconds are a hindrance.
Happy to work with you again when I have a react project!
And not only that, GPS broadcasts, for free, the difference between GPS time (no leap seconds), and UTC (with leap seconds).

They needen't have done that - GPS would work just fine without transmitting that information globally on a very low data rate carrier (50 bits per second), where every bit sent degrades the service (longer position locking time for everyone).
Very misleading article indeed.

I have to add that GPS messages include TAI-UTC offset. That means that user of even old, non-internet-connected GPS receiver that didn't have any software updates in a decade, will still read out exact UTC time with cumulative leap seconds correctly applied.
Or, the glass half full view of the world suggests that low usage high barrier to maintenance module deprecation increases overall long term improvements and compatibility at the cost of small, planned, notified, short term inconvenience.
I’m sure it’ll be in my neighborhood.

Let me know if you’re in town and we’ll throw a party for competitors, staff, and fans at my place.
Lemmy can do what they want, but they are both being bad stewards, and hurting their own chances of success by rejecting what is typically a core tenet of federation: maximizing interoperability by default.

The nature of federated networks is such that the vast majority of nodes by count will always be more or less default configured, and serving a tiny, single digit or low double digit population. In spite of their miniscule size, they almost always punch above their weight in terms of content produced, which makes sense, given that at least one of those dozen or so people was at least driven enough to build their own platform.

Keeping these small networks in the network is generally very high value, and so generally you want to maximize federation by default. Sending some messages, either inbound or outbound into the ether, without explanation, silently weakens the network and lowers interactivity of the entire federated graph.

Maybe messages with slurs are so bad that the cost is worth the benefit, but its far from a free choice, and it's one that an API team should view as a solemn, painful compromise - hurting the network and the interface in order to keep it safe.

That doesn't seem to be the attitude or level of respect the Lemmy devs give their own decisions however, which is why I'd consider them bad stewards of their own project.
>and on jerseys

Precisely.
I used to be an avid Arsenal fan, but now it seems that I would support "Emirates Fly Better". The fact that it's on every player's shirt one might say that "TV coverage is still very clearly focussed on the shirt itself".
I do enjoy admitting, their website https://www.arsenal.com/ is rather tastefully done (I turned off all extensions to have a good look), though. And 'Visit Rwanda' doesn't seem to such be a bad thing, though I couldn't find an Emirates flight to there.
I believe that his example for sanitizeMessage() was just to give an example. An actual sanitizer would be much more complex, and thus having a separate function defined to do that one thing would be more obviously reasonable.

But you DO want these single responsibility methods like sanitizeMessage()! Having single responsibility functions like this means you have more Legos you can use where you need. You get improved code reuse. Perhaps more importantly, you also get functions which are easy to test and test more thoroughly than if you have a big procedure which does a lot of things.
Except Twitter appears to have been profitable until 2019. They would have been profitable in 2021 as well if it wasn’t for a one time legal charge of over 700mm.

The idea that Twitter was fundamentally unprofitable appears to be false.
> The problem (and I think roughly the point being made) is that if you follow that logic through, then surely almost everyone here should have the vast majority of their possessions & wealth taken, to fund the equalising up-lifting of others.

And if not software developers why not? Who gets to chose which grift is a grift and which is an honest living?

> I find it really weird that people are so glib about the "hundreds of thousands of preventable deaths" part.

So you agree - software devlopers, who make vastly more than the average person should have their wealth siezed to save those people? Or are you the one being glib aboout saving lives?
Eh? That seems entirely unrelated to the comment you are replying to.
It's Europe's business when a European country launches a European war of conquest. See: WW2 for what can happen when you just ignore fascist wars of conquest.
I see two sides of a same coin. Consumer of information, or maybe consumer in general, should be conscious about the quality being consumed is roughly determined by the expertise of producer and effort being put in. Hence the quality ladder is roughly book > blog > youtube video > social media posts > tiktok videos. OTOH, a producer should know their audience, and lower the entry barrier for their content to be consumed sometimes. That's also why, in my opinion, mostly used software are often not those with best qualities or features, but those with nice UIs, and good marketing money.
@bowtiedsalesguy on twitter, his tweets and free substack blog are great for starters.
Just to be clear: the proposal to ditch leap seconds introduces leap hours and is basically just a way to postpone the problem for 1000 years and for a future society to deal with.
Lion was a bit of a stinker in that regard, prior to that there was no “full screen” applications in that more traditional sense, only borderless full screen for video and games - anything else used “smart maximise” where the window size would increase to fit the content (again a bit of a poor choice, but that’s my personal opinion)
After a couple of decades in instrument design and field use (geophysics, astrophysics, other) it's perhaps worth pointing out for the umpteenth time that NO "scientific" or or other time series aquisition should ever "account for leap seconds" | use UTC etc.

If any at all requires a "delta-T" (lapsed time between) then a true delta-T is needed, not some correction to an earth based notion of noon.

The correct way (with multiple instruments) is with calibration runs to establish parameters and frequent (at the very least at start and end of aquisition runs) syncronisation signals or events, and for each isolated cluster of instruments to have an epoch counting clock (a sufficiently fine resolution incremental counter of time units lapsed since X (for varying X)).

"Raw GPS Sat time" - the super raw satellite frame uses a monotonically increasing count of lapsed seconds of satellite time that resets on a weekly basis.

Satellite time being a moving frame in a reduced gravity locale .. so a time frame in which atomic clocks do not run as they do at ground level and at nominal 1G.

This, of course, varies for each satellite and is reconciled by a ground station which transmits a correction frame for position and time back to each satellite to pass on to handheld recievers.
Thanks for that :-) I think it's very cool that the human hearing range overlaps with the older data rates that were possible in the beginning of the electronic era.
Someone did that with Houdini but much more sophisticated. I.e. they used more advanced bricks that allow slopes etc to better approximate the shape like a real human builder would:

https://www.behance.net/gallery/101307629/Advanced-Legolizer
> Personally I'm all for abolishing them. By the time the drift actually matters to every day lives we'll likely have technological infrastructure so different the idea doesn't even make sense.

The concern about drift reminds me of all those programs written in the 1990s which meticulously ensured century years weren't counted as leap years, but didn't bother with the 400 year exception to that exception. Which meant they'd have worked perfectly well for hundreds of years... except in the year 2000 which was near at hand. Hilarious.

I agree we should abolish leap seconds. Have civil time (UTC) track TAI.
answered in sibling comment. tldr the entirety of himself.
Ask HN: Alternatives to Mastodon?
Curious to know as more people embrace Federation and Mastodon if there's any alternative platforms to look out for? I don't think Mastodon should necessarily hold a monopoly on what comes next. I'm experimenting with writing something from scratch (https://m3o.org) but am also interested to see what's out there that might be otherwise used.

The thing that Mastodon is highlighting is this move of communities to their own platforms that might be interconnected rather than just one giant centralised server governed by a corporation. I think from an end user perspective this isn't going to be vitally important but because mostly technologists drive bottom up trends it might become more prevalent. Email is always the thing to point to. So I don't think people will all necessarily run Mastodon servers but equally this may be the starting point for lots of new communication protocols.
Brief summary of The Ideal Team Player [pdf]
> I don't really agree. The really interesting part of intuitiveness is how it scales once you became familiar with the basic set of UX primitives.

Is intuitiveness the right word? I make the same arguments about Vim, that it's one of the most logically consistent editors once you learn the basic set of primitives (not perfect of course). But I don't think anyone would call it intuitive.

> Take, for example copying. You can alt-drag a surprising number of things across many different apps and have them just work.

Why do you need to alt drag? Why can't you just drag? You can drag a lot of stuff in windows and it "just works".

> Or holding alt in menus to show additional entries.

Why does it not show all the options all the time? How are you supposed to know to press alt?

> Or holding shift or alt to resize items to preserve ratio on one or two sides.

This is pretty universal.

> Or take dragging and dropping references to the current file from the proxy icon in the window top bar. Or dragging and dropping selected text as snippets.

I have no idea what you mean, but you can drag lots of stuff in windows to different places and stuff happens.

The disk image stuff is cool I guess, but I'm guessing it's possible because Apple controls the hardware and software. I'd be pretty pissed off if some tool automagically changed my boot records.
There is git-fixup, which provides the 'git fixup' command that makes suggestions to which commit the currently staged changes should be added.

https://github.com/keis/git-fixup

git-fixup will add fixup! commits, so it still needs the mentioned 'git rebase -i --autosquash' afterwards. Usually you do not even need to give it a specific commit if your branch is set to track an upstream branch.
hard to avoid doing sales when life in itself is sales. it's a life skill.

it's how you nego for a better salary, how you identify real pain points of people, how you charge higher rates, also how you date and how you teach your kids. everything is sales.

more answered in sibling comment.
> attitude towards user experience was more prevalent in mainstream OSs.

> It's little things like errors automatically prompting you to open a graphical debugger

If this is the concept of "mainstream" and sensible "user experience" it sounds like Haiku is a complete bunch of horseshit. (And this feature is easily available in Windows anyway)