skysight-inc/HackerNews huggingface dataset:
personally, i don't like how this particular lib does masking. however...

> 19 digits exist although extraordinary rare.

this is an understatement. in 15 years and hundreds of thousands of transactions, i've never seen one.

> Phone number formatting - doesn't support all phone # formats.

depends on your customers. 99.99% of ours are US and CA. i would argue that a very large swath of businesses do not have wildly varied customers. we very rarely encounter anything other than 555-555-5555. but very frequently encounter 555555555 (one digit too short), cause customer wasnt required to add delimiters. yes, you can validate this post-entry, but still. post-entry errors are annoying, too.

> Date formatting - use type="date" so you get native mobile support for date entry.

unless you need MM/YY, right? [type=month] also sucks, btw.

> Numeral formatting - use type="number"

this allows symbols that aren't actually numeric to be entered in many cases.

i use a fork i made based on this: https://codepen.io/lagden/pen/XzLYJE

- it handles deleting from end in chrome and safari (i had to add a bit to make it work in Firefox, Edge, IE since they dont support [1]).

- it inserts a valid symbol even if you mistype a symbol instead of preventing entry.

- it's not perfect, and doesnt quite handle editing in the middle since it just assigns the input value. it also cannot do more complex stuff like optional chars. but it's good enough to be helpful 99% of the time and not horribly intrusive.

[1] e.inputType === 'deleteContentBackward'
New Cache of Facebook Documents [pdf]
By metaprogramming in Python, do you mean using decorators ? If so that's a far cry from metaprogramming
Magnet link generator
> By one letter!

Yes, by one letter. Out of 6. "using" is 16% shorter than "import". And it uses better keyboard alternation (the first 4 letters of `import` are on the right side of a qwerty keyboard, the last 2 on the other, for using the only "i" and "n" are consecutive letters on the same half of the keyboard).

So "using" is 1. introduced first 2. the primarily documented import mechanism 3. significantly shorter and 4. significantly more comfortable to type.

If Julia's community doesn't want people to use it everywhere, they're doing a very, very good job of fucking with and victimising their users by way over-incentivising the use of `using` over `import`.

> And in the right direction: for trying things out interactively, `using ThePackage` and then having everything available is great.

And for writing maintainable code it's terrible, despite being by far the easiest and most convenient solution.

ChrisRackauckas complains that people use `using` over `import`, literally everything in the language and documentation pushes them towards it.

Putting the convenience of interactive sessions way, way over that of proper programs does not seem like "the right direction" to me, especially not when people then jump on their high horses and chide users for doing what the language unambiguously pushes them towards.

> But serving both of these needs seems like a valid design goal.

Python does that just fine: it provides convenience for interactive use without pushing users towards the least maintainable and desirable option.
>Not a new development in the 21st century

The global monoculture of BS commercial music is a new development in the 21st century.

Peoples and cultures used to have a huge variety of music and styles all over the world, even if "accessibility" to it from the comfort of ones home outside a specific region wasn't cheap/possible.

>If you don't like the 'Top 20' then I presume you listen to alternatives. How did you find them? The internet perhaps?

Doesn't really matter, as culture is not what people consume in private, but what most consume and influences their public discussion. Some obscure artist I only share with 10K or 100K people might as well not exist culturally.
Jerry (YC S17) Is Hiring Senior Software Developers (Remote)
You don't need to buy the book. It's very simple: create a product that people really LOVE. Word of mouth will boost and sustain your growth >10% week-over-week. It's really that simple of a logic. The hard part is just moving up your ass and talking to users :).
Unless the behavior we are talking about is his writing style and his honesty and his ability to talk about some of our darker states of mind in a way that feels authentic to the reader.

Precisely this.
I guess this depends on what your definition of a first-world problem is.

