skysight-inc/HackerNews huggingface dataset:
If you're trying to memorize that list of commands without understanding what is happening under the hood you have a snowflakes chance in hell. If on the other hand you've read (and understood!) the git reset manpage it's hardly magic.

Git reset changes the ref HEAD is pointing at. So in this case HEAD is pointing to the branch you've accidentally committed to. Running `git reset HEAD- --soft` simply moves the branch to point to one commit previous. The soft flag tells git reset to not touch any actual files while doing this, so your changes stay untouched. This is really the most complex part. After this all that's happening is re-committing the same changes to the correct branch. The git stash is even optional if the changes don't conflict with any changes done by the checkout.

You're right, memorizing a list of commands like that is a fools errand. What's not a fools errand is understanding the underlying data structure of git and how various commands act on it. Which is all documented in the official docs by the way, using a writing style that's rather readable in my opinion. Switching to a GUI wholesale is throwing out the baby with the bathwater. Using a GUI tool still requires knowing how git works to be effective.

Of course you might still argue that it's too much typing, which is probably true. Good thing git aliases got invented so even though I can recall the entire command list you mentioned from memory I'd still in practice simply run "git uncommit" since I've had that alias defined for about forever now.

This comment isn't aimed at anyone in particular and especially not at the parent comment. The parent comment just hit my grumpy button I think ;-)
So you are saying astrology is ‘phony’?

Learning Vedic astrology is my 2020 goal. I find it compelling enough to try to understand what is about...it’s something I have been looking into for 5-7 years and I am no longer skeptical about it.

Can you change my mind?
(Despite the awkward wording, it’s a sincere query)
Preparing my notebook firewall for a hacking conference
Your take on what I'm saying and thinking is way off base.
Why do you need to "ditch redux"? Redux is excellent. People aren't "overusing" it as we did previously, but it is still a very good way to manage data and state, and sagas etc are a great way to approach building clients for traditional APIs.

There isn't really anything in pure hooks that can really replace it, performance wise.

If you for some reason really dislike it, mobx-state-tree is probably the best contender to replace it.
> at will

Is it that easy to switch departments/focus? I thought internal transfers, while easier than interviews, were not trivial.
RR are only alive because they're strategically important enough to warrant being bailed out several times. They were nationalised in the 70s, and looks like they're in trouble again: https://bdaily.co.uk/articles/2018/06/14/government-has-to-i...

ARM are one of the few fully homegrown tech success stories, along with Racal/Vodafone. Unfortunately the UK has a history of "technologically successful but economically unviable" projects, and isn't able to take advantage of the startup logic where investors cover the losses.
https://www.youtube.com/watch?v=X_2EwdT--bc
Windows doesn't have a monolithic kernel like *nix so it's not an apples to apples comparison iirc
Re-analysing the data, it's conceivable that they genuinely found a link, and that the papers' original authors were fudging the stats. But I don't know how to find out whether this is true.
This is sort of off-topic, but I've been getting strange ads about glyphosate not causing cancer disguised as news articles from Twitter and Reddit, presumably sponsored by Monsanto. (I don't have a strong stance of glyphosate at all).

Searching around, looks like other people have encountered this as well: https://www.reddit.com/r/OutOfTheLoop/comments/8giwc1/why_ar...
https://securelist.com/chrome-0-day-exploit-cve-2019-13720-u...

First link in the article. It's a codename Kaspersky is using for this attack campaign.
And I might add:

They are useful for granular tracking (e.g. If you send a link to a resume and you want to make they have read it).

