skysight-inc/HackerNews huggingface dataset:
When I started this comment, I didn't think you were measuring what you thought you were measuring with those straces. 'strace yes > test2' only watches 'yes', not '> test2' (which is handled by the shell). Here's what your command outputs:

$ strace yes > /tmp/test2
[various initialization steps]
write(1, "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"..., 8192) = 8192
write(1, "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"..., 8192) = 8192
write(1, "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"..., 8192) = 8192
write(1, "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"..., 8192) = 8192
[...]

To measure everything, I started up a whole new shell, expecting to see a 'write(1, ...)', a 'read(1)', and a 'write(f, ...)':

$ strace -f sh -c 'yes > /tmp/test2'
[various initialization steps]
[pid 15839] write(1, "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"..., 8192) = 8192
[pid 15839] write(1, "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"..., 8192) = 8192
[pid 15839] write(1, "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"..., 8192) = 8192
[pid 15839] write(1, "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"..., 8192) = 8192
[...]

How does this possibly work? File descriptor 1 is supposed to be the terminal, not a file! Of course, the magic of file redirection:

open("/tmp/test2", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 # Open the file, get FD 3
fcntl(1, F_DUPFD, 10) = 10 # Copy FD 1 (the terminal, STDOUT) to FD 10 temporarily
close(1) = 0 # Close original FD 1
fcntl(10, F_SETFD, FD_CLOEXEC) = 0 # Close FD 10 (the terminal, copy of STDOUT) when exec() is called
dup2(3, 1) = 1 # Copy FD 3 (the file) to FD 1 (STDOUT)
close(3) = 0 # Close FD 3 (the file's original descrptor)
Who cares? I think that's the more important question here.
I couldn't agree more with this. As a liberal gun owner I've often thought that some sort of class for other progressives on gun safety, gun history and gun culture would lead to better and effective gun laws. Yeah 50 caliber sniper rifles, fully auto machine guns and AR-15s look and sound scary... but when it comes to gun crime in this country they're a drop in the bucket compared to hand guns.
A lot of comments but no one said the great time that we are living for chess. So many games online, ready to be analysed and learn from them. After deep blue people thought that it was the end of chess, but it´s only getting better. Computers helping players to improve.

Chess.com is a great site, also lichess.org and chessable.com if you like chess you should check them.
Crowd Valley Platform Passes Bank-Grade Security Audit
Just because it is there doesn't mean people will use it, especially when you are creating B2B software. If a company was found using cracked software that would cause big problems for them. It is cheaper for them to just pay for the software.
The National Express (a UK based coach company) website showed the current date as 01/01/19100 on new years day 2000.
This! I've been developing for over 20 years. In my experience, it's never been the case that typing speed or keyboard fu has been the bottle neck for that development.
yes | write <USERNAME> "Don't you hate dialup connections?"
I agree 100%. I also feel like vim helps me stay in flow by providing a frictionless input environment. The way vim edits text is pretty close to the way I think about text. "change these quotes", "delete until that >", etc.
>actually good for you

implying lard isnt or cant be?
Are you building a platform or a feature? If you're building a feature and no vision for a platform, then I would suggest to be acquired - however, you need to compensate yourself for your time at market value, and your job should be secured with them too if they are smart and value the experience you gained developing what you have. If you really do have passion but are just burned out, then perhaps figure out who are you missing on your team? Are you missing a business logic person to help guide you and manage resources? Have you created a pitch deck - not just to get more investment - but to get yourself brainstorming and creating a solid plan for the future that you can get excited about? Part of evolving a pitch deck is talking to people to see what they get excited about with it - clients, potential clients, potential investors, etc. I wish you the best.
It may make you feel better to know that the Apple Store was called "the iPod store" by kids and most people visiting before the iPhone was released. To be called "the iPhone maker" is really a testament of the ubiquity of their product. This is a good thing, and if Apple became known as the "the autonomous car maker" would be a huge achievement for them.

I don't see it as Apple trying to compete, but Apple attempting to serve their customers a better end product that ultimately make all other Apple products better in the process. For example, I get into my Apple car environment and so does the rest of my Apple ecosystem. It'd be nice for Siri to say, "I've prepared your documents for you to review for your 10am meeting, enjoy your ride."
That would make sense. But they seem to be adrift on the technology right now.

Apple is off its game when it talks to investors about how it's going to deliver revolutionary tech. It goes well for them the other way: deliver-shock-and-awe.
The Two Secret Ingredientes of the Law of Attraction
Podcasts, Analytics, and Centralization
> "But optical sights small and robust enough to be mounted on a pistol slide are a recent development, and are costly; very few handguns have one mounted."

This is still true, but pistol red dot sights are becoming more prevalent.
Get out while you can, your health and time on this planet matters.
How Shopmatic is bringing ecommerce to individual sellers in emerging markets
>When you design something, design it for someone who has the attention span of a two-year-old. Not because your app is going to be used by a two-year-old. But because that is how much mental bandwidth a user is going to give you. Your user is probably busy or just likes to multi-task.

I think this is a common problem, and the problem is with the people creating/selling/supporting the product, not the customer. We get so invested that we are willing to overlook little pain points or special knowledge required, which are precisely the things that drive customers away. We develop our own obscure workflow, and just by being an expert in the topic we become incapable of providing the feedback to make it friendly to new users.
Normalising Geometric Data at bet365
Consider eclipse. It allows the user to configure every. Single. Thing. And in doing so makes configuration difficult because there are so many options. Sane defaults and a consistent environment are better, imho.
I disagree. It might be what they are most talked about now, but I think most people are familiar with their history. Steve Jobs, the old macs in schools, iPod, iMac, etc.
Sorry, I read over the piece and have zero idea what 'naps' have to do with this - it's only mentioned in the title and once in the conclusion. Really hard to figure out what the take home of this article is - I was hoping it tied sleep cycles into performance or something like that.
If you can pay your investors back in full, surely you'll be taking a decent amount of money off the table as well? Or is their preference crazy relative to yours?
I hope that means no % taken if you don't get a certain pre-determined amount? They could likely easily get 10-20% more on their own, even if it's structured in some kind of bonus over time; a company's cash is King, so if they can spread out their expenses then that's more easy to swallow.

Edit to add: someone like you may be great and exactly what they need to get through this step of course, I hope they will have a clear enough mind to not make a rash decision.
I used to shoot rifles when I was a kid, I even won prizes. Winning a beer mug as an 11yo kid is the height of country living, and I still use it proudly to this day.

Guns definitely have their uses, for instance hunting. Target shooting is also quite fun, but these guns are rather different from the ones most gun enthusiasts like to own.

I think personal ownership of guns should be restricted, thought I will not make myself an expert as to how much. Certainly I think it's much more important to manage the access to ammunition. After all, a gun is only actually dangerous when it's loaded. Sure, a gun that isn't loaded can still be used to threaten people (because even then it demands attention and the utmost respect) or even pistol-whip them. But it is very unlikely to be used to kill anyone or anything.

Personally, I think guns belong on shooting ranges, and nowhere else, unless used for a practical purpose, such as hunting.

I live in Denmark. Firearm ownership is very restricted, you have to have a very good justification to own anything that isn't a hunting rifle, and there are very strict storage safety and handling laws in place. Maybe a lot of people think we are too restrictive, but as a counterpoint, we do have extremely low levels of gun violence.

Another example could be Switzerland. You can own guns and buy ammo, but there are much tighter background checks in place compared to the US. In addition to this, they have a much more developed culture for gun safety and respect for firearms, so their rates of gun violence are extremely low.

If you're not willing to go all the way restricted, as in most EU countries, I think the Swiss model is the best.
On the other extreme, top Steel Challenge competitors can consistently shoot 5 different targets in 2 seconds, starting with hands above shoulders.
This might be an interesting sheet to add to this service https://spreadshare.co?

Here is another one regarding salaries in engineering https://spreadshare.co/spreadsheet/salaries-of-engineers
Its not about speed, its about ergonomics.
A nitpick, but I notice that the BSD implementation do not catch errors when printing. In theory it could get EINTR and only write partial amounts of argv[1], especially if the argument string is really long and the program runs for a extended amount of time. The GNU version do catch EINTR.

Naturally it could be that the C function puts used by most people in OpenBSD is implemented with built in EINTR catching loop, or that OpenBSD do not interrupts writes.
If you really want to see the advantage of keyboard hotkeys just look at the top Starcraft players. Yes they still use their mouse but they need hotkeys to even be able to compete at that level. They actually measure the number of actions they can execute per minute! There's no way it can be done only with either just the mouse or keyboard

I think software development also falls into this category. Some hotkeys are at least an order of magnitude faster. And 90% of the time hotkeys will be faster. But in some cases you absolutely need to use your mouse, it's just much faster.

Here's a YouTube video that discusses what it takes to be a competitive Starcraft player and shows them entering actions: https://youtu.be/zmYhX8fjmo8
Dear 'delinka,

We regret to inform you, but you are a part of a market niche known as "power users". That niche is but a small part of our customer base, and like all other big companies in the industry, we no longer care about you.

Don't be sad about gradually losing useful tools - enjoy the new, shiny toys instead.

Sincerely,

Apple.
direct link http://www.algoworks.com/infographics/angularjs-vs-react-fac...
> I'm not sure what I could offer that the open source community can't already offer.

Support! Offering support when things go wrong is huge.
The key takeaway is _easily_ configurable. I don't want to have to drop into a shell and modify some XML file to do it.
This article is literally clickbait disguised as a serious position with no actual argument in there.

When your article says the "Limits of artificial intelligence" and you then then go on to talk about chat bots and a couple of other extremely superficial products as you examples. When you then suddenly switch to talk about automation and end up with not really showing any limites of AI (and wrongly apply it only to computational power) you know you got something that was not written for any other reason than to get some clicks.
AWS or Google cloud platform?
I'd like to find out which service best fits my needs. I am working on a react-native app that will require some back-end processing for actions in the app, sending and receiving messages and keeping track of users and usage etc.

I don't want to go into a lot of detail, and I am definitely out of my depth as far as either of these two services are concerned.

I'd like to know if anybody has hosted an app on either AWS or google's cloud platform and what I need to do to prepare my app and myself for this task.

thanks-
> you should know how to engage the safety, eject the magazine, clear the chamber, and ensure the safety of those around you

Note that if you try to do it in this order, you will fail with some firearms because the safety locks the slide.
> You admit that you don't have enough details to know exactly what they're referring to, yet you're confident enough to call their personal experience "obviously incorrect"?

I didn't admit to not having enough details. You have two tools:

1. Reasoning about the abstractions and implementations of how yes and /dev/zero work: the claims become obviously incorrect, even their own tests later in the thread show that on a "modern system".

2. Actually running the tests they claim (which would prove them correct): no freaking way to do that. Even they do not offer any numbers to back their own claims because everything in the argument is a maybe or a remember or a might or a may have.

> People's personal experiences can be interesting, and that adds to the conversation.

People claiming their personal experiences are fact without proving anything is hugely problematic. Remember that woman claiming her child got autism due to vaccines? Remember that US president claiming a child got autism due to vaccines?

I remember seeing the earth as flat when I was working as an astronaut on the ISS. Go check my "personal experiences".

I hope you see what I'm trying to convey here.
>Well, the United States is a living example of a country that tried that, and um ... hasn't failed because of it.

When did the US A) allow unrestricted immigration of people of non-European origin, B) actually have significant numbers of immigrants of non-European origin, and C) not quickly move to restrict that immigration?

