jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
that graph looks awesome. thanks for introducing me to flot

also:
http://future.rouli.net/?query=cubs win the world series
I wonder if a Bloom filter would allow you to (probably) identify the missing value and the duplicated value.

Create a Bloom filter on your array, one element at a time. For each element, test whether it is present in the set, and then add it to the set. By testing whether the element is already in the set, you identify the duplicated value. After creating your complete Bloom filter, then test integers 1 to N to see which is not in the set; this is your missing value. I believe this should be constant space and linear time.

Above I said "probably" because there are false positives (though not false negatives).
Rain gutters also work great.

http://lifehacker.com/#!5299994/rain-gutters-as-cable-manage...
Pretty easy.

Compare the sum with the expected sum.
Compare the sum of squares with the expected sum of squares.

Two equations, just solve them. I wrote the final equations in the blog comments.
I've quite enjoyed reading your paper since it was uploaded to arxiv in December and I have been toying with redoing the MNIST part of your experiment on various classifiers. (I'm particularly interested to see if images generated against an SVM can fool a nearest neighbor or something like that.)

But I'm having problems generating images: A top SVM classifier on MNIST has a very stable confidence distribution against noisy images. If I generate 1000 random images, only 1 or 2 of them will have confidences that are different from the median confidence distribution. That is, all the images are classified with the same confidence as class 1. They also share the same confidence for class 2, etc.

So it is very difficult to make changes that affect the output of the classifier.

