jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Are you saying you wrote an alternative to Lucene because users don't like to type in search queries that Lucene understands? Lucene is a low-level library for implementing a search experience. If you don't understand that then I don't think you understand how a sophisticated search engine like Google works.

Say you type in:

"Lucene equivalent in C++ or C#"

This query is not passed as-is to some magic implementation of a Search Engine by Google.

First they need to parse this query. This involves a tokenizer step which will have many rules depending on the context and the language requirements, etc. An industrial strength tokenizer is a significant undertaking in itself.

The next step is turn this user query into something that a search engine understands. Unless your default mode of operation is "match this user query EXACTLY" then that means having some kind of query language. For any search engine, this will end up looking like the syntax you have a problem with in your post.

Next, to have any kind of useful and competitive search experience you will need to take the user query and generates tens, maybe even hundreds or thousands, of different sub-queries that try to explore different estimates of user intent and fuzzy-matching. For example, you might do some analysis and realise that equivalent in this context is not very important and decide to generate another twenty queries with all-known synonyms for the word equivalent. You might decide to try the query with certain words dropped altogether.

And of course, you also need to be able to rank results. Not just within sub-queries but when merging all the results from sub-queries together. This takes sophisticated and highly customised scoring algorithms that will be dependent on context and a whole lot of other things. Essentially you need to guess what is the best match based on what you think the user wants.

Finally, to be an industry leader like Google you will use a data-driven approach to scoring that makes use of machine-learning techniques to keep your advantage more than a purely technology one.

For companies that just want a basic search that will behave intuitively for people used to the Google model, Lucene helps with A LOT of this. Their default query parser, scorer and other vital components are good enough that most websites can just use the default configurations out of the box and get a good search experience.

All that you're left with in the end is to create the basic user interface abstraction - the "one box" experience. Solr helps enormously with this, but in the end all the functionality it exposes is Lucene.

For more complicated search experiences, there isn't much that I described in the above approach that you can't do in Lucene.

So yeah, Lucene is awesome.
You did agree to the terms of use when you activated your iPhone, correct?
I personally use the map functioned defined in Underscore.js
If the goal is to only keep the data around for, say, 7 days, you need timestamps to determine when each piece was last downloaded, no?
What type of phone and what brand / model of speakers? The iPhone is kinda known for doing this to speakers.

[edit] http://www.iphonematters.com/article/speaker_interference_th...
I would imagine that this will be handy for people making augmented reality apps.
The background on the escape from wikipedia: http://en.wikipedia.org/wiki/Stalag_Luft_III#The_.22Great_Es...
Hello from inside America; you don't really want AT&T.
I typed in Where is a great Thai restaurant? which is one of your example questions and nada. Something is wrong, yes?
Well... that's useless. How disappointing.
very exciting news
Related, If you copy a file via the OS's copy function the system knows the file was scanned and you get fast copies. If you copy the file by opening a new destination file for write, opening the source file for read, and copying bytes, then of course you trigger the virus scanner.

So for example I was using a build system and part of my build needed to copy ~5000 files of assets to the "out" folder. It was taking 5 seconds on other OSes and 2 minutes on Windows. Turned out the build system was copying using the "make a new file and copy bytes" approach instead of calling the their language's library copy function, which, at least on Windows, calls the OS copyfile function. I filed a bug and submitted a PR. Unfortunately while they acknowledged the issue they did not take the PR nor fix it on their side. My guess is they don't really care about devs that use Windows.

Note that python's copyfile does this wrong on MacOS. It also uses the open, read bytes, write bytes to new file method instead of calling into the OS. While it doesn't have the virus scanning issue (yet) it does mean files aren't actually "copied" so metadata is lost.
Even Seinfeld won’t look like that at 90.
I think people do care, its just impossible for them to express how much they care. Like I want to do something about this data breach, what else can I do apart from remove myself from facebook (there is good evidence that that wouldn't help me either)? Its a monopolistic market and they are very good at hiding the risks. People don't accept random spam and data leaks out of not caring, but because even if they care the current business models will not care about their opinion.
If both the code and the server are open source then how come you can't run it?
I think he's referring to this: https://en.wikipedia.org/wiki/Wikipedia:No_original_research

You can't copy paste, but you're also not supposed to come up with stuff yourself.
I think the readme could use some examples of where this might be useful
No ;), the point of CORS is to open up the web for cross-origin consumption from the browsers by allowing servers/services to opt in with special headers. Single origin policy is the one that protected against cross-origin requests and is still the default when no CORS is in place.
For my typing SaaS, I found firebase hosting/realtime DB a ginormous time saver.

And since it hasn't taken off (and probably won't ever), it just costs me a pennies a month since I'm under their free limits, plus the domain.
>I do have a prejudice against people who tell me they learn something through a video. There are good video creators and good educational videos, but there’s just too much trash.

