skysight-inc/HackerNews huggingface dataset:
> One reason you don't want to see everything you've ever written is because it is wrong, or maybe you changed your views in the process of writing, or no longer important to the point you're making.

I'm not necessarily disagreeing with the main point, but all of these things happen with code too. I've had to counsel people before who were scared to commit code until it was perfect, and I've had to try and push into their head that it's not bad to have Git commits that they aren't proud of. Part of breaking them of that habit was teaching them to be OK with allowing people to see their bad code and bad ideas, but another part of it just came down to teaching them how `rebase` works.

On the text side of things, I already publicly commit any edits I make to blog posts, documentation, and any websites I make after publishing -- even if they're embarassing. Occasionally I'll also publish rough drafts if they're not sensitive content. Part of that is getting over the fact that people might see bad writing. If I was worried about people seeing my bad ideas, I wouldn't publish anything in the first place. 10 years from now, I hope that I'll have matured enough that I can look back at my blog and be embarrassed about some of my writing. If I don't have anything to be embarrassed about, I probably haven't grown much as a person.

But of course, for particularly sensitive or complicated topics I generally don't push rough drafts. And that's where rebasing comes in. Version/edit tracking isn't just about public transparency. Even with sensitive topics, I still put rough drafts of blog posts in local branches and commit edits while I'm building them. My workflow with private and public content is exactly the same. It's just that when I eventually push to a public repository, I first squash the branch down into a single commit.

Transparency with edits is relevant to me because edit history is a personal/org-wide organizational tool. Those edits don't need to be pushed to the public, sometimes they don't even need to leave my computer, but sometimes I like to look over my writing and see how a site/post/article has evolved.

History isn't necessarily static. It's very common in version control to rewrite history when needed, and to push different parts of history to different remotes where people have different levels of access.
For mobile comparison on query "ads": https://postimg.cc/gallery/fn727k3k/

Interestingly, Bing highlights ads more on incognito on mobile. ;) I wonder why. I couldn't capture the screenshot because incognito.

Yandex didn't show ads or it mixed in the search results so much that I didn't even notice. I tried a bunch of keywords that should result in ads but nothing. What are they doing?

The search results are also not bad, for some types it is absolutely better than duck or google or bing.

I might switch to yandex as default honestly. I didn't the notice the drastic difference in search because all other major players have some similarity.

List to alternatives: https://news.ycombinator.com/item?id=22140866
Ok, we've edited the title to use that phrasing. Thanks!

We've also switched to that URL from https://lithub.com/in-2019-more-americans-went-to-the-librar....
So what? I thought the goal was to solve climate change, not to spite the oil companies.
> adoption [...] continues to increase over time.

Is it? Outside of the crypto bubble I still don't see a reason to hold cryptocurrency, and in fact, even as a tech guy I don't hold any.

I still can't use it anywhere, especially not in the physical world. The best I can do is sell it for fiat (with a hefty commission) using some of those Bitcoin ATMs and most of them have complicated ID verification procedures (so you need to carry a form of ID and it isn't as fast as a normal ATM) and then use that fiat to buy my morning coffee or breakfast. I could just use my normal payment card directly and bypass the whole process.

The community is plagued by fragmentation about minor technicalities (Bitcoin Cash being the "one true Bitcoin" and then Bitcoin Cash itself splitting into yet another variant called Bitcoin SV (Satoshi Vision) that again claims to be the One True Bitcoin) instead of solving the main blockers behind cryptocurrency adoption which is the user experience for the masses (the common arguments in favour of crypto like decentralisation, trust-less-ness, etc aren't actually compelling for the majority of people, so it has to be better than their day to day bank account for them to use it, and from a UX perspective it's definitely not).
you may consider this: https://www.coyotevest.com/collections/all
SQLite is a file format with a familiar API and uses SQL as the logic for searching/adding data to the file.

