skysight-inc/HackerNews huggingface dataset:
I love OO - but C++s objects are so bad that most of the time I just end up using functions-where-the-struct-is-the-first-argument, C style. If I'm feeling particularly energetic I might use the PIMPL idiom. But naiive use of C++ objects is absolutely painful for me.

All language constructs can be broken down into simpler ones, at the end of the day. We might talk about how subroutines are just overrated assembler macros. C++ isn't very clean so the fact that these fancy schmancy objects are just structs + function pointers is very obvious. But when done cleanly, I'd argue that an object is more powerful than the sum of its parts.
You could say what the differences are that you think he can't see, instead of acting as if "no" is a good enough argument or rebuttal.
Veritasium video about the topic https://www.youtube.com/watch?v=WIyTZDHuarQ
"The amount of pressure needed for a small sample is roughly the equivalent of someone dropping 10-lb hammer from a height of one meter, Qiao said." On Earth or with Mars's gravity?
It would be really tempting to go settle Mars. Just... Leave everything behind, and go.

I don't know why. Long-term survival seems unlikely for the first batch of colonists. It's almost inevitable that there will be some sort of disaster. And even if not, you'd have to live underground to avoid the radiation. Ever want to go for a walk? Not so easy on mars. Surely you'd start to feel caged after just a few weeks. Because you are.

And yet I can't get it out of my head how tempting it would be. Why? Is it genetic? I've heard that one reason neanderthals died out is they would migrate until running into an obstacle, like the ocean, and then settle there on their perfectly-good land. The net result was that neanderthals stopped expanding. Whereas we did things that didn't make sense: launch ourselves into the sea, for example. And now we want to launch ourselves into the vast nothingness of literally-nothing, to go live as moles in a confined area, possibly without most of the amenities we take for granted.

Yet I think I would. I just wish I could figure out why.

Part of it is a longing for community. Life sometimes seems so pre-packaged. It's an awesome life, to be sure, and in the society you're reading this comment in, you probably have a lot of power to affect your life. You could get rich. Or you could move to a new country, or decide what career you want. But it's all been done before. And I think Mars is an escape hatch from that. There, the frontier exists. Even if it's the life of a mole in a cage, it's a cage nobody has ever dared to build before. And that's exciting.
Lua is under-coupled with the base system. For the longest time it wouldn't even support dynamically loaded modules because it wasn't portable. It wasn't part of C89.

So when one uses Lua, it is up to the user to supply IO. This threading through the needle or hour-glass allows the users (embedder) to define how the scripts interact with the base system. This makes them more resilient over time, the interactions are better specified and highly mediated.

Somewhat analogous to the library vs framework dichotomy. Libraries survive better than frameworks do.
I wonder how well that would work here in Japan. You don't see as many people working on laptops in a coffee shop here, but you do see an awful lot of English teaching and students studying
VHDL and Verilog are virtually no different from eachother. It's basically equivalent to ARM assembly vs MIPS assembly -- they are both machine-level assembly languages.

If you want something more interesting, see High Level Synthesis (aka C to RTL, SystemC, etc) [1]. But this is still very beta (and has been for over a decade), so it's almost unused in the industry on designs.

The majority of hardware design time is now dominated in the hardware verification space, aka SystemVerilog.

[1] https://en.wikipedia.org/wiki/High-level_synthesis
World’s most potent ergogenic aid
Great exercises, but I wonder if anyone is able to do the "leg swing" exercise? How can I do it with only 2 legs? The illustration shows 3 legs.
As SEC Reviews Bitcoin ETF Again, an Ethereum ETF Might Come First
> Use your public library; the staff actually want you to be there.

Unfortunately for a public library more footfall doesn't equal more revenue. In fact it can increase running costs, which results in opening hours like my local library:

Mon:	13:00 - 20:00

Tue:	10:00 - 17:00

Wed:	10:00 - 17:00

Thu:	10:00 - 17:00

