skysight-inc/HackerNews huggingface dataset:
Ah. So if China were to capture entire families of elephants, you'd be ok with it?

I'm just trying to determine where the line is.

I went to a zoo a couple months ago. The elephants' tusks were cut, presumably so that the elephants wouldn't be able to impale each other. That was a bit too sad for me to want to go back to zoos anymore.
If AAPL thinks QCOM doesn't add proportional value to their phone, let them sell their phone without QCOM ip.

Because we all know AAPL takes its proportional percentage of flesh from an app developer for having the audacity to add value to iOS, whilst simultaneously holding back the web.

Hypocrisy all around.
Yes, they are. The countries that have a shoot on sight policy for poachers tend to have very low poaching rates.

> That's an interesting moral question.

It's not actually. The poaching groups are connected to the likes of Boko Haram http://www.nationalgeographic.com/tracking-ivory/article.htm.... So it's two birds with one stone really.

Also the poachers kill anti-poachers regularly

https://www.theguardian.com/environment/2017/apr/25/two-wild...

https://www.theguardian.com/environment/2017/aug/17/leading-...
> Did you read the comment you are replying to? [..] The question is why the companies are being punished and why the states are not, not about the enforcement.

It isn't a punishment, stop calling it like a punishment. There is no additional fine. The only thing which has to be paid is the due tax plus interest.

It is you who has to read. From the article:

"Meanwhile, the Commission said it planned to refer Ireland to the European Court of Justice for failing to recover €13bn in back taxes from tech giant Apple."

> What keeps Ireland and Luxembourg from doing this again? If the EU is going to strike down state-mandated tax deals, why not just require the tax deals to have approval from them in the first place?

Hopefully Ireland or Luxembourg won't let themselves be allowed to avoid taxes anymore. But since neither Apple, nor Amazon, nor Ireland, nor Luxembourg is being fined (again, there is no punishment) I'd speculate that it might still be lucrative. After all, being able to invest > interest.
Is it so interesting? I'm sure they would apprehend poachers without violence if they had any reason to believe the poachers wouldn't fight for their freedom.

It's a bit like asking whether a human life is more valuable than a sack of money when a bank robber goes down shooting. Either law enforcement has teeth or there are no laws.
Safeclib-3.0 released, the first and only C11 AnnexK safe libc
The point of reading for entertainment is to:

1. Have fun.

If you don't like the book you're reading, put it down. Life is too short for bad books.

2. Leave a general impression on you.

For example, some books just change your outlook on life. Margaret Atwood's MaddAddam trilogy, or Pierce Brown's Red Rising trilogy, or Scott Lynch's Gentlemen Bastard's trilogy are all great series that take you on emotional roller-coasters, make you change you perspective on life, etc.

Reading makes people more empathic, and kinder. It helps give you different points of view. (https://www.researchgate.net/publication/315838511_Turner_R_...)

“A reader lives a thousand lives before he dies, said Jojen. The man who never reads lives only one.” ― George R.R. Martin, A Dance with Dragons
That makes sense.

By the way, I think your software could become very popular on the Raspberry Pi, because it would be very cheap and fun to use it for all sorts of applications (e.g. home automation).
I don't understand what the problem is. Qualcomm invents something, patents it, and then they have a monopoly.

Apple's answer should be to open their own EE labs and start inventing things and getting their own patents. Instead, they complain and go to court.

Of course, that assumes the patents are good ones.
The article makes no attempt to establish that concern for others' interests is not necessarily mutually exclusive to self-interest.

In his book Give and Take, Adam Grant talks about givers who are "otherish:" they demonstrate strong compassion for others, but not at the neglect of self-interest. Those who identified as otherish were least susceptible to burnout or compassion fatigue and could sustain their patterns for giving more help than they received for long periods of time.

I suspect there is some correlation between high concern for the interests of others and low prioritization of self-interest. But the real culprit is low self-interest, not high empathy or a strong concern for fairness.
Counting Lines of Code in Concourse CI
Is there a way to get goodreads to give back page number information like that? I track my reading there just like you and have been meaning for ages to get something going to give a page-count for each month / year.
glirc: an advanced console IRC client (in Haskell)
Apple is an example that comes to mind although the outcome isn't exactly successful. They nearly went bankrupt before they acquired NeXT to bring back Jobs.
Wow, this is amazing news! Amazon is actually doing something about counterfeits?
Japanese manufacturer adapts its knitting technology to make lighter car parts
That's because the privacy implication of the technology should be part of the discussions on the technology... technology is not neutral, the way its used and the privacy implications are significant.
> "...but they also have a lot of value in disaster recovery scenarios."

How so?

I'd imagine that you'd need a pretty large capacity battery storage system in order for it to reliably act as a blackstart generation source.

EDIT: I did some quick research, found this recent article about IID's blackstart battery testing - https://www.energy-storage.news/news/california-batterys-bla...
To be specific-- the legacy web app maintainer has to make sure that a) snapshots of the data are available and backed up, and b) the app proper is available to users who will add entries to the database.

