skysight-inc/HackerNews huggingface dataset:
This reminds me of Ticketmaster vs. Pearl Jam in the 90s where the band exposed that Ticketmaster takes a much bigger cut that ticket holders didn't see in addition to a small 'ticket fee' that the ticket holder did see. I remember during that time that the general consensus from music fans was that Ticketmaster was an evil and greedy company.

Restaurant customers really need to change their perceptions and understanding of restaurant economics before it collapses under the current pressure – many will not return for a long time, if ever.
"Computational" code that isn't by the vernacular definition of "functional"--and you can write functional code regardless of programming language--is something of a red flag to me.

Operate only on your inputs. Return all of your outputs. No side effects.
I meant expand on how those things make code easier to understand, not why unit testing causes you to adopt them.
It could scale if there's enough people ordering food from the same geographic location to the same geographic location at around the same time.

Imagine a bunch of ghost kitchens next to each other in an industrial park, offering discounts to certain neighborhoods if they agree to order in a certain time frame.
Conti ransomware uses 32 simultaneous CPU threads for blazing-fast encryption
Manifold Computing: A different kind of research lab
>Yet we continue to treat it (economics, the global financial system) as some kind of inevitable force of nature, rather than as something that we invented and (to some degree) chose. I wish I knew why that is.

The powers that develop and promote this ideology will profit from it even as the planet is destroyed.
[deleted - brain fail. Comment posted correctly above]
Add to that drivers complaining that they're getting exploited.

But yes, all of those can be true. Paying someone for 30 to 45 minutes of their time is expensive.
Unfortunately a lot of online recipes and cookbooks are for people looking to make something different and special, not looking for an everyday meal.

Being a home cook (as opposed to being a chef) is actually a lot like programming. Learn a few simple patterns and you can recombine them in different ways. Look for patterns in any recipes that you follow and then you can reuse them in other situations. I can give some examples.

Basic cream sauce from fat (butter or pan grease), liquid (normally milk or stock), flour and seasoning.

The many ways of cooking eggs.

Basic grilled cheese

Seasoning with salt and pepper

tasting and adjusting as you go

Pancake variations

Biscuit variations

Quick-breads

Temperatures of doneness for meats (there are charts, get a good meat thermometer).

Chopping (you really need at least one good knife).

