skysight-inc/HackerNews huggingface dataset:
This attitude is absolutely bonkers.

Someone is making a product and telling you what you can and cannot do with it, and then you decide that none of that applies to you, because...I don't know, you're entitled to use it if you happen to see it?

"There will be times when I need to use this font and make something that will go live. That's the time to buy a font." - that depends on the license that the font foundry grants you.

"If font making is not profitable [due to lost sales via piracy], then don't make fonts"...some kind of mental gymnastics there. "I will take freely from you and if you can't afford to let me do that, it's your fault for making it in the first place" is a tough ground to stand on.
You're biting hard on the 'true scotsman' fallacy. Ask the linux developers where that gets them. Is it the year of the linux desktop yet?
It is more like paying for a service where you can eat unlimited apples for a flat fee each month.

If you want the ability to give apples to friends to eat, then it will costs extra.
I'd bet on tetris. I think there are more independent unlicensed implementations of tetris than any other game ever. Any particular implementation of it may wither away, but I bet if there are still programmers in a thousand years, there will probably be no shortage of tetris implementations.
Doctoring the Ladies
The real question is why can’t sshd do this after forking?

Read and parse the config, fork, and lazily build an entropy pool.

Let the ssh connections or key generations hang if there isn’t enough entropy yet, but don’t get in the way of booting.

This is two bugs: one in systemd, and one in OpenSSH.
Unfortunately doesn't seem to be good books out there or I don't know about them. The "Data intensive applications" book is highly praised but focused in databases. The other "Designing Distributed Systems:" O'Reilly book is solely about Kubernetes. The "Scalable Internet Architecture" is trash (sorry).

The best source for distributed computing I found is Facebook's engineering blog.
Have you tried wiggling your mouse? It worked wonders for me, back when I was on Windows 95!
Some links to related resources (repos, articles, books, courses) can be found here:

- https://github.com/mxssl/sre-interview-prep-guide

- https://github.com/theanalyst/awesome-distributed-systems

One linked resource for example:

- https://github.com/aphyr/distsys-class
I'd love to see a further breakdown in options.

Like as someone who mostly bikes but does use a car a during the summer months there's a clear scale. I'm also a meat eater but have very little red meat. This would half the food emissions of an average American. Some sort of scale would make me feel like I'm getting a more accurate answer to nuanced questions (ones that I think a lot of people concern themselves with).

I was also suspicious when I put in vegetarian, car, and 2 flights a year < 3hrs resulted in having 11% lower than most Americans and then switching to electric car gave me another 10%. IIRC that's making some big assumptions (not considering electricity costs, lifetime emissions, state electric emissions).

I also find the "if everyone" part misleading (though I get why it's there, to show privilege), but I think it is also effective to promote competition within a country. I can be the best American but have a hard time beating someone from the third world. Maybe have both?

Also, if you're going to allow fake emails why don't you let people calculate first? Or maybe email required for a more nuanced position, if you're trying to harvest them (since that probably gives you a better set of people that you're looking for).
Ask HN: Why are wiki's UIs not evolving?
I am trying to build a wiki based site and I see that most of the UIs are not keeping up with the times? Is it inherent to nature of wikis or is it just a coincidence?
Eg: https://wikitravel.org/en/Altai_Tavan_Bogd_National_Park

Are there any good skins/theme for these (or any other) wiki's.
Microsoft will give away software to guard U.S. voting machines
Not-Unsolved Mysteries: The “Lost” Apollo 11 Tapes (July 8, 2019)
What Python needs is a better lambda syntax similar to JS and true anonymous multiline functions. Defining and using lambdas in Python feels very unpythonic, this is something JS gets perfectly.

Also fix the GIL.
not just exploitation. You skipped my other conjunctive: objectification. Either alone is a good reason to avoid the practice.
Have you seen Blazor?

https://dotnet.microsoft.com/apps/aspnet/web-apps/client

