jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
You're over complicating things, I'm not assuming the existence of any magical function (other than the one Amazon already uses to calculate your bill). All I want is to be able to say "I do not, under any circumstances want to spend more than $X per month on this service." Amazon just needs to keep track of usage, and start rate limiting/returning 402s/blocking writes when the monthly limit is hit.

If I estimate I'm going to need to spend $400 a month on my bill, then I might set a limit of $800, send me an email warning when I'm getting close, I'll go in and work out why I'm consuming much more than I expected. If I don't hit the "let me exceed my billing limit this month" button then stop the service. (but don't delete any data, I'm not sure why so many commenters seem to think this is a necessary step).

Amazon is capable of calculating how much to charge you every month, so they're capable of doing this too. No fancy estimation required.

==================================

So under your example - I upload my 10gb file, but some bug in my processing code means it doesn't get deleted and sits there for a while. Maybe I don't notice and it sits there for a few days instead of a few seconds, but Amazon sends me an automatic email because my usage this month so far is X% higher than the average of my last Y months.

Ideal scenario: I go in, investigate, delete the file and temporarily increase my billing cap just for this month.

Not great, but okay scenario: I don't notice the email, a few days later and I'm at ~2x my previous months bill (or whatever limit I've set up), amazon automatically starts returning 402s when I try to access my storage service. I am happy because this is still much better than getting a bill for 10x my previous amount at the end of the month instead.
Can't do that when 404's are expected from actual customers. I need to redirect 404 to /
This is pretty neat. At the risk of sounding childish, here I go -- I wish books like these could be given life like tryruby.org where you could try out examples and learn along the way. That would be wicked cool.

For now, OpenStudy will do the trick. I created a "StudyPad" if anyone wants to go through this book together.
http://openstudy.com/studypads/Natural-Language-Processing-f...
Where is the ask and jobs sections? I love the first and long for an indian edition of the latter.
This article is about something that happened 7 months ago.
email me to start with :) ossareh@gmail.com - there are loads of people over here (SF) that need talent - email me your resume or linked in and we'll work on getting you past your current hump.
This name is owned by paul graham dude. And I don't think he will come in the way of gathering a few hackers on a news site.
Wow, I did not know that. I've always just assumed they'd be different buffers. I'll probably be using this a lot in future. Thanks!
Pavs, I totally agree with you. Gmail, Chrome, Search and iOS were late. I was all over them when they came out too.

I was all over Wave and still think they should have slowly integrated its features into Gmail.

I was excited to get my hands on those first releases but I'm just not feeling any of their new stuff.
I get the point the op is trying to make there. You see I was longing for a lot of time for something similar but which can also discuss local issues. I just feel left out when there is discussion only about the startup scene in silicon valley SF etc.

I would strongly support this initiative.
It's more because the website is set up to teach the principles, the reasoning, and the possibilities behind F#, and those are basically timeless.
FWIW, Khan Academy integrates with Google Classroom, supports login with Clever and offers tools for teachers and school districts.
Regarding Danish study, here's what I found: the authors concluded that “the 95% confidence intervals are compatible with a possible 46% reduction to 23% increase in infections among mask wearers. These findings do offer evidence about the degree of protection mask wearers can anticipate in a setting where others are not wearing masks and where other public health measures, including social distancing, are in
effect. The findings, however, should not be used to conclude that a recommendations for everyone to wear masks in the community would not be effective in reducing SARS-CoV-2 infections, because the trial did not test the role of masks in source control of SARS-CoV-2 infection.”

Although this was a well-designed study, it had several key limitations. During the study period, there was a low burden of community COVID-19 infections in Denmark, and the study intervention only lasted for 1 month. Cafés and restaurants were closed for the first half of the study. Mask adherence relied on retrospective self-reports. Participants in the mask group had more documented household COVID-19 infections (n= 52) than in the control group (n=39). The antibody test used for diagnosis of COVID-19 infection had a sensitivity of only 82.5%. Finally, there was a trend toward protection in the mask group, which could have been significant had more subjects been recruited to the study or if the community burden of COVID-19 had been higher.

Please consider following two writings:

[1]: https://www.medrxiv.org/content/10.1101/2020.07.31.20166116v...

[2]: https://wmjonline.org/wp-content/uploads/2020/119/4/229.pdf
I've always wondered why SQL didn't have something like an EXCLUDE clause to make this easier for tables with lots of columns where you wanted a large number of them in the result. Something like (table with columns a through z):

SELECT * EXCLUDE g, m, p, x FROM table
> for better battery life, better readability)

High latency could be an issue though.
With all of the enhancements to C# over the last decade, is this still relevant in 2021? None of the benefits listed seem that compelling. (Serious question, not trolling.)
Right now jet fuel comes from the ground, so we are actively adding to the atmospheric stock. This gives a way to leave that carbon stored and use what’s in the atmosphere instead.

