skysight-inc/HackerNews huggingface dataset:
"Dependent" is a strong word, but tool/job fit is still important.

I've personally never grown comfortable enough with C++ to get to a point where, were I to be the one calling the shots, it would ever be my first choice. But I also recognize that it's dominant in certain spaces for a reason.

At the same time, I have a lot of sympathy for people who prefer C over C++. There's a lot of cognitive overhead involved in understanding the semantics of an object-oriented language, especially a big complex one like C++ or Java. And complex languages do have a tendency to beget complex implementations, even when you're working on a project that could be small and simple.
I read an interesting perspective on universal basic income recently that suggested that it was MORE capitalistic than not: by freeing people from limits imposed by needing to supply food/shelter for themselves/their families, it allows more participation in the market.

That seems a radical but obvious-in-hindsight idea to me: a majority of the population cant participate in the competition the system itself needs because they cant accept the risk of failure that the system requires of us. Meanwhile anyone who is already successful chides them about thow they should just work harder.
"Almost perfect"[1] disagrees with you.

[1] http://www.wordplace.com/ap/index.shtml
Anytime I see someone bashing Java/PHP/JavaScript on /r/programmerhumor (reddit) I challenge them to a coding contest. I use the language they just bashed, they use their ideal language. No takers yet.

I think, more often than not, language choice is like golf club choice. Different pros have their preferences, but a pro can play a good game with any set of clubs. A novice will blame the clubs for a poor game.
Tcl/Tk is very much alive, and actively maintained. See the check-in history at https://core.tcl.tk/tcl/timeline (Tcl) and https://core.tcl.tk/tk/timeline (Tk). There are annual conferences for developers and users - one in Munich this year (http://www.eurotcl.eu/) and another in Houston (https://www.tcl.tk/community/tcl2018/index.html).
I used to do a lot of C++ programming, but over time I found that using either C or a real high level language (Python, Ruby, etc) works better for most tasks.
Yeah, but I'm a weird thing that has to do very little to get food. A lot of time my meals come from a car window. I don't quite live the same oceanic experience that a pack of humboldt squid get to traverse. I guess the place that I get to with it is that I have a choice and that is a unique privilage. I have no problem with people eating animals. It's a bizarre luxury of the type of thing I am, where I don't have to kill to live and nothing is trying to kill me that I know of and/or worry about.

If I have that knowledge, potentially I have moral imperative to use it. Compassion for things that I don't have to have it for might be something I'm supposed to do with my time piloting this homunculus.
Not available to read unless you agree to their tracking.

Interestingly the original has a bad interaction with my adblocker where the "x" to dismiss the popup dumps me back at the homepage rather than the article
How Music, Workout Enhance Your Overall Well-Being
That's fair. Brainwashed is probably an overly emotional label for what is actually a great idea that has deviated from it's original intent.

The American Spirit (for lack of a better term) is at odds with the economic and political structure of current-day America. We are led to believe (for good reasons) that we control our fate, but the infrastructure no longer supports it in a way that makes it available to every American.
> It is sufficiently fascist that it more or less "forces" students to program with a certain discipline. Never mind that no real coder EVER writes programs with that particular discipline once they get out of diapers...

I wonder what would be the author's opinion of Rust
I used to read in bed every night. Sometimes it was technical material and at other times, it was entertaining fiction. It helped me in many ways - it made it so that I had an activity that helped me relax before I put the book aside and slept. It also helped me make big leaps in my understanding of certain technical topics. I found that (at least in my case) reading before bed led to high retention.

Also, doing it this way, it was an easy ritual -> brush teeth, shower, lie in bed and read, feel tired and can't focus anymore, set book aside, turn off bedside lamp and close your eyes and fall asleep quickly. This adds up to a lot of reading over the months and years.
"The author complains that the Socratic dialogs are contrived and largely consist of one character explaining something and the other saying "I see" and so on. Well, that's true, but that's kind of how the format works. You could make a similar complaint about Plato's _Republic_."

Plato is widely criticized by philosophers for doing just that. We cut him some slack, however, as he was one of the first to do so. Hofstadter, by contrast, was reusing a well-worn technique and had 2500 years of critiques of Plato and literary innovations to draw on.

