skysight-inc/HackerNews huggingface dataset:
Not exactly, it doesn't have a single build tool, but its build mechanisms have never diverged and have remained the same since the beginning.

Everything is packaged together in an UberJar or a Jar. The former can just be dropped on a host and ran, it contains everything needed to run. The latter is meant when packaging a library, it includes only your code, excluding all dependencies. Maven is used for distribution, Maven central and Clojars are the main repositories used for open source.

So there's no issue of compatibility or confusion in how to package and distribute programs or libraries.

But you have the choice between a few different frameworks for writing your build scripts and build pipelines. You can even just roll your own (seriously, rolling your own would take less than a week).

Because of this, there isn't any friction, just choice of multiple ways to define your build steps. So you can choose your favorite style, declarative with Lein, functional with Boot, or Unix-like with tools.deps.

Choice is everywhere in Clojure though, there's always a multitude of options for everything which can most of the time easily be combined together seamlessly and made to work together pretty simply. This choice attracts experienced devs, but turns off lesser experienced devs. It doesn't help that everything always continues to work, as backward compatibility is taken very seriously. So choice can be overwhelming, be prepared for that if you journey in Clojure. You'll have to make decisions of your own, and owe up to them.
Not really no. Lein and boot don't read from the same project declaration file and clj adds another way to declare dependencies through dep.edn files. A previous poster was being very optimistic when they said you could switch from one to another in fifteen minutes.

On the other hand using yarn or npm is almost completely interchangeable for the vast majority of workflows. The only thing one should be careful about with regards to them are project lock files. Otherwise most of the user facing differences are more about form rather than functionality.
I have a Nissan leaf. When I talk to people about it, it amazes me how many people think anyone can use the Tesla network. Noone other than Tesla cars can!
It’s some deja vu that Walmart was branded as the place that killed mom and pop stores some 10+ years ago, and now Amazon is the place killing online stores (and partly Walmart) since ecommerce has taken off in recent years.

Amazon’s golden goose has been their logistics. It creates a company that is like ebay+ups together. Mom and pops may have the same wares as amazon, but the shipping and order efficiency is a tough gap to close against amazon. Getting an order packaged, to the courier, and in transport for delivery still takes time and people for most ‘mom and pops’. It’s like trying to build a faster locomotive to compete with the company that owns the railroad.
That's not disputed, that's just straight-up false. The earliest record of the word "crap" -- and that's counting just "crap", not the earlier words it's derived from -- is in 1846, when Thomas Crapper would have been just 9 years old.
Ask HN: Where can I find tamper resistant server hardware?
Hi HN!

I'm looking for a manufacturer of tamper resistant server hardware for a side project.

The main requirement: in case of an attempt to access server internals the server has to be either shut down by its firmware or this event has to be obtainable from our software.

Access to server internals is something like this:

- attempt to open server chassis lid;

- attempt to drill a hole in server chassis;

- any other mechanical brute force attempt to access internal hardware like HDD or RAM.

Also it has to be tamper proof: after the tamper event the server should not boot in normal mode (looks like it has to be implemented in firmware) so it would be evident for the operator that tamper event took place.

And the last one: tamper detection should be active even while it's powered off.

Could anyone please suggest a manufacturer of such hardware?
Racket is my go-to when I need a small, cross platform GUI to put into production. It's the easiest way to build a static executable for Linux, Mac, and Windows from one codebase that I am aware of. So if that's your use case, this maybe useful...
Goals are great. If you go looking for information, you will probably find that people say they should be specific, measurable, attainable, relevant, and timely. You want something that's challenging enough to get you interested, but not so hard that it requires you to do things like not sleep, go into high-interest debt, etc.

I've found that achieving goals where nothing changes can be pretty anti-climactic. An example is weight loss, where you reach a normal weight or whatever goal you have and afterward, either you keep doing what you were doing or you'll gain weight (unless you do something else that changes calories in vs. calories out).

Taking a break from goals is also a judgment call and not necessarily something to be ashamed of the way motivational YouTube videos will say.

It's up to you what you want to do with your life. If you set a goal but wind up giving up on it, hopefully you can still learn something from the experience. Beating yourself up or telling yourself you are a "quitter" or a "failure" does not help.

Motivational books and videos will basically idolize being a perfect robot that never relaxes, never takes time off or does anything relaxing, and in many cases neglects basic things like spending time with family, sleep, etc. I think that's unrealistic. I need something sustainable if I'm going to make a lasting change in life. But that's just me.
I wonder how this really will work in practice. Tradesmen are often paid in cash, and a business might quite reasonably take out a large amount each week to pay the workers on the job site. In some industries such as mining and oil work it is not uncommon to get the pay packet in cash, though perhaps less in Australia these days.
If you're interested in big trains, there's a decommissioned one in Philadelphia at the Franklin Institute: https://www.fi.edu/exhibit/train-factory
It's pretty cool to walk in and around it.
Laravel Collections’ higher order messaging and “when” method (2017)
I said Swift Playgrounds, not Xcode.

