skysight-inc/HackerNews huggingface dataset:
One of the potential problems here is the fact that even just inspecting the "curl" result of the file can trick sysadmins into executing code they did not wanted executed.

Imagine the following scenario:

$ curl something.tld > installer.sh

$ cat installer.sh

"Hey, that looks safe, I'll go ahead and execute it".

$ bash installer.sh

If the install-file had terminal escape sequences, it could have been used to trick anyone into executing code they had no intention to execute.

More here, if you're interested: https://ma.ttias.be/terminal-escape-sequences-the-new-xss-fo...

Bottom line: assume everything you download from the internet is malicious in nature and inspect it with every possible tool you have available. And even then, run it in a sandboxed environment wherever possible.
I suspect that image was sent back uncompressed.

You can very clearly see (12!) layers of the atmosphere in this photo:

https://www.nasa.gov/feature/pluto-wows-in-spectacular-new-b...
tedu is talking about OpenBSD, which doesn't have GNU ps; but OpenBSD does have a pstree package (which should output something like http://s0.cyberciti.org/uploads/faq/2014/02/pstree-outputs.j...). Of course, that's less educational.
It is also a lack of civic society. There are not enough mainstream organisations fighting these issues.
i think if you have trouble coming up with things to write about, your problem is not on the writing portion. i don't know how other people do it but for me, im constantly thinking and questioning things everyday (obviously the best times is outside of work but even work springs ideas into my head). even as you read books and other interesting content, you should be consistently thinking and not sucking it in. hopefully that helps.
Labs64+NetLicensing+is+going+FREE+|+TechExpress
HTML5- Key programming with tones
My dad was in the RAF in WW2 and I do have vague recollections of playing a game like Ludo as a kid - maybe it was this.

[NB One odd thing that my dad picked up in the RAF that was a bit unusual was a love of Homer - he was stationed somewhere in Arctic Canada with an Oxbridge classics don].
So open it in an editor?
I would love to know whether the distribution of 'superforecasters' on the political spectrum is much more narrow than the general population.
Pulling Back The Curtain On DARPA, The Pentagon's 'Brain'
Google has dominate market share in critical technology markets; smart phone, search, online advertising. Apple has minority market share in pretty much all their markets.

Microsoft had over 90% market share at the time they used their free, and really crappy, IE to pretty much destroy all other browser developers.

It's not anti-trust unless it hurts consumers. Being forced to develop on Apple software/hardware affects consumers not at all. What harm is resulting from being forced to use a webkit browser? Being able to load only apps vetted by Apple would also be difficult to show harm given all the malware that keeps popping up on Android.

Apple is only 38% market share, Google is ~60%, it's right in the article. World wide Apple is only 18%.

I know people hate Apple but really, can we stick to hating them for the crap they actually do.
Yes, or view via `less` or a hexdumper.

But how many sysadmins do you know rely on `cat` for their day-to-day use? Too many, I reckon.
Never mind that if you want to find out what is hogging the ram, there is about:memory.
> I do run a business and do believe that Haskell gives me a competitive advantage, of a sort.

Wow, nice! :-)
It's even a bit worse when looking at it from a fail-safe point of view. To turn the bluetooth and wifi off, 3.3 Volt has to be put on the pins. Giving no power on the pins turns both devices on.
The SOURCE.md file only lists Natural Earth.
There's a cultural impact - it's hard to look at Rails without being pushed in that direction.

Does it directly impact me now that I choose to ignore it? No. Does it impact a newcomer, particularly one that's into JS? Yes.
On my linux machine I run 8-10 dedicated xterm windows, each runs a tmux session [1]. So the way I would solve this problem for me would be to grep the process' /proc/$pid/env for its unique identifier.

[1] https://github.com/holygeek/wmgr/blob/master/xterms.conf.pl....
Unlike with iOS or Android, in HTML5 invasive APIs (including notifications) are all opt-in. Each permission is granular, instead of needing to choose between granting all permissions an app requires or none. IMO this is a massive improvement.

Although you could grant notification access to an app and then it could become a bad actor, I expect on the web you will be able to be far more choosy about granting access than with an app.

I believe Android is doing something to bring in granular permissions, there was discussion at Google I/O this year.
If this is your logic, you should be riding a motorcycle!

https://www.quora.com/Motorsports/Is-MotoGP-more-dangerous-t...
People can decide to drive or not drive. Or at least decide to drive less. Kids with asthma and elderly can't decide not to breathe. Although evidently VW was content to effectively encourage them in the direction of not breathing.
One of the world's best-funded Bitcoin companies is running into trouble
Cold, hard data: inside Facebook's Swedish hub near the Arctic Circle
When I am stuck on writing essays for a deadline I start by reading one or two new articles on the particular topic I want to write about. Then I take relativly detailed notes on the best article I read. I then spin those notes out into exposition of the topic considered.

