skysight-inc/HackerNews huggingface dataset:
From https://www.python.org/dev/peps/pep-0584/#current-alternativ...

> To create a new dict containing the merged items of two (or more) dicts, one can currently write:

{**d1, **d2}

> but this is neither obvious nor easily discoverable. It is only guaranteed to work if the keys are all strings. If the keys are not strings, it currently works in CPython, but it may not work with other implementations, or future versions of CPython.

> It is also limited to returning a built-in dict, not a subclass, unless re-written as MyDict(d1, d2), in which case non-string keys will raise TypeError.
How to outfit a 1600hp engine with a 9 speed transmission that let's you shift freely between gears.
Extremely high temperatures mitigate most of that.
Note that the URL in this post no longer works - it has changed to: https://medium.com/@Pinterest_Engineering/sharding-pinterest...
`a b(c);` is always a declaration of function `b` in D. To construct `b` of type `a`, it is written instead:

a b = a(c); // one way
auto b = a(c); // preferred way
Canonical is also fully independent..
I totally agree that the chats popping up can be annoying. We've been using Intercom for a while now at geocod.io, and changed the settings last year to not have automatic messages. The icon is still hovering in the corner, but you have to actively press it to reach out to us.
This is in the context of the Great Recession which saw the largest sudden liquidity withdrawal from our monetary system in recent history. The point of printing money (which I'd like to emphasize did not happen, easily verified by the lack of broad price inflation in the last decade) is to get back closer to your baseline, not to goose an economy already at full employment (that just gets you the 1970s).
It also exponentiates the way you'd expect:

"a"~"a"~"a" = "aaa" = "a"^3

And while it's not commutative, it is anticommutative with reverse:

-"abc" = "cba"
"ab"~"cd" = -(-"cd" ~ -"ab") \
= -("dc"~"ba") = -"dcba" = "abcd"
Arguably, being annoying is a feature, not a bug; we want to discourage single-use packaging and get people to bring their own reusable containers.
An American Citizen Was Forcibly Drafted Into the South Korean Army (2015)
True of course, but what specifically makes you think that?
That's the "reduce" part. But just how does one roll back packaging practices? I can't imagine how that would work.

Maybe the German model. But in the US? It seems unlikely.
Thanks for mentioning that you got Django running on Pythonista. I just spent a few minutes web searching and fiddling and now I have a small Flask web app running on my iPad using Pythonista. There is no hot reload, so if I change code I need to restart the Flask app and then refresh the web page on Safari. I had no idea this was possible, or that there was anything like StaSh.
neat; why haven't I thought of this before.
RPM-based distros certainly led server OEM shipments back in the day, but that didn't mean Debian wasn't being used extensively in the backoffice.

As others have pointed out, APT played a critical role in Debian's popularity as open source software grew and early naive software distribution methods were outpaced by complexity.

I won't weigh in on Canonical's broader presence across verticals, technologies, etc., but Ubuntu is widely recognized as the most popular Linux in cloud platforms. I believe this is a direct result of APT coupled with a more rapid release pace.

RPM-based distros remain extremely valuable and extremely popular in many scenarios, particularly when someone has to run a product from a proprietary ISV or something that has a very complicated certification model.

In some cases, but certainly not all and in my opinion in a decreasing amount, the choice of distro might be tied to how active a particular company is in the upstream kernel. "Buy Red Hat because they contribute to the kernel". Suffice to say as decision makers perceive that their app isn't the kernel, that decision criteria is shifting (thankfully, many RPM-based vendors including Red Hat have many other value items to add)
They go down. Or go read-only.

What do you do during a network partition? Accept writes that you’ll throw away eventually?
Simple, but pleasant. This is how it starts. It might take some time, but I think most ambient music in video games will eventually be procedural.

EDIT: Just want to say that these are better than I expected. As good or better than about half the ambient music recommendations I get on Spotify.
With stardot or just star?
Yeah either would be a little weird.

I'm asking partly because Ocaml uses stardot for floating point multiplication.
We use Allegro Common Lisp which has an interface[1] to emacs, and it's quite nice to use, minus several annoying bugs. Notably, gives you access to a REPL.

I just started working as a developer, and so far enjoying using it, despite not having experience with other languages in a professional capacity, or with large projects. The less my hands have to leave the keyboard the happier I am :).

