skysight-inc/HackerNews huggingface dataset:
I think I saw this in a different HN comment of yours and played it. Love the concept. My only suggestion is that you expand the multiple choice option pool. I could rule out a lot of options later on in the quiz simply by remembering what options had already been used.
Hmm, no JVM or .NET support ... seems problematic for any widescale adoption at this point. Are there fundamental reasons why this is problematic or just not got around to it?

(And, is it likely to be possible to build it against standard interfaces like JDBC - or is it too different?)
Sure. Depends on the problem domain. One could equally write:

xferEmployee = employee.transfer( department )
xferEmployee = company.transfer( employee, department )
xferEmployee = department.transfer( employee )
exEmployee = humanResources.fire( employee )

Or, using an event-based architecture:

new EmployeeTransferEvent( employee, department ).publish()
Here's a pure computation:

import Data.List (nubBy)

refuteGoldbach :: Integer
refuteGoldbach = head $ [ n
| n <- [4,6..]
, not $ n `elem` [ p1 + p2 | p1 <- primesTo n, p2 <- primesTo n ]
]
where primesTo n = takeWhile (< n) $ nubBy isMultiple [2..]
isMultiple m n = n `rem` m == 0

If you think you already know the answer to this computation, get yourself a Field's medal.

And then there are pure functions. Every time you compute a function using an input no-one has tried before, you are probably computing something that is not already known. You do this routinely even with a calculator.
You can "solve" global mutable state with an IDE until you bring concurrency plus parallelism into the mix. Then all bets are off for mutable global state.

In the case of Clojure, the map that you pass to a function is a value. It is guaranteed not to change underneath you and it can be freely shared with anybody.
I'm building https://www.taaalk.co/, it's a social network for conversations.

The site went down a few months ago, but now it's back up. The first new Taaalk I'm having is with another engineer, and we're trying to publicly solve a technical chanllenge - how to repopulate the Taaalk database from archive.org download.

https://www.taaalk.co/t/repopulating-the-taaalk-database-fro...

I love Taaalk so much. I love all the little design features. I love tinkering with it. I love the conversations I have had with people on it; you can check them out on archive.org: https://web.archive.org/web/20210316214650/https://taaalk.co....

I don't mind if it fails but I do have high hopes for it!
> The problem with the OO style taxonomy is that doesn't just model the taxonomy but it also structures your code, that's usually where the problem is, and it leads to issues like what is the proper superclass: Square or Rectangle.

“Rectangle" is a superclass of “Square”, if you are referring to the entities in geometry.

> A square is a kind of rectangle but the "API" of a Square is more restrictive than that of a Rectangle (where both width and height can change independently)

Neither the width nor the height of either can change without changing the identity, just as neither the whole or fractional part of a real number can change without changing what number it is.

If you've got something with mutable side lengths, it's no longer a Square or Rectangle, it's probably some kind of Drawable that might have a mutable state variable for position and a mutable state variable for a shape, but just as numbers, but geometric shapes themselves, like numbers, are immutable values (they can be in a mutable container, but then you are changing which one is in the container, not changing the shape while retaining it's identity.)
Thousands perish as I try to remember if it is

systemctl war.service stop

or

systemctl stop war.service
https://archive.is/mBK5h
The post title may be a bit misleading here in the sense that the linked article isn't claiming that only the X-700 had aperture priority.

While I can't comment on specifics of the availability of aperture priority in 1980s SLRs, the two models you mention (t90 and n8008) are late 80s models (86 and 88 IIRC) where the X-700 was released in 1981.

The X-700s are terrific cameras, I shot with one for many years.
I built a Visual Studio extension that wraps ag (the silver searcher), because I was constantly flipping to the terminal to use it to search the UE4 codebase I work on. The built in MSVC text search is egregiously slow, and even tools like Visual Assist (which search via indexing symbols) take forever to run on the entire engine.

