skysight-inc/HackerNews huggingface dataset:
These things don't make it safe in the security sense. They just help against memory leaks.
> Can I ask, what makes that setup "not cloud" vs Amazon S3?

"The data is not mirrored onto other servers." says it all.

It's like renting some shared space on a dedicated server with auto-monitoring.
#FastBooking Hotel booking software firm suffered a #databreach
Volkswagen Engineers a Win at Pikes Peak Hill Climb – Design News
Windows 10 update broken Google Chrome? Microsoft releases new fix
They're also working with ICE, the agency that imprisoned thousands of children.

So you know, there's that.
Ask HN: Selling a business with $70K/mo net profit. Leads for buyers?
I'm getting ready to sell an online business and I'm looking for leads on possible buyers.I've got a couple of leads already and have spoken to a couple of brokers who would be appropriate for this type/size business, but I'm having trouble with the idea of giving a broker 10-12% commission on the sale. This is a squeaky clean business that will be easy to DD and I don't even need their help creating a proper prospectus or communicating with buyers. It's mostly access to their network that I'd be paying for and I have a hard time paying hundreds of thousands of dollars for that.

I'm averaging $70K/mo. net profit over the past quarter with 95% YOY growth and the business is just about three years old. It's an online service business that leverages technology and skilled human labor with 70% gross margins, diversified traffic sources and very minimal time requirements from the owner as I have a fully remote staff in place. Lots of room for continued growth and a solid road map in place to achieve it.

I think this is probably a fairly rare offering as I've been watching the brokerages for the last couple of years looking for something good to buy and haven't seen much comparable. This is the kind of business I've been waiting for to buy so a little ironic that I'm the one selling it, but I've got a couple of new projects I'm more excited about that are more swing for the fence type projects.

One is algorithmic trading of cryptocurrencies, which is doesn't require any of my time, but I'd like to significantly increase the capital involved. The other is a B2B SaaS startup that I built the MVP for to satisfy a need of the business I'm selling as I couldn't find a solution on the market. It has a much larger potential than this current business and is the main driver of the sale as I want to give it my focus.

Anyhow, if you know someone or if you yourself might be interested, drop me a line to this temp email: throwaway37473@gmail.com.
There are a lot of lessons from the 70s/80s even 90s that are completely absent from today's personal computing environments, and they are ripe for a comeback. Oberon/Genera-like systems had one thing right: make your system reasonably transparent all the way down. Design hardware for the system — not the other way around. Smalltalk systems went a step further, showing not only what true OO could be like, but that you could layer relationships of complexity atop one another and allow regular users to peek under the hood, at varying degrees of detail and difficulty, as they needed. Apple had something close to this with Hypercard in the 80s and 90s.

