skysight-inc/HackerNews huggingface dataset:
Wait, in non-multiline mode, it only matches _one_ trailing newline? And not any other whitespace, including \r or \r\n? That is indeed surprising behavior. Why? Why not just make it end of string like the author expected?

>>> import re
>>> bool(re.search('abc$', 'abc'))
True
>>> bool(re.search('abc$', 'abc\n'))
True
>>> bool(re.search('abc$', 'abc\n\n'))
False
>>> bool(re.search('abc$', 'abc '))
False
>>> bool(re.search('abc$', 'abc\t'))
False
>>> bool(re.search('abc$', 'abc\r'))
False
>>> bool(re.search('abc$', 'abc\r\n'))
False
This particular issue should be resolved in the latest daily builds of RStudio. The underlying issue here was a conda patch included in the conda-provided builds of R, which interfered with the way RStudio attempted to load R. Please see https://github.com/rstudio/rstudio/issues/13184#issuecomment... for more details.
First things first, we're talking about income-based public housing attribution. Not racial. Although if policies in the past means ethnic minorities have been disadvantaged all other things considered, then that will overlap, but as a consequence, not by design.

Secondly, Paris' policies are decided by the mayor of Paris and the city council, and they're elected (mayor directly, city council semi-directly). Not by "unelected bureaucrats".

Then your comment makes no sense. Policies favoring social diversity are the exact same policies that led to getthoisation? Do we agree on what getthoisation means? Because those two things are exclusive.

You say you don't want bureaucrats to put their finger on the scale of who can live in an area, that's your opinion. But if you're saying this should be purely left to supply and demand, then somewhat it is still a (non-)decision to put the finger on the scale, at one extremity, and it will have a certain outcome. Whether this outcome is good or bad will be a matter of opinion in certain cases, but not in others, e.g. what impact this has on the local economy for example, whether this leads to a more or less appeased society, and so on.
Remember that this was also before easily portable electronics.

Today you'd get a PDF and store it on your iPad. Secure it for landing and you're good. All the documents you want.

In the 80s consider the "Mission Control has new landing procedures that you need to follow. Here is a 42 item check list that you'll need to do before initiating task 357 from the mission specification."

How do you get that 42 item check list? Do you write it down? What that transcribed properly? Was that a P or a B that the person heard over the radio? (Yes, I know Bravo Papa).

Here's a secret objective for the mission ( https://ntrs.nasa.gov/api/citations/20110023479/downloads/20... ) to preform while in orbit that has now been approved and was not part of the initial mission profile. The instructions will be printed out and are for the captain and pilots eyes only.

There are a number of reasons that one may need a secure printer to handle new documents while on the Space Shuttle. With 70s and 80s tech, the approach taken is reasonable.
And you either have to make the "cheap places" more desirable (which raises their prices, but lowers pressure elsewhere) or you have to build more housing in the desirable areas.

You also have the issue that if someone does have a house, no matter what kind of house, it's a hassle and a half to move, so you have to provide some pretty darn strong incentives to get people to move.

My house ain't great, but I'd need something like $10-20k to consider moving to a nearly identical or even somewhat better house, just because of the costs and hassle associated with moving.
Top down planning is the only way projects requiring massive capital investment get done. There's no such thing as grassroots fabs.
I don't think so. I use GitLab for work, and the experience is definitely more clunky than GitHub. Merge requests load slowly, and clicking on, say, a specific file is very unresponsive, often taking me to the wrong place.

I'm also subscribed to a 4 year old issue for adding timestamps to CI logs.
Rather more pertinently to the question "why is gravity different?", we can measure the time dilation caused by a gravitational potential change of less than 1cm near the surface of the Earth: https://physicsworld.com/a/gravitational-time-dilation-measu...
Can you explain what you mean by "artificial inflation"? For example, much of the 1970s inflation was caused by a spike in energy prices because of an oil embargo from OPEC countries. Is this artificial inflation (because it was precipitated by political decisions) or real inflation (because a necessary commodity got more expensive)?
Stats they looked at are for desktop & laptops, so consoles are not considered. Neither are servers, which I suspect is mostly Intel too still. They also haven't looked at tablets, so all those M2's in iPads are not counted. Not sure if that is significant.
To clarify, every page load (.html file) was downloaded as a .gz file instead of being served as an HTML file and displayed as a web page in the browser.
Show HN: Reactive Jupyter- reactive execution of Python in VSCode
Hi HN