https://www.youtube.com/watch?v=uW-Kk7Qpv5U

It packages the entire .NET framework into a single wasm app, so it's a little bloated, but it works.
Back around the time this SE question was asked (2013), I was using an awesome open-source app [1] to tether on my iPhone. It was very easy to use, though you had to be able to compile and run it yourself, as there's no way it would be allowed in the App Store. I would be surprised if something similar didn't exist for Android.

I needed to tether on train rides a few times a year, which was really not worth paying for the service. Nowadays I can do it without an exorbitant extra charge (aside from the extra data that tethering guzzles), so there's no need for it.

[1] https://github.com/tcurdt/iProxy
I am both a Python programmer and a C++ programmer. I have programmed professionally full time in one or the other for years at a time. I think C++ is now a much better language than when I learnt it first (cfront). In particular C++11 really fixed a lot of the memory issues with shared_ptr and std:: algorithms. It is a better language now if you are doing anything larger than then a program that takes more than a few weeks to write. On the other hand, I love python for everything else and some of the new stuff is great but making a new way to print strings over and over tells me some people have too much spare time or not enough real work to do.
In my opinion formatting a string to print a debug statement should be as concise as possible whereas a lot of these fancier formatting systems are better suited to stuff that ends up staying for use by other people. Luckily there are ways to use ye olde printf style formatters in both for those times.
Their re-re-design is a slight improvement but much of my issue with the Reddit re-design isn't simply the initial layout (although the excess whitespace is irksome) it is many things:

- Slow / high CPU usage

- Comments don't /really/ open. Instead it is this strange modal-like experience with these "suicide" dark bars at either side that redirects you to that subreddit or the reddit homepage losing your position on the comments.

- Tons of whitespace everywhere.

- Infinite scroll

- More visual distractions ("Trending today", larger image ads, more embedded ads, the footer is now on the right instead of bottom, etc).

- Too much emphasis on stuff that isn't important. Content should be king but they list "r/AskReddit •Posted XXXYYYY 12 hours ago" first so you have to visually skim passed it, annoying Join button (which is a solution to a non-problem), and a comments button that does the same thing as just clicking the title (rather than taking you to the actual content).

I could go on.
Yes, but that fact is I can't ever remember how to use them properly (unique_ptr in particular). It's not often that you need to pass a unique_ptr to a function outside your class so that it can do something with it (without transferring ownership), so I can never remember how I'm supposed to do it. But it seems like if I want to hand a pointer to a short-lived function, doing it ought to be pretty consistent, whether I'm passing an old-skool naked pointer, a unique_ptr, or a shared_ptr, and it's not.

Like I said, if you look at all the logic, there's a good reason why everything is the way it is. The problem is I can't use the things without looking them up. Usability of my language is a big deal for me, which is why I hate unique_ptr.
Might be anecdotal, but some cases with fan on Amazon went to "will be delivered after some date" in timeframe between morning and $CURRENT_TIME
http://man.openbsd.org/man4/viornd.4
I don’t see why. ‘Assign x’ and ‘is x truthy’ can be understood separately. Worry about what x is being assigned. Then worry about whether its value is truthy.
> What's the difference between putting webfonts on your public website vs putting them on your public github? This seems like a distinction that only lawyers would care about

As you suspect, there is no practical difference. The difference being perceived is that when you put them on your website, you're doing that for the purpose of displaying text using the font, whereas when you put them on github, the purpose of github is file sharing. The first purpose is good, the second purpose is bad, so the first use should be allowed and the second use shouldn't be, even though -- technically -- they are exactly the same thing. That's just a detail; they're spiritually different.

Unfortunately, this point of view is very much not limited to lawyers; it is how most people think about most things.
It seems like less of an argument and more of a demonstration on how local governments are getting swindled by property developers. These developers make promises that all this money will be generated in the local economy if local governments agree to subsidize development. The agreements these developers make with the governments effectively ensure that most of that economic activity goes into their pockets, while ensuring that locals end up bearing the costs of maintaining the new facilities through increased property taxes.

