skysight-inc/HackerNews huggingface dataset:
This is very similar to the pattern the AWS SDK uses.

In reality, its a small benefit to readability. You gain parameter names, which is very nice, but you end up with huge function call lines.

describeTableOutput, err := dynamodbSvc.DescribeTableWithContext(ctx, &dynamodb.DescribeTableInput{
TableName: "users",
})

With the main sources of pollution here being:

1) The forced inclusion of the package specifier on the type, rather than being able to directly reference the type via an import alias or something. You can alias the package name, but that's not a great general solution.

2) The forced inclusion of the type name at all. What, exactly, would be the type inference challenge if you were allowed to do something like this?

describeTableOutput, err := dynamodbSvc.DescribeTableWithContext(ctx, &{
TableName: "users",
})

I understand, if the parameter in the signature were an interface, this would not work. But its not; its a struct. It feels to me like this kind of inference should be allowed when a parameter is a struct, but maybe I'm missing some subtle corner case where it would not work.

3) All the context stuff; both as a function parameter, and the words "WithContext". I hate this. To be clear; Context is awesome. Every function which has the possibility of making network calls should accept a context. And that's the problem; modern Go libraries liter it everywhere, adding "WithContext" mirrors of existing functions to maintain backcompat. Context really should be "contextual"; omnipresent, overrideable, and only getting in the way when its needed. 95% of functions which interface with a context accept the context and pass the context; they're middlemen. They shouldn't have to even care about the context. Something like:

func (d DynamoDB) DescribeTable(input *DescribeTableInput) (*DescribeTableOutput, error) {
ctx := getContext()
}

func main() {
setContext(context.Background())
describeTableOutput, err := dynamodbSvc.DescribeTable(&{
TableName: "users",
})
}

In other words, available via magic global functions. I'm sure there's some reason why this wouldn't work, or would have unintentional negative consequences, but I illustrate it only for the point that there are ways to accomplish this goal that are (probably) cleaner than making it a function parameter.
I understand the why but when moving country I would have thought (hoped?) they would have some sort of more flexible process. We had to go back to see our account manager no less than 5 times in the first two weeks of having our HSBC account to collect different items. We couldn't get the card and PIN at the same time for "security" so had to get the PIN first, then the card two days later?!

I fully understand their need to protect against mail interception and fraud but I think there are better solutions than getting me to go all the way into the centre (about half an hour of my time each way on public transport) to pick up a cheque book is a little extreme.

Funny thing with the OTP generator. They posted that to us! FFS you can't make it up!
Professional services companies business is about selling/billing hours. Those involved in the sales are seen as an asset, those involved in providing the service are seen as a cost. They don´t care about the latter.

DXC, Accenture, Capgemini, Indra, etc...they are all the same.
> (which can be hidden by the user)

I wish this was more obvious to people. Had to use my retire parent's phone to long into Netflix for them and it was overflowing with of persistent notifications.
I regularly do payments >£30 with Android Pay. I'm not even sure where the limit is. It is probably an issuer limit.
Six bloody years. No more!
Looks like about 4755 every 3 seconds

https://southfloridareporter.com/the-average-american-consum...
A studio apartment is a one room apartment that usually has living space, bed and kitchen utilities all in one room. I’m not sure if you understood that. People tend to go for them because they’re cheaper.
I imagine this has been studied to some extent in various uncontacted tribes. Does anyone have any information on that?
There is no reason to spend time on any variant of C in the age of Rust.
What are your use cases? 6 or 7 seems like a lot.
The budget of intelligence agencies is not anywhere near that big.
I have the Trello desktop app staring me in the face all day from a third otherwise-redundant screen, it serves me well to know what is top of the to-do list. A whiteboard is on my to-buy list however.
Stuff like soma.fm replaced that for me. There’s nothing like turning on groove salad for a bit.

