skysight-inc/HackerNews huggingface dataset:
I wonder how long it will take before something like this gets implemented as a `Hyperterm` [0] plugin.

I think it could be quite useful to combine `npm` packages with shell commands and `map`, `filter`, etc, in your terminal.

The only thing I am unsure about are the underlying representations of the shell output. Arrays of arrays are not very semantic, so the code that parses them would not be very pleasant.

Given a shape like:

[
[ 'PID', 'TTY', 'TIME', 'CMD' ],
[ '13750', 'pts/14', '00:00:00', 'bash' ],
[ '25193', 'pts/14', '00:00:03', 'node' ],
[ '25283', 'pts/14', '00:00:00', 'sh' ],
[ '25284', 'pts/14', '00:00:00', 'ps' ]
]

I would probably like to be able to apply some kind of transforms by default so that I can work with:

[
{ pid: '13750', tty: 'pts/14', time: '00:00:00', cmd: 'bash' },
{ pid: '25193', tty: 'pts/14', time: '00:00:03', cmd: 'node' },
{ pid: '25283', tty: 'pts/14', time: '00:00:00', cmd: 'sh' },
{ pid: '25284', tty: 'pts/14', time: '00:00:00', cmd: 'ps' }
]

Though if this was the case you would want some way of applying the right transform depending on the arguments passed into the command.

I guess the bad thing is that there is currently presumably no way of using other shell features like pipes.

Also, if you're going to start outputting different shaped data, then I think you should consider hooking this all up to `flowtype` [1] and creating type signatures to provide DX [2]

[0] https://github.com/zeit/hyperterm

[1] https://flowtype.org/

[2] https://news.ycombinator.com/item?id=12129026
Gitlab are not an open source company. Their primary revenue generation stream is proprietary software.
Why Big Data Fuels Significant Change in the Real Estate Market
The comment is totally factual, except the very last sentence which is my personal logic conclusion to what is presented before.

If you don't think so, perhaps you could pinpoint anything in my comment that is not true.
Probably not. Niantec's previous augmented reality game, Ingress, was not even close to as popular, despite having most of the same gameplay characteristics. Working with the Pokemon franchise was a brilliant move.
Lets just take GUI then, how can you design that using TDD? Lets say you've got a multiple steps form where the user can go back and forth between steps and change data anywhere. How are you going to test for ALL possible flows, which are counting in the millions by now.

Software reliability doesn't come from testing the obvious use-cases and calling it a day. You'd get the same result by just booting the program and having all these functions execute. Bugs are always going to be in the use-cases you didn't think to test, and there's always going to be orders of magnitude more use-cases than tests.

What is incredibly hard to get right are complex sequences of state mutations. This is where most of the bugs are going to be and this is where TDD breaks badly.

I'm not saying unit tests and TDD are bad, I'm saying they're overrated. They're one tiny tool you get to verify the reliability of your software and for a lot of application domains they are completely useless.

More often than not I see pro-TDD people not knowing concepts like property-based testing which actually can model complex user interactions. And once they learn about it their architecture is already crippled by having TDD drive the design of individual components but not the whole thing and now there's no sweet spot to hook generative testing or reason about the program as a whole.
Most programmers are average though, so it helps to have languages that make it harder for you to introduce bugs.
No matter how justified or not the coup is, the military overthrowing an elected leader is as close to the opposite of any notion of democracy as I can imagine.
I think his article actually uses the term disruption a lot more aptly than most others. The implication is that the entire business model of these major conglomerates is now threatened. The cushy budgets P&G, et. al., have used to their great advantage for the last 70 years now look vulnerable when faced with competitors with business models like DSC's.
Ok, it's not static, as there's a database, but it's mostly CRUD and it's definitely simple, as compared to any technically sophisticated application.
This may sound weird, but in the country (rural Virginia) we already kind of knew this.

If you had a farm and crows get in your crops, the solution was to shoot a crow and leave it. The rest of the crows would stay and circle, but they would leave the crops alone.

* Not advocating violence against animals. Just sharing that tidbit.
Thank you!