For the legacy web, once the maintainer makes the snapshots available they get scooped up and replicated by the general public. So while IPFS' immutable graph might be a design improvement on whatever set of scripts our hypothetical maintainer is using, it's an incremental improvement and not a paradigm shift.

For the app proper-- what is the benefit of content-addressability over location-addressability? Let's assume both the identity and location of the maintainer is known.

I think I know a vague answer to that, but I'd like to read what a dev has to say about it.
"Both indiscriminately"

Remote controlled guns do not kill people 'indiscriminately'.

There is technically a war on between North and South Korea, and tensions are high. It's responsible to have defences in place given the fact that 500 000 N. Korean soldiers could decided one day to come rolling in.

The moral implications of the management of violence are real, but it's often necessary.

In a more limited case: you're a cop, a guy robbed a bank, he has a gun, he's running at you pulls up his gun and aims it you. Do you shoot? You could kill a man. You do and he dies. Are you 'guilty of murder'? Or have you actually done a 'moral act'?

I'm personally weary of all this border stuff, but the underlying motivation of basic security is real. That said, I don't think there are any reasons for weapons at the US border, surely there are criminal gangs but mostly I'd imagine it's just people.

If the US were to have had it's border problems solved 'normally' - over a long period of time and managed issues as they came up, we wouldn't be having this discussion. It's all due to a dereliction of responsibility over a period of time.

The inability of the US to just put 'normal' and 'basic' controls at it's border over time has caused massive political upheaval, to the point wherein I don't think a guy like Trump would have been elected were things to have been done properly. So now you have crazy politics, and crazy border proposals. Now the pendulum has swung a little too far.

So this is all a symptom of the governments inability to operate normally and deal with such problems normally. This never needed to happen. But here we are.
Supercool Protein Imaging Gets the Nobel Prize
I agree, I really hated the fact that you could only try things out in exactly the ways prescribed. It makes sense, if you're writing a tutorial like that in javascript in the browser, you don't want to just rewrite Vim. But it makes it a pretty frustrating tutorial to follow and kind of beats of the point of it.

I like Vim adventures a lot. I think it's a better approach than this in a lot of ways.
"There seems to be a significant portion of the HN audience that is convinced that all MBA's (100%) are empty suits who add nothing but fancy powerpoints and bureaucratic layers."

Maybe we speak from experience. We witness how the three letters magically can override any level of business experience or knowledge necessary to make an organization function. C-level management somehow believes having a headcount with that diploma will magically fix their business problems or get their company on the hockey stick. It never happens.

Kawasaki's Law of Pre-Money Valuation ("For each full-time engineer, add 500K. For each MBA, subtract 250K") wasn't written in a vacuum.
What is shocking to me is that they are discussing mobile website UX in landscape orientation.

So many websites are hostile to or broken in landscape orientation I have come to believe that nobody must use it (other than me.)