But I also disagree. The people who just dragged around icons in Hypercard and never actually did any scripting, they wouldn't do anything with Xcode, but they're also not the people we're talking about. The people who did learn Hypercard scripting absolutely could do the exact same thing by dragging around buttons in Xcode's Interface Builder and hooking them up with a little bit of Swift scripting. That tutorial about making a calculator in Hypercard, you could do very nearly the same thing in Xcode except for the missing "eval" operator, but that's ok because you can just run each operator immediately (like normal calculators do) instead of building up a long string and then eval'ing the whole thing.
In addition to the sibling’s comment on explicitly passing inna comparator, note that std::map is an ordered dictionary and requires an ordering on your elements. It sounds like you may have preferred hash_map
Right to Read is a good piece on this topic: https://www.gnu.org/philosophy/right-to-read.html
In python, Pylint and mypy find real bugs all the time, plenty of false positives but still very usable.
Don't worry, you won't need to dig into Java world. And to be honest, the Java world is pretty good when you compare it to some other more fashionable alternatives. After you spend some time with Clojure, it will become very obvious which Java libraries are good and which frameworks are bad (pun intended ;)). And again, the likelihood you'll need to do this is very low. Many good and useful Java libraries already have Clojure wrappers or pure Clojure alternatives.

The comparison of the need to write C/C++ when using node.js/PHP/python/Ruby is a good one. It almost never happens unless you're doing something very specialized. And better still, the Clojure case is better than many other languages/platforms because via Clojure you can go low-level from Clojure itself (deftype, unsynchronized mutable, etc) without writing any Java code. Again, the cases where you need such low level constructs are very few and far between. Writing your own in-memory data structures comes to mind.
I was right there with you until the last three words. Investors ought to be compensated, but there’s no particular reason that compensation should be greater than the inflation rate.
The idea of a market-basket currency goes back to at least 1976 and Hayek. https://en.wikipedia.org/wiki/The_Denationalization_of_Money
> if Python and Javascript work well enough on a Mac.

They absolutely do not. Even getting started with a GUI app is a major undertaking in either one of those ecosystems.

And that term "ecosystem" indicates the problem, HyperCard was an application for making applications when "application" was just a fancy word for a program with a GUI. Nobody wants to download and learn an ecosystem just to build an app. There should be an app for that, but there's not. We don't have app-building apps on every iPhone because Apple chose not to put app-building apps on every iPhone. It's not hard to see why.
This article seems to break it down very well (no pun intended).
My takeaway was that you're always writing against a machine. The difference is whether you're writing against a physical hardware machine or an abstract virtual machine. OSes and VMs abstract over existing machines and present a virtual interface for the sake of portability, but they're still themselves machines.

You're still coding against a machine, and you still have to spend time learning the vicissitudes of that machine. But you also have the impedance mismatch between the virtual machine you're developing against and the physical machines you intend the software to run on. All software abstractions are, to some extent, leaky.
> It's just infinitely, obviously better.

Whenever a large number of skilled people do something for which an alternative is "infinitely, obviously better", there's a good chance that there is more going on than you know.

RubyGems used to be namespaced this way and moved away from it. They didn't do so lightly.

The problem is that ownership, and even names of owners change all the time. In the very very large majority of cases, this change of ownership is an implementation detail that doesn't need to impact package consumers. If you enshrine the owner's name in the package, it means any change of ownership is effectively a breaking change to the package. When you have very large transitive dependency graphs, the result is constant, pointless churn.
This is what Japan does.
the purpose of a waste tax is not to get money for the government to use to reduce waste, it is to get companies to reduce waste because they want to reduce their tax burden.
The copies of The Great Wave in collections around the world are not only different in color and tone. There are many reproductions of varying quality among them.

David Bull, a woodblock print maker in Tokyo, made his own reproduction in 2015 and explains some of the differences in his video series about the project.

This one's a summary, starting at 04:00: https://youtu.be/BizndSI4Nfc
y'all haters are killjoys too
When I want productivity and performance I go to pypy.
I love information like this, because so much discussion around performance discusses what is possible given unlimited time and no concern for what kinds of tradeoffs it makes (like reducing portability by introducing architecture-specific optimizations). I think it's also valuable to see what kind of performance you can expect when you haven't done optimization and are just trying to get something done in a simple, readable way.
Ask HN: What methods do you use to see if there's a market demand for a product?
An alien civilization would be better off if they started using our money?
> (b)the payment is part of a series of payments that are made for a supply or as a gift;