Regarding how I structure the command output, this is the module which does the job https://github.com/iostreamer-X/Awkward/blob/master/terminal...

It splits on basis of '\n' and removes empty chars, then finally pushes the cleaned output in an array.

Regarding, the plugin system. Well, honestly I haven't thought about it but I do like the sound of it. Thanks for sharing the idea.

I am yet to try hyperterm but from what I have seen, it looks sooo awesome, and I think things could get 'awkward' there :p
Direct link to paper: https://kabru.eecs.umich.edu/wordpress/wp-content/uploads/se...
Watch the news today. Erdogan stated yesterday that he would be announcing a huge new process that will stabilize the markets. We think that it will be the announcement of a secret parliamentary vote to give him the Presidential powers he desires.
The lack of a chapter "physical security" in their documentation is rather disappointing. There's a few bits on the wiki, but that's it. Physical security - that is, keeping people from just breaking the keys out of your system - is one of the hardest parts of building such a system!

One might prefer a Pi with a suitable smartcard attached...
No, I'm sorry, you got this wrong. When you do that, you are not "calling" the cat, you are effectively controlling it with your mind eye. You need to be very careful with that, doing it long term can result in damage to the cat.
That's like the entire Danish population. Also, who sends CDs these days?
NATO didn't exist pre-WWII.
Care to elaborate? Isn't their primary source of revenue gitlab(-ee) which is open source?
A list of JavaScript fractal generators
Global Temperature Sets 14th Consecutive Monthly Record
New Jersey Drivers Fume as Road and Bridge Work Stops
Okay, but you'll have to be willing to give up the following: agriculture, power generation (both fossil and renewable), housing, clothing, and shelter.

Almost all industrial scale processes, including building your house, endanger animal life in one way or another, whether it's particulate creation from fossil fuels, migrating birds in wind turbines, or simple destruction of habitat.

A better argument, to me, would be that dolphins and whales exhibit intelligence on par with the great apes. Dolphins have the largest number of neurons in the neocortex of any mammal, communicate with one another, transmit culture from generation to generation, and work in tandem with humans even in the wild.

There's at least a decent argument to be made that they may be sentient. Given that possibility, we would be not only cruel to damage these animals, but perhaps would also deprive ourselves of an invaluable resource in understanding the roots of consciousness.
Tips to Protect your iPhone Outdoors
Why do people start new projects in CoffeeScript?!
Making all in a terminal an object is very interesting!! I'm curious about applicability though. What can you do with this that you wouldn't normally do in a traditional term?
No existing democracies are pure democracies, in the sense that the have non-democratic elements, often enshrined in a constitution, that constrain the government. In the US, unelected judges with lifetime appointments strike down laws passed democratically, in accordance with a constitution that none of us alive had any input in writing. We've all gotten used to that idea, but it was extremely controversial when it first happened ( https://en.wikipedia.org/wiki/Marbury_v._Madison ).

