skysight-inc/HackerNews huggingface dataset:
> They also couldn't be further from its philosophy.

> Systemd: let's break and change how everything works. You need to relearn everything.

> OpenBSD: things work largely the way they've worked for decades. Even as parts of the system are rewritten, the user experience remains very much like it was before, and often the old way of configuring and using things works exactly as before even if the underlying tools have seen a complete rewrite.

You're arguing a different point. *BSD's focus on 'experience stability' is completely tangential to the fact that it's a curated series of different utilities, tools and programs designed to work together. Much like systemd.
Why? Most of the manufacturing contracts I've been involved with involve some kind of warranty.
KDE Frameworks 5.64.0
Adıyaman Lazer Epilasyon Servisi » 0533 137 49 89 Royal Medikal
Adıyaman Lazer Epilasyon Servisi Anakart - Power Kart - İnterface - Onarımı Garantili Ve Uygun Fiyatlarda Yapilmaktadır. Royal Medikal Lazer Servisi.
I never had any issue myself, but I guess that is because I use the standard tools:

python3 -m venv /tmp/foo

/tmp/foo/bin/pip -U pip wheel

/tmp/foo/bin/pip -r requirements.txt

I understand some might not like it, but really, it's simple and it works.
I understand your volunteer work goal may be to "use a math / CS skill-set to impact my community in a positive way". There are many ways you can use your skills. For example, you could start participating in a well established and valuable open-source project or take a part in hackathons solving big problems, you could organize workshops, teach people. Anything you do, remember to balance your volunteer work with other parts of life and career.
> Transistors don't misfire, CPUs don't miss an operation, firmware invisibly and reliably handle all the internal packets of the motherboard, the screen refreshes millions of pixels every 16 ms. All of this relies on the work of thousands if not millions of people who have never meet each other but whose piece of work communicate flawlessly with each other.

I don't get it. Is this supposed to be sarcasm?
How does Google works internally between teams on this kind of issues? For instance, do you work with people developing Google apps sometimes? Because it seems that they've gotten slower and slower as time goes: for instance, if YouTube was a porn tube, it will be dead already because it's much much slower than the competition.
Exactly this, and I really don't see what the fuss is all about in the above comments.
> With yarn I can get a package.lock

pipenv generates a Pipfile.lock - if it can, I've used it primarily for Airflow, and some packages within Airflow have incompatible version ranges for the same dependency, which means it can't generate the lock file.
They killed this page to? It gives 404.
You need a webpage to have an inline form, which you need to create somehow. Compare that to just opening a new tab and type in an URL.

The dev console is a separate tool. And I'm still sure it is much quicker and easier to open a new tab and type in an URL, than to do a POST with dev console.
Hey cool. What additional thoughts? Would love to hear them.
They may have cleaned up their act some. But this is what their "donation" boxes used to look like: https://www.alamy.com/book-and-clothing-donation-bins-in-a-s...

Notice they say, "Donate books here". But you aren't donating. That's a total lie. Any more than giving free merchandise to Walmart is "donating it" because walmart gives to charity every year.

No one goes directly to their website. They sell primarily on 3rd party sites, so they probably decided to clean up the site a bit. I remember it being much more misleading in the past. I'm sure you could look on the wayback machine.

As for the large number of books given away, that is simply a cheap way for them to get rid of the books that are worthless. Otherwise, they would have to pay to have them hauled off.

And you'll also notice that they don't say they have "donated" $26m to charity. They say they have raised $26m for charity. Not sure what that means, but it sounds more like they are soliciting donations from others. Maybe they are providing matching funds in some cases or maybe they are just organizing donation programs.

Also, that number is the amount raised since 15+ years ago. They have annual sales estimated around $75m a year. So $26m lifetime is rather small.
No no no! Big O has nothing to do with Turing machines at all! You can, of course, express the number of steps a single-tape deterministic Turing machine needs to solve some problem using Big O notation. But you can just as well express the number of Qubits that a quantum computer needs to solve some other problem in Big O notation. It has nothing to do with the quantity being measured. Are you perhaps mixing up the definition of complexity classes such as P and NP with Big O notation?