People die here because they can't afford care. People avoiding the larger milestones in life like owning a home and having children because it's untenable. This will cause larger, show-stopping problems.
$77 billion spent on a train from Merced to Bakersfield. I’m sure that money could have easily solved many infrastructure issues.
Hi, I'm the developer of the site. Safari doesn't seem to support WebGL2, which is why it shows up pure white. There should be an error message, but that appears to have broken at some point. Could you press F12 and tell me what the console says? I don't have a Mac myself, so I can't debug.

Chrome should be working. If it's rendering gibberish, could you go to http://webglreport.com/?v=2 and tell me what "Unmasked Vendor" and "Unmasked Renderer" say? There's a known ANGLE bug on AMD/Mac that I need to work around, but it causes performance issues so I try to limit it to platforms I know are broken; it sounds like you have a configuration that isn't in the whitelist.
> the problem is mobile keyboards.

No, that's just the default iOS keyboard, meaning the problem is Apple. My Pixel's keyboard sensibly has a space button, as do most 3rd party keyboards on iOS.
Research Search
Steve Jobs Interviewed Just Before Returning to Apple
> Try 1/20 in the MM/YY field. Doesn't work.

i've never seen a card that specified expiration month with a single digit. google images for "card expiration" does not bring up any examples either. a placeholder="MM/YY" should make it clear that both are needed.
Which country are you going to raise your kids in?
This book is pretty good:

https://www.amazon.com/Measurement-Psychology-Critical-Histo...
Not just the headline... the article does attribute the man's presence on the photograph to a desire to "get into position, which explains why he seems to be moving and why the glow from his flashlight looks like a lightning flash." I think it's cool that the journalist traced the person in the photograph but that explanation doesn't hold water
Could you press F12 and tell me what the console says?
Ask HN: How Can Remote Working Be Made Easier, for Both Employees and Employers?
We've seen a lot of remote only startups lately. The system has not yet caught up for remote employees.

What do you think comes between you and your work?
The history of France right after the revolution invalidates this. Napoleon happened. And there was a restoration of the monarchy for a while.
Real-time traffic light status in Palo Alto powered by swim.ai (open source)
This issue is much simpler if you rephrase it: replace the "pro life" label with "anti woman". As long as the child is connected to the body of the mother, we as a society decided it's more important to give mothers bodily agency than any rights of a potential human. Do not get tangled in the definition of when life begins, this issue is not biological, it's very strictly a decision the society needs to make. And while you think the decision is not clear cut, it actually is, you just need to look elsewhere where soceties made a decision on bodily agency: organ donors after death. I never heard of any place where it is mandatory to be an organ donor -- actually most places are opt in. So, apparently even your cadaver deserves bodily agency. If we consider the agency of a dead body can be more important than the life of several adult humans then how on earth can the agency of a living body be less important than someone who is not even born yet (might not survive etc)? Hypocrisy much?
How come one guy can change so many industries? It is not just luck. How come steve jobs is so good whatever he done or bet on changed the whole industry?
There was a big transition to 1.0 last year, for which 0.7 was a transitional release (1.0 but with deprecation warnings for old syntax). The package ecosystem took a few months to catch up, which may have been a confusing time to start.

The promise now is that things should be more stable.
You can tell a lot about a culture by their instruments.

It helps to really look deeply.

When Hewlett & Packard were strongly involved with the design & production of their legendary instruments these were some of the most well-designed, advanced, high-performance, purpose-fulfilling, and amazingly reliable long-lasting electronics in history.

When Hammond was strongly involved with his it was even better.

I've got a Hammond amplifier built in 1948, sounds like heaven.
There's no need to repair or replace any components yet since it's only 2019.

Seemed inspired like Edison or DaVinci.

And a benevolent capitalist not a greedy one, after starting a growing company based only on an insignificant amount of one's potential IP there can be a lot of confidence when there's plenty more where that came from.

