skysight-inc/HackerNews huggingface dataset:
Ask HN: Full text search engine in JavaScript for English and Chinese?
I'm interested in providing the full text search capability for product 22120 which has a web archive capability.

I've investigated a few such as those based on solr but my concern is that they do not handle multiple human languages with minimal configuration. Ideally something that has the stemming and tokenization for multiple languages including East Asian languages such as Chinese Japanese Korean and ideally South Asian languages like Hindi and Urdu as well.

Unfortunately a great many search engines out there seem to have a stemming and tokenization available for romance languages such as Latin derived or Germanic languages. People from everywhere like to archive web content that they browse and the content is in multiple human languages so to provide a good full text search I need something that can handle multiple human languages. I considered maybe writing something myself such as a simple Trie, but I think the rabbit hole of creating a good full text search is a very very long and convoluted one so preferable to plug in something that already exists.

I really love what flexsearch is doing especially how they are using signals from context I think that's the future. But I'm concerned how basic their support for stemming and tokenization is for example: https://github.com/nextapps-de/flexsearch/issues/207
I think Solzhenitsyn's point here is about people who lie to themselves. In a way, people who do that revert to being no different to animals, acting on instinct, in no way in control and easily controlled by others.

His point is that if you live a repressive society where you must lie to survive or to get ahead, and where taking a stand will achieve nothing other than destroy yourself, at the very least don't lie to yourself, to quote the piece: say plainly "I am cattle, I am a coward, I seek only warmth and to eat my fill."

Now obviously he intended this in part as a snide remark, and he would have hoped people would do more than this, but also I think it was getting to the crux of his point that this is still better.
In the higher cost of living areas I am familiar with, there is a material difference from 10 and 20 years ago. The calculus changes when a quality takeout or fast food meal goes from $10 per person to $20 per person. It might be worth purchasing meals when it is a few dollars extra in exchange for saving your time, but when it is a $10+ premium, it changes the calculus for a lot of people.
I can agree with this statement.
Very surprised I didn't see this mentioned already: make sure you don't have any kind of sleep problem.

If you wake up feeling unrested, look tired, struggle with energy or sleepiness during the day, or otherwise feel like something might be 'off', then it might be worth exploring whether or not you have a sleep disorder.

That could take the form of insomnia, OSA, or even something more subtle like UARS.

Not many sleep labs are good at evaluating patients, so I would recommend going to the Sleep Disorders Clinic at Beth Israel Deaconess Medical Center if you want proper diagnostics.
It’s easy: not publishing in recognised journals with a decent editorial board and good referees leads to my papers not being read. You say that I choose to publish there and you are partially right, in the same way that I choose to have a job and to eat.

I do my part and put all the accepted manuscript for my articles that are not in an open access journal on a public repository (and ResearchGate). This is already a condition to get public funding, as it should be. I still cannot not publish in some subscription-based journals.
I think you are right. Vegetable has only a culinary definition, not a botanical one. And I don't think many people would classify watermelons as a vegetable, except that watermelon skins are sometimes used for cooking.

On the other hand, watermelons are definitely fruits, in both the botanical and culinary sense.