I’ve developed an experimental VSCode extension to keep a Python Kernel in sync with a Python file. (Reactive execution)

The extension uses Static Code Analysis to infer dependencies between lines of code.

When you modify a line in a file, it will be marked as Stale together with all the lines that depend on it. You can Sync the state with Ctrl+Shift+Enter. In this way, you are always in control.

See the Readme for a detailed demo.

—-------------

The primary limitation of this extension is that it currently relies on Static Code Analysis, which can only do so much. Again, see the Readme for a discussion.

This extension is also in PREVIEW. I’m sure there are bugs around. Both in the Static Code Analysis of more obscure Python idioms (even though it’s pretty robust for the simple ones), and in the interaction with the VsCode APIs (lots of edge cases there).

—-------------

The intended use cases are machine learning, data analysis, scientific computing or any other application that requires scripting or exploratory coding.

The most popular setup for these is Jupyter Notebooks, and this extension could be expanded to work with Notebooks too.

On the other hand, right now it is very much built around my personal favourite for these workflows.

I’ve used Jupyter Notebooks many times, but I’ve never quite liked them for the following reasons:

- For the editing experience, nothing really beats a plain Python file. I want to select, copy, and paste all the code I want anywhere, without Cells getting in my way.

- Having an output on every cell produces lots of clutter anyway. For most cells, I want to run them once, keep the code there just in case, but don’t run them again.

- And then of course, the Reactivity problem: when you modify a cell, there is usually no way to rerun the affected code only.

The VSCode Interactive Window makes for a great setup for 1 and 2. My extension fixes 3.

—-------------

I’ve wanted to have this extension for years.

Only now it became possible thanks to a cool new VsCode Jupyter feature, i.e. the ability to send code from an extension directly to a running Python kernel.

Even though I’ve developed this primarily for myself, I’d love to know what you think about it!
This tech is not really new - in Germany, Austria and Switzerland, "cloud seeding" airplanes have been flying for years (to avoid hailstorms rather than to make it rain), although the efficacy of the method is disputed, so it's not really widespread. I only learned that this is done where I live when I saw a small airplane flying dangerously close to an approaching storm (which GA aircraft usually do their best to avoid) and then read an article about how they miscalculated the strength/direction of the storm and barely managed to avoid it.

Wikipedia article (only available in German): https://de.wikipedia.org/wiki/Hagelabwehr#Einsatz_in_Deutsch...

Article about the history of anti-hail airplanes in the Rosenheim region: https://www.hagelabwehr-rosenheim.de/geschichtliches.php
I truly hope you find the help you need, stranger!
8 Google Employees authored the Transformer paper, which is the common architecture of all LLMs
We do something similar in house where I work. Is it hard to onboard new customers? Since they make a special container for you they basically adopt your build system, which may be hard for them. Does this go beyond mutation testing?
That's the theory, but it's not like they use strict markdown. Markdown in the first place is a very simple and limited format, so everyone has their own syntax-extensions and tweaks, and obsidian is no exception. So even if you lose the data themselves, you could lose a significant amount of ability to work with them, if somehow obsidian becomes unusable.

And if you build on plugins, this sometimes happens even now here and there. Plugins becoming unusable because of an update is still not uncommon. Their developing stopping for whatever reason is also a bit of a problem.
https://www.flightradar24.com/data/gps-jamming

Also: https://gpsjam.org/ | https://hn.algolia.com/?q=gpsjam