First you need to settle on a model. Then you can express time, space, or some other quantity in that model using Big O notation.

Arguably, I've found that HN is one of the worst places to be precise about Big O notation. Everyone here seems to think they know what it is, only to lay bare their misconceptions about it a second later.
Initial thoughts on standardizing form controls
This is something I'm hitting up against a lot at work currently. Our application is high volume, with a significant proportion of users who don't bring in any recurring revenue, which makes us very cautious about picking up new SaaS services which are billed on a per-user basis.

We went through the same process around Auth0, and eventually built our own solution for handling authentication because even with our current user volume all Auth0 would tell us on pricing was "contact sales", which tends to be the case with every product we look at these days.
Yep, correct. Unfortunately I had quite a few issues with pipenv - mainly around its relationship with pip.
The Easy Way to Extend Pandas API
Getting a warning on the latest Firefox; seems like the certificate is expired.
That's a terrible article. The only source is a reddit user who made two short posts with very little details.

The sort of responsiveness described from LE by the poster also sounds downright unbelievable, I'd bet that's a fake story.
This applies not just to developers but all the way "up the ladder". The problems will change but the effective learning and mentoring will be the same.
I got 404 too
There are many posts about floating point limitations and this is the most absurd one.

Yes, floating point represents irrational numbers as an approximation and each operation would further deviant you from the real values you would expect.

he could just say "`float a = M_PI;` is not actually equal to pi!"
I get 0 with Julia 1.1.1 on Ubuntu:

julia> e(x) = x == 0 ? 1 : (exp(x) - 1) / x
e (generic function with 1 method)

julia> q(x) = abs(x - sqrt(x^2 + 1)) - 1 / (x + sqrt(x^2 + 1))
q (generic function with 1 method)

julia> h(x) = e(q(x) ^ 2)
h (generic function with 1 method)

julia> for x in (15., 16., 17., 9999.)
println(h(x))
end
0.0
0.0
0.0
0.0

I get the same in Python. They're all using standard hardware 64 bit floating point numbers in the same way.
Because it makes the Conquistadors' conquests of the New World seem more appetising? Because it downplays the indiscriminate conquering of the Americas?

Spain commemorates the day Columbus discovered America as its national day, as it ushered in a golden age for Spain, which is true enough. But with the atrocities inflicted by Spain (along with the other European powers) on the natives in the New World, it may have become harder to feel that such a moment should be celebrated.

And tales that the Aztecs simply handed their lands to the Spanish, rather than the Spanish conquering it, may help people feel a little less weary about the celebration.

But I am merely speculation. Plenty of retelling of history tends to decorate it as best possible (or omit the bad parts) for our side. In much the same fashion, I'd imagine Austrian history classes simply stops in 1866.
I wasn't able to find the free tier plan on your site. Free tier would mean: 2 PDF templates, 100 API requests/month or something similar. All I could find was a 2 weeks trial. Maybe consider adding a true "pay as you go" tier with a small amount of money/PDF template and, something perfect for startups and don't start with a $49 tier.
I'm sure the photographer will love his name being associated to a lawyer showing such degree of professionalism.

Would make a lot of places think twice about touching any of your works.

Not saying Democracy now is in the right, but for 5x the original licensing fee? Take the money and case closed.
Well, that's true for the most common "vertical software" most developers create but it's not true for the inner parts like the kernel, system libraries etc, nor for the firmware or the hardware. That ship is a wonderful piece of engineering but so it is the smartphone you have in your pocket!
And to go on, software "at scale" like Google's, Facebook's etc, keeping in mind only the technical merit, is just as awesome as that ship if you think about it. For example, searching billions of documents in just a fraction of a second, wherever you are and by millions of people at the same time, isn't a wonderful piece of engineering too?
Tons of Bug Fixes – Krita Weekly #3
> Who else here dislikes Systemd? I do. There is so much hidden magic in terms of configuration that when things go wrong, they really go wrong. One of the things that burnt me initially was that journalctl logs are not persistent. They disappear on restart. It needs to be configured for persistent storage.