At that point there will be bits of the topic that I don't think any of the articles captured completly or parts where I agree with one and not others. An original point of view comes out of the synthesis.

If I am struggling at the stage where I spin the notes out into exposition I follow a relativly simple framework that forces me to keep writing. I learned it for exams but I think it is pretty versatile and adds clarty where otherwise you would be waffeling: DICE

>>Define: Define the view / theory / idea / term under consideration. Sometimes this will be pretty involved and amount to the meat of your exposition. If it is getting too long though then you should break the concept up and DICE individual parts as well as the bigger picture.

>>Ilustrate: Give an example of the thing under consideration in non abstract terms.

>>Contrast: Define the contrasting ways of understanding or a competing theory or an example of something that isn't covered by the theory.

>>Explain: Explain what motivates the theory you are considering and why it is different from alternatives.

After doing that for all the parts involved in the topic I usually have some areas that the original articles I considered didn't touch on. Then I get into evaluating.

People imagine that originality is blue sky thinking. Occasionally it is. But usually it is adding clarity or going further than someone already has on a particular topic or presenting old ideas in a new light. Often times a good reading of existing views adds light where a radical new approach just adds heat.
Groupon is shutting down in Thailand and Philippines
The 5 point racing harnesses have a very easy to use quick release on it, as it releases all the straps at once. You don't have to unthread your arm from it, like you do with a typical car 3 point system, and the release on typical auto belts is inferior. The webbing is narrower and thinner, too.

I wonder if that was a factor in the Volvo study.
Very interesting. I'm always (ab)using cat for this, and I keep meaning to stop, but I forget. After seeing this I'll definitely stop.

Thanks!
> Is this still true of C code that doesn't call back into Go code, like libc itself? The Go garbage collector will never get triggered, and any Go code should treat anything below %esp after the call completes as uninitialized data.

I should give a more thorough explanation.

If you call C code, the only way that would be useful is if we pass Go-allocated buffers to the C code. This only works if we pass to the C code untyped uintptr's, which must live on the stack because of garbage collector reasons.

In your hypothetical world, you want to call C code on the g stacks. This can only works if the g stacks are copied into a larger stack. The stack copying mechanism inspects the stack map to see which pointers need updating. This stack map is also used by the garbage collector, but I shouldn't have mentioned it in my original post.

The stack copying mechanism can't update the untyped uintptr's living on the stack, therefore you can't call C code on the g stack.

There are other reasons why calling C code on the g stack would be a bad idea but I won't get into them. Final point is, C code is called on the system stack.