And if they can extract it economically, governments or private actors can pay them to sequester some of the carbon instead.
What in the eff...

That's quite an unbelievable leap. The USD infrastructure and it's energy needs is in no way dependent on reserve status. That's just grasping at straws.

The same plumbing handles a plethora of other, smaller currencies with many orders of magnitude better efficiency than BTC does (yeah yeah Lightning, off chain, blah blah).
> Not sure where you got "ploy" or "evil employers", nothing in my post implies those things.

"They'd also rather we worked 12-hour shifts and got paid minimum wage for it."

^ That's where I got it from. The framing that office work was something employers forced upon employees against their will. Many of us prefer an office and are keen to get back to one.
Three hours seems extreme. I live in Manhattan and can get to LGA in under an hour on a public bus, or by taxi in 35-45 minutes, and a taxi to JFK might take an hour but certainly not three.
You always need to think about the corner cases. What is the longest element in an empty list of lists? It might be better to get an error in such a case than to have an empty list returned, since that's not an element of the input list, in violation of one possible interpretation of the function's specification.

> Code like above is simply less readable.

I write code like this all the time, and have for 35 years. I think it's perfectly readable.
This reminds me of MegaPipe. Basically it creates a pipe between kernel and user space.
It uses batching too
https://www.usenix.org/conference/osdi12/technical-sessions/...
Is the person getting a lower salary for personal reasons being compensated with higher stock? Or is everyone being altruistic about it -- "I won't drain cash if I don't need it"?
Except that `checkout` makes the working copy match the target branch, which destroys the pending changes in the working copy, if a path is specified. It's the same as `revert` in other version control systems.
Choose and test one independent variable at a time. Then, check your results for statistical significance.
https://packagist.org/search/?q=http%20router

92 pages of the same basic router implementation. That is a problem. A huge problem.
We've tried many times and in many ways, but text is still the main interface for programers (and even for a lot of end user tasks as well).

As long as this interface remains undisputed, "everything is text" is a feature, not a bug. Arguably, one of Unix's greatest.
Yes I too was interested to know how they eliminated bias. If you were told one rat was smarter than the other, surely there's a risk of influencing the interpretation of results.
I don't think many people would hire for weekend/Evening work?

If you're too busy to "join" our company, why would potential employers want to spend time getting you up to speed? Most are very aware that this would be when your energy has already been spent on your day job -- which your actions imply is your TRUE priority.

So...why?
LC_ALL=C makes grep faster because text matching is normally locale-sensitive, for example 'S' ('\x53' in Big5) is not a substring of '兄' ('\xA5\x53' in Big5).
Normally via recruitment agency's they quite often have perm and contract teams.
"While Facebook could implement a similar type of rating system, Facebook’s rating system of Likes is an absolute one that cannot differentiate between something that is liked and something that is liked a lot, this hindering the value proposition and usefulness especially in large groups."

Facebook already offers a star rating system for businesses/locations/Pages. They display your friends' ratings when you visit a page, post your new ratings in friends' News Feeds and occasionally display a widget enticing you to rate places you have visited.

It would seem not too out of the ordinary for facebook to in some way display links to or ratings for businesses you discuss in Messages. I'd be surprised if they hadn't experimented with that.
You can come at this two ways, I think:

1. We replace lost income. First, inflation hawks have been mostly wrong. Second, we are (somewhat) allowing production of goods to continue, while shutting down customer-facing (ie service) workers. So I suspect the effects will be limited. Second, we'll soon have serologic tests; those folks can just work.

2. We don't replace lost income. We probably have the highest unemployment filings on record, and devastate the lives of folks who work in bars / restaurants / coffee shops / movie theatres / gyms / salons / etc. Their immediate inability to pay much of anything rapidly ricochets through landlords / other goods and services and contaminates small businesses. Many SMBs rapidly lay off lots of their employees and start failing. Our economy hits 20% unemployment rapidly. And btw, this isn't just left-leaning hippies like me; it's also folks like Steve Mnuchin [1].

I'm not sure we're in a place where we get to pick good, better, best; I think we get to pick least bad.

[1] https://www.cnn.com/2020/03/17/politics/steven-mnuchin-unemp...
I wasn't able to find a reliable source on short notice, but the ones I found indicate a therapeutic index of around 4-8 for chloroquine. The therapeutic index is the ratio between the dose that is effective and the lethal dose. So in this case if you take 4-8 times the dose that actually works you're in the range where it could kill you.

