skysight-inc/HackerNews huggingface dataset:
The issue is not one of memory holing: non-merge commit reverts work as people expect (and leave a historical record). I think the right way handle this in git, in most cases, is to just avoid merging altogether. Do work on feature branches and rebase those into master (possibly adding some meta-info like Feature: 123 to the individual commits as you do the rebase). Apart from not having to explain the semantics of merge reverts to everyone in your team this saves a lot of other conceptual overhead as well.

I disagree that git deals well with non linear history, everything about dealing with non-linear history in git is pretty painful, from bisecting to querying (compare to revsets in mercurial, for example) or logging.

Multiple independent repositories across a single org (working on one product) don't work well, in my experience. Unless your org is large enough to hit scalability problems monorepo seems the way to go with git -- it makes it easy for everyone to find stuff and use a consistent shared "timeline". However, other than submodules and co in git being a tire fire, I see no reason why the same purpose could not be served by subrepos in many cases; what makes you think they are inherently problematic?
The article mention that swedes are more responsible with their pets and thus do not have a problem with feral dogs, but I find the actually reason a bit more nuanced.

Sweden did had a catch-and-kill program about a hundred years ago. It is mostly forgotten here, but it had two parts. A law was made that all dogs must be ear marked (today chipped) and listed in the national registry with their owner, and any dog that did not have a marking was killed. When a puppy is sold it must also have a veterinarian checkup, and the first thing any vet will do is to chip it and fill in the register data.

If a registered dog run away and get lost it will likely end up at the police, and the owner will get a bill for housing and handling. If you sell a dog, a breeder better make sure the registration papers get signed or the seller will be held liable. This way there are not much room for a feral dog population to get started.
Man you guys are laughable, brandishing one wiki page like it's one true source. But nevermind that, several older ones were presented to you and crickets.

https://en.wikipedia.org/wiki/Close_to_Metal

https://en.wikipedia.org/wiki/Bare_machine

https://wiki.c2.com/?CloseToTheMetal

This term goes back to early 2000 at least.
For layout?? Burn the heretic! [1]

The real reason we don’t use tables for layout (and only for the occasional tabular data) is because a table layout doesn’t work really well on the screen of an iPhone or Android phone, especially when they are vertically aligned. So, the workaround is to use media selectors: Desktops, laptops, and tablets get a table layout; phones get a simpler one-column layout.

I believe grid and flex layouts allow one to use a single design which will appropriately scale from a phone screen to an ultrawide monitor, but I use a two-layout or three-layout design for my web pages.

[1] In the days when the CSS Zen Garden was new, all of the web design blogs and comments felt using <table> for anything at all was heresy, since abusing <table> resulted in really ugly and hard to maintain webpages during the dot-com days of the late 1990s. It would be an extended discussion whether it was OK to even use <table> for clearly tabular data.
Could be, yes, but how to find out? The users won't read it, and the only reason i get for that is "I don't have time for this, just tell/show me how it's done".

My user documentation is usually hand written and in a rather linear style, split by tasks. "You want to reach this goal, do the folling".
On the other hand i am aware that as a developer, our style of submitting information to peers is sometimes different. Non-developers have a hard time to follow and sometimes a few explanation attempts are needed to get the information over the river (both ways).

This would tell me that an in-between person should create documentation. This person does not exist in my vicinity...

I will however take the feedback from this thread into account and point at documentations more often. Maybe it has an effect.
No gun to any head, you can choose between crappy ten kilo legtop pc with 30 min battery life and in built skin toaster that lets you easily dual boot and a closed down system that works as it should for 95% of people its intended for.

Not saying Apple has to do it the way it's doing everything to also innovate things like M1, but whatever happened to capitalistic society?
I think it was driven by the blockchain hype not to fulfill a real life requirement
It's normal, people want C like performances, with zero cost abstractions, with memory safety, without the ugliness, unsafe behavior of C. C is a language thought out for 1970 constraints and developers can do better.

