skysight-inc/HackerNews huggingface dataset:
We used to do this but found it was error prone since the down migrations would have bugs and wouldn’t always catch everything. We have dedicated SQL devs that write the migrations by hand and so moving to generated code is a slow and painful process. We now encourage developers working on the DB to thrash out their design in a local SQL Server Express instance before baking their changes into a migration script that will be automatically run into our dev env by octopus. If the scripts don’t run or the tests against the temporary DB fail during build then they never get to our shared dev DB.
And you also need to set up a bunch of things in your web server, add the cron jobs, run the update script and hope everything still works afterwards etc.
"if you are not a fan of big brother".....

"That would be corporate suicide"

Yes sometimes protecting personal privacy might be opposed to a corporations profits. The horror of it!
Range gated imagers have been around for at least 15 years. Here are some videos from a US manufacturer at various ranges.[1]

These things are good at seeing through fog, smoke, dust, and camouflage nets. The best ones are military and tend not to be talked about much.[2]

[1] http://www.obzerv.com/en/videos/

[2] http://www.sensorsinc.com/applications/military/laser-range-...
Iris Automation Is Hiring an Account Executive for B2B Flying Vehicle Software
Stoicism: Finding the courage to live a better life
Same here! I thought I was the only one with this strange habit.
> OP led with a trivial and trivially bike-sheddable opinion on a name(clash),

This discussion is on a library that advertises itself as offering "Go-style concurrency in C", and the OP presented a valid case about an aspect of the library that misses its whole design basis.

Quite obviously that's not bikeshedding, but valid criticism regarding the very basis of the whole project.
> Dogs today are essentially a human creation, through genetic selection and breeding, not so much domesticated as, for all intents and purposes, created. And cats, by and large, aren't.

Perhaps there are differences in the degree in which humans have sculpted modern cats and dogs, but I don't see much fundamental difference.
I read Brunner voraciously when younger. I find "shockwave rider" aged badly, it's like SciFi juvenilia. Along with his source book, Alvin Toffler's "future shock" it sat in the remainder pile of most secondhand bookshops.

Some of his other work is .. bizarre. A book about sentient plants on a planet beset by Massive meteorite threat stimulating speedy evolution.

I can't but think Brunner was depressed. His books make grim reading sometimes. Perhaps less depressed than David Lindsay but overall he thinks humans are weak, and unlikely to find politically stable paths out of trouble.
If they worked always exactly as designed all of 0.88g of sodium cyanide should end up in coyote's mouth. And if something ends up outside it should combine with moisture and turn into cyanide gas and float away.
If WSL2 allows access to the GPU, chances are good.
I find it interesting that people who blindly support social economics almost always immediately revert to some moral argument. Good to know it only took 2 posts for you to revert to "oh the hugh manity, you obviously like dead children"

The original question was about a country where raising taxes would improve the situation. Name me a country that solved child labour and improved the economy by raising taxes?

If you could accomplish that point without comparing me and my family members to the Nazi party, extra points.
I don't see much new tricks here: he moves Intel as a business into the safe harbour of "enterprise" products a specialty server hardware that nobody, but easily upsellable corporate clients will buy.
You have conveniently neglected to mention all the news outlets with obvious left wing leanings, such as the New York Times, Washington Post, CNN, MSNBC, The Atlantic, Vice, Vox, etc. The media landscape is actually pretty well balanced, which isn’t surprising, given that the population’s political orientation is also pretty well balanced.
There is a fourth called The Shockwave Rider
The trick is you have to pick one of "merge always and avoid rebase" or "rebase always and avoid merging". If you take a branch, merge master into it, do some more development and then rebase it onto master, you are asking for trouble. If you have a revert in there (and especially a revert on a merge commit), it's a world of hurt.

But either way works fine. It just gives you a different history. My team likes merging because they don't understand exactly what happens when rebasing. In that environment `git log --topo-order` is practically a necessity, though.
Andris@wildduck.opr

