skysight-inc/HackerNews huggingface dataset:
You could suggest them to use React/NextJS, but publish a static export (yarn export) which is the buildtime compiled HTML+CSS+JS from react, but without needing anything else.

Works well for static pages, this is what I did so II could use next/react and deploy to a boring LAMP server we have for our landing pages.
> Engaging with the question itself is assuming responsibility.

Isn't this commonly referred to as the 'Copenhagen interpretation of ethics' ?
Canceling the travel wouldn't have helped who? For sure it would have helped the people they owe money to. Just because my own finances can't be saved doesn't mean it's vacation time and screw my lenders. So no, I cannot imagine a scenario where canceling the travel and attending to obligations would not help.
Doesn't unfortunately work on Firefox for Android.
Is there a simple link to get the top stories from the past week? /best seems to only return from the past couple days.
No. It’s astroturfed to an insane degree, controlled by power-mods with an obvious agenda and I don’t find it a particularly friendly or healthy place anymore.
You can use a date as a "link" in a notebook. A normal person does not create that many different entries per day. You can add a keyword to the notebook margin as well if you feel particularly systematic (then a link/reference would be 18jul23 for example).
> I wish there was a search engine that indexed only pages like these. […] penalized larger sites.

https://millionshort.com/
https://hacks.mozilla.org/2016/12/firebug-lives-on-in-firefo...

> The decision was made that the next version of Firebug (codenamed Firebug.next) would build on top of Firefox DevTools, and Firebug would be merged into the built-in tools.

> And perhaps most importantly, we joined forces to build the best developer tools together, rather than compete with each other. Many of Firebug’s core developers are on the DevTools team, including Jan ‘Honza’ Odvarko and Mike Ratcliffe. Other Firebug Working Group members like Sebastian Zartner and Florent Fayolle are also active DevTools contributors.

> A huge thank you to them for bringing their expertise in browser developer tooling to the project!
> There are (plainly) bad consulting projects, and so it is true that there is a risk of doing bad work as a consultant.

This bit of the argument contains the major flaw - it can be applied to literally any occupation. The most theoretically moral institution we have is the church. Ostensibly dedicated to doing nothing but espousing and propagating good in the world. Now look at what that means in practice for some of the scandals that priests get involved in.

There is no alternative morally safe place to work.
It's interesting to see the fund industry angling for a share of the coming bailout ("we can help with recapitalisation). Tier one banks have made a lot of money managing TARP etc. This would be a nice new revenue stream for companies with razor thin margins. And it would give them (and hopefully their customers) more representation in the rooms these decisions are made in...
> BSD cut

Only FreeBSD, and it's somewhat recent (it was apparently added in 2012, in 9.2, so it's not in osx either).
It’s due to serious amounts of astroturfing
When did the en es aye plant a coder inside a private company to add vulnerabilities, that we know about?
Maybe because the actual meaning of science was forged by philosophers ans "sociologists" ?
https://en.wikipedia.org/wiki/Auguste_Comte#Comte's_positivi...
https://en.wikipedia.org/wiki/Karl_Popper
Ah the good old JSESSIONID…
Webkit: Reinstate Support for SharedWorkers
Why do you lock your front door with a Yale key when you know it can be picked?
Good thing I don't have a master's degree.
Where?

int main() {
while(*d) printf(fmt, arg);
}
Please help creating an awareness for the Webkit team that we need SharedWorkers:

Mobile: Native shell with multiple WebViews.

To be clear: they dropped working on SharedWorkers on purpose and it won't happen unless smart devs like you add some weight on it.

Every(!) browser on iOS is using Webkit.
I wonder. Are all the vulnerabilities and issues with Zoom because of its popularity?

Zoom is a shady company that does crap like secretly install a web server on Macs that allows it to reinstall itself once installed. I refuse to install Zoom on any computer. I installed it on my iPad out of necessity where I know it’s in a strict sandbox.

Edit link:

https://www.zdnet.com/article/zoom-defends-use-of-local-web-...
I can say that speaking as someone working on a high-volume eCommerce website, you would not even be allowed to checkout without JS enabled.