if you have a long URL you want to turn into a QR-Code, using a URL shortener will decrease the complexity of the Code (=improve the readabilty), while allowing you to track how many people scanned it and on top of that you can change which site it is pointing to without redirects or reprints.
This article provides no data to support their claims apart a few opinions thus it should be taken with a HUGE grain of salt.
A blog post I read on why hard-tech startups are counter-intuitively easier (especially, in terms of attracting talent): https://blog.samaltman.com/hard-tech-is-back
I see. Have you heard of Gandhi? Any idea what he did in South Africa?
There is this yellow dwarf G2V star I have developed an emotional affinity to. Could we white-list it so it won't disappear for a couple million years?
You've totally lost me, and it's not because I misunderstand FIDO. The private key you refer to must be kept secret or the credential is compromised. Yes, this is undoubtedly better than passwords, because the system automatically prevents credential re-use across services and is more resilient than a password hash, but it still requires secrecy. You're not providing an example of a system that functions without the need for secrecy, you're providing an example of a system that uses a very tightly controlled secret, known only to the party that needs it i.e. the FIDO key. Sounds a bit like the principles of need-to-know and compartmentation used by intelligence services...

Open source is useful, to be sure, but so are informants / agents, and the safety of those sources and their continued usefulness is completely dependent upon secrecy. If that's too Hollywood then consider undercover law enforcement.
I’m guessing some internal activists changed it because they predetermined it was going to be a bad anti-round up report and didn’t want to muddy the conclusion with evidence contradicting it. Politics seemingly trumped science at the org, that’s a really bad look for WHO and their response is total insufficient to explain these anomalies considering the massive implications it’s having in court rooms and industry:

> IARC did not respond to questions about the alterations. It said the draft was “confidential” and “deliberative in nature.” After Reuters asked about the changes, the agency posted a statement on its website advising the scientists who participate in its working groups “not to feel pressured to discuss their deliberations” outside the confines of IARC.

I would like to know which scientists are involved here and putting their name on such work.

If glyposphate is actually bad this will only help Monsanto in denials and help them discredit their adversaries. Which means these manipulations is the report will completely backfire for the activists instead of helping the cause.

Edit: I see this is from 2017, I wonder what has happened since.
i really like that spinning crystal; its a small thing really, but i find it very endearing
Another niche sport recommendation: unicycling! Good for core, a unique skill, insanely fun. Learning is a test of perseverance. If you're physically talented, advanced skills will keep you engaged. If you're merely able-bodied, you can still learn to ride. A surprising number of people take it up in their 50s and 60s.
1 million is 40.000 dollars per year indefinitely, by the 4% rule, with a small risk of ruin that you'll most likely see coming years in advance.

It should be possible to live in the Bay Area on that, given that the place still has cashiers, cleaning personnel and maintenance workers. It won't be a middle-class lifestyle, but you'd have to make _some_ sacrifices in order to indefinitely work at whatever you want in the most expensive place in the world.
How the Superforecasters Do It
Bitcoin Protects People Better Than the U.S. Dollar Ever Did
If its too expensive to dredge. Then someone will produce concrete that doesn't use alluvial sand. They're just pricing it right.
I assume they’re saying there’s a certain bar for FAANG SWEs. That doesn’t also imply all (or even the average) SWEs outside of FAANG are below it.
I'm not too sure I buy your use of the word "obviously" here.

My normal spider-sense of "follow the money" seems to find no obvious path. Internal activists is a fairly novel concept - at least activists with the power to make changes like this. I'd like to know who benefits and why...
Hey. I agree with smoking zones and so on. But why the trend towards bans? I want to die young.
Prototyping with JShell
I think you should beckon Indian journalistic talent
IntelliJ IDEA has that feature (local history)
There's a fork of Odoo called Flectra [0]. Feature wise they are almost identical, but there's a difference in paid vs. unpaid versions. Flectra gives all the features for free and you pay the support if you need it.

[0]: https://flectrahq.com/
I've always thought that the shitty startup practices when it comes to equity is due to insufficient competition for talent. Looks like this is about to change, since startups now obviously struggle to get the best people.

Not showing the relevant details of the cap table is ridiculous, companies that do this are banking on a pool of candidates that are either morons or don't care what they're paid.