For the non-multilingual (like myself).
Why does every docker image build have to pull the packages? Are you force rebuilding and defeating docker's cache mechanism?
I don't like the gate keeping either but so called "entrepreneurs" would just go around washing people. The point is that you have enough money so no-one cares that the space mining company you invested in only hires website designers. Pumping penny stocks is illegal, but when it wasn't, salespeople were washing people.
"And, if the tech is, in fact old and outdated, and the tradeoff from replacing it is lower than the tradeoff of keeping it, we shouldn’t be jumping to replace it with the latest and greatest. While we should evaluate new tools evenhandedly, most times, Postgres works just fine."

Bravo! Buzzword fanboy club here on "Hacker" "News" please take notice: outside of this massively biased webshit / GNU/Linux / GPL / Rust / JavaScript echo chamber, "Hacker" "News" is the butt of jokes. Try to guess why.
Dell XPS with Fedora (work laptop). I don't think it's specific to the model because my colleagues don't all have the same model but most have the same problem.
I guess they mean “Secure by Design” but it doesn’t inspire confidence indeed..
It might've been a feature originally, however I changed my mind which is another thing we evolved for.
Similar to capacitive touch panels on appliances. You'd think this sci-fi look is more expensive to make, but it's actually cheaper. The "buttons" have no moving parts.
It looks native, it's fine. The problem I've found is high-dpi support is still a dogs dinner.
> Yeah, somehow child labor = children are dying. It is ridiculous.

I don't think that's the comparison. It's more child labor = forced labor. It's not centrally about preventing death, it's more about preventing slavery. Children are particularly vulnerable to coercion, and if children are working in a factory, it's likely that they are doing so against their will.
Well aging is a physical process, why shouldn't it be theoretically reversible?
> However, moderation is all this gains, because anyone who is preinstalling Firefox on a computer could still install a modified executable instead.

Well, apparently that is a line that vendors are not prepared to cross.

> There is also a known risk of the user's security or privacy being compromised by visiting malicious websites that exploit weaknesses or vulnerabilities in Firefox.

When it comes to actual weaknesses or vulnerabilities, it seems clear to me that Mozilla should not rely on add-ons for patching those. But yes, blocker extensions still provide value; luckily, they are also still allowed.

> as I and others have explained, there are tried and tested ways they could do so that are no more vulnerable than the current approach yet would not suddenly remove all protection offered by addons against the latter threat without warning in the middle of a browsing session. The current heavy-handed approach is like building a secure home by making a concrete bunker with no doors and windows: the efforts to secure the addon system ultimately rendered the entire system useless.

You've said this before, so to prevent getting into a loop, I won't repeat my response :)

> Worse than that, though, the current strategy violates the basic principles that attract some users to Firefox in the first place, specifically its extensibility through addons and its relative respect for users' privacy and control of their own systems.

This I understand, and I wish it wasn't necessary too. I do think Mozilla has not shown little understanding - they've repeatedly explained how they are caught between a rock and hard place, and reached a different conclusion than you did, after weighing the pros and cons. That does not mean a lack of understanding of the cons, but merely that they did not outweigh the cons of the alternatives in their view.

This might simply be the result of different valuations of the pros and cons between you and Mozilla; given the amount of data and insight Mozilla has on the use of Firefox, I would also suggest to be open to the idea that there might be a lack of understanding on our side about the scale of the problem of malicious extensions.
Tutorial: Route transitions in React are easy
I hear those concerns, but I think there are clear ways to use decentralization to provide real benefit without running afoul of the issues you describe. For example, you can simply cache the packages you/your team are interested in locally, or on a shared local server for your entire office to use - which gives you fast p2p transfers, offline resiliency, and avoids serving any evil BLOBs or running into giant perf issues by trying to mirror and serve the entire registry. That's the way npm-on-ipfs (https://github.com/ipfs-shipyard/npm-on-ipfs) works - more details in this WIP blog entry https://github.com/ipfs/blog/pull/215/files?short_path=90aba... ;)
Yes, but instead of having two pwn 5 now they just have to pwn 1.
Something like Darcs is probably going to be the next generation. The nice thing about Darcs is that it records patches in an order independent fashion. This means that you can reorder your commits without penalty. This allows you to remove pretty much all problems requiring ninja-like skills to fix in Git. Darcs, has performance problems on merges, though (as a result of its approach). However, I remember a while ago about someone saying they found a solution to the problem. I think they meant to write a new system, but I can't for the life of me remember what it was called.

