skysight-inc/HackerNews huggingface dataset:
> these cases (database transaction, writer) are things I do find it useful to manage with a monad.

Yeah, I know, but some of us don't :)

> You need some way to encapsulate/isolate the relevant state of a program partway through running

That's exactly what continuations do. The question of global mutable state is an orthogonal one.

> I think that state has to be equational if we're to have any hope of being able to understand programs - if you can't say whether this time at line 20 the program is in the same state it was last time at line 20, or a different state from last time, how can you even begin to debug?

Well, we have been successfully writing programs like that for a long time. Now, don't get me wrong -- the equational abstraction is often very useful, but it has its price, and it's not a complete representation of the computation.

> But will those approaches stop me from tripping myself up when effects don't commute?

I don't understand. We don't trip over ourselves when writing imperative code, and when we do, it mostly has to do with IO or other OS state, and monads won't help you there. Linear types ("typestate") might, but even they are limited.
I find lua+nginx really useful for auth checking.
Great plan if you have no extended or close family (our you simply don't care about them), nor do you care about living in the country you were born in.
SEO URL Optimization Infographic
That's not what he is suggesting, at all. He's suggesting locking up the boot stages, but your can still load any OS you trust.
Any news on whether the big mail providers have an interest (Microsoft, Gmail, Yahoo, etc.)?
You're right. I read the blog post, then skimmed the actual paper. You can already do what she proposes at the OS level, but her concerns go much deeper.
This is a great example of why computer scientists get a bad rep.

zero understanding of something so simple, laid out as black magic. And a lot more time spent fiddling with the thing as a toddler playing with a toy than it would be required to read two or three articles that explained it correctly.
A stateless society could still be democratic, but at a much more decentralized threshold. (per-neighborhood, per-cooperative, etc.)
Oh my wife learned to play it a couple of years ago. I like it but her daughter really super hates to hear it. ha ha
How to Start Blogging with Hugo and Windows
Congratulations to Jude & Immad on getting to exit. They are some of the hardest working entrepreneurs I know. And it wasn't plain sailing.
I enjoyed it, but afterwards came across some opinions talking about how it basically knocked down the triumph of the original trilogy and rendered the entire struggle from episodes I through VI completely futile and pointless. The "Empire" is still going strong (as strong as before, certainly, if they have the physical and economic security to build a super-weapon capable of destroying multiple planets at once), and the Rebellion er... Resistance is right back where it started.
Moms everywhere love these. When I moved my mom to Linux, I threw gnome-games on there. A week later, she calls and says she had no idea there were that many varieties of solitare.
pluralsight is only $29/mo has a lot of training material. I bought it when I was unemployed. Also, look at upwork.com you might find some project to get you experience. I'm surprised you can't get college tuition assistance: https://fafsa.ed.gov/

Before I got a job after my degree:

1. I wrote a Point of sale system for my uncle's pizza
shop. ( was supposed to get paid)

2. wrote a POS system for a friends print shop($10/hr) 93'

3. wrote a POS for a storage unit company($10/hr) 95'

each of these used it for themselves and hoped to sell it to other companies.

4. wrote an e-commerce site for a online card company($15/hr). 98' found this on an ad on campus bulletin board.

look at jobs from the state or local government. They are good way to get your foot in the door.
Let's Kill the Transparent Moon
Expecting above-average returns on a small amount of money for several decades as sole income while ignoring inflation and market volatility. What could possibly go wrong?
You're right. In the blog post, the author refers to problems on the x86 platform and I didn't realize she was talking about firmware. It's clear in the paper.
Wouldn't the compiler be capable of noticing that if the array[0] is assigned to zero while

- array pointer points to pointer itself, then the pointer is set to NULL pointer (assuming architecture where float 0 and NULL are represented in memory by zero), and derefencing null pointer is an undefined behaviour

- array points to misaligned itself (possible on x86), then there is a write outside of variable bounds, and undefined behavior

- array points to part of zero_out or memset function code, however the function is constant, and cannot be changed, and this causes undefined behavior

In each of these cases, there is an undefined behavior not depending on strict aliasing.
is pluralsight like lynda? sometimes the direction to take without guide is what gets to me.
> Can you give an example of a search where relevance doesn't correlate with a common cultural sense of veracity?

If I search for "Bob Smith", I'm not looking for "pages with exclusively true statements about Bob Smith"; I'm looking for 'pages that mention the phrase "Bob Smith"'. Perhaps someone mentioned a great story whose protagonist was named Bob Smith, and I wanted to find it. Perhaps someone wrote an article entitled 'Naming your programming language "Go" is like naming your kid "Bob Smith"'. Perhaps I'm trying to find a comment on a news site that used "Bob Smith" as an example name.

If you run "grep" over a set of files, and one of the results makes you angry, do you blame grep, or whoever wrote the file grep found? Does the answer somehow change if you use a more sophisticated search algorithm (e.g. https://en.wikipedia.org/wiki/tf–idf)?
It is going to be pretty hard to take an off-the-shelf notebook and make the proposed changes, especially when you are talking about implementing hardware kill switches for certain components on a 12 layer PCB. The strongest incarnation of this idea seems to involve cooperation with, and some degree of trust in, the motherboard manufacturer (whether that is Purism or someone else). Is there any solution to nation-state hardware attacks involving intercepting your notebook while it is being delivered to you? I think that has always been considered "game over" as far as maintaining security.

However, if you have that, you do get a significant benefit. You are no longer vulnerable to someone sticking a rootkit in your BIOS. That is where a lot of the up-and-coming SMM-level rootkits like to be installed. You can move a fair chunk of your root of trust (the firmware, etc) into a device separate from the notebook, and feel pretty comfortable that device is going to provide certain guarantees about flash memory contents that we do not have with today's systems.
> that don't use an AST at all but generate machine code directly during parsing

It is not any different. A "sufficiently smart" compiler must be capable of fusing the lowering passes straight into a parser. Parsing is not that different from the other kinds of passes.

> that becomes harder the more stages you introduce

My usual trick is to have a "unit test" simple AST which, when building in a certain mode, is fed into the compilation pipeline and displayed with all the annotations. It helps a lot to understand what exactly each pass is doing. In the next version of my DSL for building compilers (currently a work in progress) it will even be a part of an IDE.

> the more language dialects you need to manage to mentally separate when working on the stages

Ideally, one pass = one language. Nanopass handles it nicely.

I am using this approach for pretty much all kinds of languages, and never had any issues with too many IRs. In my book, the more distinct IRs, the better.
Yes but a beer and a sausage for lunch will really cut into the afternoon productivity. :)
which articles would you suggest?
> Yes, I am using this approach exclusively.

Earlier you wrote that "And if you worry about performance, your compiler can fuse passes together in many cases."

What kind of fusion do you use in your approach?

In the last paragraph of Keep's thesis, he mentions pass fusion, citing Wadler's 1988 work on deforestation. Keep does not, however, give a working implementation.

I know of no-one doing nanopass fusion, but I'd love to be corrected.
This seems relevant to real life. E.g. if you're Uber, you gotta figure out how to correct for that. Neat.
Looks like `neon-bridge`, in this case, is an NPM module.
That's not feature engineering, that's just a label for the task of interest (object localization).

Blanking out areas that are "not of interest" I would consider substantial feature engineering (unless the task you were training a net for was explicitly to find interesting vs. uninteresting areas).
Yes, it is, but the point is its load() function apparently takes no parameters.
Once you are rich at 60 there is some small chance that there will be life extension products available. (for some serious dough of course)
A teenager gets grilled by her dad about why she’s not that into coding
> For starters, it's not about solving a problem creatively but choosing the right problem to solve.

That's just a tiny and in the long run, insignificant part of building a startup. Bad choices fail quickly, you can choose something else.
I've been through this whole thing. Where I am now is I'm older and living in Thailand with a wife and kid.

When I was younger I had the same big ideas about traveling while earning a living as a single guy; current fashion is to call it being a "nomad". There are more and nicer coworking spaces now but it's still just working during your vacation.

I ended up grinding at a big tech company, saving/investing a lot more than other people who were living it up, and then retired (very) early. I also grew up a little during the process and wanted more than just an ocean view and party life. That happens to most people, although not all as you can see with a trip down Walking Street.

Life in Thailand works for me and my family. No visa runs if you have a spouse or retirement visa. Most modern conveniences are available. Speaking the language with a good accent helps a lot.

But costs are surprisingly high if you want a "normal" life. Cars are way overpriced due to high tarrifs. Electronics are pricey as are many western foods. My kid goes to an international school, which is really the only viable option for education, and that costs about US$10,000 per year. Real estate in the US varies greatly in price, which means someone like me who wants to live away from a city could get a ranch in the southwest US quite cheaply. But in Thailand land prices are kind of high almost everywhere. We have land near Khao Yai National Park about two hours from Bangkok; it's very nice up here.

Long story shorter, life changes a lot as you get older; you want different things. The advice in the article worked for me. If was to do it over again I would be tempted to try the "nomad" life as a freelancer. But knowing what I do now I would probably repeat what I did - work for 20 years at big tech co, take nice annual vacations, save a lot, retire early.
"_compact_ and readable"

For me, the former compliments the later. The less code I have to read, the better.
sounds real similar. I would go to the job boards and find the skills most employers are looking for and brush up on them. Next, if you know any one that owns a business try to write a software program for them.
Quite interesting. Sounds like he's subtly modifying the images at the points where the various classes are sensitive.

I don't think any humans are going to be fooled by this procedure, so what algorithm do people use to classify? There must be other algos out there that are more plausible as explanations for what humans (and animals) use?
Crows filmed using tools
AZ lawmaker who believes Earth 6,000 years old leads education panel
In fact, 670€ is the average that students live on in Germany.
If you can get online, you can take courses from Khan Academy for free. Stanford Online is free as well, and MIT has put a lot of lecture videos and course materials online for free. There are thousands of tutorials on any subject you care to study. Really, it has never been better.
“Nurse Christmas Havin’s Love” – Using Deep Learning for Romantic Novel Titles
I've got an old Powerbook running 10.6.8 .. I won't upgrade, but instead will just install Linux on it. Its no longer worth the hassle of keeping up with Apple on these kinds of issues - better to just switch to an OS/environment where these kinds of fixes can be better maintained and won't result in apps being killed from my life.
I think your observations are pretty much spot-on, except for your last point:

> The stick being external doesn't seem to provide much advantage otherwise, since if the laptop hardware is malicious it doesn't help, and if it is not malicious then an internal trusted stick equivalent works just as well.

I think it provides a security-conscious user an added level of comfort/faith over a built-in solution. If you move the flash memory out to this external unit, and there is simply a three wire type of interface that pretty much only gives the system no permanent writability to the flash contents, that is a fairly solid and tangible promise. To some degree, you get to assert a new level of control over the "root of trust," at least the poinbt at which it begins in firmware.

That doesn't mean that there is not room for motherboard vendors to improve things, but we will have to have faith in them having done things correctly. I am not even talking about a hostile motherboard vendor - there are plenty of good faith or half baked efforts that end up being circumventable.
I keep learning all these things but what do I do with it is the main obstacle for me.
Are You Still Single Just Because You Have Herpes?
> Google, on the other hand, uses the metric of educational achievement.

> Have a PhD? Front of the line. Masters? Next. Bachelor's? Go to the end.

That's... That's not really true at all. While I interned there (during my bachelors) I met a lot of people without their masters. One guy had only his high school diploma.
>You could do the same thing working at google, but instead of making $108k USD/yr, you would make +$250k/yr USD.

Not everyone can just waltz into Google. For starters, there are tens of millions of developers worldwide and only tens of thousands of total Google jobs across all roles.

Google, Amazon, etc. all have a well known high false positive rejection rate, so even for developers who are qualified and would do well at these companies getting in still requires a good bit of luck. Their interviews are not bias free either, so a subset of good developers are facing a process biased against them. Those with families, for instance, probably have little time for hackathons that I'm sure help with in person or phone screen coding exercises.
Assuming that is the case, could this have anything to do with the US's top income decile being the highest in the OECD 30[0] while the income for the lowest decile in closer to the bottom? Meaning that it's as much a function of just the distance required to move from one quintile to another as it is a measure of any structural mobility or inequality.

[0] 2010, the most recent I could find - http://www.economist.com/blogs/freeexchange/2010/09/income_i...
Celebrity hacker busted after trying to sell stolen scripts
Poker and bookmaking are different things.
There are people who believe our planet is 2000 years old, too...
I found it rather pleasant to have the same libs on client and server. Learn one lib API and use it everywhere :)