In essence, these deals get sold on the fact that they will bring $X million dollars into the local economy, but nobody realizes that 0.95*$X million dollars is going right back out again until it's too late. After a few years, the city coffers would be empty and maintenance costs of the infrastructure built for these developments would leave them insolvent.

The tie back to the "free market" is a little less clear. But it seems to be to be a collection of anecdotes that "economic activity" doesn't magically flow into government coffers. The whole concept of cutting taxes to raise revenue is a joke and doesn't work. Small towns need to operate like a for profit business and take a hard look at the ROI for infrastructure investments, and this means collecting taxes.
How Yarn Lock Files Work and Upgrading Dependencies
Every google search result you see is masked to have a boat load of tracking that identifies you, your search query and a variety of other details. When you click out from Google you are first bouncing through Google's instant redirect before you are taken to the target website.

When users click the back button they bounce back through the redirect to the SERP.

You can test the tracking by right clicking and copy/pasting the URL of any Google search result. This can be stripped using add-ons (and I highly recommend it).
> You probably achieve the stated range at ~65MPH.

got a quote to back that up?
The problem was that, with such limited memory available to the computer, it erased all the en-route navigational data to make room for the preflight data. So now you have a spacecraft on its way to the moon with no way to know where it is...
I'm guessing there are (at least) two general classes of package thieves: Those who will steal any package, which would be the ones you've experiences. And those who steal expensive items more as crimes of opportunity. Package disguising really only helps with the later.
>int x = 0; ++i;

That can't be right.
Excess complexity almost always comes in small increments...
The performance gains of the API were not the by-product of cutting into micro-services. Basically this article is about "We had some issues with the monolith, we cut it into micro-services and also did these other changes along the way that saved us money and gave us performance boost. Changes that we could have done in the monolith but they were less risky and easier to do in the micro-service in comparison to doing them in the monolith."
Removing the preview button will probably hurt functionality. Also if you're going to make things bigger anyway I'd make the thumbnails bigger as well (not that it will matter much for the text-based subreddit).

Also changing the upvote / downvote arrows won't help adoption, even the redesign didn't dare do that.
Lack of iMessage is a complete non-starter, sadly.
Show HN: My time tracking tool for your text editor (Online and Local)
Perhaps it is perhaps it isn't. But we can now equal and sometimes beat human perception on some standard machine learning datasets. Perception is one very large piece of the problem. The other large part shows some signs of cracking, consider the recent success in go and poker. AI can now beat professional players in both of these games. Agreed these are a different class of problem to realtime learning in a dynamic environment, but there is interesting progress here. I'd wager that we're less than 20 years away from a useful general intelligence that could say, earn money on mechanical Turk. And the recent succes with transformer networks understanding text. Incredible.
> California or Washington state

Western Oregon, too.
Personally, I vote against the walrus. Code complication for a limited set of use cases. Boo, bad walrus.
Indeed, it does. :)

In that case, it seems as though the rights-owner should simply take the standard route (even if suboptimal) to enforce their rights -- given the volume, they could likely work out a much better way to protect their IP (or automate it, in the worst case).

I'd be a little bit surprised if they cared a whole lot, given that finding the fonts is trivial for the reasons stated above. Almost comes across blog-spammy at that point, heh.
He's measuring the temp of the board next to the CPU, not the shiny IHS on the CPU.
Well that logic doesn't make much sense either; a vagrant's life on the street will be a lot more comfortable than a billionaire living in space for the foreseeable future.
I felt this one 7/16 1:11pm:

https://earthquake.usgs.gov/earthquakes/eventpage/nc73225421...
I actually believe this is true... I don't particularly like capitalism.
Not when they are also charging you by the bit transferred.