Socratic dialogs do not have to be so one-sided. It's not difficult to make both sides of the dialog raise relevant, interesting, thoughtful points, and many Socratic dialogs post-Plato do this. It's sheer lazyness, incompetence, or intellectual dishonesty to make them one-sided.
No joke! No joke! You're the joke!

http://www.stroustrup.com/whitespace98.pdf

Generalizing Overloading for C++2000.
Bjarne Stroustrup.
AT&T Labs, Florham Park, NJ, USA.
And remember: if you're not 10-20, you can still do all these things! The best time to plant a tree is 10 years ago, the second best time is now.

When you feel old and curmudgeonly, that's the perfect time to take a deep breath and become a beginner in something new.
You were probably downvoted because people suspected what your edit demonstrates: that you were trying to whatabout attention away from the US.

You’re absolutely allowed to criticize other countries (Mauritania is pretty far from the Middle East BTW), but when you suddenly bring them up in a conversation that’s specifically about the US and a prominent figure in the American abolitionist movement, it looks like you’re trying to deflect. I gave you the benefit of the doubt, but it looks like the downvoters got it right.
Which workers are "the" workers? Are the workers the ones who create the capital assets that multiply productivity, or the ones that use those capital assets?

It seems obvious to me, morally and logically, that if worker A creates an asset that multiplies the value of the work of worker B, that both should share in the additional value created. The value of capital assets depends on the profit that can be made with them, so I assume you aren't saying that "worker A" is disconnected from the capitalist profit mechanism. Then too, "worker A" and "worker B" are sometimes two roles of the same person - this seems relevant on HN, where people tend to be software developers who are always creating tools and using them.
Yes they do. In the old system they didn't, but everyone since ~1984 does (and most of the old-system folks are retired or near retirement now.

https://www.washingtonpost.com/blogs/federal-eye/post/federa...
Me too. I have also set it to burn thumbnail:

alias mp3='youtube-dl -x --audio-format "mp3" --audio-quality 0 --embed-thumbnail $*'
2001ish? Besides, it's a really tired debate/joke. Yes, it's hard to learn and has a bunch of misfeatures. But, like Javascript, it's widely adopted and in use on so many real projects that you're not going to get to rewrite.
Have We Reached the Limit of Human Longevity? New Study Says No
actually one flags it as suspicious. so 2 detections. I think that's quite good if I compare it with the much more popular latest firefox for windows installer which scores 1 detection out of 64 [virutstoal](https://www.virustotal.com/#/file/d35d12cb0e864c59edbf7e2630...).
The author also wrongly asserts that this metaphor is supposed to illuminate the incompleteness theorem when really it's just teasing some ideas that he explains in more detail later in the book.
Considering the close ties of OCaml and Coq, has anyone done some sort of formal verification for Tezos ?
That’s a much larger argument I agree. You could also argue the high level of citizen taxation combined with record deficit spending in our country could be further evidence that the goal posts simply shifted.
Videos are horribly choppy when I try to view them fullscreen in a browser. It's like playing a game without V-sync on. The same videos work flawlessly in MPV. Firefox in Ubuntu 18.04 with a Nvidia 750ti and proprietary drivers. YMMV.
Seems to be between 9 and 12 years after high school for a GP in the UK:

https://www.healthcareers.nhs.uk/explore-roles/doctors/lengt...
It's definitely an important factor, at least indicts lots of other factors.

- is the language suitable for the domain?

- is library/community support mature?

- are there enough developers?

- who in the company will support it? It's obvious from HN topics that we are obsessed in language topics.

- it also reflect some part of design philosophy, and it could be good or bad for your project depend on the case.
From the "interview" of "Stroustrup":

> ... You know, when we had our first C++ compiler, at AT&T, I compiled 'Hello World', and couldn't believe the size of the executable. 2.1MB

> Interviewer: What? Well, compilers have come a long way, since then.

> Stroustrup: They have? Try it on the latest version of g++ - you won't get much change out of half a megabyte.