It can do a full regex search on the entire UE4 codebase in about ~6s on my SSD. Searching just the game's codebase takes ~200ms, enough to feel instant. The speed is all credit to the developers of ag, I just put a convenient interface on it.

I use it essentially as a navigation tool and it's a core part of my workflow, but haven't gotten any paying customers. I initially had hoped to sell a few copies, but since it has completely solved my own problem and probably saved me hundreds of hours of waiting for slow searches, I'm happy.

https://marketplace.visualstudio.com/items?itemName=CaseyBan...
Having 3D objects described in a text based environment is the idea. That way you can version them with git. It is also focused on supporting Volumetric modeling of 3d objects, rather than simply being CSG based like most CAD software, even though it takes that approach for simple objects.

It is really a product of open source 3d printers who were seeking a way to describe complex 3d objects, reliably version them, and then spread them around the internet.

It's a cool idea, but it's toolchain has always been sub par. It is my understanding that most of the people working on it are more concerned with getting it good enough, and the bulk of their development energy on 3d printing slicing engines. But I wouldn't want to use OpenSCAD to do any traditional design work or drafting, or really even to design any object that will have to be made with subtractive manufacturing. It's a happy medium that FreeCAD has an OpenSCAD workbench - that way you can do the complicated stuff directly in OpenSCAD for 3D printed parts, and then include them in your FreeCAD assemblies.
I don't know. The idea of hibernating a deskside server that has no sleep capability never crossed my mind.

Laptops would be a different story I guess.
Hey, this looks really cool. Saved!
It's socially unnatural because as soon as you leave the schooling system, it stops happening.
If you read the website, it's apparently because an off-label medicine wasn't approved.

But it looks like Patient F has survived though, which is good.
> I like the Corvette, but

You don't like the Corvette. Not that Corvette. However, you like Corvettes in general. Or you only like red Corvettes.

> I like steak, but

Turn the comma into a period: I like steak. It's unconditional; steak is a big yes for you. Except it's not. You have conditions. So sometimes you like steak and sometimes the opposite. You don't like steak.

I think the interpretation of but is not as trivially stupid as you say.
For the last few years, I've been building Live Music Archive for iOS (https://livemusicarchive.app), a player for the giant collection of free live music on archive.org because the other apps out there didn't provide the experience I wanted.

I love working on it and wish I could make a living on it, but the nature of the app means I can't pursue commercial gains from it. It's the only side project of mine that I actually use all the time and it has gained a small fanbase, but really, I'm building it for me.
Once a few years, we get a few weeks without much wind and solar. What do we do then? Solar and wind can't store enough energy to last for weeks.
Pacelc Theorem (Wiki)
This book is a great collection of concepts and techniques from a range of classic FP texts, reintroduced and reinterpreted for ES6.
Was referring to this (Munich court): https://news.ycombinator.com/item?id=30135264
The 10 million/sec is largely a consequence of the insert path being highly pipelined all the way through storage without a lot of secondary structure. An EC2 instance like i3en clearly has the end-to-end hardware bandwidth to support that write rate. The usual thread-per-core, user-space I/O, etc idioms will get you there with a good design. Of course, you still need to insert an index in there that captures every searchable column you need without slowing things down too much, or query performance will be nonexistent.

Inserting an index into that pipeline means the data must be organized around a single primary index for every key column you want to query, no secondary indexes, and that you generally cannot use a classic multidimensional spatial index to capture multiple columns -- if column types have fundamentally different distributions of data and load, query selectivity degrades materially. A canonical example is trying to index time and space, and maybe an entity id, in the same index e.g. GPS probe data models, which can be both extremely large and extremely fast.

