jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
*Motivation*

I wanted to learn about serverless computing and so I built Unofunction, a Python Lambda that wraps LibreOffice’s headless mode and can convert any document format that LibreOffice can import to any document format that LibreOffice can export (e.g. DOCX to PDF).

*Implementation*

Calling LibreOffice in a Python Lambda required compiling LibreOffice for the Amazon Linux 2 base image (CentOS 7). I originally tried compiling LibreOffice locally (using Docker) on my 2021 M1 MacBook Pro (10 CPU cores) but gave up after a few hours. On an AWS EC2 c6i.8xlarge instance (32 vCPUs, $1.36 per hour in eu-west-2), compiling took ~30 minutes. In case someone else might need a prebuilt headless LibreOffice that has been compiled for Amazon Linux 2, I’ve uploaded the resulting image to https://hub.docker.com/repository/docker/unofunction/libreof...

A crucial implementation detail is that because AWS Lambda does not permit files to be written, except to the /tmp directory, LibreOffice needs to be called with the argument '-env:UserInstallation=file:///tmp/’. Otherwise, it will attempt user installation in .config/libreoffice and fail.

*Thoughts*

I enjoyed using the AWS CDK a lot. There is something magical about being able to deploy infrastructure by manipulating it as if it were a Python or a TypeScript object. I preferred it to Terraform’s declarative approach.[1] My only criticisms are that deployment can be extremely slow and that destroying S3 buckets can be clunky (they need to be emptied first).

Testing code deployed to AWS is hard. Neither AWS SAM nor LocalStack perfectly simulates a real deployment: code which works locally does not always work on Lambda. (An example of this is deploying files to the /tmp directory. SAM allows such files to be edited or overwritten; Lambda makes them read-only.)

[1] This article is a good comparison between Terraform and the AWS CDK: https://medium.com/swlh/cdk-or-terraform-88a464bedf9e
Taxi have been able to go onto Uber for a very long time now. But they don't do so willingly most of the time.
Most def. Modified Golden rule: "Treat others as they wish to be treated" Some people wish to be treated different than I would, so it might be worth anticipating their expectations.

Meta: http://inewsdesign.com/2012/11/21/richard-bransons-tip-why-y...
I'm not big on boycotts, much less big talk about them, but I confess I lean the same way. If Rogan gets the boot, I would seriously consider dropping Spotify out of principle assuming there's some other service to cover my music interests. Censorship is a cancer and it seems to be metastasizing in the US still, not in remission. Voting with my wallet is one of the few things I can do in response.
At the very least, it seems like it'd be a good idea to respond to this positively if only to encourage non-violent, instead of violent, prison protests in the future.
You should launch right now.

You are front page on HN and delicious is all over the news.
If you have an architecture that will scale any way well at all, get out of public beta, and try surf this wave.
Designed and coded by myself (@taitems) with a friend (@sesh) doing all the data scraping and backend wizardry. Built in lunch breaks and on weekends. The emphasis was on making a free and universal web app for tracking the cricket scores for the ashes, because @sesh was frustrated there wasn't one.
"... prisoners in Georgia are forced to work without pay for their labor--seemingly a violation of the 13th Amendment, which prohibits slavery and involuntary servitude."

I hadn't thought about that before, but that's a very interesting point. The fact that such a high percentage of the prison population is black makes it hit home a little harder.
This reminds me a lot of turbo/retroencabulator [1]. After you've watched the video (don't go first or it will spoil it), you can check out the wikipedia article.[2]

[1] http://www.youtube.com/watch?v=RXJKdh1KZ0w

[2] http://en.wikipedia.org/wiki/Turboencabulator
John, outstanding work. Word-for-word is IMO more interesting too, because you understand enough to get the point across - but you still get the flavour of the language and enjoy the idioms. Huge, huge potential. You win the Internet today.
Computer engineering Barbie looks eerily similar to administrative assistant Barbie with an iPhone.
"Section 1. Neither slavery nor involuntary servitude, except as a punishment for crime whereof the party shall have been duly convicted, shall exist within the United States, or any place subject to their jurisdiction.