Fri:	10:00 - 16:00

Sat:	10:00 - 16:00

Sun:	Closed

And that's regardless of the lack of amenities: my library has one table and no toilets.
If it's any consolation, parties in your 20's tend to get old pretty quick - especially if you've been doing it since your... teenies?

I'd much rather sit at home with the missus and my cat and make myself some nice cocktails rather than go back into a big house party, or a nightclub and I'm only 24! A lot of my friends are in the same boat - no one parties any more, we all just sort of "got over" it.
A lambda is an anonymous function. A closure is a function which carries with it some state. The two concepts are independent - you can have named functions as closures, and lambdas that aren't closures. Rust does seem to tie the concepts together syntactically.

Languages which support nested functions usually allow those inner functions to be closures.
I'm sorry to dissect your quote, which is hall-of-fame-worthy, guess I'm just curious if it's always turtles all the way down, or if there is a "right" level of leak-proof abstraction. I imagine that every abstraction leaks in certain contexts, but maybe certain ones have stuck just because they're "good-enough" for common cases. I suppose I brought up processes and threads since they might provide for a level of parallelism that raw objects or closures lack, without an OS or runtime supporting them.
Are you interested in AI and Genomics?
If Google is an example of "failure", I'm pretty sure a lot of other companies would love to fail.

> Android, YouTube

First off, Android didn't even exist as a product yet when Google acquired it, and YouTube was popular but nowhere near the behemoth it is now. Taking those things and turning them into world beating juggernauts is a very non-trivial task; as you've probably noticed, most corporate acquisitions of startups have a very different outcome.
And in practice usually with an implementation of lots of useful functionality and good integration into the type system.

I mean objects are structures with pointers in the same way that OS is just an RPC server and databases are lists of arrays. ;-)
Doesn't Bell's inequality address this question?
> Felt like people'd been deliberately obtuse to keep me from learning.

When I get that feeling, what's really happening 99% of the time is that the person trying to explain actually has no idea what they're talking about, but doesn't want to admit it.

If you understand a concept well enough, you can explain it simply and succinctly (barring things like really esoteric maths/physics, but nothing in computing is that difficult in my experience).
The government of North Korea is one of the two puppet dictatorships established in the Korean peninsula after World War II. It was the will of the Korean people to establish a socialist democracy, not a Juche dictatorship, but in 1946 the USSR and USA decided that what the Korean people wanted was the least important concern. The point is that it wasn't the ideology of the Korean people that mattered, it was the clash of 2 imperialists and its result.
AI for genomics is coming. But between academic publications and popular news on the topic it either takes too much time to digest, it's overhyped, the conclusions are misleading, insight is lacking, or a combination thereof. I am considering writing short LinkedIn-style articles to narrate key developments that are faithful to reality and mindful of your time. Are you interested in reading one article a month on the topic? Check out the url to learn more and I would appreciate if you could spread the word - we need more people working on this stuff!!
The article describes an alternative interpretation.
If you want to use Fira Code in Visual Studio Code, use this in settings.json:

"editor.fontFamily": "Fira Code"
"editor.fontLigatures": true
SQL is not quite a relational algebra but it's very related.

https://en.m.wikipedia.org/wiki/Relational_algebra?wprov=sfl...
Oh, that makes sense, but how do you render the pin in 3D when you see the pin in Augmented Reality. I see your screenshots where you see the pin on google maps and the pin when you view it I augmented reality.
Why is accountability a bad idea?

Charities do that all the time. Some are well funded exactly for this reason. Most people understand good things cost money when thinking for long term.
> I'm not going to try to make a argument for Android tablets in general (on my third, not buying a fourth), but they actually support all this.

> Run up a chroot with Debian and X11 and you can even have yourself a semi-normal Linux desktop inside your Android. With a mouse and keyboard.

