skysight-inc/HackerNews huggingface dataset:
>> I'd like to know, how do you feel about the legality of cigarettes and alcohol.

> I wish they were illegal. I don't see any societal benefit with cigarettes, and I don't drink alcohol so am only left to deal with its consequences.

Weren't the consequences much, much worse when alcohol was illegal? That was the era when the word "gangster" was invented.
Marijuana is a weed and grows easily in the wild.
I would like this to be true, but I cant think of anything that could replace the city for jobs and opportunities. Do you have any examples of this? And of course as soon as an alternative cultural center pops up, rent seeking will follow...
>Hopefully most of the remote places still lack cell service and this, I assume, would prevent being remotely disabled.

Actually these devices are more like remote enablers. Its programmed to disable the vehicle after your bill is due. Each time you make a payment they update the shutdown date to whenever your next payment is due. If the car is somewhere it can't receive the update then its not going to work after the due date until it returns to an area with cell coverage.
Have used Hugsql[1] and love it. I find I always hit the limitations of other DSL like solutions eventually and it costs a lot of time. I found I didn't often need the ability to compose the SQL as data that Honey SQL offers and Hugsql has the concept of 'snippets' to handle those few situations. I have found the ability to just write SQL as a template is simpler, no translation and unsupported operation problems. It is however a two edged sword, with out that convenience layer you get no abstraction over the SQL that you write so it may not work across different SQL implementations but personally that is not really something I value very much and value the ability to use all the features of the particular database I am targeting.

[1] https://github.com/layerware/hugsql
For a Javascript implementation, check out https://github.com/fisch0920/dissolve-generator

