skysight-inc/HackerNews huggingface dataset:
I really just want a deterministic (or sync-based) migration tool. The only two I'm aware of are Innovartis DBGhost and RedGate SQL Compare (though RedGate requires a license everywhere it runs, whereas DBGhost only requires a license to compile the package).

This stems from my work years ago with databases in on-premise products. Customers would modify the database schema, causing migration "up" scripts to fail, and it would be very difficult (and manually intensive) to baseline everything again and get the database back to a working state. Even though modifying the schema was clearly laid out as "not supported", it would still be something we'd have to fix, because ultimately they (and their account reps, etc) still need the product to work.

We used DBGhost, and then had custom pre- and post-deployment scripts to do certain types of changes, such as renaming a column (`if exists old_column { add new column; copy old to new; drop old_column; }`), or adding expensive indexes. One of the best parts is all it stores in source control is all the CREATE scripts for database objects (and the custom pre/post deployment scripts). Pull requests would let you trivially see a new column or index being added.

Compared to the pain of creating and maintaining up/down scripts and the long-term problem where deploying a new instance takes thousands of migration steps (or risking the inital CREATE scripts not matching what happens after all migrations), doing a schema sync was significantly simpler in nearly every respect.

I've been looking for something similar for Postgres and MySQL/MariaDB without any luck, and it really surprises me there's not more interest in doing migrations this way.
Faster and simpler builds setups. And you don't really lose it as your editor will report the type errors. Flow is used like this all the time.

Tried this on a project of mine. Enums seem to work fine for me.

EDIT: There are some issues with enums indeed https://github.com/babel/babel/tree/master/packages/babel-pl...
You have to buy a personal license yourself, your organization cannot pay for it. I just don't want to pay for work tools, my employer should do that and then it is the higher price.
Interesting, I'm on same stack Vue/TS had not seen seamless-immutable thanks!
Feedback welcome :)
Playing games for the first time as an adult is harder than you think
I don't think this will happen, because Typescript now has a very large user base, and Facebook will stick to Flow.

However, I don't think flow is going to survive React, because it's only used there and internally at Facebook, while Typescript is used successfully with React, Angular, and basically everywhere people need typechecking outside of React (Typescript has definition files for most libraries with significant users)
If you were to draw a Venn diagram of "Hollywood stars" and "Actors known for acting skills", you'll get a tiny cross-section.

The majority of "stars" are known for their big budget blockbusters. I'm not saying that playing Iron Man or Ethan Hunt is easy, but it's definitely not as hard as playing a difficult character actor role.
Obviously we do not know the exact workings of Apples FaceID, but there certainly is potential for making it very difficult to replicate. But infrared by itself does not reveal much. UV on the other hand, creates an entirely different picture, see this as an example between the two. The first picture, the right side is IR light, the second, the right is UV, and the one revealing hidden features of the face.

http://aplus.com/a/jon-simonassi-infrared-photography-freckl...
> but I guess there are plenty of people in this world who want to impose their world view onto others.

Not supporting the "no" voters at all here, but both sides are technically guilty of this.

I guess for example if you follow a religion that is opposed to same sex marriage I imagine it would feel as if same sex marriage advocates were trying to impose their world views on you and vice-versa.
I completely agree with this. I'm surprised reddit hasn't monetised the actual comment threads themselves and become a better disqus.
How would this be performance? Not checking a length, resulting in an overflow, should be a warning. Whatever it takes to make that happen needs to happen. This is beyond silly.
> Think of how that forms the development of a young child.

It depends.

Option 1:

"Hey buddy. So you want to be a youtube star. Which ones you like? The funny ones? The lifters? The fashion vloggers? It's actually a lot of work. You will need a script, a cameraman, a director, actors etc. And all said and done, for every youtube star, there are tens of thousands who just toil in obscurity. But that's a risk which comes with a lot of life's decisions and you can decide later on if you really want to do it or if you want to do it part time.