Developers won't stop creating languages until something that really succeed in replacing C is created.
> that require tools provided by surveillance capitalists

So no state made tools?
I highly recommend the map material and renderthemes from openandromaps.(https://www.openandromaps.org/en)

They are great for cycling and hiking. Setup is a bit more involved compared to maps.me, because you need a separate maps viewer app. Overall nothing too complicated for a somewhat tech savvy audience though.

My mapping app of choice is locus maps. There are alternatives such as OruxMaps available too.
Effects, discerning pure/impure funcs (through effects, AFAIK), better type inference, sound type system, no null, no exceptions.

Honestly, just for the language I'd pick Flix over Scala.
I think its because of black frames over a black mask. When it was greyscaled the contrast was increased it seems to have merged the two
Works perfectly for me in Firefox (macOS). Might be a misleadingly worded "something went wrong, we don't know what" message. Probably want to check your console, could be a network problem.
Hard drive manufacturers advertise unrealistic speeds that can only be achieved in synthetic benchmarks. CPU manufacturers advertise CPU speeds that cannot be sustained under large load without dousing entire thing in liquid Nitrogen.

That's why you go and read benchmarks on the Internet, to see how the devices fare in more realistic conditions.
It just feels simple and keeps out of the way. I used KDE way back, before v4, and it was my favourite DE then. But it always had these broken glitches and an over abundance of settings and utilities that were not always on par with the core KDE. I have learned that I prefer less with even quality than more with uneven.
I switched to XFCE after Gnome 3 was released and have used it ever since. There's been enough said here recently about the problems with Gnome 3 and the attitude of the Gnome developers, but the 10,000 ft view is that they refuse to stop pretending that my desktop PC is an iPad. Microsoft made the same mistake with Windows 8 / Metro, but at least they eventually backpedaled.

If you think Windows usability peaked around Windows XP, XFCE might be worth trying.

All I want is an application menu, some launchers, a window list, a widget/notification area, and some reasonable keybindings. Gnome 2 had these things, and then early Gnome 3 got rid of basically all of them. If some fancypants UX researchers want to experiment with replacing menu bars with hamburgers, that's fine, but I'm just not interested.

I've done more than my fair share of WM hopping (I still use i3 on my laptop because I like being able to resize windows with my keyboard when I don't have a mouse), but XFCE is my workhorse. It may look boring, but it's reliable. It has more than enough features for working productively, and I appreciate the fact that the development team doesn't completely change the way everything works every few years just to chase the latest flashy trend.
I grew up not poor by world standards, but somewhat poor by Western standards. What really resonated with me was the point about buying a comfortable mattress. It wasn't the mattress in my case, but the bed I slept on. I bought it used 8 years ago. I fixed it twice. It was creaking again. It's not that I couldn't buy a new one, it's just that I was used to not buying furniture. After all it's only comfort.

Last year I bought a new bed and it improved a lot of things for me. It's simple, but if you grow up thinking about every penny you spend you get weird habits.
Telegram, Discord, Facebook Messenger, Snapchat, WhatsApp, Hangouts/Voice/Talk/Meet/Allo/Whatever -- who will win?

And without ads deeply ingrained (or highly addictive paid features like Discord has), does it matter?

With the recent scrutiny of the DOJ, I wonder if Google and Facebook's business models are really all that sustainable or desirable.

Discord seems to have the healthiest setup here.
Privacy versus Convenience
I get it, but does it matter for me as a viewer? Judging from your name, I guess that you know the following things, but I will argue the point for other readers:

ARD (the channel) has by far the biggest market share of all the channels in its union. As a viewer, I do not care whether the administration of those individual channels (in Germany called "third channels") is sitting in the same office or not. They are producing the same program.

For exmaple there is a popular crime show (Tatort), which episodes are produced by different members of ARD, so they take place in different parts of Germany. It is still fundamentally the same show, much like crime shows in the US with a city attached to their name.

Anecdotally, the slogan of ARD is "Wir sind eins" (we are one), hinting that they are the first program, but also want to be seen as one program.