Anyway, once you get rid of the actual complexity in git, it's an easy step to work on the added complexity to the UI.
Actually I think it was, that was the lowest common denominator.
Correct me if I'm wrong, but that sounds like sunk cost fallacy.
> how much does that actually affect your operation?

If it's a business service then the operation is not the end goal but the means to the end.

If it's a business service then the question you should be asking is "should I care that my competitors are able to observe and monitor my service metrics?".

Quite often, businesses do care a lot.
Do you have the link to back up the statement about running in browsers? Notch is super talented. MC was released in 2009. No way, he didn't know about browsers and Java
The title of the story is “U.S. regulators approve new Silicon Valley stock exchange”

Despite the actual name of the exchange, the title of the article seems much closer to how the exchange is described:

> The LTSE is a bid to build a stock exchange in the country’s tech capital that appeals to hot startups, particularly those that are money-losing and want the luxury of focusing on long-term innovation even while trading in the glare of the public markets.

From the HN guidelines:

> Otherwise please use the original title, unless it is misleading or linkbait; don't editorialize.
Why Is It Lovely?
See also Slack C&D-ing an extension doing UX fixes in the browser:

https://news.ycombinator.com/item?id=17869249

I really dislike SaaS vendors who are being control freaks. My browser, my rules. That was always the fundamental design of the Web.
Damn....

I wish I'd seen this literally yesterday.
> As for inbound spam, I can use RBL's but the most effective thing has been to block email servers that have rDNS that is either mismatched or nonexistent.

This is also a recipe for never receiving mail from the SMB you do business with. (The same is true for enforcing SPF hard fails, unfortunately.)

If you really want to be smart about this, use an SMTP soft error (greylisting) or an SMTP greeting pause. This effectively singles out spam bots, while leaving your regular mail traffic unaffected.
When Did it Became Impossible to Say, ‘I Don’t Know’?
This will be very neat just as GitHub user experience is so far. Centralization is a questionable, but it looks like that the community values much more the convenience than decentralization and privacy. In any case, it is excellent to have multiple choices beside other registries. I hope that other services like https://newreleases.io will catch up and support this registry as well. But, maybe this would even make them obsolete and everything a bit more centralized.
Yeah, self-hosting a Python package index is so easy that (free) hosting solutions don’t really offer much, which is probably why you don’t see many of those. Paid services do exist (the most recent is PyDist), but you’re really paying more for hosting than the index.

p.s. I believe pip has recently fixed the hyphen problem you mentioned. Sorry for the inconvenience! Please do report any issues if they still exist.
The terrible programming paradigms are workarounds for the terrible language.

I read an old blog post about Spring's @Required annotation versus plain constructor injection and typed out a small example to get a feel for it – a simple class with one required and one optional dependency – which resulted in

23 lines of plain Java with constructor injection, or

16 lines of Java with Spring @Autowired magic, or

7 lines of Kotlin – no magic needed.
Renewable energy growth stalled in 2018
If you haven't read The Shockwave Rider, do yourself a favor and read it ASAP.

One fascinating aspect of it, aside from the whole "computer hacker hero before there were any" bit, is that it was largely based on a non-fiction work - Alvin Toffler's Future Shock. Brunner was apparently so interested in what Toffler had to say, he chose to portray his ideas in novel form.