So, for grins, I did, with the gcc7 port from macports, which is GCC 7.3.0.

-rwxr-xr-x 1 ssta staff 8968 Jul 5 10:40 hello

The C version, using printf instead of (gasp) std::cout, clocked in at 8432.
Wordpress Admin Color Scheme Ocean
I wonder how things have progressed from a security/stability standpoint - my OS definitely crashes a lot less, I'm guessing because there is less C in it now...
> Inheritance chains were 5 or 10 classes deep.

30 years later, I still run into the same problem regularly. I'm not sure why, but this seems to be an anti-pattern that everyone needs to learn about the hard way.
> It may seem pedantic to you, but network effect creates a benefit, not a cost. That may create an opportunity cost for those not in the network, but it's not a direct cost. This distinction is actually very important.

So, it's a cost, but not a cost? What's your point?

Also, the network effect doesn't create a benefit. The benefit of using a network (and thus the cost of not using the network) is simply what we call the network effect.

Other than that I have no clue what point you are actually trying to make, and it all smells like a whole lot of equivocation and missing the point.

Do you agree that it is possible to have a situation where one product dominates the market because individuals making rational decisions prefer that dominating product because of its dominance, even though a different product would be beneficial for every consumer of the currently dominating product if they magically agreed on switching over, even when considering the switching costs (other than the costs of reaching agreement, which is assumed to be zero for this hypothetical case)?
I always felt that if you wanted the same functionality as c++ in terms of performance, flexibility and power of abstraction, you'd end up with something as complex as c++.

Modern c++ shows there was/is room for improvement, but it does not fundamentally simplify the language imo.
Having spent the past decade working with python, I've always considered C to be a mystical black box for hardcore systems guys. I recently needed to write some high performance networking code so I decided to give it a shot. At first I found it painfully verbose and confusing, with the simplest operations requiring lines of code. After a couple days I found it to be rather refreshing, it encourages you to look at memory from a more basic perspective and efficiency just falls in place. Pointers are confusing and strict typing takes some getting used to, but they are awesome. It's great to be able to use the same memory with different types and structures, so better than copying things around. I still love Python, but I will be using C again when performance matters.
It’s only half of the discrentionary budget, which itself is roughly half of the total budget.

And with the pending trade war with our Allies and Trump’s threats to NATO this point may not be valid much longer.
You're hitting the nail on its flattest head here. The metaphors are deliberately broken. The ways in which they break are meant to show aspects of the system.

Theorems have characteristics that aren't obvious to non-mathematicians. Hofstatder's goal was to convey some of these characteristics. A metaphor that says "if a theorem were a record and a mathematical system were a record player, here is what would happen to the record player when it played a self-referential theorem record" is an excellent way to show how theorems are different than anything we normally deal with.

A more modern book would have been able to rely on the metaphor of a program "crashing" which would have been sad and inept. There are a thousand ways a program can crash and very few of them reflect any aspects of Gödelian incompleteness. They're just poorly made, like a record with a big hole in the track that breaks the record needle.

There are essays in Hofstadter's collection "Metamagical Themas" that expand significantly on his idea of what metaphors and analogies actually are and what he thinks they're capable of doing. Reading those makes it very clear why he'd use broken metaphors in GEBEGB.

I think GEBEGB is most useful in exposing people who don't yet have any formal training in mathematical theory to some deeper concepts and inspiring them to find the subtle edges of these systems. I read it at about 12 and it changed my life by exposing subtle fripperies of thought. If I'd read it at 20, as the author of this article did, I too would probably have experienced these little amusements as lack of rigor. Instead I experienced them as mysteries, and now as an adult I experience them as very dry jokes and thought prompts.
If the USA is good for business, why has business formation been in decline for 30 years?

Understanding the 30 year Decline in Business Dynamism

https://ideas.repec.org/p/red/sed015/1333.html