For example, I can make a very nice sandwich by combining white sauce, a fried egg, and a grilled cheese. (Put a fried egg and cheese and inside the sandwich, lightly coat with white sauce, fry as with grilled cheese. Season with salt and pepper.

I make biscuits, boil pasta or veggies and cover them with a very similar white sauce.

Boil macaroni and some broccoli, add cheese to the white sauce heating until it melts, combine both in a baking pan with some breadcrumbs on top, bake until it looks set (25-35 minutes at 350(f) is a good bet).

Basically the idea is to learn a few basic recipes (each a different ‘sub process’ or function) and use or them combine them with other ingredients that you have.

Taste every so often to ensure that you don’t make something inedible. Give it your full attention.

Sometimes you’ll make something truly weird and other times you’ll make something amazing and different that no one’s ever had before.

Just don’t burn your house down and don’t deep fry anything until you’ve got plenty of experience and know the dangers.

Obviously the recipes I’m giving are very vague, thats kind of the point as it is all up to your taste, which is different from mine. The key is paying attention to what you think is good.
I think prices today are to some extend inflated by government action. But it is hard to tell by how much, since also the global economy will grow again very soon. And if anyone benefits from more digitization and remote work it is MSFT.

Also for MSFT specifically, I think the company is in a very good spot right now with its cloud business, gaming and office, developer and productivity software
My father recently retired his printer (Epson LQ-850) not because the printer had failed, but because driver support was lacking. We had used the same printer since ~1992. He was super bummed; he had stockpiled ribbons and still had a full box of tractor-feed paper.

The explanation he was given by the person in charge of administration on his university-department computer: At least on the system he was using, modern drivers expected a reply from the printer in response to commands, but apparently, the LQ-850 only receives commands but does not reply.
Yeah, I don't see having a monoculture as really that terrible, depending on the type of work being done. It can be more efficient and have less interpersonal conflict than a workplace where everyone has a different perspective, gets offended by things the other person doesn't intend to be offensive, requires more communication to get on the same page, etc.

As you sarcastically pointed out, diversity for diversity sake is a false virtue IMO.
>They obviously can't openly say that because there would be revolts from their drivers.

Uber at least has been quite explicit about that. It's somewhere between delusional and what's known in the vernacular as "lying" but investors who are either naive or are cynically bought into the greater fool theory lap it up.

Delivery specifically can work in dense areas but it mostly relies on local kids or family members working for peanuts and can't really pay for overpriced SV engineers or VC yachts.
The Chef Who Couldn't Taste (2011)
One thing I've learned, is that unit testing seems much much more painful than it has to be when you are using too many classes.

When you are writing code as pure functions (i.e. stateless), it's actually much less painful. In the provided example, I would never write a class to curl a website and parse json.
No, unit tests aren't tied to the current implementation, they're tied to the current interface. If your programming interface calls for multiple interdependent objects without central coordination, then yes, you should test that. But I would say that you've already started out with code that is too badly structured to allow for testing the units in isolation: you should be able to unit test A without relying on Z at all.

It's integration testing that validates that all your units still combine (integrate) into a working end product. That's not about testing your implementation nor your internal interfaces, that's about testing your program's inputs and outputs.
This seems so strange to me. You could have just skipped over the article. I probably only read 5% of the stuff that shows up on the first page.
It's doubtful that these services are actually spending 25% of each food order on providing the service. The money goes to expansion, marketing, loss leaders, and other supposedly temporary overhead. They're hoping that when they reach scale and have eliminated competitors, they'll turn a tidy profit, the way Amazon did.

It's not at all clear that they really need to spend that much money on their expansion or that they're doing so ethically, but either way, don't weep at their losses. That's not the reason they're charging so much.

As for the restaurants, they're in a bind. The services that deliverers provide should be much cheaper at scale. They need somebody to do delivery and to take online orders, both of which are a hassle to set up yourself. Not impossible, but you'd expect economies of scale if you're effectively sharing a driver pool and software development cost with all of your competitors.

If your competitor has a delivery service and you don't, you'll lose a lot of business. If you develop it yourself, you pay the overhead. If you buy in to the services, they have a lot of power to set prices where they want.

I don't know why the delivery services aren't forced to undercut each other's prices to get the businesses. Customers don't seem to care which service they use; they have all of the apps anyway.
"But over the last couple of years, there's been an increase in individuals investing not just at the earliest stages of companies, but at the Series A and beyond.

These individuals aren't just investing their own capital. They’re raising dedicated funds and special purpose vehicles (SPVs) from traditional limited partners (LPs)."

I don't mean to snark, but isn't this just individuals starting new venture capital firms? Maybe it's newsworthy if new VC funds are being raised by former tech founders rather than people with finance backgrounds, but it's a different story.
but BeSt PrAcTiCeS
While I certainly prefer open discussions, I have noticed that most ppl strongly believe that certain sensitive topics, though they maybe a common theme with everyone, are best discussed 1-on-1.
Intel announces Thunderbolt 4
CERN: physicists report the discovery of unique new particle
What Do We Mean by 'Cancelled'?
The sad thing is I don’t believe that situation has changed - if anything they take an even larger chunk, and even figured out a way to profit multiple times from the same ticket by owning the reseller platforms.
Ask Ars: Should you stop using the word “marijuana”?
Thanks. It has taken a ton of work, frankly. I made a conscious decision to try and improve in this way a while back, and while I'm not perfect at it, I'm glad that I'm moving in that direction.
Speaking for myself; one of the most meaningful pieces to me was understanding the "why". For example, if you read a cookbook, it will tell you precisely "what" to do. A good cookbook or a recipe-like youtube video will tell you "how" to do it. If all you ever do is make that one recipe, the "what" and the "how" can get you there if that is how your brain works (mine doesn't).

Understanding "why" this step is before that step, or "why" the temperature needs to be as it suggests, or "why" the ingredients are in that ratio... that unlocks an entirely new level of cooking. Now you can go off-recipe or make ingredient replacements to accommodate what's in the fridge or try something you've never even seen before with reasonably high confidence that it will come out well.

It is like the difference between memorizing your multiplication table and really understanding multiplication. Or the difference between being able to follow directions from point A to point B and knowing the area well enough to chart a path to the destination regardless of roadblocks.

In any case, I am a science nerd (as I assume many of you are). For me, the show Good Eats (or honestly, most of what Alton Brown does) was a refreshing and educational angle that developed and supported a lot of my understanding about "why" as it relates to food.
It simplifies procrastination and throws in happiness with procrastination and workaholic.

You also assume your worldview. When i hear your digital nomade lifestyle i'm not envy it and i'm not connecting to your worldview.

Procrastination doesn't mean 'not working'.
Workaholic doesn't mean 'unhappy'.
Careful with performance if you're on an underpowered machine, as with all content injectors, it could provoke frequent freezes if you have a decent to large amount of tabs open.

https://git.synz.io/Synzvato/decentraleyes/-/issues/323
Word of the day: autotelic

"(of an activity or a creative work) having an end or purpose in itself"

A slightly improved word choice over "autoerotic" when the design choices are getting too self-indulgent.
There’s a really interesting liability question that comes along with that. If I order food from a restaurant via a delivery service that has no contractual relationship with them, and happen to get sick, who’s on the hook for that? I, legally, have no business relationship with the restaurant in that circumstance.
"domain logic" might be a better euphemism. Consider a library that encrypts text with AES-256. You might want unit tests that verify the IV, cypher block, plaintext and encrytped text (result) of that function. The method, "encrypt" might be your "business logic" that ought to be unit tested.
Every means of corporate communication is part of the noise treadmill.

The old way has too much noise and not everyone gets all the messages. The new way seems to have solved those problems. The new way becomes the 'standard' way of doing things. Then the new way has too much noise and users are forced to adopt noise-reduction. Then the process repeats...

That's why companies have posters on notice boards, posters in kitchens and toilets, company-wide e-mails, department-wide e-mails, an intranet, e-mailed newsletters, an in-house magazine, mandatory slack channels - and now, a tool to send slack PMs in bulk.
wow, what a great place

https://saidit.net/s/whatever/comments/55v1/since_hate_speec...
how long are files stored?
is there a maximum file size?
I was thinking the same but then browsers have caches and most of the CDNs (e.g. jsdeliver) set max-age to a year and immutable so you're only tracked once
Like what the other person said, they increase the prices and then most people blame the restaurant. A local restaurant I get pickup from is $8.95 pre tax, curious I looked to see what delivery was and it is $11.65 pre tax and then a $4.00 delivery fee
oh wow, I didn't even know that (the last part).

I've always thought that if a non-citizen is inducted into the armed forces in any way they should immediately be eligible for citizenship. As I understand it, there's still a relatively complex process they have to navigate to get that done.
Is it really necessary for your vacuum to work, that it 1) connects to a server 2) on a different continent? Why would anyone willingly put something like this in their house?
Yes, I can see how it seems impossible to avoid. And trying avoid The Thing is one approach.

