skysight-inc/HackerNews huggingface dataset:
What are the differences and pros and cons of a Database vs local storage? I'm thinking of creating a site where users can add there own urls and titles and this information should persist after the browser is closed, should I store these strings client side and tie it to there browsers local storage or tie it to some account on a database ran by me? Keep in mind there is no limit to the amount of strings a user could make and I predict there will be lots of users with at least 200 individual strings needing storage. Don't want to commit without being sure first.
Oh boy. I don’t think this is a good idea, writing it nor taking such comments too seriously in the first place.
English is not my mother language and given the down-votes, probably it's my wording at fault here - sorry.

I'm glad now that it's been clarified :)
How to Get Better Feedback
https://houseparty.com/
It's been on my list for a long time, but I've also struggled to find out like... what, exactly, is the right way to do postgres replication? Every time I go into the docs I wind up with a laundry list of different mechanisms for replication and failover, and no idea which one would be most appropriate for a test. I gotta get on this!
Except the tone in all of the stories is overwhelmingly the same: I'm not stupid, what I'm being asked to do is stupid.

And as I said, usually the commenters will give you the benefit of the doubt: yes, that legacy code sounds like it probably sucked, or yes, the client's requirements were nonsensical and contradictory.

Except here.
You’re fortunate to be in a field of theory that is (1) relatively close to a source of feedback from objective reality and (2) formal. Then theoretical discussions can center around what will work and whether the math makes sense. The horrible politics and vitriol happens when you have neither (1) or (2).
Not really, human face recognition is quite accurate and humans all look identical in comparison to the diversity of cats and dogs
The more time I spend with Python the more reasons I find to hate it.

However, it's still my main language. Everything I end up making just ends up being written in Python because that's the language I know the best.

I could learn another language, and I have learned other languages, but Python seems to be the language that mentally clicks with me the most. I think it's because it's the first language I learned.

Suffice to say, there are so many things wrong with Python and they're all compromises that were made to appeal to wider audience. Unfortunately, I don't think that the "wider audience" is those who are looking for concurrency.
Along the lines of your Google Spreadsheets idea - there's a number of different small SAAS that turn Google Docs + Sheets + Forms into dynamic sites.
Someone looking for the unbeatable https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris... ?
Nah.

We built a new project in all "modern C++". It is 100% shared_ptr, unique_ptr, std::string, RAII, etc. It initially targeted C++17 specifically to get all the "modern C++" goodness.

It segfaults. It segfaults all the time. It is entirely routine for us to run a new build through the CI process and find segfaults. We fuzz it and find dozens of segfaults. Segfaults because of uninitialized memory. Segfaults because dereferencing pointers. Segfaults because running off the end of arrays. Segfaults because trusting input from the outside world ("the length of this payload is X bytes").

This is where the "modern C++" people tell me we must be doing it wrong. But the reality is that "modern C++" isn't as safe or as foolproof as the advocates say it is. But don't take my word for it - this whole thread is about Google people coming to the same conclusion.

Meanwhile I can throw a new dev at Rust and watch them go from zero to works in a week or so, and their code doesn't segfault, doesn't panic, and actually does what it is supposed to do the first time. Code reviews are easy because I don't have to ponder the memory safety and correctness of every line of code. Reasoning about unwrap() is trivial. Finding unsafe {} is trivial (and removing it is also usually easy).
It's three..
Show HN: I built this to keep track of framework syntax like React, Vue, Svelte
>> “Cheney ordered that Stellarwind be concealed from the judges of the FISA Court and from members of the intelligence committees in Congress.”

(a) Anyone able to expand on the author’s source for this; (b) what if any US legal guidance at the time enabled this; (c) and if anything between now and then has changed legally.
> The impact outside of the meat plant seems minimal.