And Future Shock is another book which I can't recommend highly enough. Toffler might not have been right about everything, but I think he really hit on something with the basic concept of "future shock" as a state where you constantly feel out of sorts and disjointed due to how rapidly the world is changing. And given that he wrote that book in the late 60's, early 70's, imagine how much more profound that effect is now (just due to technological advances if nothing else).

I'm not sure either Toffler or Brunner had, or claimed to have, any answers for how to deal with the "future shock" phenomenon, but I think it behooves all of us to think about the idea and ways to deal with it.

Plus, The Shockwave Rider is just plain entertaining. And depending on who you ask, it's either the first cyberpunk novel, or an example of "proto-cyberpunk", and probably influenced any number of subsequent works that are widely beloved in this community.
The breeding of the modern dog into all of it's varied forms was something made possible by domestication, not a factor of domestication.
And at least I can enjoy Julia as pure Windows programming language.
This does the same thing as deadmanswitch.net

BTW there is one feature that I requested from dms and they told me no. So here is your chance to differentiate your product.

Instead of every x weeks of time, I'd like it if the are-you-alive check would trigger on news events. For example a major industrial accident / terrorist attack / war breaks out in the general region of the world I happen to be in.
His child labor link was in response to "country who’s people are dying on the streets", but it of course failed to mention how lack of taxation is the cause.

In fact, the article says:

> Other schemes included 'earn-and-learn' programs where children would work and thereby learn. Britain for example passed a law, the so-called Masters and Servants Act of 1899, followed by Tax and Pass Law, to encourage child labour in colonies particularly in Africa. These laws offered the native people the legal ownership to some of the native land in exchange for making labour of wife and children available to colonial government's needs such as in farms and as picannins.

> Beyond laws, new taxes were imposed on colonies. One of these taxes was the Head Tax in the British and French colonial empires. The tax was imposed on everyone older than 8 years, in some colonies. To pay these taxes and cover living expenses, children in colonial households had to work.