Approach it exactly the same way you'd approach using a CSV file and all the confusion and overthinking about it goes away. Approach it as a stripped down RDBMS and you end up with all kinds of questions about support for this or that RDBMS familiar service.

You can write your own SQLite file reader/writer. Here's the specs (includes the specs for the Journal and WAL files and semantics as well) https://www.sqlite.org/fileformat.html

Here's an example of somebody who's done this.
https://sqljet.com/ - this is not a wrapper on the sqlite C code, this is a re-implementation of that code that is binary compatible with SQLite files.

The Journal file only exists as a temporary file until transactions complete. The .sqlite file you make is the entire atomic file that follows the SQLite file format. The Journal has its own file format. Same goes for the Write-Ahead log.

RDBMSs also manage connection queues, account management, rights and permissions, and so on. Many overcome various OS limitations by providing their own entire file management, fopen(), virtual memory and other subsystems that are tuned to their workloads.

SQLite is a file format. SQLite uses familiar relational paradigms to make it easy to read/write data to the format without having to learn yet another API and domain language. The API code is extraordinarily well tested, and it makes simple complex logic like transaction journaling, indexing and so on.

>Consider: it’s totally possible to strip down Postgres until all you have left is an embedded RDBMS of the style of SQLite.

No! SQLite is not an embedded RDBMS. It's a file format.

If there was a library you could import, and it provided methods to read and write directly to files that PostgreSQL could read/write to and there was nothing else to install, no runtime, no daemons, no servers, etc., then we could pass around self-contained PostgreSQL files to each other. Then PostgreSQL files would be a file format as well.

Have you ever used a library to read/write from a CSV, JSON, JPEG? It's no different than doing so for a SQLite file!

SQLite is a file format.
This is called "politics", which is basically playing the human relationship game (vs technical merit).

Your options are to play it (to varying degrees) or to move to a place where there's less of it. But make no mistake, there's always some of it; the person who talks to a lot of people and make connections and is likeable will have an advantage (maybe rightfully so).

You don't need to be extroverted to play the game, just takes practice like everything else.
It's not related to the part of the article you quoted, in case you don't know. Generally, you can't use anything other than the GTK file picker in GTK apps. If you use flatpaks with XDG portal support or the app implements XDG portal support (e.g., Firefox), then they can use the KDE file picker.
Yeah, I think the ageism comes from engineers who, for no fault of their own, have stayed in their positions for decades. All of sudden, they're 45 or 55 and earning senior comp at an 'enterprise tech'. These people are the usually the first to go because they are the most expensive. The senior execs are in a different position, where it may be viewed experience and seasoning complement the younger staffs' vision. A senior exec--with exit event or public company experience--tends to be very sought after.
Honestly Kark Marx himself would downvote that comment.
Bpython – A CLI to the Python interpreter with syntax coloring and autocomplete
You don't necessarily lose engines instantly to bird strikes, they're most likely to happen at takeoff and landing, and it hasn't been an issue for the massive fleet of twin-engine short-haul jets.

The real concern is trans-oceanic long-haul. Supposedly modern engine failure rates have improved to the point that you're less likely to have problematic engine failures than a four-engine 70s-era 747.
Url changed from https://lithub.com/in-2019-more-americans-went-to-the-librar..., which points to this.
Good lord... I realize my plane is 64 years old now. I was able to solo with about 8 hours of training (a few takeoff and landings by my lonesome).

Most of getting licensed is learning how to deal with bad situations. Engine out, getting lost, that sort of thing. Every biennial flight review, at some point, the engine will 'fail'. The plane may or may not belong to the insurance company after in a real event but most engine out scenarios should be survivable. I can't think I've even seen an aircraft that is without 4 point shoulder straps.

Even big stuff can do that sort of landing. (Your call on if you consider that gliding, or just falling with style)
https://en.wikipedia.org/wiki/Gimli_Glider
https://en.wikipedia.org/wiki/US_Airways_Flight_1549
This reminds me of the wonderful novel "The Bug" by Ellen Ullman. A beautifully-written fictionalized account of the quest for a "Holy Grail" bug.
I had the same experience. Tried a 4K monitor for a week. Didn’t like it. Returned it and got back to the old 1080 monitor.