Any tips on how to get started with generating the images?
I find it boring too. What works for me is that I do weights (the routine doesn't vary) before I brush my teeth in the morning. Part of my daily ablutions ritual, I don't think about it or need to enjoy it, it just happens.

Routine works, I've done it every day for 20 or so years barring sickness/travel. I suspect people who get that 'high' from running or working out are just different from the rest of us.

Oh I force myself to run in the evenings before dinner, just 2km. I hate that too. Have only been doing that the last year or so.
In the US, the difference between "fair market value" and exercise price is subject to AMT. The short explanation is that if you exercise ISOs, you need to calculate your tax under AMT rules (which consider the spread taxable income) as well as normal rules and pay whichever is more.
I noticed the implicit y combinator as well... here's something I wrote in python some time ago to play with the idea:

def tco(fn):
"""
tco
---

Usage:

Functions should have the following form:

>>> recursive_fn = lambda fn: lambda x: fn(x+1) if x < 1000000 else x

or

>>> def recursive_fn(fn):
... def recursive_fn_cc(x):
... return fn(x+1) if x < 1000000 else x
... return recursive_fn_cc

The notable difference is that called on their own, these
functions aren't recursive at all. For example,

>>> recursive_fn(lambda x: x)(1)
2

This is easier to see in the anonymous-style definition:

>>> lambda fn: lambda x: fn(x+1) if condition(x) else x

So we go from

>>> def recur(x):
... ( function body modifying x )
... if not base_case_reached:
... return recur(x)
... else:
... return x

to

>>> @tco
... def recur(fn):
... def _lambda(x):
... ( function body modifying x )
... if not base_case_reached:
... return fn(x)
... else:
... return x
... return _lambda

Then call as usual like

>>> recur(x)

Functions need to take this form as it exposes the fixed-point,
namely the recursive `fn`. We need a fixed-point for the modified
y-combinator. The modified combinator is the same, only where the
evaluation step would normally take place, each evaluation is
suspended or "thunked" by wrapping in a `lambda`. The thunks
are then looped over and called in a while-loop, sidestepping
the recursion depth issue.

TODO: save the kwargs; eliminate the need to write the functions
as continuations (i.e. `recur = lambda fn:lambda x: ...`) by creating
new function objects from bytecode, replacing instances of `LOAD_GLOBAL`
with `LOAD_DEREF`, may need to build temp function in order to create
closure so `fn` can be added in `co_freevars`. See e.g.

http://nbviewer.ipython.org/github/bravegnu/python-byte- code/blob/master/Python%20Byte%20Code%20Hacking.ipynb

"""

# y combinator with evaluation step wrapped in throwaway lambda
# which suspends the evaluation step;
# important to give `_t_c_o_` or some other highly unlikely keyword
# argument so we can signal to the loop when stop evaluating;
# want to be able to *return* a function as well, so checking for
# '__call__' in directory is not enough.
# Could also check that argcount is zero, and no other keywords exist;
# if we're really nuts, generate a uuid or timestamp, then assign
# it to `_t_c_o_`
Y = (lambda f: (lambda x: x(x))(
lambda y: f(lambda *args: lambda _t_c_o_=None: y(y)(*args))))(fn)

def tco_cc(*args):
_fn = Y(*args)
while ('__call__' in dir(_fn)) and ('_t_c_o_' in _fn.__code__.co_varnames):
_fn = _fn()
return _fn

return tco_cc
Since Velocity Raptor, I've started making my new games using Unity. That lets me release to the web (now, recently, without needing any plugin at all) or various devices.

I don't have any immediate plans to port Velocity Raptor over, though. It would take an entire rebuild of the game.
Good point. I always felt that iteration was 1-dimensional, when recursion is more fractal / N-dimensional.

ps: Also, a lot of programming is often conflated into 1-D. sed, grep, awk are mostly init ; iterate{ [PRED] FN }; exit
FWIW: yes, that's Greg Slepak.
The difference is whether consumption is relative equal across society, or is the masses serving elites, and if we are paying for each others good graces, or to burn polluting energy sources. A dollar spent paying someone to burn the plastic remains of your frappucino and then treat your diabetes, or a dollar spent on a blood diamond or chocolate farmed by a slave child, could be spent paying someone to pick up litter, or cure genetic disease, or teach you how to play music. Not all consumption is equally valuable.
Am in the south west of the UK. 2 to 3 days a week of crap work covers my rent and most of my food and gives me loads of free time for pissing about on my own stuff. I avoid benefits, not through any particular ideology but more because I find them more trouble than they are worth. I sometimes earn decent money, but I find I get stressed as hell in offices and I don't get motivated enough by money to make up for it, so I am avoiding those kind of jobs for a bit.
"A Short History of Nearly Everything" is my favorite book. If you're not much of a reader, listen to this in audiobook format (great narrator). This book makes science entirely accessible and inspiring, and human nature humble.
FWIW, this question is asked here about once a week or so; I suggest looking through the previous posts, there's plenty of good information on this topic.

http://www.google.com/search?hl=en&q=site%3Anews.ycombin...

There's also some useful into on Quora:

http://www.quora.com/How-do-you-find-good-startup-partners-c...

http://www.quora.com/Finding-Co-Founders/Which-networking-al...
Smaller cells do wonders. A LimeSDR with <200$ of general-purpose CPU/assorted components to work between the USB3 SDR and Gigabit Ethernet (and some <50$ antenna + GPS-clock) is enough for a small 5G cell, where small primarily refers to single-channel and limited reach due to ~4mW output power (on each of the 2 antennas).

The reach can be increased for <50$ to at least a few hundred meters radius.
1. e.g., quantitative easing is literally described as “an unconventional form of monetary policy, it is usually used when inflation is very low or negative” - just because we are not able to meet a specific inflation target does not mean that creating money does not the create inflation… this is some of the most basic monetary economics stuff

2. At what point did I state that inflation is always hyper-inflation? It is perfectly appropriate to bring up hyper-inflation in a conversation about money creation where the money would be created at a rate of no less than $335 billion per month (e.g., UBI of $1,000/mo), which would be the greatest expansion of money supply, in PPP terms(and 25% expansion of M2 per year), in planetary history.

3. Pray tell... if the inflation is due to an increase of the money supply at the inter-banking level, then of course loans are easier to be had. If you already have loans, then of course you are in a great spot when inflation ramps up. If you’re trying to get a loan and the money supply is increasing at 25% per annum, you will likely need to be lent money at a rate higher than what usury laws allow...

4. Never said that either. What I said is that those people are the only ones that will benefit without condition, because inflation does not affect them (other than price stickiness in their assets, if they choose to sell them - they can also thank money expansion for this, one of the known failings of New Keynsianism)

Pertaining your last point about the divergence of my thinking from the boundless wisdom of academics... Don’t fall for the college tribe common look no further than Paul Krugman for an example of how Neo Keynesian economics will lead you down a path of endless failure (search for his predictions - as we know, predictions are the best way to test a theory). New Keynesianism economics will go down in history as the single failure that collapsed the Occident into an inescapable swamp of debt. You sound like you’re in junior high or early high school, so you still have time; trust me, do not waste your time studying economics in college. And if you do, at least seek out some place that teaches Austrian School economics at least from a historical perspective (like Booth).

Hey there :) no need to reply if you don’t want to; I already know you read it all
I agree, VM in browser is quite exotic and cool; just Linux-in-JS felt even more so.
Sure, but that's not an argument for "actually exploitation is good." That's an argument for figuring out a solution to exploitation seeming like a rational choice in the first place.

In some cases, the problem is just that the free market sets up a race to the bottom and regulations can provide an artificial bottom. This is the standard argument for the minimum wage, for instance: even if businesses can afford to pay more and still be profitable, they won't voluntarily do so in a market where there's more supply of labor than demand for it.

In some cases, like livestreaming your hotel stay or selling your organs or sacrificing your lungs to mine coal, there's a qualitative difference, and saying "This job no longer exists" doesn't solve problems. If that's the case, society should figure out if it can afford in any way to provide for people's basic needs so that they can start having meaningful other options.