Unlike that previous era, we have big advantages today that make me think the world is ready for reconsider all of this. The first is that we have more universally adopted standards for exchanging data (we don't bitch as much about compatibility across systems). The second, and somewhat related point, is that we can assume high network connectivity most of the time (itself a kind of universal standard). As I've said before: all a new system needs in order to be "viable" to the existing world is a web browser. Everything else can be rethought.

Today I will be doing yet again another project for a client who simply needs to have data pulled in from a bank as CSV and inserted into their existing Excel template. This is in theory a very simple programming task. But the ecosystem and our environments make it tremendously and unnecessarily difficult. If we had "real" personal computing, they wouldn't even need someone like me.
>Can you write code that is completely safe?

No. The modern C++ features like std::unique_ptr and std::shared_ptr replace old patterns of "malloc()/free()" and "new/delete". This ensures correct cleanup and avoids leaking memory.

However, there are other topics of "memory safety" such as preventing runtime behavior of buffer overruns and writing to invalid pointers. The virtual machines like Java JVM and C# CLR create a constrained memory area with extra runtime checks and the new C++ language features don't replicate that type of memory safety. Also, those "managed" languages don't expose raw pointers as a 1st class programming feature (e.g. don't use "unsafe" blocks) so that in itself creates an environment of extra memory safety.
Apart from what you have already said, there is not a great way I think.

Perhaps one way is that if instead of harvesting user data for advertising profiles, you could instead sell anonymised user data for things like machine learning purposes. For example if you base your platform around music, you could provide a dataset of favourite bands split across various demographics.
Because this is a struct, not a tuple. Historically at least, I expect C/C++ structure elements to be identified by name rather than by declaration order. Changing the declaration order ideally would not silently change the meaning of code that uses the struct.

I realise that C++11 structure initialisation syntax already blurs this distinction. That's already a bit dangerous in my view, although in both cases I can understand why they chose to do it that way.

Are there other languages in which struct (not tuple) bindings happen by declaration order?
Try getting moderate and high value MLCC caps on Digikey. Pretty much zero stock on everything. It’s affecting my electronics production. Why the hell would Trump put tariffs on parts where there aren’t even domestic manufacturers?
Microsoft doesn’t have much impact in the SF area. It has been around a long time before the current rent/wage inflation bubble and is based in the Seattle area which is much cheaper... Netflix is legendary for paying some of the highest salaries in the bay areas.

I’ll tack this on since I didn’t think of mentioning it earlier and it’s relevant to the original post... on the low end of that range assume 10k/month in gross wages, subtract 40% in tax and another 3k in rent for a 1br apt and another 1k for car + insurance + parking + Internet + phone etc. Now you’re at about 2k left over in net income monthly.

This is an expensive area. Don’t just look at the gross salary, I’m not surprised that 117k is about the minimum you would want today. I don’t know how any non tech people can afford to move here and I understand the squeeze on people who are making much less. It doesn’t seem sustainable.
> The snippet I posted is a small bit of inline CSS at the top of your page that hides all page content for 8s. There is no JS involved

No, the inline CSS is added by amp.js.

> > the entire purpose of AMP is performance

> I'm afraid you are sorely mistaken (See the comments on any AMP-related HN submission if this is news to you).

I wrote a bunch of those comments. Now Malte is allowing people to host AMP content on their own domains I trust it a little more.

> The motivation is to artificially degrade the experience for any users that choose to block 3rd-party AMP tracking scripts.

AFAIK amp.js doesn't do any tracking on it's own - you need an analytics module to do that. Do you know differently?

> > I don't know specifically what amp.js is doing
> this kind of wilful ignorance is a little ironic

Not really. Do you know your CPU microcode well or would you consider yourself wilfully ignorant? Perhaps rather than being wilfully ignorant, I choose to focus my time on what matters to my customers (with a side of arguing on Hacker News).
Indeed. One would exponentially extrapolate science.
There's also the website (referenced in the paper) :

https://darkpatterns.org/

Edited to mention : the Hall of Shame seems to be down.
B2 doesn't have folders.

The online interface simply assumes that a slash in the filename should be represented as a folder; and they encourage apps to do the same. I believe they also enforce a max distance between slashes that is smaller than the max filename length.

What this means is that their is no way to, for instance, query what the root directories are, short of listing all files.

If you have a directory, you can list its contents using a prefix search (although the prefix need not be a directory, and this will not just list the toplevel elements)
I am going to create an iPhone app "meditation radio". Since long planning to do it but this weekend I am going to finish it :)
I don't think you can ever write code that's completely safe then, if nothing else some processor flaw will come along and ruin everything.
Spain leads the world in organ donation. What’s stopping other countries?
9 Simple Steps to Website Speed Optimization and Major Reasons Why It Matters
Ask HN: Teaching programming in computational biology?
Hi everyone,

I work at a university institute of computational biology. Besides doing research, we also teach quite a few courses for biology students, many of which include an introduction to programming (mostly with R, but also Python). We have a long-standing debate as to what the best approach to this is, and I would like to hear some of your opinions on the matter.

Basically, we have two factions: the "tools-first" and the "fundamentals-first" approach. The supporters of "tools-first" argue that we are teaching biologists, not software developers. They like to teach the specific tools (languages, libraries, functions, etc.) that our students are actually going to need as quickly as possible. To cover as much ground as possible, they are willing to sacrifice a deeper understanding of programming.

The "fundamentals-first" faction would prefer to do it the other way around: instead of teaching a load of commands to learn by heart, they would rather take more time to develop a programming mindset. They are willing to sacrifice how much content course participants learn, if it means that they learn how to program properly and fully understand how a given language works (with its variables, functions, scoping, etc.). Their argument is that once you have understood the concept, teaching yourself the content is easy (GIYF); whereas the reverse is much harder.

What do you think? I would be especially interested in the opinions of other computational biologists ;-)
You assume that the point of using types is readability, which is false.

Types let the compiler reject a large set of invalid programs, which would otherwise produce a runtime error in a dynamic language.

for (auto foo : foos) {
foo.bar()
}

I don't care about the exact type of `foo`, so I let the compiler deduce it behind the scenes. However, I still want it to break my build if `bar()` doesn't exist!
This is a possible but not very likely scenario. It depends on your data serving a single purpose and continuing to serve a single purpose indefinitely.

In my view, the reason why so many people are returning to relational DBMS for the primary data store is that data tends to live longer than you think and serve more than one purpose over time.

Choosing the "right tool for the job" is easier said than done if the job keeps changing.
Tell US Congress Not to Pass the CLASSICS Act
What recruiters search for when stalking your social media?
> The output is consistent if your tab settings are always the same when you look at your code, and you use the same tab size across all languages.

I don't really understand what you're getting at here to be honest, surely if you change your tab settings it's because you want the code to look different?

> I view code in multiple ways, have different indentations for different languages (not many different now),