The general strategy is to build an indexing structure that adaptively compresses away all of the non-selective feature space of the dimensions regardless of the characteristic distribution of the data types. The idea is kind of old and follows from the theoretical equivalence between indexing and AI; whereas most succinct indexing structures effect compression via coding theory, this is compression via lossy pattern induction. Storage engines have to be specifically designed for this (ab)use case and you cannot do any kind of short-circuit queries with these indexes, you always have to look at the underlying data the index points to. Generalized induction is pathologically intractable, so these are efficient and practical approximations. The write (and query) throughput is extremely high because the index structure often fits entirely in CPU cache even for very large data models. AFAIK, these architectures have been used in production for around a decade, but current versions are qualitatively better than early versions.

That said, these indexes still suffer from the write sparsity problem that all cache-mediated index-organized storage has, it just pushes that performance problem out a couple orders of magnitude. Those limits are visible on ultra-dense storage available today. There is a radically different research database architecture that appears to qualitatively breach this limit but I don't expect that to show up in production software implementation for at least a few years. It isn't fully baked but people are working on it.

Virtually all of the research in this space happens completely outside of academia, so it rarely gets published, and research groups stopped filing patents over a decade ago because they were effectively unenforceable. It has turned into a boutique business.
Chinese in Australia vote Libreal which is our Ulta-Conversative Ring-Wing party (so backwards)

This is 100% bullshit made up by our corrupt government just like it does every year during an election. Literly the definition of fake news right here. labor or the greens dont stand a chance, they have no connections in the media and couldnt get a fake news story started even if it wanted.

Australia is controlled by mining magnate racist f*cks who only care about becoming even bigger billionaires, keeping the asians out and retaining power/land-rights by owning media/large corporations in regional areas, demonising the aboringal cultures while scamming them for land-rights, and play yet "we love the working class card", sponsor the best sporting events, and literly lie and cheat and steal until to reinforce there own corruption.

its a solid game-plan thats been refined over the last 25yrs and turned this country into a backwater of political scammers and donars elite.
You might call it regulatory capture of democracy.
Crypto exchange Binance to take $200m stake in Forbes
ditto, I always goto old.reddit.com, I think its tough to adapt to a new UX.
trying to teach phonics to a kiddo ...

letter E, called "eee", makes the sound "ae"

letter I, called "aai", makes the sound "ee"

letter A, called "aae", makes the sound "uh"

super confusing for some kids

and in my non-english-native schooling we were never ever taught "vowel sounds" in our English classes - we only learnt vowels as letters. beyond A for Apple and introducing common words like Car and House and Tree ... the curriculum never bothered about teaching how to speak English
And even those who do won't have very many people to chat with.
Batteries can store enough energy to last for a few weeks.
We've never had a left majority in either part of congress.
Show HN: Improved index of DuckDuckGo bang operators
I have a search tool / catalog of duckduckgo !bang operators https://mosermichael.github.io/duckduckbang/html/main.html - I am hoping that it allows for better discoverability of specialized search engines. The latest addition is a description for each search engine, just hover over the name, and you get a description derived from the sites meta and title tags.
I think that specialised search engines are gaining ground, it has become easier to set one up, thanks to elasticsearch/lucene. They can be quite good, for a limited domain, and they don't have to invade your privacy in order to find out what you are looking for. I think that what is missing are tools like this, that would aid the discovery and use of these search engines. I hope that this will allow them to eat into the market from the 'low end'.

The projects source is here: https://github.com/mosermichael/duckduckbang

Unfortunately they don't invest too much into !bang operators at duckduckgo, however that's my input data...
fyi,
If you ever have to get your locks rekeyed again, ask for a kwikset smartkey cylinder.

Its a clever little device that will let you rekey a lock yourself with a new key as long as you still have at least one of the original keys.
Ask HN: Are there AST aware templating programs / snippets?
When writing tests and some Angular code, I often have to write some boilerplate (import X, create a Y to do Y, add a function, implement an interface)

One such example is this: https://stackoverflow.com/a/42490431/1554844

I would love to be able to describe in a snippet file:

1. Import OnInit, OnDestroy if it's not already
2. Implement the interface
3. Add those methods if needed, add the code + field