What is specific about ARD is, that it's divisions are organized geographically at the top. But then again, BBC also has regional channels. So my argument is: It does not really matter for the viewer. Except when he is paying, then ARD is clearly worse.
If your "entirely free software" downloads or suggests non-free software, than it's not actually entirely free.
Telegram: 500m Active Users and a Noble Growth Plan
Wow, twitter blocks this link and you can't even share it through bit.ly

Agree with author, existing map design in Maps.me is by far superior to any other app I've seen and biggest reason I keep using it.
You can run Catalina at least for two years and then move to hardware firewall solution and any other os of your choice. Actually the move from Apple against LS and VPN was the final straw for me.
Basically a "rich people's guide to life". A bit depressing for those of us that cannot afford most of the things described here. No, I'm not actually allowed to do any of this because I don't have enough money; thanks.

> park illegally and let yourself think of the (expected value of the) fine as a parking fee

That one made me laugh out loud. Is it a serious document or a parody of sorts? Is it mocking a "rich" people's lifestyle?
Will win in terms of what?

A lot of things in Telegram are done right, but that does not mean it will win the audience.

Discord is a very good solution too, but I doubt people want to use it on their smartphones as a messenger.
To provide customers with a sense of pride and accomplishment for cancelling the service?
What stops people from releasing unwanted puppies in to the wilds/streets?
Fictional 'Black Jet' Toys, Models, and Video Games from the 1980s to Today
I wonder how far away is the consolification of Macs

- The unified hardware is already there

- One single OS (which pretty much can be invisible)

- The only thing left is the software space. You can still
install unverified apps but how long? Just require the App Store for everything and it's pretty much done. And I bet most people would love this (more safe!) or doesn't really care.
In the case of Rails if you're happy with a RESTfull API it handles serving different kinds content such as json pretty seamlessly via the respond_to method. i.e. if you want JSON ask for JSON if you want rendered html ask for that.

However I think that for iOS they're still offering server side rendering via Turbo-iOS and Turbo-Android so you can build quickly and then replace that later if you need to.
I second Pocket Earth.
No, what they (we) need is to be held accountable for the software we build, just like engineers are accountable for what they build.
Thank you for the recommendation, looks amazing, instantly bought.
I understand that from an economical perspective, this is brilliant, but the natural part of myself also think that this kinda of junk food is ruining this planet. Its more or less directly the cause of most pollution troubles (over-consumerism, transports, .., at the expense of organic local "good" food)
I haven't bought it (yet?), but what's making it so enticing is the composability of the CSS fragments they show.

Can I achieve the same without those "algorithmic aspects"?

What do you mean by that? calc()?
It makes sense in the physical world to consolidate a brand.

It gives costumers an unified experience and slash costs with scale economy.

I am not sure it is the same on the digital world. What it is the advantage of consolidate business that sell only digital? Especially if those business sell mostly through Amazon?

Actually, consolidating, you are loosing the small niche appeal.
What I don't understand on many pages (e.g. the TerarkDB Github README, or all the release pages linked from HN):

Why not explain your project to me first? Assume I know nothing about the project and followed a link from HN.

"TerarkDB is a RocksDB replacement"

doesn't help me, what is RocksDB?

This is a huge missed chance for projects to get new users. Start every release note with a sentence explaining your project. Assume people reading your release notes are non-users.
> But Facebook just at handing over data on dissidents to repressive governments is okay?

What are they supposed to do? Move out of the US?
...which is named after cotton-duck material tape once used for repairing ducts.

https://en.wikipedia.org/wiki/Cotton_duck
Yeah, I would have pointed out OsmAnd too, but you were faster :) I'm not a subscriber yet as the features of the free version are enough for me, but someday my conscience will probably guilt me into supporting them anyway...
> Update: Turns out I inadvertedly plagiarized the talk The Best Refactoring You’ve Never Heard Of by James Koppel.