Bad content has absolutely nothing to do with the format. What a ridiculous statement. As if there aren't thousands of even worse articles, blog posts and incomplete/outdated documentation for every bad video. Does W3 schools ring a bell?

>it’s absurd that a 10 min read, can be a more than half hour video that never gets to the point

It's absurd you're blaming bad content on the format, which is also ironic because you missed where I explicitly wrote in text that I prefer well made videos. Do you expect every single piece of text you come across to be a concise and up to date source of truth?
Is there any knowledge of the mechanism used to hijack the signal, or what WGN/WTTW did to protect against it afterwards?

The Wikipedia article seems to indicate even the engineers never figured it out.
This one (Python 3) does not spark joy.

Somehow python, as a whole, started to feel like it needed too much boilerplate and special fiddling to do simple things. I felt like I spent way too much time keeping track of different environments or versions to make each project work, and was always dissatisfied.
What about copy/pasting interfaces between packages to avoid cross package dependencies
As already noted, commands that deal with a lot of data will copy that data to your machine to process, and copy it back. This is a drawback of both NFS and sshfs.

NFS, however, doesn't encrypt, while sshfs does, so if you don't care about encryption, NFS will be a lot faster.

The proper way to do what you want is to install those desktop tools on the remote machine, and then use ssh X forwarding (ForwardX11 and ForwardX11Trusted in the manual, also -X and -Y) to have those programs run on the remote machine, but display their GUIs on your local desktop. This way you get the nice graphical interfaces while still doing all the hard work on the remote machine, without copying tons of data back and forth.
PHP was originally a layer over Perl. It's in the first paragraph of the history.

It doesn't NOW have anything to do with Perl... but it's pretty easy to see some of that history in the code.
I'm also an inexperienced public speaker, and have decided to improve as much as I can. A few weeks ago I gave a talk at a conference in front of about 350 people, following this advice exactly. I still have a long way to go but the talk went well, and a lot of people came up to me afterwards and congratulated me. During the talk I was a little nervous, but not as bad as I would have thought.

So first and foremost, follow this advice - it's 100% correct!
This is about the actor playing Darth Vader, and not the designer of the mask itself.
Reading the "About" section over at http://www.tastylabs.com/, one might be forgeiven for thinking Schachter was/is the CEO of Morgan Stanley.
A dead NFS server can also stall a local desktop. This was a huge issue at Google, where homedirs are mounted on NFS. Turns out almost all window managers need frequent access to dotfiles or they will freeze. This is stupid.
I can well believe that will be the case. I saw a link on HN the other day for 'personal drones', unmanned flying devices that track you with GPS taking aerial photos along the way http://online.wsj.com/article/SB1000142405274870363170457555...
When it is darkest, men see the stars.
https://i.imgur.com/HtuCuzz.jpg
> I don't really understand the fascination with wireless for fixed services. If you can run a wire, you should

Sometimes the economics don't play out for being able to run a wire. Often times things like water towers will have fiber conduit run to them as the city will want to have monitoring equipment and their own RF services operating on them. So it becomes cheap for a WISP to also put their own equipment on one of the taller structures in town. Split it out to several different sectors and you can carry dozens of customers at decent speeds for far less than the cost of digging the fiber to connect a single customer, meaning the payoff time of the equipment install is in months to a single year instead of a decade.
this is a great recommendation also for scientific topics:

Often when I am really interested in something I read the article and four different languages, because most often each language offers different aspects and images.

also it's a great way to learn languages.
Hydrogenated vegetable oils are mostly outlawed in the US now. (They are on labels as "trans fats".) They were supposed to be entirely eliminated by 2018, but corporations have got FDA waivers to continue selling poison.

Fred Kummerow spent his whole career, from 1957 until he was 98, getting trans fats out of stuff sold as food. In India and Brazil people are still trying to stop it.
> It is available outside the coastal cities if you have a coastal city salary. That kind of defeats the purpose.

This is false, why would you think this? My youngest sister makes $70k and bought a 3br/2ba house with a 2 car garage for $215k that’s 20 mins from where she works. That is in just a random medium city in the Midwest.

I have another friend who works in San Antonio. Got his house for $300k and makes $90k as a SWE.

Housing is seriously just an isolated problem in particular hot spots. Unless you need to be there, get the fuck out. The governments are broken.
Not only that, the account could have done worse in the coming weeks - so it's better to be late than never.
> I realized that that’s not how conflicts work, and certainly not how they’re won.

Please tell that to the Afghanis.

This isn't about some civil war, it's about what would happen if Red State America decided it wanted to behave like Blue City America has been for the last year. People talk about "Proud Boys" as if that's equivalent and I just have to roll my eyes.

