skysight-inc/HackerNews huggingface dataset:
https://www.yahoo.com/news/cyber-expert-charged-huge-bulgari...

The tax agency is facing a fine of up to 20 million euros ($22.5 million) over the breach.
Status Saver - Save/Share WhatsApp Status
Remember mod_perl? is it still supported? Built a large ecommerce site in 2002 using embperl+mod_perl. Unfortunately, it was time for a re-write in 2017 and a new platform had to be selected since support is virtually non-existent.
Weird, I find this to be more frequent the case for people who work on large, long lived, legacies
For a company I worked for, we tested client side navigation and non-client (traditional) navigation for the admin interface. And then we asked the admins who use the site in question: all of them loved the client side navigation.

So you see, I suspect most users are not like the HN crowd and don't really care about command-click or the back button.
Somewhat related, I recently realized that Microsoft Outlook on Android fetches _all mail_ on Microsoft servers, then sends it over to the app. If this is mentioned anywhere when setting up the account, I totally missed it.

This led me to look for a "pure" email client that would _only_ contact my server. Popular apps like Blue Mail and myMail did not work at all behind a firewall that blocked random internet access.

I am happy to report that K-9 mail (open source) was what I was looking for: it never tried to access anything other than my mail server.

I wholeheartedly recommend using NoRoot firewall (or similar) to see just how many random servers your (flashlight) apps talk to (and watch them fail miserably when you block that).
So it sounds like people that study and work in those cities buy houses and live in them. Wouldn't it be good city planning to permit the construction of enough homes for everyone that studies and works in the area? Housing is only a zero sum game when there's not enough of them.
Is `shared_ptr` just used for convenience? I think `unique_ptr` would be excellent for this tree structure.

It's not too bad to traverse the tree using non-owning raw pointers.
That's why it is difficult to answer. But giving one person something that you tell the rest of the team would make them less valuable is clearly not OK.
> terrible, unmaintainable Perl scripts

Lucky you. At a previous workplace I had to cater with actual binaries produced from C source code that contained strings that contained script tags that contained JS code that generated HTML. I’ll let you sink that in and process the escaping.

Apparently it never occurred to some people that they could read those from disk, even from the C program.
All the time. There are a lot of reasons people write really bad code and being a bad programmer is only one of those reasons.
The API between the SPA and the server is an internal implementation detail that doesn’t need to support interoperability or backwards compatibility.

I see no reason to believe interacting with it directly is easier than scraping an HTML page. (In fact, I’d expect it to actually be much harder and more fragile than scraping html in practice)
That's very cool, thanks for the info.
The circuit is not a circuit :'(
I'm guessing this was quickly hidden by Google staff based on its severity? Unless this was released following responsible disclosure practices, in which case I don't know what I'm talking about.
Housing prices are slow to fall as owners delay sales, but, as we saw in 2009, they do fall when the fundamentals change.
India Could Be the First to Land on the Moon’s South Pole
Partisan: Scaling the Distributed Actor Runtime
Do you mean using an array instead of map for storing pointer to the next node? Conceptually, an array is just a map that uses an integer and identity function and the hashing function.

In practice, the map implementation trades speed for space efficiency.

For an array implementation, the entire array of pointers has to be allocated for all possible character set for each node. This leads to wasted space since trie nodes usually only have child pointers for a subset of character sets. Map implementation don’t have to allocate space to store pointers for the entire character set, so it can be more space efficient. However, the hash function is probably an order of magnitude more cycle than that for array (usually just the ascii code with offset and some bound checking).
Please don’t assume US companies are stupid. They know what they are selling and whether they are paid enough. In most cases it’s just about giving away some about-to-be-obsolete tech for some big money.
They basically tried this with the google + integration . But that was its own mess also
I think its a legitimate criticism of reductive statements against an arbitrarily selected group of people.

It's an effective strategy to point out "don't say this about this selection of people if you aren't willing to start saying similarly about its opposite."

I.e. one might not realize a blanket statement about the habits of 22 year old men is incorrect/untenable until someone points asks one to do the same for women, at which case for whatever reason cultural training or mechanisms for avoiding prejudice kick in.

I don't see someone trying to be offended - I see someone challenging a baseless assumption about an arbitrarily defined group of humans. No matter how you draw those lines in your selection criteria, you're going to get it wrong for a not-insignificant group of that selection, so why bother? Just don't make such blanket statements.
I agree you have a point regarding geographical fluctuations, but perhaps prices in SF might be limited somewhat by the franchise agreement?
I wonder how such a breach will affect pay equality in the country. Theoretically soon everyone could publish how much the different ranks, genders, etc. in each company are making, and give people a nice data to start negotiations from ...
Here is the C library that I have used in the past:

