skysight-inc/HackerNews huggingface dataset:
I have been smoking for some ten years, and a few years back i started becoming afraid of getting high. It's no help that my country is ridiculously behind the times - you can get up to eight years in prison just for having cannabis on you, regardless of amount (and hey, we're in the EU, who would have thought!) - but the thing is that it really becomes very easy to go on a very unpleasant tangent, start overthinking, overanalysing, worrying and finally panicking about things - and my "panic pony" is my job. Once I start thinking about it, it's almost always a guarantee of a bad experience. So I started getting "afraid of getting afraid", and significantly cut down my cannabis use to, well, near zero: I still use it socially maybe once a year or two. However, even though I am a very occasional user, I found that anxiolytics such as xanax in small doses offset the paranoia pretty well. Also, edibles are much more mellow in my experience - you are not just "thrown" into the state, but rather edged into it, and it gives you better control.

oh and also, as with all psychedelics - set and setting are very, very, very important.

well that's my story.
A financial institution hand-choosing Presidential administration employees is underwhelming to you.

Okay.
I'm consistently surprised at how big the variance in quality of service is from different AWS account managers; seemingly regardless of the size of account.

The 2/3 reps we've had have been night and day in the level of service they've given us, and we're a top 10% customer by volume.
B2 does not have the durability guarantees that s3 has it is not a fair comparison.
University of Washington Computer Science Lecturer Explains Why Women Don't Code
With automation coming it’s still a dead-end job
Based on another article posted today on hackernews, microsoft is one of the big ones doing the most efforts towards complying to the new european privacy rules (GDPR) (https://fil.forbrukerradet.no/wp-content/uploads/2018/06/201...) and I also see them doing a lot of efforts towards opensource lately, so even though I'm not a huge microsoft fan nor working for them, I think a lot of prejudices that exist today are due to their history / legacy and therefor I would recommend to be a bit more careful when arguing that they are the devil and all their sub companies and tools have to be avoided at all cost
Portland votes to increase housing supply
I'm trying to use it as an S3 replacement for audio content delivery - seems slow and laggy unfortunately. Uploads also fail frequently enough. I don't know if CDNs would make a big difference. (Europe)

Edit: lack of webhooks or something similar for doing follow-up after successful uploads is also irritating.
My guess would be lobbying.

https://www.techrepublic.com/article/end-of-an-open-source-e...
It's also important to consider comments in context :-) The advice I was commenting on explicitly advised against using switch statements.

I agree with everything else you've said.

(For the pedantic: one can argue about the definition of polymorphism. "Type constructors" do not create distinct types in an algebraic data type as implemented in ML and Haskell, so arguably destructing an algebraic data type using pattern matching is not an instance of polymorphism as the input type is not varying. However that is not germane to this discussion.)
The rest of "we" can choose not to do business with the part of "we" that helps government subvert society.
From a side project to a million-dollar startup, Postman has come a long way
>First - don't trust McKinsey or any consultants to implement anything unless it's been done before and clear. They're smart people who make slides. Sometimes they have specific knowledge.

This!

These 'management consultancy' firms are essentially programming libraries in real life: they recycle and reuse proven methods from other companies (that they worked for) and use it at yours so you don't have to reinvent the wheel.

Don't hire consultants for something your organisation can (and should!) do itself and don't ask them for advise on something that can't be realistically quantified in excel.

And watch out for managers using consultancy firms to outsource decision making.
The problem is that our best way to describe QM is using math, and the experiments can only verify that the predictions made with math agree with the results.

There are many interpretations of what the math mean, like many words or wave function collapse. But the interpretations are equivalent, in any experiment they use the same math to get the same results.

So you may like one interpretation or the other, but the only sure part is the math.

Games, analogies, think experiments are nice and are useful to understand how to apply the math and get an intuitive idea of how the math work and how some approximations may simplify the calculations.

I still sometimes move my finger in circles to think and do calculations about spin, in spite the spin of a particle is not exactly equal to the spin of a ball. It's a nice analogy and (for me) it's useful, but the real particles don't behave like balls or moving finger.

Another important part is to understand how to translate an actual lab setup to math and how to relate the result of the calculation and the experiments.
Negative Base
>What structures today are likely to survive long term?

The Georgia Guidestones come to mind. I've been quite interested in the pre-ice age golden age theory lately but I think the part missing from your analysis is that we're farther ahead on a chemical/particle tech branch than on a social engineering tech branch. We've essentially scaled up competing warbands to a planetary scale - a class 1 civilization we are not, and seem more likely to develop one on Mars than Earth.

Building the Georgia Guidestones probably cost much less in human terms than a comparably complex henge, but we lack the mindset to collectively see the value in it. To make a gaming analogy of your point, I would say we're objectively ahead on one branch of the tech tree but we overlook simpler technologies on branches we haven't explored yet, to the point of not realizing other civilizations were farther ahead in some regards while being behind in others.
That’s neat. I can’t think of anything like that in DC. These are all over the place in Tokyo.
> This is a totally inappropriate thing to ask of anyone. Please rethink your view on life.

No, working at Facebook is the modern day corporate equivalent of the banality of evil.

Unless you genuinely think Facebook is doing good, take some fucking responsibility and rethink _your_ view on life.
Building a curated resources website [video]
Ask HN: How would you monetise a social network without ads?
I'm building a social network, part experiment, part serious, mostly as a learning exercise for now.

The one sticking point I haven't been able to solve in my head is monetisation and so I thought I would ask you guys for ideas.

Thoughts I have had: Donations, premium subscriptions, ask people to pay a small subscription if they say they can afford it (with nothing given in return over a free account), charge for specific features (ability to upload lots of photos for instance).

I've ruled out ads for now as it doesn't work with my current concept but I'm open to an ethical way to use ads if possible without any data mining users and without being intrusive, but then at that point what use are the ads?
My biggest complaint with structured bindings is that you have to give a name to every element, so if you're compiling with -Wall, you get a lot of "unused variable" warnings. Similar functionality in other languages lets you use _ to mean "I don't care", but in C++ that's considered just a regular single-character variable name.
Awesome. Well, since we're all trying so hard, I'll throw out one last idea for you: the strain blue dream. One or two hits of that vapor is sufficient for me!

Wishing you the best.
Did you try enabling multi-threaded support? I was able to upload ~12 TB using 12-16 threads in a few months (and I'm based in EU as well).
I've thought about that a fair a lot recently myself, and came to a different conclusion, but like yours as a counterpoint. What I've been considering was going analog and writing down how to get to the few places I've kept my secrets and employing something like a Yubikey to access an admin account on my computer and paper instructions in an envelope in the family safety deposit box. It's not a complex as a two-person thing I read about once, but seems like a nice compromise where I can still feel like I'm protected, but the nuclear keys exist if someone ever needed them.

Where do you draw the line around data that needs to be discovered? I'm thinking about instructions to access things like bank accounts or such that they may or may not already have access to, where I'd want them encrypted but accessible. Not that I've got secret Cayman accounts or anything, but financials are usually things i want heavily encrypted, but do want family access to in case of the worst.
Make Selenium tests illuminating by saving the browser log and a screenshot
Advice alone cannot help people who have gotten themselves into a bad situation, advice is for people who are considering getting into a bad situation, but still have options.
Combine with a coffee/soda?
The British government famously says that technical people should be “on tap, not on top” and that attitude permeates the entire country, with just a very few exceptions
Demo day is the point of YC because it flips the tables and makes VCs compete for startups, as i understand it. YC is a good fit if you are positioning for a seed round. The best advice I ever got is that YC is just another VC underneath a bunch of hacker branding. You're either raising or building, you can't do both at once, so if you're not ready to raise, why talk to YC?
https://www.codementor.io/nyddle
Using the #movingtogitlab hashtag does make it feel a bit brattish. FWIW I'm on (self-hosted) Gitlab, not GitHub.
Sure.
Now imagine if a wifi router cost a company 10000$ instead of 100$.
These devices would need a density closer to wifi access points, compared to cellular towers.
What sat-constellation does this hear?
Rest API calls made easy
I agree with TekMol that it's an important point. Nowadays we have new types of SQL databases emerging. Some examples:

TiDB (distributed)

CockroachDB (distributed)

Crate (uses SQL but isn't even relational)

They all use SQL.

Picking between these and more established SQL databases is worthy of discussion.

Heck, based on what I see on Hacker News, picking between the established ones generates a lot of discussion, usually with people preferring Postgres over MySQL, etc.

Then there's SQLite, which is completely different again.

OP probably has a favourite database as a go-to regardless of the application, but for some projects SQLite might be a better fit than the others, for example. That would warrant discussion.

In conclusion, I believe you were too harsh to TekMol.

Edit: Fix autocorrect fails and add clarity.
"Micropayments is a utopian fantasy that would never play out in reality"

Care to provide some arguments?

The problem right now I see in the lack of an easy to use service with reasonable fees. And the mindset of the people that why pay for things voluntarily? But Wikipedia for example shows, that there allready enough people thinking different. So we just lack the micropayment service
Well it is guided all the way but yes, it's pretty amazing
Every time I read about modern C++, I'm amazed at how different the language looks compared to how it was when I last used it heavily, around 10 years ago. It's had amazing progress, it looks way more "modern" and really seems like a brand new language.
Facebook will never care about Privacy. People like Zuckerberg are scum, and deserve jail. As an individual, I really do NOT want to live in the same society as this kind of person.
In software it's not only the salaries, but also the rarity of European companies that are good at software.

Generally speaking, engineers want to achieve results and hate inefficiency. Jobs in companies that really understand software are somewhat rare in Europe - usually you have to find a small to medium sized company, and the pay there is usually below the large companies. You pay for the privilege of being productive(!). In the US, if you join any of the famous large ones, you'll be in an environment where you can get stuff done and expand your skills in work time while getting some of the highest salaries.

A phenomenon that I've seen a few times is highly skilled Eastern Europeans coming to Germany, then leaving for the US 1-4 years later. If they leave their home countries for a much higher salary anyway, why not move again and triple the salary another time?
The ironic part to me from the No SQL crowd was:

SQL Bad! SQL Slow! SQL terrible overhead!

SQL is just an abstraction layer. What makes relational databases "slow" is actually the overhead to implement ACID and implictly guarantee consistency and integrity at all times.

When Facbook losses a dozen status updates that will piss off a few users. When a bank loses a single transaction and depending on the value and importance of that transaction (I.e. mainting a position in FX, with deals that can go into the billions) this can literally kill the bank.

Besides: relational databases (which I'd wager are still the backbone of > 90% of businesses) are definitly not slow. And very few companies have such insane requirements like Google, or Facebook.

Edit: Wrong word that didn't make sense
ISRO prepares quest to find trillion dollar nuclear fuel on the moon
That's what I was thinking too. If you have PoS, then the your stake is basically how trusted you have been throughout the history of your wallet.
MDA: Nice idea, shame about the  (2004)
In Denmark PhD. salary is about 45k GBP, that is the salary you get while writing your PhD.

It's might be higher if employed by a company, these number were from the education guide.

Europe is big, and it wouldn't surprise me if some parts have low wages.

In this case the discrepancy is probably larger because GBP has fallen compared to EUR/DKK post brexit.
Sony ‘confident’ it’ll find a Fortnite cross-play solution
This article is gated behind a paywall/coercive consent "choice".
Not guilty absolutely does mean (legally) innocent. You can argue the toss whether legally innocent should be understood as innocence in the wider sense of course, but the point stands.
Please do! Though wouldn't it work to just never accept the cookie at all?

I got very pissed off at Quora for the same reason, and made an account just to read (knowing full well they'd use it for profiling).
It’s not only the pay by the way. I study and worked a bit abroad and the difference with my country’s labs are noticeable: there is way less battleling with accounting do get things done abroad. In France you need ton of papers to get your money back for professional spending and if you got it at all it comes months after the fact. I did some work for a professor there and it take a year to get the money in my pocket. I also worked for someone in Japan and I had my money two weeks after and in one case on the spot. So it makes a huge difference when working on any project that need a bit of money. Imagine having to wait a year to get a domain paid by the university or having to send a student take a whiteboard marker from another room at the beginning of each class because there are not enough for every room. That’s how shitty it is working in public research in France.
Honestly, I’ve never used the Glacier api directly. I’ve only used it as part of a lifecycle policy where objects were stored in S3 and then using the console to have AWS migrate data after a certain amount of time.

My offsite backup would only be accessed in the case of catastrophic failure - my primary and local backup data is unavailable. Data transfer does cost more but if I had that type of catastrophe, worrying about getting my movies back for my Plex server would be of little concern. Everything that I would care about - source code, photos, documents etc are stored other places.

That’s another strike against Backblaze backups (not B2 based backups). When we were in between residences last year - we left our apartment when the lease was up and stayed in an extended stay waiting for our house to be built, my main computer was offline for 5 months. One more month and my Backblaze backup would have been deleted. I forgot about it and I restarted my computer before I reconnected my external drive - so my backup from my external drive was erased from Backblaze as soon as I came back online. It wasn’t catastrophic but irritating. Luckily I have gigabit upload.
You're not authenticated to the API. You can see by going here: https://api.github.com/user

> For API requests using Basic Authentication or OAuth, you can make up to 5000 requests per hour.

> For unauthenticated requests, the rate limit allows for up to 60 requests per hour.

https://developer.github.com/v3/#rate-limiting
> he's constantly inheriting from unique or shared pointers in his classes

That happens when you learn OOP from a bad teacher or text book. Far too many books focused entirely on class hierarchies, as if an inheritance diagram was an almost completed program. That leads to a weird kind of brain damage where you think all problem can and must be solved by inheriting from something. It was the STL that taught people that algorithms matter more than taxonomies, but clearly some professors never got the memo.
> but I know several who are staying because they feel that their position is where they can produce the most good for the world

Do you think Facebook is a net positive for the world? Borderline, or overwhelmingly?

To be clear, I'm not asking whether some people get net benefit out of it, I'm talking about the net overall effect on society and the individuals within it.

Personally, I believe it is causing tremendous psychological damage, and that anyone that works there is a contributor to that end.
> it also does unlimited history of the files

Yes, but you're paying for that storage. If you sync 100GB of photos then locally make a small EXIF data change to all of them and sync again, you're now paying for 200GB of storage. B2 has Lifecycle Rules [0] to help keep versions from getting out of control and the API has methods for handling versions for clients like rclone [1] to use.

B2 doesn't have it's own desktop app but 3rd party desktop apps like Cyberduck use the API work with B2.

[0] https://www.backblaze.com/blog/backblaze-b2-lifecycle-rules/
[1] https://rclone.org/b2/#versions
This is whataboutism. The fact that America has done awful things doesn't mean China hasn't or that we can't improve China's behavior.

I sort of wish someone (EU?) would have put trade sanctions on America for those abuses and others. It might have improved things here.
nwfw ads even with adblock going
You are referring to "single-use zoning" or "Euclidean zoning" (named for the city in Ohio, which was named after the mathematician)
Reasons Why CA Professionals Would Need to Take a Loan
To distill the meaning further:

>Making an airplane happened to be harder than running a clickfarm
I think that's a distinction without a difference. Facebook doesn't have engineers working on open source libraries because they want to do good in the world, and those other people working on scummy designs and dark patterns just didn't get the memo. They do open source work because:

* The projects directly help their business operations; those engineers might be doing the same work, anyway, even if Facebook were zealously closed source.

* Open source work gives the company image a boost in the minds of potential employees. This expands the labor pool, reducing the wages FB needs to pay, and helps give FB access to talent it otherwise simply could not have. In this case, hiring engineers to work on open source projects is little more than a PR campaign targeted at people like you and me--and it's clearly working on you.

The "good deeds" of their open source work are entirely accidental; the whole point of employing engineers to work on open source libraries is to help their business, which is inherently exploitative.

I agree with lancewiggs: by working at Facebook, your friends are aiding and abetting one of the most unethical and socially-dangerous companies in modern times. Think less of them.
On Hossenfelder's book, but not so much on the (IMO doomed) philosophical project of logically demarcating some ideal notion of scientific practice, see also mathematical physicist and long-time String skeptic Peter Woit's review[1] which goes into some interesting details of her conversations and comes with a copious and interesting comments section.

1: http://www.math.columbia.edu/~woit/wordpress/?p=10314
My individual connections to B2 are slow (200-500 KB/s) coming from Europe but that's why the multi-threaded option makes B2 very usable.
"--> So why isn't this article about the Guptas?

Shouldn't the headline be: "Indian-South African Gupta family swindles South Africa yet again?""

1)A corrupt transaction requires the cooperation of at least two parties. If the Guptas could not find any co-conspirators, their ability to extract money from the South African government would have been reduced.

2)There are enough articles about the Guptas; there hasn't been enough coverage of the companies that enabled their corrupt transactions.

"But they're clearly not the bad guys, and not even 'knowing enablers'."

They aren't good guys, and they most certainly were enablers, the fact that they didn't do enough due diligence to 'know' is on them, and they will need to account for this and/or suffer the consequences.
What is your weekend hack for this weekend?
What interesting are you making this weekend?
It always depends on the language that you are using.
In c#, for simple cases, enums are perfect, but otherwise you should switch to classes hierarchies.
In Java you can use them in more complex cases because you can encode data quite easily.
If the amount of data encoded is becoming too much (let’s say more than a couple/three fields per case) than you should switch to classes.
In F# you can use a combination of sum and product types and have a happy life with automatic deconstruction and a somehow less happy one with lenses/optics.
Show HN: Bot Archive – seamlessly save your Telegram pics to Dropbox/Box/Drive
I started trying to answer this question, but we produce so many different types of build types (binary, loose file, digital, ISO, and more..) for so many different purposes and audiences (coders, content creators, embedded QA, external QA, 1st party QA, cert, and a mix thereof) that this is actually impossible without typing out a full-on guide of some sort.

Extremely rough general flow which does not apply to everything: presub, submit to p4, build code, upload symbols, build data, run tests, run relevant deployment step, register metadata, send-to-one-of-numerous-external-or-internal-partners, and a bunch of support steps inbetween.
The toolkit includes an API gateway which would allow you to serve public facing http and direct requests to internal services that may speak a different protocol such as RPC. It's highly flexible and pluggable.
That's awesome value, thanks !
Comparing printing out part of a web page for your own personal use with stealing something is just odd. What if you frame it and turn it round to face the wall when you have guests?
No, they are not producing any kind of good for the world, never mind "the most".

For the users, Facebook is just a means of communication, among many others. If it disappeared tomorrow 10 different platforms would replace it and the level of goodness in the world might even increase.

Doing good is probably the lamest, least truthful excuse for working at Facebook, goes to show how self-deluded people can be.