It also enabled me to move functionality freely around.

Calculating report data on the front-end, so it gets ready tomorrow and later moving it into the back-end, for performance reasons.
There are generally two ways you can approach some cost: Maximizing expected value or minimizing risk. Larger companies especially will focus most of their thought on their core product which they 'maximize value' on, and lump everything else into the 'mitigating risk' bucket.

So the service targeted at these price-insensitive customers gets them more regular status updates during outages, dedicated account managers, etc. that your residential customers really don't care about(their boss isn't going to chew their ass out when their personal Netflix goes down, but they will if the business and its 400 employees shuts down). The residential customers only care about the value/cost - they don't buy redundant backup internet, run their own automatic backup power generators, etc.
If you ignored dead code produced by macros and limited the check to function-scope, I think you'd mostly eliminate false positives.
You don't have to be an idiot to be an anti-vaxxer but it certainly helps.
10-year-old kid becomes first Minecraft National Champion
You can turn it into an SMT problem and solve it with a standard solver. In Haskell it's quite beautiful as you can write code that's basically identical to writing a parser, and then generate inputs that satisfy the parser magically.

https://github.com/ekmett/ersatz/tree/master/examples/regexp...
Asian-American band “The Slants” overturns USPTO rule on “disparaging” trademark
0.0.0.0 is valid. It means the server is listening on all available addresses (as opposed to, say, only 127.0.0.1)
I know a handful of competative gamers, some of whom who would use Minsweeper to 'warm up' before LANs to get their eye in, and keep their mousing muscles loose between matches.
Don't you mean 4000 years old ?
So did Jim Carrey.
Well, that and smashing Adderall obviously.
Google Trends – Exlore the Biggest Moments of 2015
It seems like a pretty valid concern. Part of the next generation of rootkits seems to be targeted at SMM-level rootkits (termed "ring -1" by some) that are installed in the BIOS. They are practically undetectable once installed, and can punch through hypervisor protections too.

