skysight-inc/HackerNews huggingface dataset:
Yup, the most resource constrained form (PCRE2 would be the Cadillac-DoS-my-webapp option). I don't know how abnormal my problem is, but I've run into several cases where I needed a file that had a very specific naming structure - but a couple of substrings needed to be masked because that was the information I was looking for. That can easily be handled with two fixed string passes on a local file system, but not so much at the scale we're talking here.

As far as the indexing issues you mentioned, I'm not a python guy, so I can't recommend a drop in solution. But I have indexed pretty massive string datasets, and you definitely want to select an index method that was specifically devised for the key/value datatype you intend to ingest. So hashmaps are probably out :) It would also pay to adapt either the implementation or the data itself. For example, say you had a bunch of font file name you wanted to index (XyzSans.otf, AsdfSans.otf, AsdfSerif.otf, etc): a prefix tree would be a pretty good fit, especially if you reversed all the strings.

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

https://blog.burntsushi.net/transducers
This thread has been specifically about responsiveness. Latency, not throughput. Also, the bit about no plugins was a little white lie. I really meant "no plugins for IDE-like functionality (language server, etc)". While many IDEs offer basic vim keybindings, I don't know any that would let me import my .vimrc wholesale and work exactly the same. I'd love an IDE that embeds neovim as the text editor.

Anyway, if you don't care about all that, you can get a similar effect by turning off intellisense (or equivalent) in your IDE while you write, then turn it back on at the end to get what you just wrote to compile. I do this sometimes in Android Studio.
Did I have to deal with these popups before GDPR? No.
Was I blocked from accessing many US sites before GDPR? No.

If EU cancels GDPR would everything go back to normal? Probably.

As an unhappy consumer, that's all I need to know. The cause and effect is pretty obvious here.

Sure, some people may be happy (I hope?!) with whatever privacy benefits GDPR is supposed to bring about.
But blaming websites for responding to EU regulation one way or another, doesn't make me, who doesn't care about these supposed benefits, feel any better. If GDPR people feel like this is a cost worth paying then so be it. I certainly don't believe more enforcement will somehow make companies come up with fewer legal derisking strategies.
> I don’t know how we can expect someone like this to be a good parent.

You either are or not. My bet would be that the parent is fully aware, but ashamed and in denial about the situation.

A busy mother is still a mother. Should know when their son is lying. She could be tricked for a month, for one year maybe, but when 4 entire years passed and she claims that didn't suspected anything... either she barely talks in the dinner with the boy about his day or she carefully circumnavigated the theme and don't really wanted to know the details of his education.

And some parents just don't like the school system. I know a case of a divorced mother that deliberately boycotted the education of her daughter repeatedly asking her to be at home so she didn't feel alone. The outraged school wanted to do a point and the truant girl had to repeated several years, with the same outcome and less effort put on it each year. Everybody, was relieved when she eventually reached the legal age, was dumped from the school, show the middle finger to everybody and keep with their former life (Partied hard, socialized a lot, found a partner and married). We could say that she is doing fine, in fact.
In the same way that objects are just tables in disguise. Sure it's true in some way, but the impedance mismatch is huge and horrible.

There is a reason why the internals of all major cas systems use rewrite rules instead of objects with types.

As a toy test try and implement a system that simplifies an expressions of a given group to normal form for that group. Using rewrite rules you end up with a program that is dozen of lines long and even better is provably correct by hand. Using types and functions on types you end up with a monstrosity that is 10 times as long and just feels clunky. Worse even something as simple as adding a super group of which your example is a sub group requires a rewrite of the program. Using rewrite rules on the other hand merely adds a few more if/else clauses in the main program.

