skysight-inc/HackerNews huggingface dataset:
> I’ve limited document size to 10mb and rate-limited updates to 10 per second. Client starts to update document with random data 10 requests per second. As far as I understand couch stores all versions at least some time. This means that this one client could fill space on my server 100mb/s. There is no such issues with PostgreSQL, and no one allow clients execute raw queries on database without any application server. Document only 10mb but database is huge.

Ah! Now we are getting somewhere! Your concerned about someone filling your disk.

OK, let's modify your scenario a little. Instead of updating an existing document, they create a new document. This a malicious client, why do updates that'll get cleaned up in a few minutes when I can make it permanent?

So, CouchDB allows these writes, and now your disk is full.

What does Postgres with a custom API do? Allows these writes, and now your disk is full.

Your allowing 10MB documents because that makes sense for your application right? So your Postgres table is going to have a binary column or some other column meant to hold bulk data, and your API is going to accept it.

If it doesn't make sense, lower the max document size. Apply validations to limit what fields can be written to, and how big they can be. In Postgres this is called your "schema". Couch being "schemaless", it's now your validation function. Couch is no different from any other schemaless database such as Mongo, RethinkDB and FoundationDB in this regard.

Also your rate limiting here is weak. If I can post to your sever at 100Mb/s second, I can saturate a 1GB link with only 10 clients. Doesn't matter if you reject my posts, if I can send them to the server, I can DOS you pretty easily.

The main thing Postgres gives you here is that it requires you to define your schema upfront (unless you use JSON columns, in which case it joins the schemaless club above). Couch will happily let you not, in which case someone wants to write a record of their car maintenance into your recipe book app? Couch is good with that. But take a step back. what actually stops them from putting that in the "description" column of your Postgres recipe app? Not much. So you have to think about what's important. Do I actually need to make sure these are all the same "shape"? If so I need a validation function. If I can just shrug and say "garbage in, garbage out", then I just need controls around how much data they can insert, but hey, I needed that for Postgres anyway.

> Sorry for my ignorance, is it true that if I limit couch only to replication it will not be any not indexed lookups?

Correct (enough). The entirety of CouchDB is built around efficient replication. While it's not going to use a formal "index" getting all of the changes after a specific rev is an efficient operation.
Version 9.0 of Newspipe, a web based news reader, released
https://ftp.openbsd.org/pub/OpenBSD/patches/6.6/common/021_s...

https://ftp.openbsd.org/pub/OpenBSD/patches/6.6/common/019_s...
Pentium II no, however my desktop machine and main PC is 2011-era (aside from an upgraded GPU) and it still keeps up just fine. It won't play the very latest AAA titles, but just about anything else is fine. It gets ~50fps at 1080p ultra details in GTA V, which is not shabby at all.

For office and graphical work, it's obviously beyond merely capable. 200+ tabs in Firefox, no problem.
This is nice ! I dont think it works for my req but saving for other personal occasions.
Prices fluctuate all the time. How many tons of CO2 are consumed by the machine that spins yarn? Sure there’s an added cost, but of pennies — this strikes me as a weak counter argument.

At a nominal price of $20/ton, a few things will go way up in price, but almost everything else will see at best a blip, with an added incentive to the producers to reduce the carbon content because that matters at industrial scale (company saves $3m over 30m units by switching to a non-petroleum glue whatever) not to an individual consumer (who would see a cost increase of 10¢).
This is exactly what the doctor parrots back at me. Again, these are outcome statistics for the general population. I'm well aware of these numbers, but I am not an average patient.

I'm not going to look at the outcome of a single test and blindly decide to take a strong medication or to get surgery. If I want a test done, it's because I'm doing research to try and figure out a complicated issue that doctors have not been able to help me with, usually due to their own time and resource constraints. I have all the time in the world, and if a condition is affecting me, I'm going to care more about addressing it correctly than any doctor. I'm completely aware that a test is just one data point, that tests have error rates, and that interventions have risks.