I think that is also part of the author's concern with Intel ME being present on all systems. It is a separate microcontroller in the chipset that has power on the level of "ring -3" (I believe it is used to implement much of the new SGE instruction set, for example).
Cool project! How did you market it?
> I believe there are already plenty enough people on earth and more people wouldn't make the world necessarily a better place.

Not contradicting your decision, but I have to argue this point. There are not enough creative, educated, tolerant, empathetic people in the world. Every educated tolerant person with empathy is a little win for civilization. So, if you think you can make or train one, then there's an argument for having or mentoring kids.
Interrupters are people who don't listen to what others are saying. Playing nice with others is usually is required to be a good developer (depending on what you're working on, software is rarely a solo effort).

Not only that, you can learn something from other people as you don't know everything all the time. Constantly learning is required to be a good developer. You can't learn when you interrupt.

I worked with an interrupter, he was one of the most incompetent programmers I've ever seen but wasn't capable of understanding his own incompetence because he was too busy interrupting others.
I'm not using Nanopass directly, I've got my own similar framework (developed independently).

It is using an IR which allows to easily compare the visitor shapes (i.e., source AST, target AST, traversing order, omitted nodes), and if they do match and the second pass is not using results of any of the collectors from the first pass (too long to explain what collectors are, treat them as a kind of a constrained side effect), corresponding visitor nodes are chained together.