Chapter X - The Tickless Clock, Teleview, and the "Classified" Patent
http://thehammondorganstory.com/chapterx.asp
There are neutral spaces (on Reddit) but they are not popular because they don't make people feel good by confirming their biases. Most prefer attacking feckless strawmen over having substantive arguments.
They need support, consider supporting them https://www.patreon.com/jtommy
Could you elaborate on “math-fearing”? I’m really curious to hear your justification for its inclusion in your lists
The Twelve-Factor App Is a Methodology for Building Software-as-a-Service Apps
How to reduce the cost of a home by 30%
That to me is one of the most striking observations from spending time in the US. Good outcomes are singled out and praised, but there isn't a system in place to make sure that good outcomes can be expected.

This applies to health-care, funding for universities/hospitals/libraries/etc., or just making sure people have food on the table.
To exemplify this, aren't food donation campaigns sort of missing the mark. Yes they provide a valuable service, but the service it self shouldn't be required.

And in return for having you most basic needs like healtcare/education/food covered, why aren't people fine with paying some taxes for this?
I thought I've had is that the nature of having states 'compete' against each other with lower taxes plays a part in this vilification of taxes. But surely this would only explain a small part of this problem.
> Wisdom ... tends to not generalize as well as we would like.

Ain't that the truth!

I should maybe make it clear -- I'm not really asking for advice. Rather, I would find it very valuable to read how a variety of people have answered this question for themselves.

There is an inevitable bias to what we can observe other people doing: if I decide to show up to the gym, or to some social activity, or whatever, then I can see other people who have made the same decision. But one doesn't really get the opportunity to see firsthand how people spend their downtime.
People die in developing countries because they don't have access to clean water.

That a completely different problem than not being able to afford healthcare or own a home.
Sorry, why do you need OOP? I haven't coded OO in about 10 years now. (Mostly Julia, elixir, and functional JavaScript). It's great. Would never go back.
Not your main point but it touched on something frustrating to me.

Personally I had a very hard time finding metal bands I liked until I started going to a lot of shows.

Spotify etc obviously try pretty hard, and with diligent effort you can prod it to cough up a metal band you haven't heard before that doesn't suck, but it's much better at playing music you already know about and like than it is at showing you anything new, at least for my subgenres of choice.
>I do not have this mindset then. I prefer tools who are mindset oblivious. They are really useful!

Yet you picked a specialized tool "imagemagick" (made for working with images), and want to drive it by another specialized tool (the shell, made for file and process management).

Since you want "mindset oblivious" tools why not write everything from scratch, in C?
Probably it will for quite a while. His potential successors are smart and the existing strategies sound.
IBM Open Consortium DataScience
I'm hopeful that this is a temporary effect of a growing awareness accompanied by a philosophical shift in society. For a long while now the idea that there is one true objective reality with one valid interpretation has been our model, but we are becoming aware that this is probably not the case. Even physics seems to contest the concept, where GR says such things as the order of occurrence of two events is dependent on their frame of reference, and that's without invoking the weirdness of quantum mechanics. As is often the case when a new idea emerges, it is pushed to extremes to test its limits. Ideally, the useful limit of the new model is eventually found and a reintegration with the old model occurs producing a more sound and stable one. Unfortunately such shifts are always painful, and not always successful.
I'm getting doing Georgia Tech's online CS master's program.
This is tangential to the article, but. Scheme was one of my first languages and I would love to pick it/Racket up again. But the Racket IDE (like DrScheme before it) is painful to use. Especially compared to a more "native" Mac editor.

Has anyone used Racket with success in another IDE or programmer's editor?
All summer my wife and I would do the same thing every weekend.

We would find a town within 45 mins, any direction, that we haven't been to. We'd find a really nice park there and take our toddler and have a picnic. After that was unplanned. Sometimes we'd go home and take it easy. Sometimes we'd wander.
I wish Americans showed more gratitude for what they have. Right now, you gain friends and influence by complaining. I'm not saying problems don't exist, but man, we are the 1% in human history.