Imagine the following situation: You're in a foreign market, and a vendor tries to sell you a fancy-looking machine. You know he's legally bound not to lie, so you ask what the machine is worth. He says "it's worth 2 billion Magic Moneys!!" but refuses to give you any information that would help you suss out whether that's 20 cents or 20 million dollars.
Been using this for a while on a media center RPI3.

https://github.com/dtcooper/raspotify
>If everyone contribute back everything then the distinction between BSD and GPL would be indistinguishable.

The difference here is Netflix can choose which part to contribute back. In most cases the CDN work is not their core competitive advantage, their Quality Content are. Which means Netflix can contribute back everything they have done.
Yes, it does repeat suggestions as of now, will fix it soon. Thanks for checking it out!
Awesome Alternative to Font Awesome
If companies want to hold engineers resposible to that extend, they would also need to give them a way out. Meaning that if a developer, regardless of deadlines, do not believe that his code is production ready, then you either delay launch or the responsibility now shifts to the manager who choose to ignore the developers concern.

As developers and engineers we’re responsible for letting management know if a project is not on track. What they choose to do with that information is their problem.
I’m sure there are plenty of environmental people who want to get rid of glyphosate and other massively popular chemicals used in industrial farming. But you’re right it could be some competitor or monetary influence - besides maybe the incentives within WHO and IARC themselves getting a whole lot of attention and influence from presenting a very damaging report instead of a mixed one.

Maybe it allowed some of them to become “expert witnesses” at major multi million dollar trials and compensated well by the law firms, who knows.

Or it could be as insignificant as some people trying to make their job seemingly important and justified sort of thing. An inconclusive report doesn’t get headlines.

Either way the organization owes the world a better explanation.
lol... I like droppal :P
What Is the Difference Between Microsoft Dynamics Ax and Microsoft Dynamics 365?
TinyMce Bootstrap Plugin for Bootstrap 4 Demo
Tech Disruption Is a Myth
They're scared it might succeed.
Bear in mind that the ultimate root cause of this mess wasn't "capitalist overdrive" but an ill-thought-out intervention by the EU forcing Lloyds TSB to split up because they thought there wasn't enough competition in British banking, without properly considering the practical implications of their systems having become completely integrated over the two decades that they were one company. To put this in some context, the article meantions problems with internet banking - that didn't exist yet when the two were last independent companies. The first, very broken, version of SSL had only been released a few months before their merger.
Why is it, when reading this article, all I can picture is that meme of the SS officer saying "Wait a minute... Are WE the baddies?".

I am starting to interpret a lot of things I took for granted in my younger years with a different viewpoint, and I am increasingly horrified when I do, as the perceptions I've always had that most Western countries are the benevolent benefactors is tainted by stories such as this, which shows a brutal, callous disregard for other sovereign nations.
I don't know, I've got two panes here opened next to each other (tiled/xmonad) with xterm and alacritty, and I've been typing in those for the last 5min, and I really can't tell the difference (my monitor has 5ms latency).
First official release maybe. But folks have been using Crystal since before that. This is the Github issue in question; https://github.com/crystal-lang/crystal/issues/26
Of course you should be polite in an interview - but for a desirable employee it's not only the company judging the employee, it's the employee judging the company.

And if the employee sees a sample of the company's work and it's awful, they're liable to judge they're unlikely to learn much from working there.
"Homo erectus, one of modern humans’ direct ancestors, was a wandering bunch. [...] But about 400,000 years ago, Homo erectus essentially vanished."

So are they our direct ancestors, or have they vanished? Both can't be true.
While you're right for things like this, I meant that more broadly.

I suspect that it applies to build systems, languages, product development, etc.
Many of the studies were likely funded by Monsanto, so it's predictable that they would be biased. So doing independent analysis would be wise. But then, it's also possible that some of the WHO staff or consultants were biased.

Someone would need to look at the original studies and work done for the WHO report. That'd be a lot of work. And it'd be hard to find anyone that both sides would trust.
>A substantial volume of web browsers, including the largest two (Chrome, Safari), are proprietary software