There was a period of time where, after work, some friends and I would get together in one of our university's research labs to solder keyboards. It was always empty by then. We'd put on soma.fm and then get to work. Good times.
When cellphones first came out, they eschewed classic ringers to sound modern and fresh. As soon as they started offering custom ringtones, I loaded up sounds from a classic TV and Movie sound effects library onto my Nokia. It included a Rotary Phone sound that became my standard ringer up until I started leaving my phone permanently on silent.

I can't find the sound fx library online anymore but it had all sorts of sound effects used in TV and movies from the 50s to today. I've heard the effects in Looney Toons cartoons, classic Scooby Doo, Mission Impossible, and Knight Rider just to name a few.

Unfortunately I didn't think to keep the entire library and so I only have a few sound files from it converted to MP3.
True - zooming is an abomination compared to Safari ... but I don't zoom that often, so of course, YMMV.
"On paper, this sounds a bit like delayed barter, but it bears some significant differences."

Yeah sorry, but it is a barter economy. They only frame it differently to get their papers published.

Yes, it may work not exactly like described in the economics textbooks (and gift economies have some interesting specific properties). But I am really tired of people claiming everything in economics textbooks is to be taken absolutely literal, and if the real world is not like that, then classical economics has been refuted.

Of course they use idealized models in the textbooks, including the rational actor. The economists are well aware that they are using simplified models.
This guy apparently spent 5 nights in a row down on the platform waiting for the right photo (I imagine taking many photos over the 5 nights until he got this). It really shows how important patience is in getting the right shot.
The War on Consciousness (2009)
The second example just seems to be a shopping mall without a roof.
There is no reputable ETF that will give you 15% return. Even 10% real return is incredibly unlikely.
How to Work with Product Manager as a Software Engineer
Show HN: eSIMs – an iOS app to compare data eSIMs (for travel)
But you won’t find those loose usages in the media. They’re just savvy enough not to get sued.
I don't trust my car. I roll down the windows if I leave the keys in it for any reason so I don't get locked out when it decides to auto-lock itself or leaving it running or to step or whatever reason. I sure am not trusting it to drive itself. Maybe in 2150 when the technology is hammered out.
this dns server only needs to run for 5 minutes every 4 weeks while renewing certs - no open ports otherwise
I think that's only on mobile apps because when I listen to mixes at work I have never heard an ad.
> That gave me the gut feeling that most people doing the research were lacking the necessary mathematical background.

I don't find this to be the case with most ML researchers. Is it possible you have misunderstood some of these papers? It is, after all, hard to jump straight into a new field.

> The second paper converted float to bool and then tried to use the gradient for training.

This sounds like binarized neural networks. If that's the case, they keep the activation before binarization to use for backpropegation.

> The third paper only used a 3x3 pixel neighborhood for learning long-distance moves.

A single layer of 3x3 convolutions would not be able to model long-distance moves. But I have not read a single paper where they have only used one layer. Is it possible they stacked multiple conv + pooling layers? The receptive field of each unit higher up in the stack grows pretty large in the end.
take that UML
which funds require this?
Most ETFs have returned about 7-8 % average long term (before allowing for inflation). Not a bad return, but very different over 20 years from 10-15%
Not unlimited, and not for all use cases. Check out Cloudflare ToS.
It's also interesting that the article seems subtly framed as a hit piece against Adam Smith. You have to get 2/3 of the way into the article before somebody says "you know nobody actually believes that, right?"

Yes, Smith himself did believe it, which makes this an interesting article about anthropology and the history of economics. But the whole thing should have been structured differently.
I think he's barking up the wrong tree. The problem isn't "movie set urbanism", it's just boring, old "too much parking". Too much parking creates sparseness which reduces walkability. But putting parking behind stores ("movie sets") creates a human scale street space.

