skysight-inc/HackerNews huggingface dataset:
I'm flattered. Jsong definitely wouldn't be possible without QUANTUM.

I learned the trick that you mentioned from WebKit source: https://github.com/WebKit/webkit/blob/b387856b9e42476169271f...

It's slightly different there though. I don't think that boolean definition
tests (as in `definied`) should be mixed with actual definition value:
what if we want to check if `USE_STUFF` is defined, and zero
is among possible definition values?
That's great - thanks for the link.
I don't feel brain fog, but I have hard time playing tactical videogames on intense work days. In those cases, I play a very reflex based game and it feels like doing a relaxing run after hard training
How do you test that; can you measure how you react to motion at 120fps vs 280fps, or is it just a feeling?
Retrograde Analysis, debugging from a memory dump.
Not the OP but maybe he means there are side effects. Of course Haskell can side effects that is one of the big misconceptions.
> The language felt very intuitive to me.

Which languages do you typically use now? Are you a Java dev? Do you already use Eclipse daily?
I try to not stay in flow state. It means that the problem I'm working on is too familiar and I should automate the programming of it so that I'm grinding on something hard again.

Edit: but it's okay if it's a prototype
Is there any chance you would be willing to share some information on how you dealt with the stress?

I suffer from a combination of vestibular and CFS symptoms, very similar to yours, and your message (and /u/tomhoward's comment) gave me some hope.

If it's easier, my email address is in my profile.

Thank you so much, it would really mean a lot to me.
The originally linked page does have a very good explanation of the language though.

It just needs far more code examples.
How to parse text for a DSL at compile time? (C++)
That would mean ~2 cache lines are accessed for an IPC call, plus another 130 cycles for instructions. That's very impressive.
Absolutely fascinating work! However, I'm not entirely sold on the usage of the term "mother tree." While Simard says

> That’s how we came up with the term “mother tree,” because they’re the biggest, oldest trees, and we know that they can nurture their own kin.

the interview doesn't reference any work that specifically states these mother trees will preferentially nurture kin over other species. For example, when she describes the more controlled greenhouse experiment with Douglas firs and Ponderosa pines, an injured mother tree Douglas fir dumped carbon into the network and the ponderosa pines still absorbed it. She may have other work that describes some kind of kin preference, but I don't see it cited and I don't quite understand what the mechanism to make this happen would be.

Rather, (as a layman without any knowledge of the work and published papers around this topic), I see this phenomenon not as the result of "mother trees" but from "farmer fungi." The fungi, because of their large networks and relationships with the trees, become "resource managers" of the forest. The fungi have an incentive to make sure that the trees are healthy and will continue to provide nutrients for the fungi. When younger trees are injured, that is a threat to the fungi's survival, and therefore one possibility is that they have evolved this mechanism that transports resources from older trees to the younger ones to help the younger trees survive. The relationship between these fungi and trees are normally symbiotic, but the older trees "tolerate" (or fail to evolve some immune response to) this mildly pathogenic behavior because it likely benefits its nearby offspring or close kin.

I think the concept of the "mother tree" might be slightly anthropomorphic, assuming that a large, multi-organ plant must be more intelligent and possibly be even more caring than small fungi that must only be able to perform simple functions. In reality, the fungi are the organisms in the best position to evolve this beneficial behavior.

Again, I'm a non-expert with zero knowledge on this topic. If anyone could provide a reference to a free online paper that describes these "mother trees" as preferentially nurturing kin, I could be persuaded. And that would be a very interesting read!
Wait... "%.o: %.c" is nonstandard?!?
Apologies for the off-topic, I was unsure how to reach you privately, so I'm posting here in the off-chance you see this.

Is there any chance you would be willing to share some information on how you dealt with the stress you mentioned on the CFS thread?

I suffer from a combination of vestibular and CFS symptoms, very similar to yours, and your message (and /u/tomhoward's comment) gave me some hope.

If it's easier, my email address is in my profile.

Thank you so much, it would really mean a lot to me.
Along similar lines, I noticed some latency to Apple Terminal's prompt and made this to fix it.

https://github.com/twhb/terminal-prompt-perf
Relative hashpower of BTC and BCH in percentage of total
:read !elinks --dump url

?
"Window Managers on traditional desktops are not context or content aware, and they are not controlable by other programs."

What does this mean? Some can be via IPC
The problem comes in as soon as you need conditionals, which is likely when attempting to build something portably. There may be some gymnastics that can be done to write around the lack of their presence in standard make, but otherwise your options are:

- Supply multiple makefiles targeting different implementations

- Bring in autotools in all its glory (at this point you are depending on an external GNU package anyway)

- Or explicitly target GNU Make, which is the default make on Linux and macOS, is very commonly used on *BSD, and is almost certainly portable to every platform your software is going to be tested and run on. The downside being that BSD users need a heads up before typing "make" to build your software. But speaking as a former FreeBSD user, this is pretty easy to figure out after your first time seeing the flood of syntax errors.
I noticed that currently json is used to encode messages between clients and the server and also a lot of information that is not actually needed in every update is included, such as the color of each player's car, their name or the number of lifes left.

How much could be gained by transferring only the information that is actually needed and using a different serialization format, perhaps protobuffers or the like?
I personally use scons instead of Makefiles. Its dependency analysis is amazing, I haven't seen it fail a single time.
i = 0x5f3759df - ( i >> 1 ); // what the fuck?

Indeed. I hope there's some omitted documentation for this. Does anybody know how this works?
Thanks Josh for publishing your naive article early. Reading it and a bunch of the comments was the best read this week.

History has yet to concide open desktop operating systems in favour for smartphone era silo platforms.
Setting Up Selenium UI Tests with Headless Chrome in Windows
A “Pecha Kucha” on How to Make a Pecha Kucha
How to customer validate, market and ship your code.
This is from another old thing I wrote:

If you hang out with plants and help them then you are a Grower.

If you are making something with your hands that involves protons and neutrons then you are an Artisan.

If you are making something that can be transmitted through photons and electrons then you are a Designer.

If you are helping people to feel better then you are a Healer.

If you are helping people to grow then you are a Teacher.

I think that just leaves Artist and Scientist? I'm going to say that both of those roles are concomitant of the others to a greater or lesser degree per ones own personal tastes and nature.

Grower
Artisan
Designer
Healer
Teacher
Artist
Scientist

Every other role will be eliminated or fulfilled by machinery. Go take out the phone book, if you still have one. Flip though it and see what I mean, nearly everybody in there is about to made obsolete by automation.

As for the structure of the economy I foresee three "levels" or "strata".

The first layer is made up of locally grown and consumed food and other wholesome organic products. On the primary physical level we'll live quite close to the way our "stone-age" ancestors did (and no, billions will not have to perish to let it happen) only with nice houses.

That original organic economy will form the basis or substratum for the other two layers.

There will be an "information" layer where most economic activity takes place that involves people creating wealth in digital form. More than enough has been said about that.

The last layer is relatively sparse and consists of whatever physical transactions are needed to support the two other layers but that are not strictly "of them", meaning non-purely-digital and not ecological or organic. This involves things like extracting particular elements from the Earth for specific experiments and projects.
Viewing your diff made me wonder if there is a market for custom-compiled shells, where things like the custom prompt or termtitle are baked in at compilation time.
You've probably heard of Google's new OS Fuchsia. What are your thoughts of the technology decisions they've made so far?
https://news.ycombinator.com/item?id=15026917
Layer 3 switches have routing / forwarding tables... They qualify as routers.
12 tips to gain more followers on Instagram
> in the habit of using computers too much

If you have any advice how to use computers less in my job as a developer and Devops engineer, I'll gladly take it.
https://en.m.wikipedia.org/wiki/Project_Looking_Glass#Featur...
Broaden his narrow mind then, rather than downvoting.
Please elaborate: What do you find amazing about scons?

Also, how does scons handle non-existence dependencies?

What would be a scons dependency graph for this C code?

#include<stdio.h>
main() {
printf("hello, world\n");
return 0;
}

You can see a dependency graph I generated with redo here: http://news.dieweltistgarnichtso.net/posts/redo-gcc-automati...
Its the overall ecosystem that makes it complex. You can use it as is but everyone is using webpack and babel, so you have to use it too. But once you are into those tools (and all the others that they come with) then it becomes too complex.
Usual problem. If automation is taking jobs then why does the retirement age keep going up?

Because the simplest solution that works is to progressively lower the retirement age.

It never happens does it because that would be a burden on the workers.

And that's because the problem has nothing to do with automation and money. The problem is that we are a reciprocating species. If you want the carrots I've grown then I need to see you do something of social value and benefit to me before I'll let you have any.

Hiding behind the money illusion doesn't fool people for long. You bought what I laboured to produce and you spent time on the Xbox. So you consumed my time and yours. That's seen as unfair and rightly so.

Service to others is the rent you pay for your room here on earth. What we need is a social system that ensures everybody can make that rent.

And for that we need a Job Guarantee not a hand out.
Another possibility is conditional compilation at the C level. thefile.c #includes thefile_unix.c or thefile_windows.c as appropriate.
It is a lot easier to not be a dummy, or a mark, in a city in your own country where you understand the risk profile, and what risk might look like.
http://heeris.id.au/2013/this-is-why-you-shouldnt-interrupt-...
There's a github org here:

https://github.com/rustaudio
If you need random help, I'm in.
Except for Vietnam!
I'm not entirely sure that aesthetic realism isn't true.

Which, that's not to say that if someone were to have a different taste than the "objectively correct one" (assuming that one did exist) that they would be wrong to have it, but I consider it to plausible that someone's tastes (e.g. mine) could be in some proper sense, "incorrect".

There are a number of topics where I feel like, if aesthetic realism is true, my personal tastes probably do not really match up with the true taste.
> But speaking as a former FreeBSD user, this is pretty easy to figure out after your first time seeing the flood of syntax errors.

I seem to be about the only person that makes use of the following feature, but FreeBSD and GNU make will in addition to looking for a file named Makefile, also look for BSDmakefile or GNUmakefile respectively.

So when I write a makefile with GNU make specific contents, I name it GNUmakefile, and when I write one that is specific to FreeBSD make, I name it BSDmakefile.

The user has to do absolutely nothing different; they simply write

make

and if their make is GNU make and my makefile is a GNUmakefile then it builds. Likewise with FreeBSD make and a file named BSDmakefile.

The big win is when someone then has the wrong make. Instead of beginning to build and then failing at some point kicking and screaming, they will simply be told

make: no target to make.

make: stopped in (path)

by FreeBSD make, or

make: *** No targets specified and no makefile found. Stop.

by GNU make.

And at that point they will consult the README I have written for the project in question and they will learn that they need the other make than what they are using if they want to build this software.
There's nothing inherently energy inefficient about silicon. Because of it's tiny scale computations can be done with just a few electrons. Compared to the enormous amount of chemical reactions every neuron in your brain needs to consume every cycle.

Current computers are just optimized to be very energy efficient because electricity is so cheap. Also current computers are very general purpose while the brain isn't. It's like thinking the Atari was as fast as a modern computer, because it takes a modern computer running at multiple GHz to emulate it completely. Emulating the circuitry of another computer is just really expensive.

Even just moving data from memory to the processor consumes a ton of memory that wouldn't be necessary in an ASIC. Or doing full 32 bit dense matrix operations when the real brain does very low precision sparse operations. I've read some optimistic estimates that we could make computers 10,000 times faster/more energy efficient if we just stopped caring about errors as much.
By the way, what do you mean by "that book is in Python"?

I don't have the latest edition, but from this appendix http://aima.cs.berkeley.edu/newchapb.pdf I understand it's in pseudocode. And there is a python implementation online, but it's not the only one.

See also: https://news.ycombinator.com/item?id=1803815
Who says orthoganol downvoted anyone?
That's somewhat accurate.

But the preference for "melted ice-cream" is clearly an outlier opinion, regardless.
Is this a common problem? I can't think of any project that does this, and there's a simple solution as well: don't shadow system headers. That's just asking for pain, regardless of how well make handles it.
Probably a point in the middle would be the right compromise, most people think its binary (its closed hardware or its free+open) but I don't; I think there should be a hardware company (with all the stack: GPU + CPU + kernel) that goes the same way Epic went with Unreal (their game engine); meaning you can use their hardware for free and the specs are public but if your company evers get more than 50K in profits you have to pay them 20% of your profits; or something like that.
also it's gold so it might live longer no ?
Could you list a few of those subs you find interesting, business related or otherwise?
I exported my contents and I found my contents in plain text. I think exported contents should be encrypted too.
Or just use CMake -- it's not perfect, but it explicitly solves this.
There should be an Intercom alternative that kept a single chat per customer, and that chat could continue through email etc.

The current Intercom is so bizarre that for some sites I'm just visiting it pops up a new chat every time I go to the landing page. Then, even if I never answer that automatic message, the next time I go there there it is again, but a new chat is created nonetheless.
Why don't you hop into Sugihara's method and see for yourself?

My hunch is that the thing that most frequently trickles down in the trickle down economy is DEBT. I imagine distrust follows close behind.
So, they're engaged in other STEM fields at 2x-3x the extent they're engaged in CS, despite the fact that those other fields are often more intellectually rigorous and challenging and despite the fact that most of those fields are dominated by computers and software --- in fact, many of them are even more challenging from a CS perspective than computer science itself as it is practiced in the industry, which is mostly about connecting database rows to HTML forms --- but despite all that, you're convinced that women just "tend not to be interested enough in software development"?
I'm not really sure if a system wide document database is an improvement over Core Data or not...
Mino Games Is Hiring Programmers in Montreal
I'm missing something.

Are you saying you want to be able to compile either way /usr/include/stdio.h and /usr/local/include/stdio.h, but remember what the last compilation used and know what header would be used in the next compilation, and if it's different, mark the target as stale and perform the action?

I guess you'd need to keep a log of the build and test cpp invocations for diffs.

I've never run into this scenario.
Yes, base Make is almost useless for anything larger than a utility.
Murder in Small-Town India
"First of all, it’s quite common, especially in enterprise technology, for something to propose a new way to solve an existing problem. It can’t be used to solve the problem in the old way, so ‘it doesn’t work’, and proposes a new way, and so ‘no-one will want that’. This is how generational shifts work - first you try to force the new tool to fit the old workflow, and then the new tool creates a new workflow. Both parts are painful and full of denial, but the new model is ultimately much better than the old. The example I often give here is of a VP of Something or Other in a big company who every month downloads data from an internal system into a CSV, imports that into Excel and makes charts, pastes the charts into PowerPoint and makes slides and bullets, and then emails the PPT to 20 people. Tell this person that they could switch to Google Docs and they’ll laugh at you; tell them that they could do it on an iPad and they’ll fall off their chair laughing. But really, that monthly PowerPoint status report should be a live SaaS dashboard that’s always up-to-date, machine learning should trigger alerts for any unexpected and important changes, and the 10 meg email should be a Slack channel. Now ask them again if they want an iPad." - Benedict Evans
Slatestarcodex in the article cited here multiple times made a point that men didn't push out women out of other high paying fields like law or medicine.
If the theory is right, why did it only happen in IT?
> if you wanted to modify your email client, or at least the one above (Mail.app, the default client for Mac), there is no clean way to extend it. There are no plugins.

Mail.app supports plugins.

> Why can't I have a file in two places at once on my filesystem?

So…a hardlink?

> Why don't my native apps do that?

Dynamic text lets you do this, but it's mobile-only currently.

> have started deprecating the Applescript bindings which make it work underneath

Since when?
I think you should at least mention province you were visiting since people behavior is really different depend if how close the place to usual tourist routes. I spent just 3 months in Vietnam and didn't traveled that much, but there is huge difference in people reaction to foreigners.

In the South as soon as I moved away to the places that tourists rarely visit I always get attention from all sort of people because you can literally be the only European guy who was around in past week. Also I was surprised how many kids of school age have a good English skills.

In same time in SGN nobody ever spent time on me with no reason.
Sure, what's your email? Companies fail 100% of the time when they're formed like this, but this isn't really a company (it has to be free to compete with OpenBazaar) and I'm one person.

EDIT: This is doable though. There are endless stories of new startups running circles around established competitors. I don't know if that will happen, but we should explore the possibility. How hard can it be to set this up in a nice packaged experience? It's a lot of work, but it's not difficult work.
i agree with you; i didn't understand the VS example at all.
It could be a menthol / eucalyptus type of thing.
Last article in a series about caching repetitive queries with GenServer
Yes, love the girls over there and it is a nice perk! But not the ones you're thinking of.

I've spent about 5 months in Thailand and there are a lot of western girls over there in holiday mode. American, French, Polish, German... and I guess a whole bunch of other countries too. Personally, as a kiwi, I love the American girls - and always hope to run into some. And if friend's and I meet some girls we are ready to reply "you're from America?! The greatest country in the world?!" With a look of astonishment on our face haha :D
Women aside (since I'm in the same boat as you), how's the tax situation like? How much are you spending per month on CoL?
IntelliJ often shows latency, but it's not "slow", it's doing a stupendous amount of work behind the scenes and building an incredibly rich model of your code and your application.

If you're not getting more out of IntelliJ than vim, then sure, vim will make you happier. But also then you're not getting from IntelliJ what it's trying to provide.
Yes, this.

UBI is a response to automation to prevent economic collapse by ensuring demand in the face of effectively infinite supply.

If the economy can supply anything instantly[1] it is a huge barrier to entry for Joe Standard to be economically productive.

If you weren't good at computers would you have an alternate career to fall back on? I know I wouldn't. I'd be selling origami on the street corner to make a buck (and competing against e.g. Etsy, etc...)

The basic options are: slavery, mass death, or just give them (us!) money.

[1] Asymptotically approaching the singularity. Star Trek-style replicators based on nanotech. Read the lit. ;-) Amazon and the counterfeiters are already eating the sales of legitimate businesses.
> Have you considered open sourcing your work?

It's barely good enough to do our own work with and highly specific to the application so no, it will not be open sourced.
Lbcds: A Library of Concurrent C++ Datastructures
They haven't talked about it much, but the idea of no initial permissions is a good one. Today the OS must fundamentally not trust any application. Permissions at install time are a good idea. Permissions at use time is an even better idea. Provenance also helps. But nothing beats sandboxing the app as much as possible.

There's no silver bullets here, but we might be able to silver plate a few.
Backprop is not just the chain rule