Main problem was everything was scaled so small. Also scrolling left some white ghost shadow for a brief moment like half of a second.
... kind of, so long as you live in a large enough area. Some folks still don't have a free, local library they can use. (Some small towns in Indiana aren't included in any library tax districts and cannot freely use the library). Some small (and larger!) towns don't have enough computers for their busy times, so you really must keep your internet time efficient to comply with the 30-minute time limit. This isn't so much an issue if you can go during off times, but not so great if you have to go after school when the library is busy or if you happen to catch them in summer hours when they close early.

I lived in such an area. The library itself was great and really did work on expanding internet access (allowing adults to use a laptop, for example) - but it was a small town with a limited budget. It simply couldn't serve the area better.
Tracking Reality’s “Fuckedness Quotient”: An Interview with William Gibson
> Other than eating the occasional housecat (which is bad)

If you want your cat to participate in nature, to have the opportunity to kill wild animals, you have to accept the possibility that other wild animals might try to eat your cat. Wanting the former but not the latter, wanting to have your cake and eating it too, is unreasonable.
We're building an automatic FAQ-bot and we wanted to try it out with the hacker news FAQs. The bot uses a model trained on FAQ pages and can answer basic user questions without any setup or additional training.

To analzye the questions that have been asked and get a clustering of the most common questions, you can log in with a demo account at https://dialogbar.com/dashboard/analytics/clustering

email: info@dialogbar.com
password: hackernews42
That link was actually interesting.

That said, as a non Swede I still think we should make sure we don't blame Swedes today for what their ancestors did - and didn't.
that would be cool! as an interim step, if your data is small enough, perhaps you could run an in-memory sqlite db and periodically backup to a permanent s3 file?

APSW exposes the sqlite backup api so you could do them online without shutting down the database.
To be honest, I think you're being too generous.

The problem isn't that they're providing documentation which is good but only appropriate for a narrow audience. The documentation is just bad: it misses out things that need to be said.
If another guest was the pepetrator? Yes, you can sue. Much like how you can sue the hotel if another guest beats you up. Whether you win in court depends on your lawyers and the judge.
You have to worry about slow requests somewhere in your stack, but with a good network architecture, you can assume the problem is solved at the open internet interface and ignore it inside your trusted zone.
Tmate.io Instant Terminal Sharing
Ever wondered "gee, what's made in insert place here?"

This answers that question. I've discovered many local startups by just browsing the web than I would have otherwise.
You might be interested in this bet on the LongNow site:

http://longbets.org/753/