People also deal with various data caps when tethering, they just now also deal with an extra bill for a service provided by their phone not the phone company.
Racket likely has the most sophisticated (mostly) hygienic macro system out there. In particular, syntax parameters are a really neat feature which lets you implement things normally requiring breaking hygiene in a hygienic way. For example, implementing early return using return as a keyword can be done using a syntax parameter which allows for nesting, renaming the “return” if you want, and composing it with other macros which utilize their own “return” keyword.
> don't understand your opposition to the idea of individuals contributing to carbon offset projects.

My opposition is that for every 1$ you give Wren, they pocket 20 cents and then hand 80 cents off to another organization (of their choosing) with, as far as I can tell from their site, zero information on how your money is being applied, who exactly they are giving it to, if that organization is for or non-profit and how much they are spending on overhead before actually doing something with the money, etc. Right now there are vague mentions of stopping illegal logging, and that's it. Doesn't say what company, what organizations, what countries, how or who.

What they do document well, is their roadmap... how they want to spend your money internally, not directly to some sort of carbon sequestration efforts.

They want to:

- make it easy to unsubscribe from wren

- increase site performance internationally

- add sharing features

- add how to change your subscription to their FAQ

- handle declined card errors

Great, but what are you doing with the other 80% of the money someone gives you?
This is incredibly abrupt. They pulled the plug with rentals still active!

What a bummer. I was disappointed when I learned about the merger of the ReachNow / Car2Go parent companies, because I predicted one of them would shut down the other and there would be fewer cars available and less competition.

