skysight-inc/HackerNews huggingface dataset:
Ask HN: How to load test a site with real world conditions
Hey HN,

I recently put out a web app for secure end to end file transfer based off of the now defunct firefox send project. I want to load test it to ensure it can handle a reasonable amount of traffic before marketing it.

I also would like to stimulate real world users, and since the application performs encryption client side in the browser, I would want that part to be stimulated also in the load test.

Is there a good way to load test a website in a way that reflects real world conditions?
But Microsoft loves open source... They sure would love right to repair too.
Although

> Adding a camper shell to a pickup truck does not necessarily constitute a change from commercial to auto registration. The addition must meet the definitions for human habitation or camping purposes. Otherwise, the vehicle may be subject to citation from law enforcement for not meeting the definition of an auto. Human habitation is defined as living space which includes, but is not limited to: closets, cabinets, kitchen units or fixtures, and bath or toilet rooms.
Please stop.

https://news.ycombinator.com/item?id=27240646
Google charges 15% <$1million

Steam charges 20-30% depending on how big you are, and probably has a sweatheart deal with EA.

Xbox and Playstation offer subsidised hardware and arguably have a 0% rate given that so many titles are published in-house.

Nintendo offers an effective 25% rate as 5% of spend is rebated to customers' wallets.

Microsoft charges 12%

Epic charges 12%
Crypto would be more interesting if the networks offered federated compute capabilities.

Owning crypto would be akin to owning a certain amount of capacity to use the network to do work.

Similar to land to farm or build housing on. A foundation to build applications on.

As is it’s just another shiny thing to convert to real currency.

Also, keep in mind Barry Diller is hardly a non-biased voice.

Edit: My bad; I mean if the crypto traders saw it as more than a casino chip to trade for cash.
https://www.google.com/amp/s/time.com/4501670/bombings-of-am...
more like Franz of Bavaria, who claims to be rightful King of England of the line of Stuart but is in fact just a guy with a bunch of inherited wealth, just like Andrew Lee.
Tim Cook faces questions on developer satisfaction in Epic trial
Those are generally fine because they are generally installed and configured by licensed electricians. Generators with suicide-cables installed by homeowner Joe Blow are the problem.
I'm just the messenger, and anecdotes aren't as useful as data.
WiFi Privacy Flaws
I never say this, but this resonates with me.
> Keep your grubby mitts off the Apple ecosystem.

But it is actually you who want to control how other people use their own phone, that they own.

If you don't like Epic's store, just don't use it. Problem solved.

That way, people who want to trust apple get what they want, as well as people who want to trust other app stores.

Everyone wins, right? Why do you care so much about how other people use their own phone?
Woke at Work: Why tech firms are trying to run away from politics and failing
My company sent (or tried to send) money to Rasmus back in '95 to have him implement a feature we needed. I think he ended up adding our ask to PHP for free. Anyway, good times.
That depends on the subjective weighted coefficients of your cost functions:)
I've taken Google out of the title now in an attempt to mute this tedious off-topic tangent. Not your fault; I'm referring to https://news.ycombinator.com/item?id=27240366.
It’ll be great if you had an “about us” section there so I could easily see who is behind it, instead having to google it.

Your backgrounds [1] seem very solid so why not showcase it?

[1] https://www.linkedin.com/in/asgreaves
Washington Got Hooked on Flying Saucers
"PHP: Hypertext Preprocessor was chosen as the official meaning of the PHP acronym with 53% of the votes."

For anyone curious I tallied the votes from the linked page:

57 PHP HTML Preprocessor
29 PHP Hypermedia Preprocessor
98 PHP Hypertext Preprocessor
"A collection of well-funded UFO obsessives are using their Capitol Hill connections to launder some outré, and potentially dangerous, ideas."

I thought this article was a good backgrounder on how we got in this situation of major news media making the nonsensical statement "the government has declared UFOs are real."
The elites drink Kale Juice, are decidedly non-obese, and have personal trainers. That this behavior coexists with a message of body positivity proves the point, there is no one single culture.

'Wokeism' (or at least significant parts of it) is, contrary to popular opinion, not an elite project. The reason why it has actual pull in society is because it to a large degree comes out of fairly old-school, activist organizing.
> The pretty obvious solution is to not buy Apple devices

But there are other solutions. The other solution is that people are allowed to do what they want, with phones that they own.

And you don't have to download other app stores, if you don't want to!
I know, the whole essay is like a character study of the most repulsive people you can possibly imagine.
Nonreplicable publications are cited more than replicable ones
anti-trust is in a very sad state in the US, and fixing could solve a lot of problem
> Perhaps I should have phrased it as "all implementation-defined behaviour is whatever the hardware happens to do when executing whatever code the compiler happens to generate".