Types are a fetish of the programming community and are used in places where they are actively detrimental. This stems from the fact the majority of programmers do not understand the difference between types and constraint rules.
Seriously stop all your upvoting bots to get yourself to the front page on many of your posts. You are a shit programmer, a waste of space and create poor quality misleading content
How do these things work? Wikipedia doesn't actually say. Do you hash the data and then transfer ownership of the hash on the blockchain to somone?
It basically expects a string as the source and a fixed-size, not necessarily zero-terminated, buffer as the destination.
Someone should start an app to disrupt the wives and companies market.
I wonder if people imagine using the legal system to enforce their ownership in a similar way to IP enforcement by issuing takedown notices and stuff like that. I don't thimk anyone woyld buy that right now but maybe that's what people a hoping for.
Critical thinking is largely an illusion itself, a form of cognitive bias
Following a couple of links gives this:

https://twitter.com/susam
In an ideal world the latter would be best. However in practice systems tend to get complicated over time as they evolve and more features etc.. are added.
I think one way to look at it is that as a business to outsourcing the non-differentiated heavy lifting to another entity that has more expertise in it would let you focus on your core products. In this specific example why is using a cloud email provider any different from deciding to use power from the power grid instead of generating your own electricity.
Such sites are a distraction from the real problem that the non-tech users have:

They want the app to work forever, even if the underlying cloud storage service gets killed.

Hence, being able to transparently transfer your data to another underlying storage service without the app changing at all is what most normal people want.

They want a box saying "This app's storage expires on 20th of April. Please choose where you want to transfer your data without disruption of service (and where it will be hosted from now on): Dropbox, Google Cloud, OneDrive, pDrive, Mega, ..."

I've spoken with a lot of regular folks. They don't care about privacy or self-hosting or decentralization at all. They never will. To them technology is a tool with which they make their lives easier. We should take a page from them. :)

(Although to make it 100% clear, I do care about privacy and anonymity very much; but it shouldn't be idolized and put on a pedestal, otherwise people like me will be made irrelevant with time -- one could argue this has already happened).

---

TL;DR: Sites strictly advocating for some tech principles lost most of my vote a while ago. We the techies get too distracted by our own shinies and must make a come-back to pragmatism and serving the regular people. It's OK to code stuff as hobbies but promoting them as universal values gets a "nope" from me. And that comes from a guy who wants to retire at his own house with 3 internet connections, and work on Tor-on-steroids and automatic replication of encrypted data until he dies.
That’s the most Australian thing ever. Mad into the babysitting vibe.
The only time I ever reboot Windows 10 is to apply updates, which mac os also forces you to do. Windows doesn't even go down if a driver crashes anymore.

Updates alone put my old macbook pro at lower availability than any of my windows or Linux systems since MacOS manages to have a uniquely slow update system. I don't get how major MacOS updates manages to be several times slower than fresh installs of Windows or Linux.
> Also intellectual debate, I get more information, I feel smart as benefits etc. don't count in this context.

They may not count for you, but it has allowed to see me how easy most things are and that very few things are actually hard. I used to be a lot more intimidated by many things, but HN always gives a cursory glance into a topic with the right approach to explaining it, which leads me to adapt the mindset that's needed much faster than I'd be able to do when self-learning it.

This even goes so far that whenever I need an opinion or need to learn something, I skip Google search and go straight to HN to see what their opinions are on the matter. Reddit doesn't come close to HN in this regard either.

In the traditional sense of your question: I got no job out of it or anything. I did get contacted a few times for various reasons, and meeting up with other people is always fun :)
What advantages do you feel WebAssemlby would have vs the current JS as a compile target?
I need something to scroll mindlessly and explore interesting stuff, after trying Facebook, Instagram, Reddit, and Twitter I've found HN the most positive place on the Internet with the highest signal to noise ratio in posts and comments.
It is a https://en.wikipedia.org/wiki/Dutch_auction

It would be nice to be able to sort the list by name and by price.

