skysight-inc/HackerNews huggingface dataset:
I've implement a few string search algorithms and translating between 1- and 0- based offset functions was the source of a huge number of bugs, as you might expect. For some reason a lot of sources present the algorithms as 1-based.
This was an interesting read. The style of presentation is quite unique. The overall tone of the article is in favour of vaccination, but it nevertheless provides many exact quotes of antivaxxers and other conspiracy theorists, usually without trying to directly refute what they say.

It's also well investigated, in the sense that caveats to the usual responses to antivaxxers are included.

I personally felt like I came away with a better understanding of what the conspiracy theorists are actually thinking/claiming. I learned some interesting facts about various vaccination campaigns, and overall felt like I came away with more information than I came to the article with.

I'm interested to see where this style of journalism leads.
Please post with a non-throwaway account, and I'll respond.

Edit: since the name of your account is apparently inaccurate - I think you're comment is pretty daft, to be frank. I'm speculating that a few thousand souls might hang on after the deaths of billions, and you seem to be saying that merely talking about this prospect will make humanity collectively think 'hey! it's only going to be the vast majority of humanity that will die, so let's continue burning fossil fuels!'? Be serious.
Is BGP Safe Yet? No. But we are tracking it carefully
BEM I think comes from choice to aggressively reduce complexity, not from ignorance.

Sprinkled with a tiny bit of specificity classes for state, it combines best of both worlds.
Ask HN: Currently which companies make the best workplaces in tech?
I am a Computer Science & Engineering (CSE) student studying in India. Generally people join Engineering in India because it can provide them some CRUD / consultancy type of job, better paying as compared to other disciplines. But I was interested in CS and programming before I joined. I also had a good score in qualifying exams which helped to join an "above-average" institute.

Turns out that I had vastly overestimated the quality of CS education and recruitment here. The companies which recruit in on-campus placements are mostly outsourcing / "enterprise" consulting companies. Education is also kind of primitive that I am thinking along the lines of additional self-study and following my own career path instead of depending on a screwed education system and on-campus placement process.

I have heard about how exciting workspace Google was in the past. But judging from lot of negative PR surrounding Google these days, it appears Google is losing that charm of an engineer's dream workplace.

Which companies ("BigTech" or not), are preferred by bright undergrads these days? Is it mostly FAANGs (minus Netflix) or are there some interesting places that are preferred by talented engineers?

Also, if I want to do internships as college requires, are there any good opportunities in those companies?

Sorry for vague wording, English is not my first language.
Yeah, that's not a real thing. You can't connect an individual lurker to a log.
Sounds like a neat scenario for a CTF :-)
repl.it
not a local environment, but if you're after the shortest path to learners being able to code, that's how I do it with the people I teach. Works well.
Software development: creating web CRUD interfaces quickly. Here's the orders table, here's the customers table, here's the products table. Join them, present them with a nice UI that scales down to basic smartphones, make some fields editable, some sortable, some filterable. Now take a subset of the result and make that its own table with a search form, and so on.

Every solution I've tried is either too narrow (e.g. works on one table or kind of data only), too broad (too much boilerplate), hard to plug into existing data without massive ETL (SAP, Oracle APEX..) or cloud-based apps which are fine for a mom and pop store but basically useless for scenarios with millions of entries.
Was almost sold to Terminal.app then I saw:

> I’ve noticed that Terminal.app slows dramatically when outputting non-latin unicode ranges

Which is a deal breaker for me.
Is Vulkan really becoming viable for compute? It seems like something that's obviously worth exploring given the overlap with more traditional graphics workloads, but I have seen some claims that it's still lagging behind OpenCL wrt. some features, and that it could be good for some things but is not obviously competitive across the board. It's possible that this impression is outdated though.
There are just a lot of chippies run by Italian families, particularly in Glasgow. As a general rule they tend to be better than most chippes. The often have Italian names, are family run and do pizza & pasta as well as chip shop food.
> Although I could use an off-the-shelf logic minimizer here (like Espresso), most logic minimizers solve a different problem: quickly translating large designs to simple netlists. However, I would like to have a complex output netlist: the ATF15xx CPLDs have a hardware XOR gate that I would like the minimizer to infer on its own. On the other hand, I don’t really care about the runtime of the minimizer as long as it’s on the order of minutes to hours