Even with this definition, the important part is that compilers would no longer be able to ignore control flow paths that invoke undefined behavior. Signed integer overflow/null pointer dereference/etc. may be documented to produce arbitrary results, and that documentation may be so vague as to be useless, but those overflow/null pointer checks are staying put.
Software Isn't Bloated
As someone who used to work in consumer electronics, I don't think HN readers understand exactly how harsh tech reviewers come down on devices that aren't as thin as possible. Add an extra millimeter and all of a sudden "tech companies yet again don't understand female audiences as they make yet another monstrously huge device that only men can use." or "this new version is unbelievably thick, and is another failure compared to Apple's amazing version" where Apple's version is 1 or 2 mm thinner.

Laptops, same thing. Even here on HN I've seen multiple people talk about how the only reason they can even carry a laptop at all is because Apple's newest whatever is so amazingly thin and how even a single extra ounce would make the laptop completely unusable.

So manufacturers have a choice. Glue everything together and make it unrepairable, or get dragged through the mud by reviewers and tech enthusiasts.
German History Documents
A lightning connector?
Burrell Smith on Design (The Macintosh Reader 1992)
There is none. Game consoles should also be forced open.
Sexting Simulation Chatbot
I'm developing a sexting simulator. I'm checking if it has some potential as a serious product, you can try it and let me know how it goes :)

Link to the telegram chatbots:

- Male version: @cog3rbot or https://t.me/cog3rbot

- Female version: @s3xtingbot or https://t.me/s3xtingbot
The at&t monopoly obtained power via government grant. There are many others. We have IP laws to avoid monopolies among other reasons, but they aren’t the only way to get monopoly power.
My self-built sprinter has seen it's solar-charged electrical system been used many times to power PA systems at parties and running events. Only 120VAC (no 240VAC), and only about 2.5kW/hrs of power available, but I've never needed close to that for anything it's been used for. I've used it a few times to run power tools, but that's when I most regret only having 1kW inverter instead of a 1.5kW one: a router or circular saw startup can trip the inverter breaker.
Then let's vote using our wallet when shopping for example for a laptop or a phone. Companies such as Purism and Pine64 already offer alternatives, the former in the higher end market, the latter in the more affordable one. Their devices are as much open as possible, and repairable. Hacking them is not only accepted but actually encouraged.
It's not a government until you get the guns out and force people to join up and pay dues whether they want to or not.

What zbrozek described is just a co-op, or something less formal along the same lines: an organization designed to provide benefits other than financial profit for its (voluntary) members, who are also its shareholders. Co-ops are great. I wish people would use them more often rather than clamoring for unnecessary government involvement.
PHP deliberately has a low barrier to entry, and as a result there is a lot of poor quality code out there, written by beginners. People like to use this fact to suggest that the entire language is bad, which it most certainly is not.

I've seen lots great, well structured and performant PHP code - the quality depends on the programmer, as it does for any other language.
copy pasted from a response to another person arguing the same fallacy, and the same point that several others are pointing out.

me >This is the most egregious of misdefinitions of a ponzi scheme that gets thrown around because it literally fits the profile of every security and commodity in existence.

You are describing the law of supply and demand in an open market place.

other person >> Surely we can agree that every security in existence does not solely rely on inflows from new investors in order to pay out old ones.

me >>> Surely we cannot agree on this.

Explain to me what would happen if I was holding an Oz of gold or copper and suddenly the entire bid side of the market dissapeared (ie there was no inflows to the market). What is the new market clearing price for the commodity. 0. That's literally what buying a thing is(in all cases and for everything). It's a an asset inflow exchanged for an asset outflow.

Now replace gold or copper with any equity. Let's assume one that doesnt pay a dividend not to complicate things. Literally nothing changes. The sale value of your equity is zero when there are zero inflows to the market.
Not NEWS SHOWS!
Other issues aside, "A is just a complicated B, so apply the same rules to A as B" is not a formula for good decision making.

It's a common way to make bad mistakes though.
It is.. But at the same time, its a completely decentralized system and there are MANY that do a very good job at washing out the bad ones. There are plenty that deserve criticism, and even federal investigation/intervention. But by and large the system works.

There are millions of police, and hundreds of millions of encounters daily across a huge range of investigations and issues. boiling it down to twitter levels of context is bad and applying such broad strokes is also equally bad. Its certainly not going to encourage good ones to sign up.

I know with the way this type of stuff is being portrayed, its a no win for most police, they could quadruple the salaries overnight and some would still balk, because no matter what it a loss.
I'm still waiting on the F350 EV :)
Large US insurance company reportedly paid $40M ransomware
The at&t monopoly came about via government power, and the only fighting it did was to keep the government enforcing and maintaining the monopoly.
Anyone got the non paywall link?
Someone once made the comparison that CFLs are BEVs, in the sense that they're weird compared to what we're use to and have major disposal problems.