The fraud is just insane. With JS anti-fraud tech you can eliminate a significant majority of fraud.
Ask HN: How to Filter Out Recruiters?
How do you filter out recruiters worth your time? I've been reached by a countless number of them, most of them ended up taking my resume and ghosting me for months or just basically wasting my time.

Is working with recruiters actually makes sense? (Asked from software engineer's perspective)
Beside the heavy-ness, I've found the site unusable with mobile browsers because it constantly nags you in various different ways to "try out" their app.
The language of 1984 was meant to euphemize to the point of inverted meaning.

Master/slave hasn't made sense since consensus algorithms came on the scene and started "taking leadership"
Just a note.

Massive MIMO is not a 5G only thing. 3GPP Rel 13 on 4G already had it for FDD-LTE. And for TD-LTE it was supported from Released 8 or 10 if I remember correctly. Massive MIMO in 5G only meant NR was designed with it in mind. Although mostly in the sense of TDD still, FDD Massive MIMO still has some on going work to do.

But yes, in many case 5G is more like 4.99G. It is pretty much a evolutionary step from 4G Rather than a big leap from 3G to 4G. And we should expect capacity to increase from 5x to 10x.
For relatively simple use cases of server-side rendering with React, I think it’s worth knowing that you can render any component to static HTML with just one function call (and it works in Node environment). Another function call (this time browser-only) can be used to make the markup rendered interactive with no unnecessary DOM mutations.

React library makes these functions available from ReactDOMServer[0]. I like this API, it opens various possibilities and is easy to build on top of.

Of course, Daniel goes further to create a universal approach to authoring an app that not only supports SSR but works without JS entirely, which is pretty cool!

[0] https://reactjs.org/docs/react-dom-server.html#rendertostrin...
I think "early web" here refers to the popular technology used between 1995-2005.
This is something I've lived by for the majority of my career. I wish I could share in the excitement of my peers when they discover a new shiny thing and push really hard to have it incorporated, my inability to share in that excitement has even shaken my confidence at times. What's worse is that it has resulted in friction at some of the places I've worked, even more so when the issues I've raised end up biting us hard in production.
Da Vinci – Overrated?
There is single well known datapoint - the prodigiously productive humanist researcher Luhmann who invented the method.

https://en.wikipedia.org/wiki/Niklas_Luhmann

The main reason it's so hip because Luhmann used it.

So, if your work is similar to Luhmanns and your cognitive profile is similar to Luhmans it makes perfect sense to try it out.

But I have no idea how you could test it's effectiveness in any sense that would provide results that are scientifically or statistically sane in any way.

Personally I've tried a "zettelkasten light" and I've found that I can keep my personal random research findings better organized that way - so instead of having just a page in a notebook, building an actual index of the notes as well, and linking thematically identical topics together seems to keep my thoughts better together. Been doing it only for a few months, though, need to see what I think about it in few years.
My blog/wiki has been created somewhat along the same lines for many a year (including YYYY/mm/dd/HHMM page names), but somehow I can't get past Zettlr's default ID scheme, or the lack of hierarchy (having all my notes in a single folder is not something I'm keen on at all).

(As an aside, both Zettlr and Obsidian completely freeze up on my 7000+ blog/wiki folder, but Obsidian eventually manages to parse and cross-link most of it given time)
The value you receive from forcing JS (anti-fraud, tracking, feature enhancement) is orders of magnitude more than the value you lose from the no-JS users who leave your website.

There's way more active IE 11 users than genuine no-JS users, in my experience.
Named tuples, the example I called out, are a good improvement over dicts for adhoc structs that don’t require full class definitions.

But you’re right. It’s hardly cumbersome to create classes that simply exist to contain data in a sightly more structured way than a dict.
I'm talking from a societal philosophy. If you absolutely insist on dragging stats into it, well, here goes:

China is incredibly monolithic in time (50 centuries of similar style of government, at least). The west is far more variable. The current US gov't acted like fuckwits, so deaths are unnecessarily high. Speaking as a brit, we've been even more fuckwitted.

I don't believe china's done as well as you claim. The fucked up early, downplayed covid, twisted the WHOs arm and plain lied about their infection and death stats.

Whether they reopen the economy early is of less-then-100% benefit if the rest of the world is not buying. If their economy isn't as healthy as they like to claim, this will hurt them.

But the bottom line is western governments can and do change. How china will fare I don't know. I remain where I started, I don't know which is better in these situations. The west may collapse, china may collapse, I can't see the future.
Oddly enough I find that the #define macro soup detracts from the performance here. I was rather unimpressed at first because obfuscating C code by just #define'ing a bunch of code is a trivial and rather uninteresting way to write unreadable code. Of course you can make any arbitrary code look like a printf call with enough macros!

But it's actually a lot more clever than that.

I feel like this would be a lot more impressive if it was written in simple and clear C since then you'd see that there really isn't any tic-tac-toe logic being explicitly implemented the way you'd expect.
Of course the quintessential French typefaces nowadays are Garamond, Didot, and to a lesser extent Futura and Avenir. The Romain du Roy failed to catch on due to its overly austere geometric construction.
> The western economic system cannot deal with lockdowns, and more generally, any kind of stop-the-world scenarios.

I kind of disagree, though it may just be a diction issue.

I think it's the western political system and freedoms that can't enforce a lock down rather than the economic system. Countries that have aggressively locked down early, enforced that lockdown, and instituted privacy invasive tracing apps have been able to virtually eliminate the virus from within their borders.

Compare that to the US, for example, where people are insisting on their rights to not wear a mask for purposes of protecting others. It's less about economy and more about individual freedoms and lack of state power to enforce lockdowns.
While data from China is difficult to find (and transparency always questionable), a key issues in comparing the two populations is:

- General health. Covid-19 rarely acts alone, at least in The West. Preexisting conditions play a key role. For example, obesity and its "side effect" diseases pair well with C19.

- How it cares for its elderly. People in nursing homes in the US have been significant contributors to the death count. Is that true in China?

It helps to get into the details a bit. While the proof has vet to be studied, anecdotally, cultural differences appear to contribute to the success (or failure) of a given government's decisions.
Your comment is spot on to me really.

I drive past businesses that I cannot read the font on their signs and wonder if that cuts out on their traffic. It does for me... I cant read the damn sign... therefore I will never be able to determine if I should go there and spend money.

Anyway good comment and being able to read a font should be right up there in the list of things a font should do. :)
Raft: Understandable Digital Consensus
I’m the author of this. Fun to see it appear here a few years after I wrote it. I originally put this together in an attempt to fish for a Rust gig. It worked out! I current coworker of mine saw it in /r/rust and passed my name to their recruiter.

I’ve felt at times that this project is a bit dated in that it uses synchronous io. I’ve changed my mind about that though. It’s more about teaching DNS than about teaching rust, and async is complex enough that it’d be a pedagogical impedement. Synchronous rust, on the other hand, is very simple to grasp.
Principles for Better Remote Facilitation
The power-mods are so obviously controlled by multiple people or agencies that it's insane they haven't been banned.

Some of them literally post 24/7, all content violating their own subs' rules, and usually partisan political junk.
You mean like secretly installing a web server on Macs so that if you uninstall Zoom it reinstalls itself?

https://www.zdnet.com/article/zoom-defends-use-of-local-web-...
I use it for reading about

Clash Royale
Australian personal finance
Pen-and-paper RPGs, mostly D&D
It started as some idiots trolling and calling for "Civil War 2: Electric Boogaloo" and it got taken up by nutters who thought they are for real. But it has been around for a while
Well, one point is that it's almost impossible to do for-profit work without benefiting someone who's a little bit evil (certainly if you feel all those entities are "also bad").

If we could instead pick 4 or 5 regimes that we consider to be the standard Bad Guys, with the benefit of history and a Western viewpoint, and just say it's clearly evil to work directly for them - then the author's thesis is much less valid.
Yes, small niche subreddits are really good. Sometimes they are the only place where you will find a particular community on the internet.
> Americans believe that racism doesn't include prejudices towards the dominant "race"/ethnicity, and find it offensive to even suggest that it might be so

Ah, the good old "you can't be racist towards white people" mantra. As an example, all of ex-Yugoslavia would like to disagree.

> But will it really make a difference to your history? These seems like nervous attempts at "making everything right" in a situation where no right can be made - at least there is no easy way to do so.

And worst, sometimes these precautions are used by corporations who mean no good other than signalling wokeness to turn up a profit.
I think 15/20 of your most developmental years spent with the wrong model screws us. Kids don't know something is weird and hard if you don't tell them that first.
“In less than three months time, the Fed has done everything it did under QE1, plus everything it did under QE2, plus half of what it did under QE3!“

https://seekingalpha.com/article/4349214-fed-is-dead

How can there be a global corporate solvency crisis given the amount of money flowing from central bank spigots?

Unless, of course, corporations have used the very cheap interests rates of the last decade or so to buy back there own shares, which is great for shareholders but terrible for the economy at large.

https://www.visualcapitalist.com/stock-buybacks-explained/

So the stock market is going gang busters but many global corps are swimming in debt.

Wonderful.

edit: caveat – this obviously is a fairly simplistic caricature of the financial picture, but it's not entirely inaccurate!
I am not able to add bookmarklet to Main toolbar(address bar). When I drag it over the toolbar there is no drop point. Do I need to enable/disable any option to unlock it?
Thank you! SQLite was indeed a challenging target. We could find and report many bugs in it only because all of our bugs were addressed very quickly (typically within a day). For some of the other DBMS that we tested, bugs were fixed slowly, and for some we also saw many unresolved bugs in their bug tracker, which is why we did/could not comprehensively test these DBMS.

Before we proposed our testing approaches, the state of the art of finding logic bugs was writing unit tests, which does not scale well, since it requires much manual effort. We believe that we provide the first practical approaches to automatically finding logic bugs. Companies have already started adopting them. For example, PingCAP implemented all three approaches that we proposed in https://github.com/chaos-mesh/go-sqlancer to test their DBMS TiDB.

A number of tools are available to test other aspects, like performance or for crash bugs. SQLsmith, for example, is one effective tool that allows finding crash bugs (see https://github.com/anse1/sqlsmith).
I think I've addressed most of this in the comment I just posted here: https://news.ycombinator.com/item?id=23446688

It seems people disagreeing with me are postulating the existence of a huge number of "zombie" content creators, creating good quality, polished content for 3x per week for (in your argument) 5 years but never seeing any success.

I very strongly doubt this zombie army exists. Over 5 years of doing it 3x per week, you either get good at doing it and finding an audience for it, or you quit and do something else. If you haven't found an audience after 5 years, effectively by definition it's not good content.

I don't see how your calculations provide any evidence of the zombie army making 3 good-quality videos every week for 5 years. They seem to rely on big, unfounded assumptions. (Maybe I'm missing something; I'm tired).
Show HN: PinFeed, full-size pinterest image feed for art referencing
The software industry needs to adapt to the challenges of a fully digitized world and at the moment things are a bit behind. The first and most important part is to have reproducible builds and core signing, so in cases where the source is available, people should be able to easily trace what’s in the software they’re using and who contributed. I think this is a technical challenge and some software ecosystems are trying to solve it (Go, Rust etc.). The next thing that I would like to see happening is more commercial software licenses that allow making a living from selling software but that give access to the source. I prefer a world where I pay for software and developers can make a living, and at the same time be able to check that the promises that the developer makes are held.
Good code? Absolutely! Zoom works buttery smooth for amount of features it has. No other competitor comes close.

Secure? Different story. But if code quality correlates with security, then most likely yes. They can push secure code.
Is it just me or is Reddit.com (non-old) intentionally bad? It feels like they've deliberately slowed down the website in order to force you to use the app.

It's worse in practically every way. I genuinely wonder if any of the PMs or developers who worked on it have ever worked on high-traffic websites before.
Young people have not established themselves and feel vulnerable in world where news of insecurity travels fast. A young adult is thrown out of their nest into the wilderness, and perception of right and wrong changes as a result. Humans are wild animals.

All moral is relative. Non-relative moral is ethics. If you have misgivings about embarking on an endeavour it is your duty to gather more information. If the information is witheld you can not proceed with your ethics intact. With enough compromise you will be without ethics and morals, and become an enemy of your kin.

It is hard to live without ever compromising one's ethics. These companies probably exploit what little flexibility young people have. I would refuse to share a dinner table with their leaders.
> Do you use Rust for any systems or have thought about it?

> We do not currently, though it comes up once in a while in our internal chat rooms - Wendy

https://old.reddit.com/r/spacex/comments/gxb7j1/we_are_the_s...
“Dyslexics of Gaul, Unite!”
My problem with Zettelkasten is the granularity of notes which are supposed to be a single short concept only. I can't remember hundreds of notes I wrote in the past so that I can connect them when I write a new one.

I actually prefer Martin Fowler's concept of bliki (blog+wiki) where the granularity is a blog post, instead of a singular note, which captures your understanding of a topic at that time.

https://martinfowler.com/bliki/WhatIsaBliki.html
>- Enter a word in the search bar and usually Siri will show you the exact website and just select it to go there. Other browsers will take you to search page first then you select the first result to go there

Huh? That's exactly what Firefox's "Awesome Bar" does.
Props to you. Recently I was looking for something to measure my cruise speed on a bicycle, and a single developer appears to dominate App Store search results with a dozen or more nearly identical speedometer apps—all free and packed with ads.

When I think that Apple would allow that, but not an honest paid app that transliterates a name into another language, I start questioning whether I should get into that ecosystem, or rather focus on Mac apps only and distribute them outside of the store.
Ask HN: Privacy Oriented Cohort Analysis?
To do cohort analysis or calculating churn (as a SaaS startup) one needs to collect some kind of id over time. There are clever ways to calculate daily (weekly) uniques by salting a hash with a daily (weekly) random salt.

How could we do cohort analysis with the least amount of information? The only thing to slightly increase privacy and make de-hashing more difficult is with a secret salt.

Is there some clever way with Bloom filters?
your website looks like a joke and your "company" sounds awful
There are lots of comments and no doubt JavaScript really has its problem. But one year still I watching this and how he used mainly JavaScript to demonstrate how to think in clojure way. It is not that bad, guys

https://youtu.be/vK1DazRK_a0 (solving problems the clojure way by Rafal Dittwald).
What do you mean by inequality? Employees not perfectly representing the population? At what level of geographic census does this matter? Any why did you choose racial lines? What about other factors like education which show far more significance?

If a certain group indexes higher or lower in a profession, why is that a problem? Do you consider NBA and NFL teams to also have inequality? By your definition, you must.
The term master/slave of all terms is widely used and established in many fields of EE and CS especially in networking. I was exposed to it since I was a college student endless times and never ever thought of it having any kind of racist meaning, and again, I have a dark skin myself. The term is used in thousands of seminal textbooks and published papers by many great scientists who worked for decades and retired without even thinking that this term could map to the history of racism in the US or anywhere else. What's next? should we organize book burning parties and burn the textbooks of Leslie Lamport and Donald Knuth because they contained the master/slave term?

These lousy radical groups are only brave at the things that don't fight back and are very dedicated to solving non problems and the rest of us is obliged to either bow to their irrational nonsense or labeled as racist by their primitive mob mentality.
There are still countries with "beloved and divine" leaders like North Korea.

I'm sure programmers over there are quite fed up with that term.
I really enjoyed this film, but in telling the story of the cultural power and ubiquity of Helvetica, I think it dramatically underplays the fact that variations on Helvetica have been pre-installed on most modern personal computers by default.