Seems like it actually did the opposite of what he claimed?
I also would suggest looking into Matomo (https://matomo.org/) if your want an open source analytic service to replace Google Analytics.
Dart: Productive, Fast, Multi-Platform – Pick 3 [video]
Seems like it would require constant upkeep in multiple countries?
Yes, I've also been using awstats for many years. It definitely works for a small site, has a lot of useful features and occasional releases still keep up with new user agents, etc. that pop up over time. Each time I want to switch I fail to find a suitable replacement.

That said, behind the curtain, awstats has plenty of problems and shows its age. Most of it is a single ~20 kline script with hundreds of global variables, so it's very challenging to debug. There are no tests. Over time it also had plenty of security issues [1]. I wouldn't recommend running it in any other mode than for generating static HTML reports from an unprivileged cronjob.

I've made my own test suite and I'm using a slightly patched version with ~20 commits on top of the latest release that fix problems I found and that upstream didn't merge (still from the times of SourceForge - since they switched to GitHub they do seem to be a bit better in accepting pull requests). However it doesn't help with submitting patches that, for example, concerns regarding GDPR compliance are met with responses like [2].

[1] https://security-tracker.debian.org/tracker/source-package/a...

[2] https://github.com/eldy/awstats/issues/110
> Also I don't know if this is a thing in design methodologies : I prefer if designers avoid having basic functionalities as a result of a sequence of steps, rather, I like to have them as separate top-level buttons

It is if you care about ergonomics - the rule is, the more frequent an action, the less key/mouse/fingerpresses it should take to invoke.

It is not if you only care to make it look pretty, good for the demo or to encite first-time users to subscribe to your SaaS.
Deceiving clickbait for interesting technology. This is nothing like 'photography':

> Developed in China, the lidar-based system can cut through city smog to resolve human-sized features at vast distances.

> the new technique produces images with a spatial resolution of about 60 cm, which resolves building windows

And it is not bending beyond the horizon but simply mounted on high location.
Spotify is not electron
https://erikbern.com/

I really admire what he's done in his career and like his approach of taking a basic maths/stats perspective on real-world industry topics.
Frequently Used Linux Commands – A Real World Statistics from 10M Commands
Maybe the women's edition of the t-shirt should have a dead woman on it...?
Just compare how well organized and neet are the packages in Maven Cetral to mess in JCenter. JCenter is full of inconsistent trash. I can imagine people pushing packages there for testing and then just forget about them.

Not everyone and not all of them, of course. But while I was looking around to figure out which repository to choose as my main, JCenter has put me off. I still can't understand how people can easily trade convenience for quality.
You could run gcc quite nicely on the little rockchip boards in a lot of smart TVs (people do repurpose them quite a bit) but I bet you'd melt the TV if you tried to compile gcc on there!
Setting it up without their knowledge maybe, being able to update the contents whenever you want. I am guessing.
>"worse of all, the order in which you wrote your clauses in the program makes a difference to how it gets executed and, indeed, whether any part of the program is reachable"

That's because the algorithm that prolog uses to do unification uses committed choice - if the logic could be run using efficiently grounded answer sets then the behaviour could be made consistent and that would make the semantics a whole lot clearer. Especially if ! was done away with as well.
Talk to your customers, ask for advice. They may come up with referrals. They may get you in touch with similar companies. That's how we do for https://www.testinvite.com

When we have a new customer, we try our best to expand over.

We ask for back links if it is a small business.

If it is a medium size company, we ask who they can introduce us in similar companies. Even though these are their competitors, they don't bother introducing us or giving the right contacts.

IF it is an international company, we ask if they can introduce us in offices in other countries.

PS. That works for us because our product is a software as a service.

Hope that helps
Prolog isn't really about pure logic constructs.

Prolog is really a database query language. Similar to SQL or GraphQL. Prolog failed because it never got integrated into a serious enterprise data storage engine. (Most Prolog implementations are just text files and in-memory hash tables.)
You know, I think the crashing demo is more compeling game design wise. I watch it and have an itch to pull up a bit the nose and give a bit more throttle. That itch is the demo pulling me in, causing me to want to play. The perfect landing is meh, clearly the computer can do it, why would I bother picking up the controls? Interesting that the developers disagreed enough to roll a new chip, at what I guess was a considerable expense.
I'm a fan of liquibase. It's a very mature tool which allows you to run it every time the application starts, useful for development to create in-memory dbs. Or you can just call it as part of the build process if you don't want to check the DB changelog tables on startup.

It tracks changes that have been applied in changelog tables so you don't apply them multiple times.

Common operations such as adding a column are defined in a supported markup language but for more complicated things, such as migrating data, you can reference ad-hoc SQL files. All of which can be checked-in to your codebase.

The only real downside is because you are applying the entire development history of the database, you can sometimes be caught doing illogical things like adding and then removing something later on. This can be mitigated by rewriting history if needed though.

Flyway was not as good for me because it lacked a domain language, raw SQL makes it less easy to interpret but I know developers who preferred that.
> Good to know it only took 2 posts for you to revert to "oh the hugh manity, you obviously like dead children"

That was not me. :P
What Mike Monteiro Taught Me About Feedback
You’re mixing things up. A corporation is not opposed to corporate profits, and in this case they make profits by safely, securely, and privately storing your data as requested.

Not doing so would be a major hit to their business. Whether you trust their reputation and compliance certifications is up to you, but a completely different issue.
Even with @author, my github username is someone else on npmjs. So installing “@me/module” will either get my module or the other guys depending on sources it would seem.
Yeah... Using ADHD is just an excuse for laziness at this point...
How to choose a open source project that generate forms from JSON schema
I swear I can't understand why people use Twitter like this.

I can understand someone young and non-technical bring lazy and writing whatever it comes to mind on a series of Tweets, but someone with this level of technical knowledge not being able to understand how unintuitive it is to write a blog post on a series of 140 characters...?

Mind boggling.