skysight-inc/HackerNews huggingface dataset:
JupyterLab

JupyterHub

Jupytext - converts ipynb to py

Nbstripout - strips all output from ipynb

Nbmerge - resolves merge conflicts

Vim-jupytext - vim plugin to auto convert ipynb to py

Papermill - parameterize notebooks

Git

Pandas, Altair - data analysis / Visualization

Phabricator - code reviews of notebooks

Vimdiff + vim-jupytext - diffs in terminal

This solved all my jupyter problems.
The word robot derives from the Slavonic word robota, roughly translating to servitude, forced labor, or drudgery.

No it doesn't. It just a word for work or job, without negative connotations.
This doesn't really compare to any other online payment standard? You still have to manually do a payment, afaik even copy and paste (or scan) a classic bill format.

I mean something along credit card, PayPal, crypto. Simple, fast, direct.

In Switzerland we just roll out QR bills that simplify the wire transfer process a lot. But it's just a layer over wire transfer basically. We also have 'Twint' that is an already established payment method instantly and also based on scanning qr codes (or touching payment bacons, or a phone number for private use)
Because it's done in the name of energy savings and the only reason that we all have to save energy is so the political elites of the West can play Risk against Russia.
Well, chili is not chilling at all for some people.
But at some point you have to pay! (number of projects, features, not sure of exact conditions).
> The bigger problem is that Germany doesn't have any more recent nuclear power plants due to public pressure

France hasn't either and they don't have public pressure against it. The are still trying to build a single one, being a decade late and billions more expensive.

> or more recently Fukushima, which really just culturally echoed the existing memories of Chernobyl

Currently we think about the nuclear fleet in the Ukraine which is literally under fire from Russia.

We are not far away from a new Fukushima, but this time in Europe.

https://www.reuters.com/world/europe/both-working-reactors-o...

https://www.theguardian.com/world/2022/aug/25/zaporizhzhia-n...
> Because nation states are well known for producing usable software at a reasonable cost to tax payers?

Yes, they are. The software, hardware, and automated systems underlying transit systems in Japan, Taiwan, some of the UK, and a couple other countries, continues to make trains not crash into eachother for just about a hundred years now depending on the system. I don't know too much about it, but it seems the same to be true for whatever runs the stoplights around town.

It's not always nationalized, but the software used to plan trash pickups and routes, bus routes, bus signage, sewer planning and control, shipyard signaling, and numerous other public works is at least tangentially taxpayer funded and government organized. Those seem to work pretty swell considering their level of complexity (at least in the countries I've lived in).

Here in Taiwan the government websites can be notoriously terrible, but some are really fantastic, for example https://data.gov.tw . There's also strict requirements for accessibility that are rigidly enforced, which is a nice thing you don't often get from private software (you have to depend on a disabled person suing a site before it'll be made accessible in the USA - abled people don't have "standing" it seems).

Honestly, it sounds like you're making a very generalized libertarian argument, and I don't want to risk a politics flamewar, but I'm really not sure what alternative you're offering for governments building software, that doesn't involve total dissolution of the government. The department of motor vehicles needs a website one way or the other, they're either going to build it in house or pay contractors to do it, either way, taxpayers are paying for the website, and any additional app-like online services.

Was there some specific examples you had of unusable software or unreasonably priced software that would justify such an extreme solution? Cause the dichotomy to me seems false: surely there are ways to improve the quality or reduce the cost of taxpayer funded software, if necessary? Surely that's easier than... whatever it is you're suggesting?

edit: Some other good examples of nation-state provided software in Taiwan, there was some fantastic contact tracing apps and backends implemented by the government. The UI was admittedly quite.. sparse, but it was undeniably functional and accessible. And, it came with strong guarantees about data anonymity, which you can never trust from a private company.

edit: I'm clicking through some various USA websites now and these all seem just fine to me. I guess the accusation is that they took too much money to develop? https://www.congress.gov https://www.vaccines.gov/ https://www.cdc.gov https://www.hhs.gov/