Section 2. Congress shall have power to enforce this article by appropriate legislation."
A couple of details??

Go read the article carefully. The "details" I criticized include every significant supporting example offered. The fact that the article got them all wrong should make you suspicious of the grandiose reasoning that they were meant to support.

In short there is no evidence that having cash makes companies stupid. Companies with cash should be doing a certain amount of experimentations with it. They should experiment with projects outside of their core area. And the fact that it isn't obvious to you why they are doing something doesn't mean that they don't have a good reason to do it.
I learned how to learn long before college. Therefore college is not necessary to do that. Furthermore I'd say if you haven't learned how to learn until/outside college then you probably are mentally impaired. College is useful, but to say you can't learn, or learn how to learn, even in a "deep" way, or that you cannot consume or appreciate literature, philosophy or art unless and until you attend college is provably false. One thing's for certain, though: you can learn much faster and more cheaply on your own than by involving college/university, in general.
Yeah it's Despark. Can't wait to give HN the lowdown on how we did it... Is a fun story :)
I came up with such a scheme 12 years ago, but with some improvements. If you modify words from /usr/dict/words with h4xx0r style modifications, then it's easy to get above 80 bits of entropy with a reasonable number of entities.

An average vocabulary has something like a million words in it, if you word count derivations. If you can expand that by a factor of five with easily memorable things like 1337-speak transformations, you can get above 80 bits with only 4 entities.
This is cool. Now my iphone has a built in gym as well...
all at a very affordable price

AWS really needs to get back in touch with reality.

$500 USD/mo for a server with 32G Ram and 3x2T disks is not 'affordable', it's a rip-off.

For that money you can rent 10 machines of that size at Hetzner/OVH - and they will be dedicated hardware.
I could never give up reading. I’ve owned a Kindle since the first Kindle Keyboard and love reading even more since then, finally no more lugging around of giant books and (as a non-native speaker) it takes just one long-press to get the dictionary entry for words like "susurration" or "detritus".

Every day after going to bed and before sleeping, I read between 0.5 and 4 hours, at the moment, I’m re-reading the Malazan series which consists of 10 books with 800-1200 pages, physical versions would be far more exhausting to read.

One thing I used to do, was reading late into the night. The last time I read the series I was still a student, and I remember days when my alarm went off while I was still reading…
Even then, a lot of the "I was talking about something with a friend and never even Googled it then got an ad for it" can be explained by Facebook leveraging their social graph to target ads if your friend googled something.

They have a social graph that indicates who your probable friends are, regardless of actual Facebook/Instagram/Whatsapp friend status; using Bluetooth & Wifi identifiers based on physical closeness.
The Dominion claim isn't the only one in Georgia. In fact, most of the lawsuits, two of which are ongoing, are regarding the changes the Georgia Secretary of State made in March 2020 to relax signature matching and ballot curing rules for absentee ballots. Since the Secretary of State is not a part of the legislature, this relaxation is alleged to be unconstitutional.

You can find a breakdown of the lawsuits here. [0]

There was a hand recount in Georgia. But if the dispute is over the ballots themselves and their veracity, then a recount does little to resolve it. The Georgia Governor has since called for a signature audit, but limited it to Cobb county. Most of the witness affidavits regarding signatures not being verified came out of Fulton county.

[0]: https://en.wikipedia.org/wiki/Post-election_lawsuits_related...
What are some of those? Snapchat is one?

I wonder if they have in mind an IPO instead
Sure, my wife loves talking about her (it was mostly her, honestly) struggle to get the best care for our daughter, even at a “good” children’s hospital, I’ll send you an email.
> This is because you don't understand humans.

I don’t think it’s about so large and broad a group, or about human language. No one speaks in dynamic property access or dependency inversion or binary compilation or a zillion other concepts in programming that aren’t misrepresented as “hard to understand”.

My point isn’t that it’s something that would be immediately obvious to a beginner, but that its difficulty is often overstated when introduced.
The drop in the graph seems to be very sudden
You know what's funny here? You seem to be actively defending their decision and putting it in the vein of "well they sell hardware so they are going to do anything they can to get you to use their hardware!!". And that's supposed to make it OK? Fuck that logic.

