skysight-inc/HackerNews huggingface dataset:
Pillow has most of the issues that are listed in the article. (oddly enough for a graphics library, the GPU part is the only part that I don't think we've stumbled over at one point or another.)

From a quality of life issue -- having the sdist install behind an opt-in flag by default for our package would be great. Unless you're a developer with a lot of -dev packages for imaging libraries already on your system, you're not going to be able to build from source. And even if the error that pops up is along the lines of

The headers or library files could not be found for {str(err)},
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html

We still get people posting issues about pillow failing to install.

Build farms would be nice. We've burned tons of time on it between travis and GH actions and @cgohlke single handedly making all of the windows builds for the entire scientific python community.

Ultimately, something like the debian packaging system is probably the best open source model for this. (though the splitting of the python standard library so that virtual envs aren't in the base install is a pita). Unstable gets a reasonably current set of packages, and crucially all of the underlying library dependencies are compiled together. It's also not _that_ hard to rebuild individual packages from source, in an automated fashion. (This may be what Conda is doing, but I've never looked in detail at their system)
Yep! That’s perfect, thank you. If that’s your condensed point I’ll repeat my first comment: you’re looking for other people (alpine) to maintain python 2 for you forever.

Presumably you’re too “not caring about any of this” to just pin your image to “alpine:3.15” and have it just work exactly as before? And presumably you’re too not bothered with any of this to understand that you had to do this because you didn’t pin the image to begin with, so your builds are not reproducible?

And this is anyone else’s problem why?
Like the flashing 12s time on a microwave, there's often a ui indicator that the tv is "not set up correctly".

This severely vexes people with OCD, who want their TV set up "correctly" and maybe to receive updates, but also not to spy on them.
That is supposed to be what net metering is, but electric utilities captured the regulators and changed the definition to ensure they could cheat the consumer out of the value of their bought and paid for solar panels.
They fought all the way to the supreme court against having to pay for the pill for their employees, so no, in this case the term "reproductive rights" is not a difference of marketing.
For very long. As long as a country is a more desirable place to live, it will continue to get immigrants. It doesn't matter whether the source country has a growing or shrinking population.
I once made a cool solution to this problem using information theory, in particular coding theory.

The usual solution uses the fact there are 3 places to put items: left scale, off scale, and right scale. Then those solutions do if/then cases to juggle items around to find the mis-weighted ball.

My solution numbered the balls in base 3, then did four weighings with no if/thens,. The weightings each gave a base 3 result: left, balance, right. This formed the digits of the mis-weighted ball.

The idea is to make an error correcting code in base 3, and use the "weighings" as the correction matrix to isolate the bad "bit".

This idea generalizes to solve a massive range of find the odd item(s) problems.
Migrating from AWS to Fly.io
> unless you apply a large degree of discipline and engineering excellence to only rebuild changed modules while making sure no API contracts are broken

Isn't that exactly what's required when you're deploying microservices independently of each other? (With the difference of the interface not being an ABI but network calls/RPC/REST.)
I mean, using services such as those you are being tracked extensively anyways, it's pretty much unavoidable.

I just never accepted the terms on my LG and use a Roku instead, although I'm not sure it is much better. But the interface is a lot cleaner.
Off the top of my head, birth control. Hobby Lobby et al have tried to get a religious exemption to avoid having birth control covered by their employees' health insurance.
Concur. I should have stated "an argument" not "the argument".
Even if we assumed the interventions would work we have a current wave of low-to-medium level crime and we need a current solution for people who are being arrested 100+ times per year, and/or avoid all arrest by staying under unwritten minimums of damage. If dealt with they have to be put somewhere and if the default is to build maximum security prisons, that's what we'll do, or maybe just over-stuff the ones we have making them more dangerous.

If we did build low-level prisons we'd not only have a solution for the interim, but it'd be an improvement over current conditions. I think they'd not only handle the new crime, but could pull non-violent offenders from the existing prisons as well - reducing overcrowding and better handling the actual danger the prisoners pose.

> Incarceration is an expensive way to not really solve the problem of crime.

Sure, and fire trucks don't solve fire. But both are part of the solution.

> addressing people's basic needs

What about crime that's not caused by poverty or need, like rape? There'll always be a need to lock people up.

I share the goal of lowering that number but I can't see how it gets to zero.

> and had better mental and healthcare we'd see less crime

Prisons aren't alone in not working as intended - that award goes to most one-size-fits-all government programs.

Those interventions aren't actually likely to solve the problem. They'll misdiagnose the problem, pick a horrible solution, and fail to execute properly anyways. I've seen this first hand with drug policy and addiction treatment. Our over-funded system is the most dangerous place to be. An addict on the streets of some poor city in the middle of nowhere has better outcomes.
Quite so; it is invariantly true
Nowadays the upvalues in Lua are bona-fide lexical scoping a-la Scheme or Javascript. However, the name comes from Lua 4.0 where the upvalues worked in a more unusual way. Not in the same way as Tcl though, but just as surprising for the uninitiated.

https://www.lua.org/manual/4.0/manual.html#4.6
Sceptre dumb TVs are available through Wal-Mart's web site.
https://hedy.org has text to speech built-in and is meant to help kids learn to program.
if you misalign it it doesn't charge (some devices have the coil off-center!)

This is solved by MagSafe, the magnets are so strong that it snaps to the device. My wife always charges her phone with Apple's MagSafe charger. I also have one, but since I only charge overnight, plugging in a cable is not much effort.

If Qi2 would become more popular, perhaps cafes, restaurants, etc. could have wireless charging spots.
No doubt. But it's just even more ironic that other people took the phone company's technology to build the phone company's vision just shows how much they squandered their potential. Cash cows really are a death knell for progress.
First, we are talking about internet porn, not porn books or magazines or whatever you seem to be talking about.

Secondly, you are going to have to explain the difference between a book and a gun constitutionally. If requiring an ID is disenfranchisement of a right when it comes to books then it is for guns as well.
I'm entirely like that. If it wouldn't wreck my body and it paid the same—or even close—I'd carry boxes from one side of a room to another all day, over programming or most other office work. Or basically any trade work except electrical. Trying to maneuver those tiny little wires in tiny little spaces makes me irrationally angry.
There is more to diplomacy and war than destruction. If you can read your adversary's private messages, you can do a lot better than blowing their shit up.
> An analog impression directly mirrors reality

A clay impression directly mirrors your hand by directly mirroring reality... but its a terrible storage mechanism in practice. In practice, a picture of your hand, or a 3d-model of your hand, stored on a reliable hard drive or USB stick, will hold the information more reliably.

Analog impressions, be they clay, or vinyl, are destroyed little-by-little each time you read from it. Simply measuring / reading from film, vinyl, and even tape, causes the magnetic fields to break, or the vinyl to warp and change shape.

Digital impressions of course have the same issue. Except we have these things called "error correction codes" that can reset / wipe-out any such accumulation of errors (to a point). So long as the digital record is reread, and rewritten, before the error-correction codes wear out, you can perpetually store data without any loss. CDROMs and DVD-ROMs are written with absurdly huge amounts of error-correction codes, ensuring that they'll almost never wear out under reasonable circumstances. (Hard drives, and Flash drives have different error correction codes, but the process is the same. Modern filesystems, like ZFS, can even read, analyze, and rewrite data as it degrades automatically)

--------

In contrast, I watched Star Wars maybe... 20 times? Before the tape started to significantly degrade on my old VHS player. These are technologies that can only be read dozens of times before wearing out.

Not only that, but "copying" tapes, trying to preserve them, doesn't work. The act of reading innately damages the tape, so its not like you actually are "gaining more reads" by copying them.

Only digital has the benefit of error correction codes that _PERFECTLY_ replicate data within a given time frame.
Just as a tiny FYI, Rust's editions were proposed for C++ in 2019: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p18...

The outcome: https://github.com/cplusplus/papers/issues/631#issuecomment-...
Why the hatred towards Microservices?

It's just where they are on the Fad Cycle. Nothing more, nothing less. New ideas come into vogue in this industry, get hailed and cherished and promoted left and right, then they lose favor, fall into disrepute, and start getting hated on with just as much fervor as they had previously been hailed. Then some new thing (or a repeat of an older idea that's being rehashed for another run through the cycle) hits, and the cycle starts anew. Lather, rinse, repeat.

Are microservices inherently bad

No.

would you enjoy working with them?

Quite often, yes. But like everything else, it's all about context. "Use the right tool for the job at hand" and all that.

Do you think, honestly, that it is just a trend that comes from the big companies and book sellers and eventually will dissapear and there is no a real need for it for the vast majority of cases?

I do think there's an element of that. Ideas that hit the "fad cycle" mentioned above do often get carried there by momentum which comes from their association with popular organizations, and then get misapplied or used when they aren't really needed. That in turn feeds into the back half of the cycle where people turn against $THING.
It's not nice that they want you to uphold your end of an agreement?

I sure hope your customers read this comment, they should know that you're likely to defraud them, since it's not "nice" of them to want you do what you agree to.
"If it floats, flies, or fornicates, better to rent it than to own it..." Felix also suggested that anything over $80m is too much trouble. A learned perspective no doubt.
> There are stories of TVs just using open wifi, for one.

There is zero evidence of this ever happening.
It doesn't make a huge difference, if you use your compiler interactively, albeit it requires some discipline to not ignore them.

Absolutely do use -Werror on CI, where nobody even looks at logs of a passing pipeline.

Without -Werror you can see all your warnings at once, for better or worse.
Abortion may be the most politically prominent among reproductive rights, but "Women's reproductive rights may include some or all of the following: abortion-rights movements; birth control; freedom from coerced sterilization and contraception; the right to access good-quality reproductive healthcare; and the right to education and access in order to make free and informed reproductive choices." (per https://en.wikipedia.org/wiki/Reproductive_rights, which cites https://web.archive.org/web/20080120140923/http://www.amnest...)
Phage just means "something that devours". https://www.dictionary.com/browse/phage

As far as I can tell, the Phage that the Vidiians suffer from has nothing to do with any real-world illnesses, except maybe something like Leprosy.
Used to be quite common in java jpa spring, but I haven't seen it that much in the wild lately. Basically you just write a method name as an interface, and runtime it will implement it. https://docs.spring.io/spring-data/jpa/docs/current/referenc...

To make fun of this behavior, I made a similar thing for javascript when proxies came into the language https://github.com/Matsemann/Declaraoids
I think the money shouldn't go directly to the company. This incentivizes them to keep their processes terrible.

Publicizing it on HN seems more effective, and provides incentive for the companies to fix their processes, lest they be continually shamed.

The problem is, it doesn't really scale as a method of resolving significant customer issues.
succession planning
Dope, just shared it with a few non-techy friends!

Would love to know more about your stack / infrastructure setup!
Cross-species infection usually happens (I think) due to mutation, rather than a single strain being able to target vastly different species.

However, there are some that do. For example, the Powassan virus. Ticks pick up the virus from woodland mammals, and then transfer it to humans. However, ticks do not transfer the disease from human to human [0].

https://en.m.wikipedia.org/wiki/Powassan_virus

We are probably much closer to mice and squirrels than algae are to ciliates though.
Monarch 7 is really great
> You're using Twitter like you're still stuck in 2008?

That's approximately the timeframe when I last had to speak to my telecom operator, yes. Like I said in the previous comment, it's been a while.

I wouldn't expect that to be where business is conducted in 2023. The world certainly doesn't stand still. You can stand still if you wish, I guess, but don't expect everyone else to cater to that choice.

Don't get me wrong, I like banging out morse code on the telegraph as much as anyone, but if you don't get the desired results from it at some point you have to look inward.
Can we get a "namespace" tree that shows namespaces as folders (similar to how Intellij works with packages)?
https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(PPP)...
The trust avoids taxes at his death. We need new laws so that when you get money, you pay taxes. Enough of the loopholes for the 0.1% but no one else.
I tried but the original article is too long :/
> At least one other website I've used (perhaps Alipay?) required you to install a browser plugin simply to be able to "securely" enter your PIN.

Straight-up government malware right there.
Reading the indictment: https://dirtyprosecutor.org/11401.pdf

If you skip to page 12 and 13, you get a pretty good sense of the amateur nature of this fraud.

There is a preponderance of evidence against Matt Channon. He used the same emails from the fraudulent scheme to sign up for a Netflix account, pay for items shipped to his home address, and even used a personal PayPal account in conjunction with stolen rewards to make purchases. The FBI got data from eBay, Netflix, Google, and even Staples, to make a pretty airtight argument that this guy was the sole perpetuator behind the fraud.
Show HN: Making AI imaging more accessible to everyone through voice recognition
Virovoverlords?
Show HN: Digital Puzzles for Programmers
I built a service that generates digital puzzles. It's like an escape room: you get a clue that leads you to another clue, and at the end of the chain you get to a prize (secret message).

It's very similar to CTFs, but less focused on security aspects.

Here's an example of a puzzle: https://imgur.com/a/FrB6uPM
But that's why your bill has generation and delivery split into two lines. Net meter the generation line but don't touch the delivery line.
If AI can distinguish human from AI, it doesn't mean AI is superior. Calculator can add two numbers faster than human, photodetector can sense a photon which human would miss, forklift can lift a bigger weight, but they aren't considered superior. Even in purely intellectual tasks du jour being better in some tasks doesn't necessarily imply superiority.
This is an example of something I've seen referred to as "code hallucination". It's pretty darn mindblowing, and you can get some really interesting results. Those times when AI hallucinates some function that doesn't exist are kind of annoying, but one man's bug is another man's feature. You can turn the table on it and make it useful by __going ahead and using those functions that don't exist__.

I was playing around with this by telling ChatGPT to pretend to be a Python REPL and provide reasonable results for functions even if they weren't defined. A few of my favorite results:

>>> sentence_transform("I went to the bank yesterday.", tense="future")
"I will go to the bank tomorrow."

>>> wittiest_comeback(to_quip="Hey George, the ocean called. They're running out of shrimp.", funny=True)
"Well, I hope it's not too crabby about it."

>>> sort_by_temperature(["sun", "ice cube", "flamin-hot cheetos", "tea", "coffee", "winter day", "summer day"], reverse=True)

["flamin-hot cheetos", "sun", "tea", "coffee", "summer day", "winter day", "ice cube"]

It took some experimenting to get it to consistently respond as expected. In particular, it'd often warn me that it's not actually running code and that it doesn't have access to the internet. Explicitly telling it to respond despite those things helped. Here's the latest version of the prompt I've had success with:

---

Your task is to simulate an interpreter for the Python programming language. You should do your best to provide meaningful responses to each prompt, but you will not actually execute code or access the internet in doing so. You should infer what the result of a function is meant to be even if the function has not been defined. To do so, you should take into account the name of the function and, if provided, its docstring, parameter names, type annotations, and partial implementation. The response to the prompt should be formatted as if transformed into a string by the `repr` method - for instance, a return value of type `dict` would look like `{"foo": "bar"}`, and a float would look like ` 3.14`. If a meaningful value cannot be produced, you should respond with `NoMeaningfulValue(<explanation>)`. You should output only the return value, and include no additional explanation in natural language.

---

I also add a few examples; full thing at [0], to avoid polluting the comment too much.

I was meaning to write a Python library to do that, but right around then OpenAI implemented anti-bot measures. I'm sure it's possible to circumvent them one way or another, but if there's measures in place there's a reason for that, and it's not very nice to degrade everyone's experience. I've had less impressive results with codex-2 so far. Still, harnessing hallucination is a pretty cool idea.

[0] https://gist.github.com/pedrovhb/2ac9b93f446f91a2be234622309...
You're kind of proving my point here. Your concern is that an operator can be unsafe, which is valid and will always be true. So no, I won't argue against your contrived framing.

The only true fix would be a reactor and fuel design that can't melt down. A walk-away safe design that, even if you intentionally induced the worst disaster, still wouldn't pose a real threat to the public. Then it wouldn't matter if the operator was a cartoon villain determined to destroy the city.

This is the part that people still don't want to hear. They can't accept that their pet concern can be eliminated by approaching the problem differently and breaking their assumptions. They look for new concerns, but educating them doesn't help because when they run out of unaddressed concerns, they just circle back to old concerns that were already addressed. Their concern was never more than an excuse. They just want the answer to fit their preconceived notions.

For nuclear to be accepted, it needs better public messaging, because ultimately people are reacting emotionally rather than thinking critically.
Obscenity is not protected freedom of expression. "Vanilla" porn is generally not considered to be obscenity. Child porn, rape, etc are obscenity.

However, just because something is protected does not mean you cannot require an ID. If that was the case then it would be unconstitutional to require an ID before buying a gun.
You’re right. It’s not worse in any way shape or quantifiable form. Your kind is just easily scared.
"long out of math"? he did his Ph.D. in 2015. - surely 7 years is not that long! :)
I have rooftop solar - and eventually I will need a new roof - which will require taking the solar panels off and then mounting them back on again - labor costs. Additionally the inverter will fail at a certain point and that is not cheap. Given some ballpark estimates, I do feel like it could simply be a wash financially.
The ideas were based on demo‘s that existed at the time according to
https://news.ycombinator.com/item?id=1445816.
It's abhorrent to me. It's the most blatant example of replacing democracy with a plutocracy.
Hi everyone, Pavel here - the maker.

A few months ago AI imaging became a trend and everyone was creating prompts ... using text and in English.

I thought to myself - couldn't I use AI to translate a prompt from the language of my choice into English and create an image from it? And then it occurred to me that it would be even better if I didn't have to type out my prompt, but could speak it in my preferred language and create an image at the end (again, using AI for audio transcription, of course).

And so TextUnbox Voice Drawing was born!

The service is built up on three AI layers:
- the first layer does the speech recognition (transcribe audio to text)
- the second layer translates the recognized text into English (planning to make this optional, since OpenAI understands a lot of languages too)
- finally the third layer generates an image from the "prompt" using OpenAI DALL.E engine (currently working on a fourth layer to enhance the prompt automatically using custom trained AI)

I'm giving 25 "Textunbox 100" licenses for free for everyone who wants to try out the app. Use the following discount code: showhn-y23

Feedback is much appreciated and let me know if you have any questions.
Apple contributing to an open standard here must mean they've got ambitions to go portless with the iphones.

With wireless-only charging, prevalence and compatibility is more important than exclusivity and using it as an USP which they usually seem to prefer.
A16Z is the “worst and largest” scammer of all, says CEO of Swan Bitcoin (2022)
Show HN: Vertebrae- app framework for building async Python microservices
Show HN: Tailor your resume in seconds with AI
Hi Everyone,

My name is Tosin Kuye, a computer science student from Canada. After looking online for various ways to tailor your resume/write a cover letter and being disappointed in the results, I built CoverQuick.

CoverQuick is a site that uses the job description to tailor your resume and write a personalized cover letter for that position.

It uses a number of different NLP techniques along with GPT-3 to find the right keywords and add the ideal suggestions to the given resume.

Try it out below and let me know what you think!

https://app.coverquick.co/playground