seems the same to me for the UK although their cookie banners are hilariously absurd https://www.nhs.uk/ https://www.gov.uk/
We can always create methane or ammonia from hydrogen. That's a solved problem. The only research left to do is to bring down the price.
Her diamond ring fell in the ocean. A stranger hunted for days, then found it
LED's Efficiency Exceeds 100%
So many best and brightest in our society work on ads, from google ads to these billboars.

If these efforts were invested in something usefull...
Stupid whataboutism.

Those signage displays are creating lots of light pollution and consume lots of energy. It's a good thing to shut those down, no matter how much energy we have/create.
Should have started with Spanish.

In Texas, Spanish is less foreign than English, as people have been speaking Spanish there for longer than people have been speaking English there.

And https://en.wikipedia.org/wiki/Languages_of_Texas#Spanish_in_... notes "In August 2004, the community of El Cenizo, along the U.S.-Mexico border, made Spanish its official language."
Yeah, I'm trying to think how a lot of these are going to work, myself.

When I built a low-cost signage platform, a lot of the devices we deployed to were Android 4.4/5.0 (yes, even in 2020+), which doesn't have auto on/off that Nougat introduced in Android 7.0.

Probably some poor sap's job is to Teamviewer in and install a third-party app to control the shutdown and startup.
I have no idea what you are even talking about. I'm asking about current projects in Lisp for real time, so it's very relevant. You might need to work on your reading comprehension.
Problem is, without nuclear power, they will have to resort to generating power from natural gas instead of using that gas for heating, which will in turn have problems compound.
I like the law that says teachers can lead their students in prayer, and people are suggesting teachers sit down with the Koran and teach that :)

https://religionnews.com/2022/06/28/teacher-led-prayer-is-ba...
Attack it on all fronts.
This is not false, but the economics are not good for the full round trip. There are efficiency losses in the conversion both ways and hydrogen storage is not fun as it is very low density and due to small molecule size, prone to leaking through almost anything. Probably a lot of hydrogen will be produced this way during renewable peaks, but mainly it would be for industrial processes that need it.
What is meant by dumped on your desk here? Was it a big set of floppies or a stack of printouts?
what blame do the Christian Democrats have for this?
That's unfortunate. The solution with min actually does equal work in this case--it just has a lesser startup cost, hence my mention of a 'hostile environment'--but with greater span, because the high-bit toggling can be done for both inputs in parallel. If you switch to a loop, at the very least, it ought to use the traditional solution, but it doesn't. Also it doesn't use the trick with the saturating subtract. https://godbolt.org/z/76qKs49eW
I don't think we have enough information here to make any meaningful comment. My initial reaction is yes - there is inherent value in truth.

Do you have some examples of how this is hurting you?
Knowing very little about chess, what is the current state of the best chess AI compared to human players like Magnus Carlsen?
We have to save energy to soften the blow of the climate catastrophe. The Russian imperialist aggression is just an additional selling point.
Donut: OCR-Free Document Understanding
Right now gas plants are running to stabilize the grid in France...
This will increase car accidents. Call it a guess.
This sounds fascinating. What was the config of that beastly dev machine, if you can tell?
About 1000 times per day, someone says emacs is too big an ask for org-mode, and someone replies, it's configurable to feel like whatever you're used to.

The latter needs to accept that most users, particularly scientists, reject out-of-hand anything requiring configuration or compilation no matter how trivial.

But it's all moot since org-mode is largely promoted by non-scientists (computer science is not a science), and should a wysiwig-inclined scientist ever get past the emacs obstacle, he'll balk at the awkward BEGIN_SRC incantations.
And yet they're living rent free in the heads of Americans more interested in the British title of the founder of one of the organisations that co-sponsored the bill than the San Francisco based organization that was the other co-sponsor, or indeed what the bill actually says...
So, LEDs now are even better than Sodium Low-Pressure lamps?
If yes, that is exciting!
> I actually liked swarm, but it lost.

