skysight-inc/HackerNews huggingface dataset:
For Red-Black tree (balanced tree) preorder/inorder/postorder traversal, which involves depth first scan, 2 * log(n) additional space is required ([1]).

[1] Here is an example, look for st_tr_aux() function: https://github.com/faragon/libsrt/blob/master/src/stree.c
> Why are people acting like a simple chatbot is somehow a recreation of a person?

I hate to state the obvious, but, because they are emotionally heart-broken?
I live in France and work East Coast hours. My time zone is my problem, not the employer's. The 'boss' needs me for a 6pm Eastern Time meeting? I'll be there. If I am employee, I work when I am needed; my location shouldn't be their concern.
"In the second quarter it lost more than $100 million — so perhaps it already is a nonprofit."
This article has little to do with the clickbait title of philosophy being over. It's mostly just a review of a book of revisionist history of Enlightenment-era Western philosophy.
SpaceX ITS Crew Launch Simulation
I don't think so. Decentralized services never took off very much because of tremendous technical difficulties with reliable NAT traversal/hole punching. Companies like Skype spent unbelievable efforts to get around these problems and kept them a closely guarded secret. There are a few more libraries now, but it's still surprisingly difficult to achieve reliable p2p connectivity without some external, centralized server to get the process started.

This in combination with a few other problems with ISPs, slow upload speeds and the "intellectual property" watchdogs prevented 1-click installation. Without extremely easy and fast setup that even the dumbest person can manage, no software will achieve wide popularity. Shareware authors have already realized this in the 90s and this hasn't changed since then.

So my verdict is: technical reasons, mostly, although I wouldn't exclude the possibility that there were some "dark forces" behind them in some countries. Genuine P2P has always scared the shit out of traditional companies and politicians.
Replacement Galaxy Note 7s keep exploding–we're now up to five cases
Nice, this may make me finally move on from irssi
You don't need parent pointers.

For converting binary tree into a linked list in O(n) time and O(1) space.

You have two pointers, the root and the tail (right child node).

If root has a left subtree, set tail->right = left subtree. Update tail again so it is the last right child node.

root = root->right

Repeat until root is NULL
Looking for a Job? Here Are 10 Unusual Jobs That Surprisingly Pay Well
Just spent a little while googling around for Android security info, and I'm feeling pretty safe. I haven't been able to find any reports of anybody actually doing anything interesting off of the Stagefright exploit. Sounds like Android is pretty good at defense in depth. Though Stagefright is bad, it sounds like getting from whatever it does to anything interesting to any potential attackers is not easy, and if anybody knows how to do it, they aren't talking about it or using it widely.

One of the more interesting exploit dissections I read was of a 2013 Pwn2Own exploit of Chrome on Android[0] good enough to earn the designer $50k. Long story short, a series of vulnerabilities are exploited through Javascript of a visited webpage eventually resulting in sending that Chrome's cookies to a remote server. Impressive effort, and certainly not good, but then again, how many people have any important cookies in their mobile Chrome? And how many websites will actually allow you to do something that is interesting to an attacker after you hijack somebody's cookies? Of course those bugs are long since fixed on all Androids, since it's in Chrome. Even if they were active, I still wouldn't worry much, because you can't get much interesting info unless you can get system/root permission and read the data of all of the other apps on the device.

Actually, if I was designing that as an actual attack, I think I'd send off the autofill info too. That ought to be possible for an exploit that can read the cookie jar, and it sounds much more likely to contain credit card info, home addresses, and other stuff an attacker might be able to monetize.

[0] https://docs.google.com/document/d/1tHElG04AJR5OR2Ex-m_Jsmc8...
A wifi-only device (tablet or iPod Touch or other music player) can connect over VPN+wifi to a mobile hotspot, which removes the baseband firmware attack surface. Even if the hotspot is compromised (many have worse security than a phone), the hotspot can only see VPN traffic.

Such a dual-device setup allows use of most mobile apps, with improved security vs a mobile phone. Still need to avoid connecting to random servers, apps, hotspots, devices and phishing emails.
....and that you can imitate the metadata service to make life easier :) A plug for my friends side project: https://github.com/otm/limes . It's a local metadataservice. Very handy for making aws libs work without having to config them much. And great support for MFAs.
They've been working on this for years and I'm seeing very little of it. And beyond that, it's missing everything we take for granted nowadays: scrollback, keeping note of where you were and media sharing.

Yeah media sharing can be done with, what's it called, CTCP? That's just piping stuff through a short message service, like Twitter or DNS. It doesn't properly display media either, but it allows for small file transfers.

And of course scrollback can be done with bouncers. But it's not something I see my mother using. Facebook Messenger is what I see my mother using.

Is there anything new on the website, or it it just being linked again?
Engineers like to gossip, and most humans have a tendency to flock together with like-minded folk.