Don't get me wrong, I'm a huge a Linux fan, but calling this "supported" seems like a stretch. Maybe better phrasing would be "this is possible on an Android tablet".
That's an implementation detail.
This is an intriguing line of thought. Have you expounded on it more elsewhere?
These people are insane.

> And if North Korea ever does change, if the Kim family were overthrown or were to voluntarily loosen its chokehold on information, a U.S. apology for the bombing could help dispel 65 years of hate.

Consider the response of white americans in the US after the Imperial Japanese bombed a military force in Pearl Harbor, with almost zero civilian casualties. It quickly became common sentiment in the US to respond by ridding the world of the "yellow scourge" after Japan's attack on Pearl Harbor. The US response was to carpet bomb Japanese cities full of civilians, carpet bomb foreign cities held by Japan holding civilians and citizens of foreign nations, etc... then to top it off, they felt fully justified to drop two nuclear bombs on two cities full of civilians in Japan to teach East-Asia a lesson. They didn't drop it on the military which was massed in the southern parts of Japan, the US intentionally dropped TWO ATOMIC bombs on cities full of civilians!

How do they expect the North Koreans to just be appeased by their "apology"? It's crazy, crazy, crazy on the part of the US as well. It's actually insanity.
Thank you for pointing this out. Employees in a company, like children in early education, really ought to be judged by their accomplishments rather than from some arbitrary benchmark; or, worse yet, from some cult idea of the "genius" (more commonly referred to as the "10x engineer" or "ninja" in SV parlance).

If one has a history of smarty pants contributions, &c then we may be justified in calling them intelligent. :)
It looks nice. Is it stable enough since I find that the current version is 6.8.16 (seems high?) ?
> Can you vote and pick a guy from another party? Do other parties exist at all? Can you start your own party?

All you're illustrating with this one is that the US does a better job of faking democracy.

If China had a pro-establishment Democratic Communist Party alternative to a pro-establishment Communist Party, each sharing 99% of the resources, media, power and influence, along with infinite minnow parties that pose no threat to the system or established order because the system doesn't allow them to, it would be as democratic as the US.
Your post is really fascinating to me. I do think it's possible to be happy living unconventionally. My life is also unconventional, though in a different way.

Do you socialize online a lot? Do you work freelance at all or are you financially supported? How do you usually pass the time other than programming? What do your parents think about it?
Right, that's how you do it in C, where you don't have closures. Closures take some heavy machinery behind the scenes in a hard-compiled language. They sort of fall out of the dynamic binding mechanism in Python and Javascript.
There are lots of non-drinking non-drugs activities out there. In any major city, there are others with similar interest. Jiu jitsu, swing dancing, Minecraft, legos, take your pick...
I understand the feeling, but object inheritance goes a bit beyond this model, doesn't it?

You could have, through some convention, the inheritance tree encoded into structs, but that's true of every language feature really. At no point do mots language feature stop being "structs + functions", because that encodes data + code.
Happily, about 90% of business is spreadsheets and scalpels.
ACH transfers (aka bill pay in some banks), most regular payments out of account X also have a corresponding transfer ~5 days prior from a main cash account to account X.

It's not flawless, but it is insulation against ACH fraud, both electronic and forged checks/e-checks (I've been hit by both before).

It also makes it nearly impossible to use most budgeting softwares out there, aside from battle-tested Excel.
I wonder if people would get the message if a "xx minute maximum time" not was posted. If one person does that, the store can absorb it, but not if 50% do. That $2 they made on the coffee doesn't go far enough.

Or have a section with mini-cubicles, like they have internet access by the minute in third world countries.
Some surprising materials have this property, including aspirin which can be formed into tablets with no other ingredients.
I see the Japanese population as having a more defined vision of the future than Americans, and it's fairly negative vision. This leads to making concrete but pessimistic plans like saving as much money as possible and investing it only into things like real estate.

