skysight-inc/HackerNews huggingface dataset:
I have a very healthy love for physics, and am simply attempting to draw your awareness to the complete subjectivity and awe of the universe.

To reallocate the code metaphor, at some point you step back from the monitor and realize you are certainly discovering how Photoshop was written while completely ignoring the images it creates, documenting the MP3 format, but ignoring the music, describing how the tree grows, while missing the forest.

<3
Keeping the history of the evolution and the rationale for each iteration was great. It's really good insight into the evolution of the thinking for a passionate community team that is doing its best to communicate why their efforts should be considered by others.
It's because the establishment segment (clinton) genuinely fear him throwing his hat in for 2020. Not that I like him but honestly, if he can sells fb stock and promises to genuinely treat Usa like his firm, I'd prefer him over a politician who says what pays (which is all politicians in all sides).
> ISO-standard feature should be well specified.

That claim doesn't match up with the C standard I've read. I.e., this is an "isolated demand for rigor." Are we looking at the same document? Quite a lot is underspecified or implementation defined to accommodate differences in architectures and systems.

The 2018 C standard doesn't specify whether NULL is a pointer or integer; what a null pointer's representation is; nor the representation of negative (signed) integers. The C standard defines some loose requirements around observable behavior and leaves the specific details to the implementation.

> Basically it should take an argument string which specifies an ID for the file, intended to be unique.

Or the standard could leave it up to the implementation to identify file uniqueness without this additional, incompatible argument. Like I said before, all you have to do for Unix implementations to be as robust as the stupid ifndef trick is to check st_ino and st_dev.

It's important to recognize that implementations and implementation details are distinct from the standard.

Also note that the ifndef hack is non-robust in its own way — false positive exclusions due to accidental identifier conflicts. #pragma once does not have this problem.
That's why proper backups are done in a pull-configuration and not the easy way of push. I.e., the backup system has access to the production system, and grabs the data itself. The production system can at worst serve bad data to the backup system, against which the protections are not that hard. Basically just a protocol client that can handle malicious servers, like a HTTP(S) server/client or such.
She did what I would have done if someone was attacked my company for no obvious reason - I’d want to know if they stood to gain and how. Obviously when someone holds a short position and bashed a company it’s pretty transparent. That’s a big reason why Tesla was in the news so much the last 12 months.

It’s when FB went on the offensive and started attacking Soros with “factually questionable” information that they crossed the line.
The blog post is about choice of priorities, not about some sort of determinism between two extremes.
As long as you're suggesting not having one at 51, the point stands. But indeed, it is philosophically difficult.
This was actually a major selling point for Trump during the election until it wasn't.
Thanks. There is one thing MS fucked up with and it was not capitalizing on European adoption.
A more recent parallel, the USA opening the doors to the WTO to China long after the Dalai Lama fled, and the next Dalai Lama imprisoned as a child so the government of China can start selecting the next leaders of Tibetan Buddhism.

NATO intervened to stop the war crimes in the Yugoslav civil war mostly because it was right on the doorstep to Western Europe. Other Arab countries had already intervened years earlier with some people/weapons since the arms embargo had to some extent disproportionately affected the Muslim populations (one common thread with this gulag). This aid /intervention was only possible due to the geographic circumstances of the former Yugoslavia - no outside forces are going to step into China, and stuff like the Opium Wars/forced open doors afterwards means very few in China want foreigners to come in and help.
> The difference between the ancient way of working a lifetime for a salary, perks and a gold watch on retirement

That system existed for at most 40 years, probably less. It lasted from the beginning of the post WW2 boom to the oil crash in 1973. It lingered on in companies built up during that era and the expectations and cultures built up then but it was surely dead by 1990. To call a system that barely lasted the working life of one human ancient is a bit much, no?
> Can you get in trouble for promoting fake money from Monopoly and trying to convince people that the collectible value of the Monopoly money will increase?

Monopoly money isn’t a security. ICO tokens are. Securities laws, including those requiring disclosure of sales incentives, apply to securities.
In C#, there's a "decimal" type. Which is exactly that - decimal floating-point. However, one catch about it is that it doesn't allow for the exponent that would place the decimal point somewhere outside of the representable digits of the number (i.e. unlike floats, the difference between any two decimals is never more than 1).

But it's still plenty useful, because it allows to accurately represent decimal fractional numbers, which is exactly what's needed in many domains, since humans work with decimal fractional numbers. Representing money would be one particular example.
That sounds right to me. Many things computers do are chaotic because one little bit flip can flip a whole lot of other bits down the line...
Oh wow I didn’t expect this to get posted yet! There is also a video of this lecture, which I’ve now added a link to in the article.

https://youtu.be/huOzokY_fME