There is an immense reservoir of anger within America in people who feel overlooked and the system is stacked against them. If they receive the downsides of civil strife even though they haven't participated in violence, they might decide they want the upsides of civil strife as well. This culture, unlike the sadly tolerated insurrections of Antifa, has the ability to have real power through violence if it ever came to it.
Absolutely not. But neither do I want any tech that becomes successful to be automatically be controlled by some somehow elected instance.

So, for this specific case: OK, Twitter, got you. We happen to be on the same side, but your reaction makes me migrate my (non-existing, for the same reasons) twitter account to something else.

IMHO, we need to ban every government and their agencies from relying on commercial services only: A minimalistic message routing protocol should exist that governments require participants in their market-place to support.
This is exactly right. You got them off twitter. Now let them live their lives. What do you think will happen if you take everything away from them? Do you think they will just go live under a bridge and sulk?

They made a new platform, leave it alone.
But Apple just threatened to ban Parler. If you want to play this little charade at least try to keep up.
> You should counter bad arguments with better arguments

We've witnessed the fallacy of this argument. It assumes a level of rationality that has been proven to be unreasonable to assume. The problem isn't that "better" arguments aren't reaching people. Rather, we have watched people exercise an incredible ability to discard overwhelming evidence and embrace narratives that have literally zero evidence to support them (or, in fact, have been repeatedly disproven and debunked).

In that kind of environment, "counter bad arguments with better arguments" is hopelessly naive.
Trump could've tweeted "Hamburger" and his followers would've reacted the same way.
the implications being??? that it's not a great idea for the POTUS (or equivalent) to consider a private communications platform as their official "channel to the people"? well, duh! who'd have thunk?
I would differentiate prevention from screening. Screening is for early detection of a problem (for example, the Pap smear to detect pre-cancerous lesions on the cervix). Prevention prevents the problem in the first place (eg the vaccine against the human papilloma virus which causes cervical cancer).

Truly effective preventative measures are the apex achievement of medical science, and have simply deleted an unimaginable amount of human suffering from our modern lives. Vaccines and sanitation are the best examples. They are astoundingly cost effective measures, and are so good that in many ways they are unimprovable in any significant way. 2020 is yet another example of how important vaccine technology is to every single person on this planet.

Screening is nowhere near as beneficial as actual prevention. It is expensive, labour intensive, requires behavioural modification, definitely harms a significant proportion of people due to false positives, and in controlled trials only modestly improves hard clinical outcomes under the most charitable assumptions of compliance and follow up care.

You are proposing a model of 'high-touch' medicine, where people have a raft of continuously administered screening tests for a long list of conditions. This could only ever be applied to a small proportion of the world's population, and would require highly motivated and well educated patients. In my opinion, spending a day in a primary care medical clinic would disabuse you of the notion that this is a feasible or desirable outcome.
The first amendment prevents the government from making laws which prevent free speech. Private companies aren't obliged to host that speech if they don't want to
That link is full of wisdom, thank you for posting it! I never met anyone who wrote their own wiki and used it for so long.

I was surprised the biggest thing for you was speed and full-text search, and also by this comment: "I think people forgot how to make a simple web app with a form and plain buttons."

The biggest thing for me is learning. Not so much categorizing everything correctly.
"The sky was the perfect untroubled blue of a television screen, tuned to a dead channel." - Neil Gaiman, "Neverwhere"
Big +1 on the Smartisan (锤子). I really like their interface. The Smartisan OS is one of the most thoughtfully and beautifully designed Android systems that I've seen.
It's similar, but not the same.

There's chemical differences and some HFCS is a lot more fructose than sucrose. But, yeah, I also haven't been able to find any conclusive evidence that it's any worse with your garden-variety HFCS
Part of me is taken by this, but part of me feels like this is just the next step towards a culture of less stable employment. But instead of deliveroo drivers, it's tech workers. While I don't doubt that Gumroad pays and treats its workers well, it's the first step a slippery slope.

As with other gig economy jobs, it's sold by virtue of its "flexibility", but you can still offer flexibility and health insurance.

You can also pay for employee benefits, have them work fewer hours, have no meetings and no deadlines.
Let me just point out how amazing online resources are, now, compared to "not that long ago".

Let's go back in time to 1994. You are a teenager armed with a computer, modem, possibly internet access but more likely an online service such as CompuServe. Since you also have a C or Pascal compiler, and are inspired by the latest trend of 3D graphics in PC games, you download the comp.graphics.algorithims FAQ.

You read something about 'Marching Cubes' but don't really grasp anything from it. You also probably don't have access to the textbook or papers that also describe it.

Instead of this incredible visual demonstration, you get a couple paragraphs of text and some ASCII art:

----------------------------------------------------------------------
Subject 5.10: What is the marching cubes algorithm?

The marching cubes algorithm is used in volume rendering to
construct an isosurface from a 3D field of values.

The 2D analog would be to take an image, and for each pixel, set
it to black if the value is below some threshold, and set it to
white if it's above the threshold. Then smooth the jagged black
outlines by skinning them with lines.