(am I missing any other GPS jamming mapping or data collection projects?)
As is the idea that fire enabled us to boost our nutrition enabling brain growth.

I have no problem with the paper in Nature, and no problem with PBN promoting it. I think they’re overreaching saying it was fermentation not fire. It
may well have been both. Fire 2m years ago and fermentation more recently once we had containers to ferment things in.
It was an article in 'plantbasednews', about a totally separately funded study that had a positive result for 'plants'.

This is a site to report 'plant based news', reporting on a study about 'plants'.

The site does not label itself as : "Completely un-biased news site weighing the thousands of studies dealing with all food types and providing equal 50-50 coverage of both plants and meat studies so people on the internet don't cry about bias".
You confidently have proven so.
Rich people need to keep encountering not-rich people, rather than just live in a rich-person bubble. They need that, whether or not they want that.
recently moved half a mile further out from city center and can attest to all of this. Hookah bar in my case was blaring music at 1AM. People in various states of inebriation shouting to each other outside my bedroom window.

There's less car traffic too but that was such a background noise that I hardly noticed it. Though truthfully the first week or so at the new place I was conscious of it's absence.
It's more of an inducement to get the company to do what they might not do on their own. Intel doesn't need the CHIPS act, America does, and America is paying Intel to make it happen.
We're talking about building and releasing anonymously.