COVID-19 has a significant incubation period and a large number of infections are asymptomatic and even with moderate symptoms people often won't qualify for the limited testing being done. The upshot being that unless there is a nexus with another highly-tested subcommunity in the same community, an outbreak that occurs rapidly and is detected in one subcommunity (in which impacts might be visible sooner through testing) that is disproportionately tested will take several weeks before it has significant visible impacts in the broader community. And by the time it does, it will be impossible to contain.

But those broader impacts are pretty much inevitable unless the those exposed to the outbreak were strictly quarantined from the broader community.
We have seen decades of general stagnation compared to decades of new inventions and growth before that. [Just imagine a bunch of quotes from Peter Thiel here. You read or heard the argument already.]

Good chunk of it is probably due to our societies getting physically older. But how much can be attributed to the culture of being nice, getting along, not rocking the boat, undermining people, etc?

OP ironically even advises to be contrarian to the contrarians. Pretty ingenious rhetoric.
I have a problem with Nassim Taleb. On the one hand I think he has been a colossal jerk to many good people who don't deserve it. On the other hand he keeps dropping pearls of wisdom that I value highly.

If I were an employer I wouldn't want an employee with his level of toxicity laying waste to morale. But it could be exactly that kind of employee who could make the company profitable with the power of one brain.

So I'd go with a default policy of no brilliant jerks, but be willing to override it for some values of brilliant and jerk.
I like to keep in mind that MongoDB's existing feature set is maturing--occasional regressions may happen, but by and large they're making progress. The problems in this analysis were in a transaction system that's only been around for a couple years, so it's had less time to have rough edges sanded off.
There are good solutions, but existing publishers like Elsevier like the current situation because it makes them rich (https://www.universityofcalifornia.edu/press-room/uc-termina...). Any existing individual academic is strongly incentivized to work within the rotten system, even though most know its pathologies and want to defect—but one person defecting alone will screw up their own career while likely leaving the system intact. The equilibrium is bad even though the solutions aren't complicated. https://news.ycombinator.com/item?id=23291869
Assuming the two options are equally secure:
Depending on your setup, it could add a level of convenience.

Potentially, sending just keystrokes as opposed to a full graphical interface might be less prone to lag (just hypothesizing here)

For me it replaces the unplugging and plugging of a usb cable, so when I discovered the barrier github repo a few days ago I just realized it was a solution to a problem I didn't realize I was having.
shrimps are way more costly than pasta

And even eating shrimps 3 times a week, with 5,000$ of shrimps a family of 4 could eat shrimps for a year.
I'd like to, but I don't have any way to do fault injection on a system someone else owns. :(
I don't want you to take this personally, but your post seems very low effort. How can we devote time to helping you if you only put 10 seconds into making this post without reviewing it?

For one, writing skills are important. You will have a hard time selling your project to anyone on its merits if you write incomplete sentences with lackluster English.

Second, you haven't taken the time to list out what your strengths and domains are, therefore HN can't leverage its vast knowledge to point you in the right direction.

If you want to build a useful project, you'll need to be more detail oriented and persuasive than your post here. Take the time to do things right. Feedback is worth its weight in gold, and you've given us zero to offer feedback upon except for your scanty quick query.
That is the most puzzling thing to me. Not from a technical, but societal ( https://en.wikipedia.org/wiki/Tragedy_of_the_commons ) point of view. Compare with public mass transit, except of Singapore, Japan, it is mostly dirty, in spite of cleaning staff working hard, and other people around. In a Taxi/Uber you have the driver watching, and other rentals are usually inspected after, and immediately before next rent out, just to make sure.

Not so in car-sharing pools, and there it's already materializing as a problem. How do you solve that with your 'robo-cab'? Tapping on dirty/smelly in your app, send back to garage? What if you notice it only 5 minutes after you started the trip, already robo-riding along? What if you have allergies against something the former customer had on/around it? Or was so high on opioids, that even a touch of the skin could make you drop? As can, and did happen.
How do you solve for that without massive privacy intrusions? Or will they be the "new normal" because of all that Covid-19 trace app crap?
> That's why it's useful, albeit imperfect, to have gatekeeping peer-review organizations to force experts to look at papers and pick out the ones they think are most useful

Gate keeping and review do not require anything like the current peer review system. The current peer review system retards the flow of knowledge, or it would if anyone relied on journals to know the state of the field.

Gate keeping can be done by editorial review. If you really want to you can have accept/reject only with no revise and resubmit cycle like Sociological Science. They aim for 30 day from submission to publication.

Refereeing wastes more than $50m a year in value in Economics alone. Burn the system to the ground.

> IZA DP No. 12866: Is Scholarly Refereeing Productive (at the Margin)?

> In economics many articles are subjected to multiple rounds of refereeing at the same journal, which generates time costs of referees alone of at least $50 million. This process leads to remarkably longer publication lags than in other social sciences. We examine whether repeated refereeing produces any benefits, using an experiment at one journal that allows authors to submit under an accept/reject (fast-track or not) or the usual regime. We evaluate the scholarly impacts of articles by their subsequent citation histories, holding constant their sub-fields, authors' demographics and prior citations, and other characteristics. There is no payoff to refereeing beyond the first round and no difference between accept/reject articles and others. This result holds accounting for authors' selectivity into the two regimes, which we model formally to generate an empirical selection equation. This latter is used to provide instrumental estimates of the effect of each regime on scholarly impact.

https://www.iza.org/publications/dp/12866/is-scholarly-refer...
I've left new jobs over things much less annoying than this. That she stuck it out is incredible.

If you start at a company and they can't have a computer/desk/whatever you need ready without a good reason, that's a terrible start. I've worked with people with very little money or resources who still manage to create a quick, sane, respectful onboarding process. There's no excuse for anything else, and in my experience it's a great indicator of things to come.
Unrelated to the content of the comment, but since this comment was immediately dead (saw it at "0 minutes ago"): what's with the new moderation technique of just marking comments of some users as dead from the moment they post?

I've seen this more and more recently. Is that a new approach to shadow banning? Is that automatically applied when multiple comments are flagged by some amount of people? Are the affected users aware, or is that hidden from them while they're logged in?
I second this. Bought a notebook from them in 2016 and it was one of the worst purchases. The fan last around 8-12 months before it craps out. (went through 3 so far) The power supply is fragile, and I had to solder it several times already. The support ... well I asked them about when they would ship a bios update for some common vulns - first I got denials that these (Intel ME) vulns "aren't an issue" because you need physical access to the machine. Once the news about the vulns hit mainstream media they promised to email me with updates about their latest updates. After most my colleagues machines from other vendors had been patched after few months but they still had not shipped any fix. After 1 year of back and forth and empty promises about "stay tuned" or "please check our website for updates" I eventually told them to get f'ed.

It seems the people who work there also have little love for the community they serve. They use the FOSS/Freedom type of branding to sell into a niche of gullible enthusiasts (like myself) who believe that supporting such companies makes a difference. The prices don't justify the product. You're better off building your own system from scratch or buying a more commonly available brand for 30% less of the price. It's not like they invest some of the money back into developing replacements for proprietary binary blobs or open hardware or any of these things. You want to stay away from this company and the rubbish they're peddling!
Thanks for this explanation. So if I understand correctly, `someOp` has thrown an error but this doesn't affect `someOtherOp`? So `someOtherOp` will end up being called twice?
I don't know yet how it will turn out but I'm making a simple prototype DB using Prolog-syntax flat files stored in git.

(SWI Prolog provides a specialized `persistency` module that is kind of "log-oriented" (
https://www.swi-prolog.org/pldoc/man?section=persistency ) but I want to see how well just plain ol' Prolog files work.)
I completely disagree. Engineering at its core is about building useful solutions to real-world problems. If you're not considering the user (including the theory behind the user's interaction with your product), you're not embracing your role as an engineer holistically. If I was hiring engineers, that is exactly what I would be asking them to do.
Hey everyone! Maker of One Word Domains here. I recently launched this on Product Hunt and got some pretty good feedback there and was looking forward to launching it on Hacker News as well but oh well, someone did it for me

To give you guys some backstory, I was dabbling around with Flask the other day and decided to build something that I would’ve loved to use when I was trying to find a good name for my startup - a database of all the available one-word domain names out there. It’s a pretty straightforward idea but somehow I’ve never been able to find a resource like this online so I decided to make one myself.

Also, since this is my first time building a web-app from scratch, I'd appreciate any constructive criticism you guys have for me - don't be afraid to tear me apart with your feedback. As of right now, here are a few features that I am planning to add to the website:

- A synonym feature, where you can click on each domain and it'll show you synonyms to that domain that are available (I was actually planning to post about OWD on Hacker News today but I was met with a few obstacles when trying to build this feature, so I had to postpone the launch)

- A "staff picks" section for each TLD page

- .dev TLD page - gotta give back to the dev community!

Let me know what you guys think about these features. Also, please let me know any suggestions that you might have that could make this better. Thanks a lot!

P.S.: Also, I'm thinking about removing domains that were purchased from the "most popular" and "recently viewed" sections - should I do that or should I leave them there? I'm just worried that by leaving them there it's a little misleading - people might think it's still available.

~ Steven
Link:
https://syntax.wiki

Github repository:
https://github.com/ngduc/syntax.codes
This is arguably true in a pre-pandemic world. Post-pandemic restaurants have far less choice, especially since delivery apps have an exploitative advantage over smaller shops that can’t create their own mobile phone apps. So the delivery companies jacked up their fees to take advantage of companies whose only alternative was no business whatsoever.

Saying it isn’t coercive is just Lochner-style dismissal of the facts on the ground.
Most everything I work on is related to graphs if I squint enough.

But to take an example from my visual planning - Gameplan.global - i use graph algorithms to model task dependencies, as well as the grouping structure.

When the tasks and dependencies are modelled as a graph, and the user wants to change a dependency, I can check the graph for a cycle. If a cycle will be introduced after the change, the change is disallowed.

It's not as grandiose as one could imagine for a very large social network graph, its practical and solved the problem I.
That's one hell of a leaky funnel. Did you ever figure out the underlying issue?
Here, someone left this(1) link above. This is a better practical response than just trying to win an argument for the sake of winning an argument.

https://github.com/Ranchero-Software/NetNewsWire/issues/491
Touchè
Postgres is not a distributed database and doesn't have a single safe default for running it in a distributed configuration, including talking to it over network. It can't claim any consistency guarantee, so there is nothing for aphyr to test it for.

Even common highly available configurations take the route of no consistency guarantees by doing primitive async replication and primitive failover.
Very good article.

There is a thing in leading teams, in having good team composition, structure and over all happiness and strong contribution that is analogous to what Spolsky calls the Development Abstraction Layer. (https://www.joelonsoftware.com/2006/04/11/the-development-ab...)

You need to try to find at least one company, one opportunity and see it work well. It is a completely integrated system that permeates the entire organization, from the CEO and CTO, down to a recent hire. The way interviews are conducted is also impacted.

Some departments are more stressful than others. Sales, Marketing are the obvious victims in most circumstances and are very competitive. But it is interesting to hear their yearning to adopt this approach.
Why, do you want some karma? :-)

Don't worry, moral outrage will get you there.

Also, your comment did not add anything to the discussion either.
This is happening here in Colorado (northern CO - Fort Collins, etc): https://www.noconosh.com/restaurants?collapsable=1

https://www.noconosh.com/faq.xsl

Is Noco Nosh just another delivery service?

Unlike Grubhub, DoorDash, and UBER Eats, Noco Nosh is owned and operated by local independent restaurants, not a large corporation taking advantage of restaurants. We have a local staff on the ground running the day-to-day operations and a Board of Managers (comprised of restaurant owners) who make the decisions for the company. Local is our name, fairness is our game!

Several local restaurants have stopped using Grubhub and the like and moved exclusively to this which I think is a great move on their part.
https://www.webmd.com/lung/news/20200423/the-great-invader-h...

There you go, 'son'. So, still obviously wrong and argumentative. Is this even a real account? Or just an insult-bot?
Hmm, seems a bit steep, price-wise. I am writing this on a cheap ($500ish USD) Asus VivoBook w/ a Ryzen 7 3700U and Vega 10 gfx, it runs Ubuntu 20.04 without any problems. The display is a bit dim, and it really ought to do usb-c pd, but it was a bargain, so I can't complain too much.
McDonald's has a hotel on its corporate headquarters campus in Oak Brook. It's run by Hyatt and anyone can book rooms there (we've done a couple "staycations" there in the winter to be able to have a weekend where we can avoid Chicago cold/stay inside the whole time and have access to a swimming pool). I'd guess a large fraction of the business comes from people attending meetings at corporate or training at Hamburger U, but they also host typical hotel things like non-McDonald's conferences and weddings etc. Most, but not all, of the hallway art has a McDonald's theme.
I just split the difference and built my NAS PC with power efficiency in mind. Big fan of the ECC-supporting C3xxx Atoms. I have an eight-core version (which is total overkill here, even) in my NAS with ECC DDR4 and a 8x8TB RAID-Z2: https://www.supermicro.com/en/products/motherboard/A2SDi-8C+...
Download now unc0ver v5.0.0.ipa/ Unc0ver v5.0.exe/ Unc0ver v5.0.dmg
Make an automated bookmarking service based on your browser history.
I'd love to be good at marketing, I'm just... not. I'm good at empathizing with users, but that doesn't help if you don't have any because you suck at marketing.
I delivered for Pita & Sticks in 2015 when it was a new restaurant. The owner refused to pay me my last paycheck after I quit and found another delivery job.

Point is.. delivery drivers were treated like shit before GrubHub and Uber. Before it was restaurant owners. Not all, but many.

Now that the deliveries are all centralized to a few companies, it’s an opportunity to get delivery workers better wages and benefits.
"used it to create my own resume site with analytics that I send out to companies. I can see who viewed my CV, when, and whether or not they actually read through it or bounced immediately"

I'd be super interested to learn more about how you did that.
With an industry that runs on ~10% margins (and lower in many cases), how could one possibly imagine a 30% cut to fees being workable?
Yeah, I've been trying to find legible and pronounceable one-word .com domains but to no avail...the only ones I found were words like injudiciously.com or diarrhoeic.com haha

Would appreciate some suggestions on what to do to improve on this!
If you're ordering from a chain then taking delivery could allow them to arbitrate on the rent part. And you wouldn't be taking up any of their table space either.
> a nanopass compiler

Got any good resources on this that aren't focused on the Nanopass Framework?
Yes, just like cafeterias etc
Ask HN: Anyone having problems playing Chinese podcasts?
Has anyone else had trouble playing certain types of podcasts?

The first one that didn't work for me is DW.com (https://castbox.fm/channel/Deutsche-Welle%3A-DW.com-Deutsch-id498875?country=us&nojump=1).

When I clicked around some other ones, I found some Chinese-language ones didn't either. The one that has consistently not played is https://www.thetype.com/typechat/

I've tried on:
- Castbox.fm
- iTunes
- [Google Podcasts](https://podcasts.google.com/?feed=aHR0cHM6Ly93d3cudGhldHlwZS5jb20vdHlwZWNoYXQvZmVlZC8%3D)

Other content plays fine on players.
I drive to all of the eateries I want to support. Some of them don't do delivery, others do, but it's a chance to leave the apartment and it's all money going straight to the eatery, not an exploitative delivery app.
Solar energy farms could offer second life for electric vehicle batteries