> (Also, on Windows, don't actual system calls reuse the same stack, too?)

Which stack and which system calls?

On Windows, target calls are made on the g0 stack, which is the thread stack. These calls are just calls into regular C code, most of it in kernel32.dll, some of it in ntdll.dll. This C code will eventually do system calls. Those actual system calls don't need any stack.
If there's one thing we've established by now, it's that unsolicited instruction doesn't work:

* Merrel et al, "How effective are school bullying intervention programs?"

* Smith et al, "The effectiveness of whole-school antibullying programs".

Not to mention all those ant-drug classes they have in America that don't work.

It's true for academic subjects too. The declining interest in science as people go through school is well-documented:

* Eccles et al, "Negative effects of traditional middle schools on students' motivation",

* Harter, "A new self-report scale of intrinsic versus extrinsic orientation in the classroom",

* Lepper et al, "Instrinsic and extrinsic motivational orientations in the classroom: Age differences and academic correlates",

which, together with this result:

Vedder-Weiss and Fortus, "Adolescent's declining motivation to learn science: Inevitable or not?",

proves that it's the schooling that's causing it, and not, say, a natural part of growing up: this last paper uses schools that don't teach you anything you don't want to learn (democratic schools).

(I think that compulsory, curriculum-based computer programming stuff should be kept out of schools for this reason, too.)

Since democratic schools are private schools, you could make the argument that there's a socioeconomic status thing involved, where rich people "are just smarter". I'd counter by saying that homeschoolers don't show any significant variation in academics w.r.t. wealth, and that I don't see any reason why it should be different for democratic schooling, which is practically group homeschooling.

> Uneducated about reality, as you would expect at that age

People would know more about the real world if they weren't stuck in a building all day.
But Trulia/Zillow provide pretty good information on Urban market. What's missing?
rightmove, zoopla?
I use urxvt with Terminus. It's great.

...did you know that it supports rendering italics? Not particularly well, mind, especially with bitmap fonts, but it's there:

https://goo.gl/photos/pJtpccV8GX9QFkhn6
I would. Just need to re-quote every 3-6 months due to floating quotation, but ok.
Here we go again. A group of smaller companies that can't compete on their own merits point the hapless FTC in the direction of the most successful company, paint them as a monopolist, and sit back and watch the fun. Sales of popcorn must be soaring.

The notion that "bundling" is anti-competitive is so 1995. No one in the real world minds bundling, no one is hurt by it, and everyone would be inconvenienced by some kind of unbundling solution to satisfy the 10 people in the world who oppose Google's right to package its services together.

There are real and egregious abusers of the system--bribing federal judges, giving kickbacks to food inspectors, paying off legislators and Congressional staffers to slant the laws and regulations in favor of a particular supplier--and these do hurt honest competitors and cause us all to pay more for goods and services.

But to go after a large company merely because it's large and influential and highly successful... These regulators are simply out of control.
Going through anyone's things (digital or physical) without their permission is obviously very wrong. But can I ask you what kinds of things you have on your computer/phone that you don't want you BF to see?

Edit: My girlfriend and I have permission from each other to go through each other's phones/computers etc. and as a result of that we don't feel like the other person has anything to hide, and it brings us closer to each other. I have no interest in going through my girlfriend's phone/laptop, but if she refused to let me do that it would instantly bring up red flags that she doesn't trust me and that she can't be open with me. That's not the kind of relationship I'd like to be in.
Curry houses & chinese restaurants. Pizza Express, Ask, Nandos: so many restaurant sub sectors have been taken over by chains running economies of scale. Why not Indian and Chinese?
One issue they don't address is one of culture:

curl|bash is much less secure, in general, than using your package manager (since not everyone will serve downloads over HTTPS, and won't take the steps described in the article etc.). By encouraging it, they are making this method normal, when it shouldn't become normal.
I'm afraid I don't really write enough to comment on how you should get started. Or rather how you should get finished. The idea of noting down ideas, snippets in a book (or digitally) is good. I have a couple of rats nests of small items, and todos, ideas -- 2/3s in various ColorNote[c]s on my Android -- the rest in text files in a mercurial repo).

If the idea you note down is any good today, it'll be a good idea tomorrow too. And a year from now.

If you have enough good starting points, actually spending some time writing out an essay from them becomes easier. Remember you'll probably want to do at least three re-writes if you're hoping the result is going to be any good. Lots of people don't do that -- and it shows. Most half-decent blog posts would've been a lot better if the authors took the time to rework them a bit more. Or, according to Hemmingway: "“The first draft of anything is shit.”

So with the caveat that I don't actually write much (yet?), the best book I've read on writing is: William Zinsser's "On Writing Well":
http://www.amazon.com/Writing-Well-30th-Anniversary-Edition/...

Highly recommended for anyone that have to communicate in writing (ie: everyone).

> I don't have anything to say to people who know less than me, because explaining obvious things seems boring, and I don't know what to say to people on HN/LessWrong, because I feel like they are smarter than me and already know everything I am about to say.

For essays, it can be good to write for yourself. To yourself, or someone much like yourself, but someone who's perhaps not yet encountered one particular idea, one particular technique -- one particular subject.

That usually gives a good framework for avoid "talking down". Write to yourself of one, two or five years ago. There will be many that don't have that last year, years of experience and circumstance that led you down the path to were you are now. Perhaps such a perspective makes it easier for you to share something?

[c] http://www.colornote.com/download.html

I mostly use Colornote to keep track of ideas, such as app/application/project ideas along with a couple of bulletpoints (eg: Reinvent email: look into alternative client/server sync such as jmap; store email in normalized sql db?; document db?; store attachments based on content hash? (free de-dup); Store email body as same? (Good for multi-user server support for mailinglists ... etc))
use `cat -v installer.sh`

-v Displays non-printing characters so they are visible. Control
characters print as `^X' for control-X, with the exception of the
tab and EOL characters, which are displayed normally. The tab
character, control-I, can be made visible via the -t option. The
DEL character (octal 0177) prints as `^?'. Non-ASCII characters
(with the high bit set) are printed as `M-' (for meta) followed
by the character for the low 7 bits.

http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/...
But you're still only increasing useful energy by a few percent. Surely that's the interesting quantity here.
That's great. Please don't forget to finish the C99 implementation!

For tiny values I really like being able to use int arr[runtime_size]; rather than risking buffer overflows with int arr[MAX_SIZE] or arr = malloc(size * sizeof(oops)); — and MSVC is the last compiler that still doesn't support that.
I get the thrust of the argument but I think this does gloss over some differences:

> The web sites for Firefox, Rust, Google Chrome, and many others offer an HTTPS download as the primary installation mechanism. It’s even the standard way to install most Linux distros in the first place (by downloading an iso from the web site).

Yes, but these usually also come with checksums. If I can verify these through any other means I know that what someone else got was what I got too.

> Certificates on the old key expire in about a month. The auto-updater will begin using the new key as soon as it has installed an update that is aware of the new key.

I'm not sure I follow. Your key is compromised, you swap out for a new one, but this new one will only work after installing something signed with the compromised key?

Is there any way of updating the trusted keys before installing an update?
From the article:

> [...] This is not an overstatement: building 50+ hardware products a year as a startup is the modern-day version of gluing feathers to your arms and flying.

> It may sound harsh but at nearly every step of the way, the loftiness of Quirky’s ambitions far outpaced the laws of physics. The 6 year journey of the company was a balancing act between an extraordinarily bold vision and a fundamentally broken business model.

I'm feeling a disconnect here. It's important for everyone involved in something like this to what to put the positive spin on things. But, how do we say "founder with perfect background", "stacked board", "exceptional team of ____", "top-tier investors", yet have them all part of a company that utterly fails to understand some fundamentals of constructing a healthy business?

If a founder has the perfect background, they know roughly how much of the elephant to bite off. A stacked board would know when to redirect the actions and efforts of their operating team wildly throwing themselves at any effort they dreamed up. Exceptional engineers and designers see a flood of independent projects and say "no."

It's easy to hindsight a failure, for sure. But maybe we could be more honest with ourselves and talk about a team that and some lessons to learn, and did just that. I feel like we're often asking too much of young startups like this -- everyone has to be a visionary or a rockstar, every engineer needs to come from Stanford or name-a-school, every board stacked with billion dollar tech board members.

Maybe we can instead let "we had a team with promise and opportunity" be enough?
> proving by manipulating Haskell expressions certainly compares favourably to proving with TLA+ and then translating into Haskell

Yes, but you don't prove the same properties with Haskell as with TLA+ (in fact, I think that there is little overlap if any in practice). Most properties proven (well, maybe not proven but satisfactorily verified) with TLA+ (or any other sophisticated verification tool) just can't be proven in Haskell. And, again, I even prefer TLA+ to JPF (which is the tool I've had most experience with) which verifies Java bytecode directly because so far I find it more effective to verify only the core components of the algorithm. Verifying the details is usually a waste of effort (they both make the verification harder -- either harder to prove if you're doing a formal proof, or much longer to run in a model checker -- and they are easy to verify by other, informal means).
How long until they just send armed drones automatically after them based on the software's algorithm? 10-20 years?
MSVC has those things.
__popcnt64
__mm_add_ps etc..
or do you mean something else?
There's a reason why they don't turn off the seat belt signs on planes until the plane's at the gate and the engines are off!
No, that's probably just by convention. If it's strictly an input then both directions are just the same in terms of safety. It's just sometimes more convenient to only pull things down or up and have a resistor provide the opposite pullup/pulldown current.

Maybe it was chosen because the "high" voltage isn't specified and the standard might say: "Pull down to GND to activate, leave open to keep card off." Then you don't have to think about the internal logic voltage of the circuit, you might fry the card if you pull up to 3v3 if the logic input is only 1.8V tolerant.
> as we pushed the design envelope further on our stories, we were constantly running into the technical limitations of the app approval process. While we could develop, deploy, and—if necessary—repair new code instantly on the web, any change to our apps required re-submitting it to the app store in question.

It's possilbe that if the design changes are only on the javascript side that the app could just download those instead of them having to be sent for review.
Thanks. Very insightful and informative. Great input.
>My favorite C language extension is SIMD vector arithmetic with infix operators. You can get really pretty and portable (!) vector math code written in Clang and GCC using vector extensions, but again, it's not available in MSVC.

Forgive me as I might be wrong but aren't system intrinsics the same in each compiler? I was under this impression as I wrote a lot of SSE2/3 C99 code for the GCC using MSVC++ documentation it compiles/runs without an issue. (This also before finding the MMX/SSE/AVX docs that intel has which are beautiful).

I mean the function/variable type names (for x86_64 at least) are the same for Clang/ICC/GCC/MSVC.
A very cool project to change the mindset of front-end developers!
I agree with your point, but Microsoft, and Windows, was, is and always will be way bigger then OSX or iOS. iOS is tiny compared to Windows
"Biggest single vendor" perhaps, but certainly not a monopoly on smart phones, nor smart phone operating systems, nor smart phone apps ...

Just because they take the lions share of the industry's profits doesn't mean that they sell a monopolistic number of devices.
I'm not sure exactly what the grandparent was trying to say, but seat belts became mandatory new car features in the US back in the 1960s. Airbags became mandatory new car features in the early 1990s.

On the other hand, I believe seat belt usage was still under 50% in the early 1990s [1], when the airbag legislation was being written. (I was born in 1970, and the first time I remember wearing a seatbelt was the summer of ... '85? Getting a ride from a high school friend to football practice every day quickly made me a convert. :) )

[1] http://www.freep.com/story/money/cars/2015/07/30/michigan-se...
Tracking nanowalkers with light