skysight-inc/HackerNews huggingface dataset:
I have a BFA in creative writing and a JD (law degree), and now work building tooling to assist in legal tasks.

I've been programming and writing since I was quite young, mostly making games, but wanted to make a go of it as a writer. I went through an AFA and BFA program, but became less impressed with the quality of my own writing, and the output of MFA programs, as I went on. Because of my love of programming and interest in intellectual property law, I decided to go to law school instead.

While in the BFA program, I had started to develop tools to help me track vocabulary, word usage, sentence structure, and analyze other authors works. In law school, I did he same thing, building chrome extensions to speed up trademark searching, building toy-scale trademark watch services, and a variety of other projects.

Having the practice making quick prototypes of useful legal products was useful when finding a job. An automation focused legal company hired me during my third year of law school, and I've been building tools to help them automate all sorts of business tasks ever since.

Some of the key things from my art school days that still help are my ability to handle and give feedback constructively, and a willingness to quickly try new things to see if they'll work.

If anyone has any questions, don't hesitate to ask!
Inference includes several means.

Inductive reasoning (induction) guesses the general case from particular instances.

I presume that you are thinking about deductive reasoning (deduction), which guesses the particular instance from the general case.

Finally, abductive reasoning is usually the goal instead of simple induction, and technically what the neural networks do: compute the simplest general case that best explains particular instances they are trained with.

https://en.wikipedia.org/wiki/Inference
Given more time, a Turing machine can solve more problems
Unfortunately the maxim continues to prove true: "nobody cares about privacy or security."

I've come to the conclusion that technical loss of privacy is inevitable because customers don't care, and that when the you know what does eventually hit the fan the problem will have to be solved with regulation. There will be HIPAA/PCI type laws around home audio, location data, etc., and a renegotiation of wiretap and search and seizure laws. There may also be some legal limits on private data collection and retention.

Of course malicious hackers and secret parts of governments won't obey these laws. We are in some uncharted waters.
If Amazon etc have zero security that's their problem not mine.

https://en.wikipedia.org/wiki/Speaker_recognition is hardly a new thing. Further, if Amazon get's 200,000 orders for a doll house in the same second should be able to detect that as a mistake.
> This is why I think the ability to ask good questions is a better indication of understanding and intelligence than the ability to generate answers.

Certainly! Synthesis rather than reformatting (or, more commonly, regurgitation). Analysis and abduction are more than just "put it in your own words". More useful too.

There is something of a rush on at the moment to generate chat-bots to replace FAQs. Every Slack/Fleep/Blern/Crank channel appears to have five or six memoisation bots. Seems to be largely a solved problem!