It seems entirely possible to me that a society with a strong social safety net (welfare, UBI, whatever) needs less regulation of its free market than one that puts the burden on its market to treat the most desperate in society with fairness.

(BTW, a minor point about sex work: I believe "legalization" refers to making it a regulated industry with the remaining possibility of criminal penalties for breaking regulations, and many sex workers prefer "decriminalization," i.e. just removing criminal penalties.)
It will come back to haunt Amazon as soon as they start to scale
I would get banned from this site faster than I could say Meinungsfreiheit
Thank you for the counter-point. I can see how it’s easy to come from the view that it is always bad. It certainly puts Hotel Voyeur into perspective, as an issue for society to spend its finite energy on tackling.
Thank you.

I'm not using any Jekyll specific theme.

I started with a Bootstrap 3.x base and custom made it. I would have used Bootstrap 4.x but it wasn't out at the time.

When coming up with the design the main focus I had in mind was "minimal and readable".
Thanks for the feedback! I definitely will think about the new hierarchy you mentioned.

As for the analytics integration, the site is running in Rails 4, and is using the impressionist gem https://rubygems.org/gems/impressionist
"Would some kind soul please describe to me what this does, my corporate eager beaver network admins seem to consider this some kind of problem site and it's URL is BLOCKED by our gateway proxy."
> some people who call themselves libertarians