This is reminds me of this video: [No Such Thing As A Fish](https://www.youtube.com/watch?v=uhwcEvMJz1Y)
> It's fine, but it's frankly silly that you're forced to translate a free and open graphics API into a more proprietary one.

Thats exactly what every graphics API has done, because the underlying chip architecture is never free and open (and often, is neither).

If the issue is that you are targeting a proprietary intermediate API rather than bare metal, that is also how Nvidia's drivers work.
It's not a coordination problem, it's an apathy problem. Boards that care can and do succeed in carrying out precisely the plan I just laid out. See for example
https://gowers.wordpress.com/2012/01/21/elsevier-my-part-in-...
This would have certainly occurred on a computer, probably enabled by a malicious browser extension.
You're missing the point. The wages will _nominally_ rise. I'm sure the politicians will beat their chest over this fact in front of the fiscally illiterate public. It's just that the prices will rise slightly faster than wages. Or not so slightly if we enter hyperinflation, which we might. That's why inflation is called a "tax on the poor". The poor and lower middle class don't have the option of putting their savings into any assets that are even remotely protected against inflation, since they don't have any savings in the first place and live hand to mouth as it is.
scam...takes your money to schedule an appointment but doesn't let you schedule one. it's just a voucher for some future date when you can actually schedule one.
>It could just as easily be a bar or art gallery as a $100 trillion dollar virtual empire.

"Meta" the bar or art gallery actually makes far more sense than "Meta" the tech company. Search would be a great name for a bar too. Generic industry terms make far more immediate sense when used outside the industry.

Meta just feels like a company in 1999 naming itself "Internet."

But, it doesn't matter because Facebook has the resources to make any bad idea stick.
It depends on how consistently the hotel is occupied and how many rooms you can amortize the labor costs over. Quality housekeepers cannot be spun up on demand, so if you are not giving them consistent pay, then they will find something else, but you need to consistently sell room nights in order to do that.
From the website you linked:

>Authors who wish to retain all rights to their work can choose ACM's author-pays option, which allows for perpetual open access through the ACM Digital Library

So, this requires the author, and by extension, taxpayers in most cases, to pay a couple of thousand to ACM to put a pdf online. How does this make sense ?

>And the copyright block in one of my papers as an example: https://jeffhuang.com/papers/SelfE_CHI21.pdf which says "© 2021 Copyright held by the owner/author(s). Publication rights licensed to ACM." (there are no fees to choosing this option, by the way)

This is the grey area I am talking about. You licensed the rights exclusively to ACM, in perpetuity. In fact, your own publication of the pdf may also be non-compliant, but nobody has sued you as that would be political suicide. Whether you satisfy the personal and classroom requirement is not clear. It is also not clear what agreement you signed with ACM. And you certainly cannot publish this under a different license because

>Please note that the right to assign a CC-BY license to the published Version of Record of the Work requires either the payment of an APC or an affiliation with an institution that participates in the ACM Open program

>Including coordinating peer review and development of multiple web apps) has more costs than hosting a pdf

And this is the crux of the issue. Nobody is compensated for this in the review cycle. So why is the cost of the final product so astronomical ?

>Yes and posting a jpeg on the internet is close to 0, yet AirBnB still charges a fee for their service.

I don't get this argument. AirBnB has a different product. That's why I mentioned the cost of AWS S3 and R2, which is literally what you would pay to host things.
You are either optimizing for the wrong thing, or don't know what you want.

If want to be as frequently correct as possible, then your "negativity" is strength. The issue with this strategy is that it will prevent you from engaging with the real world the way that positively thinking people do. You will take less chances, since you realize the probabilities of failure are so big.

Positively thinking people are kind of delusional. They try to ignore the ugliness of reality and focus on the positive side of things. However they are the risk takers. They might fail a lot but at the end of the day they are the ones that succeed in changing reality for the better.

Both ways of thinking have their advantages and their drawbacks. As far as I can tell, it really depends on the type of person that you are.
This has actually succeeded before though. Journal of Machine Learning Research (JMLR) is one of the premier journals in its field, is open access, and was formed by the mass resignation of editorial board of 'Machine Learning'.

https://en.wikipedia.org/wiki/Journal_of_Machine_Learning_Re...
There is a form of therapy you can do by yourself called Internal Family Systems therapy. There are many books about doing self therapy but the one I was suggested was Self-Therapy: A Step-By-Step Guide to Creating Wholeness and Healing Your Inner Child Using IFS.
Fastmail is under attack again (Mon 11/1/2021)
A lot of web scraping is annoying often because there’s *an explicit API built for the scrapers needs*. Instead of looking for an API, many think to first use web scraping. This in turn puts load and complexity on the user facing web app that must now tell scraper from real users.
Somewhat related--