My impression of the US mindset about the future is that it's hazy but also positive. This leads to low or negative savings and few convictions about where to invest. Most just take a broad portfolio approach and buy index funds. Many people have both debt and holdings in index funds. They're not sure how, but feel optimistic that things will work out well somehow.
> ESPN's contracts forbid it to sell to anyone other than a Cable system.

In Major League Baseball's case, they reserve that right for themselves. Of course, every baseball team also has its own local contract or network.

I get the feeling that ESPN is a middleman that is increasingly being seen as not adding enough value for the price by its subscribers.
We actually worked out of our public library every day as a small (4 person) company, and it was wonderful - they're usually in great locations downtown near good restaurants, they have really nice peaceful quiet atmospheres, and when you need a break, you can wander through the stacks and see what catches your eye for after-hours reading. When you need to take a call or have a non-compete discussion, you can just step outside. I highly recommend it.
There's a big difference between borrowing for a business venture and borrowing to subsidize a lavish lifestyle. We have both kind of people in the US, but I have to believe the second type outnumbers the first by quite a bit.
While I've seen various methods in scheme to emulate objects with closures, I haven't seen a good one from the statically typed FP camp (the ML family, Haskell, etc). Meanwhile, objects are able to masquerade as closures very nicely in statically typed OO object systems like Scala and C#.

So I lean more towards closure being a poor mans object than vice versa.
This is a terrifying manifestation of what technology makes trivially possible. This device:

* Logs every app and web page that you open.

* Keeps forensics on shared files based on hashes, to track networks of like-minded dissidents or individuals sharing similar files.

* Refuses to open any files which are not signed by either the government, or the device which created the file. (e.g. photos can be viewed only on the device that took them, while government-approved files can be shared freely.)

Among other things. Yikes.
If you are looking for terms related to your core idea, please try NiftyWord.com[1]

Word discovery happens through related words (not restricted to synonyms), Associated/Collocated Words (words that go together), Words formed by prefixing, suffixing etc.

A handy feature could be the 'No of Syllables' Filter in the "Associated Words" section. This is mighty important as shorter names are more memorable.

Disclaimer: This is a service I built for my own necessity. It has been a great learning in shipping a product.

Love to have feedback/critique that can help niftyword.com grow.

[1] https://www.niftyword.com
I want to say the same thing. There have been long discussions with my therapist on this topic, and it is still one of the things I struggle with the most. Leaving aside where the stress comes from, I also take what you might call an external approach.

I try to move.

The shortest path to changing my emotional state, I find, is to change my environment. I remember university being very high-key almost all the time, and seeking out low-key environments was difficult. I hit the trails. I try to limit my exposure to other people, and focus on keeping my own footprint small. It is easier for me to meditate, or just to process my thoughts, when my body is engaged in motion through my surroundings and I am using most of my senses.

If nature is unavailable or unappealing, then use something to change your information diet instead. Music is a good suggestion. I like instrumentals when I can't get outside. Even if I'm only changing my environment virtually, through a video game, play helps.

Whatever I do, it's about trying to change my mental context so that I'm not ruminating on the thing causing the stress. This doesn't mean running away from stressors... only that one needs to choose different stimuli, or lack thereof, from time to time.
It would be remiss to not mention the well-curated list by Gerard 't Hooft [1999 Nobel Laureate in Physics]. A lot of books on the list, but also a lot of links to freely available lecture notes or online books as well.

http://www.staff.science.uu.nl/~gadda001/goodtheorist/ (sidebar for specific areas).
Avoid setters?
On the last releases of Vivado, Xilins is making a big push for HLS. Personally I have not still had the chance to learn and try it.
https://physicsnapkins.wordpress.com/2013/05/20/all-paths-to...
Imagine every CS paper coming out with executable code. That would definitely put humanity in an accelerated path to fictional future.
Doesn't latex offer a lot more control over layout (page breaks, columns)? For html you have to use css for that and markdown (thankfully) gives you nothing.
I've been fairly interested in pilot wave thoery, and the more I delve into it, the less I feel it's useful.