Another other approach is to figure out why you have these feelings in response to The Thing. Once you know why, you can work towards not having these feelings in response to The Thing.

That route is the harder one, and so is often made much easier (/possible) with the help of a therapist.

The easy 'avoid' route takes constant low-level effort and occasional difficult feelings. The hard 'why' route typically takes more up-front effort, but much less long term maintenance.

It's kinda like software: It's ok to suffer technical debit for a bit. But after a while you may just think "f--k it", lets deal with this once and for all and move on.

EDIT: Typos, general brain fail
I use Redirector [0] to perform this and other sites redirections for me (Twitter --> Nitter instance; Instagram --> Bibliogram instance, Zoom calls --> zoom web calls). So, at least it's not for just one site.

[0] https://addons.mozilla.org/en/firefox/addon/redirector/
Consider Adopting the Tesla Model for Your Freelancing Services
The Selfie and the Self: In Defence of Duckface (2019)
Thanks and thanks for sharing it! Would love any feedback as you play with the app. adam@withyotta.com or here
Agree up to a point.

Storage can't be ignored - and the 'balanced grid' that we're all part of relies heavily on burning fossil fuels for both baseload coping with peaks (sun goes behind a cloud or the horizon, or the wind stops for a while). As we decom more of the fossil fuel systems, a more robust & scalable storage system, even a relatively ephemeral one, will become more compelling. (my prediction : )
I mean, they're free to recoup the losses by charging a more realistic delivery fee directly to the customer.
Can't the company just deliver the food?
Ask HN: What do you want to see in a resume / GitHub profile?
I've been out of the hiring game for 7 years. I love my job, my company but, unfortunately, COVID has affected it more than we would like to believe and layoffs are going to happen soon. I want to be prepared when that happens, so I'm asking my fellow HNers: what do you want to see in a resume and GitHub profile? I'm a Principal Software Engineer.