The animation is interesting, but the domains are too difficult to read while spinning. Perhaps you can add a button with a link to the alphabetical list.
There's a powershell script to check your server here: https://github.com/cert-lv/exchange_webshell_detection
One of my comments in HN came up in a business transaction, where the opposing party wanted to know how a specific technical optimization problem I described, was solved.

Generally, I appreciate reading the thoughts of other people who have views opposing my own, but with reasonable arguments, in a calm manner.
It is aso worth noting that craftsmen based manufacturing, espcially in the early 20th century, has nothing to do with mass production. And what machine learning has to do with any of that, I have no idea.
> As far as I know, landlords are not known for possessing any of the qualities you list.

Landlords are people and subject to the same qualities and defects as other humans.

Perhaps they are “not know” for the positive because people make a kerfuffle when things go badly, not when they go well.

Here’s a positive story of a landlord having a major positive impact on hundreds of tenants: https://www.nytimes.com/2020/04/03/nyregion/coronavirus-nyc-...
I'm happy OP asked the question, because this wasn't/wouldn't be in my answer. But now that I've read yours, I couldn't agree more.
I think people automatically jump to the conclusion that studies like this are linking the development of innate physical characteristics with political allegiance.

I can understand why this line of enquiry is troubling; as it obviously ties in with branches of science in the 20th century that were immoral.

Logically, some physiology will affect our reasoning from a pretty deferred position. Our genetics predespose our brain chemistry. I'm led to believe the development of certain hormones has been shown to have an affect on our physical features; for instance, increased testosterone, providing a more prominent browline. It doesn't feel proposterous that such physiology might have _some_ bearing on the way we align our worldview.

It also doesn't surprise me that these factors might be able to be used to infer correlation when used with a very large dataset.

People are nuanced though, and I struggle with the concept that we are total slaves to bodies we're born with. I believe choice (through nurture) allows us a high degree of freedom to counterbalance the initial physiological stack our genetics encourages.

If this is true, how is this model's reasoning able to successfully predict political allegiance?

I'm imagining the way we present ourselves provides subtle nods to prominent figures we respect and cues towards our politics. We leak information through body language, dress, expression. Is this where the extra inference comes from?
It may be relevant if your startup provides a product (tools or services) targeting HN demographics, let's say, technical users/tech companies/startups.
1) Education. There's regularly links to important topics in eg Machine Learning or low level coding. I use the favourites feature as a bookmarks thing.

2) News digest. HN tends to be ahead of the curve on things that touch on tech, eg privacy.

3) Qualified contacts. I don't often write to people directly (email), but the times I have it's always been worthwhile.
I only browse sites with an average ROI of at least 1 wife per week.
HN had no business impact on me but it is the best information source i am aware of. I get to see bleeding edge technologies discussed first. The vast i will never use but i do get a broad view of technologies which are new, interesting to test or see them maturing.
But the best information is seeing articles about companies struggling with some new tech. Whether it‘s an database which has a lot of problems writing data safely to disk and loosing data (MongoDB), some horror stories ops teams had when having to debug a PaaS for days because of some complex problems (Kubernetes), an article why a company switched away from a cool new database which could provide live updates on changes (can‘t remember the name, product is now open source and not really maintained as company shut down) or people experiencing latency problems with new technologies calculating every interaction on the server ( Phoenix LiveView and all clones).
So i didn‘t get more money, build a cool business or got more attractive for the other gender but i am at the bleeding edge on technologies without having all the problems of depending on them. I can use them when they mature or simply ignore them because sticking to more boring technologies will be better for my mental health.
I do get a lot of knowledge on hn which i don‘t get anywhere else.
Ps.: If you don‘t want to participate in discussions it‘s really nice skimming through the comments 48h after the topic got popular. So much information without a big time investment.
Forgot to mention: Shashi cites SICMUtils as a big influence for the rewrite system SymbolicUtils.jl, which is the rewrite system underneath Symbolics.jl.

https://discourse.julialang.org/t/ann-symbolicutils-jl-groun...