It’s part of a series of lectures I delivered are African Leadership University in March. Please check out the playlist here below. I just finished editing these videos last night!
https://www.youtube.com/playlist?list=PLP0dfLFk-anezfZZMB4Dh...
It's not cheaper and the silicon is much worse.
I would not be surprised if Mark Zuckerberg ends up becoming a Republican. He very obviously has political ambitions. A significant portion of the Left blames Facebook (at least in part) and by extension Zuckerberg for the election of Donald Trump. If he says the right things, I expect the Right to be more accepting than the Left which would still hold 2016 against him.
Thanks! The ability to reuse code across notebooks—making notebooks analogous to ES modules—I hope is one of the most powerful and interesting features of Observable. You can see a few more examples of reusable notebooks here:

https://beta.observablehq.com/collection/@observablehq/libra...
> we cannot draw any real world conclusions from the fictional narrative

“Any” is too strong. At the very least, fiction offers a lens into a society’s worldview.
Saw your comment before the edit. I think you’d have a difficult time convincing just about anyone that a publicly employed loan shark debt collector adds more value to society than a highly paid football coach.
Of course, if you're comparing with Go, you need to compare apples to apples - since Go doesn't have ownership tracking, the equivalent Rust would necessarily have to be unsafe.
If someone is publicly saying questionable things about your organization, then trying to find out what their motivations might be by doing research is just common sense (especially if the company in question is publicly traded). So I'm with you there, I don't get the outrage here at all. It comes off as cheap and manufactured from what I'm seeing.
I'm an independent consultant, and I have slightly more nuanced version of this. First: all of us, Musk included, work for someone. In Musk's case, he is working for his shareholders. There are two distinct, but correlated values you need to consider with work. First, is the value that your work creates for other people. This is captured by the price you charge for that work. The work could be direct labor (as in being an employee,) or it could be the labor that goes into a product sold to a customer (this would make you an entrepreneur.) The second is the part of that value you are able to capture for yourself. The higher the proportion, the greater your benefit. But remember you really care about the absolute compensation you get, not the proportion of the value create. You can be a small cog in the machine at Tesla and make $500K a year or you can be an entrepreneur and capture 40% of your revenue as after tax profit for yourself and make $150K. There is surely some hedonic value in being independent, so depending on how much you value your freedom, that $150k might well be worth $300K to you. In which case, you would be indifferent to either working for Musk or for yourself. Of course a proper calculation, would take into account growth prospects at both Tesla and your own business. I made this calculation before leaving Microsoft, and preferred to take my chances as independent consultant even though the initial income was less than a 10th of what I made at Microsoft. But eventually my income turned out to be 3x greater than I would have earned at MSFT over the same period, so the trade-off was a good one. But remember, this only because I was a low levels employee at Microsoft. My prospects at Microsoft were not good enough to get me to a CVP position or better in any reasonable timeframe. For a person with a realistic prospect of making VP or better at a FAANG, the calculation is considerably more in favour of remaining an employee. In both situations it makes sense to work as hard as possible to maximise the likelihood of a positive outcome for you. So work as hard as you can in the direction that is most likely to give you the greatest benefit.
Awesome Coub Video Kit: №176 – Epic Coubs Mixtage Videos FunnY Cube
If only the filesystem would assign some sort of unique, 32- to 64-bit identifier to files that a compiler could use to distinguish one header from another. We could call them inode numbers. Hmm. No, I'm sure no one has ever thought of the problem of identifying unique files before.[0][1]

I guess instead we must embed GUIDs in every file to keep track of uniqueness.

[0]: https://stackoverflow.com/a/13172784/218830

[1]: https://stackoverflow.com/a/1866547/218830
Trump's promises may not fit well with half the people but he has done all he promised. See list below.

Lets see zuck try that - I think he will succeed too at least better than the "charming" presidents of the recent past on either side

TPP cancelled

Prison reform

NAFTA renegotiated (this is something that is nit clear how well he did)

China trade war (which by bloombergs account he has an upper hand in)

North Korea peace
Your statement that "the age at which one has children is within one’s power to control" is just obviously false. Especially for men. But also for everyone, if you're trying to time things to mitigate other disadvantages.

In reality, you may be 51, and may be in a good position otherwise to have a kid, and the question is whether being 51 is a reason not to. And the answer is "no", it is not. Not unless you also think that other people with non-major reasons not to have a kid shouldn't. In other words, not unless you think nobody should have kids.
Is Facebook actually well run? Or just fortunate in its timing in the market?

It’s a spectrum, right? Skill and luck. How much of each has contributed to its success?
Wow, so very well sad! As another person of Indian origin, coolately agree.
The number of base pairs in human mtDNA is not a subject of scientific ignorance nor of dispute; it has been known for decades. [1] This kind of objection is unproductive, and indicates one may benefit from personal study of the subject instead of arbitrarily casting doubt.