I'd be really interested in more robust sources on this. But from the bits I've seen so far, this drug doesn't have as much distance between the effective dose and the lethal dose as you'd like for something that people are likely to self-administer now.
Isn't it interesting how, in every country, the only methods being considered or implemented to aid this "crisis" are the ones that are identical to the behaviors of authoritarians?
NYC is the epicenter of the epidemic in the United States right now, they essentially doubled overnight in the number of confirmed cases. Pretty grim given the absolute numbers involved.
So, you're employed, you have the income to pay your rent, but you want to decide not to and feel okay about that.
You are right, but we did had a chance to contain it [1] but according to them

[1] flattenthecurve.com
>You are lying, you know you are lying, and you keep lying

I am not. You are being overly passionate and stating things are obvious facts without sufficient data. Even the prevalence of asymptomatic spreading is unclear right now.

>And you can't ignore the context and the conclusion of the study and cherry pick half sentences

I didn't ignore it, a studies recommendation is meaningless without the experimental results. I commented on the results. Similarly, you don't need the part I omitted to say...

>in the context of a disease with asymptomatic spread, the requirement translates to everyone.

This is not how studies work. You can't use this to assume long term use of masks by those without symptoms is beneficial. That kind of use may have unaccounted risks.

>And for the nth time, mask isn't a substitute for hygiene and social distancing (which apparently is your faulty understanding because you keep bringing it up),

I have no idea what part of my last post you think brought this up, the quotes from the studies? At no point have I tried to claim masks were a substitute for hygiene or social distancing, I don't know what led you to that idea.

>What part of this is so hard to understand?

The part where you attack something I didn't say is confusing.

>--but also tell them that US discourage their people from using masks and has an infection spread rate of 35% with over 30000 infected people and nearly 400 deaths in a shorter timespan.

It's a bit hard to talk with someone who accuses me of "cherry picking" data and then makes these random comparisons that ignore most of the world and any other potential factors.

>The last thing I am going to say to you is: you are a disgrace and a harmful element to your society, to this world,

All for following the recommendations of organizations like the WHO. Have a nice day, I hope you are fortunate enough to stay healthy, and remember to properly dispose of your masks after use.
How does this differ from Gigsaw's Outline, Shadowsocks or V2Ray?
Economists, policymakers, and scientists studying how to improve science output have themselves been hamstrung for decades because economists have to measure something, and for so long it's been nothing but bibliometrics.

Until we can come up with a way to measure the other outputs of science productivity, we're stuck with this citation-based machine that has all of this institutional and cultural inertia behind it. Which is why I've come to believe this kind of change or new introduction of value isn't going to come from within academia. E.g. novelty is in some fields directly at odds with what makes you a "productive" professional scientist.

Last year I was in the NBER's Science of Science Funding working paper session, and most of the datasets discussed are still heavily focused on patents, citations, and bibliometrics (https://projects.nber.org/drupal/SOSF/data).
"Even if you could perfectly isolate all old people (and ignoring the mental health cost of that) the young people needing medical attention would still vastly overwhelm the health system."

I am willing to stipulate that this is correct.

However, I feel that we've slowly developed (over the past few decades) an underlying assumption that "flu-like symptoms" automatically warrant a trip to the hospital.

During normal times, if you went to an emergency room in rich, well-educated American cities, you would see many, many rich, well-educated people who had taken their children to the ER (or urgent care center) for flu-like symptoms and had asked for and been given antibiotics, wastefully, for a condition caused by a virus.

This was, of course, irksome and disappointing, but now it is a matter of tremendous import for public health: what would our options look like if we did not assume every person exhibiting flu-like symptoms needed medical services ?

What would our options look like if people understood that there is no such thing as cold "medicine" or flu "medicine" and that the doctor can do nothing for your not-critically-sick child other than prescribe rest and good nutrition ?

Instead, we desire to be consumers of health-care because it is a modern imperative.

I believe these were wrong-headed attitudes and we are now paying the price for them.
A bit of both. A group of people in Valve did become fascinated by Dota, though IIRC the leading figure was Robin Walker (of Team Fortress and Team Fortress 2 fame). That's why TF2 started sprouting MOBA-influenced weapons, for instance. But at the same time the business case for adopting Dota must have been quite clear, and surely was discussed seriously. (Valve also had plenty of experience in successfully bringing other people's existing games or mods in-house: TF and CS, Portal and Left 4 Dead.) Meanwhile Blizzard apparently continued to refuse all offers from the Dota developers.
I actually didn't know that. It's a bit hard to find information about though, just that somebody is wanted for something that happened near to, but not inside the capitol building.

Setting up multiple pipe bombs to hurt people is definitely terrorism.
Avalanche effect.
Overreach is not a government specific term.
You have always been able to do that on most Androids. And you can always use the mobile website. I do not understand what is the point of this app when it is identical to a website.
Sometimes when I tend to lose motivation on a project I've been working for long, I concentrate and force myself to focus on it and launch it soon to get feedback. That way when a couple of people like it, it gives me a push to continue working on it :)