This is exactly what tabs are great for! You can set the tab width based on language without having to force that choice on anyone else.

> clients that enforce difference indentation settings

Again, formatter.
Software Center Progresses – The Roundup #6
In the .NET / Microsoft world "SQL" has been synonymous with "Microsoft SQL Server" for years. GP could just be from that background.
It's to avoid having to write out complex types that the compiler already knows about.

It's particularly useful with generic code that makes heavy use of templates, or code that uses iterators. In these cases, it just isn't that useful for the reader to know the exact type.
Can I use B2 as replacement for S3? Namely, I need "get upload URL" like pre-signed S3 URLs.
Don't forget Commodore's marketing was so terrible, they were lucky if anyone saw the Amiga at all! The only reason I knew about was a fellow BBSer convinced me it was a much better deal than anything Apple was producing at the time.
Same goes with Tumblr and Yahoo for example, where everything is enabled by default and you have to go one (I'm not talking about 10-20, it's more like +300) by one to enable the tracking done by advertising/marketing companies.

One of the better thing is, though I don't want to advocate the behavior of auto opt-in at all, that most of these sites are at least using something like TRUSTe or Oath, where you only have to disable hundreds of marketing services once and are done with all the sites, which are using the same service for cookie consent.

It's against the law to make the options opt-out but these companies are still trying hard to don't obey by the law, it's really comical.
This article is literal nonsense from start to finish without a single compelling or novel point.
> If you think that GitLab (the company) is any better for your data than GitHub (Microsoft) you are incapable of understanding economy and capitalism.

LOL that's quite the generalization. How about the argument that with GitLab you don't have vendor lock in since you can export and run your own instance at any moment? Seems like a compelling reason for GitLab to be a better place for your data.
I assumed he meant MySQL, but now that you bring it up I wonder what other people thought he meant?
auto can be very handy in writing template code; situations in which the type depends on the templated type(s).
Accord to Backblaze the retention period is thirty days for the personal plan [1]. Where do you see six months? If a file is deleted on the source device, and the deletion is synchronized to the BB repository, the recovery window is 30 days.

[1] https://help.backblaze.com/hc/en-us/articles/217666628-What-...
>Popper’s idea that scientific theories must be falsifiable has long been an outdated philosophy. I am glad to hear this, as it’s a philosophy that nobody in science ever could have used . . . since ideas can always be modified or extended to match incoming evidence.

I don't know what is the context of this quote, but this sounds like a deep misrepresentation of Popper's position. As far as I know, he explicitly addresses the issue of ad hoc and auxiliary hypotheses. Unless this is part of a bigger point about some the "fine-tuning" of theories i.e. just how much the main proposition can be off the mark given the additional hypotheses.
Seriously, it took me something like 10 seconds to parse your parent post.
How a negated chain of if else would ever be easier to understand than a much simpler !a && b really defies my understanding...
I’m actually starting to worry about how much of this type of anti science stuff is getting pushed. It really feels like a campaign of some sort.
Eh, there's no shortcut to experience. Beginners are going to get ideas from _somewhere_, without being able to thoroughly judge them. And they'll try some, and eventually they'll figure out what works and what doesn't. I thought this article was reasonably clear that it did not offer a silver bullet, just some structures to watch out for, consider, and maybe improve.
Git Tower 3 Switches to Subscription
Open that link in a private tab to insure that it works.
I agree with all of your points. I didn't understand this however:

>"and having a different address class for multicast makes implementing multicast more convenient."

IPV4 has a different class for multicast as well - the first 4 bits are 1110. IP range 224.0.0.0 - 239.255.255.255.

Or did you mean something else?
Superior orders, often known as the Nuremberg defense, lawful orders or by the German phrase Befehl ist Befehl ("an order is an order"), is a plea in a court of law that a person—whether a member of the military, law enforcement, a firefighting force, or the civilian population—not be held guilty for actions ordered by a superior officer or an official.[1]

The Nuremberg defence is widely regarded as invalid.

1. https://en.m.wikipedia.org/wiki/Superior_orders
We already have functional laws against misleading (not just obvious lies) advertisements, so it should be no stretch to have similar ones for misleading instructions.
That means very little. As the UK is demonstrating, members can invoke Article 50, begin negotiations on the parameters of future relations, and exit. Luckily for the UK, the EU very much does not want the precedent of secession, which gives the UK a small but workable amount of leverage.

In either case, changing the relationship with the EU will require negotiation, with the EU in a position of strength due, among other reasons, to the size of the single market and the awful BATNA virtually ensured by the guillotine clauses. However, full EU members looking to leave have a better negotiating position than Switzerland or EEA members.