This is called technology mapping and logic minimizers (like Espresso) do it all the time.

Just think of it: who defines what the basic logic modules on your netlist _are_ ? What if your only module is a XOR gate?
I've changed the link, thanks!
> which the Jitsi developers apparently consider to be fine

I expected the devs in the link to get caught saying something like "Yolo! Move fast and break things!"

Instead they had a pretty reasonable response considering the circumstances.

You don't have to use the app stores you don't like to use the service, they don't actually seek or store personal data, they don't use any data they do have for marketing, the use of those services falls under an identified GPDR exception, the other services they rely on for the service also have GPDR obligations with respect to any data they should collect, etc.

But even after all that, the devs realized they aren't professional lawyers. So what do they do? Ignore it all? No, they hire some. What did those lawyers say? Looks good, looks compliant.

So you've hired counsel, they say, "Good job, green light." Then someone on GitHub says, "But I have a different legal theory than the people you specifically hired to tell you how the law works!"

What do you tell someone in that situation? Fire your counsel and instead rely on advice from random strangers on the internet? Or... there are a lot of people with crazy theories on the internet.

I thought it was big of emcho to, even seeming pretty confident Alvar was mistaken, still put him in touch with his legal team. Because, I'm not a professional GPDR expert, maybe the random internet stranger is right this time? But if Alvar's right, GitHub isn't really equipped to figure that out. This has to be a conversation with lawyers.

Backing up a step...

Zoom rolls their own crypto, routes calls through China, and has a mysterious 10 char hard limit on passwords. They're also massively more popular.

Zoom's CEO has been admirably up front about how they're fixing some of these issues, but I'm not sure why a speculative GPDR complaint about a much less common service should get the same prominent media coverage.
And here, I though you all were talking about the element of mercury, and how its mass is calculated from the 1s orbital using special relativity :)

https://blogs.scientificamerican.com/the-curious-wavefunctio...
I have a folder named "proofs" on my machine which is just this. About 1500 and counting little programs that demonstrate or prove that something works some way or another. The class name expresses the proven fact. When I find out I am wrong, I change the name of the class to reflect the correct understanding. I read through the names in my IDE when I need to know some detail about something I've forgotten.
Eh budget comparisons can be used to justify everything. Fact is $400M annually is a fuckton of money and the vast amount of tax payers would agree. Also it's not like the US is seeing any kind of benefit from it.
Absolutely, happy to help!

I personally end up relying on TensorFlow for most of my GPU needs at work still, but that training session was incredibly helpful for me to understand what was going on under the hood and helped demystify the CUDA kernels in general.
The use of thimerosol is solely to increase shelf-life. Keeping stock from expiring (thus being unsellable) is a fundamental B-school technique for controlling costs.

Anyone with any knowledge of human physiology knows injecting any form of mercury into the blood of newborns and the pregnant is insane. There is no more toxic element than mercury.

And hand-picked and funded goal-seeking researchers are not hard to find, if you've been following the "reproducibility problem" these past few years.

They don't care so long as you can't prove the tort.
Regarding privacy, is there something in particular blocking then from receiving identifying information from people? Because it seems like this wouldn’t be difficult to add in at such a time as the climate is right to do so, and to be frank I’m not sure that they deserve the benefit of the doubt at this point.
It's not about the vaccines. It's about control.

If the ppl are vaccinated, those ppl should be safe, and in theory those unvaccinated masses dying off from X illness increases the overall fitness of the population.