While organic urban growth should be cherished, there are extreme cases, like most American towns and cities, where urbanism needs to be forcefully bootstrapped. In this case, we're artificially accelerating the evolution of a neighborhood and skipping over the early rural and suburban forms, going straight to a small urban core. I can see the long term hope of infilling those parking lots with more buildings as the town grows outwards.
Ask HN: What kind of stuff do you automate at work?
I am a developer at a large agency. I build web apps using Javascript and Typescript. I have been learning Go and want to find ways to use it at my day job. What are some things that I can automate or build tooling for? What types of automation do ya'll create for yourselves at work?
This math is off because the vast majority of Silver sponsors are at $10k, and some of the sponsors at all levels are in-kind, meaning we get something other than cash from them.

In 2019 we spent $3.35M in cash (we came in a little under our projected budget of $3.6M). We raised $3.82M in cash between sponsors, grants, and individual giving.
It sometimes seems as if half the purpose of assistive driving systems serves to compensate for the absolutely horrible sight lines in a lot of newer vehicles.
That would foil me if it was my only memory device. A+B=C is true of ~55 (napkin math) different 3-digit numbers. Plus another 40-ish for A×B=C and 50-ish for A-B=C...
By this logic we are speculating that perhaps being blind from birth blocks the symptoms of schizophrenia to the point that it is no longer a "disease". I don't know if this is correct, but a compelling idea.
> How do you do that?

For the last decade, 10-15% average annual return would have required keeping 70-90% of the funds invested in Nasdaq-100[1].

Also, Vanguard 500 Index Fund (VFIAX) currently has a 10-year average of 13.52%[2].

The general advice is not to keep more than (110 - your_age)% of your retirement portfolio in these high risk / high rewards funds.

Therefore, it's entirely possible to receive 10-15% annual returns until you turn 40, but as the period of time until retirement shorters, it becomes too risky.

In other words, what is a "medium-risk" at 35, can be a "high-risk" at 55, because one might not have enough time to recover from an economic crisis at an older age.

[1] https://www.nasdaq.com/articles/when-performance-matters%3A-...

[2] https://investor.vanguard.com/mutual-funds/profile/overview/...
Donald Knuth: Algorithms, TeX, Life, and the Art of Computer Programming
> Once you can conveniently call up an automated Uber the need, at least in cities, to buy your own car will effectively vanish.

I doubt it. One of the biggest obstacles you have is families and the need for infant car and child booster seats. Car ownership is here to stay for a while.
This "LOC as a proxy for productivity" metric seems so much harder to measure in a useful way on brownfield work.

On my most productive (in my own estimation) brownfield days in recent memory, the codebase would generally shrink by several hundred LOC.

I also find that a huge factor in my code production rate on brownfield projects might not have much to do with me, because it's factors like, "Is the code well-documented, easy to understand, and backed by tests that make the intended behavior clear? Or do I have to start by burning days or weeks on wrangling with Chesterton's Fence?"

And, on the other side of it, when is documenting and cleaning my own code to guard some future maintainer from that situation vital, and when am I burning a day of my own time to save someone else only an hour in expectation? All I know for sure in that situation is that, if my manager is assiduously counting LOC, ticket close rate, anything like that, then game theory demands that I should never bother to spend an extra hour on making it more maintainable if I expect that the cost of that decision will be born by one of my teammates. The 10X rockstar developer at a previous team of mine taught me that lesson in a rather brutal manner.
I've watched children use a mouse for the first time, and there is definitely an internal model you needed to learn. No, you don't need to learn exactly how optics work, in the same way that you don't need to learn exactly how Git is reading from files, or how its hashing algorithm is implemented.

But you do need to understand that the mousepad doesn't correspond to points on the screen, and you have to learn to treat it more like a treadmill than anything else. Going back in time and thinking about it from a rollerball perspective can help with that -- new users have a tendency to use something like 90% more space because they don't grok that for long movements they have to pick up the mouse.

People are bringing up the mouse as simple because they're used to using mice. But hand anyone a mouse for the first time and you'll find out that they aren't simple. They're just doing comparatively less than Git, so the problem space is slightly easier to tackle. And that's even ignoring the hand-eye coordination problem we take for granted, and that can take weeks for someone new to computers to get over.