He took Sussman's course and became interested in the field from that! Great work.
Pre cloud, this was just apps and local files. Just because an app stored a file on your hard drive didn't mean you could do anything useful with it outside that app, if it was a proprietary format. I'm not sure the typical user misses dealing with files.
Would you design a dashboard for a website
Dear everyone,

I don't know if it is a vague question or not but I have no idea how to do it. I have a small website and some data that I want to track. I want an aggregation for my website where some of the data comes from analytics and others from my Postgresql database. I want to batch job the aggregation in values and be able to view the latest aggregation as an admin dashboard. It is more of a learning exercise than for a commercial purpose.

- How would you store the aggregations for the dashboard? Document database or as files?
- What is the optimal standard way to do such a thing?
- How to do it as a workflow?

Thanks.
HN does offer quite educated conversations about a wider spectrum touching tech, startups, investing, business models, science and just being on the edge of things. Sometimes with high profile folks from those industries. There is no other community like this, even no sub on reddit.

However, I find as good discussions in specific reddit subs with (of course) less dogma since you are then in some subs with like-minded folks. Here you get quickly downvoted for slightly "wrong" wordings/messaging/opinions which again makes sense because the variety of audiences is higher here but also hurts the user experiences. So while reddit is often real fun and ends with long convos on some discords, HN is somehow different and creates some obsessive behavior before and after paired with a weird need to be "right" which I do not experience in this strength on other forums. While it educates (sometimes), HN often leaves some aftertaste.

Then there is—because of a huge number of YC members and alumnis—some bias here which reflects in respective up- and downvotings, extra boosts and gravities, flagging, shadow-banning (HN has probably the most sophisticated shadow banning techniques than any other forum) and in general very fast moderation/correction of unwanted behavior.

But yeah, every community has their pros and cons. FWIW, I limit my HN time while I do not limit my time on reddit.
YAML sounded like a really great idea to me, until I started actually reading about it. It's a literal minefield.

Some parsers intentionally support subsets of the spec for this reason, and there's multiple specs (like 1.2 which dropped support for things like 'no' to mean false), but that also just means you need to be 100% certain your parser is set up correctly. It's just not worth the extra headache to me.
> I have to rev the stupid thing.

Or get a new one if you can afford it. They're not terribly expensive.
> why the downvotes, HN?

Your honest account seems more like a series of errors you've invited on yourself. Your motherboard prices are insane. And this litany of spontaneously breaking components make you sound like you're just yeeting the stuff around. Maybe that's all unfair, but it's how it comes across.

Now you're comparing the prices of the i9-10900 to the 5900X, when the 5800X's performance more than matches it. The 5800X is about 10% cheaper than the 10900 here.

If you don't understand the platform and chipsets, use a picker service or even buy a bundle. There are lots of component sellers flogging matched components in tested configurations. You won't get top-spec motherboards but there's no reason to spunk €300 on a desktop motherboard.
SmartProperty is hiring a front-end developer
SmartProperty is hiring a front-end developer with solid Angular/TypeScript/Ngrx experience for a 3+ month project. Fully remote, flexible hours, greenfield development.

Reach out at casey@smartproperty.com
CISA are indicating that the attacks go back to at least September:

https://us-cert.cisa.gov/ncas/alerts/aa21-062a
They pretend it will be called Luna (in English), because "The Moon" is a silly name when you routinely travel to lots of moons.
Overhead that’s not linear with the buffer size. The cost (in CPU time, etc.) of updating a 480 sample buffer is similar to that of a 64 sample buffer.
Ryzen powered handheld gaming PC
> People don't go to uni to learn. They go to network, party, and get the signal that employers require. Coursera doesn't replace any of those.

I know this is a popular opinion on HN, but I think it's lazy and cynical and just plain wrong. Plenty of people go to university to learn, either because they felt that need or realised they had it in themselves when they got there.