Unrestricted immigration of people of European origins is not the same thing as opening up the borders without restriction.
> "who am I trying to impress anyway"

Agree, besides you need your mouse to copy-paste code from StackOverflow anyway
I see that. And in general I agree with you. I think the only thing being debated here is the urgency of the change, and the harm being done to networks.

Many companies get away with NAT just fine; and that's the entire point. It works well enough that for many it's just not an urgent issue.

Like you said, it would make a lot of technology easier to deploy and build. The orthogonal comment about the Cellphone industry pushing the issue is right on the money. For them this significantly simplies their network management (which has tons of devices moving around). For laptops on wifi this would probably be better as well, but there so much is just solved by the fact that the Web is capable of tracking users across IPs with cookies.

Again I'm not arguing against IPv6; I'm just trying to better understand why it's deployment isn't being done as urgently as that of other things, like UTF8. I think the answer is in the fact that we've built so many workarounds that it stretched IPv4 well beyond its end-of-life.
That's because Eclipse is basically an operating system like Emacs.
Dan Robinson please go behind a shed. Pay your hosting!
Your Doctor’s Office Is Vulnerable to Hackers, but Congress Could Change That
I think it's an all or nothing setting. The parent is looking for app-specific permissions.
Show HN: Universal Cloud Storage Manager (Demo App Written in Swift)
Most countries got a pretty long head start. The US is like, what, 250 years old?