Talking about internal mechanics is broadly useful when teaching computer literacy -- everything from mice, to copy/cut-paste, to shift-selection of files, to the file browser itself benefits from trying to build a systemic, mental model of some kind of behind-the-scenes abstraction.
Cost Cutting Algorithms Are Making Your Job Search a Living Hell
beside the death, the worst part is that Tesla/Musk were all about sound science bringing benefits to users. Now it's becoming a stats game over PR. And I'm not even sure anybody bought a Tesla for AP. It was like a clear coat class option.
Well known registrars wouldhave a maintained code. Sounds fine to me. Someone has to maintain it, but it is amortized over the population
Beach Clubs in the South of France: As Seen on Instagram
If you have the reverse DNS set to something within a domain you own, they'll usually let you do it yourself (the process involves them sending an email to postmaster or abuse at the parent domain of the server or at the AS which controls the IP address, but you get to choose which one).

Still doesn't seem to stop them randomly flagging emails as spam, sometimes mid email chain.

The MS support team are also responsive in my experience.
Good question. I’m guessing that modern browsers such as Google Chrome and Firefox does. When it comes to agents such as wget, curl, mstsc.exe, etc, then I’m not so sure.
Singapore vs 51st State vs Iceland? Rien ne va plus, le jeux sont fait. ... ball rolling ....... number 0 ... . The dealer always wins.
You do not have to use your registrar's dns. You can register wherever you like, and host dns from cloudflare, route53, gcloud or whatever you want.
I have a Tesla and think Autopilot is neat. But I never rely on it, because it is blatantly not safe enough to be relied upon.
Image optimization is crucial for the transmission of the image but once the browser has decoded the image, and this is an educated guess, it lives in memory for the rendering process as rgb(a) which you can calculate as (4 [for 16-bit] * width * height) bits.
Thanks for reporting. It feels like web 2.0 made us all wanting to reevaluate the old habits, only to realize that they were good compromises (unless you have a crazy team member, a crazy commute etc)
Reminds me of Facadism as part of the larger pattern of cargo culting trends in development to try to gain the benefits of the "new way" without deeper changes resulting in nothing really different.

On the parking issue and related housing shortages I wonder how viable an attempted rail primary based housing development project to a major city would be in the US for NIMBY dodging. Apparently that is fairly common in Japan along with new rail line loops receiving housing developments and subway/train station centered commercial districts. In theory existing neighborhoods would scale up and add public transit as density rises but in practice they complain like hell over any changes. Optimistically successful examples could give a kick in the pants to NIMBYs as their property value drops anyway due to the competition of a new area and they realize commutter trains aren't the devil or a waste of money but reduce road traffic.
Byuu v0.8 Released
No idea, but if you can't think of anything else there's bound to be an iPad mount and a whiteboard around that size you could combo up
Patreon for Groups
AWK was written in 1977, so Unix folks have also had AWK for quite a well too.
DoorDash forced workers to arbitrate, now faces millions in fees
Redesign: The Raccoon King of Garbage Mountain
If you think you have aphantasia, you almost certainly do. I was in the same boat, but after conversations with a few friends I found that the ones which don't give very literal descriptions of their imaginations.

It isn't in any way an analogy, they literally do see the things they're imagining. It's like a hallucination, except with control and full awareness that it's not real.

It's easy to see how that could turn into actual hallucinations, I'll agree.
Interesting so maybe the more accurate way to measure is increase LOC + decrease LOC.
built a vue app , connected to stripe to handle payments.
Was looking for ways to collect funds for side projects, meetups etc and built it.

if you are a group of people who want to collect and use funds transparently, do get in touch naveen@awesomeorgs.com
Self Driving Delivery Vehicle First to Receive US DOT Approval
Sooo... not to rag on HN or anything, but this seems like the kinda thing that ought to be implemented as a user profile preference (e.g. a pay-wall boolean or perhaps even a whitelist). Because without getting into a philosophical debate, whether or not a user is interested in seeing submissions that are behind a paywall is most definitely a user preference.
I believe clients that don't support name constraints extension won't pass certificate chain verification should the root, intermediate or certificate itself have a name constraint defined.
So his issue is people needing someplace to park their cars?