https://sourceforge.net/p/libccgi/wiki/Home/
“Hot or not” directly or indirectly inspired the launch of Facebook and YouTube. Amazing! If you want to learn more about “hot or not”: https://youtu.be/uagKWIEffq8
Lambda is still single threaded, right? You will only be sent one request at a time per process. So now its at best FastCGI.
Having worked in the finance industry developing risk models for clearing houses, I can safely say that the problem is a lot worse than the authors make it out to be.

Regulators across the globe, practically all of whom are wholly ignorant of what they regulate, demand implementations of their tabular formulas which are often highly specific rather than generalized and so become obsolete as quickly as people find gray spots in the formulations and ways to circumvent the intentions of the regulation. Basic it reads more like law than math and it doesn’t work.

That means all costs go to implementing these sub-par models leaving no room for innovation.

In the end, common people will have to foot the bill and regulations will get even worse. Vicious cycle.
Medium is most certainly not "great".
A media gallery website is a good example of a use-case for client-side routing.

I worked on a porn site that was basically an endless-scroll video gallery. Clicking a thumbnail opened the video in a modal overlay. All pages on the site were modal on top of the gallery in the background. You could deep link to a page and the gallery would load in behind it.

It worked really well and had great UX.

This generalizes to any website that has some sort of overall state between page transitions, like soundcloud.com playing a track as you click around.
I think this is really cool. For simple stuff where you just want light and fast, it's good to see an ASM rewrite.
Just use the history state pushing API and it's not that hard. Put state information in the url and load the right content on refresh.
Do you have an example of a site which does it well?
I don't think there's need for smart pointers at all, really. The "children" member could just be an unordered_map<T, Node>.

Edit: on second thought, having a class contain a container of itself actually isn't allowed (though you would think it would be in cases like this).

Edit again: apparently it depends on the container. unordered_map does not allow instantiation with an incomplete type, but other containers do (e.g. vector or map).
What opportunity? To rile up partisan political fervour?

It’s quite simply not the subject at hand.
Exactly! I have never heard this bit about Hindus being anti-moon mining anywhere. On the contrary, we have always been fascinated by Space: be it in our scriptures or even modern day. I wonder where this misinformation stems from!
How often, in general, do you think parents buy houses (or the down payment at least) for their children in a hot market like SF? AFAIK, quite often, especially in expensive places like SF. It doesn't just happen to parents of international students as well, I know there are boomer parents buying houses for their children.
It's possible that you may be inadvertently behaving in ways that amount to "sexual anorexia", a pattern of actions that amounts to self-sabotage where you unconsciously prevent yourself from getting the very thing you want. Maybe these will offer a different perspective:

https://saa-recovery.org/diversity/isa/

https://www.slaauk.org/is-slaa-for-me/anorexia-sexual-social...
Yes, most browsers have moved away from tracing JITs, but I think PyPy still uses it in addition to LuaJIT. The reason I brought it up was because tracing JITs, as far as I am aware, can give very good performance in the best case where your trace actually works (which is of course a bit of a dirty trick, but when you're up against C++ it's hard to play fair…)
Wonder how this growth will continue now that cities are wising up to the massive damage the platform does to our communities.
It's the customer who is being arrogant by demanding that a company change its business model because he doesn't like it. If that customer wants to have their own expert on call during hours that are convenient, they should hire an employee.
It’s amazing how so many people don’t know this! I actually met my third wife on the original site, it was a different time.
But you can support both with client side navigation
I also would like to search for videos by date of upload for example. Is there a way to do that? The on-site search functionality on youtube is abysmal. Especially the auto-reset of the filters upon changing the search term is so incredibly annoying.
Awesome, please continue!
Care to share any examples of current research that maintains a high carb low fat is in any way optimal?

As an (albeit) non-credentialed, but still deeply research and evidence-based nutritionist and health enthusiast, I can tell you that you’re deeply, exquisitely wrong. The link between high glycemic variability and almost every case of chronic disease is so well-established at this point that the only people that don’t know about it are the average layperson reading the news or fitness magazines for their nutrition advice, of which cohort you seem to have placed yourself.

As an Ironman athlete, I intake between 1-200 grams of carbs a day, but most of them rank very low on the glycemic index. Most high carb diets are replete with high glycemic grains, breads, and pastas that are not only oxidatively stressful on our guts and bodies, but deleterious to health in the long term.

Do your research.
Right now I'm experimenting with the sheets functionality in Notion, mainly for book and web quotes in my case, but there is a lot of things I don't like. The mobile app is sluggish, and the display options are not ideal for this usage. I think it would be awesome if it would have an API I could work with.
The idea exists but it's clearly not true, except perhaps in specific, niche uses like re-rendering a continuously refreshed graph. Even for your image gallery, it makes for confusion. Back button does what? Shift-refresh does what? Just let the browser do what it does. If you want the images to render fast, use HTML 2.