Given that the supply in this context is housing for some short term (7/14 days) and a rental contract can be exited from with 21 days, I don't see how a low income individual could be charged with an offense. Every additional payment period would conceivably be considered a separate supply not the accumulative rental period.
The point of the tax is not that the revenue will be used to reduce waste. The point is that it will increase the cost of producing waste for the polluter, ideally exactly to the point where it matches the cost to society of that waste.

The purpose isn't to make people stop polluting entirely, but to make it so they will only do so when it brings them a benefit larger than the societal cost of the pollution.
It may just be another case of the "adjacent possible" principle at work.
Apple wants to use Augmented Reality to help the visually impaired
Yeah,

AB URBE ..... ...US TIBI .R.TUM .../
.......UM .UI H.B..S M.MOR..M NOST/
.... SI FORTUNA . ... ....... POSSEM /
....... UT.. LONGA VIA ..N SACCULUS EST .ACU/

isn't exactly my idea of legible Latin text, and much of that is still guessing. I wouldn't have read LONGA without your prompting it.

And since the noun is memoria, I'd bet the inscription says MEMORIAM, not MEMORIUM. Not that the picture shows it; those two letters appear to have been totally lost.
I don't think tech will ever be saturated. Now, if we are asking if the tech of today will be saturated in 10 years, I would say it's possible, maybe even likely. We used to have fax machines and type writers, which got saturated and gone. A more interesting question might be, what technology will be relevant in 10 years?

To add some color, I rewatched Richie Rich today which shows that 20 years ago, we thought that having a digital assistant that can locate in real-time someone was something that only a fictional billionaire could have -- we have that in our pockets today.
In my opinion the misconception is that suicidal ideation means no will for self-preservation. On the opposite, the urge to think, speak and act on suicidal ideation is at odds with various other emotions and instincts.

One way of threading this needle is to perform attempts which are obviously going to fail, maybe eben intentionally so.

It may take any kind of attempt, be it intentionally or accidentally unsuccessful to lead to treatment or at least the acknowledgement of all parties involved that the problem is actually bigger than a bout of self-pity or lack of character.
To quote Thomas Jefferson,

"If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it."
We have municipal composting here in Seattle, which can handle everything from food scraps to yard waste to bioplastics. The city incentivizes recycling and composting by charging a lot for trash collection, less for compost, and nothing for recycling. I’ve known for some time that much of my recycling is really going into a landfill, but there’s still value to separating for me because I can use a very small (low rate) trash can as there’s hardly anything left that goes in the trash. I wonder if composting is really a net benefit, though.
> non-usage is moot given it’s in the stream already

You can apply backpressure to the stream by buying things not wrapped in plastic in the first place. It’ll take some time for the signal to have an impact, but if enough people selected less-packaged goods, the market would fix the supply chain over time.

Also, if you pick items with less packaging up-front, then you don’t need to do as much work sorting waste on the back end!
The OP was just asking where to start learning. Everything you've told them to ask themselves are things that they won't have good answers to until after they feel they can build a production ready application or honestly weigh the costs of using the tools available with clojure vs. other language and their associated tech.

How they can sell the app to management is way outside of the scope here I think.
I just stick the link into Archive.is
Windows 10 LTSC Post-Installation Guide
HyperCard was BS. As an example, the game "Manhole" lacked features, was impossible to understand or interact with, and came with no manual whatsoever that I can recall. Doomed technology that no developer could ever successfuly work with. Good Riddence. >:3
Huh, this is... not the terminology I am used to, as a mathematician?

My experience is that what C++ is calling a "weak order", and what you are calling a "weak order", is what in math is called a "pre-order" or a "quasi-order".

Meanwhile, the distinction you are making between strict and nonstrict is just ignored (except by constructivists), since they're equivalent ways of talking about the same thing. Indeed I'm not sure why you included both because, well, they're just two ways of talking about the same thing (again, unless you're a constructivist).

Really (assuming classical logic) there's just 4 possibilities here:

1. Total order (what they're calling a "strong ordering")
2. Total preorder (what they're calling a "weak ordering")
3. Partial order (which they are also calling a "partial ordering")
4. Partial preorder (which they don't account for)
Mind sharing what these misdiagnosed symptoms were that you had?
When I worked in an office I frequently pulled pizza boxes out of the recycling bin. Even highly educated professionals don't seem to understand the rules.
I guess Excel is todays substitute?
Museums and archives like to claim (and perhaps hope) otherwise, but there's no copyright to claim in a scan of a 19th-century ukiyo-e print.

In the US anyway, copyright requires a modicum of originality and creativity not present in a simple faithful digitization. Though the caselaw is perhaps murkier than might be ideal.
Oh thanks, I somehow didn't see that. That does sound better yeah.
For Rust there is at least one tool for this that I've started using, although I don't think it's very widely used: https://github.com/dpc/crev/tree/master/cargo-crev

Ironically this depends on a whole slew of additional packages I haven't yet reviewed to build ;)

Very recently (2 commits starting 8 days ago) someone started on an npm equivalent but it's not in a usable state yet: https://github.com/kspaans/npm-crev/blob/master/TODO.md

Two problems - few people out there reviewing code, and poor discoverability for who else is reviewing code that you might trust at the moment.
Disgraceful, where is your code?
Seems like it's made the rounds a few times. Still, 2014 was 5 years ago and 2009 was 10 years ago. It's likely that many of us either weren't on HN at the time or several years is sufficient for us to have forgotten.
You may find npms.io[1] useful. For each package, they provide a score on maintainability, popularity and quality.

[1] https://npms.io
I guess it’s the subtle shades of meaning. Dictionaries disagree on what leverage is :) I’ve used the relevant definitions below:

Google (top of search results, source unknown, most likely New Oxford of American English): use (something) to maximum advantage.

Merriam-Webster: to provide or supplement with leverage (implies financial support to gain power/effectiveness) or to gain or exploit

Cambridge: to use something that you already have, such as a resource, in order to achieve something new or better.

So, I guess Vue isn’t leveraging web components in New Oxford sense (they are not using WCs, they are incidental), but it can be argued they are leveraging them in the Cambridge sense. And definitely not in the Merriam-Webster sense :)
The women were much more likely to turn down the opportunity: only 49 percent of them signed up for the competition, compared with 71 percent of the men. “That was a proxy for whether women might seek out certain opportunities,” Ehrlinger told us. “Because they are less confident in general in their abilities, that led them not to want to pursue future opportunities.” -Dunning and Ehrlinger

https://www.theatlantic.com/magazine/archive/2014/05/the-con...
Do you keep some internal programming knowledge for the team?
Yes, I could not understand why they were mandatory. They are not "fun" for some and actually builds anxiety. And the experience in turn creates an uncomfortable environment later.

Corp and Managers need to consider this when having these activities.
Python is almost as bad as C++ when it comes to making custom classes sortable. In Python 2 there was had __cmp__, which was roughly the same as C++'s new spaceship operator, but Python 3 inexplicably removed it in favor of only having individual comparison operators like __eq__, __lt__, __gt__, etc. Oh, and functools.total_ordering, which lets you "only" define __lt__ and __eq__ and get the rest automatically implemented, but that's still two things to define when __cmp__ was only one.
Looking at the Reactive Manifesto from an Enterprise Integration Perspective
Men need to balance their love for their wives and side chicks“- Kenyan Governor
Not the most unbiased source, I'd say. And no link to the research.
C and C++ already have such a thing, IIUC. The literal 0 is considered the same as nullptr, if compared to another pointer.

It is a bit worrying that such an overloaded meaning is added again to the language.
The fourth sport in a regular triathlon is transition. You burn away any lead you had (as you can't get your shoes on etc) and emerge from the flames reborn as a new type of athlete.
New AI project expects to map all the word’s reefs by end of next year
Optimism for one thing. Non-depressive people usually think their problems are conquerable and they can find some enjoyment here and there.

For another, the perception/prediction of effort is very much different. In a depressive episode patients will estimate all tasks as fundamentally harder, leading to huge problems in motivation and making decisions. It's quite analogous to how increased gravity on another planet would affect your movements and decisions about your movements.

When the capacity for enjoyment or positive emotions is reduced, you won't be seeking enjoyment as much. Which is a vicious cycle, of course.

So yes, depressive symptoms are a big hindrance, even if you have other big problems, none of which I would want to diminish.
I don't know, the way std::pair works is that it compares the two elements' `first`, or their `second` if `first` happens to be equal. That seems pretty good; lookup should still be O(n).

I'll keep hash_map in mind though, and maybe do some performance testing to see which is actually faster.
I've thought for years that C++ was a sprawling mess of a language with a good and useful subset buried in there somewhere. I'm giving up with C++20. It's time to acknowledge that the language is too big and its virtues too small.
Even if people's home power bills spike, they'll still save plenty of money by not paying for gas. In parts of the US, a decent commute will cost one $200 to $300 in gas a month, and charging an EV off the grid for the same range will cost a lot less.
I wonder what would happen if we selectively bred dogs for that type of intelligence rather than for appearance and temperment? What are the upper limits of canine intelligence?
When I started the project, I did not have a better idea than this short video to introduce the game. I agree that this is not the best way and it is misleading. I am going to change it in the future.
WWW was in effect for many years before 1995, although that was its take off year.
Same thing in Italy. In many regions citizens separate waste, and they mix it back into a single landfill to save money or because they're not organized to dispose of it properly.
DHT does have a few DNS based bootstrap servers.
Ask HN: What is your favorite programming language and why?
Hate geoblocking EU sites. That's not the internet, that's "localnet".