I do use evil-mode, but I should probably get more comfortable with emacs keybindings as time goes on, especially since emacs has some useful keybindings in the context of s-expressions from what I recall.

[1]: https://franz.com/support/documentation/10.1/doc/eli.htm
Well first of all this isn't a phone call so there's no chance at all of wiretapping charges regardless of any other circumstances. Second of all, the only potentially related charge would be something like eavesdropping and while that would vary by state, that would have required Google to actually use the microphone. If they didn't actually eavesdrop on anyone or design that in with the intent to eavesdrop on anyone then they haven't committed any kind of eavesdropping crime.

https://definitions.uslegal.com/e/eavesdropping/
> recycle all the CRTs

I'm really glad to be done with those. Ugh. Back around 1970 my dad said the world was waiting for two great inventions:

1. A TV you could hang on the wall like a picture

2. A typewriter that you could back up and correct mistakes on. (Few people likely remember Whiteout. Glad to be done with that, too!)

And great inventions they turned out to be :-)
Was my first distro too and yes, it was a nightmare. my personal favorite was the gui application to configure X11 and the graphics driver, every failure whould put you back into console sifting through xml configs.

but i've heard good things since.
Great, now I get to read about how this a-hole of a website is all over my Google image search results.
Fruits and vegetables are often packed in plastic as well.
In alternatives, packages write their files to the disk and then register those as alternatives. A user can decide which one should satisfy the alternative.

In diversions, a package claims a file. When anyone else tries to overwrite the same file, it's diverted elsewhere. It isn't designed for the user to choose between equals.