However, it's not at all about that. This is about forcing those who may not think or believe the same to not only acquiesce, but to actively proclaim they are science deniers and that another group is infallible and correct.

I'm not an anti-vaxxer per-se, i think vaccines for things such as polio, mmr are important. But i don't think others such as flu and possibly hpv are worth the risk.

I don't support forced vaccination however, and the more those who loudly tout forced vaccinations the more it leads me to believe that there may be credibility issues with the vaccine efficacy and the vaccination's research.
Probably easier to list number of times Einstein was wrong (it's not even a half dozen).

I hope I live long enough to see then use the moon for lensing or put radio/telescopes on the far side.
It's not necessarily exclusive, you can be used to default settings when connecting to containers or remote servers, but still have your own local customization.
Let their first lesson be that they are responsible for their own machine. If they installed crap without being able to fix it or even remembering what they did, then they'll have to reformat and start over. Suggest they keep notes this time around.
Accounts receivable.
Are these repurposed oil pipelines? Or dedicated fresh water pipelines built specifically to replenish water supplies?

I'd imagine as oil declines, the pipelines from the gulf might be able to send desalinated water back inland.

Not sure how feasible this would be, thoughts?
Show HN: ZoomerBackgrounds – community-sourced virtual video backgrounds
Noted, and I'll do my best to raise up demos for future presentations.
The second paragraph seems to come across as a mere rephrasing of the exact sentiment the comment the first paragraph so passionately rebukes.

Care to dissuade me of this, because it seems like you’ve simultaneously concurred with the statement you’ve called misguiding and unproductive.
Giving OP the benefit of the doubt here, it seems like a straw man example off the top of their head, just to throw some ideas out there.
Access to ventilators has only a minor impact on mortality rate. About 80% of COVID-19 patients placed on ventilators die. (This is significantly worse than other forms of ARDS.)

https://www.sfgate.com/news/medical/article/Some-doctors-mov...
Hi HN, author here! As students facing online instruction, we built ZoomerBackgrounds to solve firsthand the everyday problems of having subpar backgrounds and spoke with several friends working in industry about their background needs. The result is a product we really think you're really going to love. We had a lot of fun making this over the weekend and hope you all enjoy :)

For the tech stack we used react on the front end with a Node.js server + Firebase for persistent storage. This was my first time writing Javascript in about 5-6 years and it's really neat to see how the ecosystem has matured - there are even real classes now! We also used the Google Cloud Vision API for detecting inappropriate images.

On the database side, we found that Firebase Store works really well until it doesn't -- when you want to do anything that isn't basic reads/writes (e.g. SQL-like IN queries, query pagination, programmatic queries like sorting by the HN ranking algorithm ~ points/(time since post)^(1.5)) the workarounds can get complex and a little weird.

One question we had is around AdSense approval! The Google Adsense approval team rejected our website for not having enough meaningful content / not having "valuable inventory" - it would be great to hear some insight about how to show Google we are a real website.

Happy to answer any questions here or at logan@mit.edu!
Also, if you throw your computer in the trash, you won't have any further problems with your computer!
Yeah that's why I specified "local" - personally I'm keen on https://mybinder.org/ and https://colab.research.google.com/ and https://www.glitch.com/ as remote options.
Surrounded by Elligators: implementing crypto with nothing to compare to
Yeah I wrote that Wikipedia article, as much as a single person can. Used the textbook Strings, Trees, and Sequences by Gusfield; it never made mention of Rytter. I wouldn't say Wikipedia is a "terrible" source, though; compared to what? Papers? Textbooks? During the course of my career I've found major technical errors in about half of CS papers. Now the error is being documented & fixed in the Wikipedia article.

My main takeaway was that people should avoid BM in favor of KMP as much as possible if you're writing a string search function, because you're guaranteed to have some bugs when implementing BM. Writing your own string search function seems nearly on the same level as implementing your own cryptographic functions, though.

Interestingly someone reported a bug in my BM sample code on the wikipedia article talk page some years ago (still not yet fixed) which might be related to this Rytter issue. And someone forked my wikipedia article code repo yesterday, which I thought was very weird; must be related to this.

I guess coming to a further defence of wikipedia: as you read technical books & papers (or philosophy!) you see knowledge is extremely unevenly-distributed in society. Much of it is locked up inside these dense, expensive books (if you're lucky!) and even more of it is sitting undigested in papers written for people with five years of postgrad education, and even more is in expert's brains and never put to paper. These barriers stay up for a long time, decades even. We just witnessed one such barrier falling. Wikipedia is an optimal resting place for such liberated knowledge, and I would go so far as to say knowledge that is not on Wikipedia is not yet liberated.
Most people are fascists at heart, more than willing to control your body over their own fears and stupidities.

We each get to choose what to do with our bodies so long as we are not intentionally causing harm to others.

Most people won't accept this, thus we shall both be downvoted to oblivion by the ignorant and oppressive.
The process for SEPA is called "sue them"/"press fraud charges".
I host a few WordPress sites on Kubernetes and we use S3 (well, Minio) and it works great.

All the configuration is passed via environment variables so you don't even have to keep the config files in EFS.
A technique that I've used while fuzz testing string algorithms is to run all tests first with small alphabets (perhaps 4-6 characters), then with full alphabets. It seems to increase the probability of finding bugs with relatively small runs.

My work is on a personal project, not algorithms that have been in production for years, so it's possible that this wouldn't be that productive.
Learning to program is intimidating enough already without telling people they'll have to reformat!
> electricity+CO2+water => fuel

Considering fuel => electricity+CO2+water is financially viable today, the reverse can never be financially viable unless the prices of the inputs and outputs shift quite a bit...
I agree and I have never tried it on windows but I suspect it is worse than Linux because my brother almost threw his laptop out the window when he first started but got along after installing Linux.

I think Rust excels here with:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

And cargo is great to work with. Go seems to have similar problems from my experience.
This is not a marketing site. Your posts all seem to be shilling products on your website and have no intellectual interest.
I've studied U.S. Law for close to 10 years.

First, please define what you mean by "state".

Are we talking Federal Government, or one or more of the 50 U.S. States?

Next, please explain to me why you think that entity has the power to do that...

Also, please explain to me your understanding of "Consent Of The Governed". What does that term mean, where does that originate from, how does that apply to to the U.S. Federal and State (and also local) governments?

Think of this as a test of your understanding of U.S. Law...
I use fish but only interactively. For scripts I still use bash. The amount of fish-specific syntax I use interactively (and, string interpolation etc.) is so small, it doesn't really bother me.

Addendum: I did write my entire prompt (which is 81 lines right now) in fish (my rationale was "maybe it's better performance-wise"), which was hell and I hated it but that's the only piece of fish code I've ever written.
Fine-Grained Replicated State Machines for a Cluster Storage System (NSDI 2020)
> If you think about all of it, it becomes utterly depressing as you begin to realize you're a biological robot, a byproduct of the universe evolution which couldn't care less about our species and this little tiny blue planet.

It can also be liberating and uplifting. You're a part of the universe - you are the universe expressing itself. The result of uncountable generations of brutal evolution, you're quite a miracle!
I understand the reasoning behind this, but in practice I can't imagine working like that. I love watching Gary Bernhardt (https://www.destroyallsoftware.com/screencasts), who is an incredibly fast typist and knows Unix very well. But I just can't get over the sheer volume of typing he does, because he hasn't wrapped his most common commands into short aliases and abbreviations[0]. I would find it exhausting to do that much typing relative to the amount of output.

Here's a customization I would recommend everyone who spends a lot of time on the shell do: Be able to fuzzy find from the shell. The specifics aren't important, but here's how my bindings work (I use and recommend `fzf`[1] for this):

- `⌥z`: Fuzzy find recent directory (using `fasd`[2])

- `⌥c`: Fuzzy find recursive subdirectory

- `⌥e`: Fuzzy find recursive file

All of these work logically like this: If the binding is triggered at the start of a prompt, do what I mean (`cd` to directories, or edit a file), but if I've already typed something, insert it as a parameter, so for example I can hit `ls<space>⌥z` to fuzzy insert a recent directory (or just `⌥z` at a raw prompt to fuzzy select a recent directory to jump to).

I'd argue fuzzy finding is the major enhancement to computer productivity of the last twenty years. I recommend using it on the shell (assuming you use the shell often enough to justify it).

[0]: https://fishshell.com/docs/current/cmds/abbr.html

[1]: https://github.com/junegunn/fzf

[2]: https://github.com/clvv/fasd
As a Stripe customer incorporated in Australia, I have the exact same feedback. Not being able to get paid out in USD and incurring double FX costs is real problem.
Yes, but in most countries, such debit cards are co-branded with Visa or Mastercard to make them usable abroad or online.

In Germany, most banks still see these use cases as an opportunity to upsell their loyal customers on their expensive credit card products (not in terms of interest really, but rather because of high monthly and foreign use fees).
It depends what they are. Early in my career I was told I was too introverted and I took that on board. Looking back I think should have told those people to fuck off.

That's a lot different from having a shallow understanding of some technology you use or not understanding your employers business that well.
The man who cut out his own appendix
I work in logistics building a transportation management system. Our unsolvable question is not technical - how do you get trucking companies to use technology? It is more unsolvable than the 7 Bridges of Koningsberg.
Prescriptions for Anti-Anxiety Medications Rose 34.1% Mid-February to Mid-March
> Free will is a philosophical concept which is essentially dualist.

It's not, although many people think this. Consider that the majority of philosophers are actually Compatibilists, in which free will is compatible with determinism, and so they would disagree with your definition. If the majority of practicing experts disagrees with your view on their subject, it's probably time to revise your view.
I agree. SQL string concatenation that combines programmer-controlled strings with potentially-user-controlled numbers, for instance, is immune from SQL injection. And it’s a connection to a local SQLite database for session data and configuration info, so SQL injection wouldn’t really be able to do much (later the report says the database has history, logs, and “probably also sensitive data such as passwords” but doesn’t say what evidence there is that there’s sensitive data in the database).

The sprintf example acknowledges that it’s not clear if the strings involved are user-controlled. It’s definitely possible that the programmer knows all the strings that may be involved and can prove that buffer overflow is impossible.

There’s the complaint that Zoom crash reporting reads registry values that the application has permission to read. This is only problematic because it sends that information to Zoom’s crash reporting service; i.e., somebody other than the user. But programs if the program can’t write sensitive data to the registry, then there’s nothing sensitive to disclose.
then why is BEM more complex than just plain CSS? if the idea is to reduce complexity, that’s a giant fail.
That works well for certain kinds of computations, basically where each thread can compute a "pixel" independently. Modern GPU compute has threadgroup local storage, subgroups, atomic operations, etc. These unlock huge categories of workloads that would not fit nicely in the rasterization pipeline.
Getting non-technical people to pay for software.
It would need to be introduced in a single large city in 2011 and spread from there with the implicit backing of the federal government.

It would not need a blockchain. There is no reason whatsoever for basing this on a blockchain.
I'd love to see more innovation in farming practices. I'm a huge fan of aquaponics. Uses around 10% of the water of current farming techniques. I've got my own setup in my backyard. Right now I'm working on getting it started, but I'm planning on experimenting with growing wheat, and if I ever get a large enough system, I want to try growing trees, like almonds, which are traditionally pretty water intensive. These aren't generally worth growing at a small scale, but I figure if it can be done then maybe it could scale up. I really want to try making a combine harvester for wheat that runs on rails along the aquaponics grow beds to help in the automation.