I see all the cool kids with side-projects: libraries, applications, etc. I also see plenty of fancy resumes. I have a 2-page thing in Helvetica, nothing fancy, listing my achievements and skills. I tried to reduce as much as possible since I've been told that the more I put there, the worse it is since it makes me look old and "you can't teach an old dog new tricks".

I know a lot of people, and I'm sure I won't be in a pickle. But I don't want to rely on my soft skills or work connections to set me up in the future: what is it that the market is currently looking for and how to adapt myself to it?

ps.: Oh, is ageism a thing? I'm 35.
I don't like it when companies make you accountable to messages made on slack
It would be even more enjoyable if the text was black, had to use reader mode.
If, but that’s not what they are doing. So there’s everything wrong with that.
Why can't the delivery services just raise the delivery fee?
Queer people are typically not present in traditional histories. This raises the awareness that queer people existed then too, albeit in different circumstances.
That story doesn't even back up your claim.

My question was rhetorical. I know it's not true. I hoped you would look it up and realize your comment was inaccurate.
You missed out on:

- VCs continue to pour money into the delivery companies

... that is all that is required for this to continue. If that stops, presumably a whole bunch of these firms will fail and that will be the end of that.
FDA warns against using 2 dozen hand sanitizers could contain toxic wood alcohol
Does this app only work in certain countries?
Edit: great idea
Slack is behaving in the same way as innumerable instant messaging clients in the past, because they consider themselves in that category rather than perhaps in an IRC sort of category which is maybe where you see them?

And there's an option to turn that behaviour off, if you don't like it.

But I would prefer if it wasn't all Electron because it really does feel like the resource overhead is unnecessary. But if it wasn't done with this tech, we probably wouldn't have a Linux client at all, and maybe not a Mac one either, and personally I prefer it to feel like an application instead of having to run it inside a browser.