Why do you think having an element of the military providing a check on democracy is obviously less legitimate? (Regardless of whether it's sensible.) If coup-leaders were formally separated from the military and wore black robes, would this make it better?
Every time this topic comes up, someone brings up the "market" for stolen photographs. For a site so interested in startups, we sure don't like to think like businesspeople when it comes to this topic.

Think about the steps required to acquire and monetize stolen photographs from Facebook accounts. Only a few of those steps involve Facebook vulnerabilities, just like only a few of the steps involving building a software company involve actually writing software.

But in order for that business to work at all, it needs a steady supply of Facebook vulnerabilities; all the work setting up a sales channel for photos, in reconnoitering accounts to figure out which ones to raid for photos, in determining what the prices for photos should be, in scouting out new customers for photos, and most of all providing OPSEC for a ridiculously risky criminal venture, all of it is at a standstill until someone (a) sells them a vulnerability and (b) shows them how to pivot that flaw to acquiring photographs.

Nobody is running that business, ready to receive Facebook CSRFs (or even serverside RCEs) so they can get another few weeks of Facebook photo-snarfing in. One way you know that is that when celebrity photos are stolen in phishing attacks, it's a major news story.

Vulnerabilities that command high prices on the black market do so because they slot into already-existing criminal enterprises. If the enterprise does not yet exist, the vulnerability is worth zero.
Our agreement with Türkiye does not cover seekers of political asylum, especially when they are naturalized citizens. Don't get me wrong, Gülen is a very dangerous Islamist and I would love to see him in prison for his crimes in the US and his part in this coup, but he also has all of the same rights and protections of any other US citizen. We will be demonized for giving him the same due process that Turkish citizens will not receive in this witch hunt.
There's a few levels to this. I'd say it's important even if you are personally handing the CV to the decision maker.

"Architected a solution and led a team of developers to implement a custom solution for a large merger & acquisition company" doesn't tell the HM whether you know her stack. Depending on other strengths or weaknesses of your application, this may cost you the call. Yes, a great engineer/dev can learn your stack, yadda yadda, but maybe you're hiring because you're the only one who knows it, you're already training the rest of the team, and need someone to hit the ground running, you know?

Good to have all the checkboxes from the job spec covered. Avoid uncertainty on their part.
Gmail.js – JavaScript API for Gmail
The crime of estimating value
Ask HN: Apart from HN, what other websites you frequent for interesting content?
...and why?
I think of it as a poorly designed DSL. Still, a poorly designed DSL, once memorized, is way more practical on the command line than typing out javascript function calls, even with the fat arrow syntax. Maybe it's a declarative vs imperative kind of thing. I hate having to reference manpages or use trial and error every time I need to sed/awk, but I don't know if wrapping commands in JS functions and results in Array.prototype is the best solution.
Considering the efforts China takes to prevent people from moving into cities from the countryside I'd say they've not reached any sort of natural bound.
Open "core". There are a lot of open source companies (including mine) that have proprietary addons they sell.

Open source companies can't scale on consulting revenue.

It's fine for a lifestyle business but not a business you're trying to scale.

The other way to do is via the hosted service route (which might not work depending on the vertical you're in..)

There's all sorts of trade offs to running an open source company or even just open sourcing code.

Eg: the bigger companies do it for hiring purposes. Devs do it to get hired or learn something.

The companies themselves have to survive somehow, and the incentives will vary depending on the vertical and goals of the company.
Markets aren't magical. They route resources, they don't create them from thin air. If Facebook is ultimately the only organization that realizes $5000+ in value from a vulnerability, then no matter how you structure the marketplace, it isn't going discover a higher price for that flaw.

If you believe otherwise, you're missing a business opportunity. Go create a "bug market" for Facebook and Google serversides. It's not illegal to buy vulnerabilities, or to sell them (so long as you're reasonably sure they're not going to be used as part of a specific criminal enterprise --- but don't worry, if you stick a $5000 price tag on a serverside bug, or even a $500 price tag, you can be pretty sure it won't be used by criminals).
It seems to me like the obvious way to handle file extensions is to hide them by default, have an option to show them, and always show them when the file is being renamed. The hoops you have to jump through to change a file extension in MacOS are excessive.
Thanks. See also https://www.linx.net/communications/news/statement-on-power-...
Well, it works most of the time. For example:

local param_a="$1"

works, but:

local -r param_a="$1"

doesn't.

If more people find it interesting and contribute to it, it will get better!
https://en.m.wikipedia.org/wiki/N3_(NHS)
Yup, raccoons faeces can spread several problems: Bayliscaris and other roundworms, Leptospira and some viruses. Airborne spreading rabies from faeces is very rare, but some cases were reported with bats in caves, so should be also a veeeery small probability with raccoons.

Droppings from crows and other birds can spread Parrot fever on the other hand.

Sun rays eliminate several of those problems, like Leptospira. Droppings in the garden should be more "clean" than in your attic.
I'm not sure why you think my view is bigoted. I'm not saying he is evil, I don't agree with death penalties anywhere in Turkey our not, I don't think he "degraded morals" (what does that even mean?) and I don't think he has harmed the Turkish economy.

I'm saying he is objectively harming the ideals the Turkish Republic was founded on by Atatürk. I'm not saying this because I think those ideals would allow holding Turkey back for the West to exploit. I'm saying that because I genuinely think Atatürk was a great leader whose principles should be an example for all nations, not just Turkey.

I genuinely wish Germany was founded on Atatürk's principles instead of the mess we have (though I'm well aware of how much worse we could have it). I am genuinely upset by those ideals being betrayed by Erdogan and the Turkish people having chosen a path that stands against everything Turkey was founded on.

I am German, a lot of my classmates in school were Turkish immigrants. I even took a Turkish language course in elementary school (although I can barely remember anything beyond "bir iki üç"). I would have loved to see Turkey succeed as a modern state and become an example other nations in the Islamic world can look up to.

At this point I'm not even sure Turkey would be salvageable if Erdogan was gone. When I said this is a political tragedy, I mean it.
Should I Leave Consulting for a Startup?
I tend to like ShellJS a lot recently. And yesterday I found this: https://news.ycombinator.com/item?id=12125660
He fights kurds for their numerous terrorist attacks in TUrkey. If you cant get this.. then I have nothing to say but your words have a deliberate false enforcement of a narrative - a false one.

He said.. he will approve dealth penalty if the parliament approves it for the treasoners. Dont try to simplify things and deceive. Even many US states have death penalty.

Those judges names where retrived from the coup takers. Read somethings before making an opinion.

https://www.theguardian.com/world/2016/jul/18/military-coup-...
No violence when one Castro passed power to the other nor when Maduro continued Chavez. Democracy means nothing. Republic means everything.
And now this is happening: https://www.rt.com/news/352148-wikileaks-turkey-government-e...
A description of React's new core algorithm, React Fiber
Awk is actually very intuitive once you learn the basics (should take about an hour). Awk is essentially a line-oriented pattern matching language, that is, a collection of patterns -> actions that are applied to every line of input. Syntax is very similar to C, but feels much more lightweight.

To decompose the example above:

NR > 1 {
print $1, $4
}

There are two parts to this, the pattern (the part outside the brackets), and the action (the part inside the brackets). Every line parsed is split into fields and stored in $1..$NR, where NR is the number of fields. The entire line is also available in the $0 variable. The default separator is the space character, though that can be changed.

So, knowing the above semantics, the meaning of the above example should be clear: If the number of fields for this line is larger than 1, print the first and fourth field of the line. It's a very powerful paradigm, and you can do crazy stuff with Awk. Examples are an x86 assembler [0] and a SASS-style CSS preprocessor [1] (plugging myself there a bit).

Unix coreutils are very powerful once you're familiar with them.

[0]: http://doc.cat-v.org/henry_spencer/amazing_awk_assembler/
[1]: https://github.com/deuill/fawkss
If people can vote in officials who favor restrictive residential zoning, they can certainly vote in those who favor restricting business investment.
$250k/yr is not at all a crazy number for someone who can reliably generate Facebook vulnerabilities from a black box cold start.
Is this a thing you have to do often enough that its worth bothering to automate? I'd set it that way once, and its done, never have to touch it again.

The more inexplicable thing is why the modern/metro/universal/whatever-it-is-this-week apps don't show up in the volume mixer at all, and you have to rely on third-part tools like EarTrumpet to tweak them when they are being obnoxious.
> Keep in mind those military coups have generally been relatively peaceful.

I hope that this is ignorance. In '61 the prime minister and two ministers were executed. In '80 there were about 600 thousand arrests, thousands of torture cases and thousands of killings. The sufferers were mostly communists and leftist alike, and extreme-right.

I'm from Turkey and I'll tell you this: If we have all these problems, it's because Kemalist revolutions. I would certainly love to live in his dream country (except for the extra-nationalism part), but the revolutions were without tolerance and impatient. Most of the people sort of swallowed it, when muslim reformists got power, they had the army in front of them. Up until the mid-90s bloodshed solved everything. But since one and a half a decade, they have asserted themselves, they now think that they have the power. Erdogan and the like know how to speak to them. He shows them the carrot, all run. They believe they'll get back the old glorious days, except they don't know nothing about the old glory, thanks to century long assimilation and constructed history. Thus, being already ignorant, and in the spell of The New Glory, they believe what they are told on the TV. This ignorance has been created by the anachronism and traditionmaking of the post-WWI regime and sequent politics of nationalism, fed also by the coups, inventing an anatolian people that came from central asia, and that only remotely knows what happened between 10th and 20th century.

Now the people is at the hands of them to be manipulated. They have forgotten the reality of pre-40s, and they are searching an identity, that's honourable and clean, and they follow whomever that invents likeable things. Why are the potent are shouting to the US now? Because it pleases who thinks «The US runs the world, and there are 5 rich jewish families behind them,» i.e. ignorant conspiracy-theory lovers. Why are they this ignorant? Because the past was intentionally distorted by the nationalist and patriotist elite, the revolutionists, the coupists and the like.
Show HN: Art Made by André Pinto for Our Machine Learning Meetup
Stealing this.
Because it is just one more inhibition to write stuff when you are are worried what your blog looks like and if it will generate correctly.

My blog looking like crap is sadly one of the excuses I make not to blog. Every time I go to look at updating the look I have to reexamine the latest jekyll. I'm sort of inspired now to just make a bunch of dated markdowns files like this guy did.
How to convert any type of audio or video file into any type of format
'Irrelevant note' in da Vinci sketchbook holds key to theory of friction
Fragment Based Geometries with Streamed Content Providing
I don't know all the details here but by what definition of "better" are we using?

I think there are two disrupters here, DSC applied a different business model and distribution model to razors and blades. Dorco, possibly because of DSC money, showed that they can mass produce good enough blades in multi-blade cartridges cheaper than Gillette, who builds billion dollar machines to manufacture them. If blade count is "better" then Dorco is on par or better. If it's the coatings and springs and the whole package then maybe Dorco is merely good enough. Either way, Dorco is able to compete at a quarter of the cost and that seems disruptive.

DSC found a great partner though, that has been key. I suspect Gillette has oversold their innovation too.
Skype finalizes its move to the cloud, ignores the elephant in the room
Hantaviruses and arenaviruses are typical of rodents if I'm not wrong. Rodents are everywhere, so having raccoons shouldn't really make a difference.
> (my guess: protein powder). [1]

I wonder what this is in reference to.

[1]: https://github.com/frankmcsherry/blog/blame/master/posts/201...
I think he means using thumb drives and burkas instead of the Internet.
Pash – An Open Source Port of PowerShell on Mono
I would say yes, as physically being on the inside gives you access to all of the nuances of a particular industry. Outside consulting companies and contractors have a hard time encapsulating these subtleties and, as such, is a major reason as to why enterprise software written for a specific industry is generally quite terrible.
The following comment could apply to hundreds of similar submissions to HN in recent years.

Many people -- many of them young people I suspect -- have invested a lot of time learning Javascript. It has become a very popular language.

But it remains to be seen whether Javascript will be as long lasting as the UNIX shell and standard utilties. Historically speaking, computer languages have been known to fall into and out of popular usage.

For people who invested a lot of time learning the shell and ubiquitous utilties such as AWK, it appears the investment has paid off. I'm not too worried about the terminal disappearing any time soon.

How long until the next submission that aims to abtract away the need to learn how to use a UNIX terminal -- directly.

There are probably hundreds more on Github alone. What if we conslidated them all in one place: 1001 attempts to abstract away the need to learn UNIX.

By no means am I suggesting these attempts have not been successful.

What I'm suggesting is that the need for them will not abate. It could be that UNIX terminals, and programs like AWK, are not just a fad.
Then be open about it and make them opt-in. Windows 7 RC was heavily instrumented and this is a large part of why Win7 was so good. With Win10 their approach was way more slimy.
So, to summarise - burning it to CD is actually fine, but they should have used an in-house courier.