Is there a tool that can do / run generic AST transforms with some easy to use templating language / DSL?
This is I think the second piece I've read about Atari that mentions how much cheaper ram was just a short time later. I think during the development of the 2600, ram prices dropped an incredible amount but the design was set and plans on a new gen system were seen as way too forward thinking. At the time, the idea was this was a set appliance like a tv or radio, at least early on, that could last a decade or even decades and the idea that it should be regularly replaced as technology advances was something that industry hadn't fully grasped.

So to me, its tragic the home console market got so hot before ram got affordable because it was a limitation in game design. I wonder what the 2600 would have look like delayed a year or two and taken into account cheaper ram and other components. I imagine it could have had Colecovision-level graphics, which would have been a huge step up. Currently, its hard to view those old 2600 games as anything but overly simplistic and kinda ugly.

Battlezone with more ram would have been something else too, instead of just a dumb tank shooter. Three years later the Star Wars vector game was released and the difference between the two is like night and day. One feels like a technology demo and the other like a full-fledged video game.
I heard stories that it's still nigh impossible because you need good references from your local commune, and those are really hard to get.

Note: I'm only spreading rumors :)
I spent a year building a website to host real-time, competitive turn-based web games.

https://acos.games

The idea is similar to Roblox, where it's all user-generated games. If it gets attention, I'll continue evolving it, if it falls flat, I will still sleep like a baby at night.

You can learn more in our docs: https://docs.acos.games
Publishers Are Taking the Internet Archive to Court
I'm a musician. Long term. 43 years old, been playing forever. Don't care if I get any success at it.

Not a hobby. Makes money sometimes. I play professionally. For money. On stage.

If you play for your entire life, you can get really good at a ton of things.

I played pedal steel at a rehearsal for my country band tonight. I played piano at a rehearsal for my hot club jazz band on Monday. I played upright bass at a rehearsal for a string band last night.