I think we're lucky to have gotten so far, so quickly (of course, with the caveat that this thought shouldn't make us complacent).
Apple's genius will be to get people to pay luxury car prices for something built by brutalized Chinese labor.
$ yes |pv > /dev/null
46.6GiB 0:00:05 [9.33GiB/s]

$ taskset 1 yes |taskset 1 pv > /dev/null
32.9GiB 0:00:05 [6.58GiB/s]

$ taskset 1 yes |taskset 2 pv > /dev/null
45.7GiB 0:00:05 [9.13GiB/s]

$ taskset 1 yes |taskset 4 pv > /dev/null
45.7GiB 0:00:05 [9.18GiB/s]

Very rough numbers - the 9.13/9.33 difference flip-flopped when I ran the commands again. Binding both processes to the same core is definitely a performance hit though. There might be some gain through a shared cache, but it's lost more through lack of parallelism.

I tried 2/4 as not sure how 'real' cores vs 'hyperthread' cores are numbered. These numbers are from a i7-7700k.
This would get a lot of attention from the music production community if you could port it to a VST or AU plugin for use in a DAW!
Wah: Higher level language for WebAssembly with a reference compiler in Clojure
Important distinctions in the article, I hope people wouldn't just take home the title. The paywall doesn't help...
Would Apple buy a big already established large player ? Their style is more like buying a tiny player, integrating it and rebranding their expertise under Apple flag.