As other people have mentioned, if iMessage would have opened up to other platforms it would probably be what everyone uses and would be GOOD FOR EVERYONE. But instead, they wall it to their shit. My mom constantly tells me she doesn't get my text messages from android to her 100% apple ecosystem. I can't do anything about it. It doesn't make any sense, but it's on Apple. They probably even leave these "unfixed issues" to get everyone to move to imessage just so they will buy their hardware.

Fuck Apple for their decision on this. Stop defending it. It's a horrible decision.
Have you not heard of someone having the flu in the summer? It’s possible, just less common than during winter months. We suspect the same for Covid-19.
Are they? Certainly not in sales.

There was a push to make all laptops have a touchscreen a few years back, but this seems to have fizzled out, and I've seldom seen anyone use them (deliberately anyway).
I don't even want to know what role lobbyists play in selecting the drugs used for the trial.
Watching an e-sports race is as boring as watching a real F1 race. The interesting part of e-sports is actually playing it and not watching another bunch of dudes having fun. I think F1 is completely missing the point here.
> MS has a known motive: they want to sell you software and make money.

And the idea behind my comment was : They also want to sell you. Bing, linkedin, github, etc aren't selling you software. Also, windows OS has ads now.

https://www.theverge.com/2017/3/17/14956540/microsoft-window...

> Because Apple sells you hardware, and Google sells You.

Apple also sells you. They sell you to music, movie, etc industry in order for the industry to support apple's platform.

> The glib terseness of the comment is a metaphor for the relative harmlessness of the business model.

Which I showed was wrong.

It's insane the amount of microsoft and apple support on a tech platform. I guess all the money that microsoft/gates spent on PR truly worked.

> I think, anyway...?

I don't think you thought things through too well... Your argument was basically google sells chromebook/hardware so everything else they do is fine.
Also, make sure you are running in the right direction. Ideally before moving fast.
> We in Whereby are committed to safeguarding the privacy of our users. Our business model is to provide a paid service to users who need additional features on top of the FREE version, and does not rely on widespread collection of general user data. [0]

Interesting. Thank you!!

[0] https://whereby.com/information/tos/privacy-policy/
Of course, except that normal cars have no component to dissipate the load. The battery is the only way, and it has significant limitations.

A resonable auxillary air compressor won't make a difference. With a heavy trailer going down hill, you'd need to at least dissipate tens of kilowatts, maybe even touching triple digits if you also need to slow down.

Nowhere to dissipate the power → no regenerative braking.
They should have just named someone else. Now we have to qualify any sentence referencing the Economics price each time we say it.
In my case, while I like the aesthetic, I think aesthetic considerations aren't supposed to figure into buying a truck. Trucks exist to do work, buying one on aesthetics seems counter to the whole reason to own a truck in the first place.
Who are the 1% of truck buyers who don't like trucks?
yeah atlassian pricing is way more affordable for small teams. (i.e. 10€/y for everything for a team of ten or below, but they have way higher server costs)
He's got a few articles up on that touch on this.

http://krebsonsecurity.com/2014/12/whos-in-the-lizard-squad/

http://krebsonsecurity.com/2014/12/lizard-kids-a-long-trail-...
Please provide evidence when you say these kinds of things. Causation is rarely as intuitive as you would like to believe.
For that matter, what is `bind`?
https://news.ycombinator.com/item?id=8799572
I remember a white paper outlining MS's initial attempts (c. 2000?) to add additional syntax to C++ in order to save developers from much of the quagmire that was COM programming in C++, before abandoning the whole thing in favour of .NET. So nice to see that the language can now suppport that effort natively.
It is part of the chipset and has other functions too (parts of the power management, for example).
This looks terrible. An "almost-JSON" with... macros? Seriously?

What problem is this looking to solve?

Why not just use TOML or YAML?
Interesting article.