EDIT: Downvotes on this comment just confirm my point.
People often seem to think I am being unreasonably paranoid for saying that you have to look out for yourself and your family when it comes to exposure to dangerous chemicals, and not just trust the Environmental Pimping Agency (or your local equivalent) to do it for you...
You are simultaneously arguing that music is more homogenous, and yet has such breadth and diversity and ease of accessibility that only a small fraction of earths population could discuss your tastes.
The people that need the help are overwhelmingly declaring that they don’t want the government’s help.
If you like this, you'll go nuts for this woman's YouTube channel: https://www.youtube.com/user/bionerd23/videos

She goes into Reactor 3, finds a piece of graphite from the reactor core, and generally explores Chernobyl with a Geiger counter that she gleefully points out a few times is absolutely pegged to the maximum reading.
I grew up in the USA but have lived abroad for many years. After seeing life in Europe and Asia, I agree with this article. Generalization below:

Americans are isolated from other countries and from each other. It creates fear insofar as that we don't even let our children play in the front yards anymore, all the while kids in Tokyo ride the metro unattended by an adult.

My life is much better outside of America, but yet I remain for now, because of the money I make here. Few more years to go and I'm done.
I think we should acknowledge that we accept over a million legal immigrants every year - comprising over 12% of our population.

Obviously many of them are immensely beneficial and some are not - but I think this statistic belongs as part of the equation.
Welcome to the effect of too much government, between Federal, State, and Local, there is so many layers of inefficiency, graft, and corruption, it has become incredibly expensive to get a lot done. Corruption isn't simply down to giving and taking of bribes but the outright placing campaign officials in places of authority and nepotism.

County level in many states works out just fine but even they are subject to harassment if not extortion by higher levels of government.

We have a government too big it fails. Worse it costs the poorest of our country an inordinate amount due to taxes, fees, and penalties.
All of a Sudden, Flying from LA to New York Is Taking Less Than Four Hours
Offer Recinded One Week Before Start Date
Ha! Shows what I know. Exceptions abound.
Not being able to afford a home is definitely a first world problem. In the third world you have to regularly bribe police, hope no one visits your family in the middle of the night, don't have access to clean food or water...

Even life at the lowest rungs of US culture have it way better than most in a third world country. We have law and order and pretty good public infrastructure.
Peer review doesn't really address those problems, though. Reviewers are just people reading papers, if it's hard to reproduce a paper's results, they can't verify that they are correct. Peer review only helps to decide whether a paper looks worthy of attention, and if you found a paper on arXiv, you probably already have some other reason to think that it might be worth looking at.

If the paper comes with code you can simply run to reproduce the results, that's a stronger signal for correctness that whether it went through peer review or not.
It's not the light that bothers me it's only the blue component. Dark mode does help a lot. All my ides/editors are dark mode (except xcode but I rarely do iOS) where I spent most of my time.
I'll add Half-Life maps to the "to-research" pile, though it can take weeks to research and implement new games, so I can't make any promises. "noclip" is a term from general gamer culture which is why I chose it, despite its origins in the Half-Life and Doom engines.

Thanks for the suggestions :)
Not GP, but I have American friends/acquaintances who have decided to raise kids in Sweden, The Netherlands, and Germany due to issues (either real or perceived) with the US.

I mostly think people with money in the US are unlikely to have much different quality of life than developed European counterparts, though. It's mostly people with fewer resources that are disproportionately worse off.
Do you have a source for what the incentives are and how patent examiners are being paid? Do you know for a fact that it's per-approval, rather than per-application, or salaried with small commissions, or plain salaried?

Assuming you're right, how would you fix the incentives?
There’s no problem with my argument. Enough people are voluntarily getting vaccines that it doesn’t justify government forcing people to, which I am philosophically opposed to unless absolutely necessary.

I’ve repeatedly said I’d be willing to reconsider if that changes.
For such things, Julia is often very close to Matlab indeed, or at least it can be used that way.

You could translate most of those files line-for-line, with quite a few lines identical or trivially changed (bracket shape, or max -> maximum). This is often a useful thing to do, get a transliterated version running, and then re-write bits of it more idiomatically, while checking that the output is identical.
FB is making a lot of people a lot of money. Good luck getting traction on getting Zuck to stop.