E.g. the menu bars ("dickbars") that obscure 50% of the screen in landscape (some of them actually grow bigger in landscape.)
E.g. any kind of pop-up that can't be dismissed in landscape.
The most hostile is probably the full-screen "rotate your phone" pop-ups, for a regular website.
I would love to pick up some of the older arcade machines - they were never cheap and they still aren't. There are a few I would spend for; for technology they were a cornerstone of why I do what I do.
We live in a world where we should manage our stress instead of avoiding our stressors.
Because of -Werror.
No you don't manage and back up using images (you can of course). Instead you manage and back up diffs just like you would in any other language. You can do that from inside or outside the VM. From the outside, the VM writes it's changes to a change (diff or journal) file and you get to choose when and if you're going to commit those changes. You can use that file to make commits to your SCM.
Harmers are less valuable than victims, regardless of species. All consciousness should be respected.
You certainly wouldn't fit into the "no-drama office policy".
Look at the world, how can one not be sad or depressed about reality? 'Ignorance is bliss' is a widely known for a reason
Unless you enable -Wsystem-headers, GCC doesn't warn about things in system headers, so for noisy headers it's easiest to mark them as such (with -isystem <dir>).
Side note about this website font-size: I'm sitting in front a desktop 23" monitor at arms length, I have to zoom to 175% to get a decent font-size. I have a perfect eye sight.

Edit:

By decent I mean somewhere around 18px, so here between 150% and 175%. I could read at 125%, but while I am it, why not get rid off all the whitespace on the right by zooming and getting even more comfortable.

By perfect eyesight I do mean perfect eyesight in all possible measurements, except reaction speed maybe.
I think they are just getting them where and while the getting is good, and the one being stomped by a boot wasn't about to get out of the cart or something.

If it's legal and is good money -- what are you going to do? Get it to be little money, or illegal and too much trouble. If reducing this phenomenon is your goal, that is.
Sounds interesting, where can I find it?
> You could still not copy and paste it.

Why would you copy and paste code before you'd done anything more than glance at a language home page?

Perhaps the better comparison is with some other languge IDE:

https://www.jetbrains.com/go/
Agreed. I love Go, but a database is one of the things in the stack that ought to be as optimized as possible in my opinion. C++ still seems preferable in these types of applications. At the same time, if the underlying architecture is enough of an improvement over older systems, it's still an upgrade.
Apache Tomcat RCE if readonly set to false (CVE-2017-12617)
> The elephants' tusks were cut, presumably so that the elephants wouldn't be able to impale each other. That was a bit too sad for me to want to go back to zoos anymore.