Writing a web app with server side pages forces you to think about where the state lives. This is a beneficial discipline.
For many purposes, it is not, and some of these use cases will be addressed in PHP 8.

https://news.ycombinator.com/item?id=19535564
I certainly can. It was just not necessary because the people who are using the site didn't care.
If you look at his resume from a sibling comment of the one you were replying to, you’ll see that his experience is in industry, not academia
Ask HN: What are some terminal tricks you wish you knew sooner?
Here are mine:

1. create aliases for everything in ~/.bashrc to speed things up

2. window stacking / multi-tasking in iTerm with cmd + (shift) + d

3. turn on vi(m) syntax highlighting by adding :syntax on to ~/.vimrc

4. use jq to format and colorize json files / streams with the pipe | operator (so useful!)

5. Generate a custom command prompt at http://bashrcgenerator.com/ (just for fun)

I really like this topic, so made a video going into more detail on mine, if anyone's interested
https://youtu.be/okGN2RXFw_U
Price discovery is not rational, it's sociological. I still remember the "I Am Rich" iPhone app.
Which is Dropbox’s fault with their terrible pricing. The next level up is super expensive. Instead of making it a good value and easy they did the opposite.
I've implemented a red-black tree a while ago and wrote a post about it: http://jstimpfle.de/blah/rbtree/main.html

Technically it's been a solid implementation and the post probably contains a few helpful bits. But I overengineered the implementation by splitting in too many source files, and relying on source code generation.

A much cleaner "no bullshit" version of it now lives as part of my current project: https://github.com/jstimpfle/astedit . I've also added augmentation facilities (not heavily tested). I think it's pretty good, I just might open up the internals even more than they already are.