The marching cubes algorithm tests the corner of each cube (or
voxel) in the scalar field as being either above or below a given
threshold. This yields a collection of boxes with classified
corners. Since there are eight corners with one of two states,
there are 256 different possible combinations for each cube.
Then, for each cube, you replace the cube with a surface that
meets the classification of the cube. For example, the following
are some 2D examples showing the cubes and their associated
surface.

- ----- + - ----- - - ----- + - ----- +
|:::' | |:::::::| |:::: | | ':::|
|:' | |:::::::| |:::: | |. ':|
| | | | |:::: | |::. |
+ ----- + + ----- + - ----- + + ----- -

The result of the marching cubes algorithm is a smooth surface
that approximates the isosurface that is constant along a given
threshold. This is useful for displaying a volume of oil in a
geological volume, for example.

References:
"Marching Cubes: A High Resolution 3D Surface Construction Algorithm",
William E. Lorensen and Harvey E. Cline,
Computer Graphics (Proceedings of SIGGRAPH '87), Vol. 21, No. 4, pp. 163-169.

[Watt:Animation] pp. 302-305 and 313-321
[Schroeder]
Did you have to pay tax on the unrealized gain?
https://wiki.vg/Dev-focused_Blog_Articles
This is the bigger list:

http://opensimulator.org/wiki/Grid_List

OsGrid alone has 4600 regions.

https://www.osgrid.org/

It's a true federated system; you can run your own server, you can have portals to other servers, and, for grids which sell things, there are competing payment rails.

Open Simulator has a lot of spaces, but not that many users. Like most federated systems, it's a niche. Works OK, hard to use, few are interested.

Second Life continues to plug along. Right now, 50,844 users are in world. Which is more than any non-game metaverse. (Not sure about Meta; they don't give out numbers, but 20,000 has been mentioned.)
MMO games are far bigger; check Steamcharts. The top games are in the millions.

Don't believe any number about a virtual world you can't check from the outside. Concurrent users right now is usually the only honest number. There are systems which claim huge numbers of users, but their definition of "user" is "they, or some bot, put an email into the signup form."

The "metaverse" hype has produced a bit of growth, as people find out that most of the hyped systems are either nonexistent or very low rez. Usage is very low. Decentraland is around 1000-2000 concurrent users. They got up to 2600 once. Cryptovoxels is smaller. So is Sandbox. Sominium Space is in single digits.
I was right there with you until you brought up the LGBT bit. This service has no real safety benefits for members of the queer community who are in danger. Full stop..
In the state I live in, anything can get you fired. Being up for a raise can get you fired. So where's the news here?
Stanford costs about $275K for 4 years. Of course students and their parents spending this kind of money care a lot about the financial payoff.
The fact that the stuff is in Walmart is proof that people who aren't on EBTs are eating the same junk. You aren't interested in them eating healthy food. You're interested in making them suffer for their poverty.
I am not sure interesting and successful necessarily intersect.

I remember being in a circle of friends with a famous pop star. For a famous guy who was supposedly partying a lot, he hated going out. He hated to meet people. He worked really hard on his projects (an album, a tour, the vidoes etc).

He wasn't particularly interesting, or interested, in socializing with new people, though he spent a little time with his family, and his girlfriend.

Actually, you probably all know successful people. They just work a lot with a single minded focus. It is not the same as being interesting.

Perhaps the minimalist person would have completely finished books, papers, tools and so on, and maybe they would not be interesting to hang out with.
Technical arguments aside; IPv6 is just "advanced" enough to allow corporations to fuck over the last bastions of free internet and turn it into nothing but tightly controlled broadcast TV 2.0.

The road to hell is paved with good intentions so I guess I will see you all in hell.
I think we peaked 15 years ago. Today I have to worry about what I say lest I be branded a bigot and fired from my job. It's very stifling.
You won't know until you ask. It depends on your org, clearly, but in general large companies are somewhat supportive of mobility, because it means they don't lose you to somebody else.

Find a job you actually care about. Chat with the manager. See what they need. Good chance nothing comes off it, but at least some chance it opens doors for you. Maybe not even immediately, but six months later that manager mentions to another manager "Hey, X cares about Y - aren't you staffing up a new effort?"

Without a paycut might be slightly harder, but usually large orgs operate, for better or worse, on "all software engineers are interchangeable cogs". This is one areas where that actually can play to your advantage ;)
Yet China is a global superpower and shut off from immigration
Some are really interesting, to be honest.
This was just used to trigger a shelter in place in Dallas. Thanks to whoever built this!

https://www.dallasnews.com/news/public-health/2020/03/22/hos...
I just mentioned the same here https://news.ycombinator.com/item?id=22661875
I am talking about Mac OS, not about Mac OS X or macOS.