LED might a similar relationship to fuel cell cars since they work like the old kind and don't have huge disposal problems.
These are also likely just serialized commits per second. Parallelized non-blocking writes and/or using explicit micro-batching(SQLite supports batch inserts) and you'll be blowing most gov sites out of the water.
I took 8-9 months off a few years ago. I absolutely recommend it, especially if you feel like you need it. I didn't travel much, other than to see friends elsewhere in the U.S., but I didn't get bored. The highlights were training for and running a half marathon, improving my cooking, developing habits for keeping my apartment clean, reading lots of books that had been sitting around, and random fun coding things like Project Euler. Not having to keep to a set schedule was liberating and wonderful.

It wasn't more expensive. I was paying for a COBRA health plan but I was eating out a lot less, and it mostly balanced out. Apart from securing health care, there wasn't anything I would have found useful to plan ahead of time. I do wish I had traveled to Europe or Asia, but that's my only regret. It's all "you time" and you can just trust yourself to know what you want to do once you go through the initial recovery from the stress of working. For me, after about seven months I realized I was ready to go back to work, and I was lucky enough to find a job that I've been at since then. I will likely take another extended break, but maybe just 4-5 months, and I will be sure to travel then.
Sure, but in the situation we were talking about, the user never wrote a definition for write(), and the user did not specify any library to include that provided a definition of write(). From the standard's perspective, that means there is no definition for it in the entire program.

Keep in mind that the standard's perspective is somewhat different from how things work in practice. We know that on Unix-like systems, there is also the concept of libraries, somewhat different from how the standard describes it, and write() will be provided by the "c" library. But consider the following strictly conforming program:

#include <stdio.h>
void write(void) {
puts("Hello, world!");
}
int main(void) {
write();
}

A confirming C implementation is not allowed to reject this for a duplicate definition of write(): the name "write" is reserved for use by the programmer, it is not reserved to the implementation. This program must be considered not to violate the "there shall be exactly one external definition for the identifier", so the only way to consider this valid is to say that the implementation does not implicitly provide an external definition of the write() function as far as the C standard is concerned.

Yet at the same time, from the perspective of the implementation, the c library is considered to provide a definition of the write() function, but it is a definition that is only used if the program does not override it with another definition that should be used instead. This concept of multiple definitions for the same name, with rules specifying which of the multiple definitions gets picked, is very useful but is also beyond the scope of the C standard. When we say that a function is defined, we need to be clear on whether we use "define" in the ISO C sense or in some other sense. As your comment shows, things get very confusing if we are not careful with that.
It’s hard to explain just how much easier PHP made creating a dynamic web site back in the 90s / early 00s.

You drop a file in your public web server folder and you’re done. Prior was CGI Perl scripts that hacked together how to access session and rest data. Or you had to develop in C. PHP had native support for the web. It also eliminate the need for an app server.

I’m still not certain even today, if anything exists that is faster to get a dynamic site up and running than PHP.
My iPhone XS Max screen cracked a few weeks ago and I've been debating sending it in for repair. Apple charges $300 friggin dollars to "fix" the display (I think they just send you a new phone).

Looking online, displays only cost around $50-$90. So I've considered doing that instead, but if I go down that route, my phone will no longer support the "True Tone" feature. This is because Apple burned the serial number of the display onto the motherboard, so if you try to replace it, they'll know and will disable features even though they work perfectly fine.

So in addition to the cost of the screen, I'll also have to buy a screen reprogrammer, which is a device that can copy the serial number from my old display and write it into the new display, so that the phone doesn't realize I replaced the screen. The prices I've seen online for these are like $60+, so it's still cheaper than sending it to Apple.

I don't understand how this isn't 100% illegal. How the hell can Apple get away with doing something so obviously malicious and detrimental to consumers and the environment? Those are some Scrooge McDuck levels of ridiculousness.
In NYC at least, most crime reports in the app also come with comment sections full of overt racism.
Your basic solar inverter monitors the grid voltage, and if the grid goes down it stops generating.