(I think the std::map approach from STL definitely has merits, especially when one needs just an associative container, quickly. But it's not a very efficient nor flexible approach.)

That project also has a text rope implementation that uses the red-black tree. I think a rope is much like a B-tree, but I might be wrong.

Also have a look at the linux kernel rbtree implementation. But I think it's not easily usable outside the linux tree.
The honor system in the university trusted people to not cheat and they did not proctor exams. That doesn't mean cheating was condoned. If two students made exactly the same mistakes on an exam, there'd be an investigation, and consequences if it were found they'd cheated.
hyperlink btw https://youtu.be/okGN2RXFw_U
I think copy-paste implementations should be changed to insert a space when the input text changes height like that.
It also makes sense to buy lots of kettles and designer handbags when you're a merchant of kettles or luxury goods. You could make a case for anything, but some of those scenarios may be more relevant for the general population than others. I'm sure that for most people spending in real estate or education may be better than spending in fine wines, holidays or luxury cars.

> Everything is a tradeoff.

Absolutely. You trade work against money and money against stuff. You could have more money and less stuff. Which means having less stuff now and more stuff (or less need to work) in the future. Because money and debt are tools to move consumption between the present and the future. That's the point. It's a choice and nobody is limiting your capacity to consume in the future by forcing you to consume today.
Well, an unordered_map / hash map is in the end backed by a dynamically sized array, so "Map implementation don’t have to allocate space to store pointers for the entire character set" might not be true for two reasons: (1) there _is_ an additional allocation* that is not present in the std::array case for the dynamic array and (2) there is a default size of this unordered_map when nothing has been inserted yet, are you sure it's smaller than 256 elements?

* Well, maybe there is something like small vector optimization going on for small unordered_maps, though.
That’s not what it’s worth, it’s what some seller asks for it.

It could be a scammer trying to make the book look rare (https://www.nytimes.com/2018/07/15/technology/amazon-used-pa...), or it could be price-setting bots derailing each other (http://www.michaeleisen.org/blog/?p=358)
Sending a hash of the URL or individual parts of the URL is problematic because the server can easily execute a dictionary attack to identify those parts in most cases.

The "Google Safe Browsing Update API" (used by Firefox, Chrome, Safari and others) solved this a long time ago. In that protocol, the browser hashes the URL, sends a short prefix of the hash to the server, and receives a list of hashes for the URLs that should be blocked. A huge number of valid URLs all hash to each prefix and the server does not know which one the user has visited. Also, the client caches the list of hash prefixes for which the block list is non-empty, to avoid unnecessary fetches of empty lists, which further improves privacy and reduces response time.

Also, the client doesn't send any kind of user ID token to the server.
That's possibly because Taleb does not have a good reputation among most experienced professionals (in my circle in the hedge fund industry). He talked a lot of sense, but then failed to put most of it into practice. In other words, he isn't earning money from what he preaches, he earns money from the preaching.

It's all nice and dandy to say "you have to be anti-fragile, expect the unexpected, yadda yadda yadda...", but putting it into practice is extremely difficult. I don't know of a single institution who did so with an audited track record. Sure, there are (were) many tail event specialized funds, but these will not be providing regular income as one would expect from most funds. Rather, they'll tend to constantly bleed money (basically an insurance premium), and then pay out larger sums when the "midden hits the windmill".

Even looking at something like 2008, it is often cheaper to just accept the occasional drawdown and weather the storm rather than buy protection against it, because of the amount of headwind your investment will face in terms of the insurance premiums.
I realize this is not at all optimal for sharing, and I've played with some static site generators for this (but it's way too much work)!

I think a webapp for this would be simply awesome. (Sharing quotes and text snippets through collections).

I'd love to know if someone has another suggestion
dillo is my weapon of choice
FreeBSD lived with that up to circa 2010, afair. Few fast-pulling desktop linux trolls complained at the time, but nothing serious.

Anyway, if given such choice, as a user/admin I would prefer an instant fail with a panic message, rather than a corrupted 10gb online client database with no clear recovery path. I’m always scared by this kind of story when something fails to fail underneath and I even didn’t ever hear of it.
Its also really not that hard to make cmd click + back button to work properly with client side nav.
> with regular old <a> elements that have those URLs as href.

This is the most common problem I have. I middle-click and nothing happens (or it loads in the same page)

That being said this is partially an API issue since the website needs to guess what a "regular click" is. It would be nice if there was an "onnavigate" event which would trigger for regular clicks (or other ways to follow a link in the same page) but not for things such as "open in new tap" shortcuts.
Given he has work experience from prior to his university dates, it’s more likely that he got his degree after having already worked for a few years.
The thttpd server is efficient in the extreme, can constrain itself to a chroot(), and is able to execute CGIs.

In that environment, even the largest attack surface will have great difficulty escaping confinement.
>So a journalist or whistle-blower should use Play Store instead?

Of course. There is nothing wrong with the play store per se in this context other than it not being FOSS.

>A build that can't be reproduced is also a security threat.

No. That's not the issue. F-droid has its own requirements which basically boil down to building software in their own debian VM with no/limited external software. That's an orthogonal engineering issue unrelated to security outside this narrow scope. There is a lot of upstream software that cannot be 'built' by f-droid. It can demonstrably be built if you follow the upstream's README.
Sure, web performance is an afterthought at many places and the more people work on a certain project the worse it gets because each team has its own motivation, but they all have the same target to shoot at.

I think there's a connection between the organizational structure and the bad frontend experiences and this is almost always overlooked in these discussions. This is no surprise of course, we only see the crappy end result and blame the technologies, but this is superficial.

It's usually not the certain technology that's problematic (SPA, history api, react, angular, webassebmly...) but the use of them without understanding the problem first. That's why I find it funny when I constantly read general comments here like "SPA-s are the worst".
They look up your information. This is done millions of times every day by law enforcement. The physical ID just speeds up the process. It's not a "judgement call" to believe you or not when it comes to identification.
This is awesome! Thank you! This should make the Boolean equations in the manual quite a bit easier to decipher.

XOR isn't monotonic — you can't make X ⊕ Y with diode logic given just X and Y, the way you can make X ∧ Y and X ∨ Y. However, you can make it given X, Y, X̄, and Ȳ. I'm not sure if you can make it with X, Y, and just one of X̄ or Ȳ.
Agreed.

I found that the best way to get reliable ops long-term is to mercilessly dive into the code for every issue encountered, and fix it at fundamental level.

It takes significant time, but after following this practice for a while, things start working reliably.

I'm currently doing this with software like GlusterFS, Ceph, Tinc, Consul, Stolon, nixpkgs, and a few others.

In other words, try to make it so that none of your components is a black box to you. Own the entire stack, and be able to fix it. That makes reliable systems.
"You don't have to download all the content again" is also true if you version your assets and use a CDN with far-future expiry headers.

If you need an HTTP connection to download a section of HTML for a new part of an SPA it won't be that much different from a full page of HTML, presuming you compress the transfer as you should.

"Of course shitty implementations exist" is true of a non-SPA setup too.
Maybe you are not from Bulgaria. The taxes are pretty low - 10% on pretty much everything - capital gains, on your salary, etc. So there is not much tax evasion.

But there are worse issues here, for example: corruption, stealing of European and government funds, oligarchic control of the power, etc.
What Is Nano?
Is any browser that utilizes WebKit extensions at risk or just chrome?
So we can modify the original statement to include instruments that can play slide and play quarter notes, like a cello.

That said, I don't see how your comment adds anything to the point the author was trying to make.
He claimed in the article that a MDN developer said that was the reason.
Agreed.

For the standard implementation, the dynamically allocated array may be bigger than 256. I would imagine, since it’s C++, it’s probably possible to set the initial array size.
Not necessarily. I don't think people expect to have to individually map pixels in their PNG's in order for a page to be hand-crafted, either.

But it certainly is a gray area.