Some people think that wind tunnels will be obsoleted by computational fluid dynamics within the decade. Others think that the problems with CFD are not a lack of compute power but a lack of comprehensive understanding and modeling of the physics at play, and expect that wind tunnels will be with us for quite a while. (Personally, I believe in the progress of technology and expect an eventual if not near-term breakthrough in CFD software will eventually obsolete the wind tunnel, but I also think that institutional inertia will keep a lot of wind tunnels and businesses that purchase time in them in operation for a decade or more after CFD's big breakthrough...)
While a fair point, no, the last mine stopped operating in 2011 in Thetford Mines, and a total ban was brought in around 2018. The government is investing in some technologies to extract magnesium from the left-overs while neutralizing the remaining fibers [1].

[1] https://business.financialpost.com/pmn/business-pmn/canada-b...
> but even MSFT lost 80% of its value in 2001

No, it was 50%. It's up around 400% since the bottom.

> The difficult is to know which company is the good one at the IPO

It's fine if you don't want to invest because of the risk. But to then say it's unfair that others who do take the risk get the rewards is ... unreasonable.
I always explain serverless as "Instead of one server you have countless servers, but they are managed by someone else".

Yes, a better word would be great. I think that ship is sailed though...
The Faithful Executioner is a great book with a lot of detail from a primary source (the executioners diary over several decades) on law, order and punishment in 16th century Nuremberg. All the punishments are fairly pedestrian - hanging, flogging, branding, etc. with a handful of ‘creative’ ones that stand out enough to warrant special mention in the diary. Note that while the executioner obviously performed capital punishment he was also responsible for carrying out less severe punishment as well. Now maybe other places had more sadistic executioners but that kind of behavior would have attracted notice - they were public servants who answered to local government.
Using SQLite in my ETL processes is something I have done for over a decade. It's just so convenient and, at the end, I have this file that can be examined and queried to see where something might have gone wrong. All of my "temporary" tables are right there for me to look at. It is wonderful!
Ask HN: Book Classics on Archive.org?
I've recently come across https://ia800104.us.archive.org/20/items/FoundationsOfMechanicalAccuracy/Foundations_of_Mechanical_Accuracy.pdf again, and it made me think.

There must be hundreds of "HN-interesting" books that are real classics in their field on archive.org.

Another example would be Halmos' "Finite-dimensional Vector Spaces".

Unfortunately, I think there is no ready-made collection for "standard works" or textbooks.

Have you bookmarked such works? And let's limit it to archive.org, if only so that the thread doesn't become a random book recommendation thing.
The challenge with this is that S3 and friends are object stores, meaning you upload or download the whole file each time. As you can imagine, this will cost you tremendous bandwidth even to insert one row.

Furthermore, it doesn't solve the multiple writers problem, because (afaik) there's no way to lock a file on S3.
Not sure about this. Doesn't seem very comfortable for the dog. I added another layer of chickenwire to the fence that went outward so the coyote would not only have to jump up but then also to get over an overhang.No problems since then and cost maybe $50 and a few hours of work.
I saw it several times when growing up in the 80's, but I was apparently too stupid to see the pun. I just kept thinking "Tiger? We don't have any damn tigers, this makes no sense."

Oh, I wish we'd had Wikipedia back then, so I wouldn't have had to feel like a complete moron when the penny finally dropped...
In my non-chemist, non-doctor opinion the circumstantial evidence points to brake dust being way less bad than tire dust.

Being inert in the presence of most common substances tends to correlate well with low toxicity. It's the stuff that chemically reacts to all sorts of things that tends to be the most poisonous.

Tires break down over time under "normal earthly conditions" which includes a lot of the same temperatures and molecules that are found inside the human body. To me this is a massive red flag for toxicity.

High temperature tends to make things react more readily. Most of the stuff in brakes has to be really stable at high temperatures and being stable at high temperatures tends to correlate well with being chemically inert.

The most reactive stuff in brakes are the long complex molecules used to bind it all together. These sorts of molecules are similiar to the molecules used in tires and all sorts of other plastic like things. So all else being equal tires probably have more of the chemically interesting things that cause problems in the human body.

Burning brakes smells way better than burning tires which seems to confirm this (remember, your nose has millions of years of incremental improvement when it comes to indicating what is and isn't suitable to ingest).

And before anyone thinks they're gonna get some easy internet points by saying "but asbestos", the amount of asbestos in brake pads is nonzero (to account for the sketchy unbranded stuff that may or may not use it) but still tiny enough that people working in proximity to it have mostly stopped dropping dead at 60 thanks to lung cancer so I think that however much asbestos is in brake pads it's low enough to not be an issue from a public health POV.

TL;DR I'll take my chances with brakes over tires.
Ironically the high California real estate prices are partly due to low (property) taxes from Prop 13. Much like low mortgage rates, they make real estate more attractive as an investment and help inflate prices.

Texas has much higher property taxes but much more affordable housing. Which runs counter to most people's ideas of red states always having lower taxes than blue states.
I have recently looked at surveys in my country and mobile developers are one of the most paid programmers out there, especially the ones experienced with Swift. What does cause the low pay in your country? Logically the sector is ever expanding and there is always demand for hires with any experience.
Cement also typically covers a large square footage area of natural carbon absorbing material. So on top of the carbon required in the manufacturing/installation of the cement, the amount of trees cleared should be accounted as well since the cement does not absorb carbon.
for the modern context, what might we make?

Keytar of Ignominy?
Theremin of Foolishness?
Banjo of Incompetence?
To be fair, most cross-platform projects have been total garbage (PhoneGap, Titanium, etc.) Sadly the only one decent was .. Unity, which is why you'll sometimes see things that aren't even games written in it for mobile.
When I first started my job in Stockholm there was a printout of this tiger logo with the saying that 10-12 were quiet hours, I knew about the saying but I didn't know about the history behind it, quite interesting!
Critics on the Classics
Wow nice index, will add ASAP, your site need the lock (https) by the way. Thanks.
New York taxes have always been high and if anything have stabilized.

There are two New Yorks... the NYC Metro and the rest. NYC has adapted, although it is not as diversified as it was. As for the rest, de-industrialization left devastation in the upstate cities, and now whole regions of upstate are depopulating as trade, agricultural and military policies change.

North Carolina is relevant because you can move there and live with marginal skills for now. Taxes aren’t really that low, and will jump as the needs of the population get factored in.
I recently set up my mother a new desktop, which I realized her suite of software was small enough to get running on Linux. I set up kubuntu, then wine with Microsoft money and she adjusted within a day (without a single question of me!) Now I'm pretty sure she doesn't know how or what software to install if she wanted to, but at this point her Linux setup is cleaner than mine.
did they control for poverty?
You're right. Somewhere around 2023 Fox News is going to do a complete about-face on global warming, aggressively urging taxpayers to fund these initiatives, conveniently forgetting everything they ever said on the topic, and watchers will somehow make sense of it.
I've seen several software projects that are built for rdbms let you use sqlite. It works.
They've been there for some years (at least 10-15 in Indiana) - I lived there, though I think it has been at least 10 years since I've been there. I remember being somewhat disappointed the last few times and it was generally difficult to get beverage refills often enough. I'm not sure they are "quality".

The best I've had was an Indian buffet in Indiana and a hotel's breakfast buffet in Amsterdam. I woke up to eat breakfast there.
Why not? Just roll your own write-ahead log when you are writing to CSVs! That's all the SQLite code is doing.

SQLite does not selectively lock portions of the file for writes. It locks the entire file using the Operating System's own file handling services.

SQLite is a file format. CSVs, XML and JSON are also huge in the dB marketplace. That doesn't make them RDBMSs.
Why cite statistics about the population of Sweden instead of statistics about Swedish citizens?

Looking at the statistics in the linked article, Sweden's population consists of 9.1% non-Swedish citizens, and 10.86% of Swedish citizens were born outside of Sweden.
There are a lot of good ethical and statistical reasons that drug research is done within a more formal framework today. And there are some avenues for patients with poor outlooks to try "hail mary" drugs.
Flutter took the approach of treating the screen as a blank canvas. Everything is drawn using Skia primitives, exposed as Dart libraries.

It has some downsides – they had to expose a lot of accessibility features on top of that using platform APIs – but it's quite nice when you are a developer, as you can Cmd-click on anything to learn how it is drawn, and use the same tools to build your own widgets if you need.
> but it's absolutely not the first thing I'd reach for when starting a x-platform mobile project.

What would you go with now?
Maybe I'm an outlier being in that age bracket and having young kids. But I am shocked that none of those 30-49 year olds don't have kids that are being escorted to the library to pick out new ones and returning/repeating every two weeks. One adult and two kids ~25x=75 person trips. Finding the equivalent number of movies that everyone would want to see and sit through is unfathomable to me.
i wonder if you can ever just take the steam tray a la homer.
Yes, I agree. It should be turned off by default.