For the "black names" thing, though, I would be curious to know if there were any studies also comparing "stereotypical white-but-not-anglophone" names, for example Greek, East-European, or South-European names.

And also, for example, non-traditional names that have no racial implications, like "Rainbow" or similar.
I saw this on /. earlier and wrote:

Anyone interested in this subject should read Philip Greenspun's essay Women in Science: http://philip.greenspun.com/careers/women-in-science. Ignore the borderline sexist stuff about women and pay attention to his comments about the structure of science in the United States and the opportunity costs of pursuing a career in science.

<p>As he observes: "Adjusted for IQ, quantitative skills, and working hours, jobs in science are the lowest paid in the United States." And he's right. And then people wonder why more Americans don't go into science.
Aside from nuclear energy, no known "sustainable" energy technologies have any hope of replacing a significant amount of the need for oil in the next several decades at least.

The ultimate solution may indeed be "getting past oil" but that's a long, long way off. Absent some game-changing discoveries, it may not happen in our lifetimes.
When you're getting started, most of what you're going to do is be hooking up a microcontroller to various inputs and outputs. I'm partial to the ATMega series by Atmel.

I've never used the Arduino, but I've heard tons of good things about them. When you're comfortable with your ability building circuits that aren't permanent, maybe look into a PCB.
2. The problem of academia's imploding pyramid scheme is not at all limited to science. It's worse in the soft sciences and humanities -- picture the same situation of tenured professors overseeing teams of cringing graduate students, but without the NSF/NIH/DOD grant money to hire postdocs. Now, where do you go when you graduate? (Hint: you don't, unless you already have a job lined up.)

Indeed. Those who want to know more about this issue should read Louis Menand's The Marketplace of Ideas, which I think I've recommended before on HN: http://jseliger.com/2010/01/21/problems-in-the-academy-louis... .
The general pattern I've seen with Microsoft is they mostly just copy other people's successes. Sometimes their copies do okay, or well enough. Sometimes they fail. But due to their huge install base and lock-in effects and user inertia and huge cash pile they have the ability to muddle onward. In some ways, Microsoft treats Apple as a sort of external UI R&D department, one with the wonderful quality that Microsoft doesn't have to pay the Apple folks anything, just copy whatever people seem to like. I do think they succeed enough, at the right things, that it keeps them shambling forward. But the same is true of a zombie.
I meant the review was fake not the mattress.

A more direct example is the supplement market, but that’s such a dumpster fire I figured a less extreme example was relevant.
Does anyone else find it a little worrying that the FDA is just rubber stamping these? Am I justified in my concern or is that what they had been doing pre-coronavirus but with more lede time? I understand the gravity of the situation, but it seems like little oversight could lead to worse outcomes
Did your baby get sick? With a one year old, that’s my biggest fear.
> optimizing for a hypothetical situation is premature.

Hypothetical? We've seen travel numbers increase significantly over the last decade, and Airbnb now claims a large chunk of that. I think it's important point to remind people why Airbnb exists -- it's a great service with positive benefits. I have stayed in far more Airbnb's than hotels over the last few years, saving money and typically getting a better overall experience.

> Clearly a greater good than, say, having a place to live, no?

This goes back to the first point. Let people build more units. If that doesn't fix the problem, then start evaluating more extreme measures that limit the amount of people that are able to travel to an area at a given time (in the name of making sure people have a place to live.)
I wouldn't say the Chinese have a particularly penchant for being obedient any more any any one else.

The countries which are winning against COVID are those who don't give loudspeakers to stupid people.

Just saying.
not sure why you are being downvoted, as this was very much what we were told by outlets like cnn, etc. "dont where masks, they dont work and health care workers need them to not get the virus"

I was basically treated like a country bumpkin in a work channel (Amazon) for suggesting if you are going outside (Seattle) you should wear a mask.
> Free markets are a good thing.

Out of curiosity, what do you think of net neutrality?
He’s actually more known for how little charity he does, relative to his wealth and his peers. As soon as he got divorced his ex-wife gave away billions which hints that he was blocking a lot of that.
Correct.

I was asking what the basis is for your confidence that it positively isn't substantially genetic.

We know that intelligence is highly heritable, which leaves a few possible explanations, genetics being one of them (along with prenatal nutrition, prenatal lead exposure, etc).

If you're going to claim that genetics is only a small part of the reason that it's heritable, then that has its own burden of proof that needs to be met.
Here's a story: I was in Little Italy in NYC today and I stopped to have a panini at a place that advertised the best Tiramisu in Little Italy. Both the panini and the Tiramisu were palatable, at best, but far from what I would have expected. The waitress was a little rude too.

I paid the bill, left 25% gratuity, and made a mental note to try the place across the street.

I didn't create a support group for victims of false advertising, I didn't drone on and on about how I was gastronomically assaulted, and I didn't demand to publicly crucify their chef.

Your reply smacks of the hyperbole, so I'm singling you out. These guys are people just like you or I. They were wrong, they admitted it, and they're trying their best. Relax, buddy.
Obviously, I agree with you on this.

As I said in reply to another comment, I believe that the reason for this absurdity is probably because it's the lowest common denominator solution.

I can't remember if we crossed paths when I was active: http://en.wikipedia.org/wiki/User:LinaMishima
Agreed. I have often noticed a tendency among professionals who should know better, to presume that ancient peoples were somehow less intelligent than we are, and less capable of applying their minds to complicated and even abstract problems. It is just plain not true, and there is so much anthropological evidence to demonstrate this fallacy that it is idiotic that it is still repeated.

In this case, it is an especially bad assumption, given that he is talking about a system of mathematics that significantly post-dates the great Greek mathematicians. If Archimedes could invent a method to solve problems today solved by integral calculus, 2000 years before Newton, and implemented Riemann sums in his methods, I hardly think that this little trick confounded explanation at the time it was used, particularly since it works with ANY system of notation.
Jeff is right on target.

THE biggest issue I have with it is that one app never fits. There are ALWAYS an endless number of feature requests, and the license usually never takes these into consideration. Make sure that if you plan on doing it, and making changes, then you (a) charge for time, enough to make it painful ($150/hr or more), (b) are charging for time and that they don't own the code, and (c) limit the number of requests per day/week/month/year, etc, and (d) have the right to terminate the app, hosting, licensing, and support at will, and the only recourse they have is to buy it for a minimum amount decided by you.

If they REALLY want it, they'll be willing to make concessions.

If you go this route, you need to be willing to lose control of the app, and be blocked from the industry for up to three years.

It will happen. Chances are they've looked for the app, even tried to have it written, and now they've found it for license, and a guy that's willing to keep it up. All that stands between them and the app is negotiations.

We're not painting a pleasant picture, but we're holding back. It's worse than it appears.
Did the same thing.
I always wonder with backend-type stuff like this whether it's even possible to enforce such a patent. Since the algorithms used for pricing, and even the very act of dynamic price adjustment can remain hidden from the end user, I wonder how Uber would even be able to enforce something like this. If I own a company and I have algorithms running on my servers, how would they ever be able to prove that I'm using what they've patented? If all they see is price adjustment, I don't understand how they could ever submit a claim to the court. Seems like they'd have to get cold, hard evidence from an insider to be able to provide that that's what's happening. I'm assuming that such information would only be obtainable through an illegal leak, making it inadmissible.

Seems like this is fundamentally a useless patent because it's not even enforceable. At least if they patented something UX-related, they can spot it and submit evidence.

Am I missing something about the nature of this patent? Or is it really stupid on two counts?
Location: Seattle, Washington, USA

Remote: Yes

Willing to relocate: Maybe

Technologies: C, C++, CMake, Python, PyTorch, JavaScript, NodeJS, HTML, CSS, Linux, Git, (+ some APIs like OpenGL, Vulkan). Mainly have a thing for low-level systems programming, though.

Résumé/CV:

- GitHub: https://github.com/aeroc7/

- LinkedIn: https://www.linkedin.com/in/bennettoanderson/

Email: bennett _at_ bennettoa com
like forth?
In simpler cases, you can see the problem as purely functional data structures.