P.S: If you want a niche idea I have one: start a cheaper heroku, I'll be your first customer and can get you one more for sure
Thanks for the reply.

My target is to not oversell my systems, what most people fail to do most of the time. Offer spam protection at no extra cost, means less server administration for me and happier customers overall.

My differentiator is that whilst I offer very small hosting packages, aimed at the small business website I offer a package addon which means they can pickup their phone and just ask for something to be done, a page updated, email address created, sent a backup of their site etc etc (this is within reason). My aim is to take out the worry of maintaining a website for the new user, and allow them to focus on running their own business instead of fiddling around with a hosting control panel.
I thought the point of erlang was that it was easier to code for distributed systems, not that it was necessarily faster as a language for simple benchmarks.
A great idea, now to find them and persuade them.
More likely is that they do use a search engine, but don't realize it.

For example, new browsers with search bar functionality etc.
Do you have any experience in the marketing end of the business? I might suggest signing up as an affiliate of one of the big ones, or whitelabeling, and then trying your hand at that prior to sinking hip-deep into a capital intensive industry.

The reason: hosting is saturated and the marketing is cut-throat. Most of the companies are highly dependent on affiliates, and the type of affiliates who operate in hosting are often about one level more scrupulous individuals than the ones in PPC. (It means Porn, Pills, Casino in this context.)
Interesting analysis so far.

Are we going to see some performance data?

While pure performance should not be the overriding consideration, it would still be interesting to see how everyone's routine stacked up.

I would hazard a guess that some dissimilar looking routines will have very similar performance.

Of course, in reality, all I am looking for is the confirmation that my code did not suck too badly...
I don't know specifics of the bug you mention.

If possible, run a test to check if function behaves correctly (this is good for parsing and CSS bugs, less for user input).

If the bug is undetectable via test, but is already fixed in later version of the engine, test for engine and presence of feature added at that time (that's a bit icky too, but at least dependent on behaviour, rather than just name that browser reports).

It's not always possible not to sniff, but it's still bad. e.g. what if bug is fixed in later version, but you keep applying workaround?

At least if you sniff, don't look for brand (Firefox/Iceweasel), but for engine (Gecko is so nice that it includes build date).
Most people will be partying all weekend from early wednesday. Sadly, this week is not the best time for a meetup :(

Shoot me an email if you'd like to grab a beer this week though.
"security guards" would have been more appropriate in the title.
I use Square for the same things. I usually just eat the fee. The rate is so low (2.75%), that the fee doesn't even hit $1 until you're charging over $36. And if we're spending that much, I'm not gonna quibble over what's essentially change.
He may be one of the world's top researchers in the field, but on this point his view is not the consensus view of PLs researchers; other top researchers in the field think that Harper is wrong on the subject. On the other hand it's mostly a semantic dispute over who owns the word "type", which has historically come from multiple sources in mathematics and engineering. The C view of types is closer to the comp-arch view of "typed registers", which isn't really a proof so much as a statement about data-representation capabilities ("this register can hold floats").

It's unsurprising Harper doesn't like that view, because he objects to the entire line of machine-oriented CS thinking, on both the engineering and the theory sides. For example, he thinks computational complexity theory should ditch Turing machines and be refounded on the basis of functional programming.
The vision bit was good it's just the 'ideas suck' spiel/meme I object to.
I like this idea a lot. A lot of these types of photos (weddings, babies, etc.) are put on facebook, but a little too personal for casual sharing, this is a service I could see myself using. What is the business model/how much are you charging?
$ curl -I filesonic.com

HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Sun, 17 Apr 2011 12:21:29 GMT
Content-Type: text/html
Location: http://www.filesonic.com/
Age: 0
Via: HTTP/1.1 webcache1-know.server.virginmedia.net (Traffic-Server/5.7.0-59705 [cMs f ])

Note that I can still download from those site at will. It doesnt look like they're actually blocking anything. I'm on the 10mbit service, which is on a different network to the 50mbit+ plans.

Virgin have stiffed me before with deep packet inspection, but this one is new to me. Time to persuade my new housemates that changing to DSL is a good idea...

Or figure some more elegant way around it. Any ideas? Hooking up openDNS at the router level is on my list, but I doubt that will help.
It's hard to fix slow clients that require tons of data and resources, but feed a desire for apps to do crazy things, and limited dev time. Trade offs have to be made somewhere, a loading screen at the beginning of an application is one of them.
What does calling someone a "comedian" add to the conversation?
I checked and I spec'd an XLERATOR in 2004, and I think they became available the year before. The dyson took another 2-3 years to reach market, so 4-5 years is probably overstating it.

Either way Excel were the innovators. Dyson just made it look cool. The apple-style marketers who charged 2x as much so could afford some stupid overengineering.