skysight-inc/HackerNews huggingface dataset:
We already have a solution for this sketched out on paper (not in writing or code yet, though). The idea is that the shell can split the terminal into "frames", where each frame acts as its own terminal. The shell would then use one frame per command prompt, and one frame per command (for its input and output). The stdin/stdout that is given to the command is restricted to that particular frame. It can then write text into that frame and move the cursor around inside it, but cannot break out of the frame, so e.g. it cannot overwrite the output of the previous command.

And once you have these frames, you can give them some useful properties: For example, the shell can fold them, or apply styling hints to them (e.g. so that a command with non-zero exit code can be highlighted with a red border or similar).

With frames, you can also have multiple commands running in parallel. For example, wget could signal to the shell that it will run for a while longer, but does not require user interaction, so the shell can allocate the next frame below the frame where wget is still running, and offer the next command prompt.

It also means that fullscreen programs do not need to block everything: vim may be running inside a frame that is set to the full window size, but you can just move the keyboard focus out of this frame and scroll upwards to review the output of a previous command while vim continues to run down below.
Hmm...hard to believe this is not commonly known when the book is taught in schools, even in the US. I suppose the students need to be awake and paying attention..
In addition to what others have said in response and further picking apart this silliness: Your comment also appears to suggest that a life of depression and potential suicide is preferable to the medically accepted palliative treatment that has shown itself to be quite life-altering indeed, at least enough to prevent this outcome.
The body scanners were a huge profit center for Level 3 Systems. It was always about making billions off of government contracts. So what is a few more people get cancer? It can never be directly traced back to where the exposure came from.
> And even if it encodes the sounds of a language, if that language utterly died out and is unknown to scholars today, then even if we know what the sounds were, we probably wouldn’t be able to determine much of their meaning.

I feel this conclusion rather weak.

As an counter example, consider how the decipherment of the mayan written language was performed [1]. Another one is the hieroglyphs.

Re-constructing how mayan words sounded is still on-going [2].

Also, this type of work is not really possible to "crack with computers" as some have suggested (when all you have is a hammer, everything looks like a nail).

1: https://en.wikipedia.org/wiki/Maya_script#Decipherment

2: https://decipherment.wordpress.com/
3 upvotes over three hours and it makes the front page? A murder story from the renaissance?

What did dang mean by this?
I fly Emirates A380 from time to time, I have to say the business class is better than the first class of most carriers. Very quiet, masses of space, and the bar is not bad at all when you want to stretch your legs. And when you get bumped up to first... having a shower on a flight is very nice :)

The only problem is the godawful stopover in Dubai - If there is one advantage that the non-gulf carriers have, it's that they can offer short+long haul to get from Europe to Asia, as opposed to medium+medium/long. Sometimes I'll fly on BA, which is far inferior on every point, just to have a bit of uninterrupted sleep.
Can't help but think that this vindicates Boeing's bet on the smaller 787.
If customers believe this, is it self-fulfilling?
Why not just replace the battery rather than get new phones? My iPhone 6's lightning port broke around the time iOS 11 appeared, so I used the insurance we had on it to get a replacement. The replacement was another iPhone 6, with a new battery.

That new battery is working fantastically well for me under iOS 11. I have gotten through 2 days straight of use without a recharge. No exaggeration. It happened to be relatively light use, but it wasn't in low-power mode, and it did everything I wanted it to do for 2 days.
> but I'm sure the techie niece will do it for most.

For most it would probably instead be a techie nephew. Very cool that you (I’m assuming) have a techie niece though! Always great to see that sort of thing.
LRADs don't generate ultrasound. The worst they can do is create the brown note.
Without realizing it, we are becoming the world's first indoor species
Do you have a link to the item? Or atleast a name + type number.

Why did you choose that specific display? A quick Google search shows that driving an e-inkt display can be challenging. Have you checked how hard that particular item is to drive?

Thanks! I can think of so many cool things I would love to build for ~€30,- :)
When it comes to airplanes, bigger isn't necessarily better. I guess the novelty value has worn off and giant jets like this have limited appeal. If there was a significant cost saving (there isn't) then of course it would make sense, but due to the limited number of airports that can service these planes and the high cost, I don't see much future in them. The efficiency just isn't there.
Nə üçün Allah insan həyatı üçün təhlükəli şeylər yaradıb?
feels like such a waste.. would it be possible to design lithium-ion batteries in a way that's easier/cheaper to recycle?
Somewhere along the line, they realised that deploying a bunch of KGB-style bots on Facebook was a hell of a lot more effective at controlling people than simply banning it. When dissent results in a crushing flood of mean-spirited trolls, who needs censorship?
2017 in Review, from the Equifax Hackers to You
Meteor 1.6. Review: Benefits, Issues, and Examples
Boeing played the market correctly here. When everyone was oohing over the A380 Boeing said super jumbos were on their way out and focused on the 787. If it hadn’t been for Emirates buying so many A380s to begin with it would have been a flop from the start (Emirates alone operates almost half of the A380s ever built).