[1] Sequence and organization of the human mitochondrial genome (1981). https://www.nature.com/articles/290457a0
Agreed, I phrased that poorly. What I mean is that you can send a POST request to any server from a webpage unless the page you're on has taken specific steps to mitigate that attack.

The remote server might have CORS headers set up so that the browser blocks the request. However, in this scenario (stealing payment information) we're talking about an attacker sending data to a remote domain that they control, so you really can't trust that they're going to block third-party AJAX requests to their own domain for their own attack.

To block requests or form actions from your own page, you'd need to explicitly set a CSP header, which isn't something that's on by default. Note that a CSP header does not protect you if you're using HTTP, because I can just turn your CSP header off when I intercept the unencrypted page.
In an abusive relationship, there is always a dominant abuser.
A few months from now on... Apple is worth much more than Microsoft, and lots of idiots lost money on this opportunity, how did that happen.

Seriously... fake news, like there are every year of "supply cuts, demands and whatever"... oh, and "Chinese chips" on the servers too...
Yeah my barber has a shitty online reservation thing too. In that case, it’s that their JavaScript nonsense craps out if it can’t load Facebook. Since I block things like third party Facebook scripts, it never loads. I can manually use the JavaScript console to get past it and it works fine.
And then what if your Lambda function fails because a service dependency is down? The answer is, it retries twice and then you can have it go to a deadletter queue. If you want to have any configuration control over your retry or deadletter behavior, SQS is really handy.

It's also a useful pattern to, instead of configuring the SQS event itself as your Lambda trigger, have a scheduled trigger and then perform health checks on your service dependencies before pulling messages from the queue. This technique saves you wasted retries and even gives you more fine-grained control over deleting messages (the SQS mechanism for saying, "this is done and you don't need to retry it after the timeout). The SQS trigger, in contrast, deletes the entire batch of messages if the Lambda exits cleanly and does not delete any of them if the Lambda does not exit cleanly, which is a bit messy.

Also, you can have an SQS queue subscribe to multiple SNS topics, which means you can set up separate SNS topics for backfill or other use cases. This is especially useful in cross-account use cases, where often your online events are coming from an SNS from a different account, but you want to be able to inject your own testing and backfill events.
I would assume that any important PR decision at Facebook would have to be green lit by Sheryl or Mark or both. Not surprised at this finding by NYT
SUpreme: A commandline file manager for Linux
> In your example, the cheap retailers are subsidizing the price of the quality products with the ill-gotten gains from selling the crap products to less-informed customers. Those customers unwittingly waste their money, so that others can buy slightly cheaper products.

Not so. If a retailer is selling garbage, some people may buy it, but those people will promptly figure that out, stop buying those brands and leave them bad reviews. And the retailer has incentives not to carry bad products even if they don't accept returns because getting burned doesn't make for repeat customers.

The cost in forcing returns is that it requires you to buy insurance you may not need, which costs money even if all of the products are functional because people return things for reasons other than defects and the retailer will command a risk premium. If someone buys the wrong product, it costs the retailer money to have to process the original transaction, then the refund, then restock the product at a lower price because it's open box. Someone who knows they won't need to return the product doesn't need that insurance, but you're forcing them to pay a premium to cover it anyway.

Forcing the retailer to accept returns also makes it riskier for them to accept new suppliers into their stores. If the supplier starts providing low quality merchandise, the retailer has to eat the cost of the 10,000 items it has in stock, plus the value of wasted shelf space, plus the cost of processing all the returns -- so they stop buying from upstart suppliers, even if the new supplier would have provided good quality products. Which harms competition and allows the incumbent suppliers to charge higher prices.

> Prices haven't gone up.

There has been inflation rather than deflation, consumer products that used to be 16 ounces are now 10, the percentage share of value that goes to business investors rather than employees or customers (i.e. wealth inequality) has increased, by what metric have prices not gone up?
Not quite a techbro, but I am a techie old enough to have kids.

We have a house, with a backyard the size of a tablecloth, and one car. My wife drives it. Lots of apartment buildings nearby, some of which do not come with any parking.
> if this int or uint under or overflows, throw an exception

Overflow flags are supported on some architectures, so it would really just be a matter of checking that flag.
IRS's Webinar for Dark Web
I don’t know about threatening to leave Go, but I’ve definitely seen a lot of posts claiming Go is better without generics.
I don't see the differences that you list. Both systems produce and subscribe to named topics, with multiple consumers which can read and re-read at their own pace, with data sharded by key to scale, and configurable retention.

Pub/sub is the interface to the underlying log storage in both, and you can layer an event sourcing, service bus, CEP, MQ, or any other messaging buzzword on top.