Your responses are talking past this.
The source article [0] might be a better link. The tweet (from the article's author himself) isn't adding anything.

[0] https://www.forbes.com/sites/iainmartin/2024/03/20/key-stabl...
> aren’t politicians supposed to do stuff that they think people will vote for?

This is generally true, but there is a line beyond which this becomes problematic.

Surely you wouldn't support explicit vote buying, where a politician promised to repay voters with public cash after the election! If such a scheme were permitted, democracy would quickly cease to become a marketplace for ideas. It would devolve into a patronage system. Most of us would immediately recognize such a scheme as dangerous and question the legitimacy of any so-called democratic government whose majority was bought in such a manner. Do you agree that this would be a problem?

Why would this cease to be a problem if the kickbacks were paid in-kind, and only made available to the poor?
> Note that while the article says "soldering" the pictures show "welding",

In some languages, these are the same word (this is the case at least for my native Portuguese), so this could just be a translation issue.
Pedantically, if it doesn't end with a newline, it's considered a binary file and not a text file. Binary files don't have lines.

In practice, most utilities expecting text files will still operate on it.
Saudi Arabia Plans $40B Push into AI
Having once made a similar mistake myself, I assume what they mean is that it was downloading everything as a .gz—that is, the browser was asking users “where would you like to save index.html.gz?” instead of showing the homepage. (This happens when you precompress a static site for performance, but forget to tell the server that gzip should be negotiated as a Content-Encoding instead of a Content-Type.)
That’s consistent with my experience too.

Huge help for hobby programming but struggling to use it for day job (finance). Even for basic memos the reasoning just isn’t coherent enough and not nuanced enough.

I think it’s because programming is quite modular. You can ask it a fragment of a problem easily. Eg how do I send a message on GCP pubsub. That same modular and self contained aspect just doesn’t exist in my day job
Stability always seemed like a dark horse thanks to the reputation of their founder and their open source business model. I do get some schadenfreude from seeing them like this considering the damage many feel they've done to the art community.

E: -4 in 10 minutes. Stay classy hackernews. I hope this company and OpenAI choke on the algorithmic disgorgement when the law catches up.
It would be awesome if they published this data more openly for academic use!

Edit: Looks like they might source their data from commercial ADSB providers. Bummer
What you’re suggesting sounds like an ICBM effectively. Launching one, even if it’s a falcon 9 launch vehicle, anyway close to a nuclear power is not reasonable.
To me it seems the equivalence principle is actually false. It was an inspiration to come up with general relativity but the resulting theory supports it kind of, but not really. To start out with, it only holds either looking at an infinitesimal extent of space or in a homogeneous gravitational field. As soon as the gravitational field cannot be seen as homogeneous, you are going to know that you are falling instead of floating through space. E.g., spaghettification near a black hole. Another case in point is the somewhat well-known question if a falling electron radiates. Yes, it should, but that violates the equivalence principle.
https://archive.ph/avFGv
Those are just examples of two cities I'm closely familiar. People also bike everywhere in China, many Chinese cities have decent public transportation (much better than almost any non-big city in the USA).

Small cities in the Netherlands are able to afford bus lines, and provide infrastructure for bikes which are much cheaper than roads for autos.

Good public transportation is a net contributor to a city, it provides residents with ways to be more economically active without costing them much. You don't need underground metro, not even trams in most cases, a simple and reliable bus transit system can provide a lot if it's not delayed by traffic.

You don't need to be rich to have decent and reliable public transportation, Southeast Asia has quite good examples of that.
The cause is selective pressure and the effect is evolutionary change.
The issue is there are few opportunities for junior people to start their careers. There is no shortage of talent but where do we start? I’ve been applying for jobs in the semi conductor industry but haven’t had any luck because ever Is looking for senior staff but nothing for newcomers.
I answered that question elsewhere in this thread: https://news.ycombinator.com/item?id=39768125
I have worked for some time in Austria and I have many friends who are US citizens.

While the latter have indeed revenues that seem much higher, I would say that there is no doubt that the quality of life of my former Austrian colleagues was higher, based on purchasing power, balance between job and personal life and quality of food and environment.
Sorry about that, we're working on switching this to a warning and not an error, that slipped by us before release. After the next update, it will only show a warning if you're not on the latest release.
The other three walls don't have the same demands put on them. For one, you wouldn't need to lift them by hand, so they can be practically as heavy as you want.
It’s actually discussed in the paper.

> Explanatory power compared to other hypotheses

> The emergence of meat-eating, tuber-harvesting, and cooking have all been proposed to account for human brain expansion; why should our just-so story be given any additional credence? Below, we consider several explanatory advantages of the External Fermentation Hypothesis versus other current hypotheses.

https://www.nature.com/articles/s42003-023-05517-3
GR agrees (recognizing the obvious caveats) with the classical law of F = Gm₁m₂/r², where F stands for "force". This force is caused by spacetime curvature.
>There is nothing particularly grabbing about the bakery's food, though it is certainly in line with Britain's extremely bland palette.

Incredibly popular, is Greggs, though.
Source was posted as https://news.ycombinator.com/item?id=39768402
I spent a few hours automating some repetitive tasks in a way that takes almost the entire burden off of my brain. Then I wired it up to a Stream Deck so these things can notify me asynchronously and easily run in parallel.

That was a pretty simple investment, but a total game changer, it saves me gobs of time every month, and was a no-brainer investment.

Granted, not all dev workflows are as annoyingly complex as mine, but nonetheless: you're statement is all-encompassing when in fact it's very context dependent. In my case, your advice was simply not true.
> by taking some from those with more and giving it to those with less is almost instinctively repugnant

I think the first part of this statement is crucial to the full meaning. It is not about charity[0]. It is about redistribution of wealth by force is repugnant.

[0] This 2022 reports states US is #3 in charity (giving). https://www.cafonline.org/docs/default-source/about-us-resea...
Practically all knowledge was once tacit knowledge. I bet protohumans found fire from a lightning strike long before they figured out how to make it themselves.

Even the idea of a city, say London, is just a non-tacit version of the idea of the area where London is.
ZenTube
It really doesn't matter if it's a bit out-dated, you cant create senior engineers without them being junior. All seniors trained on currently 'old' methods by definition of time passing
I’m studying neuroscience but very interested in how ai works. I’ve read up on the old school but phrases like memory graph and energy minimization are new to me. What modern papers/articles would you recommend for folks who want to learn more?
Raises hand Here! I have to work with Spock on a Java codebase and I think groovy sucks ;-)
When people suggest that we reduce the number of cars driven, they are generally not talking about reducing commercial delivery vehicles [1]. Obviously our civilization depends on moving essential stuff around, and we need to do continue doing that, albeit with a electrified fleet of trucks/vans. The problem is with private cars, electric or internal combustion.

