skysight-inc/HackerNews huggingface dataset:
I'm always wondered why some people prefer to use a lambda in a variable instead of just a function.

I'm referring to using

var f = (a) -> code;

Instead of

function f(a){ code }

Which are exactly the same.

JavaScript (and typescript) prefers them. Is it because of a convention or it really has advantages?

Haskell (and other functional languages) also use them a lot, but I guess in these cases the language is designed around it.

Kotlin, Java and other languages with lambdas doesn't really benefit from them in my opinion. If it's a global variable, a function is just enough and 99% of the times preferred. If it is something local, either inline it or also use a function (Kotlin allows for inlined functions, Java doesn't; and maybe, if you need to capture variables, a local Function variable is the only instance where this is useful, but otherwise please just use a function. * )

Python and other languages with limited or not available lambdas do use functions, and there are rare cases where a lambda would help.

In general, if you are using language X try to use language X's features and best practices. Don't try to program as if you were using language Y, it will only make it more confusing.
You can easily see when someone is used to a language and tries to use another without understanding the differences. Going from java to python is a very clear example (classes everywhere! Loops just because!)

* In java, an initialized private Function<> field is 99% of the time useless and worse than just a function. And 99.99% if it is final.
I think everything released in 2023 has the new DRM system which is not really removable. There might be a way using a specific kindle device but I was never able to get it to work. It stinks
For the uninformed, is this like the Interac system in Canada?
For me upvotes = articles I think are worth sharing AND bookmarks of interesting articles.
It's impressive how many pages are devoted to creating the universe in the book. Back then you didn't just fire up the OpenGL library to initialize the stack. This book starts off with how to set the registers on your VGA card to put it in the right mode, how to read in bitmaps and their palettes from the disk, how to write your own run length encoder to save memory on those bitmaps, what registers to set on the joystick port, and so on.
Why wouldn’t this hypothetical authoritarian government also just ban the use of crypto currency? If they then ban you from transacting while in their jurisdiction, and you don’t become homeless, starve to death, and so on, why would they not arrest you for clearly violating their unjust laws when you pay for those things in crypto?
> If you don't trust them, they actually are going to work less hard for you

Trust? Ask the colleagues that got laid off by email.
The Eleuther AI Mafia
Wordpad was able to open RTF files much better than Word. Word will mess up formating.
I’m not a C++ guy, but this topic fascinates me. Might poke around and try to have an LLM transpile the code from C++ to Rust. I expect it won’t work but worth giving it a shot :)
.bit account is similar to the Ethereum Name Service (ENS). For more detailed information, please visit: https://www.did.id/
The large dimensionality seems to be what creates the need for heuristic designs rather than a generic approach
It's interesting to look at the source code. However, I have yet to find a clear unique selling point that justifies the development of a new language and infrastructure, or clearly shows me why I shouldn't just use D, for example. Any hints?
It was also fun seeing how long some of those sites held onto their pinstripe backgrounds.
The problem with apple pay is that it is inaccessible to 80% of the population.
The problem with selling features is you’ll get sherlocked.
Found my answer randomly
https://twitter.com/sindresorhus/status/1597251293965594624
Hyperplanes are the heuristics.
I've not done that personally, but I'd have a look on the freeswitch forums to see if someone on there has already done it.

I have had the free 3CX sip client on an android mobile, using a UDP vpn back to a freeswitch server which was connected to the UK phone system. Proof of concept thing.

Because of the nature of the mobile data, which is like bursts of data, it made it hard to have a conversation even around midnight and 1am when cell traffic volumes are low.

I was told UK Telco's give voice data priority as this needs to be realtime and then other data has lower levels of priority making it hard to have a reliable stream of data.

FYI, 56K is the minimum standard for voice calls, although with 4G and beyond, its possible to hear the higher bitrate protocols being used on the main mobile networks, as its not so muffled, like someone turning up the high end frequency's on a graphic equaliser, and they are fully down with the 56k protocols.