However, Pulsar goes further than Kafka. It supports millions of topics, multi-tenant namespacing, more consumer options (exclusive, shared/group), per-message acknowledgements instead of a single offset, non-persistent topics for broadcast or ephemeral messaging, geo-replication, tiering to cloud storage (useful for that event store), and a functions platform for lightweight processing. Pulsar also uses Zookeeper for coordination and has official Kubernetes deployments for easy operations.

You're right that Kafka has much wider industry usage, and perhaps that is a significant advantage for most, but the constant announcement of yet another suite of helper tools by every major company only seems to show that it's not quite polished. Other than community and integrations marketshare, I cannot think of any functional area where Kafka is better than Pulsar. Can you name any?
The article seems to imply Sandberg approved of anti semetic attacks against Soros, conveniently ignoring the fact that Sandberg (& Zuckerberg) is a Jew herself.

I don't know what the editorial team at NYT thinks is happening, but I don't think Sandberg would condone anti semetic attacks against anyone, even rivals.
Love the new design, it adds a feel to the project that many others lack.

Compare it to https://www.python.org/ for example which is perfectly functional but squint and you could be on any page on the internet.
Custom Fonts Support on IBM iSeries and Enhanced HOCR to PDF Conversion in Java
I've been trying that for years and I never get anywhere. Makes all the hoo-rah about negotiating over a job offer feel pretty hollow - the form of compensation I really want is never, ever on the table.
If language features were free we'd likely have had generics for a long time now. Unfortunately generics is a trade-off: you get development speed/ease and pay for it in compile time, binary size and/or execution speed.

This seems to be slowly changing, but Go was designed to be a solution to Google problems - python being slow but some c++ applications taking literal hours to compile. Keeping that perspective in mind makes it easier to understand why Go maintainers have not accepted an implementation of generics into the language yet.
Amazon gets into self-driving cars – Techmeme (audio)
Pretty cool. Out of curiosity, who stashes these books (the hardcopy version) on their bookshelves and why? Am very interested to know
> You shouldn't need Kafka to handle a few hundred MB or a few GB of data per day.

I wouldn't link the two problems (size, bad architecture). Kafka is often used to bail out poorly designed data architectures, but it doesn't matter whether the volume is small or large at that point: it's still a pile of crap.

Even for smaller cases it's a nice way to decouple producers from multiple consumers. I wouldn't suggest building Kafka infrastructure if you don't also have at least one bigger use-case, but if it's there it's convenient. Especially if you need replay or the ability to consume the same messages for days afterwards.
Not surprising but definitely adds to the icky feeling surrounding Sandberg and Zuckerberg. Interestingly enough I think Scott Galloway makes some great points, Sandberg is probably the most powerful woman in tech right now, it's probably a bad look for the board to let her go; and I doubt Zuck would force her out. I think she'll leave on her own terms.
I disagree, I don't think they fear that. I'm not sure why Zuckerberg was ever really floated as a potential candidate. He's not particularly charismatic and fails the "beer test" with basically everybody in America, and would likely have a harder time connecting with the voting masses than Hillary Clinton. With his lack of experience added to that, and no real ability to run as an 'outsider' as a billionaire tech elite, I think he'd flame out in a primary contest quickly.
The main advantage of the async/await model is that it's just syntactic sugar on top of CPS, so you can bolt it onto any language that is capable of handling callbacks (even C!). For a good example of that, consider WinRT - you can write an async method there in C#, the task that it returns can pass through a bunch of C++ frames, and land up in JS code that can then await it - and all that is handled via a common ABI that is ultimately defined in C terms.

Conversely, goroutines require Go stack to be rather different from native stack, which complicates FFI.
Good point but were a lot of players in market then and a lot of wannabes now
>While I was in Delhi about 2 weeks ago, my father asked me to advise the 17 year old son of one of his employees. I met the guy - a studious, fiercly competitive lad, but pleasant nonetheless. He wanted to become a doctor; I asked him "why a doctor?". His response was that he could make a lot of money in that field, specifically because people come to you when they're in need and in trouble. I then asked him "What about helping people? Interest in the subject itself? Passion?". He fobbed those questions off like they simply didn't matter.

You have to have a certain level of wealth before you care about "passion". Sometimes if you grow up seeing the consequences of being poor, the desire to never go through that again becomes your passion. That is why you then optimize your career to make money rather than follow your "passion".
“When You Get That Wealthy, You Start to Buy Your Own Bullshit”
I actually really like it. I liked the old site too, but I don’t really think this design is a mistake. It kind of makes me feel like rust is more approachable. /shrug
I'm interested in what you mean by "the fear"?
For me at least, the reluctance comes from the new proposal process not having yet proved itself for large backwards-incompatible features. I want to be assured that a Go with generics is a Go with a really well-integrated feature, and not some grafted mutant appendage whose only real purpose is to appease the greater community.

It's great that they're trying out the process on smaller, more simple proposals. My hope is that this system will either produce really good features, or reveal that there are simply no satisfying solutions.