[1] Excluding Uber style car-based food delivery services.
The open source community should pitch in.. goFundMe
Isn’t that what they said about rockets?
Every 'scrum' I have been involved with used a kanban tracker of some form - are they supposed to be "different"?
Yep, makes sense, thanks!
It was paywalled for me.
Has the team explained their reasoning anywhere? Yuzu ostensibly already "required" dumping keys from a Switch console, and I don't understand how more involvement of Nintendo firmware and keys lowers the risk. If anything I'd have expected a "safe" fork to go the other direction, position itself as a homebrew development tool, and remove explicit support for commercial games altogether (requiring e.g. a third-party tool to decrypt and unpack commercial game formats into some quasi-homebrew format).
enjoyed the read.

no fluff, all substance, still casually written and entertaining.
Every Forbes article should have the warning that they are not real publication anymore. Everything they publish is written with an intention that you believe an authors opinion as fact.

The model for Stability ends in a likely way, they will be swallowed up in a payday. We have recent examples of this.

For now, they’re the most open area in a garden of closing gates. And I wish them all the best.
> Read the linked PDF from the CIA FFS. Its a fun theory and that has multiple articles linked from the 80s.

Readers should note that while the declassification source is the CIA, this was simply a note from a retired Army Lt. General pitching space related projects from a private think tank. He had no insider knowledge or intelligence at the time, which is why this whole memo can be declassified - it's pure speculation.

Fortunately for us, we don't need to delve into speculation, because Challenger had an extremely robust and well documented investigation process which established a clear cause, which was very much not Soviet malfeasance.
That's what's interesting to me. Even after a fire, wouldn't someone want to go scrape through the remains to find stuff like that?

To me that seems like that might lean towards a deliberate fire / untimely fate for the inhabitants from an enemy, who might not know where that axe would have been stored.
The entire AI industry is powered by piracy at a massive scale. Very little training data is properly licensed or compensated. It's just more obvious with open models because we can investigate them. Closed models are sausages and we don't know what went in.

Download a movie and you can get sued or your Internet connection terminated, but pirate the entire collective output of humanity and sell it back to us from behind a paywall and that's fine.

I have more sympathy for Stability here because at least they opened the models. IMHO models trained on not-properly-licensed (pirated) data should at the very least not be copyrightable and should be public domain. (These piracy enterprises are aware of this as a possible legal outcome in some jurisdictions, so the whole AI safety bullshit performance is an attempt to scare people about open models to head off the potential of questionably-trained models being declared uncopyrightable and forced to be released.)
> Whether we look back in 20 years and think "wow glad we took that hit upfront" is anyone's guess

Globalization is breaking down quickly. Chips are crucial to national security and our economy. The supply chain for advanced chips is heavily dependent on East Asia which is a geopolitical powder keg and a demographic time bomb. The only thing more expensive than whatever we end up with is chips unavailable at any price because East Asia devolves into a war stricken basket case. We needed to have been starting this panic training/building 10 years ago but better late than never!
> So if you're trying to match a string without a newline at the end, you can't
only use $ in Python! My expectation was having multiline mode disabled
wouldn't have had this newline-matching behavior, but that isn't the case.

I would argue this is correct behavior, a "line" isn't a "line" if it doesn't end with \n.[1]

> 3.206 Line - A sequence of zero or more non- <newline> characters plus a terminating <newline> character.

[1] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1...
I am totally ignorant, can you explain more about Samsung's negative externalities?
Trolling Brands by Democratizing Access to Color
See https://news.ycombinator.com/item?id=18131009 for an earlier discussion of scientific blind spots in Wikipedia.

I also wish there was a mechanism to prune certain Wikipedia pages that carry way too much detail, given the notability of their subject.
The Hall of Lame (1999)