No True Scotsman?
Ha! Thanks. I must have been typing too fast.
It's a completely different computing paradigm. The current model is "work offline unless you have some reason to be online" the cloud model is "work online unless you can't".
I think you should apologise and hang your head in shame! It is simply abhorrent to reason to hear comments such as... x region has no talent, especially in the context of religion, culture or race!
It will be exceedingly interesting to watch the progress/outcome of this investment (if Google chooses to share honestly, something that's clearly optional). The best indication of the actual ROI of this investment will be whether further investments are forthcoming (although Google could pour a few tens of millions USD down a hole and not notice). Anyone know if Google has invested comparable amounts in Lebanon, Syria or Libya?
> it was to keep the supply for healthcare workers

I've heard this argument several times. I don't buy it at all. They could have instructed people to make their own masks especially since everyone was stuck at home. There is no shortage of fabric that I'm aware of. It also would have given manufacturers more time to produce masks.

Also, it's not okay to lie to the public, especially if you're supposed to be non-political. They deliberately lied and didn't apologize. There's no way I can trust someone who does that. That's not how my brain works.
Most entertaining rendition of the world-known manifesto's. Starring Kate Blanchett.
Hey there, FYI this doesn't work on non-traditional subjects i.e. LSAT. I created an issue on GH, and ideally would have rather opened a PR, but don't have time at the moment. Cool tool, thanks for putting this together.
"When you’re in the middle of an outbreak, wearing a mask might make people feel a little bit better and it might even block a droplet, but it’s not providing the perfect protection that people think that it is. And, often, there are unintended consequences — people keep fiddling with the mask and they keep touching their face"

What do you think is being communicated here? It makes you feel better, but there are unintended consequences is worse than they don't work, it is saying they are worse than nothing. Around the same time the Surgeon General more explicitly said they don't work.

“They are NOT effective in preventing general public from catching #Coronavirus, but if health care providers can’t get them to care for sick patients, it puts them and our communities at risk!”

Which was an absurd statement at the time - if they are not effective for the public, why would health care providers need them.

https://www.nytimes.com/2020/02/29/health/coronavirus-n95-fa...
This is why abusing the trust of the public in the pursuit of punishing or shaming political rivals is so corrosive. Many people have simply stopped listening to the politicians of the opposite stripe and the main-stream media as authoritative sources because they feel that they're always hostile. For example when authoritative sounding talking heads appear on media and deride 40+% of the voting public as unworthy reprobates without being seriously challenged, a large number of people will completely shut off and turn toward less hostile voices who may or may not actually be worthy of trust themselves... That is a seriously bad thing when you have something important you need the public to rally around.

The government and media should be rebuilding trust and making amends because if we can't trust what our leaders say, civil society simply can not do anything but crumble. That's not an easy thing to accomplish, but it could be done if approached in a genuine and humble manner. Unfortunately, there's no sign of that happening anywhere.
I don't think there are. Lots of resources on technicalities of the craft, but I'm not sure you can effectively teach mastering skills without hands-on approach. Some subtle nuances of the sound are just very hard to describe and be sure the reader really hears it properly.

Mastering engineer needs to develop sharp focus, integrate themselves deeply into their listening environment and setup to understand how their decisions will translate in the wild. It's also important to know what the author/producer and the listener expects from the music, so you can, fortunately, make both sides happier. This implies listening a lot of different music with a critical ear.

I mostly do mixing, but do mastering as well and I enjoy the process a lot. It's not easy but can be extremely rewarding.
Polyethylene glycol is an adjuvant, as are many of the lipids chosen. It's looking like PEG is maybe a bit too effective at getting the immune system's attention, and that's why we're getting so much anaphylaxis.

We know that both the Moderna and Pfizer vaccines look about 80% effective from 10 days after dose 1 up to dose 2. We really should be doing a trial on delaying dose 2 a bit: it might very well make the dose 2 side effects smaller, increase efficacy, and stretch vaccine supplies.
> People forget how fast modern hardware is and overestimate how much useful data they have (or need).

Where your model breaks down is when you have folks throughout your engineering org who have data needs but don't have folks to spin up bespoke pipelines like this and spend time optimizing them. You have data, you want to write something SQL-ish or have some nice APIs, and you want to get results dumped into a predictable place. When you have mixed workloads, mixed data sources, and those jobs are being tweaked and changed frequently, the actual underlying compute cost is hardly the issue. Getting the data, chewing on it [fast enough] without having to spend much time optimizing, getting it to its destination, and making that happen regularly and reliably is where the value is.
Common Lisp hacker here, with a real-world case of this:

> It seems to me one of the worst problems explicit imports help solve is forward compatibility of code with respect to the modules and the standard library. And this problem seems worth solving.

This is exactly the problem in a lot of legacy Common Lisp code in which packages :USE other packages. :USE means that all symbols from package A become accessible in package B.

It also means that a widely :USEd package cannot add a new symbol without possibly breaking a lot of code that depends on it. In the optimistic case, nothing will happen; in the realistic case, you will get package conflicts if the symbol that is newly exported from A is also exported by another package C that is :USEd; in the worst case, the :USEing package successfully grabs that symbol overwrites its meaning with something else, which means that the functions or variables or classes or whatever else named by that symbol suddenly become something else and everyone else that :USEs package A suddenly needs to deal with an overwritten definition, and chaos ensues.

One CL solution is to never :USE other people's packages and explicitly import single symbols; another solution is to use local nicknames which means that it's possible to "import org.random.foo as f" and refer to symbols via F:BAR.
Being Laravel focused and knowing what is happening underneath the hood are not mutually exclusive. A mature developer knows when to stray from the framework when its absolutely needed, not when it just seems like a fun thing to do. 99% of the time the frameworks predetermined path is the right way as its the simplest to maintain.
You're right, I don't remember people losing their jobs for not wearing seat-belts.
It's happening already with early adopters. My brother-in-law just bought a NAS that markets itself as "Your own personal cloud" - it's an 8TB hard disk that plugs into Ethernet (or wireless), is available from every computer connected to the network, and is also available (encrypted) across the public Internet from computers that were authorized on the home intranet.
Depending where you're trying to bring developers to, I think you might have to offer even more than that. Maybe if your business is in the Valley, Portland, Seattle, NYC, Chicago, you can find developers willing to come in to the office for a $10k/yr premium over telecommuting positions. But in some less popular parts of the USA talent is much thinner on the ground, and I think you might have to offer even higher compensation to get your pick of the best local people and/or to get people to relocate to your second tier city. (And of course relocating your company to the Bay Area is going to cost "a lot," to put it mildly.)
> I think one wanted a full node.js install to do JS linting.

To be fair, Atom requires node.js (recently moved to io.js) to even run (though it's embedded)
Brisket also depends on the following libraries:

jQuery ~1.11.1
jsdom ~0.11.1
Underscore ~1.6.0
Backbone ~1.1.2
bluebird ~2.2.1
jquery-mockjax ~1.5.3
express ~4.0.0
qs 1.2.2

ಠ_ಠ
Yeah. I was the guy who generally looked like a dweeb and never got any compliments or anything (besides the nearly backhanded “smart” comments or politeness from old people)

Grey my hair out and it turns out I have absolutely beautiful, curly hair. I would go out and nearly every time get complimented about how nice it is. I’m terrified of losing it because it’s about the only good physical quality I have.
Reading this title made me feel like I was in the Alba universe.

(Alba is a heart-warming, pro-nature and fun Apple arcade game.)
And then in Rust, that file ends up just saying `pub use ...`, and the real code is in a different module.
If you bought Beanie Babies in 1995 and sold in 1997 you'd be up 16000%
No, the basic assumption is that women have equal rights.

Most of the movement acknowledges real differences from men, aside from a subset of the movement that subscribes to the gender assignment idea, and its mutability. I would say it's a loud and educated minority, since the lived lives of most women includes childbirth and insisting "NOT different" runs into some pretty obvious problems here.

But yes, if my hunch is correct, it is about having a few powerful role models so that the image of pursuing this option becomes viable. It's also about removing patent ideological blocks (she's just not a "culture fit"), lessening the barrier to entry (she needs to have a proper engineering degree), etc. But doing the latter without the former yields poorer results.