Ah, that's why the title felt familiar. Well, it's been a while since I read/watched that and I could use a refresher anyway, might as well read this article for a different perspective on the same thing :)
I don't agree with the "constant-stack algorithm" comment. Whether you represent the stack implicitly through recursive function calls, explicitly through building up lambdas, or again even more explicitly by using a singly linked list or other suitable data structure, it's still a stack, and the memory complexity is the same.

They're all different ways of doing the same thing. Of course there could be a benefit for cases where you have a limited stack size. The author says that there's no need to do this in Haskell, because the stack is allocated on the heap, but I still wonder what the constant factor overhead of doing this with a linked list plus data types is over simple recursive function calls.

This whole thing can be summarised as:

1. Represent the stack as a singly linked list (or std::stack).

2. Data type for encoding stack frame: function state and where to return to in function.

As an example, this technique is useful if you are doing an in-order tree traversal and want to avoid using the stack. Define a data type to encode the nodes to be looked at, and encode whether you have already been through the left branch of the node or not.
Engineering Metrics to Increase Developer Productivity
I don't know why you think that the fee paying somehow prevents that control by the government? In Poland the fee is paid separately and the national television and radio have turned into a right wing propaganda arm of the government, it's an actual joke, if you want to amuse yourself try watching TVP with translation, it's just awful.

And there's definitely an argument that the BBC is at least somewhat partisan, despite being funded from the public and optional fee.
What happens when Apple decides the hardware is 'out of support' due to being 'too old'? When they stop providing the signature it will no longer be possible to restore a hosed system, no matter what OS you intend to install.
My point was that if you baselined how good or bad you thought humans were by the crime rates in the 80s, you'd come away thinking humans were way more violent than they are. I think the same holds for 2020 - if you assess human nature by how people act when they're in the midst of a global pandemic, you'd come to the same incorrect conclusion.

Another way to put it is that much of our behavior is dictated by our environment, and if we create an environment where extreme chemical, biological, psychological, and economic stressors are kept at bay, then humans are just not prone to a great deal of violence.
Funny you say that, but on a limited Linux VM, it's the only environment that runs and looks relatively decent.

KDE - Looks great, runs like a slug stuck in molasses.

Gnome - Looks meh, runs slightly better.

Unity - Looks great, same performance as KDE.
Why not got the whole mile, and do something like this:

GIT_AUTHOR_NAME='nil' GIT_AUTHOR_EMAIL='nil@example.com' \
GIT_COMMITTER_NAME='nil' GIT_COMMITTER_EMAIL='nil@example.com' \
GIT_AUTHOR_DATE='1970-01-01 00:00:01' GIT_COMMITTER_DATE='1970-01-01 00:00:01' \
git commit --no-gpg-sign --allow-empty -m 'NIL'

This will give you an identical commit hash every time. [Edit: added --no-gpg-sign as suggested in reply below]
Interesting approach. Not sure if they can replace the lean operations of most FBA sellers with an integrated company without compromising the profitability. Also FBA at scale is not necessarily cheaper then running your own logistics.
It's a web browser, a media player, and a vehicle to sell iCloud subscriptions.
> shouldn't

It's an opinion.
Congress creates new copyright court that could make trolling easier
CSS was never meant to be used for applications.

What happened was this: Once upon a time, there was only HTML. It could only make simple text pages.

Then the internet revolution of the 1990s happened, and everyone wanted to put make their webpage look like a glossy pamphlet. So along came extra HTML tags, and the widespread abuse of <TABLE> and other tags added to HTML to make web pages look like glossy pamphlets.

At the same time, CSS was developed so the HTML could stay clean and maintainble, and the layout of the “glossy pamphlet” look was in a separate file. HTML + CSS wasn’t designed to make an interactive app. It was designed to make a magazine article or an online resume. One would use Java (1990s) or Flash (first 2000s decade) for anything interactive.

It was in the 2010s, long after Java applets stopped being widely supported, and when Flash was too proprietary and too insecure, that the ability to make a fully interactive app was tacked on to Javascript; this was not the original intent of Javascript nor of CSS.