I guess you are the 0.0001% of the internet who consider Chrome and Safari to be proprietary software, when it has an Open Source version freely available.
I've firsthand noticed an increasing number of programmers from India move to countries other than the USA in the last few years mainly due to the increase in perceived difficulty of obtaining an H1B (I say perceived, because I'm not sure if it is actually harder for a well deserved non outsourcing based candidate to receive an H1B).
Is 2-left hashing what you're taking about: https://xlinux.nist.gov/dads/HTML/twoLeftHashing.html

If not, Michael Mitzenmacher is known to research a lot on hashing algorithms, may be you would find it was one of his papers? https://dblp.uni-trier.de/pers/hd/m/Mitzenmacher:Michael

Also see: https://danluu.com/2choices-eviction/
At least in Poland an employee can only be held liable up to an amount of 3 monthly salaries.
The idea is that this would apply to executive positions. Right now, CFOs are required to sign off quarterly on the company's financial statements. If those financial statements are later found to be misleading or fraudulent, the CFO is personally responsible, and can face fines or jail times. What the article is proposing is that IT be held to a similar standard. A CIO should be held personally liable if an IT failure causes an outage that materially affects the finances of the firm or causes customers to lose money.
This astounds me. Trained as an EE in the early 80s. Can't imagine teaching digital design without mentioning decoupling.
It’s not a paper of original research but a meta analysis of various other scientist’s research which they selectively edited out the papers and science that didn’t support the agenda they had pre-determined. This was the description of the report that was originally given:

>> A Working Group of 17 experts from 11 countries met at the International Agency for Research on Cancer (IARC) on 3-10 March 2015 to review the available published scientific evidence and evaluate the carcinogenicity of five organophosphate insecticides and herbicides: diazinon, glyphosate, malathion, parathion, and tetrachlorvinphos.

https://www.iarc.fr/featured-news/media-centre-iarc-news-gly...

The article said they added their own statistical analysis that wasn’t supported by the data they originally included:

> In one instance, a fresh statistical analysis was inserted - effectively reversing the original finding of a study being reviewed by IARC.
I second this one. Having one-maybe-two new random links at the bottom, marked with a different color (maybe brown or golden, given the associations? ;)) would probably solve this.
I don't know if Singapore counts - it's a fascist dictatorship.
Recall that as they say, "history is written by the victors." The victors tend to whitewash what they do.
> The HTML->CSS->JS->Webasm line of development really is crap on top of crap.

I completely get the hate for modern web, but in this case I think it's unrelated. The whole Kubernetes/microservice world exists basically to serve JSON and similar protocols. Maybe rarely some static HTML.

For HTML->CSS->JS->Webasm stuff it is more fashionable to compile at build time and service as static assets. That's the polar opposite of Kubernetes/microservices.
Anatomy of Bitcoin's Raw Transactions
Vanished in the sense of "we didn't find anything from them after that period (yet)".

And as they lately discovered with home sapiens: it is very unlikely they went extinct but just 'merged'.
Chin by Mesotherapy Deoxycholic Acid Injections in Delhi
> just like there are evangelists for Lisp ... or Perl 6