The future in long haul is mid-size highly efficient twin engine jets and here Airbus is scrambling to catch up with Boeing in both sales and design.
Not hard to explain: they were simply drawing the glow discharges they saw in the sky. The growing body of theory–research isn't well known yet; for an introduction, see Peratt's groundbreaking paper from 2003:

Characteristics for the Occurrence of a High-Current, Z-Pinch Aurora as Recorded in Antiquity

http://plasmauniverse.info/downloadsCosmo/PerattTPSv31-2003c...
As bad as that sounds, I ask "do the people whose property was damaged by the rioters matter at all?" If the riots had gotten even further out of control and lethal force had to be employed, would the use of dogs or water cannons, or whatever else be more palatable?"

People taking part in riots do have a choice--they can behave if they so choose. Their victims are merely caught up in the ordeal, though. Protecting public safety is a delicate balance.
LAST MINUIT TRIP
they do! for me, anyway.

i bought an echo dot on a whim, since it's so cheap, assuming it'd be fun to play with, but not very useful.

to my surprise, it's really handy. setting timers, adding food to the shopping list, and playing music are all super-convenient with alexa. turning lights on and off with her is fun too, although i admit, it was already a fairly easy task to do using a conventional, physical switch. :-)
Ask HN: Best non-cloud cross-platform CLI secret manager?
I’ve recently setup my Mac to dual boot Fedora/macOS, and now need to migrate Keychain data to a solution that allows access to the data on a shared localhost data partition. HashiCorp’s Vault looked promising, but you can’t get a list of stored keys without hacking on their API. Anyone know of a solution that isn’t cloud-based, and has a Linux and macOS CLI with key search functionality?
Agreed. And the other thing that gets me is battery life. If I have to charge something every few weeks, I'd rather just run power to it and be done with it. In which case, I might as well just use a cheap phone.
Jack Dorsey Selling Square Stock
Your comment suggests that you thought the comment above was saying that there is no cardio in Crossfit.