When we can start having bots that can be sensibly interrogated for a summary (or even a "hey, you've been away for several hours: here's the key points"), we can finally abandon the chatrooms and let the generative bots flood them with abductive content, and the precis bots can then ping you every couple of weeks when something important comes up.
Oh man I really like what Xi editor is doing! Too bad it only have offical support for OSX right now...
I will happily swap my Mac for a laptop that could reliably run Linux if I ever find one. I had a machine from System 76 where a video driver would break with every major Ubuntu update. Dell XPS 13 developer edition seems to have a surprisingly shitty Linux support too (e.g. see the comment section here http://goo.gl/wVKsDL). Are there other options?
Only reason is that ES5 is technically the supported version by all major browser as of today. Yes, you can write ES6 and compile to ES5 but I feel like there are lot of goodies in ES5 that you will miss if you do directly with ES6. Just a preference. I probably won't be saying this in next 2-3 years once ES6 is the norm.
> and consciousness as an extension of inner conversation.

>> To me it seemed like they barely touched on this.

You may want to finish all of the first season then. It is the major theme.
BFA - Graphic Design circa 1997 here. I've found a good art foundation is valuable here in IT for 3 reasons:
1. Art is largely about communication. So, you already know how to ask 'is this work effectively communicating what you intending to communicate?' This question is directly related to the spareribs comment about critiquing.
2. Sometimes the work is in the meta work. Better-looking documentation, reporting, and demos are significant.
3. Both art & IT are about creative problem solving within constraints.
The truth is irrelevant. We are in the middle of a new Maccartist era, and Russia is ( again ) the big bad bear.

They ( the transnational oligarchy based in the US and UK ) are trying the last power grab and Putin is trying to block them. This is the reality in a nutshell.

We can discuss about the nuances, but this is a power fight. Pure and simple.

Russia obviously wants to survive in this fight, so it is trying to block its dependance on the west as much as possibile, starting with the new economy ( internet ). The western powers ( the ones who rob us workers of our savings ) want to extend their reach over the entire globe and Russia + China are the last bastion against this dystopia. Yes, there are elites, oligarchs, bad guys in Russia and China too, but they are too small to be a real danger for us ( the people ).

So, what you say is true, but i suspect the western media will spin it in a way to make Russia look like a dictatorship, ruled by a mad tyrant who wants to go to war against the world.
__typeof_ is a compile-time feature. It's like C++'s decltype. (You can make C++'s auto out of it too.) There's is a potential for code size increases with this approach, that's true. But the potential also exists with inlinable vector methods.
I wrote pretty much this exact implementation of a dynamic array once. For several data types.

And I had that same idea, let's use macro to fake generic programming. But while I admire the trickery some people pull off using the C preprocessor, I admire them from afar. My coworkers would not have let me get away with that, anyway.

I am not a C++ programmer, but templates are immensely powerful, and after learning about them (a little, at least), I found statically typed languages without some form of type-generic programming to be very bothersome.

Looking at C++ as "C with Templates" instead of "C with Classes" gives a very different picture (plus, Classes and such are still around in case they are needed, anyway). Every other year or so, I try to get my C++ up to usable standards, but I do not need it for work (except for that one time about three years ago), so I eventually lose interest. Maybe approaching C++ as "C with Templates" is a more promising route.
Argumentum ad populum is a logical fallacy.
Regarding the solar panels, my first intuition would have been to mount them outside the dome. I wonder why they are inside?
Why is asthma worse in black patients?
I'm curious, how can you be a "big believer" in something that is entirely made up with absolutely no evidence of any sort to back it up?

And how do you mean, dirty hacks. Our fundamental physics nowadays is quite elegant, I'd say, and still we have many questions still to be answered and much deeper to delve till we hit the "bare metal". We've only been in the universe-figuring-out business for real for about 200 years after all!
Which B is he playing? B7? Cause if he's barring his chords already... man you did a great job.
I'm not perfect.

There are times I would remember to get more when I'm running low, there are times I'd forget and I'd have to run out at 1am to the 24/7 supermarket because I feel so bad for forgetting and I know how much the cat hates when her litter is low.

In the past I would have multiple boxes stacked up and would try to reorder when I was down to one, but even then I'd forget, and storing multiple boxes of cat litter is annoying in our small condo.

This is a great solution to me. And before this I had a DIY button made with a raspberry pi that would do it for me that I put near the cat litter. IMO this is a better UX.
Through the window: "Alexa, unlock the garage bay doors".
>>It's nonsense to say that there's no way to make a perfect representation that's not imbued with personal style.

I apologize for not communicating what I was trying to say better. What I meant was that if you were a classically trained artist that had studied long enough (by which I don't mean that you trace photographs of people or anime characters from the web) to be able to draw freehand renderings that are convincingly accurate, you would have a style already based on your long hours of study and by virtue of the way your hand moves and touches the paper. Where you take your art after this is up to your personal style (in every sense of that word)

The word style is notoriously difficult to define wrt the art world. I was just trying to say that style is another word for "how you do what you do"

For the record, I think that the post-war art world is hugely fascinating. Some of it moves me, some doesn't.
Studying programming will help you understand other subjects as well (to a degree).

After working in enough industries, you get good at distilling the business rules and domain model to the parts that actually matter. You apply that mindset to a new subject that interests you and zero in on those important parts for increased study until you start connecting the dots.

I remember the day I finally realized that most of pharmacology is incredibly analogous to a message passing and any cast network routing.

Obviously a little more complicated than that, but a drug (a ligand in this situation) is a message passed through the bloodstream in an broadcast/anycast routing fashion (X amount to be consumed by first X cells to come in contact, before being released and repeated, until metabolized). When a ligand binds to a receptor, the cell consumes the message and executes an action based on the type of cell it is and the ligand's payload (could be an agonist, an antagonist, along with other variables).

You get side effect when target cell in organ X has receptor A that you want to activate. However organ Y also has cells with receptor A.

So when the drug is given, if there isn't a way to prevent it from reaching organ Y, organ Y's response will be a side effect.

Example: Benadryl. Anti-histamine is targeted for reducing allergic response related cells, but can cross the blood brain barrier affecting cells that respond with sleepiness.

----

I remember after reading about how cells physically do these things, and realizing that metabotropic cells use the g protein channels almost like hardware circuit switched controls for inner cell functions, and ionotropic receptors are more like open and close buttons for ion channels (nervous system messages use ions).

I then wondered if a neurotoxin is just like throwing a mechanical wrench into the cells machinery, which IIRC, it is by jamming into and blocking ion channels.

----

My interest in AI development lies far more on the psychopharmacology side and reverse engineering the human brain, but I think I'm too old to go back to school for 8 years to major in that stuff -_-;.
You can use most websites in voice only mode with the right software. If he was blind then voice only is more compelling, but he is probably better of with a full PC.
>This is not just a rogue request from some crazy official, but part of a larger plan to subdue and scare off foreign tech companies and replace them with 'local' tech, controlled by the state.

Do you think EU's heavy handed regulation on web services is similar? I think you could make the case that it's also a form of protectionism.
I don't think there's anything specific about meditation versus programming. If your mind tends to wander off it can be because of code that still needs to be debugged in the same way it can wander off to thoughts of, let's say, household chores or life's big questions.
I dunno, it seems like the it's the news narrative about wikileaks doing the about-face.

I'm not some defender of wikileaks or Assagne, I just don't think who they are is all that important.

When I first heard of wikileaks a decade ago on slashdot, Assange was a tosser with some unpopular opinions and perspective. He also believed in the utility of releasing the entirety of source material to the public instead of a regular news outlet that limits it to the topics they have the time and interest to investigate and write. The broad strokes have remained constant even if the details haven't.

Ever since then, the press has been trying to find meaning in the Wikileaks dog-and-pony show. A circus that they themselves were complicit in creating. They've been trying, and failing, to understand this guy since 2010. The muddled mass of hot takes but no real insight is what they've been dumping onto us in the meantime.
I think that was one of the successes of the series. There are such good philosophical questions introduced, but the potential to address them in a ham-fisted, facile, middle-school-smart way is so great they made the right choice in raising, but not addressing them.
That's the thing. In the modern secular state you need a Constitution which is essentially a covenant between man and his government, that the government is actually representing will of the people. Without that sort of secular, yet holy, document and corruption you get this sort of cronyism in which a normal honest man does not have rights or the same rights as corrupt people with connections do. This then makes everything more difficult and unpredictable. The Russians and the Soviets before them have never figured this out. We still have problems when this sort of behavior seeps into our system, but we have pretty good ways of controlling this behavior, and a general revulsion of the public against it, helps keep it under control.
"ill-conceived TV spot"

Not sure that was the ill-conceived bit.
Charlie Munger on How to Be Miserable
I think your approach is very interesting. I had implemented something similar but reverted to a simple API for tests as I felt it was too complicated to use (e.g. I had "testEQxxx()" for xxx in (int, str, ptr, ...).
Actually I'm putting together a library much similar to yours (https://github.com/rdentato/clibutl) and I would love to get in touch with you to share experiences (and C horror stories :) ).
This reminds me that I'm a sysadmin primarily because there's no money in music journalism [+], and in relative terms I now get paid by dumptruck.

[+] still potter with it at https://rocknerd.co.uk for what that's worth, but art criticism in general is completely fucked in all directions. You think the internet did a number on the record labels ...
This only works because Alexa has issues, yeah.

But, the news story was about Alexa having issues. Which both makes it hilarious and ironic, and means that the news anchor should have had reason to have possible issues in mind at the time.
> Maybe approaching C++ as "C with Templates" is a more promising route.

Genius. I'm doing this from now on.
I have a BFA in sculpture and would have a minor in CS but for the math requirements. I currently work as a data scientist. If I'm feeling punchy, I'll try to sell myself as a data poet. I use abstraction and metaphor to create meaning from chaos. The distance from art to science has always been very short. If I ever need to explain myself, I just say it's all about problem solving and abstraction.
> It puts Apple and Google in a difficult position.

I don't think so. Both Apple and Google have always been crystal clear that they mean to follow local laws. I don't see how removing these apps in Russia would be of any trouble to them.
I wouldnt phrase it that way. But it is very badly designed that the voice command purchasing is enabled by default, and should be changed that when set up it has to be explicitly activated.
Ask HN: TIL JavaScript switch is weird – why?
Given the following, what do you think the console output will be?

var x = 1;

switch (x) {
case 1:
console.log('case 1');
case 2:
console.log('case 2');
case 3:
console.log('case 3');
default:
console.log('default');
}

Before you raise your hand, yes I've intentionally omitted the break statements.

And, the answer is:

case 1
case 2
case 3
default

The switch is designed to execute every case after the first match, which is the reason for placing a `break` after each case.

My assumption was always that the `break` was to avoid wasting the interpreter's time on checking the remaining cases when you knew they'd all be non-matches, not that `break` was basically required.

This means that the switch statement itself is basically useless without `break`, unless each case is ordered in a 1[2,[3,[4]]] fashion (I imagine that's quite rare).

Is this just an artifact taken from C, or is there something else I'm overlooking?
I agree Arch and rolling release is great to avoid breaks. Paradoxically, people are afraid of it for the opposite reason.

In 9 years running Arch, I have never ever experienced the need to downgrade my kernel after an upgrade, and only once had to downgrade a package (ghc). I key point was always to run hardware that needs no drivers aside from those coming with vanilla kernels.

Quite on the contrary, I love getting new versions of things quickly as this means new features and bugfixes come to me ASAP.

With that said, I am considering to migrate to NixOS or GuixSD (currently toying with 2 virtual machines). I find Arch to be a great imperative distro, but functional ones are simply superior. Declarative system configuration, declarative package recipes, and the ability to install multiple versions of the same package is key if you have a complex setup (e.g. doing deep learning).
Why indeed would an AIs motivations even be comprehensible to us.
This blunder seems to be mild in comparison to https://www.youtube.com/watch?v=r5p0gqCIEa8
To a degree, the same goes for scientists. Having anonymous peer reviewers telling you the past six months of your professional life has been a waste, because this was done by a Czhechoslovakian in '73 (paper never translated) and turns out to be uninteresting, can be quite demoralising.

Or like one of my first papers, when sending it to a very good journal, having one reviewer say "this is all wrong" and the other saying "this is a well known result in the field, nothing new" and the editor just saying "reject".
Expression macros `({, })` aren't standard either. But I sort of go with, if all gcc/clang/tinycc support it and it's a highly useful feature, then it's part of C as far as I'm concerned. It would certainly be nice if ({,}),__typeof__, and __label__ became part of the C standard, though.
So, garbage like "And you can also compile with exceptions disabled. Should your code throw it will terminate the process." is in the plus, and the parent comment is downvoted.

The C++ community at its finest.
> open source purists who use Slack

That is inexcusable, though.

There are more alternatives than you can count, if you use Matrix, Mattermost, some webirc system with included bouncer, or whatever.
How do Haskell's type classes differ from interfaces?
> The general FSF/Stallman position is that non-free software is fine as long as you access it over a network

No?

https://www.gnu.org/philosophy/who-does-that-server-really-s...
Reverse Engineering: Cracking Sublime Text 3
The author could have just used glib.
Indie Microblogging: owning your short-form writing by Manton Reece
Sounds like someone needs to either (a) get a patch out, or (b) pass a law before alexa-aware advertisements become a thing.
This is what the macros expand to.

From:

$ cat test.c
#define ARRAY(T,S) T S;size_t S##_length;size_t S##_capacity
#define ARRAY_INIT(S) \
do { \
S=NULL; \
S##_length=0; \
S##_capacity=0; \
} while(0)

#define ARRAY_DESTROY(S) \
do { \
Array_Free(S); \
ARRAY_INIT(S); \
} while(0)
#define ARRAY_ADD(S,X) \
do { \
if(S##_length>=S##_capacity) \
S=Array_Grow(S,sizeof &S,&S##_length,&S##_capacity); \
S[S##_length++]=(X); \
} while(0)

void Array_Free(void *p) {
free(p);
}

void *Array_Grow(void *base,size_t stride,size_t *length,size_t *capacity) {
*capacity+=*capacity/2;
*capacity=MAX(*capacity,MAX(MIN_CAPACITY,*length));
return realloc(base,*capacity*stride);
}

#define ARRAY_PARAMS(T,S) T *S,size_t S##_length,size_t S##_capacity
#define ARRAY_ARG(S) S,S##_length,S##_capacity

void test(ARRAY_ARG(p), ARRAY_ARG(a))
{
}

int main() {
ARRAY(int, myarray);
ARRAY(int, ourarray);
test(ARRAY_ARG(myarray), ARRAY_ARG(ourarray));
}

To:

$ gcc -E test.c
# 1 "test.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 31 "<command-line>"
# 1 /usr/include/stdc-predef.h" 1 3 4
# 32 "<command-line>" 2
# 1 "test.c"
# 22 "test.c"
void Array_Free(void *p) {
free(p);
}

void *Array_Grow(void *base,size_t stride,size_t *length,size_t *capacity) {
*capacity+=*capacity/2;
*capacity=MAX(*capacity,MAX(MIN_CAPACITY,*length));
return realloc(base,*capacity*stride);
}

void test(p,p_length,p_capacity, a,a_length,a_capacity)
{
}

int main() {
int myarray;size_t myarray_length;size_t myarray_capacity;
int ourarray;size_t ourarray_length;size_t ourarray_capacity;
test(myarray,myarray_length,myarray_capacity, ourarray,ourarray_length,ourarray_capacity);
}

Looks like fairly reasonable code.

Edit: I would like to see it take a type in the Params and a __typeof__ while passing the args to make sure you know what is going where.
Heat via radiation? So would blinds not work?
I use both the sync client and the web app (depends on the situation). The web app for the google suite is just so much better, the Dropbox website is painful. The sync client for Dropbox I used to find slightly better, but it's not better enough to justify the massive license costs of Dropbox in comparison to google drive. All in all, each to their own!
I ended up taking a BFA in Fine Art after realizing I would need another semester for a Graphic Design/Digital Media degree. My degree is from a state university.

Worked as a freelancer web dev for a while, did IT helpdesk, went back to tech school, got involved in hackerspaces, got a job in machining which was more stable than web dev work & less mindnumbing customer facing than helpdesk.
Paid my dues and worked my way from running machines to building machines, programming PLC's, and writing programs.
Now I'm part of the Advanced Development engineering team. I spend a lot of time pulling data to run reports, 3d modeling parts & assemblies, & hands on troubleshooting of our prototypes.

Web development helped with the industrial programming I deal with & the art degree taught me visualization, deconstruction, and problem solving.

Anecdotally, I used to scour McMaster Carr for parts to make for sculptures. Now I actually order stuff for it's intended uses.
Drop two pieces of paper towards two high information constructs (massive bodies), and time will pass more slowly for the one approaching the more massive body. Oh, and for someone flying with the rotation of the earth, time passes more quickly than flying against it.

Physics is pretty weird.