Kind of hoping Flutter helps advance the situation of cross-platform desktop/web things in a positive way.
If a particular test never finds a bug in its lifetime (and isn't used as documentation either), you might as well as not have written it, and the time would be better spent on something else instead--like a new feature or a different test.

Of course, you don't know ahead of time exactly which tests will catch bugs. But given finite time, if one category of test has a higher chance of catching bugs per time spent writing it, you should spend more time writing that kind of test.

Getting back to unit tests: if they frequently need to be rewritten as part of refactoring before they ever catch a bug, the expected value of that kind of test becomes a fraction of what it would be otherwise. It tips the scales in favor of a higher-level test that would catch the same bugs without needing rewrites.
It's a harder problem, though. I can order from practically any restaurant at any distance on ubereats.

It's trivial for me to concoct an order that will take ~1h to deliver. With a $15/h minimum wage, that means ubereats needs to charge $15 in fees before making any money just to cover labor.
Yes there is. What you do is have don't put any IO calls inside your pure functions, but rather pass in their results as parameters.

Keep the impure code and the pure code separated.
This. These days I write unit tests only for functions whose mechanism is not immediately clear. The tests serve as documentation, specification of corner cases, and assurance for me that the mechanism does what it was intended to do.

I keep tests together with the code, because of their documentation/specification value.

I do not write tests for functions which are compositions of library functions. I do not test pre/post-conditions (these are something different).

And I definitely do not try to have "100% test coverage".
I call it reefer, chuff, party smoke, weed, or less frequently rabbit basil.
How to remember anything using the memory palace technique
Option implies that restaurants can opt in/out which for cases like GrubHub isn’t possible.

These apps can lead to poor experience and perception of the restaurant due to the delivery short comings and customers tend to transfer any unhappiness with the delivery as being the restaurants fault (eg late delivery and cold food).
This is one of my favorite bugs ever. Loved to read it again.
"Upside down" - my first thought was 2015 George McFly in Back to the Future 2.
Gonna second this for emphasis. You gotta ditch the default subs.

If you want to see whats percolating in the high-traffic subreddits, use r/all. I find it's worthwhile to check it no more than once a week, but it's useful for checking the pulse.
I agree, but if you watch the linked screen cast you can see that its just Gary Bernhardt's take on Hexagonal/Clean/Onion Architecture.

The idea that your business logic should be isolated from external dependencies (in his case, by making the code (pure) functional). That makes it easy to unit test the business logic, and your integration tests should be minimal (basically testing a single path to make sure everything is talking to each other).
I think people get lured in by no delivery fee and reduced prices originally so they order at basically the normal price. But then once the introductory prices go away and the fees go up they get mad at the restaurant, not the delivery service
Yeah, the relationship is a bit different. In Rust, we tend to have docs that embed the playground or link to it, rather than having the playground link to docs.
The more obligations a state takes to its population (not limited to citizens), the harder it is to enact an open-borders policy while keeping these obligations.

The US used to accept basically anyone, but it did not have any Medicaid, Medicare, Social Security, unemployment benefits, etc. In EU states, the problem is even more severe, as they provide more benefits, to those who pay taxes an to those who don't alike.

So, high life standards, advanced social protections, open borders: pick any two.
Dark Lang Sources on GitHub
I think the key difference is that Microsoft’s differentiated asset is the trust and good relationships it has with Enterprises. Their advantage is their distribution, not their tech.

Intel on the other hand doesn't do it's own distribution and it chips have lost their Moore's Law advantage. If there is marginal performance change, technology will become a commodity.
Same here. I have a year old Cannon laser printer. While I've never had issues getting it to connect to WiFi, it's useless if multicast isn't enabled on the network. This lowers my speeds significantly. Without it the printer refuses to cooperate, even if I manually enter the IP address into a client. My network equipment is Ubiquiti which serves a mixture of Mac and Windows clients. Disabling multicast with an exception for the printers MAC address doesn't work either.
Relatedly there's also a try/else, where the else block only runs if there wasn't an exception.

All these else variants come in handy from time to time.
There are plenty of “proxy shipping” services that operate under this model. They don’t conceal the fact that they are a third party unaffiliated with the provider.

In addition, most restaurants will not just accept takeout orders from a random person that shows up on a bike, it’s an organized partnership. I wonder how they even achieve that.
Since I've worked with linux email servers (sendmail, qmail, postfix, exim, etc) practically my whole profissional life (since around 1997, but used BBS since 91 - I'm 41 now), this story really amused me and got my attention! I love this kind of email debugging! LOL