I was one of the first ~1000 to get whooping cough (pertussis) during the 2008 outbreak, before they knew that the vaccine cocktail that my generation was given needed more frequent adult boosters. I figured it out after a few days of digging. Do you want to know how many doctors I had to yell at to finally convince one of them just to run the test? And this is a test with zero intervention risk -- they can't do anything if it comes back positive, they just tell the NIH.

Doctors have gone off the deep end here. Yes, testing has risks, but they should focus on the intervention risks. You should be allowed to run as many tests as you want for informational purposes if you're just trying to figure out what might be going on, especially if you're aware that errors can happen and are capable of acting responsibly with the resulting (single, noisy) data point.
Fair enough, hope you're right!
Which one, muscle or fat burning?
Thanks for sharing, some good ideas here
Hello there, thanks for the response.

It would be impractical to calculate all the location factors in the world

On the one hand I absolutely agree with you here, however I searched for multiple cities in the state of consideration, two of them are international destinations on the Atlantic coastline with considerable economic impact to the state and region at large, and as mentioned one of them is the state Capitol with nationally recognized colleges, I'm just a bit surprised that not this city is represented in your calculation.

That said, I do hope that area is improved on at least for the sake of other potential applicants.

Cheers!
If that were not regulated (which thankfully it is in many countries, making such offers impossible) then that could lead to terrible business practices.

Imagine a world in which a company advertises a pre-order for a product and says "Why pay full price when you can get it for 10% off!" and putting some tiny writing which says you revoke your right to refund in some long purchase agreement.

After that initial purchase, the company has no obligation to you to deliver something of quality. The recent WarCraft III Reforged scandal[0] is a great case study for this.

[0] https://www.warcraft3refunded.com/
It's absolutely what he said.

Political correctness is a right-wing term used when they want to call somebody X, but may face social consequences for doing so.

It's not a wealthy western phenomena. It's global and it's as old as the hills.
Tailwind also gives you responsive prefixes so if you need different padding on mobile vs desktop it's easy to just use a lg:p-4, for example. You can't do this inline styles.
Thanks jppope. I like the idea to talk about 'results of the work' and you can ask probing questions about why it worked. If they can describe logically what they did and how it linked to those results, describe what they are certain and uncertain about it will probably be hard for a liar to fake all of that (the liar will be confident of everything).

"Results" is a funny thing to define though. For example say I know nothing about coding, and I hire someone to make a website. Based on their "results" they make good looking fast websites without bugs. I hire them. I get my site. I need a change and suddenly they are not available or got expensive. I ask someone else to do it and the say "maaan, wtf they have used Perl and a weird JS library for the front end, and purescript and I don't know how to maintain that. I'll need to rewrite it".

With machine learning, to evaluate the results, I think you'd need to know a bit about machine learning and what P(good work by this person | company made money from the model) is vs. P(null | company made money from the model)
The oldest continuously operating university in the Western Hemisphere is in Peru, established in 1551.

https://en.wikipedia.org/wiki/List_of_oldest_universities_in...

https://en.wikipedia.org/wiki/National_University_of_San_Mar...

The Royal and Pontifical University of Mexico, in Mexico City, was founded several months later, the same year.
PayPal’s biggest days in history (2015)
That ship has sailed for just about a century.
Verizon maybe?
Ask HN: Briefly and succinctly – when is ML helpful for engineering?
Given how ML is now the cool thing, I realize this may make me look, um, not cool:

How would you describe what ML can offer me, a non-ML-saavy tech organization?

When does it work better than manually programming something?

Which kinds of data work best?

How extreme of data can the model be fed before giving non-sense results? And will it "know" how hard it is guessing?

What is the format of its results?

... etc ...