Hence practically any engineer will be part of their organic network, whether they realise it or not.
> unless they perform mitm attacks

Which any state-sponsored actor can easily do, of course.
I just double checked, and the most similar thing we expose is the token's for each service-account in the instance metadata. As pointed out in the article, any uid on the box can read that. But, you can create instances with a zero-permission service account (the equivalent of nobody?) and just avoid it.

This does mean that everywhere else you'd have to have explicit service accounts and such, but that seems like a reasonable "workaround" until or unless we make metadata access more granular (I like the block device idea! Would you want entirely different paths for JSON versus "plain" though?)
Global inequality is clearly not relevant for what I'm talking about. I'm talking about a post-physical society, such as developed countries. And in most developed countries inequality is going up not down. See Thomas Piketty's work. To my knowledge it hasn't been refuted yet.
Indeed - it's always good to be aware of these things. I've been around for most of them and I am still very happy to use them, but of course your own perspective may differ.
Curious, what's your definition of "the cloud"? Under mine, running off a cheap vps is very representative of "running in the cloud". What would the "move to the cloud" entail? Do you mean using more services such as lambda, S3, or a database as a service platform as opposed to doing this "manually" by installing software on a clean OS?

For me: buying a rack/dedicated machine is the "traditional" (though increasingly rare) option and running off a vps is "in the cloud"
It just gets more and more complex, doesn't it. Now we have to worry about remineralizing RO water.

[Tap Water]
|
V
[Water Softener]------------+
| |
V V
[Reverse Osmosis System] [Showering & Washing]
|
V
[Remineralizer]
|
V
[RO storage tank]
|
V
[Drinking]
Ah, you're right! Thank you for the correction.

It's $10 and $5, I shall edit accordingly.
I stopped seeing him as an unfailing source of truth after he okayed developing fogbugz with a private, in-house language, that (unsurprisingly) was a huge waste of resources.
By Joel's logic no good developers left Microsoft and decline of Microsoft could be attributed to bad developers.

Neither of those is true.

Good developers leave companies but they apply selectively to companies and find jobs quickly.
As a non-profit, it would still need to breakeven. So far, it hasn't demonstrated this ability, so arguing that its problems stem from pressure by investors to make outsized returns seems weak. (And the article even admits that Twitter's problems aren't all about investor pressure.)
I have only done a little bit of work with SQL. Could someone please go into a bit more detail on a couple of these points for me?

> Plurals—use the more natural collective term where possible instead. For example staff instead of employees or people instead of individuals.

> Where possible avoid simply using id as the primary identifier for the table.
This is what happens when you generalize expertise from your field to other fields.
Offtopic but there was another post here recommending that people do just that, be very visible and public so when the layoffs happen you aren't the person laid off even if you're just doing the same work as everybody else you appear to be indispensible. Recruiting works the same I guess.
Microsoft's BizSpark program gives startups $150/month in Azure credits for 3 years

https://azure.microsoft.com/en-us/pricing/member-offers/bizs...
> Now you can see why we speculate that the AirPods are similarly equipped with XNU on an ARM SoC.

Sensational speculation?
I agree on your view the modelling more or less remains the same (but with more topical-clusters interconnected). But I haven't seen such schemas at work before (most with 15 tables).

The (big) examples of such I believe adds to elasticity of what/how something is - in our perception - for example I view schemas as sort of a large tree where each branch grows on every (1:n, 1:1 ..) relations. Some branches converge. Some are isolated branches. This sort of made me curious to search for database schemas with large number of tables.

Sorry if my answer doesnt make sense - a short answer would be - if I want to write good c code - I would be probably look into linux\kernel source. I vouch not much can wrong from there.
...Based on your assumption that he was ignorant of the subject, which you assume without any particular reason? That's somewhat ironic.
Sounds like the academic community should be charged for access to the data, if there is so much value in there.
Actually, it's not acceptable from a national security standpoint to massively let a country's citizen flock on US services, at least as long as the NSA/CIA exists. The internet does need much more competition on all continents, including for webmail services. For example I don't see why my government (in Europe) should accept tax reports with a US email (because everybody has @gmail.com or @hotmail.com) – Why not at this point go all the way and delegate our tax collection to the American IRS...

On the other hand it has to go towards privacy, choice and democracy. Obviously cutting your citizen from the international websites is the one wrong way to stem local competition...
One data point: I have excelled in some places, been "ok" in others, and sucked at least once. Am I a great developer or a terrible developer?
>P2P filesharing is part of the "decentralised web", and people seem to have no trouble installing the software for those.

We can't really call P2P filesharing today decentralized. It depends on trackers. And it's trackers who help users (often out of commercial interest) overcome all the troubles with software.
An out-of-the-box Emacs bundle for programmers
that is my concern as well, if it truly was so widespread and useful I doubt they could turn a profit, however its real market is apparently much smaller than people suspect.