I was thinking that Lotus would have been the type of Apple candidate and on the market for acquisition. That's basically starting the same road as Tesla, 15 later - seems a bit late for that. Volvo is another company that would align nicely with Apple design goals, but similarly they have progressed along too well.

Maybe brand like Saab that has still retained enough engineering capability, had some traditional car design know how ( interior design like seat, ... ) that can quickly (i.e. Apple need a fully autonomous car in the next 10 years top) be capitalised with Apple own know-how into a decent Tesla, VW, BMW, Volvo 2025 competitor ?
As a heavy keyboard user I have to agree. I've been using vim extensively and also use vim bindings for my browsers, without them navigation feels constrained. Obviously I still use the mouse for some tasks and certain types of text selection are much easier with a mouse then a keyboard for me.

I'd say that is heavily dependent on personal workflow and taskset.
An excerpt from “The One Device” – origin story of the iPhone
It never should be. If it is you're probably churning out some really crap code, and you should stop and think about what you're doing.
FYI: http://pgbovine.net/cpython-internals.htm
Donald Trump as a detached-from-reality fantasist and symbol of excess has been a well-known cultural reference since at least the 1980s, it predates and exists independently of his political career.

It's referenced obliquely, for instance, in Don Henley's “Gimme What You Got”, from The End of the Innocence (1989).
It's called an "analogy"
Very nice visualization and write-up! The tech details are pretty interesting. In particular, noting the back-end was done up in PostgREST. I've been itching for a project to kick the tires on that for a while.