Needless to say, if you're looking for a backup power source this isn't a property you want.
I quit my 6 figure Devops job in 2013 (was still called web ops at the time) and have been fine. Invested in some as-is cash only real estate in the hood (2 months on the MLS, not even wholesalers would touch it), learned how to roof, plumb, wire, manage section 8 tenants, seller finance, etc. Became Republican (Dodd-Frank screws over under the table immigrants who can't get FHA loans). Just keep learning. About to start a used car dealership. Tremendous margins and all you need is Chilton, Haynes, and youtube.
And you can not buy iPads.

I know it is completely anathema to suggest something like this on HN these days as the socialist wave completely took it over and the mere suggestion that people have the freedom to not buy something if they don't think it fits within their world view instead of trying to force everyone using the state and the courts to cater specifically to them is now considered a sin, but...

You said it yourself, you have a laptop with the exact same chip that lets you do all the things you want, and then you have the iPad that doesn't...why don't you buy the laptop instead? Surely if enough people feel the way you do Apple would get the message.
I first experienced that with calculus in high school. I would keep paper and pen on the nightstand to capture middle of the night thoughts. Sometimes it was jibberish, but often enough was a good chunk of a solution. Happened with some complex bugs too, but I’ve not had it happen in a number of years now. Maybe I’m not working on complex enough problems now.
> The vast majority of software systems out there are significantly simplifiable.

I think exactly the opposite, actually.

Most programmers don't just write lines of code for no reason. They generally stop when the problem is solved.

So, you might be able to simplify new programs, but I wouldn't put a lot of money on it. The programmer would have had to miss something architecturally up front for that to be the case. It happens, but it's not that common.

So, you might be able to simplify production programs. Maybe, but those have a lot of bug fixes already implemented. And they encode the political state of the entity that built it (see: microservices). So, a program that has existed a while may not encode the current political system, but I don't think fixing that is making things simpler.

So, you might be able to simplify legacy programs. Perhaps, but those have a LOT of business state encoded in them--much of which is still used occasionally but you won't know that until you do a deep dig on the code. That rule for disbursements to Civil War descendants is there because the system still needed it up until a couple years ago.

Oddly, the best way I have found to simplify computer systems is to give the humans more power. Humans are good at exceptions; computers not so much. This is, sadly, anathema to modern programming and modern political/corporate structures.
Here's a subthread about Flutter jank/performance from the 2.0 release back in March:

https://news.ycombinator.com/item?id=26333213

Back then at least one of the "featured" apps had key screens written in e.g. ObjC. Google Pay was also discussed.
Carbon fiber tanks are much less of a disposal/recycling problem than batteries.
Apple's guidelines already cover their bases to prevent such a loophole.

The first clause of their Payments[1] guidelines explicitly states you're to use in-app purchases to unlock features and functionality within your app, while also forbidding you from linking to or directing users to any alternative purchasing mechanisms.

They then make limited exemptions for "reader apps"[2] to allow users to consume content they've previously purchased, and explicitly list which categories of content they consider allowable for this exemption. Games not being one of them. They also make an exemption for multi-platform services which isn't as restrictive as the reader app clause, but only if you also abide by the first clause of making it available as an in-app purchase as well (and not direct people to alternatives for purchase).

So this works for Amazon's Kindle app, but wouldn't for a gaming service. And even the way Amazon handles Kindle listings[3] in their main app is toeing the line of what Apple allows, and smaller companies would have a hard time pulling off.

And just for good measure, they also pretty much spell out exactly what you described in the first bullet under the Unacceptable clause[4]

[1] https://developer.apple.com/app-store/review/guidelines/#pay...

[2] https://developer.apple.com/app-store/review/guidelines/#rea...

[3] "This app does not support purchasing. Books purchased from Amazon are available to read in the Kindle app" is what they put on the listing page. It's not a direct call to action so isn't strictly against the guidelines, but such a thinly veiled insinuation is something few other companies would be able to get passed app review.

[4] https://developer.apple.com/app-store/review/guidelines/#una...
It's not a problem they're trying to solve. You can't just tell people "go buy a less restrictive phone". You want to make your app available for whatever hardware they already have. You want to provide your app, your users want to install your app on their phones that are capable of running it, but Apple forcibly inserts itself between you two, wants a say and acts as if you two couldn't have found each other without its "help".
I'm currently working on a Django project and have to restart uwsgi after each git pull. It's a pain
California also beat US in the past, before this recent trend of CEO wanting their company to become at the forefront of political issues. I don’t think it’s in any way related. I’d say the recent trend is on the contrary people in the industry wanting to leave california despite the good salaries...
The reason for the historical death of "free love" was mostly the rise of HIV/AIDS.
Ask HN: What should I learn next?
I've got some free time coming up. Finished a project in Go & Vue & Postgres. Really enjoyed that tech stack, but feeling the need to stretch more.

What should I learn next? My inclination so far:
- mobile dev (probably Kotlin on Android, not so keen on the Apple stack, and I run Linux desktop)
- Lisp (and climb the Emacs learning cliff)
- a games engine (possibly Godot, which I like the look of, though Unity is the elephant in the room)
- a desktop toolkit (GTK, Qt, Tk, I guess... any others?)
- improve my Python and get a ML project done

What's the next big thing in software that I need to be aware of?
> why should the government get to tell Apple how to run their app store?

Do you simply not believe in anti-trust law then?

What if microsoft forced you to pay them a 30 percent cut, for installing other web browsers, or apps? You would be ok with that?
The NYC counts are bloated because they include a whole bunch of 'police' that have nothing to do with boots-on-the-street policing. Financial regulators and port inspectors, for instance, are included in those counts.