This seems like a no-warning shutdown for a lot of folks. StreetCrowd (https://www.streetcrowd.io) was a gig economy service that paid people in cash + ReachNow credit to move the cars into high-demand areas in Seattle. Their app had an outage notification today, seems they had no notice. And everyone who received ReachNow credit has no way to use it.
As far as I know as an NYC native... nothing? I was wondering about that too, must be some kind of sampling artifact. Maybe there's something we don't know about, but the neighborhood has more coverage than the whole rest of Queens (besides Shea). It's probably data from one guy who lives in College Point and happens to post a ton of pictures.
Delphi uses this as an assignment operator but it certainly isn't a popular choice in most mainstream languages.
21.5k km per year is the average driving distance in US: https://www.fhwa.dot.gov/ohim/onh00/bar8.htm
Multiply it for 30 years and you get 645k km.
It seems to me that it’s well below 900k km.
Do you have any official data that contradicts the US department for transportation to prove your assumption?
Do you maybe want to explain why you think it's a bad idea instead of spending three paragraphs dumping on it?
I remember an email thread with you some years ago where I was complaining about someone/thing and you not only responded to the problem brilliantly but also smacked me deservedly for my part in letting the problem exist.

Your optimisation approach seems to me to be working out nicely.
StanfordNLP – Python NLP Library for Many Human Languages
Since they explain that some people don't seek treatment because distrust of foreigners (doctors) is high, why not teach/train local clinics to provide the services so foreign doctors can leave and patients can feel comfortable getting help?
Jevon's Paradox explains the issue: lower price -> more consumption.

https://en.m.wikipedia.org/wiki/Jevons_paradox
This is why a lot of scientific code still uses fortran, code written several decades ago still compiles and has the same output.

How long has the code which was transitioned to python lasted?
like I said, the whole pattern is more than two lines. the pattern is actually assign-test-fallback-test-fallback-test-etc.

to quote the PEP:

reductor = dispatch_table.get(cls)
if reductor:
rv = reductor(x)
else:
reductor = getattr(x, "__reduce_ex__", None)
if reductor:
rv = reductor(4)
else:
reductor = getattr(x, "__reduce__", None)
if reductor:
rv = reductor()
else:
raise Error(
"un(deep)copyable object of type %s" % cls)

becomes:

if reductor := dispatch_table.get(cls):
rv = reductor(x)
elif reductor := getattr(x, "__reduce_ex__", None):
rv = reductor(4)
elif reductor := getattr(x, "__reduce__", None):
rv = reductor()
else:
raise Error("un(deep)copyable object of type %s" % cls)
Yeah, I don't get it either. If this is a really high alert, and spread risk is high, wouldn't that be exactly the time you would restrict travel?
yes they IPs were owned by them, they even indexed pages they were asked not to. :x
Windows 10 Mobile is still receiving Windows updates for another five months!
Also (not sure how much tourism this attracts) it's the hometown of Justin Bieber (sorry)
Ongoing thread at https://news.ycombinator.com/item?id=20463170.
Internet History Sourcebooks Project
No, it comes from personal experience with Tesla’s other cars.

Note that the listed range comes from a standardized EPA test cycle. It’s more thorough than just cruising at 65MPH but the end result appears to approximate that.
HW rng is essential then
How the TinyGo playground simulates hardware
I started using Python seriously only three years ago after 30 years of other languages and I didn't find it very simple. Maybe the core of the language is simple but the standard library and many other important modules can be very complicated. Among similar languages Ruby and JavaScript are far simpler.
I put together a little Gigabyte Brix box (GB-BLCE-4105-BW) for $212 shipped. 2.5 GHz 4 core Celeron, 8GB RAM, 250GB SSD. Not a bad little PC.
Hopefully I've learned to be less smacky in the meantime!
Mimi from Wren here:

1. You can change info about your transportation habits + electricity usage in the footprint breakdown below the first six questions. Those top level questions have the largest impact on the delta between your country's avg and your footprint, but you can go more in depth below to account for diff between if you live in an urban, suburb, or rural area.

Does that answer your q? I'm not sure if you are asking for more specificity on your footprint overall or just the housing section.

2. Good point. We're improving the electricity section of our calculator to account for renewables and other specific energy setups. Will keep you posted when that's up.

3. (Yay indeed!) All of the initial values pre-populated in the accordion below the first six questions are actually averages from your country. It might not be clear right now since the values appear somewhat random and also disappear as soon as you enter in your own information, but we can have those values persist and show specific deltas between you and your country / world for each question if that's helpful.

4. We're setting up those links so it's easier to get back to your information in the calculator! Also, we have the cost to offset your footprint appear a page later once you choose your project. Wasn't sure if you hadn't made it to that step or just want that information in the footprint overview link as well.

Hope that's helpful, thanks for the feedback.
If it ain’t broke...

I don’t really see how wikis could be improved by any modern design trends. They function well and are designed to be accessible by everyone on as many platforms and devices as possible.
Really interesting. For the skeptics, this is not just a proof of concept. There is a real app made using this language: https://volt-app.com/
I don’t think that’s really contradictory though. I’ve lived through many cases of the sprinklers being set off accidentally (frozen pipe burst, rc-helicopter blade impact, and idiots using it as a clothes hook) and “some water” isn’t the phrase I would use. I think it’s more like if someone threw a bathtub from the ceiling every minute until someone could shut it off? That can be pretty costly to mitigate afterwards—but then I’ve also seen houses where nothing of it could be saved. As your contractor said, one of those is probably much better.
The safe self driving is possible, but currently it is awkward, results in honking (because slow speed).

That is still valuable for the occasional take me home from the pub mode.

The rest of the time it should work with me and disengage prematurely if there's something going on.
macOS's APIs and developer docs don't really encourage checking for cellular vs wifi the way iOS's do. So you probably do need relatively fine-grained control to get the same effect, as the vast majority of processes will assume the network connection is either fully up or fully down.
What's the alternative to gas heating during the winter? Oil is clearly worse, is electric heating any good efficiency wise?
I see this criticism every time the walrus operator is brought up.

You do know that this:

x := 1

Is going to be a syntax error, right? The walrus operator is not permitted in the case of a simple assignment statement. It's only in an expression.
DC and Texas maybe, but at least for me as a tourist in NYC it was pretty much as expected, after watching so many movies filmed there
I may have hit reply in the wrong one, apologies.