Back to the production process. It's not very different from what we do in our school's theater except that there is a massive potential increase in your reach. Why don't you try coming up with a concept and I can walk you through the iterations it takes for the final product. We can even try to schedule a screening for the class and put it on youtube."

Option 2:

"Youtube star? SMH. What has become of today's generation?"
Sorry, I read your first response as the screen being dimmer, not the wallpaper. I was complaining that you wouldn't be able to read notifications if the screen was dimmed but that wasn't what you said. My bad!
What's the relation between the "scientific industry" and science? I tend to say it's orthogonal.

To arrive at the simplest truth, as Newton knew and practiced, requires years of contemplation. Not activity. Not reasoning. Not calculating. Not busy behaviour of any kind. Not reading. Not talking. Not making an effort. Not thinking. Simply bearing in mind what it is one needs to know
Thanks for bringing that to my attention!

That sounds super exciting. I'm definitely going to have to give that a shot once it's ready.

Flow's excellent React Native support has also been a large part of why I've mostly been working in Flow-land these days, so I'm glad to hear TypeScript will soon become a first-class citizen in that ecosystem as well.

EDIT: As a follow up question, please correct me if I'm misunderstanding anything, but from what I've gathered so far, I suspect that the new babel-preset-typescript can't quite do _just_ type-stripping can it? Since some features in TypeScript have runtime implications, those would still have to be transformed as opposed to simply stripped, correct? So it looks like that fundamental difference between TypeScript and Flow remains in tact, but it's certainly still a huge leap in usability to be able to adopt the Babel toolchain as a first-class way of building TypeScript projects. Huge props to the Babel and TypeScript teams for making that possible!
Just curious, where do you get your data?
Fortunately that excuse is no longer valid as they have GPO templates, MSI packages, the lot: https://support.google.com/chrome/a/answer/7358568
Which one of those professions is a professional murderer?
DBeaver is really excellent for so many things.

I use it to organize my scripts which I need regularly. I can also put them on a network/shared drive so that others can access it.

I don't know if pgAdmin allows it, but in DBeaver, I can switch between Grid and Text view to copy paste data into email in a nicely tabulated format, besides of course, being able to export a result set out into CSV etc.

https://dbeaver.jkiss.org/

https://dbeaver.jkiss.org/
i'd oppose that. For one that's disingenious given the parent argument, that about scandinavian countries leading (by some measure) in school education and them using computers in class.

And on the other hand, what if the test subjects you mentioned just didn't learn to use the technology responsibly? I'd argue, teachers and professors need to be given computers, in a metaphorical sense, first.
unfortunately our current global network doesn't allow for proper delegation of trust, so your vision is more like a dystopia where a few single corporations and ultimate governments have ultimate power. homomorphic encryption is way too limited to allow these things. traditional encryption is only about encoding channels, its not about solving runtime and delegation problems. it seems more like its going to be the other way around. giant institutions will be replaced with DAC's which perform the desired functions of users/citizens. I'd be happy enough if iPhone would be an open system where I can run my desired OS of choice, with open hardware components and profits going not to already rich investors, who pay close to 0 tax using Irish/Dutch shell companies, but also more to employees and customers.
I am doing a version of this myself (minus the padded room), using buprenorphine under the supervision of an excellent case worker and doctor. It's taken 5 years, but I'm down to 1.6mg from 32mg at the start, and 24 works in the future I'll be off it entirely (and taking a month off to go down to my family's holiday home on the beach here in Australia, for the final withdrawal symptoms).

One weird thing: even with my much lower dose, the acute withdrawals every morning are mostly the same. A little less bad, sure, but still rather terrible. I just put up with it, because it's better to be productive and able to move forward with my life after 6 years of heroin addiction than go back to where I was.