Deforestation is supposed to work on much lower level, and I'm not sure it's possible to deduce the original visitor shapes and traversing order from an already lowered code.

A previous version of this framework is available on github, username 'combinatorylogic' (it does not provide fusion or any other optimisations, because it's dynamically typed; A glimpse of the IR of the next version can be seen in the recform AST library, see 'ast2-...'). The current version will be published soon.
160 entrepreneurs pitch investors on the Money Train
How do you convince your wife when her kid got sick and went into a seizure after a vaccination.

Especially when the CDC recommends against it for your child:
http://www.cdc.gov/vaccines/vpd-vac/should-not-vacc.htm

then what do you do about the other child?
Start hacking.

CodeFellows/Udacity/College is expensive. Hack: Figure out what they teach you, and find other, cheaper sources of the same information. (edit: Check out Zed Shaw's stuff http://learnrubythehardway.org/book/ http://learnpythonthehardway.org/book/)

CodeFellows/Udacity/College says they teach you what you need to know to get a job. Hack: Ask employers directly what they look for when hiring. Learn that instead.

I don't have experience/proof of skills. Hack: Start posting your work online. (Get a free blog or use GitHub or something.) Even if it's a tiny thing. Bit by bit, day by day, you'll be proving that you can ship something. When someone asks what you can do, show them the site. (edit: A shining example is Jennifer Dewalt's 180 Websites in 180 days: http://jenniferdewalt.com/)

I don't know people who can help me. Hack: Find your local web development meetup and go. Don't sit in the corner. Meet people. Get their contact into. Tell them what you're trying to accomplish. Ask them for advice. (People love to give advice.) Email them later and let them know you enjoyed meeting them. Thank them for their advice. Build relationships.
He probably does it for the same reason we program and tell the world about it on HackerNews - accolades. People are partly driven by peer approval.

Another thing is that this type of job, relying on gambling for a living, can be prone to huge swings in wins and losses. So people look for ways to soften the blows with stable income.
Have gift cards become the modern day sweater? An expert weighs in
TL;DR: Anti-vaxxers aren't idiots. They are driven by fear.
I'm curious how far the label "anti-vaxxer" extends. Does it also include people who accept the science behind vaccination, but who as a political principle are opposed to it being made compulsory?
I will never be able to take any article telling me what to consider harmful serious.

A shame, really. Considered harmful articles considered harmful?
Drafting+In+Fantasy+Football
This implies human eyes are extremely robust. But the truth is our eyes can be tricked very easily too.

For what it's worth, of all the intelligent things the human brain performs, the visual system is the system that is closest to what neural nets are doing.
The author comes across as a bit of an idiot too in the article. Basing his opinions on blogs and a particular internet community. Rather than acquiring an understanding from the scientific source material on these issues.
I do not believe there is are any Intel chips that give you VT-d (IOMMU) and do not require a firmware blob. Blame Intel for that situation.

I think AMD has open sourced most of their BIOS, and a lot more of their hardware supports IOMMU anyway. Maybe that is a more fruitful direction to consider.
Some have been good but it is just being taken too far.
That's not really how it works. Both executables and shared libraries are mapped into the virtual address space of the process, then only stuff that is actually used will be faulted (read) into physical memory. At page granularity, so yes, there is some bloat due to unused functionality, but it's not as bad as requiring the entire thing to be loaded into memory.
Why You Shouldn't Style React Components with JavaScript
Dick trumps brain, nothing surprising there.