They arranged the buildings in an aesthetically pleasing way to disguise all the parking, I say bravo.
This! It was not unusually to have 100folks sharing a 20mhz workstation. Trying to run interpreted language was a pain! Heck, even compiling a few hundred line C code would take seconds.
Not the person you're asking, but it seems it's very easy to get to 6 or 7: Netflix, Prime, Hulu, HBO2Go, AppleTV+, Disney+, Spotify, SxM, etc
Samsung Galaxy Z Flip at first glance [video]
https://news.ycombinator.com/item?id=22297621
Sounds like a bit of an outlier situation. However, it also would seem to have a fairly simple technical solution.
Indigrid - A tool for structuring lists
Soundcloud is the only music service I happily pay for even though I really don't need to. There aren't enough ads to justify giving them money, so it's really just because if they went away I'd lose access to all the best music
I honestly don't understand why there isn't more attention paid/focus on the fully autonomous limited access highway driving in "good" weather use case. That would be hugely attractive for a lot of people. Read a book/watch a movie while heading up to the mountains for the weekend or, for many, take a nap for part of their morning commute.

I suspect it's because it's less interesting to the demographic that's more concerned about being driven to and from bars on their night out or who just don't want to own a car period. But highway driving seems like a huge convenience and safety enhancement even if you just punt on city driving for at least the next few decades.
Pretty sure he meant the dns provider. If he was talking about the domain registrar he would have said domain registrar.
WhatsApp Hits 2B Users
No, if you can have 1000 services maintained by 5 eng, you're doing fine.

The problem organizations hit is such: you have 2-3 huge services maintained by 5 engineers. The company grows, the services grow. 5 eng become 10 eng become 100. It's still the same 2 or 3 services but much, much bigger. You get to a point where people are getting in each other's way, and every additional person you had provided less value than the people before them. They have to work within the boundaries of the system and coordinate with other people.

It's all in the same programming language so you are limited by one pool of potential hires. Tech debt affects everyone. Deploys affect everyone. Downtime affect everyone.

So you split it to solve some of these. Then split it again. And again. And again. You keep splitting until someone can reasonably wrap their head around a single atomic piece, from implementation to deployment. The piece can be rewritten from scratch at any time without impacting any other piece, in any language, on any infrastructure, with any framework, to optimize for the people working on it.

That's great, but that piece still has to be part of the whole. These event buses are an elegant way to keep them together without adding complexity at the individual piece level.

Yeah, it means people might not the understand the whole system anymore, but do they need to? It's like people organization. The CEO doesn't know the intricacies of the HR system. They know it at a macro level but defer to the HR manager for the details. Same thing here, but with software.
Samesies. I'm glad someone else considers home built pipelines a fun hobby as well.
It looks like more non-auto piolet drivers have died at this location than auto piolet drivers.
Why is there no multilevel parking? All that space can't be cheap. Is there zoning laws against it?
Communicating/Interacting with ppl who have different opinions is hard enough. But what I meant by allying is even harder than that. It's to help them get the freedom they wanted first. It will be a long process but I think that's the only solution. Only when China is more free then HK will surely not lose its freedom. It's some effort to protest and wave US/UK flags during a protest. It's some effort to get US/UK to have economic sanction against CN. It's some effort to say we have done our best to inform mainlanders of what's going on. Not all of those effort will help and for the ones that help they are probably not enough. Only mainland citizens can make China more free. We can install a "democracy" in China tomorrow but if the citizens don't have the knowledge to use it then HK might end up in a worse situation, facing the full strength of the tyranny of the majority.
Parsing JSON Quickly: Lessons Learned [video]
The 2020's Most Successful Business Women to Watch
You probably could get self-driving cars if you really wanted to, provided that the self-driving traffic doesn't mix with regular traffic. And ideally without humans in the self-driving cars.

Not sure that's what the self-driving cars proponents envisioned though.