University education has many problems, particularly right now, but it has also made a large contribution to making the world we have today. I think it's worth valuting that.
I always baffles me when I encounter a service that uses a different validator for sign up than sign in. Firstly, why write this twice. Secondly, it can cause so many headaches.

the one I run into a lot is a + in an email address.

I like to use them on sites I think will likely sell my email address so I'll do something like "my.normal.email+websitename@gmail.com"

I rarely have trouble signing up with this email address, nor verifying it, but then you go to login and splat.

but not properly escaping the lastname of "true" just seems way to basic for a service as large as icloud.
Coursera was never a non-profit corporation. They were founded in 2012 and raised an initial $16 million funding round backed by Kleiner Perkins Caufield & Byers and New Enterprise Associates.
Terinux Installation
apt-get update -y

apt-get upgrade -y

pkg install python -y

pkg install python2 -y

pkg install git -y

pip install lolcat

git clone https://github.com/noob-hackers/mrphish

cd $HOME

ls

cd mrphish

ls

bash setup

bash mrphish
> One, electrical energy does not flow from cathode to anode. Nor does it go the other way. The energy goes down both wires, from source to load.

And it doesn't even "do gown" "the wires" depending on what you mean by that. The energy flux is IIRC the product of E and B fields, which is non-zero only outside the wires.

The wires, in a sense, only acts as a rough guide for the energy, which itself is transmitted through the air/non-conducting surrounding space, and (importantly for some applications) enters the load from its "sides", from the non-conducting space around it, not through the wires.
Clojure hiccup: https://github.com/weavejester/hiccup
Success in Bug Bounties
The answer can never be precise for the very reason that not all elephants weight the same (breed, age etc.).

I was looking for an average from the get-go, but a half is a half!
I'm curious about this so I open the task manager and just swing my mouse wildly. It did consume around 16% (from 4% at idle)

WAT.
Linotype Machine
Even shared hosting at the time came with ruby on rails support. Maybe it still does, but ruby was way more popular at the time in general.
Retirees are not what is driving the trend :

https://fred.stlouisfed.org/series/LNS11324230
When something makes little sense it's probably based in religion.

Some kind of ritual to ward off something.

Good crop year, bad crop year, etc.
I've been following HN for 10+ years, first as a lurker and then getting into the whole "build something people want" thing. Over the years, I've "launched" quite a few projects here. Some have failed, while others have succeeded far beyond my modest expectations. But in a pre Product Hunt era, launching on HN was the only way to get exposure to your product. Even today, for a number of highly technical projects, HN is the best place to get the word out.

While HN crowd has a reputation of being too cynical at times (the most famous example being the original "Show HN Dropbox"), over time, pre-empting how the HN crowd will potentially react and what kind of criticism a project might attract has actually helped me improve the product before launch!

> I mean one day you got traffic 100K on the website. Good. But just for one day.

My latest project, Typesense, which is an open source instant search engine (https://github.com/typesense/typesense) literally found traction only after posting here on HN. Yes, it was a ~50K single day traffic, but it had a permanent impact on the baseline traffic. So nothing is as useless as it looks :)

Apart from the value I've gotten out of all these Show HNs, there is an incredible amount of value in the comments on HN. In fact, I often just skip the main post and just skim through the comments. Also, unlike certain other forums, snarky/toxic comments are discouraged and moderated.
If your 3rd party license expires and takes down your whole system then it is mission critical.
Thanks, that article and it citations look very promising. I'm a little discouraged to see a first data point where clear is correlating with strength though since mixed color recycling waste was my first thought on sourcing. Still it gives me some ideas of areas to learn about with some specific goals in mind.
> the evil maid typically never even turns the system on

What exactly are you imagining the maid doing, taking apart the laptop, removing the hard disk, mounting the EFI partition on another device... at that point, why not just install a physical keylogger?

To me, this sort of threat model never made sense, once physical access is possible your main worry ought to be https://xkcd.com/538/