twitter simply cannot reach people who don't go looking for it, it would need to basically just randomly show up on your instant messenger unbidden, it has no universal connector like radio and tv which are everywhere.

then the last issue is there are too many voices on twitter so only those connected get out and assume importance. importance to only users of the medium
If you're talking about hosting your startup's landing page, stick with Github Pages: https://pages.github.com/. Free, super quick & easy, with custom domains to boot.

Personally, for almost any product I start here. Even if you do need server-side infrastructure for the product, hosting all your marketing pages on GH pages is probably the right choice - they're going to be better at reliably hosting and serving static content than you are. Focus on your product instead.

When I do need server-side logic I then usually go for Digital Ocean, because they're very cheap, pretty great, and far less complicated to manage than EC2. It's also pretty easy to set up Dokku: https://medium.com/@pimterry/host-your-node-app-on-dokku-dig.... With that on top you then get a quick & effective Heroku-style deployment experience, at a fraction of the price.
I disagree with this style point, and I think the author implicitly acknowledges that `id` should be the standard identifier, because further down he points out that the `_id` suffix should be used for columns that make reference to that identifier.
Morally, yes (IMO), legally, no. Let's get the laws closer to what's right.
Hetzner is another option. But you don't really specify your requirements (geographical region, scalability , etc) so I don't know if this suits you.
Right, but in that case could adopt the Wikipedia model. So, donations.
386bsd/386bsd: 386BSD
I think the author was talking about (not) using `id` as the column name, e.g. `user.user_id` instead of `user.id`
If they do this, there will probably be no users left to charge.
The point of the article is true, but it's also a pretty poor-quality piece. Few links to references events, and even a basic fact like the name of the company that used the Trident attack is wrong. It's the "NSO Group", not "NOS".
It's worth mentioning that the more principled alternative is GNU Social: https://gnu.io/
Very well, but since you clearly like the female only events, what is the problem with having male only events then?
There are plenty of jobs dysfunctional enough to turn Don Knuth into a lemon, so I wouldn't worry about sucking once in a while.
The famous 10x developers seem pretty easy to find. Carmack, Torvalds, etc. I don't know what "10x" code means, but you could certainly look to codebases from those two to learn. Similiarly with CEOs, with people like Musk or Jobs. Even in fields like writing you have outliers like Asimov or King. Even with your joke example of HR, while I can't think of any examples, you can imagine an HR manager that improves culture and hiring so much the effect is enormous. I don't know if people should bet their careers on becoming an outlier, and there aren't a ton, but these people exist.
Poland Spring is owned by Nestle.

The previous use of the surface site doesn't necessarily make the aquifer unusable. It would be much more damning if their water was tested and found to have higher than normal levels of volatile organic compounds or whatever.
>Most people have smart phones which are much more powerful than servers from 6 years ago. Why not just use that?

Not before we have breakthrough in power cells. Or some other breakthrough. Perhaps computer implanted in our body and powered by our food.
Ads disguised as news: A drug company's stealth marketing campaign exposed
Uncomplicate
As a for-profit business? No, I do not think they should unban people who threaten to rape and kill people (for any reason). They have a duty to their investors to create a company that is profitable, and those actions rarely result in a profitable enterprise.

As a nonprofit organization? Yes, absolutely they should. They should allow users to form groups and better curate their own feed, assisted by algorithms, and essentially let the people who want to say terrible things say terrible things and let the people who don't want to read it block them.

This is essentially the same fight about what "The Internet" should be that has been going on since the Usenet heyday. We do have to realize now, though, that there are no benevolent corporations who want what is best for the Internet. We have to advocate for that ourselves.
I've been working remotely for the last few years, and I don't miss the office at all. However, I wouldn't really mind driving to work or taking a train. You get some time to listen to podcasts, or think, or just do nothing and clear your head. I have to actively make time for that now that I work remotely. Sometimes I get too busy and forget to do nothing for a while.

There's also something nice about traveling to and from work, where there's a separation between work and home. I've just moved into an apartment where I have one room as an office, so that should be nice.

Another thing is that when you're freelancing as a software developer, sometimes you can turn that into a pay raise. It works especially well if your plan is to have long stretches of time without paid work, so you can work on your own side projects. There's also some clients who are happy for you to work 20 hour weeks, which is very easy to get used to. I find context switching to be really hard though, so I prefer to work two 10 hour days. And sometimes I enjoy going full-time on a project for a few months, and then taking a long break for a few months.

But yes, I would still be prepared to take a pay cut in order to work from home. Well, if "home" includes anywhere in the world.
First time I'm really scared to allow a torrent.