Sunday I recorded a new track with my girlfriend, ambient techno (novation circuit, moog, girlfriend's esoteric warblings).

Monday I finished an EDM track.

I have a bunch of aspirational goals. I'd like to DJ at my local ecstatic dance. I'd like to front a Louis Prima style jazz band.

I've been playing trumpet and trombone every day for the last 2 months.

I don't care if I have any professional success. But hard to say all that is a hobby. Maybe I'll eventually be able to retire and just work as a musician, teaching and doing my little gigs and producing the records I engineer for other folks and running sound for the little parties we play out in the desert in Utah.

Don't care. My kids are raised, I've got a reasonable remote day job.

We'll see how it goes.
The Black Death was not as widespread or catastrophic as long thought
That's a good point. Perhaps as well as writing to representatives it could be helpful to write to EG the Washington Post and ask them to cover the issue more extensively.
Yep, typo. Thanks!

$140B would be insane.
For the past month and a half or so I've been learning Swift/SwiftUI and developing an iOS app. I intend to sell it since I know there's a niche market for it. However, I don't know that I'll get many sales and I'll probably start off just handing out a bunch of promo codes at first to get initial users. I don't mind if it isn't "successful", but if I could sell enough copies to make up for the Developer Program annual cost and perhaps enough to help me pay a friend a bit for helping design an icon, that would be enough to make me "happy", I think.

A cherry on top would be maybe $100 a month or so. Even $50. Just to buy a couple meals with income from it.

But if it doesn't, I won't be hugely disappointed. It's just been a fun side-project.
I am sure you can write scripts to copy/upload files to GoogleDrive. alternatively, users can map google drive in PC and directly save the file in GDrive.
How is it like MapReduce at all?
Two concerns, if anyone can answer:

1. Does it look like the production process can scale big enough?

2. Would that mean even more incentive to chop down trees?
This was fun and gave me wise advice!
https://archive.is/9Z4GB
Although I don’t explicit follow this strategy, I have noticed that if I only have one big thing to do, I often am much more distracted than when I have several big things to do.
Your previous game stats are moved across but you lose your preferences (dark mode and hard mode).

And you gain a cookie pop up. Of course the previous site had cookies (or rather localStorage) and tracking, but it didn’t ask for consent like the new NYT site.
I know it's unlikely to be you, but if you know anyone concerned about someone who had access to their phone tracking them (or other malfeasence), Apple published a "Personal Safety User Guide":

https://help.apple.com/pdf/personal-safety/en_US/personal-sa...

(also a web version: https://support.apple.com/guide/personal-safety/welcome/web )

(and yes, it covers AirTags).
Insurance is mere pragmatism. Knowing that bad things happen that require large amounts of money to fix doesn't constitute fear.
Parallel and concurrent are not the same. I'm talking about preventing concurrency of UI tasks. You can guarantee A1-A2-B1-B2 instead of A1-AYield-B1-B2-A2 if you have control of what will yield. With pre-emption, A might unexpectedly yield mid-execution and B could run, even when scheduled to a single thread.

>Whether the task gets interrupted or not is irrelevant — it will resume where it left off. As long as you synchronize access to global state [...]

Cooperative multithreading like async/await is leveraging the fact that actually if you control the interruption, THAT can be your synchronization. You don't need locks. UI programming is usually lock free. A UI thread is more commonly used. Understanding that, you can see that pre-emption _is_ sometimes a bug.
Thanks for linking to that! It's been a while since I looked at that forum thread, so I didn't realize that support for CoreCLR is already in the works.
I've hit this before, sometimes without an upgrade, where the postgres planner does something unreasonable and since I'm not a DB expert, it's hard to debug.

The solution was to confine the planner's ability to do bad things. CTEs (like the article) are one way. Another is to pull work up into the application layer (for instance, keep the IN filter in the query but overfetch and filter the < piece in the app... Not always feasible but has saved me in the past).
Only the things they allow us to see are declassified. I'm sure there are thousands, millions, of documents that will never ever see the light of day.
Internet shutdowns gain popularity, and obscurity
Canada didn’t stop building nuclear reactors because of political reasons. New reactors in Ontario were approved as recently as 2011, but the project was shelved because the costs were excessive.
> "Who values their life the least?" knowing that their sacrifice will make for a better future.

I think the pioneers will go there for a sense of adventure, not for a monetary reward or out of some sense of "sacrifice for the future". There will be enough people who want to go that you can select a great crew from that group, and there is no reason to send people who don't want to or have to be convinced with money.
The wordle code has two distinct arrays: the list of answers and the list of other words you can guess. If you carelessly remove words from the answers you will also make it impossible to guess them. I figure they removed some answers without adding them to the acceptable guesses because they didn’t think about it.

Fibre, agora and pupal are a little esoteric. Not as much as many words on the SOWPODS list, but enough to perhaps be annoying.
How come everyone is so surprised and thinks the senators are incompetent? They're all following the playbook and its in not in the elites interest for the average person to have privacy.
Cool concept, think it's a bit too locked behind a login button. Think you need to let people taste it more before asking them to sign up
Why isn't it horizontally scalable? Are there tons of joins?

I wrote a JSON/Document/Property Graph database front end with Cassandra and DynamoDB backends, so that is ... kinda ... schemaless.

I ended up doing a lot of things that RethinkDB and OrientDB did but didn't scale like cassandra. I was trying to do a streaming document layer. Also a JSON document database with simple relations is a property graph database.

But Elassandra and similar projects kinda did the same thing so I dropped it. But I came out of it thinking it shouldn't be hard to scale JSON, which is basically schemaless.

I had schema-optional things too where certain named properties/elements of a JSON doc would be rendered onto a fixed table and schema, are you.guys doing anything like that? I think a schema optional or options for partial schemas for documents would enable the transition of schemaless data to schema'd stores in enterprise system evolution.

Do you guys intermix all documents like graph databases do, which seems a bit insane if you have to do some large scale table scan or migration of data and have to sift through data? Or build an index on a heap of documents with only some of them needing indexing?