Interestingly, opiate replacement therapy done with heroin itself has had quite good results. The downsides to buprenorphine and methadone is that the withdrawals are rather "drawn out" compared to heroin and morphine. The upside is that the fact they last so long in terms of binding is what makes them excellent at stopping a user from bouncing back and forward between the two (in theory anyway; a given users metabolism means this isn't always true. I could've easily used heroin any time during my treatment as I metabolise bupe and methadone extremely rapidly -- I just chose not to. It wasn't worth it.)
Samsung face login was hacked with a static image of of a face on paper. Sure they are first to a lot of stuff, but if it's not right it doesn't matter
> If our best and brightest young children become internet celebrities because it made good sense, then there won't be anyone to keep the gears grinding.

So do you also support not educating a vast majority of children because if everyone aspires to be a white collar worker, where will we get our janitors and garbage men from.
The goal of Flow was apparently to be able to add types to some parts of the code while leaving the rest of it unchanged, this to me was confusing, because at that time, you were already able to do that with TypeScript.

Over time the argument in favour of Flow became the following: it has a "sound" type system, which means it produces better results in some extreme cases where TypeScript fumbles. I didn't seem to ever hit those corner cases, I just enjoyed the fact that TypeScript had a more robust type system.

Next argument was: Flow is just a linter that strips out the type annotations. Most projects that use Flow use a transpiler, which renders the linter argument moot.

As of today, I don't know of anything that you can do with Flow and cannot do with TypeScript, the reverse is not true though.

Unless I'm missing something, it seems that Flow's existence is based on tribalism rather than rationality, the Angular team realised that if there is already a project out there that covers 99% of their needs, it might be better to just work with the project instead of reinventing the wheel, Facebook seems to have been ignorant of that. Facebook developers seem to have a tendency to just re-invent the wheel instead of collaborating, see Yarn, I'm not saying that they are wrong in doing so, there is a chance that they might be on the right, however I don't feel that is the case when it comes to TypeScript.
Well, no surprise - ever since Google turned fully evil, it has been working against mankind.

It's a wonderful opportunity to stop using Google-related products and feed more evilness into Google.
So... within a 1 mile radius, you have a 20% failure rate. Assume you're the average and that's still an incredible amount of failure. If you pair it with my statistic, that's an unbelievable failure rate.

On the other hand, I have at least 10 friends, family, and/or coworkers that all have an Apple Watch and exactly 0 of them have had an issue where it completely failed and they had to have it replaced. That doesn't count the 1 person that shattered the screen on theirs but was able to take it to Apple and get a replacement the same day.

I realize anecdotes don't constitute evidence of anything but even by your own statistics, the FitBit line doesn't exactly inspire confidence.

Edit: I can't say that I'm surprised that other responses here are echoing my sentiments about the FitBit devices. It might be confirmation bias, but I hear and read the same all the time.
> It appeals to women because fashion, and appeals to men who don't need to check social media/message/calendar on a daily basis.

How extraordinarily sexist.
> Google has every right, legally, to delete this stuff.

Please quit defending censorship.

Thank you.
Also: maintaining direct relationships with some of their most loyal and valuable customers is key for news sites. Relinquishing that relationship to Fb, Disqus, Reddit, et al. can add friction to their business -- their ability to generate revenue from and Talk with their readers and community.

https://digiday.com/media/times-london-finds-commenters-valu...
Yet if your fingers have any moisture on them it fails to work. Nothings perfect.
Network rendering is being worked on:
https://developer.blender.org/D2808
>Having said that, I'm only 30, so don't know if the local pattern of rising fear is part of a larger story of less fear (compared to cold war days, for example).

There has definitely been a spike in fear-culture post 9/11.
Got Talent
Your comment has been deemed as recommending fascism by an automated algorithm. /s (which is so complex even Google doesn't know how it works)

There isn't anything in this world that is not political. Everything is to a varying degree.
Anecdotally, the three people I know/knew who used ibogaine to get "clean" failed to various degrees. It truly seemed to help each of them to begin with, but after about 6 months each one of them relapsed -- probably due to the lack of counselling and dealing with the original reasons they started using to begin with, I'd wager. Two of them are dead from overdoses, the other I'm unsure, I haven't seen or heard from him in years now.
That's my point. Too many people immediately jump to stick this label just because they disagree.
Very true.

But it gets even worse when you look at lobbyists paid by corporations.

In the long run, Google will have to be split up into smaller pieces. You can't control this evil - and greedy -corporation otherwise anymore.
How to make an impressive e-learning website? – 7 Key factors to consider
What Are the iOS App Development Challenges Faced with the Latest Trends?
I agree. S Korea has currency controls in place. Perhaps that's why they h8 btc
Over 4,000 ElasticSearch Servers Found Hosting PoS Malware Files
Let me introduce: __slots__
Tips: VS has a full screen mode.
It also has a very configurable layout, much more so than VS Code or Atom.

But if you like VS Code then you should use it.
I'll admit that I had written off Apple in the last few years. Felt that they couldn't get their mojo back after Jobs' departure.

This felt very different. The iPhone X is the first iPhone I've seen in a while that I want.

Same for Apple Watch. I'd written it off but the eSim makes it a very alluring buy
> wondering why internet fame isn't fulfilling.

I feel internet fame is more fulfilling than being a nobody slaving in a 9-5 job. And there is also easy endorsement money which comes with the fame.
Who needs malice if one can have poor software design for free.
I am a bit over 40. From how I remember the cold war, most people didn't realise just how bad it was. I mean, risk of happening multiplied by impact.
I definitely parsed it as 'Machine Learning', only to be thrown off by the "1996".
Do you have a link so I can read about this?
Ask HN: What are some of the best blogs you follow?
I'm looking for more content to read in the various fields including tech, startups, life, philosophy etc.

Currently I follow Sam Altman's, Mark Manson's and Tim Urban's (waitbutwhy) among the few that I really like to read. Would be awesome if I can get my hands on more avenues of learning!

Thanks!
> You said it's hard to be pursue happiness without property rights.

You can parse my language however you want, but let's cut to the chase. There's a commune in America you can join, where you won't own anything, you share with every other member. The average length of time members stay is about a year and a half. Evidently, they didn't find happiness there.

https://en.wikipedia.org/wiki/East_Wind_Community

And just to be clear, libertarianism means you're free to form communes if you want. You just are not allowed to force people to join, nor are you allowed to prevent anyone from leaving. You can choose the property-right-less lifestyle if you like. Isn't freedom great?
Although i stick to bash tools as pg_ctl and co, one of my colleagues uses Postico [https://eggerapps.at/postico/] and it seems to do the job pretty well.
And yes they made such a mess with this UI.. looks like they tried to rebuild an Os inside themselves, with that painful windows management, notification popups etc.. crazy shit happens
Society prefers cheap and available solutions. It so happens that this one comes with draconian ToS everyone ignores. (And via bandwagon so does all the credible competition.)

The only way to deal with this is right regulation to make such terms illegal or forcibly breaking up such monopolies.

Or running a cheap or free equivalent service by a big carrier, but government whatever is being ignored as a solution and nobody else has the clout to challenge Alphabet.
There are already certain laws that prohibit certain content.

But this is not the issue in this case; neither are ISIS propaganda videos.

This here is corporate and state-controlled censorship that has no legal basis at all whatsoever aimed at controlling research. That is MUCH worse than propaganda by others.

> Where do you stand on copyrighted content, on illegal
> material (some of which may be legal in some countries
> but not others), distasteful or offensive material?

Again - how does your comment relate to censoring research or information that the US government arbitrarily considers "illegal"?

> If you want to share politically sensitive content,
> I think it's fair to say that YouTube isn't your friend.

Google runs Youtube. So, Google is not your friend. I agree with this.
>Except for that libinput bug which crippled my mouse for a year or so.

Try to install hackintosh, your silly debian bugs would look like a joke to you after that. Srsly, you are comparing OS, preinstalled on certified hardware, with debian, which works on ppc, x86, raspberry pi and so on.
With a safe, as with any encrypted document, there are a finite number of keys. I think that invalidates the idea of possession of the password being important, at least from a "purely lawful" point of view.

Read/write access is basically physical access. Anyone with enough resources could accomplish physical access.

It's possible I'm being paranoid, but it seems like most of law is based on series of assumptions. It isn't a purely logical idea, which is why we have so much fun arguing about it. It is fundamentally the hope of writing down logic in a language that doesn't, unambiguously, contain it.
More interesting was a link at the bottom of the page to comments by Jamie Dimon, that bitcoin is essentially the e-tulip...
Meanwhile the front door lock on my house built a couple of years ago only has 10,000 different keys. They probably sold more locks than that in the last few months.
Used to think like that. Bought a pair. Am 100% converted.

Wired earphones are cumbersome and don't really offer any significant audio advantages.

I have a pair of studio headphones for listening to music when I'm at home. But when I'm out in the gym or heading to work on the metro, wireless earphones are 200% more convenient.

Remembering to charge them is easy. I reach my office and plug the charger right next to my laptop charger. Impossible for forget it
While google should tread carefully here, I have to wonder why this stuff was hosted from a google account in the first place.

It is easier and cheaper than ever to set up your own web hosting and host this stuff outside of a walled garden where it won't violate a TOS. Google accounts are for storing personal files in the cloud, not publishing important documents to the public.
Here is another project that is quite simple and works pretty well: https://github.com/dolanor/scubed
Interesting point.

I suppose if I press myself hard enough I have to admit that I just don't like what they are doing, and think it's a net negative to our culture, by my own standards.

There's always been lowbrow culture and pop culture -- so there's nothing essentially new here. But it seems like its ubiquity and popularity have reached new heights. "Seems" being the operative word, one could argue. I think it's really really hard to disentangle surface generational changes from true long-term shifts in major cultural values. Old man syndrome is mistaking the former for the latter. But there's also the opposite syndrome -- which is to insist that the latter doesn't even exist.
Definite Optimism as Human Capital
A woman interviewed 100 convicted rapists in India. This is what she learned
I've had both generations of Apple Watch and Series 2, to me, is a big improvement over Series 1. Not sure about 0 since I had no reason to get one. I definitely don't think I could stop using it after a few months on the fitness tracking alone.

Being able to track my runs and listen to my music without needing my phone is awesome. The notifications are great once you filter out the noise and turn off the ones you don't care about but that may also inspire you to uninstall some apps. I also use the timers all the time for cooking and working out and the actual Workout app is great as a diary for me. I can look at the Health app and see everything I did and I use that in conjunction with MyFitnessPal. I also like the general motivation I get from the activity rings. They're so stupid and simple but there's no feeling quite like closing all 3 of those damn things out or getting the occasional ring to loop back around itself.

I dunno... I feel like it's definitely changed my life for the better and I really don't see much technology advances making similar changes. I mean, it's great and all to have a Retina display on my phone to see all the pictures on Instagram as clearly as possible but that's just not as big of a deal as having a device that actually motivates me. I've had Fitbit and heart monitors and even pouches and clips for the iPhone and none of them keep it dangling in front of me like the Apple Watch does.

But that's just, like, my opinion, man...
iPhones have Guided Access which can restrict all usage to a single app:

https://support.apple.com/en-us/HT202612
That doesn't disprove the point. Sure, the most famous actors might not be the best in the world at acting, but this is true of many fields. Is Bill Gates the most skilled programmer in the world?
WhatsApp co-founder Brian Acton is leaving to start a non-profit
In any ideal world yes. In real world fiefdoms exist.
Considering that scientists are reluctant to accept scientific evidence when it applies to them, I'd say no.

https://www.wired.com/story/why-men-dont-believe-the-data-on...
I wish that I could upvote this twice.
Please excuse 123456 for crashing the party late.
Hashids are reversible mappings to/from integers. Nano IDs are random strings.