IIRC, the game Spore apparently featured a harmonization algo that implemented some of the rules of counterpoint from Fuch's Gradus ad Parnassum.

It's like an autotune for 250-year olds.
They have explicit US security commitment. Which potentially constrains how much US can respond in TW crisis. Roping in US assets in JP or SKR for TW defense will come with extreme costs. It's a risk US wants to mitigate, hence talk about reshoring entire supply chain even if extremely difficult.
Talk: Researching “third way” democratically-run economies with Clojure(Script)
I don’t think you’re tracking. There’s no guarantee a natural monopoly will remain in place forever or reuse we’d still be working by whale blubber light. What happened to the business during the trial is not necessarily relevant to the trial ruling.

I think a better question for you to ask yourself is “why did the court determine they were acting in a monopolistic manner?”

I’d suggest reading the previously referenced court ruling to get your answer.
I don't really disagree. If I really don't feel like cooking/don't have stuff in the house, spending 20 minutes to drive (or walk if I were in a city) to my local pizza place for a $10 pizza or sub isn't that different from cooking--at least for a single person. I wouldn't spend $25 even though I could afford it.

But aside from some pizza delivery in college, I've never been in a situation where I had access to cheap and decent takeout delivery options.
While it's not the single barrier, but room temperature super conductors would go a ways to reduce the necessary bulk.

But the magnetic fields would still be huge, you wouldn't want to just turn one on in your living room before some serious magnetic shielding technology was also invented.
It _is_ Vulkan.
I see a bunch of people who spent a lot of time and effort for collective well-being at personal cost. This is a textbook coordination problem.
It's usually a matter of framing to me. Criticizing and finger-pointing is always easier than a nuanced and tradeoff-minded view. It is also easier to engage people with negative feelings, so much of the media/Internet follows the same path.

Reality is boring: the bad parts of whatever are usually there for a reason, be it historical or goalposts that moved over time or lack of information/time/resources in general available at the critical point in time. But going through the gritty details of how the bad came to be is tedious work. You can sound just as smart for pointing out what's wrong and you can sound brilliant by signaling that imperfections make you angry.

It's just a bad habit for thought workers that you can overcome with attention and deliberate practice.
It's not a fine, it's a bribe. I don't think I've ever heard of a jurisdiction where you pay the officer who is ticketing you.
> > and common

> Not even remotely.

Real world code from numerous prominent open source projects begs to differ. Almost every random script I've opened in random open source projects made use of unexported shell variables. Take a look at the source repositories of the Linux kernel, Git, coreutils, GCC, LLVM, CMake, GDB, cURL, OpenSSL, Firefox, Chromium, Vim, and tmux. It's so prevalent that I don't even know why I have to point this out.
Negative is normal right now. We're all burnt out, we're all sick of working from home, Covid is fading but its been an extreme time. Plus some people have made loads of money while we watch front line workers basically dying doing their job. Meanwhile the summer heat was just too much and we're watching the planet die. All the while we've been restricted from seeing work colleagues, friends and family. How can you not be negative?
> It's just that the prices will rise slightly faster than wages.

This is not an inevitability.

Wages can rise for the bottom deciles more than prices rise. The difference would come from wages rising less or even decreasing for the upper deciles. It would also cause asset prices to rise less (or maybe even decrease) as labor expenses rise.

In other words, wealth transfer, where the income/wealth gap decreases. As an illustration, someone used to getting Starbucks every day can only get it once per week now. And someone who used to never be able to buy Starbucks can get it once per week now.
If a game wastes two hours of my time without being able to appear like it has any direction I truly question the quality of its storytelling. If I want existentialism I can get it in a 10 minute long flash fiction piece from Fireside Fiction.
I think Lying to yourself is a basic survival strategy. "this is fine" incarnate.