Hint: the same is being done in mass animal production - pigs have their tails capped to prevent cannibalism from boredom, and chickens get "debeaked" (yeah it's an actual word). Male chicks actually get gassed or shredded alive (!) to death right after hatching because they're fairly useless for the meat production. Sows are often restricted in movement after giving birth so they cannot accidentally crush the piglets due to the litters being too large, and the conditions on transports to slaughterhouses... let's just say that's bordering on torture.
> it may just be a very cumbersome way of doing something we already knew how to do.

This is a very accurate description of many modern developments, most of which tend to attract projects that want to overuse them.
BigQuery foreign data wrapper for PostgreSQL
Plus the companies still most highly invested in COBOL and VB are likely the same companies that live and die by the sunk cost fallacy. COBOL and VB had nearly as much good as bad in their time, but to some extent the companies with good COBOL or VB programs more often than not have moved on with the times to greener pasture.

Meanwhile, it's harder and harder to argue that the companies still using COBOL or VB for core business processes care about investments into good code, and as the good programmers move on to other languages it's hard to argue that much good code is currently written in those languages (except at great expense to retain good programmers in bad situations).
Isn't this basically Django's Admin for RoR? Isn't that a thing?
There is a limit to the extent which the higher property taxes are tolerable and most people aren't really investors. However, as I understand it (I am on the East Coast), in California's case your property tax is actually locked in at the time of purchase regardless of appreciation.
> Ah. So if China were to capture entire families of elephants, you'd be ok with it?

Ok? No. It would be slightly less terrible though. And if the elephants had "ok" living conditions, not like cages where they can't move.

> I'm just trying to determine where the line is.

Like with most things, there isn't really one.

> I went to a zoo a couple months ago. The elephants' tusks were cut, presumably so that the elephants wouldn't be able to impale each other. That was a bit too sad for me to want to go back to zoos anymore.

I don't go to zoos and I wish they were closed.
That's not my point. My point is why do you want to live forever?

Is anyone on this forum so important that they deserve to live for 10,000 years, when the entirety of human civilization which made that possible is now dead? Nobody is that important or has that much to offer to the world. It's purely an ego driven thing based on us as individuals. I'm not assigning moral right and wrong to it, I'm just saying it's irrationally ego driven and it can't be fully embraced without a lack of empathy. If you can live for 150 years and not get worn down by the things people do to each other, more power to you.
Today washington would be a little crater with horse remains and some drone circling above.
Yeah what the hell does IQ mean for a digital assistant? Absolutely nothing.
True. Also, it occurred to me just now that maybe the elephants' tusks were already cut before they arrived at the zoo, and the zoo was protecting them. So I don't know enough about it.
I've tried learning Vim several times, but the need to switch modes and back for cursor movement has been a huge turnoff, especially considering the location of the ESC key. It seems to just conflict with the way that I type, where I am frequently jumping my cursor around in the middle of text editing, which is effortless in Emacs. Maybe mastering Vim is not just about memorizing key combos but about changing your coding workflow?
This Russian Bank Is Developing Its Own Cryptocurrency
There are a few things that I immediately notice are missing when switching back to normal text editing from vim:

ci( - Change inside parentheses
ci"
ci'
ci}

If your cursor is anywhere inside a set of parentheses, (if, while, for, function call, aka this happens a lot) and you need to change everything inside the parentheses, just type ci( and it deletes everything inside the parens and puts you in insert mode so you can start typing. Guess what ci" and ci' do? How often do you need to rewrite a string? This is huge.

dd - Delete line

Deletes the whole line with a quick double tap of a home row key. So much faster than highlighting the whole line with the mouse and hitting backspace twice, or hitting home, shift+ctrl end, backspace backspace. Want to delete 3 lines? 3dd.

A

Move to the end of the current line and start typing. Super simple and nice to have.

w

Move to the beginning of the next word. Way more ergonomic than ctrl+right arrow.

yyp

Copy the current line and paste it below the current line. Super simple, super fast.

Those are the commands that make Vim matter to me. Once you put in the time to make them muscle memory, you'll never look back. There are of course tons of other commands, but I can say that those are the ones that changed how editing text feels to me.
Note that the underlying data store where a lot of the byte churning happens is RocksDB, written in C++. Also the Go/C++ interface in CockroachDB is coarse to reduce overheads.
This may not be immediately apparent, but I discovered that Smalltalk did not fit into the 'programming language' concepts in my head. I think of a typical bytecode VM language as

[source code] -> [interpreter] -> [running program]

Instead Smalltalk is more like

[running program] + [auto persistence] + [editing tools]

So you don't modify large gobs of source code files, you modify the running program from within - aka live editing. The running program consists of a network of interconnected objects. You use the textual syntax also - but only to modify parts of the already live program (e.g. you could 'install' a new method on an existing class object). You inspect the running program using graphical browsers (typically also part of the same program) - and everything you modify is live immediately.

The syntax of Smalltlak is interesting (can be seen here https://en.wikipedia.org/wiki/Smalltalk#Syntax). But the more interesting aspects of the experience are the live editing, working with network of objects, hybrid text/non-text ways of modifying these objects, etc.
I wouldn't apply startup thinking to "most companies." Things are really weird when you're just trying to build an empire to sell it off. Obviously other companies care about growth too, but knowing that your company and its products will continue to exist in five years gives everyone a reason to focus on quality and maintenance.
Oracle is a software company like a law firm practices medicine.
The actual reason why -Wall doesn't include more warnings is because too many people rely on the fact that -Wall includes warnings for questionable code that is easy to avoid. It's a bad name, but it's not being changed any time soon.
I find your work very impressive.

Especially the UI flow: The user doesn't need anything, no email, no login, no payment credentials. Just Metamask and that's it.

So this could be the reference design for the next generation on-boarding.

Would you guys mind to write a blog post about how you created this project + some words about the on-boarding and if other projects have a similar seamless experience (would also give the project visibility again). Thanks!

PS: Just wondering again, is the core of the great UI rather Metamask or your work?
> Actually, yes, this distinction of selfish versus unselfish is sooo pre-high school.

If your reasoning here is, that every person just does what feels good for them and therefore everyone is just "selfish", then that certainly isn't the whole picture why people do what they do.

There're certainly people doing things because they feel right, but it
might not be a pleasure for them doing it.

Reducing everything to just being selfish doesn't make that much sense.
Ouch.

In OCaml there is a very simple rule: Development builds run with "-warn-error", which is OCaml-speak for "-Werror". Production builds run without that option - simply because future version of ocamlc might introduce new warnings that would make the build fail.

This makes a lot of sense to me.

Why did the C/C++ ecosystem adopt a different aprroach to production build compiler options?
A few years ago I was on a trip in Tanzania, visiting Ngorongoro Crater. At one point, high up on the crater rim, the guide pulled the Land Rover to the side of the road to give a ride to a couple of uniformed "park rangers". They were dealing with "reports of poachers", and each was carrying an AK-47. It was unclear whether actual shooting was part of their remit; they were not talkative.
Is there anything better about this than vimium?

The most disappointing thing about using an extension for this is when I open dev tools or a tab fails to load. I love luakit because the browser itself lets you set up vim like commands. Unfortunately I had to give up trying to build it for macOS
This is just quibbling. The exact number may vary a little from person to person but it's in the right ballpark.
What Is the Fastest Method to Cool a Cup of Coffee with a Spoon?
To an inexperienced eye, Smalltalk's syntax seems to be suffering from colon "cancer". (I don't get a similar feeling from Lisp, for some reason.)
Well I mean you can run it, I was not even aware there is some effort[1] to run it.

What I was trying to say is that in my opinion this is one of inherent flaws in Docker and I think docker is really a dead end (I'm not talking about dead end of containerization, but just this kind of approach).

What people actually expect from containerization is essentially what Kubernetes is currently providing (quickly spinning new instances of processes, autoscaling, load balancing, rolling updates etc), but I already see questioning why docker is even needed at that point when really cgroups are used to restrict resources and processes already provide enough isolation.

[1] https://wiki.freebsd.org/Docker
5 Cryptocurrencies Set to Outperform in the Short and Long Term
> What does inclusivity have to do with Mozilla's core business

Irrelevant - it's a stated organisational value.
https://wiki.mozilla.org/Diversity_and_Inclusion_Strategy

> Can any organization declare inclusivity as one of its core values

Yep.

> and start enforcing it by firing every person in position of power who holds an exclusionary view on any subject?

In the US, probably, although it may depend on which state and precisely which exclusionary views are in play. In the UK, maybe, depending on what those exclusionary views are.

> But by that logic, you hold an exclusionary view

I do, yes. Well done! I hold many exclusionary views but they are all targeted at people who people who want to exclude or hurt others for what I consider bullshit reasons.

> "All must prove their purity and loyalty or be excommunicated."

Nonsense.

> You don't want to be discriminated based on your opinions

I am 100% behind discriminating against people who hold opinions that another class of person is lesser than them.
Just how much code can you put in an f-string and keep it “Pythonic”?
I always recommend 'Your problem with Vim is that you don't grok vi.' to new users starting out in vim [0]. You can never learn about the language of vim too early.

[0] https://stackoverflow.com/a/1220118/2131903