Any more you can add about the experience of "writing" the back-end in PostgREST if you're hanging out in this thread, Billy?
My bottleneck is usually how many things I can hold in my head at once. Getting things out of my head before I forget them and have to start over is not entirely about input speed, but it does have a significant effect.
Show HN: HNfavorites – Explore the community's favorite content
I don't agree. A lot of countries have been open to new nuclear developments. In the UK for example there is a supportive government, and schemes are even quite popular locally due to jobs. Yet the commercial and political risk is still huge. Despite the legacy of nuclear schemes it is still difficult to get schemes of the ground. And those kind of issues are in a large part due to the unqiue challenges that nuclear presents that are not relevant in other large infrastructure projects.
While this is true in a sense, I suspect a great deal more pistol ammunition is expended in competitive shooting sports than is fired at people. People in speed-oriented pistol shooting competitions where optical sights are not allowed usually use a front sight containing a colored fiber optic that's easy to focus on quickly.
Just because it's simple to explain at a high level doesn't make it trivial.

Plenty of theoretically trivial solutions to problems are absolute pains to implement. I mean there are entire companies that at their core solve relatively "trivial" problems but employ huge numbers of engineers. Just because the core concept is simple to explain doesn't mean it's easy.
For those calling this "slavery" thinking that inherently makes it illegal, I quote the 13th Amendment:
"Neither slavery nor involuntary servitude, except as a punishment for crime whereof the party shall have been duly convicted, shall exist within the United States, or any place subject to their jurisdiction."

Not saying I agree with the practice. But just getting other people to agree that it's slavery won't change anything.
Hopefully Tesla would never sell to Apple. I think Apple makes some good products, but I hate how closed their ecosystem is. Tesla has open sourced it's patents, which strongly goes against Apple's philosophy.
This is bullshit. git had to support cherry-picking from day one and monotone was extremely slow.
Some background: https://lwn.net/Articles/574075/
Pebble didn't do "creepy spyware stuff", from what I know. Are there any stories I missed?
They should add a benchmark for nominal time for tx finality & tx price for some amount of USD.
Yeah. A great point. I do find eclipse to be too configurable, and part of why I use IntelliJ (for Java). Apple software is generally on the other end of that spectrum, which annoys many people; although you'll notice that even there you can put the bar on the left, right or bottom.
If your platform needs a bunch of extensions for CORE functionality, something is wrong.
This is a good example of one of the failings at Chernobyl, but it took many of them coinciding to make the disaster as bad as it was.

They were required to use another material to build the roof, but they were also required to be finished with construction by a certain time. Soviet central planning led to a shortage of the proper roofing material. I'm sure the decision to use bitumen was either made in ignorance or with the assumption that it wouldn't matter for other reasons. Lots of mistakes were made with the assumption that the rest of the system was safe so it wouldn't matter.
The Importance of Communications Heartbeats for Startups
>You've never tried a new restaurant or a new dish?

you realize that most people don't do this right?
Family TV viewing and SMS texting could help cut internet energy use
Higgs boson == inertial mass is very misleading.

Mass is essentially rest energy by another name. The presence of a non-zero Higgs field gives certain elementary particles that would otherwise be massless such a non-zero rest energy.

In contrast, compound 'particles' (hadrons, atoms, chairs and tables, ...) only gain a miniscule amount of mass from the Higgs mechanism: They are bound states of interacting constituents that are whizzing around, generating ripples in various quantum fields (sometimes described as clouds of virtual particles), with the biggest contribution by ripples in the field of the strong nuclear force.

Now, in quantum theory, any field comes with associated particles, and for the Higgs field these are the Higgs bosons, and for the gravitational field these are the (conjectured) gravitons.

While gravitons would be intimately related to how gravity works at the quantum level, the relation of Higgs bosons to inertia is rather incidental.