But I agree with the sentiment overall. Nobody should wind up in the dock like Zinoviev or Kamenev copping a plea "for the good of the party"
the effect is that they, and hopefully their friends and family who come to them for advice, don't buy lenovo's products. that's independent of what else they happen to be boycotting.
Back in the 90s your ISP would have given you a subnet of public IPs to use. I have a Customer w/ a T1 that they've had since the late 90s with the same /26 of public addresses on it the whole time.
The automatic algorithm can definitely take hand size into account.

I often feel that the fingering I come up with myself as a beginner is suboptimal. What I usually do is to watch youtube videos repeatedly to study what experts do. And that really helps me correct some bad adhoc fingering. I'm sure it's an experience thing - I can totally understand why experts would consider fingering on a sheet as useless. But for beginners it can make a huge difference. You probably don't care about beginners. But that is a huge market with strong needs unsatisfied (besides auto-fingering, auto-transcription of popular songs is another one).
I was relatively young at that time, and actually a bit disappointed that it was called "Pentium Pro" instead.
The whole point of this essay is that you don't need weapons to fight lies. You don't even need to confront the lies with truth! The only thing you need to do is the smallest token of resistance: don't repeat the lie!
> On the one hand, that makes it seem more egregious, but on the other, it maybe doesn't change the status quo for prison labor as much as one might hope.

Society is already paying to house, feed, and monitor prisoners. We should also pay them to work? How about if instead, we keep track of how much prisoners cost society while they're in jail and they have to pay it back when they're out (or while they're in and working). Do that and I'm all for paying them for their work.
Did they run out of internal ipv4 address space somehow? I’ll be curious for the post-mortem, this is definitely the longest outage of a global web service I can remember in… forever? This incident puts them under 2 9’s.
> I hope you realize that natural gas production produces methane instead of CO2. Methane is a far more potent greenhouse gas.

Natural gas is (primarily) methane, but burning natural gas converts methane into CO2 and water.
As an unemployed programmer in Vancouver, I've been thinking about the potential prospects of owning a place, and it seems like an inescapable conclusion that it's just for people who either got lucky with their career early on, or inherited it through some means. I don't think there's much of a controllable path to doing so at this point, it's somewhat all dependent on RNG, which isn't motivating. If I landed a very well-paying gig tomorrow, I'd need to luck into keeping it for at least 2-5 years, and then at best, if I could get a mortgage, I'd then be saddling myself with debt for the rest of my life. Kind of crazy to think about. Thankfully my landlords are cool. Of course, if I desperately needed to own a place, I could luck into a well-paying gig and afford a down-payment in the prairies after a few years, but then I'd be living there, and I'd rather rent here.
Sometimes those delays are helpful, and sometimes not. I don't sell my high-value items privately because there's no way to collect payment in a "final" way.
Not a lot of details here but I'd suspect it's yet another example of autoscaling policies gone wrong.
All of those things are incredibly positive. Think about how much lower the carbon footprint is now that so many have died.

Imagine knowing how the world ends and thinking it’s awful when you’ll be alive to see it. Will the oceans drown everything or will it become an oven / steam room. What a mystery and the answers will be revealed to you and only you.
Most of these I threw under "disrupting business processes". My company considered most of these to be threats to the integrity of their business.
Bash `getopts` handles short and long arguments gnu-style without any problem. The following code handles args like "-h", "-i $input-file", "-i$input-file", "--in=$input-file", and "--help":

while getopts :i:h-: option
do case $option in
# accept -i $input-file, -i$input-file
i ) input_file=$OPTARG;;
h ) print_help;;
- ) case $OPTARG in
help ) print_help;;
help=* ) echo "Option has unexpected argument: ${OPTARG%%=*}" >&2; exit 1;;
in=* ) input_file=${OPTARG##*=};;
in ) echo "Option missing argument: $OPTARG" >&2; exit 1;;
* ) echo "Bad option $OPTARG" >&2; exit 1;;
esac;;
'?' ) echo "Unknown option $OPTARG" >&2; exit 1;;
: ) echo "Option missing argument: $OPTARG" >&2; exit 1;;
* ) echo "Bad state in getopts" >&2; exit 1;;
esac
done
shift $((OPTIND-1))
I don't think anyone mentioned crawling (in my mind, "crawling" refers to a long-running process over several pages or sites and "scraping" could be a single fetch of a single URI)