The problem I have with the 'hidden magic' argument is that everything that provides some sort of abstraction is hidden magic, until you take the time to learn about it. For more examples of 'hidden magic', look no further than GCC, the kernel, etc.

So then this boils down to "I don't like new things", which is perfectly reasonable. But make that your argument. Sometimes there's a good reason to change stuff, because the old stuff doesn't work very well.

edit as mentioned elsewhere, logs are persisted in /var/log/journal by default. If your distro doesn't create that on install, then that's where your issue is.
I've never had this happen. Perhaps those other sites are overlaying their own ads somehow?
Really? With a decade long experience with C# I have never found the nuget package manager to be superior to pip. I don’t think nuget is necessarily worse either, but there are so many abandoned packages that died with some .Net version. Which means you’re either building your own extensions or abandoning packages.

As far as virtual enviroments go, I actually kind of like them. They were containers before containers became a thing, and I’ve had much fewer issues with them than say NPM, but they are more burdensome than adding full binaries to your C# project.

Where compiled languages shine, and maybe I’m misunderstanding you, is when you need to distribute and executional to end-usere. C# is much better at that than Python, but we haven’t actually done that at my shop, in around 10 years.
Saving Money Tips – Apps
The Brooks model is to have a "surgeon", who calls the shots and owns everything about the development and process and tooling around it, with a support structure that assists and reduces risk, as he outlined in The Mythical Man-Month.
A software only approach to create product photos
We have launched our product photography services that uses just 1-2 smartphone photos to create studio quality photos. No need to send physical product to a studio. We do that by using our proprietary 3D tech - so that you don't need to do a photoshoot each time. Just take products into a scene you like and create unlimited version of photos. If you or anyone you know need photos/ videos for their products, we would be happy to build it for them. Please see: https://www.zeg.ai/
Sorry, Bay Area plus Seattle ;)
No, for the love of god, no!

First, let me be clear: I have my issues with systemd. The "exmbrace, extend, exterminate" fears from the article are justified to some degree. I don't like Poettering's personality (ok, this is only tangentially related). Why the fsck does it ship an NTP and DHCP client? Both of which had their share of security issues because inexperienced idiots needed to pretend to be rock star programmers reinventing the wheel for no good reason. Oh and I use neither Gnome nor KDE so I couldn't care less if they'd break when switching to another init system.

BUT:

Get your shit together and accept reality. Systemd is here to stay, and as the article mentions, supporting other init systems will become more and more of a chore. Combine this with quotes like

> [...] the project had been unable to fully support systemd alternatives due to a lack of developer interest [...]

> "We have already voted with apt: less than 1% of new installs use sysvinit"

and then the fact that with Devuan WE ALREADY HAVE DEBIAN WITHOUT SYSTEMD. Why the fsck should we waste every Debian developer's/contributor's time with supplying brain damaged init scripts, patches and workarounds for 1% of the Debian user base.

Hey I have an idea; let's cut back on QA and reassign those resources to ensuring Debian works with sysvinit. Does the Debian project have any staff working on security? Scrap that, let's have them work on supporting retarded init systems from the 90s instead!
It depends on how you interpret correctness. RFC 2616 9.1.1 also used "SHOULD NOT" and not "MUST NOT", indicating that there are valid use cases. The issue is about whether your users are aware of (and are responsible for) the side-effect or not. In this case they are.
Paytm to Invest ₹500 Crore in AI, Big Data Startups
Sure looks like it. Part one, two and three are written by three different "Guest authors", who are freelance technical writers.
> Just using templates with floating point numerical computation is a sure red flag.

What do you think of Eigen, then? It seems to do pretty well, and is very template heavy.
Nothing's going to be left of retail except pet foods, Michael's and services like haircuts clinics.
Exactly what we expected. Systemd has become a hard dependancy, and is continuing to branch out into unrelated systems causing unnecessary changes and bugs due to poor code quality of the maintainers.