Tangentially, I may have many, many more follow-up questions. Are there any freelance "AI Consultants"? And if so, where best to find them?
PayRetailers – Payment Gateway for Latin America and Europe
Ask HN: Legally Scraping Reddit Images
I'm considering working on a project related to GANs and started to research where I could get training data for it. I came across a subreddit full of community-filtered images of exactly what I need. There's also roughly 100K of them which is exactly how many I was hoping for.

The only problem is that I don't have any experience with collecting that magnitude of data. Does anyone have experience with scraping reddit and can offer pointers on how to approach it? I'm also having a difficult time figuring out if reddit even allows this.
Many martial-like sports have a fundamental problem caused by this. In essence, there's a sequence:

1. are certain techniques that are likely to cause injury even with proper protective gear, that sucks in a sport;

2. so we make rules to prohibit using such techniques;

3. so the meta changes so that realistic tactics (which obviously need to protect against the dangerous technique) become suboptimal, and the new meta is 'unnatural' as it leaves the fighters vulnerable to something that's prohibited but would be used in any real situation.
Myetherwallet natively supports aave now
I'm not aware of the specifics but my general understanding is that there were at least a few black market sellers involved with that debacle. Basically unqualified "street chemists" saying "yo, if we add some Vitamin E to this solution it'll be fire!" Sounds like these "Dank Vapes" were one of the bigger offenders though.
Big tobacco are investing heavily, so I doubt it: https://www.investopedia.com/news/which-company-behind-popul...
Ah the WPS reaver attack. It's one of the biggest jokes in security I've ever seen. It's like having two doors leading into the same "secure" room: one is a big iron door (WPA2), and the other is a flimsy wooden door (WPS) that can be pushed over with just a bit of force.

Best of all, WPS was enabled by default on most access points and there was no delay on retries.

What makes it even worse is this happened after the whole WEP debacle. You'd think the Wi-Fi Alliance would do some security auditing, but they were obviously more focused on collecting certification fees.
It's not panic. It's reality. Many of us did the same. I went with 2 weeks worth of food, water and toiletries and we already have the usual stock which including refrigirated stuff should be enough for full month if needed. When you see small towns put into quarantine in Europe allowing people in and out only with 'written permission' you know you should prepare family and yourself asap. Get food, water, medicine and everything that might make life easier for you and your family during weeks of quarantine.
Don't forget that American tobacco companies all have "snus" products that are actually regular 'dipping' tobacco placed into pouches.

Swedish Snus is cold-cured, while other dip is heat-cured. It is well established that partial combustion of organic matter creates a bunch of different carcinogens. With cigarettes, you are inhaling partial combustion products from plant matter that has already undergone partial combustion once, and you have astronomical cancer risk. With dip, you are putting partially combusted plant matter in your mouth and have quite high cancer risks. With swedish snus, you are putting zero partial combustion, and no discernible cancer risk.
Severity and Priority are dependent variables. You can try to treat them as independent but eventually it will catch up with you.

Where you see companies get into trouble is when an unlikely high severity bug actually happens (or becomes likely) and it comes out that they've known about it for a while. It's also the sort of thing that's a source for employee burnout.