I'm sure there are others, just from the top of my head:

* Electricity prices (as OP mentioned). Especially for people with solar panels or multiple options for heating.

* Watching for availability/prices of products or new homes one might be on the lookout for. Notifications at price drops/availability

* Public transport: next bus/trains from closest station, delays and interruptions

* IMDB/tvdb/etc for monitored shows and movies. Common with sonarr.

* Air quality, covid outbreaks, whatnot
Total speculation, but the "5" could well be because the BIOS displays whatever the CPU had in its DH (the upper half of DX) register after reset. I remember a few tools that were made before the Pentium was a thing, that also reported "586" when you tried them out on one. (If I remember correctly, the BIOS also has/had a BIOS function to relay that value to a program.)

From the 80386 programmer's reference manual:
"DX holds a component identifier and revision number after RESET as Figure 10-1 illustrates. DH contains 3, which indicates an 80386 component."
Hey thanks for the recommendation. I too am a (lapsed) classically trained pianist with poor sight reading. This might just be the motivation I need to get back into playing :)
i’ve always seen a brogrammer as:

* louder than competent

* uses social pressure to drive decisions

* makes up politically for lack of technical skill

the general culture they can create makes people anxious and feel belittled. when they reach out for help the brogrammers peers can’t believe he’d be mean to anyone. i guess it’s a tech narcissist.
Huh, strangely the link doesn't open for me. Seems like an infinite redirect loop.

$ curl -i -L https://blog.roblox.com/2021/10/update-on-our-outage/

HTTP/1.1 301 Moved Permanently
Server: nginx
Content-Type: text/html; charset=UTF-8
Content-Length: 0
X-Redirect-By: WordPress
Location: https://blog.roblox.com/2021/10/update-on-our-outage/
X-Powered-By: WP Engine
X-Cacheable: bot
X-Cache-Group: bot
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
Cache-Control: must-revalidate, max-age=7108
Expires: Mon, 01 Nov 2021 05:39:59 GMT
Date: Mon, 01 Nov 2021 03:41:31 GMT
Connection: keep-alive
That's pretty close to my experience with the Ubuntu side bar, though it definitely has its issues.

I don't use vanilla Ubuntu very often though, so I don't know much about it.
The Patriot Act Has Threatened Freedom for 20 Years
But if there's an API, then the overall load is the same, no?

Or to put it another way, naively, having api.example.com and realpeople.example.com separated out into separate sandboxes seems reasonable, but due to the aforementioned problem, its not. But then it also turns out to be the wrong axis for this anyway, and you need your monitoring to work for you.
I think he must have meant robox right? Cmon man get outta here.. :)
Because often that data is only available through scraping.

Nobody wants to scrape, it's messy and fickle and a general pain in the backside. But sometimes the data you need exists only in that form.

If you run a website and you have a problem with scrapers, then make all that data available through an API and say what acceptable rate limits are. If cost is an issue, then charge a proportionate fee, my time writing a scraper is worth much more than paying a few dollars for an API.

If you just say "No" to everything then you lose all control over the process and the only outcome will be such an arm race.
Any advice on the "find your purpose" part?
This is almost a textbook case of prisoner's dilemma, a psychology/game theory 101 student would know it isn't easy. Pretty shocking such a comically naive argument is upvoted to the top.
For those that are interested in the specifics, Jamie Williams wrote a piece for the EFF[0] in the wake of hiQ vs Linkedin which dealt with this exact question.

It depends on who the server operator is. If it's your server, yeah, anyone I don't want to be there should go away. If it's your enemy's server, the argument that they're sending that page to the rest of the Internet turns out to be a decent one.

[0] https://www.eff.org/deeplinks/2018/04/scraping-just-automate...
Pretty much same here