I continue to standartize on Debian VM containers for infrastructure, but only because of lack of alternatives.
'Cyber Attack' on Labour Party Digital Platforms
Thank you for your comment, I will do it the best to enhance and reduce all those glitches
Sorry yes I meant I don't have a free tier now, and have been thinking about adding one. Thanks for the suggestions! I've also been thinking about adding a "pay as you go" credit system similar to Twilio, but I'm not 100% sure if it would be a good business model.
D Day rehearsal that killed 600 men
As I believe that there are a lot of compiler people around at HN, I would like to ask:

What would be a good starting point to learn about writing compilers? I have written a small tree-walk language (and is following the byte-code based language) following Crafting Interpreters[0], but I would like some more learning resources.

I would ideally like some online book (I prefer readable resources) that are similar style with Crafting Interpreters, but more focusing on compilers & optimizing.
I have heard about the Dragon book, but it was too big and pricey :-(, I'm not sure if I can go through the entire book.

[0]: http://craftinginterpreters.com
Ask HN: How do you come up with a price for an API?
If you care about the camera and don't want to lose the jack, go for a Pixel 3a, best value for money. Plus you get a very lasting battery.
Because it’s not profitable to them. It’s absolutely trivial to get purposely-built public housing locations into a database and set up a process to deal with exceptions. But then they would lose their commission.
Now, Indian state Kerala aims for internet in every household
I see the same problems with the python ecosystem.

There is a lot of tools and confusion between versions especially because of the breaking changes between v2 and v3 (try to explain someone why he has both and when he types python it will take v2.7 as default).

I love the elegance and simplicity of the language and many tools written with it but this is a point I'd really much appreciate to be improved.

Because of that I sometimes just rewrite something before fixing it with 2.7. It's perhaps a bit more work sometimes but not as frustrating as trying to get something running that is deprecated in parts.
Whilst that's true, the point of this example is how to put up a well-behaved modal, rather than how to comply with GDPR (or similar legislation).
There’s Growing Evidence That the Universe Is Connected by Giant Structures
How is this gonna prevent me from consuming all 1000 requests/hour and prevent everyone else from using it?
It seems the photographer is as responsible as the lawyer in this case. I'd expect he needs to give his approvement to reject the initial offer. Also "Mango sought bankruptcy in 2004, and records from his bankruptcy filing show that his liabilities greatly exceeded his listed assets", so sounds like he's trying to make some easy extra cash, that turns out not be so easy.
FuzzBuzz Hash Algorithm
Could the physical world be emergent instead of fundamental?
> when systemd is so many things

Because it was originally advertized as an optional init replacement. The acrimonious debates were because a number of people did not believe that's all is going to be, given the history of its designers.

Of course, nowadays many people would flat-out deny that systemd was sold as an init replacement, and claim that what you see was the original intention all along.
As an embedded software engineer, my only response to this is that sometimes I'm surprised anything works at all. Bugs in silicon do exist. Often there's nothing a supplier can do about it. Either you find a different part or find a workaround at a higher level.
Gentoo. We didnt need to even debate it really. Systemd, like everything else, is optional.
How to choose an Authenticated Encryption mode (2012)
Who Started Guerrilla Warfare
What were RMS contributions in the last decade or so? It seems wrong that his name is on the frontpage of the documentation and nobody elses.
curl -i "https://volatile.wtf/?key=foo&val=%F0%9F%92%A9"

HTTP/1.0 500 Internal Server Error
> The author doesn't seem to have a lot of numeric experience.

What a strange statement. Even if you haven't seen John D Cook's articles on HN before [1], it's just a couple of clicks to find out more about him and what he does, e.g.

https://www.johndcook.com/blog/applied-math/

https://www.johndcook.com/blog/notes/#numerical

[1] There are a lot! https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
hurr durr murica bad
Will web.dev finally do what they preach and fix Google's own websites before penalising everyone else?
Because I feel the other answers, though correct, are entirely missing out on clarity:

The first iteration looks like this:

<file head -n10 | grep foo | tr baz qux

The second iteration looks like this:

<file gzcat | head -n10 | grep foo | tr baz qux

It makes the change much easier, since the first thing written is the first thing that happens. In `gzcat < file`, the logical first step - reading and streaming file - is now the physical second step. Like a German sentence, whenever you want to prepend the file, you have to maintain an item in second position.
PowerBI is an interesting case. As long as you do “run of the mill” business analytics (Star or snowflake tables, “simple” aggregations) it is like you say.
But once you need something different, you’re in for some serious rethinking and coding.

I have this article printed out in a drawer for these cases:
http://mdxdax.blogspot.com/2011/03/logic-behind-magic-of-dax...

With DAX, Microsoft has extended the PivotTable model (instead of the relational model), and they deserve full respect for trying something new in this space.

Is it a simpler model? I kinda like it, but don’t think it is simpler.
Might is right, sorry buddy.
Not foolish but costly, very costly. The infrastructure required for that level of automation is no joke, and you have to run and maintain lots of ships to ship the ships...
FromServices Attribute in Asp.net Core
It's not terrible UX. Whilst the headings aren't blue, they are underlined, which makes it pretty clear they're links.

I don't love hyperlinks in headings, and would prefer a more explicit link to each good example, tabs for good and bad, or even inline content to show the good examples below the bad, but it's a bit strong to be calling it "terrible".

Nowadays people are pretty slack about links: good UX generally mandates either a different colour to body text, or underlining, or both.

Blue has for many years been the default rather than the standard: people have been heavily deviating from it since the 90s. Underlining tends to be optional if there's some other way of distinguishing links (here there isn't).
You need to grow up. It’s hurting and will hurt like hell, but it’s the only way. You are not your work, you got that illusion and higher sense of self because you knew that’s the only thing you have to offer, now you’re starting to realize it’s a dead end.