btw, some people talk about a 17GB fileset, is it the same leak uncompressed ?
The Max Headroom series 2 episode "Deities" was about a Vu Age church that sold A.I. recreations of loved ones as salvation.
More importantly twitter profiles are public by default. That's not true for most social media.
If you are willing to shell out a little more ($40), you can get a pretty powerful DS for a fraction of the cost of what the major cloud providers would cost: https://www.delimiter.com
Related: Morris Traversal (no parent link required).

https://en.wikipedia.org/wiki/Tree_traversal#Morris_in-order...

Trying to reimplement it without looking at the solution is fun.
The suggestion to right-align the root keywords (e.g. SELECT, FROM, WHERE) and left-align everything else does make the SQL look good.

But I can't think of a single editor that makes this type of alignment formatting easy to do. Can you?
For full access to the twitter archive, they are, though a lot of data can be gleaned from what's publicly posted.
I am curious what the mechanics of this would be - take thee company private and then apply for classification as a 501(c)(3)?

Looking at the guidelines I'm guessing the type would they be a "private operating foundation"?

https://www.501c3.org/what-is-a-501c3/

Just as one example 501c's are heavily regulated where politics are concerned. Given that Twitter is utilized heavily by politicians as well as political campaigns, would this even be a viable option for them?
do you know if any similar vulnerability exists with Azure or Google Cloud?

edit: not sure why the downvote, I use Google Cloud, so honest question :(
How+to+choose+Sun+Protection+for+Outdoor+Sports
If you're in the US, they have to accommodate your condition. Talk to your manager and if they don't help, talk to HR. This is a lawsuit waiting to happen for them.
A more general and mature project is pyparsing
> "but seemed to totally ignore the ones that were standing right in front of him"

No, no. He ignored the woman writing this article specifically. And now she is writing telling us that being a woman should give her special access to be a founder at the event disregarding the fact that she is or isn't qualified for the task.
An interesting read! I do follow certain rules when writing SQL, and I agree that having them and following them is a good idea. Plenty of what is in the article looks like good advice.

However, these rules do not always appear to be consistent with how the code in (most) other programming languages is written. Consider indentation, for example. The usual approach is to line up those elements of the code which correspond to the same logical level of the flow, whether it is C++, Javascript, or Lisp. So rather than (quoting from the article)

SELECT file_hash
FROM file_system
WHERE file_name = '.vimrc'

I would rather see either

SELECT file_hash
FROM file_system
WHERE file_name = '.vimrc'

or

SELECT file_hash
FROM file_system
WHERE file_name = '.vimrc'

(The difference here is the same as between indented and non-indented braces in C.) I think this is especially useful when we have multiple joins or inner queries.

Many suggested rules are indeed consistent with what I have seen to be accepted as best practices. Such as naming a table in singular (more precisely, giving it the name of what a single row corresponds to), or avoiding the infamous Hungarian notation (pretty much an accepted best practice in most languages that I have seen).

Overall, I think, a good first step towards building best practices.
Where I live, the tap water is contaminated by herbicides (measured by the government to be multiple times over the norm) from nearby agricultural activities. I prefer to drink bottled water coming from known mountain sources.

Water coming from the tap is still tasty and I use it for other culinary purposes except for direct drinking.
I don't necessarily hold this view, but I can see the merit in it. I tend to lean toward purist as far as free speech goes. Slippery slope arguments and what not.

Personally, I like the concept of outsourcing the policing/moderation of a community to the community itself. I think what online forums do by promoting moderators from the long time, trusted user base is a step in the right direction. The upvote/downvote system on HN, where the downvoted stuff gets increasingly more difficult read, is even better.
> However, after 9/11, investigators at Guantanamo Bay started to notice a strange pattern. Some 32 inmates were found to be wearing the F-91W at the time of their apprehension

When I was in the British Army almost everyone wore this watch (actually the green light version whatever that is called). I used to carry two in case the one on my wrist became damaged. I think it's just a universal soldier thing, not a suspected terrorist or bomb-making thing.
Stephenson seems to think it does:
https://youtu.be/lnq-2BJwatE?t=10m53s
That's a pretty pathetic standard for "good"

Chimeric Antigen Receptor therapy seems like more of a "game changer," given that it's a new therapeutic direction. This is just another monoclonal antibody.
If you want to say something like this, at least back it up with something. Anyone can say "You two are both wrong" and sound smart.

Also which part of "people don't understand" is not condescending?

Funny enough, I watched this movie called Barton Fink last night, and it's a perfect depiction of this nonsense.
It depends on how much you want to do yourself.

Heroku is easiest and relatively cheap until you scale. (Great problem)

Lots of people seem to use AWS. My limited understanding is that it is marginally more difficult to implement than heroku.

You could also go with someone like Linode. I would only go that route if you have implemented before. There is a learning curve and if you are trying to get the site up quick, I would go with a different option.