EEA or EU members can leave any time. But when you leave, you lose access to the single market, and your economy will take a nosedive. If you're not willing to pay the price to leave the single market, you're going to have to follow EU directives and regulations. If you're going to have to follow EU directives and regulations anyway, isn't it better to at least have some say in those promulgations and insist on full EU membership?
> Historically at least, I expect structure elements to be identified by name rather than by declaration order.

then... just use the struct directly if that's what you want ? But a single binding can map to multiple structs, especially in generic code :

template<typename T>
double dist(T point) {
auto& [x, y] = point;
return std::sqrt(x * x + y * y);
}

should work with T's that look like

struct Point { float f[2]; }

or

struct Point { float x, y; }

or

struct Point { float p1, p2; }

or

std::tuple<float, float>

or ...
I think it was introduced to help with things like lambdas, or other structures that the coder may not know the type of, or it would be difficult to work out the type.

Then the usage of auto was expanded to help when writing generic code.

I think both of these cases are valid uses of auto, but people seem to have run away with it and will literally use it for statements like auto i = 0;

As a professional C++ coder, I personally don't have a problem with auto (or var in C# for that matter) but I'd prefer people use it where it's useful rather than for every little thing.
Swift and JavaScript Comparison Snippets(2) – Basic Operators
I'm an arm-chair economist but here's my take on it.

Trade is like water: it takes the path of least resistance. These tariffs aren't aimed at hitting China, they're aimed at preventing the steel that China used to sell to the US instead being sold to Canada, crashing Canada's market of steel. Essentially, if China can't sell the steel directly to the US, they'll price it such that Canadian (in this example) steel consumers purchase it instead. Then, Canadian steel producers wind up getting punished by the US tariff on Chinese steel, because their prices are driven down due to the flood of excess product.

The WTO allows this as an exclusion to the 'most favoured nation' rules of the GATT, specifically under the anti-dumping agreements [1]. That is, whilst normally a country must present the same tariff on a given product to all other countries in the world (it cannot favour or punish any particular nation), if the nation believes it is going to suffer the effects of dumping from a particular market then it is entitled to raise tariffs equivalent against that specific market to protect against that.

This whole response to Chinese steel is largely due to their significant oversupply. They really rapidly expanded their steel production well above global requirements when they entered the WTO, well above what global demand dictated. In 2000, the worldwide industry was about 800 MT. Today, China alone does more than that and accounts for a full half of total worldwide production. As a result, Western steel production has buckled under crashing prices [2].

My take is that these actions are therefore largely politically protectionist in nature. They're aimed at protecting domestic industries rather than punishing China for any human rights issues. I highly doubt that this will cause the CCP to approach their human rights differently. Instead, I suspect they will redirect their attention to some other labour-intensive industry and try to gobble that up, as it will be their best way to offset the significant job losses that'll come from a cooling Chinese steel market. Specifically for the HN crowd, I think this will be the tech industry, as China talks about wanting to move up the tech chain - see their "Made in China 2025" policy [3].

If you are interested in this stuff, there's a very good podcast called "Trade Talks" [4] which discusses precisely this - the economics of global trade. Several episodes are about the US tariffs and their likely effects. They look back to previous examples, not just from the Great Depression but also more recently agricultural tariffs and how they affected South American exporters for example. I would highly encourage anyone who is interested in this topic to listen to at least a few of the episodes about tariffs.

Yeh, I've cited Wikipedia. It's late and I'm lazy

[1]: https://en.wikipedia.org/wiki/Dumping_(pricing_policy)#Anti-...

[2]: https://en.wikipedia.org/wiki/List_of_countries_by_steel_pro...

[3]: https://en.wikipedia.org/wiki/Made_in_China_2025

[4]: https://twitter.com/trade__talks
"Think less of them."

That's a horrible metric to apply measuring 'human worth', whatever that is. Humans are by default wired to do what everyone else is doing. Just using Facebook because everyone else is doing it as well is what humans do. They flock to the communities and forums where the action is. They cannot comprehend graph theory intuitively and what power Facebook potentially wields in interfering in their lives.

Governments are supposed to protect people from threats the masses cannot comprehend. Like example taking care of vaccinations.
Villains comes in all shapes and sizes.

MS was, and possibly still is, the classical abuser of market position. The kind that age old antitrust laws were written to combat.
That person never claimed they were the norm, or even remotely so. They mentioned having plenty of friends who had no ill effects beyond being perceived as lazy by the poster. They shouldn’t have to put a disclaimer on their post saying their negative experience may be an outlier any more than anyone espousing a positive experience should put a disclaimer saying that negative experiences are possible. By arguing that all people espousing negative experiences should also add that they might be outliers, I don’t see how it isn’t merely presenting a skewed view of the situation from the pro-marijuana side.

I should also note that when people have bad experiences with medication like ibuprofen and decide that it isn’t for them, people don’t respond by invalidating their experiences and position in the assumption they just aren’t educated enough about how to use it.