So, there is no real underlying design. It was something hacked on to a standard designed to share text documents.

If Steve Jobs were alive today, I think Apple or someone else would create a new interactive standard without all of the baggage of HTML + CSS + Javascript. It’s like the problem we have had for years, where a modern x86_64 chip is a 64-bit extension of a 32-bit extension of an originally 16-bit chip; it’s only now with the M1 that we are finally using a more elegant and well-designed chip architecture for desktop computers.
Yep, this is a worrisome thought.
'Swamp king' prehistoric crocodile identified in Australia
Judging by the huge crater, LibDems should be #1
The word "fan" actually originates from "fanatic"!

I think video gamers have accumulated a lot of learned helplessness. We're supposed to believe that matchmaking, clients like Steam, Origin, Galaxy are about convenience for the user. It's actually about control. You can only play the game in the way they want. The system decides who you play with. You can't modify it unless you're explicitly given modding tools or map editor. Even playable demos are long gone. Most publishers don't do that because it cuts away the stream of DLC. In the end video gamers are stuck pleading to the publisher or developer because they have nothing left. With board games, making a mod is as simple as saying "let's make a house rule: (...)". Board gamers own their games. Once copy can be used with all your friends.
What could be the risk visiting the site?
Yeah, thanks to everyone wanting to work making games.
Same for me, Flix looks like a language I would use professionally. It has that powerful OCaml/F# vibe.

Built-in Datalog is indeed a surprising feature. Strongly reminded me that we may come to a universal data model someday just like we rely on universal computational model (Turing / von Neumann) nowadays. Under that model, we would not make distinctions between various sources of data and we would be able to efficiently query them in every structural dimension they offer.
See my reply to sibling on how to do it in a reproducible fashion. Maybe we should just all agree on a canoncial initial commit after all? :)
Any Twilio API Developers
Need twilio dev
This is one I struggle with.

Specifically, parking. If I park in an illegal place, get a fine, and mentally consider it a fee, that feels alright by me. But if I park in an illegal place with the same intention as above, and don't get a fine, I'm a jerk. It's tough to decouple those two.
You can ensure the hashes are consistent by setting GIT_AUTHOR_DATE and GIT_COMMITTER_DATE in your initial commit alias.

They still won't be consistent if you've enabled commit.gpgSign though. So, you'd want --no-gpg-sign on that initial commit or someone to reply with a better idea.
The Ethereum Classic community wants to have a word with you.
Looks like cell's phospholipid bilayer is anabolized just like an "endothermic" crystal : no need to cross a potential barrier (and releases energy instead of consuming it)?

On the other hand, other forms of anabolism require crossing an energy barrier (and consumes energy) ?

While catabolysm is the inverse operation : crosses a barrier, but releases energy?

The formation/destruction of "exothermic" crystals like dissolution of Sodium Hydroxide if put in contact with water is I guess similar to above two reactions ? (Or better example: explosives)
What do you mean by "startup time"? Booting into Linux? Opening a window?
I agree the default filtering should be better, but disagree strongly about showing what the standard library is doing in debugging contexts.
Not only hiking! Traveling to Ecuador last year was a real eye-opener. For some reason, the maps on our navigation device (TomTom) were badly out of date and incomplete (despite of course downloading the latest update before travelling), fortunately I also had OsmAnd on my phone, it saved us from getting lost multiple times...
Millions of Abandoned Oil Wells Across the US Emit Greenhouse Gases
We are talking about a whole percent of the US population here, not just the tiny fraction that requires organ transplants.
What things about the staging area do you dislike at a fundamental level (i.e. going beyond a one-off cost of having to memorize a quirk)?
If you speak German then maybe yes. They do have good documentaries and the "Tatort"series has a cult like following. More importantly I would claim that they are relatively neutral with regards to political topics.
That’s a bit of a straw man saying “two bedroom apartment”. Why would a single person need to live in a 2 bedroom?

I mean, plenty of people rent a room in a shared house in SF. Are they living in poverty because they don’t live in a two bedroom?