This version is based off of the article A Digital Dissolve Effect by Mike Morton "Graphics Gems", Academic Press, 1990 (http://dl.acm.org/citation.cfm?id=90821)
Isn't the solution simply unicode?
"Now"...

The National Flood Insurance Act of 1968 established the government-backed flood insurance scheme. It has Ronald Reagan's signature. https://en.wikipedia.org/wiki/National_Flood_Insurance_Act_o...

The idea was and is twofold: first, it was seen as the only possibility to actually provide such insurance because insurance companies (even together) lack the financial strength to be able to insure risks that are statistically extremely dependent. Something like this flood costs dozens of billions, and it would bankrupt the whole industry.

Secondly, it's in the national interest to promote such schemes that allow for more areas to be used productively.
Well a few simple questions about deep seated emotional trauma (e.g. molestation), or embarrassing or taboo subjects can present risks to patients. So like you say. Sometimes.

The question is who decides and how they make the decision? Surely it should involve someone other than the investigator, and have clearly defined rules so people know what to expect. Hence the IRB.
The community that get uprooted from one neighbourhood doesn't reform in a new sui generis neighbourhood in the city to reconstitute itself whole; its members get scattered across the city. In Toronto's Kensington Market neighbourhood, in a 5 by 5 street area, there are somewhere around 250 airbnb units available, and the area is turning from a traditional market into a bar and restaurant area. The residents are pushed away and the local merchants are pushed away.
Thanks for the advice!
My company is mostly remote but going through some tumultuous changes so I'm looking at my options while also trying to orchestrate a hop to another country.
Maybe it's best I push consulting to the wayside after I settle in the new country.
The guideline numbers you gave helped me out -- always good to have a ballpark to measure yourself against.
silly things like saying pi is rational in base-pi... Which I think deserves a spot in some circle of mathematical purgatory

Hmmm...

Anybody know any resources related to that? I'm interested in the properties of base-pi.

I found this: https://math.stackexchange.com/a/2188852

Strange bases are pretty cool. Any integer can be converted into base-sqrt(2) by interleaving zeoes into its binary representation. E.g. 5 in base-sqrt(2) is 010001, 21 (0b10101) is 0b0100010001, etc. Possibly useless, but neat.

Also: https://www.quora.com/Can-we-have-a-number-system-with-the-b...

Knuth considers transcendental bases (ee is a transcendental number) in The Art of Computer Programming – in the section called Positional Number Systems. One of the consequences of using irrational bases is unfortunately that numbers need not have a unique representation.

EDIT: Wow, this is awesome: https://www.quora.com/What-is-10-in-base-pi

Specifically the answer from Dave Williamson. It's ridiculously comprehensive. He shows how to calculate it using pure math, using a calculator, by writing a program, and demonstrates a partial proof on some of the properties.
BTW, welcome [back] to HN. And just wanted to say, I am immensely enjoying very many of your articles and glad to see them making the front page!
Tuskegee syphilis experiment, ok. However, as bad as that was, no one was injected with syphilis.
I do web development and mobile development for startups.
Identifying political bot/troll social media activity using machine learning
Well my story with the research bureaucracy is, a coworker had to fill out a notice that he got some money for a conference from outside the university and he dutifully filled out everything. Thing is, as a theoretical physicist you are supposed to fill out the first page, check the box on page 27, that there is not conflict of interest, and sign the thing. Any answer on certain questions will trigger a public hearing by some very obscure board.

Public hearing means, that poor guy has to go there in case the public has questions. He filled out everything, so he had to go to the anti-corruption board and the nuclear safety commission and so on. After roughly three weeks of him whining that he always sits there like an idiot, I got curious and came along to one of the hearings, definitely for some reason other than watching him sit there like an idiot, or so I claim.

That was the animal cruelty (against) commission and at the hearing were the committee, a very nervous working group, one unhappy postdoc and a grad student who just wants to watch the show. The PI of the working group then gave a presentation on the sad reality, that you can't study pain receptors if you anesthetize the mouse. (Apparently that was not the first time they were there, so I got just the part on why they are certain that there is really no way to get a statistical meaningful result with less mice.)

Really drove home the point that these procedures are not designed for the convenience of theoretical physicist, but are designed to tackle really hard problems.
They are leeches and we should tax rentiers. Tax them out of existence. Or as near as we can get.

As Keynes said the euthanasia of the rentier, the functionless "investor" is to be welcomed.

edit: to the poster below

Many airbnb are not people "renting on a weekend when they go on holiday". It's a mini hotel. The former I don't mind, the latter should be taxed out of existence.

Your comment about groceries is dire. Production of food is elastic. Production of land is not. Taxing those who simply try to be middle men to be, yes, a rentier is a good thing. Not to take a cut but to get rid of them.

So many bad comments on HN that fail to understand elasticity and how prices are set. I'm off.
> What about for non-humans?

The thing is, the higher sample rate data doesn't actually have a lot of the higher components after 20 kHz.

What the faster sample rate allows is to use a less aggressive filter.

Instead of a "brick wall" filter that rapidly cuts off after around 20 kHz, one with fewer poles can be used which rolls off more gently.

The higher sample rate ensures that there isn't any aliasing.

192 kHz audio does not reproduce flat up to 90 kHz.

(I'm going to gloss over the microphone used on the trumpet, or the loudspeakers which ultimately reproduce it.)
It doesn't matter what resolution the color is stored at, as long as the high frequencies are the same as the Y channel. You won't have lost anything.

Of course, cross-channel intra prediction would work better[1] but 4:2:0 is pretty good quality considering you can throw out 3/4 the pixels.

[1] https://people.xiph.org/~unlord/spie_cfl.pdf
Compost: A command line pastebin
Coastal protections are under the purview of the Army Corps of Engineers, a federal institution, one of the most sclerotic of the government institutions, and one of the rare beasts that actually deserve the common cynicism with government action.
It's way too late to bring back Google Glass
The 8865 was the first model with a differential. I wrote about being an adult fan of lego[1]. Over time, I purchased all 7 "super cars" that Lego manufactured. One of each car was sold every ~5 years and each one improved the previous generation's already amazing gears, steering, etc.

Fun fact: who is the largest manufacturer of tires in the world?

[1] https://www.facebook.com/notes/alok-menghrajani/afol-adult-f...
Homeowners have a strong financial interest in underestimating the probability of a severe flood

I don't know about that. Even if I have flood insurance, it's not clear I'm financially better off by having my house flood. It may be a confluence of "financially not fully liable" and wishful thinking, though.
Im hesitant to even type this, but I've had similar thoughts.

If a lot of gender is just a construct and our gender roles are rooted in a time when women were taught to be subservient to men, then it's highly possible that a lot of traits that are deemed "feminine" are just traits that were taught to women to make them subservient/less competitive/etc.

So maybe being timid, shy, soft-spoken, and like traits should not be considered "feminine" in a biological sense. They should be considered traits that make you less likely to get what you want and much more likely to be taken advantage of. And those traits were included in the feminine construct of yesterday to make women easier to control.

So maybe it's ok to discriminate against some of those traits when hiring because you aren't discriminating against biological traits but rather learned traits that may or may not make you more productive in certain environments.
But then you've driven up the cost of the housing with tax.

AirBnB hosts are paying property taxes and if AirBnB drives up value it's driving up property tax.

Speculative hoarding only works if there is artificial scarcity driven by overly restrictive zoning. Speculating in Dallas hasn't resulted in high profits.

Actually, editing in response to your comments. It looks like high property taxes in conjunction with low zoning regulation works. And that AirBnB has little to do with housing prices generally.

That's an interesting point that comes out of this discussion.

Rather than calling people 'leeches' and other names perhaps reasonable discussion could help.
I can only imagine the risks are terribly overstated.

1000 years ago we didn't have mass media hysterically screaming, "Don't look!" and the average pleb certainly did look at such an incredible sight... so where are the reports of mass blindness following the partial eclipses of old?
There is some private flood insurance these days, but I don't know who offers it, in what locations, what the premiums are, and what kinds of exclusions there are. Since it's a new thing, I think the claim that it'll be vastly better than NFIP is invisible hand waving. Nevertheless...
http://www.insurancejournal.com/magazines/features/2017/07/1...

I think the bigger issue is that there is an inherent incompatibility between free markets (or strict laissez faire, non-intervention of any kind) and democracy. Of course people, in the millions, are going to say "help us" and direct it at their various layers of government, and punish those who don't at the election booth.

Therefore it stands to reason in major floods like this, that everyone is going to get some kind of relief even if they didn't have flood insurance. What I'm not sure of is whether the insured get 100% payouts and those not insured get partial payouts? What's the incentive to have flood insurance, except in smaller, localized, 50 or 100 year floods?

This is asset destruction and the only way to properly handle it is through savings. So it's either made compulsory or you do end up with something of a free loader problem. Whether that free loader problem is a real problem, I don't know.
I was in the startup world in the early 2010s, and saw MongoDB used in a number of startups (over ~5 years).

These companies included everything from very early stage Y Combinator backed startups to one of the most famous unicorns (tech issues at growing companies are rarely discussed publicly, so I was lucky that my friends were willing to privately share; compare that to successful tech decisions, which are widely discussed and blogged).

In that time, I heard many stories about the issues companies had with it - and angry debates about whether it was the right choice. In the early years, you were ancient if you used something more conventional than Mongo; in later years, you were dumb if you used Mongo in many startups (both views have their issues).

I wanted to understand:

- Why was MongoDB so popular

- What issues did startup engineers have with it

- Given these issues, why was it chosen in the first place

And most importantly, what lessons does this case study have for future dev tool decisions.
Droven.co, I bought it for a side project I was working on at the time but ended up going with another name for it. I still hold on to the domain hoping to use it on something
Midnight Commander is pretty good.
The story says George Plimpton bought the tablet in 1922. George Plimpton (I assume it's the same one) was born in 1927. I admit he was awesome enough that Jonathan Coulton wrote a song about him, but could he buy a tablet five years before he was born?
(2) WW3 HOW LONG BEFORE UK CIVIL WAR
Visual Search Goes Open Source
If it was ballistic then sure, you can ignore it. But a missile can change course so I don't buy this excuse that 'we knew it would miss'
The tooling around Github is a lot better
Looks like a paragraph is repeated in the article.
This isn't quite the same thing, but FWIW, during Renaissance times, scholars would rediscover ancient Greek works and legitimately learn "new" mathematics from them. See for instance Diophantus's Arithmetica, which was translated from Greek to Latin and thus rediscovered by the west.
Does the rediscovery of ancient texts that help kick-start the Renaissance count?

https://www.livescience.com/55230-renaissance.html
What if it's just a page of math homework from Babylonian times? And not a special trig table at all?

What if?
Recorded lectures from Montreal's Deep Learning Summer School 2017
What is 10 in base pi?
interesting viewpoint, however, did you think about the experiment I presented? without an answer, sample rate and cabling cannot be considered equivalent distractions on the road to high fidelity.
I don't exactly know the history of these courses, but SWOs now attend BDOC,though sometimes not for a few months after reporting. It's pretty heavy on seamanship.
Ask HN: Programming / Mathematical Software for Children?
Anyone have 'gamified' introductions to programming or mathematics, or even general problem solving?

My kid is extremely young (he turns one soon) so I know I'm getting ahead of myself, but I wanted to know what educational software HN folks have deployed with success.

These can be hand rolled solutions too. Just curious what works, what doesn't.
I don't see why this is a good argument. If you can't do business without breaking the law, don't do business. Participating in bribery because everyone else does it is immoral, perpetuates bad behavior, and risks infecting your company with people who act illegally.
Big ones absolutely do. I'm not sure how small floods can get before the answer is no. IMNAG.
If we boost the frequencies even in just the range 10-20 kHz, things sound harsh and fizzy to the human ear.

The frequencies there are no longer musical in the sense of being recognized as musical notes.

That is to say, although in a pure arithmetic sense, frequency 148080 is an A, since it is a power of two multiple of 440; five octaves above it, we don't hear it as an A tone.

The frequencies in that ballpark just have to be present to add a sense of "definition" or "crispness" or "air" to the sound.

In fact, this can be faked!

In the OPUS codec, there is something called SBC: spectral band compression. What this refers to is basically a hack whereby the upper harmonics of the signal are completely stripped away, and then re-synthesized on the other end based on a duplicate of the lower harmonics or something like that. The listener just hears the increased definition.
I feel like there is some parallel to open source and GPL type licenses: you can never know which of your customers may wish to remix or further work on your materials, so you should ship the "source" material.
Free, browser based, integrated well with games, widespread.
For example, create cards based on email sent to gmail or order cards sent to woo commerce. I have barely scratched the surface of what Trello+Zapier can do but I'm pleasantly surprised that there are tons of ready made 'zaps' for all kinds of app combos.
I think the real issue is the top 1% have amassed even more to the detriment of the majority.
Gut feeling: they did it, early and often. In many countries that's the only way to operate it, especially if you're breaking the laws (taxi rules and regs.) A wire transfer or a suitcase full of cash will automatically make you complaint and a law abiding company...doesn't matter who complains about you.

They will throw the person under the bus and pay a huge fine, but it will definitely hurt them in a lot of countries.
(I'm actually trying to submit the answer by Dave Williamson, but I'm not sure how to link directly to it. It's ridiculously comprehensive. He shows how to calculate it using pure math, using a calculator, by writing a program, and demonstrates a partial proof on some of the properties.)
I think your first three paragraphs are fine, but your conclusion sounds very much like a casual justification for sexism. That doesn't sit well with me.

(Among other things) I am not soft spoken. That fact actually gets me a lot of social friction for failing to be what people expect from a woman.

I am trying to sort the wheat from the chaff. I hope to start blogging soon in a "thinking out loud" manner. My hope is to sort a few things out for myself and maybe help other people think through the problem space a tad.

I am not ready to write about it. I have started several posts and the attempt is just not going well, plus I am hip deep in other goals right this minute.

My hope is to "bring solutions, not complaints." And justifications for the current status quo are just inherently problematic and a great way to provoke ugly reactions.

But thank you for replying. I realize it involves sticking your neck out.
I don't think there are flaws in the article as you claim. It already explicitly explains that oversampling at the ADC or DAC is an acceptable engineering solution:

> Oversampling is simple and clever. You may recall from my A Digital Media Primer for Geeks that high sampling rates provide a great deal more space between the highest frequency audio we care about (20kHz) and the Nyquist frequency (half the sampling rate). This allows for simpler, smoother, more reliable analog anti-aliasing filters, and thus higher fidelity. This extra space between 20kHz and the Nyquist frequency is essentially just spectral padding for the analog filter.

> That's only half the story. Because digital filters have few of the practical limitations of an analog filter, we can complete the anti-aliasing process with greater efficiency and precision digitally. The very high rate raw digital signal passes through a digital anti-aliasing filter, which has no trouble fitting a transition band into a tight space. After this further digital anti-aliasing, the extra padding samples are simply thrown away. Oversampled playback approximately works in reverse.

> This means we can use low rate 44.1kHz or 48kHz audio with all the fidelity benefits of 192kHz or higher sampling (smooth frequency response, low aliasing) and none of the drawbacks (ultrasonics that cause intermodulation distortion, wasted space). Nearly all of today's analog-to-digital converters (ADCs) and digital-to-analog converters (DACs) oversample at very high rates. Few people realize this is happening because it's completely automatic and hidden.

The main point of the article is to argue that storing or transmitting music above 16-bit, 48 kHz is wasteful and potentially harmful. It still fully condones using higher specs for audio capture, editing, and rendering.
The problem is "reasonably expected." For an recent example consider the 70.000 Tinder (?) profiles now located on the piratebay. The guy who did that was likely preoccupied with questions like which scraper to use, and just never thought about "edge cases" like homosexuals in Saudi Arabia. Clearly someone is not reasonable here, but is this a reasonable oversight on the researcher's part?
In the amplitude domain, you definitely need more bits for that type of processing, and many other types.

Digital distortion basically simulates high gain with soft clipping, which basically takes a narrow slice of the amplitude domain and magnifies it. The extra resolution has to be there for that not to turn into ugly sounding shit with artifacts.
took them long enough
Show HN: Easy parametric query building in Rails
What about MFA?
It really does and can be extrapolated to many, many use cases.

To me, this is the real power of document data stores. It's not for everything such as configuration or business rule data. But for a lot of generated data in the form of events it's a useful way to organize data.
Which basically means inserting pointless extra clicks into the user flow. And think about how horrible this would be for voice interfaces: "hey google, where can I buy Doritos" "ok, let me redirect you to voice product search. Hi, I'm voice product search, please restate your question."
Well, except they don't sell Apple TVs anymore...
Excellent writing. Information conveyed concisely, but targeted at non-audiophiles.
(A) This is kind of a red herring though. The rules are not uniform. Sick patients require more protections than healthy adults. Placing an implant in someone's leg requires a more comprehensive risk minimization plan than asking someone to look at the ground for 5 seconds and then read a flash card.

(B) Is the lack of risk really self-evident? To everyone? Or just to you? Thus the question who should decide? And by what process do they decide?
That's called "making things up", but sure.
It's his grandfather:

https://en.wikipedia.org/wiki/George_Arthur_Plimpton
Schema.org 3.3 has been released
How to Shoot Time Machine and Bullet-Time Scenes with Insta360 One
For what I've seen, whereas Node projects tend to the fragmentation, Rails projects usually tend to the convergence. For each problem, there tend to be one, or maybe two, widely accepted solution and developer tend to maintain existing solutions, rather than forking or starting a new one from scratch.
if you don't mind me asking - assuming all of that is services related: what % of that is strategy vs execution?