Time to let go.
How to Stay Up to Date as a Software Developer?
Pretty much.

Virtualenv solves 90% of the problem, and it is not like you need to revisit your setup on a daily basis.

I would be more willing to spend time on my test setup than anything else, because that affects the development experience.
PST - Potato Standard Time, everybody knows that.
HTTP GET requests have stricter requirements than other idempotent methods like PUT and DELETE. HTTP GET requests should be nullipotent (no side effects).
Lendex | Java Backend Developer | Netherlands only | Full-time | Remote-first

We are a young Duch FinTech company in the retail lending domain, backed up by a solid bank. We are looking for backend Java developers into a freshly formed team with the remote-first approach.
We are working with a classic technology stack based on Spring and Hibernate in Cloud.

https://angel.co/company/lendex-1/jobs/660803-senior-java-de...
Thanks for sharing https://about.gitlab.com/handbook/. Definitely a must-read for development tools founders.
https://wiki.gentoo.org/wiki/Eudev works perfect
I’m late to this, but the real point that should be made is that Apple does not allow this functionality for any developer on the App Store, just themselves. Developers have to respect the free trial period even if the user cancels, but not Apple.

As much as I enjoy Apple products, it’s very clear this is just another example of the privilege they provide themselves compared to third-parties. It doesn’t affect me since I’m not subscribing to any of Apple’s service offerings despite using all Apple products, thus it doesn’t bother me either, but I can see why some might be.
Judging from the twitter thread, idempotency vs. safety is not widely understood.

The "create a key-value pair" operation described here actually is idempotent.

The requirement on GET is that it must be safe, meaning no side-effects, for a variety of reasons, not just browser behaviour.

The difference is described in detail in RFC 7231 section 4.2, or the older RFC 2616 section 9.1.
How do you read comment starting with "In my personal experience" and respond with "Please don’t state your opinion as gospel truth.". Wtf?
The site mentions https://codingcoach.io/ several times. Has anyone tried this service? How useful is it?
I thought they did? Some years ago they (and/or Mozilla) offered an addon which you could use to report popups like that - https://addons.mozilla.org/en-US/firefox/addon/in-page-pop-u... comes up.

But so far, nothing's been done yet. This is kinda weird to me because one of the reasons why Firefox came to power (and took over a bit chunk of IE's market) was that it had a pop-up blocker. I don't understand why they aren't doing more to block inline pop-ups now.