"Recent empirical work has drawn attention to an unmistakable shift in U.S. firm dynamics since the late 1970s. Principally, the entry rate, measured as the share of new employer firms out of all employer firms, declined by nearly 40 percent from 1977 to 2007, even before the impact of the Great Recession. Remarkably, this steady decline occurred relatively uniformly within geographic areas and within relatively narrow industry aggregations. Taking this trend decline or startup deficit as given, Pugsley and Sahin (2014) show that both its direct effect on business formation and its indirect cumulative effect through a shift in the employer age distribution partly explain the emergence of slower employment recoveries with each business cycle."

Declining investment since the early 1960s:

http://www.smashcompany.com/business/the-decline-of-usa-inve...
> "By the rivers of Babylon, there we sat down. Yea! we wept when we remembered Zion. We hanged our harps upon the willows in the midst thereof. For there, they that carried us away captive, required of us a song; and they who wasted us required of us mirth, saying, Sing us one of the songs of Zion. How can we sing the Lord's song in a strange land? If I forget thee, O Jerusalem, let my right hand forget her cunning. If I do not remember thee, let my tongue cleave to the roof of my mouth."

> What, to the American slave, is your 4th of July? I answer; a day that reveals to him, more than all other days in the year, the gross injustice and cruelty to which he is the constant victim. To him, your celebration is a sham; your boasted liberty, an unholy license; your national greatness, swelling vanity; your sounds of rejoicing are empty and heartless; your denunciation of tyrants, brass fronted impudence; your shouts of liberty and equality, hollow mockery; your prayers and hymns, your sermons and thanksgivings, with all your religious parade and solemnity, are, to Him, mere bombast, fraud, deception, impiety, and hypocrisy-a thin veil to cover up crimes which would disgrace a nation of savages. There is not a nation on the earth guilty of practices more shocking and bloody than are the people of the United States, at this very hour.

Douglas was woke af.

It looks like there's a maritime museum dedicated to him and Isaac Myers right near where Douglas lived in Baltimore. I'm a bit ashamed to admit I had no idea this existed, and I lived there for 5 years. https://www.google.com/maps/place/Frederick+Douglass-Isaac+M...
nice. i remember something like this over 10 years ago, but people back then were not getting it...
Is it better to learn C or C++ if I'm a C#/Java/Swift programmer?
For people who are new to programming, especially those who never went through a "proper" Computer Science degree program but instead are either self-taught or went through a boot camp to get them to a point where they could be hired as a .NET, Java, JavaScript, Ruby, Python, etc programmer, and are now wanting to learn at a deeper level with a "real" language, is it better to learn C++ or eschew the superset and learn C directly?
I think it's from cat-v : http://harmful.cat-v.org/software/c++/I_did_it_for_you_all
> the hours were normal.