I built a derivative distro using diversions mainly to prevent "soft-forking" Debian packages as much as possible (maintaining packages is extremely costly for anyone that isn't a decentralized organization like Debian)
What is the German model? I don’t recall there being a massive difference in packaging there except for the reusable (deposit required) soda bottles.
If you like this type of thing and want to go darker/heavier, Iron Cthulhu Apocalypse and Cryo Chamber are personal favorites of mine for “music” while programming.
Maybe I’m just a little foggy this morning, but what is periodic about this table?
> Users needn't use their real name, but should have some identity for others to relate to. Otherwise we may as well have no usernames and no community, and that would be a different kind of forum.

There's an interesting middle ground here which is to let users specify whatever username nobody else has ever used for their posts. Then they can choose to link them to prior posts (or not) as they see fit. It's not clear to me that this prevents having a community, but I'm not sure what the consequences are.
Yes, I am a parent.
In Apple's case you can go back to the time before the logo changed from a rainbow to a chrome shield. The Apple II manuals were a model of readability, clarity, and personable communication.
http://www.classiccmp.org/cini/pdf/Apple/Apple%20II%20Refere...
The change when the Mac manuals came out was day-to-night.
While I'm not particularly a fan, it's important to make clear the company SUSE (that is, SUSE Linux GmbH) has two distributions. It funds the community-maintained openSUSE distribution, but also has SUSE Linux Enterprise Server (SLES).

openSUSE has a regular ~2 year support window and is probably mostly used by enthusiasts. The commercial SLES product has a 10 year support window (with paid extension for another 3 years).

It's a paid product, but 10+ years of software updates for a stable Linux platform is something that's pretty rare to find, and certainty a great option for certain products. Hopefully I'm corrected on this, but RedHat tends to be the only other vendor supporting Linux distributions for such a long period of time?
This is a good idea, but I feel like it would benefit by forgoing the "HTML" art layout, and being more similar to the actual periodic table, by organizing elements in groups on the X axis and in introduction year/version on the Y axis.

Smaller detail: the the bottom groups buttons would feel more interactive as mouseovers -- and more consistent with the elements cases.
Insurance companies are already doing this. My friend gets $5 discount on his monthly premium for wearing a garmin wristband.
My city Bangalore effectively enforced a plastic ban. So some grocery stores now only have paper bags even to pack veggies. I think it's doable. The government enforced the ban as there was no alternative, we don't have enough space for landfills.

A city like Singapore however uses a lot of plastic and thermocol. I wonder where they find space for their landfills. Probably they are doing the same, exporting all the trash to China or Indonesia.
Ssh is now part of Windows, I haven't used Putty since.
> Now that's a bogus reasoning and I don't see why you twist the analogy like that since it loses relevance.

I am not sure this reasoning is bogus. Let me try to pick up on the analogy and develop it further:

Situation 1: I (hypothetically) am shopping for a laptop. I am used to Unix, dislike Windows, and couldn't get desktop Linux work for me. I am impressed by battery life of the latest Macbook Pro, as well as by its glorious screen, decent sound, and responsive touchpad. After certain deliberation I decide to buy a Macbook Pro. Apple’s corporate track record doesn't even enter into the calculation. And yet, I am told that my choice is political.

Situation 2: You (hypothetically) are about to order a burger. You are hungry and like burgers, and the animal suffering involved in the production of that burger does not even cross your mind. Yet you are told that you have made a moral choice. (Alternatively, you are told that you’ve made a religious choice, because in Jainism meat is not allowed; and obviously you couldn’t care less about Jainism.)

What I, as the previous commentator, find so objectionable is that it shouldn't be said of you that you are making a political choice if you are not involved in an act that you recognize as political. I can’t imagine that it is reasonable to expect of everyone to be constantly engaged in political activity, or to put political considerations before any other. I think it’s quite possible to be vaguely supportive of democracy, freedom, workers’ rights or the rule of law (and thus to be politically on one side of the spectrum), and at the same time not care that a corporation complied with undemocratic demands of an authoritarian regime or used legal loopholes to avoid taxes (and thus is on another side of the political spectrum).
Neither a <table> , nor clean HTML (doesn't work without JS)

Great idea, though!
It’s now owned by a private equity company. So their expectation is that it will grow and make money and they control the board, but the PE company itself doesn’t have a technology business that will determine Suse’s path.

If it were a tech company buying them, the assumption would be that the buyer would try to digest Suse and incorporate its components into the parent.
Well there is configuration driving your logic...if your logic is supple the configuration is not that important.
Chris Lamb is a remarkably active and outgoing DPL. But yes, I've been active in Debian for well over a decade and I've seen both a lot of people leave and new people that I don't know or get to know as I used to. All 5 DPL candidates ring a bell for me, though.
menu and menu-item are Firefox-only https://caniuse.com/#search=contextmenu
At that cost I’d just go with Secure CRT.
Well I don't want to be a prude here but if you want to develop on an iPad pro, just get a surface?
Subprime credit cards: https://www.cardrates.com/advice/list-of-subprime-credit-car...

Subprime auto lenders: https://www.cyberleadinc.com/subprime-auto-lenders/

Nonprime mortgage lenders: https://www.nonprimelenders.com/lenders/

Prime = good borrower. Subprime/nonprime = not a good borrower.

Just quick examples, lots more out there. It is incredibly difficult not to qualify for credit entirely. Someone, somewhere will lend to you at an interest rate in accordance with your risk profile. Investors are hungry for returns.
i pretty much only use chat widgets now for getting help
That's not what he's saying. The section he is quoting is that if the user already consented to e.g. an Amazon Echo listening with a microphone then that's totally legal. Hence it does matter whether or not Google disclosed this to the end user although reading through the rest of that section there's nothing there that would implicate Google if they didn't actually use the microphone in some way. I'm not saying there isn't some law being broken here, but it isn't in 18 U.S. Code § 2511.
A side effect would be that the three points taken together would effectively make the cards a new form of cash.

As in, if people decide to simply exchange the physical cards instead of charging/discharging them, the cards effectively become a plain old traditional currency.
I can't fathom how anyone would pay this.

For less than three grand, you could fly to Europe for a weekend, stay in a five star hotel, and have all the tests done while you're there.
Actually 10% of the sysadmins make the other 90% look pretty good in this respect. I've woken many mornings at 4 am without an immediate rationale to realize a moment later that there could be a problem and it could be mine. The SA mind is the best arbiter of possibility within the open domain unrealized by data learnage.
"circa", not "sirca".
Monokai Pro: Beautiful functionality for professional developers
I feel like this wasn't in any way a responsible disclosure, even if the company didn't respond.
The big question about using those Docker containers is security.

Based on past CVE history for nginx, there might be another CVE in 1-2 years. Will this git repo still be updated then? Will the user remember to pull latest version and regenerate latest image?

Official "nginx:alpine" image maintained by nginx team is 17MB. If you can, you should always use it. And you should subscribe to some sort of mailing list so you know when it is time to upgrade all of your servers.

(An alternative is to skip docker and use good old Ubuntu LTS with automatic updates; this will guarantee timely and fully automatic security updates for the next few years. The downside is that if the system will have an exploit, the attacker will often find it much easier to stay in the system and move to other parts of the network)
Show HN: Tunnel Rat, A 3D webgl game to work your memory and spatial orientation
It hasn't just been China. Pharmaceutical manufacturing in India is an environmental disaster.
I don't know how this is even worthy of being in the front page. I work at Pinterest, and I work on the systems he's describing, and while the basic sharding model hasn't changed, there's a lot of outdated information in that article. There's also a non-trivial amount of bad advice. C'est la vie.
Not true in the UK anymore. Nearly every local authority has or has under construction a 'waste to energy' plant (incinerator). Most of South London's waste has been burnt since 1994: https://en.wikipedia.org/wiki/SELCHP, for example.
Toorum's Quest II – game running on Arduino ATmega328P Microcontroller
Made on an ATmega328P microcontroller (MCU) which has only 2 kilobytes of RAM and 32 kilobytes of program memory.

"Everything, the NTSC video signal generation, sound synthesis, music playroutine and game logic is running on the MCU, so many things had to be hand-optimized in assembler language. Only a single additional IC, the AD725 is needed in addition to the ATmega328P."

The video:
https://www.youtube.com/watch?v=sLvgW_zb6bQ

How it's done:
http://www.gammon.com.au/forum/?id=12623
Regardless of where you stand on this issue politically, I think what upsets me the most is that we have the means to solve this problem. And hunger. The most basic needs for all humans can be solved: we have enough food to feed everyone. We have enough money and doctors to treat everyone without going destitute.

We have more than enough.

We choose to not to.
get a wireless charger and put it on your nightstand, problem solved.
Actually BitTorrent suffers torrent-rot thanks to the DRM that are private trackers, not a single mainstream client offers you the ability to just DHT/PEX/LSD(LPD) a torrent which means if the trackers go down the torrents die. I find it a big concern, even more so in the future.

If ipfs suffers the same problem - noone knows which hash to look up - the files will be irrevocably lost.
Sigh. I read the article thinking it was going to be about psilocybin. Those kinds of mushrooms seem to help me ward off brain decline. :-p
Brazil crime dataset – 10 years
Sure. But it's only clean paper that's recyclable. And not just clean paper, but the right kind of paper. Low-lignin paper and high-lignin (e.g., newsprint) can't be mixed.
Not only code writing, but debugging, compiling, testing, deploying to physical devices via usb, coding thermal printer, barcode scanners or other input hardware support support, and the list goes on...
That may be true - but on the other hand, losing access to money doesn't seem to be helping them either. Like, even if the opinions are true, the fraction of people that beg to buy actual food or try to improve their situation wouldn't be able to do that anymore either.

I can't imagine that this move would be particularly helpful for people with addiction either. Their addiction won't go away, but they'd probably find other ways to fund it, which might involve entering into really unfortunate power dynamics.
That looks like ergonomic terror
Try 6.1 noob :)
Re-reading this article from The New York Times Magazine, “Recycling Is Garbage” (1996) is really interesting today. It goes over the whole panic that kicked off the recycling movement during that time period.

https://www.nytimes.com/1996/06/30/magazine/recycling-is-gar...

I had almost forgotten the story of the Mobro 4000. For days the national press was obsessed with watching it try to find a place to offload.

https://en.m.wikipedia.org/wiki/Mobro_4000
Well when you work with distributed messaging systems it can be difficult (if not impossible) to guarantee messages arrive or are processed in the same order in which they were generated. So I think the author is just saying generally speaking it’s better to track as little state as possible if you don’t need to.
Damn, I had no clue that it was just 20-30%. That's depressing.
Robocalls about your bills can pour in every day, all day
Loved SuSE forever..well at least since 1998.
Red Hat Ceph Storage 3.2: BlueStore Unleashed
Is it possible to buy new aluminosilicate glass dishware commercially?

For some reason I really want to try cooking directly over a flame with a glass pot.
Extreme source separation. And laws that impose waste-management costs on manufacturers. See https://news.ycombinator.com/item?id=19411646 and https://news.ycombinator.com/item?id=19411250
Why wouldn't you just use org-mode and ob-ipython which lets you call out to jupyter kernels and have the results appear in your org file?

At least then you're dealing with diffs of plain text instead of json.
I struggle to remember precisely how we did .. I know we did.. I know it involved theater programs and phoning .. but the concrete memory is gone as if it was fantasy
Missing the <xmp> element. I know it's depreciated but it is still supported in every browser according to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/xm...

It comes in handy for debugging.
> DESIGN SOFTWARE: The website is built with Pelican, a static site generator. We have released the source code for ‘solar’, the Pelican theme we developed here.

Did they share the article sources too? I didn't see the article markdown/rest file in their lowtechmag github account.

Also, it'd be cool to share a torrent of the sources for when people's access to github goes down. There's so much you can do when you have software like pelican installed, if you have a site's theme, content, and config files.
delete the parent comment
Either that or a combination of being written at one end of the tolerance range for RPM, while being read in a drive at the other end of the tolerance range.
The times the internet Archive has recovered a long lost manual for me after digging for a while I can't count on two hands. Anecdotally I know a lot of specific knowledge and even trustworthiness has gotten lost thanks to all the link- and torrent-rot and I don't find it okay, that's why I try to archive.
Google Container
> accommodate any remotely legitimate removal request

What counts as legitimate?

There's a lot of historical hypocrisy or inaccuracy from public figures and even news organizations.

If you can't remember who said what, and when, I fear an Animal Farm future, where "no one could any longer remember" things, and historical perspective is lost in the internet fad of the moment.
> Is there any other common operator you would recommend instead?

Yes, wedge product[0], written as tilde (~)[1]:

"a"~("b"~"c") = "abc" = ("a"~"b")~"c" # associative
"a"~"a"~"a" = "aaa" = "a"^3 # exponentiates with repeat
-"abc" = "cba" # (with - as string reverse)
"ab"~"cd" = -(-"cd" ~ -"ab") # weakly[2] anticommutative

If you generalize to regular expressions, you can get some more milage out of + as alternation and * as intersection.

0: https://en.wikipedia.org/wiki/Wedge_product

1: Not caret (^), because that makes a good exponentiate operator.

2: # vector wedge product is strongly anticommutative
u~v = -(v~u) = -(-v~-u) # with vector negation
I was advised to have a mole removed. The private clinic in London wanted £700 for the removal, and the initial consultation was £250.

I flew to Poland instead, and had it removed at another private clinic for £80.

All the staff in the top clinic in London are Polish anyway.

Paying crazy amounts of money for medical procedures is just dumb. I cannot understand why Americans would pay tens or hundreds of thousands of dollars for surgery when they could fly to Europe, live the highlife, and also buy a house with the change.
Parsing Elon Musk's solar energy calculation
Still a big competitor, more popular in Europe. I managed several high performance clusters that ran on SLES.
Money is often used as a tool to control others.
I wonder how book search systems were used, surely large library indexes existed but how efficient and how often they'd be used..

In a way, book searching is probably the only cool thing about internet IMO. The rest was already nice enough as it was. You don't need ultra high bandwidth and ultra low latency to find a VHS for a night with friends... it won't make the memories better.
What do you mean by "pkg steps"? Again, I have never had any issues whatsoever with any of this.
See https://news.ycombinator.com/item?id=18915747 .