"lost" is too strong of a word. To me Docker swarm mode still holds the upper hand in terms of deployment ease and simplicity.

If anyone just wants to bolt together a couple of nodes without much concern regarding performance then Docker swarm mode is perhaps the best option out there at the moment.

However, this is changing very fast. Ubuntu now ships with microk8s which just works and outperforms Docker swarm mode.

Perhaps Docker swarm's worst enemy is how the project was managed and promoted. They had a tool to trivially setup a cluster of nodes with close to zero challenge, but somehow Kubernetes managed to be pushed as the only option.
> Just like scientific and medical research, tech research is the most effective and has the largest societal benefit when done at public universities on the taxpayer’s dime.

counter-example: Bell Labs.
How did you know the person was addicted to crack?
It's not only a gunked up light sensor, it is buggy software as well that is running those panels. At least that is what I heard from a friend working in the industry maintaining those displays.
A large portion of the advertising is to get people to switch brands. A smaller portion is to get new customers. Banning advertisement increases the profits for the already established brands (for at least the short term).
Holy trypophobia
...and the column is named DUMMY.

All hell breaks loose if you insert or delete from this table.

I made a DUAL table in Rdb.
I'd say it's the fault of neoliberalism (which certainly has a foothold in parts of the CDU/CSU and all major parties really, not just the FDP) that most infrastructure projects of the past decades have been limited to a few failed prestige projects (powerlines just aren't as sexy as a massive airport nobody can use) but it's the fault of the Greens (not specifically the party but the general political movement it stems from) that we're at a point where we are stuck with coal because nuclear is no longer an option.

I'm not saying it's bad they protested nuclear. Nuclear needs to go, too. It's just bad that they hyperfixated on nuclear because it's easier to scare people about it and that they didn't ensure we get rid of coal first. Scaring people about nuclear was child's play after Chernobyl if the threat of the Cold War wasn't enough (as the public already conflated nuclear power and nuclear weapons). The coal industry's political power is much greater in Germany tho and taking it on would have meant finding a way to bridge the cultural gap between blue collar Kumpels and the more college educated Birkenstock crowd.

Hopefully FFF and XR are finally doing some of the work now but sadly the opposition has also gotten better at its game and that Kumpel at his Stammtisch beer will most likely make bad jokes about "Greta" despite not batting an eye if you ask him to sign a petition to shut down all nuclear plants.
There is often a lot of criticism of "learning by rote" and often the blanket rebuttal is "we all have access to Google" etc. however there is a very big difference between someone who knows something and someone who has to look it up, which is why I will never accept a job candidate who will "learn what they need to learn".

How long would an experienced dev honestly take to learn a mid-level amount about e.g. Kubernetes or Go or Rust? at least months and months of common usage, not something that is comparable with someone who already knows stuff and can get cracking on day one and already avoid lots of the footguns that exist in our industry that you normally only learn the hard way.

Let's stop pretending that the internet is a replacement for education, in most cases it is far too unstructured, which is why people still take courses and why education and school still exists.
>> SECTION 2. This Act takes effect immediately if it receives
a vote of two-thirds of all the members elected to each house, as
provided by Section 39, Article III, Texas Constitution. If this
Act does not receive the vote necessary for immediate effect, this
Act takes effect September 1, 2021.

I am not American - So strange that the act takes effect even if it does not receive the required votes, only a bit later. How does it work ?
Shutting down the German nuclear power plants does not help the situation obviously but right even turning them on now is not going to help us at all over the winter. First of all not enough energy gets generated from there in the grand scheme of things, secondly they would not be operational in time.

If you want to look for more nuclear to turn on, have a look at France where less than 50% of nuclear power plants are currently generating energy.
According to the source linked in the top comment, we are looking at a total consumption of 113.000 MWh per year for those displays. One third of that is at least around 30.000 MWh of saved energy.
Ranking and sorting, much like school. Testing on a standardized body of knowledge allows for sorting on intelligence and conscientiousness and subject matter knowledge.
The sooner brits get rid of outdated social caste nomenclature and rejoin the rest of humanity, the better off they and the rest of the world will be.
"look at France just how catastrophic nuclear power actually is"

I assume you are referring to power plants that has to shut down due to low water levels?

If the powerplant is designed with a source of eater in mind, it will have tp shut down when the water is gone. It does not matter if the plant is oil, coal or nuclear.

Plenty of nuclear powerplants use seawater for cooling, and none of them had to shutdown.
Everyone lauds LEDs for being super energy efficient, but the reality is that they really aren't. It's just that they are being compared to even worse light sources that were so bad at efficiency it's hard to really grasp how much they sucked.
Vim and vim-latex.
Saving energy means stopping growth. The West stopping growth while China, India, etc. grow uncontrollably because they don't give a crap about the stupid climate plight will be our downfall.
Savings start with all non-essential things first.
I'd guess that people who are willing and able to afford hiring someone to cheat for them in an exam, can probably also order a fake ID with their name and the photo of their exam-taker.

Though maybe an extra step of storing a copy of the ID with the exam entry and having a professor who knows them verify that it matches the real student would catch most of that...
This is an affective rationing of electricity at night when demand is lower. So this is a worrying development and feels like managed decline and a testament to the catastrophe that is the German energy policy...
My colleagues always used LyX[1], which put me off in the beginning as it looks quite old-fashioned but it's actually a really powerful editor.

1: https://www.lyx.org/
Jupyter is not great for collaboration with multiple people editing, but with a little bit of order it's perfect for in-person working and presenting that work.

Notebooks can be clean if you follow some rules:

1. Code flow always goes down: holding Option+Enter should execute all fields without any errors. Don't do `x += 1` if `x` is defined underneath.

2. All blocks are idempotent: running any block 5 times should produce the same result as running it 1 time. Don't do `x += 1` unless `x` is defined in that block.

3. Keep block-local variables short and block-global variables long. Don't do `x += 1` unless you are not using `x` anywhere else.

Also, the Table of Contents extension [1] is a life-saver for making long analyses workable.

[1] https://jupyter-contrib-nbextensions.readthedocs.io/en/lates...
> The modern motto of the United States of America, as established in a 1956 law signed by President Dwight D. Eisenhower, is "In God we trust".

> The constitutionality of the modern national motto has been questioned with relationship to the separation of church and state outlined in the First Amendment.

> In 1970, in Aronow v. United States, the United States Court of Appeals for the Ninth Circuit ruled that the motto does not violate the First Amendment to the Constitution. The United States Supreme Court has not ruled on the issue.

[1] https://en.wikipedia.org/wiki/United_States_national_motto
The basic intuitions they have are correct, but if feels like there is a serious lack of or disregard for the theoretical background needed to talk about this stuff properly.

> (pull db '[* {:team/task [* {:task/owner [*]}]}] team-id)

That's not Datalog. It's kind of a mix between a conjunctive query and a regular path query.

Datalog isn't even really a query language. It's a class of query languages with a specific expressive power.

Whereas SQL is essentially conjunctive queries with non-stratified Negation, Datalog is recursive conjunctive queries with no or only stratified negation.

Datalog also has nothing to do with triples, they are two completely orthogonal concepts.

I've been slaving away in this very space for years and this post heavily reminds my of my initial hubris. Building something truly foundational that can be universally implemented and perform in all potential target languages from Javascript, to WASM via e.g. Zig and Rust, while at the same time being both conceptually simple, and easy to implement, is really really really difficult with a lot of pain lurking in the details.
I was going to mention InterLisp but @LargoLasskhyfv beat me to it.

I proposed an idea about it a year ago that got some traction here on HN:

https://news.ycombinator.com/item?id=28366292

Interlisp/Medley is the only rich graphical LispM type environment that's open source. OpenGenera isn't and probably won't be, which is tragic, but there are many tragic things in this world.

What many of the commenters to my blog post in that link don't get is that it is not a good thing that there are commercial graphical Lisp IDEs.

For comparison: when there were multiple commercial Unix implementations, the result was increased fragmentation and slower development.

Linux, as a FOSS, PC-native Unix, has propelled Unix forwards more in the last 25Y or so than the previous 25Y of work on commercial Unix ever did.

Old Lisp hands tell people to learn Emacs and install SLIME or something. Well, Emacs is about as appealing as other kinds of slime, like slug mucus, are: to most younger types, it's repellent and disgusting.

Emacs is a horrible crusty old 1970s editor.

To make Lisp look appealing and interesting, then it needs a rich modern GUI, a rich set of libraries to call upon and ways to access others. It needs a fancy graphical editor to show off its power.

The world has a FOSS Common Lisp: it's SBCL.

Find some way to run Medley under SBCL, however ugly the hack. Linux was an ugly hack once. UNIX itself was an ugly hack once. There's nothing wrong with ugly hacks. They are to be encouraged. They are the keystone of FOSS.

Get Medley running under SBCL somehow so there's a 1980s graphical FOSS Lisp environment, not a 1970s text-based one.
Of-course even with end to end encryption, the amount of meta data available to the government in this configuration would be a systematic risk to democracy.
It goes further than that.
They outsourced public transportation to private companies and those private companies outsourced the busstops to ad companies.
At least here the bus shelters are owned by ad companies.
The best time to build storage would have been fifty years ago. The next best time is now.

We need power supply now, yes, but we will still need storage decades from now. So building them now is vital. Yet we aren't doing that. That's a problem.

We literally have no time left, yet at the current course we'll be in the same situation in 2030 or 2050 as we are today and we'll keep making the same excuses.
Yes, yes I do. We're doing incalculable damage to animal life (e.g., disrupting birds and insects which are essential pollinators for plants). This is but one facet of the crisis that our species has inflicted upon the planet.
Why not both? Energy can be saved here that is needlessly wasted.
In theory, yes, it's possible to store renewable energy for later consumption, but this is not the case right now and rollout of any storage technology might take years without certainty that it will work well. In the current situation, it's either blackouts, or gas/coal, or nuclear when there's no sun and wind.

On the other hand, I can understand why the current situation is like this: Germany boldly betted big time on renewables getting cheap enough, they made it work with backfill options available at the time. I just wish energy storage was tackled sooner as well.
> That is pretty high for no real value for society in my opinion...

There is a widespread belief that Advertising serves no purpose to humanity.

Advertising is like anything in life: In high doses it is harmful. In lower doses it is useful. If there are regulators in your country that prevent advertisers from making false claims, even better.

Advertising has helped me hone onto products and services in my whole life that I've found useful. Many times I would have not been able to find the product or service if it were not for that advertisement. [You could claim that I was "brainwashed" into buying that product but that could be applied to any interaction in life. For example, if my spouse convinced me to do something, it usually means the logic was sound and it is highly unlikely that I was brainwashed to do her bidding].

No one likes being aggressively marketed to. No one likes being duped. But there is a space for advertising that is gentler, honest and educational.

Think of advertising as a way of companies to say "Hey! here's something we're proud of -- please have a look. By selling to you, the customer, we can make a profit and you can get the benefit from our product". Advertising can be a win-win.

Advertising can allow manufacturing at scale. It has helped bring about many the marvels of technology that would have cost millions of dollars a few decades ago to be just a few hundred (e.g. our laptops that are more powerful than supercomputers of of the 1990s). Without advertising many companies may not have reached the sales volume to keep bringing down costs year after year.

I could go on. Adverting is useful. Bad actors must be weeded out. However, Advertising in itself is useful.
You might want to try an alternative shell for your CLI. E.g. `fish` (https://fishshell.com/) does that.