What were 'normal' hours for a programmer in the 1990s? Did you guys work 9-5?
22% in the latest admissions cycle (though that's across undergraduates as a whole, not engineers specifically).
The Lottery Ticket Hypothesis for Mobile Neural Networks
Why anyone except babies need sunscreen?
Fortunately, there are more choices today. I use Rust for embedded systems.
Well, doesn't that mean that the security model is based on you acting as trusted third party and relying on you to only write truthful data to the blockchain?

In other words, the delivery proof is not based on trusting the blockchain mechanics, its based on trusting Gmelius Ltd.
The author didn't really complain about too much specifically, just generally complaining about the language. I guess it's hard to say whether or not the situation is better in the latest versions of C++ (though as someone who uses C++ an awful lot I would assert that it has gotten much much better).

That said, I think the complaint maybe comes down to coding style and architecture of the thing they're coding. They seem to make a joke we'd maybe more closely associate with Java than C++ these days. Also Microsoft's C++ style is awful. So if that's the only experience you have with C++ I would be hard-pressed to blame you for hating it.
Is it possible for a SIM card to not have a phone number? My iPad has a SIM card for cellular data and it has a phone number even though it doesn't have a phone app.
Well, you mentioned you "feel incredibly cynical about longevity tech", which seems to suggest that you feel differently on this particular type of research compared to others.
We give up, why is it in your RSS feed?
Right hand use of the mouse for work never hurt my wrist. Minecraft and WoW did though. I kept the device on the right side but switched to a trackball and rebound any mouse button actions to the keyboard instead. Solved all my RSI issues.
I read that book around 1998 and was an instant convert. C++ has a steep learning curve, and does not stop you from getting yourself into a lot of trouble, but it does stand up to Bjarne’s original promise about performance.

IMHO the STL is one of mankind’s greatest accomplishments.
If you liked it you should try a language with actual strict typing like Ada or Rust.
I've also been using a lot less of reddit.
All reddit and most sites for that matter need to do is be responsive to screen size. And do away with dedicated apps.
One of the features we have is a naive suggestion engine. Upon signing up you can feed the app a list of keywords. These key words are used to surface relevant threads from your inbox.

You can see this in action in this video: https://youtu.be/MqbTUDCvYB8
Bioyino – a distributed, scalable metric aggregator
Besides there are several scripts that make flashcards from text files for Anki. My favorite at the moment is [anki-editor for emacs](https://github.com/louietan/anki-editor) because it stores the anki note-id in the org-file so that I can update existing notes in Anki (contrary to most other scripts I know).
Seconded. I'd even go so far as saying that C++ is my favorite lang; it's C with the lavish furnishings of Java.

C is a space ship, Java is a plane, and C++ is an amphibious SSTO. It's messier in design and trickier to pilot, but you can do more with it!
Useful resources for design
Excellent point :) So. First of all, you'd not have to worry about following, if you don't use containers.

If your app, running in Docker container, is compromised, like PHP webshell, it might try to escape the container. What capabilities you granted for your containers? CAP_SYS_ADMIN, CAP_NET_ADMIN or you have no idea? This is just one example of escaping https://www.twistlock.com/2017/12/27/escaping-docker-contain... and lets talk about namespaces, like user namespace. Is root inside container is a root user on host system?

Does it feels like production ready system?
Launch: Incrementalist – Tiny Tips for Small Business
I switched to a vertical mouse and my wrist pain went away. A good keyboard is also a must. I don’t think there is one “right” way though, it’s all very much a personal choice.
No Starch Press!
I blame java
Newer versions of SGX include the "Flexible Launch Control" feature, which allows you to control the SGXLEPUBKEYHASH setting on the CPU. This contains the hash of the public key that the "launch enclave" for SGX must be signed with, which further grants tokens that can be used to launch subsequent enclaves (AFAIU). Control of the launch enclave key has been the main source of contention over SGX, as far as I can tell, since you currently have to enter into negotiations with Intel to get your enclave signed by their key.

Based on some posts from Andy Lutomirski on LKML, it seems highly unlikely that any SGX support will go upstream in Linux until Flexible Launch Control is available in consumer SKUs, at least.[1] In fact, I looked up the latest patches posted just a few days ago, which "Removed in-kernel LE i.e. this version of the SGX software stack only supports unlocked IA32_SGXLEPUBKEYHASHx MSRs."[2]

"SGXv2" with FLC is allegedly available in some SKUs right now (based on some googling[3]), but Intel hasn't been very forthcoming on exactly which ones those are, or even what the major differences between v2 and v1 are, besides FLC...

[1] https://lkml.org/lkml/2017/3/8/605

[2] https://lore.kernel.org/lkml/20180703182118.15024-1-jarkko.s...

[3] https://communities.intel.com/thread/124490
>This always struck me about most American TV shows

Let me guess: UK/EU based?

It's easy to make a good season when you only have to write six episodes :)
Can you share what app/device you use that has all of those features like specifically picking out fun roads? I'm not aware of that feature on any major nav app.
Have you actually seen the implementation of the WhatsApp clients on iOS / Android? How can you say that the data is E2EE when there are no sources, no verifiable builds, nothing but just statements that "yes, we do use E2EE"?

On the contrary, you have open protocol with verifiable implementation and available sources of the Telegram client for mobile platforms; yet you automatically disregard it just because it is not developed by Moxie or whatever.

I am still baffled how people completely turn off their critical thinking when it comes to encryption; I guess this is a fine example how marketing actually works well.
"There are only two kinds of languages: the ones people complain about and the ones nobody uses."

-- Bjarne Stroustrup [1]

[1] http://www.stroustrup.com/bs_faq.html#really-say-that