Also, while I think Zuck is devious (based on the history of FB), I think Sandburg is the brains of the worst of FB.
I don't see any certs on my browser - just an http:// site. Berkshire has always been a bit minimalist on tech and there isn't any private info or logins.
Reminds of a movie from Andrei Tarkovsky, Stalker. The guy may be the Stalker, leading people to the center of the Zone - the elephant foot in this case.
I do the same thing on weekends that I do every day, but as a solopreneur who is single without kids and works from home, I have that flexibility. I typically laze around most mornings, meditation, cooking, reading, writing, long hot shower, exercise etc. Then I spend between 3-6hrs on productive things (revenue generating or in pursuit of revenue generation). Sometimes that will go much longer, depending on how into it I am, but rarely ever below 3hrs.

As mostly all of my friends are only fully available on weekends, that's usually the only thing that is different is that these activities that are in person usually only take place then.

The weekend as a thing is a very modern invention. I've found that i'm much more relaxed day to day and no longer have to "look forward" to a weekend for a break. I take those breaks as I need them. It did/does take a lot of cultivated discipline to make this work though, if you hate your work that's going to be a problem for this lifestyle.
If that's someone's biggest complaint against the language, then I'd say the language must be pretty awesome ;-)

It's basically bikeshedding.
"But I look at the shed all day..." "But I'm used to looking at reddish colors..." "Red is more correct than green because <yadda yadda>..."
Let's all move on to more important things :-)
And yet there are countries with more government and much better outcomes along many axes, e.g. Denmark. So maybe there's a difference between a big government and corrupt one?
This is possible?!
> Oh, some of my colleagues at <super-wealthy-top-bay-area-tech-firm> had this idea for an automatic washer-dryer combo: you put the washer on top, then when it's done the clothes drop into the dryer on the bottom. They had a hard time believing that single-unit washer-dryer units have existed for quite some time.

Is this for real? I find it quite funny that they conceived it to require clothes to 'drop' from one section to the next.

I'm not sure why you're being downvoted. I travelled to Denver for business recently and felt similar things. Outdated fire sprinklers in my hotel (a good one at that) where very strange.

That and the absolutley shocking number of homeless people.
I've used this approach for risky projects. The interesting questions to ask are:

* What could go wrong? What could go well?

* How would we know?

* What would we do about it?

Throw these questions in a table in a shared doc and send around to collect people's insights. It can reveal that people's priors are very different from one another. It gives a chance to stakeholders to see that there's a contingency plan to detect and mitigate every one of their nightmare scenarios.

I don't like calling it premortem because I feel that's an inauspicious thing to say and puts people in the mood to assume failure instead of seeing the potential for success. I guess I'd just call this "scenario planning".
Hookworm in Alabama and the Panhandle: https://www.bcm.edu/news/school-of-tropical-medicine/hookwor...

Enough said.
Always wanted to move to the US, but having:

Crohn's disease

MEN-1 [0]

and medications for them, and bi-yearly MRIs and CTs as well as expected surguries to remove tumours now and then

I have just dismissed the possibility of ever moving there.

Here in Sweden I pay less per earned dollar in taxes towards healthcare, and my total healthcare costs (all inclusive) are <$270/year (~half for maxing out pharmacy costs, other half for maxing out medical treatments/doctor's visits etc).

How much would insurance cost me per month in the US to make me covered so that I never had to worry about not being able to afford medications or a surgury?

[0] https://en.wikipedia.org/wiki/Multiple_endocrine_neoplasia_t...
More Severe Flu Strain Starts to Spread Widely
I think Computer Science needs to come coupled with exposure to a philosophical ethics sub-curriculum. I run into too many intelligent people who haven't ever spared a thought toward how to recognize "what is right? What is wrong?"

Philosophy may not equip you with a concrete answer, but it definitely equips you with the machinery to look at something and recognize there's more to the question than some manager saying it's legit.