Please note that Perl 6 has been renamed to Raku (https://raku.org using the #rakulang tag on social media).

</evangelism>
Pardon the obligatory throwing in of Rust, but it sounds like you were okay switching languages anyway - have you considered Rust as an option? It doesn't have GC and has a very healthy ecosystem (recently with async primitives officially supported by the syntax). It also has the pattern matching you seem to mean. Perhaps it would help you solve your optimization needs? Otherwise, I'd love to hear why it's not a good use case for it since I'm still exploring the language myself.
The extent to which their political and economic system is influenced by fascism may be up for debate, but given that they've not conducted any genocide or imperialism, the charge doesn't hold the gravity that you intend.
Yes make no mistake about it. It is difficult for people with h1bs in Facebook and google with high salaries and qualifications. Its deliberate effort. I am not saying its good or bad but the problem do exist.
Maybe https://hordes.io/
Don't forget Mopidy!

https://news.ycombinator.com/item?id=21867180
Can Facebook execs keep a straight face while making people believe they're acting in good faith?

> For users who rely on their phone number to power Facebook’s 2FA login, the company isn’t going to fix the issue by default for those affected. Instead, users will have to remove their existing phone number and re-add them, Reuters reports.

Nothing says "I'm sorry, I made a mistake" like continuing to exploit everyone who might not be paying attention.
DK / FD have been a mess since the failed merger. Having a competitive duopoly pushed their marketing budgets through the roof and CPA ran miles ahead of per-customer lifetime worth.

This $400 million really isn't much of a lifeline based in their historical burn rates.

As for SBTech, they're really not that interesting, just a platform vendor

As for the valuation, I mean that seems to have come about via rattling pig bones doused in goat blood.
A fund that can only just cover the claimed cash injection of the deal, DK had upto 60% wiped off after a $2billion valuation and a tech vendor to some medium size casinos.
It really depends on the use case. For mine, too much time spending on writing boilerplate specially when used with TypeScript. Even mobx-state-tree seems too much for me. I went with something way simpler called "easy-peasy" alongside React Context and I'm very happy with them so far.
I have experience of this and can confirm. Banking is not a sector for young smart people because it will wear you down. It's a constant battle of change approval boards, fighting their risk adverse fear of causing service distribution while at the same time expecting things to be delivered. Save these types of roles for when you are old and want a boring job.
Better Unicode support and async/parallel processing primitives that don't depend on a GIL, are the first things that come up.
This explanation/assertion is in sore need of citations.
A list of tech post-mortems
Social media bots often tweet fake health claims about cannabis: study
You might want to try using rebase for this use case too, Saves a couple checkout steps. Just make sure to specify the right commit range ;)
No, like a cooperative organisation of companies.
> Bitsquatting it very similar [to typosquatting], but it involves registering do- mains with an ASCII encoding one bit different from the target to capitalize on random bitflips during the resolution process.

Wow, kind of mind boggling that one can profitably (?) capitalize on random bit flips. More details here: http://dinaburg.org/bitsquatting.html
https://images-cdn.9gag.com/photo/aVY17A8_460s.jpg
farnamstreet blog
waitbutwhy blog
thecorrespondent.com
paul ford
maria popova

are some that come to mind
This is 100% the way to learn this, and a great answer to the original question. Should also emphasize though that for a migration of the scale discussed in this article doing a SQL backup + restore is almost certainly not the right approach.

At this kind of scale + uptime requirement, you'd want to do a migration like this gradually - hydrating the new system with data and keeping it up-to-date with changes for a period of weeks/months while doing testing + validation (and ideally also doing a gradual cutover, although that might not be realistic given banking infrastructure/application design).

Probably the relevant approaches to look into after reviewing basic backup/restore are things like log-shipping or change-data-capture, although choosing the right approach would be highly dependent on the underlying technology, architecture, and requirements...
I started my project (https://onefiftyone.run) using Mongo. It wasn't intentional, that was simply my stack.

We quite quickly outgrew it, and had to rip out that plumbing for Postgres. It wasn't fun, but in retrospect I realise I was using the new, cool, hip technologies instead of actually evaluating things on their merits.

Maybe this project fell into the same trap?
My Business Card Runs Linux
You don’t win the war by being good. But if you win the war you get to write the history.
It is really easy to get a blue card. You just need a contract (higher than €42K) and diploma (which is relevant to your job). That's all. Not only from India, I think EU beckons tech talent from all Level 3 countries.
Individuals do get the stick, and it does make me uncomfortable. For example, here's an Etsy engineer on how a bunch of people were fired for fudging the scale-out: https://mobile.twitter.com/mcfunley/status/11947137113378529...

Discussion: https://news.ycombinator.com/item?id=21849977 (but not many folks discussing the layoffs).