My old standby for Severity is a 5 point scale based on data loss. It's a little fuzzy and everyone has to agree to definitions, but as a first proposal I'd say 5 is unrecoverable loss of pre-existing data. 4 is losing data entered now, 3 is loss that the user can work around (eg, enter the data via this other workflow and it's not lost), and honestly what constitutes 1 and 2 is nitpicky, because most places can't even keep up with all of their 3's, so arguing that your scenario is a 2 instead of a 1 is a bad expenditure of energy.

Save that energy for the fact that the business is going to rate 90% of all work as priority 1 or priority 5, sometimes re-ranking them after the fact. Especially for perf or security issues - always lowest priority until we don't have it, and then blame the engineer in the grand tradition of, "Why did you let me eat this whole box of chocolates?"
Thanks for editing your post, but given the nature of the subject matter, I would urge you to just take it down. It contains misinformation which can be dangerous.

This is serious. You don't have to panic, but this is serious.
Thank you for acknowledging this. I really appreciate it.

The issue is that the adhesive from tape is a form of glue. It attracts and keeps hold of germs. Plus, it is extremely hard to get fully off in terms of disinfection purposes.

I had a central line (dialysis catheter) in my chest for 4 months for a procedure called plasma exchange. You cannot take a shower with an exposed central line. A single drop of water on your line, or even the moisture/condensation from the shower can literally cause sepsis, as water has a lot of bacteria in it. This happens no matter how well the line is cleaned.

Anyways, I tried taking a shower by covering the line with a Ziploc bag and putting tape around it. I also cut the fingers off of gloves and /sealed the fingers of the glove onto the line with tape/. I literally put glue on the central line, which runs straight to my heart.

I never ended up with sepsis, due to the line only being in me shortly (4 months), but I did get chewed out by the sterility nurse.

Trust me, it is not a good idea.
Show HN: Search code using natural language
Sure but cyanide definitively kills you, and you're talking about a product of which (it appears) you have had no first hand experience.
Intel AI GM Naveen Rao Leaves After Habana Chosen over Nervana
Maybe it's more common in the US as it's more sparsely populated? As in there are more potentially isolated cities?

The scenario you're describing doesn't seem plausible to happen in Milan
Do you suppose gyms are a bad place to go during an outbreak? So far I haven't stopped going, but seems like it could be an especially nasty hotbed of airborne and surface-based viruses.
The doorway only leads to a small empty room. The actual passageway was blocked already in previous renovations, so there was no danger of anyone coming through it.
Is that a kind of chewing tobacco? If so, sorry to be the bearer of bad news, but you may want to book a room in Mouth Cancer City because I'm afraid you might be headed there.
Google, for your codebase. Search code using natural language with our vscode extension, Metacode. Let me know what you think!

Queries like 'user sign up', 'delete file' etc. work even if those specific keywords don't exist in the code. Example gif is Metacode searching linux kernel.
Well the 'child' inquiry was more related to how having a child can dramatically alter a family's cost of living, and how or even if this is considered with equal earnest in salary maths--less so a critique about the absence or presence of parental leave (which admittedly, yours is impressive).
Lessons Learned with Swift and iOS Development
> But monthly was a better indicator, because someone consistently on the service for a full month was likely there to stay.

That is not what a monthly active user is, even at Facebook. A MAU logs in once per month, a DAU logs in once per day.
I support the right of people to be able to go wherever they want and not be exposed to smoke, to not have their kids playing atound people smoking, to be able to open their windows on a nice day and not have the smell of smoke coming in the window, and to be able to go for a walk and not feel like you have to walk around people that are smoking.

I'm sure there will be more studies about what is safe. But I don't want to be a participant in the study.
CouchDB, couchbase, etc are all useless junk.
UK must embrace conifers in climate fight, says forestry chief
Killameme99 this diatribe shows me pretty much how much you overthink just about everything
What drivel. Make an artificial language which nobody uses, with a target architecture=X. Post it pretending that it is relevant.
I Call BS on OP
I really wonder how we started to have the toilet and place for washing up in the same room. Especially when you have more than one person it is so much more convenient to have them separate.
True. But you could catch Rabies.
You have misunderstood my argument.

I am all for experiments. I am just for running many, many smaller experiments instead of a few large ones. Exactly because the unpredictability of the connection between experiment and final application means that running a large experiment the only thing that we are guaranteed of is spending lots of money, instead of getting a great result.

And that is true whether you think of results are applications or pure science. Consider the discovery of transistors, type II superconductivity, buckyballs, gigantic magnetic resistance...none of these scientific advances were expensive experiments, and there was no particular reason to believe that we would learn anything like what we learned from those experiments.
Constructing a "lesser evil" choice is simply a way of justifying evil.

On the scale of “lesser evil” the government being able to arrest, harass, violate civil liberties and lock someone up is off the charts compared to what big tech can do.

Sure that may be prudent, but it is not morally right nor is it sustainable. And backfitting from "what is" to "what should be" is never a good idea.

So I should be more worried about what you consider is “morally right” instead of putting myself in a position where I can afford a competent lawyer - instead of an overworked public defender - to keep me or my family from being railroaded by the criminal justice system?

But that isn't an intrinsic argument against anti-totalitarian regulation akin to the GDPR. Rather the lack of the action on the latter is better seen as further evidence of said corruption.

You realize that you want to give the government more power that in my parents lifetime (who are still alive) has said that interracial marriage should be illegal, segregation should be legal and even as recently as the 80s has had laws making it crime punishable by jail time for adults of the same gender to have sex?

As far as big tech vs the government, big tech has never discriminated against me when trying to get a job. I feel the same way about tech vs the government that Muhammad Ali felt about going to the Vietnam War. I’ll leave it for the readers to search for what he said.
Sure in a 4 line example it's fine. On a real site with 5 different kinds of hero elements, with some styles in common but a lot of small variations and each with its own responsive behavior it's not so easy anymore. Coming up with good names for things is one of the hardest jobs in programming and this style forces you to name everything.

I've been building sites the way you suggest for 20 years. I also had a negative knee jerk reaction to tailwind. But I had enough of an open mind to try it and now I have no interesting in going back.
Thoughts on Software Deadlines
> it would be helpful if you provide sources

Actually, to be honest, it would be helpful if everyone refrained from cherry picking information to support their current emotional state.

Please, please, please, let's rely on experts who specialize infectious diseases to do the communicating and go back to our code.
I don't think a guarantee can be made that the client can't tamper with it - its just an HTTPS POST request to an endpoint with a JSON body that's generated from the browser.

However, if NEL is run globally, it just becomes a part of the noise floor (someone else mentioned this as well), and to do effectively with malice will require doing this 'at scale' (that fav. phrase). So far, we haven't seen changes in the outcomes from telemetry analysis.

One way of removing malicious noise could be to apply the same bot-detection capabilities for NEL that you apply for the service its monitoring.
since you sound well versed - what would be a good food-free way to get electrolytes?
Interesting. Presumably they're thinking of it as a Minecraft competitor with a similar creative platform & ecosystem.
While I understand the rank hypocrisy here, tech billionaires have a slightly different risk calculation than your average Joe. For example, Jeff Bezos's iPhone was hacked by a nation state using zero day exploits of video playback, delivered via a person message from its head of state. People like Bezos and Zuckerberg are on the wrong end of James Mickens's "Mossad or not-Mossad" threat model and should be taking different precautions than the average person.
Does this include the right to not be exposed to car exhaust?
In astronomy we typically date events by observation date, not by date at the remote location. The reason is that distance is often poorly known and the estimates are subject to change over time. Time at the solar system barycenter on the other hand can be determined down to the nanosecond and can be compared very well between different observatories.
"Knows nothing beyond what a patch antenna is" here, and I have a couple of question if you could please answer them:

- Doesn't this degrade the quality of the original signal ? (i.e. some sort of destructive interference)

- Isn't it illegal to interfere in signals this way ?
Hell no. Seaside captures the state server side, stores it under an id and sends that id to the client. The client sends the id of the state snapshot back to the server.
I find ycombinator to be acting completely ignorant of why and how it succeed. The whole notion that they can apply the techniques for an internet startup to hard things is bizarre. As the internet S curve comes to a close, new organizations should be built. Using ycombinator's name to launch unsuccessful startups is just asking to destroy Bs
Either A. the r0 is much higher due to asymptomatic spreading OR B. the serious complication rate is higher. It’s likely not both. If A. is true, the serious complication rate is likely overstated because there are lots of asymptomatic people who are getting counted.
The war on food waste is a waste of time