I'd say Crossfit's whole liturgy is to interleave aerobics with some weights. Like a circuit of box jumps, a lap around the block, and power cleans.
Researchers at Harvard made a study on which news paper focused on which candidate and was used by followers by each side (https://dash.harvard.edu/bitstream/handle/1/33759251/2017-08...). The washingtonpost had, like many others, a very clear bias in both which candidate they promoted and their intended reader demographic.

I don't trust anyone marked clearly blue or red to make a trustworthy description about events around the election. The Wikipedia article (https://en.wikipedia.org/wiki/Fake_news#Definition), even if they are not intended to be used as an authority, are more trustworthy. Alternative one can look at the baloney detection kit by Carl Sagan and simply define any baloney that get published in news format to be fake news.
I think that was obvious from at least 10 years ago. Airbus’s bet at the time raised a lot of eye brows, while boeing’s didn’t. The only thing Boeing screwed up on was outsourcing too much of the assembly.
Ezio Auditore did that, problem solved. LOL
Reasons of Yahoo Failure – Why,How Yahoo Failed-Yahoo's Failure, Mistake Story
I was just about to make the exact same comment. As principles, even the GoF patterns are fine -- a lot of good engineers independently derive and use those patterns without ever knowing their names. Problems arise when engineers who don't understand the principle somehow match a pattern to a problem they have an implement it literally, right down to naming classes after patterns. That's not what patterns are for.
They do pay off for large congested airports with limited landing slots (e.g. Beijing between Guangzhou, which is the only 380 I’ve flown on). But this isn’t as much of a problem as we thought it would be 20 years ago. Incidentally, this used to be why Japan flew so many 747s on domestic routes.
The Product Management Toolkit Every PM Should Use
Why you don't want “irregardless” to be a word
Ask HN: What is a hiring freeze and how does it help consultants?
Oh yes. We want to have an API where clients (i.e. programs running in the terminal) can receive actual key/pointer/touch events if they choose to. The terminal may retain control over a few crucial keysequences (similar to how Ctrl-Alt-Del is always handled by the OS on Windows), but it has to inform the client about that.
Cryptocurrencies and ICOs with Patents
The person who submitted this has 7066 karma. I would be surprised if it has nothing to do with that.
It's a little bit a shame, that this is not a standard solution for most IT related people, wouldn't you say?
All the symbols are simple, I wouldn't be surprised if many children around the world scribble similar signs while doodling. It seems likely to me that the signs arose in disparate locations through sheer coincidence instead of through an active Paleolithic common culture or a miraculously preserved memory of some ancient heritage - the ultimate source of the symbols - shared by far flung groups.
Not quite the issue. Batteries have known charge-loss curves, and they lose capacity in a way that can be predictably engineered for. This is why during the first month or so, they seem to stay on for days barely losing charge, then they seem to keep on about a day or two at general use after that.

So the battery loses down to maybe 90% capacity very quickly, then falls a little more slowly to somewhere around 70% by the next year or so, and will much more slowly lose after that.

But engineers that choose the batteries and design the electronics know this, so they plan the phone around the battery having that 65-85% capacity, never the 100%. That's what I think Apple did knowingly wrong and against good conventions.

Apple designed those iPhones in a way that either prematurely decreased the life and ability of the batteries they chose to power them (evidenced by the shut-offs), or they used inferior batteries that unpredictably or improperly lost the ability to maintain the required draw. That they only issued the scaling patch after shut-offs became an issue tells me that this was an engineering failure, whether by Apple, ATL, or TLB- not user error.
I can see the "before they leave the country" part. This isn't as big of problem in the US as we only have land borders with two countries, and those borders are far away from most people. If the police are looking for you they can find you when you book/board a flight out of the US, even without exit controls. Heck, they're likely sharing that list of people of interest with Canada and Mexico so that they can be caught by the entrance controls at those land crossings.
>There should be drop-down menus for all applications, whether text based or GUI based. And these menus should be able to incorporate system-native dialogs e.g choose a file, choose a font etc.

I see how that would easily break scripts. Not in theory no, but in practice. The instant developers gets a choice on this they will develop for their needs and break others.

It breaks what I as a user expects from a terminal and if such a terminal was launched today I don't believe anyone would use it. Not because the idea is bad but because the users of a terminal have a very confined idea of how the communication is supposed to work.

It absolutely must work the same over ssh on my phone or my fridge as on my workstation (regardless of OS). KISS.

Now that doesn't mean we can innovate or improve things, but it must be done without breaking expectations and it must be compatible with the mindset of today or I don't believe anyone will pick it up.
Look for Gang of Four or GoF and the Wiki link already mentioned. None of these patterns are implementation ready though and need sculpting and trimming most real life use cases.
Thanks for the links, this looks very cool!
Reading, having a large vocabulary, and knowing grammar is akin to knowing the syntax of a programming language, but not knowing how to actually build applications. They certainly help but are not sufficient.

Personally I’ve spent > 10 years arguing with strangers on the internet. It can be a fun way to pass the time, I think many here would agree. I believe I’m a lot more effective now than I was years ago. I think you have to be aware of concepts and definitions, not only how you think of them but how the other person thinks of them, so you can argue in their terms, yes this implies active listening or reading, as you indicated. Also being able to explain things in multiple ways.

Finally, I think the onus is on me to make myself understood, not on the reader to understand me. This can be a subtle distinction many fail to realize. If you ever find yourself saying “you didn’t understand me” then chances are you have some work to do.
Fake news was an own goal by the left wing press. After selling a fable to their readers about a Clinton landslide, they tried to deflect by blaming the election outcome on fabricated stories. But there was never any evidence these stories had more reach and influence than what mainstream outlets were peddling. Same way there is no evidence Russian Facebook ads and social media postings eclipsed the millions e.g. the Clinton campaign spent to Correct The Record. Similarly, laments about r/the_donald were categorically ignoring how the default news and politics reddits had become unofficial Clinton cheering squads with moderators complicit.

Most ironically, lefties lamented the ignorance of right wing voters in accepting stories that confirmed their bias and preconceptions, while they themselves eagerly accepted the fake news narrative.

Fake news was not an important concept. Media manipulation however was, and the two got conflated for very obvious reasons.
It kills me a little to see them say overdoing it, there are so many factors at play and intensity of workout is only one variable. No mention of diet, sleep or programming...

I think the author touches on a fair point, people want to push themselves harder than they should, but it's not going to kill you and your body is going to put a stop to it whether you like it or not. Seems to me author is just generally naive about fitness.
> Emirates, however, has been a strong believer in the A380 and is easily the largest customer with total orders of 142 aircraft, of which it has taken just over 100.

...

> Emirates, for its part, wants a guarantee that Airbus will keep production going for a decade to protect its investment.

Closing the A380 production line isn't going to happen for years anyway, considering the backlog they have, so, this leak looks a lot like a tactical one to put pressure on Emirates.
I had an account previously with karma in that range and never saw anything like that. Looking back at previous submissions, they appear to be historically oriented. Maybe the account got flagged as interesting on that account.

On the other hand, three votes over three hours is a pretty insanely low bar, especially for a non-technical article.
Foundry Challenges in 2018
It seems like a company can only make one successful move at a time (in what I find a very ugly) industry. At the lower end Boeing struggles with the 737 being too large for a lot of markets. There Embraer, Bombardier (now part of Airbus), and a bunch of other companies seem to have an opportunity, if they can execute. It'll be interesting to see what Boeing does there given the cozy relationship with Embraer.
Analyzing Medium’s posts and making a prediction service for “Popular on Medium”
My brother (we are from the US) has lived in vietnam for a long time. Taking Vietnamese language classes is easy and common-place for foreigners.
Hi everyone, thanks a lot for the responses. Keep them coming!

As mentioned in some of my replies, we have already considered some of the things that you mentioned (and incorporated them in our design), but your responses show that there is still a lot more to consider.
A consultant’s view of the SAN market
This isn't about efficiency or cost per passenger mile I think.

The A380 was a bet that the hub and spoke model (where passengers travel to an airline's hub in small planes and onwards from there in larger ones like the A380) would continue to rule the industry.

Instead, what happened was low cost carriers flying passenger directly to the destinations. It appears that passengers prefers that, which is why the B797 and A350 exists.
Society is the non linear structure. I'm talking about policy here.
>I live in an older house which with the exception of the kitchen and bathroom is lit entirely with tabletop lamps. Adding modern recessed lighting with convenient switches would be a major undertaking. Installing a bunch of Insteon lamp controllers took 15 minutes and pairing with Alexa was pretty simple.

This is one use case for lighting IoT that seems genuinely useful to me. Most of my house lighting has been upgraded over the years as part of bigger renovation projects but I had a bunch of X-10 gear at one point to handle the various lights that weren't controlled by wall switches. If current smarthome gear had been available then it would have been very useful.
Once you know the dominant eigenvector, I recall there was some trick you could do to get the second-dominant eigenvector, by projecting the dominant one out somehow. How can you repeat power iteration to get all the eigenvectors of a matrix?
Show HN: Bust Fake News, Bad Ads and Unreliable Sellers
Right, but in order for that to work you need to be able to consistently fill the planes to capacity. That's not as easy as it sounds. There's a limited number of routes where it makes sense, so that means you don't really have an economy of scale opportunity.
Promise of investor returns is what gets the company off the ground. Remove that and how do you get early investment?
What about the Mill architecture?
https://millcomputing.com/docs/security/
With Python 2 due to be EOL'd in a couple of years, I'm not sure I should feel good about encouraging more use of it!
I didn't like the idea of my 4 year old having an easy way out of learning to read/write. I disable all voice recognition on our tablets/phones too. Next birthday it will be C64 time. :-)

(Edit P.S.) Don't get me started on Unix REPLs suitable for young kids. A simple for loop still reads best in BASIC.
Escaping Docker container using waitid() – CVE-2017-5123
Boeing's market analysis said that the market could barely support one super-jumbo, let alone two, so they opted for the much cheaper 747 upgrade and we got the 747-8 (which is also headed for extinction).

I heard an analyst say that you have to carry a lot of fuel to carry a lot of fuel. The optimal size from an efficiency perspective is the much smaller 737 -- the more you deviate from that, the larger the efficiency penalty.
I'm very familiar with gender dysphoria research, and I'm also familiar with the endless stream of vitriol (but no actual scientific refutation as far as I have seen) against people like Blanchard, Bailey, Lawrence et al. as soon as they say something that doesn't fit the political objectives of the activists.

My interest isn't with the politics, it's with the science, which does seem like it's well within the scope of Hacker News.
Earthquakes rattle San Jose – but not the big one
The problem is that the A380 creates so much wake turbulence that the next aircraft has to take off a bit later, negating some (but not all) of the advantage!
> with the amount of tech and data available these days, google still chooses to show me an ad for chevy on an ice cream site. the fact that the ads are so obviously out of context is truly baffling - does this seriously work for the general consumer? even if i've searched for chevy before, why would i suddenly exit my ice cream experience?

The point of that particular ad is likely less to get you to click and more to remind you that Chevy exists and is important. So when you go buy that new or used car, Chevy goes through your mind at least once, and you subconsciously have some trust in the brand because you are reminded of its existence through various outlets on a daily basis, which is naturally comforting when done correctly.

It’s not really any different from seeing a Tide laundry detergeny commercial while watching South Park. What’s tide got to do with a cartoon, and are you going to run out immediately and buy some Tide during the break? No, but next time you go to the store to buy detergent you’ll see Tide and while you might not buy it you’ll at least be familiar with it in a relatively positive manner, which for most will make the chances of them buying it higher.
Very good to hear! That alone makes me root for you guys.

Edit: BTW: If you really get a project going, make sure to inform us how to chip in (at least in monetary way, if nothing else. I'd like to be able to pay anyone who tackles this a beverage of their choice ;-) ).