My understanding is that the statistical equivalent of the pilot wave theory is "when you flip a coin, there is not a 50/50 chance, but a 100% chance of getting the result, because you got the result". Hyper-determinism.

The programming equivalent is "all functions are built with lookup tables, with precomputed values". Great, but I still want to predict the values of the lookup tables to describe the function.

From the wiki description of the "guiding function" (basically, the universe's step function):

>The main fact to notice is that this velocity field depends on the actual positions of all of the N particles in the universe.

This feels totally infalsifiable! "in the exact state of the universe you get the result you get". None of the results end up being usable because there's always the "out" of "the universe has changed". You end up going into hyper-determinism, which is almost all about negating free will.

Even if the pilot wave theory is the "real thing", the other model of quantum mechanics ends up being more useful because at least you can make some predictions on the state of the universe.

(Would love to have someone explain to me how we can apply Pilot Wave Theory in a "local-ish" fashion, people worked hard on this stuff so I imagine there's some use)
What does "stronger" mean in this context?

According to this definition, assembly is stronger than Haskell, because it contains stateful objects (registers), whereas a state-containing object cannot be present in Haskell code, although one may appear when you run the code in question.
Email Debt Forgiveness Day
Annoyingly this doesn't apply on the most modern platforms... see windows phone/universal etc as well as mobile platforms, consoles and all sorts of embedded systems.

(ps I did a significant chunk of this for https://code.google.com/archive/p/fridgescript/ back when this made real sense, I'm not just making hot air... this is quite a mediocre result imo ... bedroom stuff from years ago..,)
Decluttering is the keyword for me. Rethinking what I am consuming, how and what the effects of its consumption are, i.e. what do I do with what I consume? Do I share it? Do I digest it? Do I make something based on it?
Yes, RISC-V is simple+elegant. If that's what you want, great. True, RISC-V is open source. If that's what you need, awesome. Now weigh those qualitative features against the cold hard $1B/year that Intel invests in making the mess that is x86 run fast.

I wonder how hard it would be for Intel to substitute an alternative decoder in place of the current x86/x64. Given the existing micro- and macro-fusion capabilities, is there anything that would prevent them from reusing the loop streamer and decoded instruction cache and entire back-end for a different instruction set? While there are probably legal issues with ARM or Power emulation (are there?), it seems like it wouldn't be too hard for them to quickly put together a high-performing hyperthreaded superscalar out-of-order alternative for RISC-V should they ever want to.

BTW, anyone who thinks that μops are actually RISC under the hood severely needs to re-read ...

Could you expand on this? I take you to be saying that Intel µops aren't really the same as classic RISC at all, but you seem to be the only person in this thread that holds this position. The majority appear to be saying straight-out that current Intel is actually RISC under the hood. Personally, I suspect that you are right, and that it would be useful for you to make this claim more forcefully. Or maybe I'm the only one that believes this, and I'm misinterpreting you?
Once again with "There are no shortages, there is merely a disagreement with reality about how much labor costs."

It does not astound me that companies are having difficulty hiring white collar workers for $2k a month with the expectation of traditional Japanese working conditions but with traditional American expectations about job security.
The real reason they cut it off is seating. Wifi costs practically nothing to them, so if you sit all day with their wifi, your cell plan or solving equations it's the same. Then, they'll find new ways to discourage it.
One of the most successful companies in history is an example of failure in leadership to you? Thanks for the lawls
YES, That is it! Thank you!
I would not recommend you to use it in production by now. 1c is evolved from another tool I developed for building front-end projects (for over a year in production). When I forked from the previous project, I decided to continue its version number. It is still an immature project but is surely aimed at production-use and under active development.
Does anyone else work at a standing desk?
Not parent, but I think setters destroy what's objecty about objects - that you send them high level messages and don't care what's inside of them.

As Alan Kay puts it (paraphrasing): "setters turn an object back into a data structure"
x10^999 +1s