I dont know what the minimum video protocol bitrate would be, but I did find this which might be useful.
> H.264 will only consume around 10 kbps with around 2 fps in 176x144.

When Skype first came out, it was peer to peer, so as a proof of concept to test the new 3G network I did manage to maintain a voice call for an hour which was impressive, but also shows that mobile networks can maintain the mobile data streams if its not encrypted inside a VPN in the UK.
Just to be clear, even though I submitted this article, I'm not the author.
Patterns of modular symmetry in famous sequences
No - complex is what we have. I'm suggesting tax preparers offer a useful service and if government provides free tax prep it would be subsidized with higher taxes.
Tax prep companies are no worse than insurance companies would you have the govt offer free insurance too? And free everything else while we are about it.
Funiest thing is, in win11, the notepad use RichEdit again (but use winui's richedit control, not win32
really really cool. I always wanted to see how zocalo looked back then, with the lake in the distance
Platforms never tell me why I’ve been banned, so I don’t know. But I’ve been banned at some point by every social media platform I’ve used except hacker news and Google.
Except when the GPL header is missing from said code and the user has no idea it is protected, and/or the developer has no idea it was stolen
I'd probably hate my job too if I worked in gambling. I might not morally object enough to quit, and in-person gambling is kind of an interesting novelty... but it doesn't seem too exciting to make games that people don't play unless they think they'll get rich....

Do those younger devs truly get stuff easily, or are they just vaguely familiar with more npm libraries than you, because they were studying that instead of focusing on deep fundamentals? Maybe you're every bit as good as them and they're just lazy and cheating, or happen to be specialists in specific things you're not?

Or perhaps they're just well rested because they don't have a life. I've been that!

I've solved years old bugs before, some might think I'm one of those devs you're talking about, but I have no clue what actually happened with some of them.

Performance doesn't matter on this algorithm that only executes once at startup? Rip it out and use a brute force thing. I'm not even gonna pretend to know enough math to fix it.

Hand soldered thing on proto board with logic gates got messed up? I kind of feel bad, but I'm going to put it in the junk drawer, replace it with an Arduino, and be done with it.

No matter how smart you are, I can still not do something faster than you can do it.

The most capable people always seem to make things harder for themselves, by taking "Pride in your work" a bit too far, well past what actually helps the product, especially with mental stuff, where there's curiosity, pride, desire to develop new skills, and all kinds of things leading one to make stuff harder.

Worse, there's even inertia, where someone might spend 3 hours debugging with print statements rather than exploring a different IDE with a debugger, or write something themselves without any research on how others did it.

Perhaps that is how they got to be the most capable people, by never turning down a challenge, but if they're gonna keep doing that, maybe they should go where their efforts are appreciated, maybe doing something novel that can't be done by the rest of us boot camp copypaste masters..
If you like plain text, you'd probably love it even more with a better text editor.
Excellent example of how AI is often confident and wrong, but you wouldn't know if it weren't for an authoritative source providing the truth.

(Stripe in context evokes the magstripe of a payment card for me too.)
Virtually nobody cares about the company mission. Remote workers are slightly below in person workers, but they don't give a shit either.

I am just as happy when my company fails as when it succeeds. Not my job to care.
They are quite literally beggars for government money. Welfare is abused heavily in many ways and a lot of people use it as an excuse to laze around on the taxpayer‘s dime. And even if they don’t want to, the system fully endorses that ever since we stopped requiring them to work for the government.

As you’re someone from the Bay Area, you genuinely have no idea what you’re talking about, especially in regards to Appalachia. You make a large enough salary to survive, possibly even thrive in an area on the complete opposite side of the USA. The people here are lucky for $40,000 annual salaries. $80,000 and you’re sitting pretty. My father’s never made more than $35,000. I‘ve lived here my whole life and seen the damage welfare does to a community. People have kids just to maximize welfare, they waste their money on the vices they explore now that they don’t need to work, the community is lost.

So sure, allowing “treats” isn’t a big deal on paper, but when 65 million, or 1/5th of Americans, are on welfare with 42 million of them getting food stamps, AND you consider the predatory behavior of food companies alongside the general distain the government holds for the health of its people, and you end up with a system that promotes short term pleasure and “feel-goods” rather than actually attempting to improve yourself to where you can contribute like an actual human being.
Yes, it's a really simple idea that doesn't require much code. Really shouldn't be hard to clean it up and publish.

I was actually playing with similar ideas a while back. I didn't have any code at all, I was just experimenting with prompts directly in the API dashboard. The idea showed some promise, but it didn't seem like the API cost would be worth it. I suspect you would be much better off with a vector embeddings approach.
It feels like the era when people needed or wanted WordPad has come and gone. If you're satisfied with something simple and don't care about specific Word features or formatting you're probably using Google Docs or OpenOffice or something.
Equal Experts | Multiple Roles | Bengaluru/Pune, India - Hybrid/Remote | Full-time | https://equalexperts.com

Equal Experts is an innovative consultancy specialising in the delivery of custom software solutions for blue-chip enterprise and public sector clients across a range of industry sectors. We work on important projects for our clients, deliver market-leading propositions across the digital, online and mobile channels, and are recognised for our leadership in the application of agile and lean delivery methods to assure delivery. We have offices in Australia, Germany, India, South Africa, the UK and the USA.

At Equal Experts, we foster a collaborative environment where you can use your diverse skills and work closely with clients, enabling them to enhance their products and add tangible value. It's a world where you collaborate with talented individuals who share your passion, continuously learn new technologies, and implement best practices.

Currently, we are actively recruiting for several senior or lead roles, requiring relevant industry experience:

- Front-end Engineer - 6+ yrs
- Data Engineer - 6+ yrs
- DevOps Engineer - 6+ yrs
- Tech Principal - 10+ yrs
- Product Owner - 10+ yrs (in Tech) with atleast 5+ yrs in a Product-focused role

If you are interested, please send your resume to sudeep.giri@equalexperts.com and include "HN: Who is Hiring" in the email subject line.
Bitmovin (YC S15) Is Hiring Senior Software Engineers in Austria
Why is it hard today? A few months ago I started writing a software rasteriser and got that exact feeling.
I don't know who this is for exactly, but I would recommend registering your site with the [Public Suffix List](https://publicsuffix.org/) to protect you and your users from subdomain abuse in web browsers.
The Economics of the Asteroid Deflection Problem (Dominant Assurance Contracts)
It seems strange to call it "non-consensual" for them to not maintain a now-little-used application in perpetuity.
> As an aside and a comment on the article, I feel dismayed by the author's decision to include the 'go brrr' meme. It's connected with toxic sentiment and communities from where it's generally used, and is oftentimes used to needlessly mock a group of people. There was good content in reading the article, but it turned me off at the beginning as it was rather childish -- in not-a-pleasant way -- and unfunny, and it made the rest of the article hard to read with that taste in my mouth.

I have questions...

Is the author aware of the toxic communities and their use of the meme or is the author a member of these toxic communities?
Is it the authors intent to exclude you in anyway when using the meme?

And if there a bunch of "no" answers above: Why is it the authors responsibility to keep track with your associations with this meme?
Not op, prior to UPI all these transactions were done using cash, credit card penentration in India was quite low.
Jupyter Lab
What's the point of having two 67%-width windows next to each other?
I always figured it was a play on words based on the stripe on the back of a credit card, the magnetic strip.
Let's try and bring this back to the original example. If WordPad cost money who would use it and not one of the much more robust competitors?
> once the codebases diverge to the extent that it can't just rebase on Gitea for the feature work Gitea does.

The plan is to stay close enough for that not to happen, at least that’s how I understand it.
Baresip is the single cleanest SIP client/library that I've ever found. And there aren't many.
Given that the compiler for this language is not publicly available, is this still open source, considering that you cannot easily modify and rebuild it to your liking, despite being GPL?
I've added them all to the poll now.
Nah, For a system similar to Interac they have NEFT, RTGS and IMPS which are bank acc to bank acc transfer. UPI requires bank account but you need UPI id to transfer the fund.
If you raise the minimum wage then prices inflate equally. This happens literally every time some bonehead passes a law requiring it. It’s almost like printing more money never solves the problem.

The problem is and always has been that the government is greedy and takes income tax, a tax that disproportionately affects the lower economic rungs, for no reason other than to line their own pockets. Alongside the black box that is the federal reserve, that is.
>when Vision Pro becomes trendy

Vision Pro or its copies are unlikely to be unlocked enough to run user supplied linux.
Feeding yourself requires a whole set of logistics that no one prepared me for. Eating cheap and healthy twice or three times a day requires a bit of planning, shopping and cooking skills. It's something you have to keep doing regardless of how late you come home and how tired you are.

A few years later after a move abroad: Stoßlüften!
I always thought /dev/payments was a cool name.
Here's the link to the EASA note on this: https://www.easa.europa.eu/en/domains/aircraft-products/susp...

It seems like they're caught providing fake documents from one of their suppliers
Thanks a lot for the heads-up.
Then download one of the various word processors that are available for Windows.
OLE isn't any more "malware riddled" than anything else you install on your PC, at its core it is just a fancy plugin system for embedding stuff in a document without the document editor knowing about it. OLE is as susceptible to malware as any other plugin system - in other words unless you somehow[0] install malware, you wont get malware.

[0] "somehow" here includes said malware taking advantage of unrelated security holes but this is true for everything, not just OLE
I understood your criticism of my post. What I was asking for as how you would have expressed the criticism of the post I was criticising, since you mentioned that you also don't agreee with it, just like me.
“You should use a scripting language to make it into something tolerable” is the most damning review of a program you can give.

It’s basically saying: “It’s great software, once you finish writing it yourself.”
I would be curious what traits separate JetBrains vs VS Code people. Anecdotally, it is people who want a lot of control of their system (VS Code) vs people who do not want to deal with all that crap (JetBrains).

I did try VS Code once, but the lack of autosave annoyed me enough that my trial lasted less than a day. This was admittedly before I knew there was a large ecosystem of extensions and I am sure there is some extension to deal with that problem, but needing to go scavenging for things like that would annoy me.

The 250 bucks is a great deal to not have to deal with things like that.
Don’t all smart phones do this nowadays? iPhone built in gallery app does and I know a few Android models that do too.
the magnetic strip(e) on a payment card
Almost every household in our neighborhood was headed by a veteran of WWII who was, indeed, white and essentially the same age. The GI bill enabled them to buy homes with minimal down-payments and Richfield was a hot spot for contractors who built dozens of houses at a time using only a few different floor plans. It is interesting now to pass by and notice how each seems to be unique--people have remodeled so much over time that only a few are obviously "original." And she is certainly correct in her reference to the baby boom; most families had at least 4 children, if not more.

This reality powerfully shaped our housing policies, financing infrastructure, etc. at the time. We live in the shadow of this history and most people seem to be largely oblivious to that fact, which mystifies me.
China is replacing some of its older dams. Many were hastily built during The Great Leap Forward, with more emphasis on rapid completion than quality and safety. There were dam failures, some with huge loss of life.

https://en.m.wikipedia.org/wiki/1975_Banqiao_Dam_failure

A new dam is built alongside, then the old one dismantled.

For example, the Fengman Dam on the Songhua in N.E. China was originally built during the Japanese occupation of Manchuria:

https://en.m.wikipedia.org/wiki/Fengman_Dam#New_Dam

http://www.xinhuanet.com/english/2018-12/12/c_137668907.htm
Isn't that because most people understand that trains don't drive on sight?

Railways are for trains, roads are for people.
Brew supports dumping installed things into a brewfile: https://github.com/Homebrew/homebrew-bundle

I was using text files before as well to manage it.
How does this compare to MicroSIP, which is the best cross-platform client I've found thus far.
I think In JavaScript, it often comes down to the fact that you want to use arrow functions if you need to reference this, for instance when creating callbacks for events in a component class context. Since there are some use cases where it’s necessary, some people just use it all the time so as not to have to think about it. The only thing you lose is function hoisting.
Use case: Count down 1 minute.

I need to click on countdown timer. Fine. Then need to hit the few pixels by few pixels large arrow up to increase from 0 to 1 minute. That makes this essentially unusable in practise. It may work in a controlled environment where there is good light and a steady hand, but if I need this outdoors while walking, no way.

Make those buttons bigger.
The original question was whether LLM's are "smart" in a human-like way. I think that if you gave a human a computer, he'd be able to solve 3-digit multiplications. If LLM's were human-like smart, they could do this too.
It's ironic that you at first seem concerned about "normal folks that embrace the song", but then "down punch" them by calling them "useful idiots" at the end. Your "lack of awareness" is quite something.
The most impressive con I’ve seen is that almost the entire country believes one of two puppets on a stick is “for them” and totally not for maintaining and strengthening the oppressive systems that have been put in place over the last 150 years.

There is no irony that the men north of Richmond are Republicans, that is in part deliberate. The irony here is that you interpreted a class struggle song in a way that allowed you to feel knowledgeable and superior to those who choose the “worst policies”.
An institution like physical cash can be powerful/deeply-embedded enough to survive authoritarian governments, and I presume the same would would apply to a widely adopted electronic cash. The political cost to do away with an institution grows in proportion to how pervasive it is.
I had that one in like 9th-grade as a hand-me-down from my brother. Learned so much, from 3D transformation matrices to how to make an 8-bit audio DAC.
While square sounds cool, it also means old-fashioned. Strip seems not a good choice either (seedy or "strip off your money"). Stripe was a good choice.
The design made me thought I was in one of those placeholder sites for domains that were on sale.
Yeah, I can count on one hand the number of times I've received payments there, and it's always from individuals whom I know and trust, obviously, and we had a prior agreement to exchange the money.

I also had a decent chargeback experience, long long ago; I think it was about 17 years ago. It was just an independent band selling tee shirts, and I ordered one, and then they said whoops, we've got none in your size, sorry. But no refund from them, so I pursued it via PayPal, and the situation was easily resolved. Obviously, there was no repeat business for that vendor.
One of the most common usage of logarithms that I encounter is digits. In that case I usually just write dig instead of log.

Another important case when logarithm shows up, that multiplication on (0,inf) and addition on (-inf,inf) have the same structure, and logarithm creates an isomorphisms between them. Usually it makes multiplication easier/more familiar. Vi Hart has an entertaining video about it [0] where she explains how she likes to smell numbers, and visualizes the exponential function on a line written values over it, instead of a 2d graph.

There are a lot of other cases where logarithm may show up. I usually treat them separately. For example if a logarithm shows up as the integral of 1/x, then chances are that I better think of it as the integral of 1/x, and I don't gain anything if I think of it as the number of digits. That doesn't happen often.

[0]: https://youtu.be/N-7tcTIrers
> It goes without saying that any function that throws an exception which isn't caught is wrong and must be punished.

Surely the failure is in the lack of handling, not in the throwing of the exception itself? I suppose the lack of checked exceptions in Python makes it impossible to blame the handler because there is no way to indicate what exceptions may be thrown.
Interac is not real time. UPI is completely real time and money gets debited from your account and deposited to the merchants account instantly.
Before the 19th Century "ignore" meant "to not know," in accordance with its Latin origins, if you're looking for other words to try and turn back the clock on against the overwhelming tide of modern usage.