skysight-inc/HackerNews huggingface dataset:
> However, I am not sure that this is truly the order of things, at least for me. I observed that, even when I studiously avoided negative thoughts like this, the underlying emotions were still often present. Being confronted with a social situation produced a physiological response that included anxiety. I might consciously rationalise that response with a thought like "this is a social situation, and social situations make me nervous", but the underlying response existed regardless.

This was an issue for me and I asked about it. Will I ever be able to experience the situation without having to use CBT to deal with it. The response was you need to practice. Using CBT makes it easier for you to confront the situation and makes you less likely to excuse yourself from it. And over time the situation will become more normalised and those emotions will go away. Personally I have found that to be true. If I ensure I regularly engage socially the emotions are rarely bad. If I fall out of practice for a month or two it is a struggle at the beginning again but eventually with enough practice I'm fine again. So the CBT isn't a cure but a tool to help you engage in the situation instead of avoiding it and then over time the emotionally response improves. Just like if you start a new challenging job you might be nervous you don't know enough but you learn and slowly it becomes easier until you reach a point where you have no 'negative' emotions going to work everyday.
I never thought about it before but now I wonder if I should have a small stock just in case. Nothing serious, maybe 2 weeks worth of stuff to live on. That I can have and forget, not maintain indefinately. Anyone have something like that? Any tips?
Rio closing ceremony: So you won an Olympic medal. Now what?
That notebook is great! thanks for sharing.
It depends on how you think objective-c's UX is bad. Smalltalk's syntax is much simpler than O-C's. It has three message passing formats:

object message.
object + arg. "There are very few valid names for these sorts of messages"
object argNameOne: argOne argNameTwo: argTwo.

Double quote is a comment, period is the statement delineator, and semicolon is the cascade operator, allowing you to send multiple messages to one object. It has a block (or lambda) syntax similar to Ruby's, although multiple blocks can be passed to a function.

This is pretty much all of SmallTalk's synax. Yes, really. There's also syntax for local variables, and returning values from method calls, and maybe one or two other things. That's it.

It should also be noted that Smalltalk is inseparable from its IDE and image. GNU Smalltalk tries, but it's not the same. To speak of one is to speak of the other, so I shall speak of both.

Smalltalk code exists entirely within its image, along with all the tools that make up the IDE. It's sort of an OS in and of itself, although you can interact with the native system. The practical upshot is that when you edit smalltalk code, you have all the source code for the entire implementation along for the ride: You can not only query Smalltalk about your own code, you can query it about itself using the same mechanism. You can also edit and debug your app in real time, as it runs. Smalltalk's debugger allows to to inspect every single stack frame, and make changes to your source as necessary. You aren't editing text that will become objects: You are editing objects. And because the entire system state is saved to the image, none of the changes you make to the running code will be lost, unlike most Lisps, where changes you make at the REPL go away as soon as your app shuts down. It's truly unlike anything else you will see.
I'd imagine that most people would have enough food to last for 10 days in their pantry, fridge, and freezer.

Obviously, the water part is a bit different, most people won't have 15-odd litres of water just sitting around.

I'm fairly sure that most countries advise residents to keep 3 days supply of food and water stockpiled, or maybe it's just the countries that are disaster-prone.

More interesting than the food stockpile though:

> and pressed for plans for the military to train more closely with police in preparing for potential large-scale militant attacks.

Isn't the military constitutionally barred from operating domestically in Germany?
OS X can only scale by powers of 2. If your monitor runs at native 4K (3840x2160), scaling ~1.28x renders to 6016x3384 and scales down by 2x to 3008x1692. Your example is at 1.5x (2560x1440), which renders to 5120x2880 and scales down by 2x to 2650x1440. The most efficient scale is 2x (1920x1080) because that can be rendered natively. So while you can have arbitrary effective resolutions, it's rather wasteful to render and can have serious performance implications when you're not using native or powers of 2.
Whenever you hear something batshit insane about Missouri, it's probably safe to assume it happened in St. Louis County. Since splitting from the City in 1877, but especially since the Depression, the County has been an ongoing experiment in racism, poor governance, and predatory enforcement. There is no square meter of the County that isn't already oppressed by so many cities and villages and districts and commissions that it couldn't be split up for additional oppression. For decades, the first response to any political dispute has been to create another tiny little village or district or whatever. It's no surprise to find that one of these tin-pot dictators has been inspired to send people to jail for landscaping he doesn't like.

I'm not saying that we don't have problems in the rest of the state, but somehow we generally avoid reports like the following:

https://www.washingtonpost.com/news/the-watch/wp/2014/09/03/...

(I don't feel about disclaiming St. Louis County: just ask them if they'd like to be associated with us hillbillies in the Ozarks.)
> Isn't allocation just a couple instructions for basically GC languages?

If those GC'd languages have a precise generational GC with bump allocation in the nursery. Go doesn't (and the proposed GC design doesn't allow for this, unfortunately).
That FB hand-off page has an annoying auto refresh with NoScript enabled.

So, here's the PDF it points to. I guess I'll change it from linking the PDF document to a link to its abstract page, while I'm at it.

http://arxiv.org/abs/1607.01759v3
Sometimes a picture is worth a thousand words.

http://m.imgur.com/Owxi9?r
Maybe not $15k but developers frequently have much more powerful (and thereby more expensive machines) than the users who use those apps. Many of the developer machines at work have 16 to 24 gb of ram, SSDs and very fast CPUs. Our customers on the the hand might be running machines with a non SSD drive and 4gb of ram (or less??).
Neat idea! I've been using it for the past few weeks and really excited to see the community grow. Recently talked to Laser (founder) about the direction he's taking it. Looking forward to Websee becoming more community based and being able to implement your own ranking algorithms on the data!
>I'm fairly sure that most countries advise residents to keep 3 days supply of food and water stockpiled, or maybe it's just the countries that are disaster-prone.

The developed ones of course.
Having grown up middle class in Canada, I don't know anybody that went to America for "major surgery". Generally speaking where that does happen is with elective surgery, because wait times can be long in some places. Those people are usually not middle class either, I don't know many middle class Canadians with $40k on hand to drive down to the states for surgery.
Also, the original Lucasfilm Commodore 64 games, such as Maniac Mansion, were cross-compiled on UNIX workstations, transferred over the network and uploaded to running C64s — way back in 1987! (Source: The Thimbleweed Park podcasts [0], which I highly recommend.)

[0]: https://blog.thimbleweedpark.com
>> "The problem with CBT is that it tries re-frame situations using a logical explanation to people who don't know how to talk in logical terms to see things from a different perspective."

Not BPD but my experience with CBT and anxiety was that I could see my response was illogical but I didn't believe myself it at the same time. So when the therapist asked about this assumption I had that influenced my thinking he was able to show me it was illogical, I was able to say 'I know in my head', but at the same time - I don't believe you in my gut. His solution to this was exposure. If you are put in the situation and you personal assumption is proven to be untrue or it's is sufficiently challenged enough times then you can start to believe it's illogical.
German speaking here. It's important to know that there are regional (Landtag) elections coming up, and the right-wing AfD tries to paint current politicians as a bunch of incompetent people incapable of providing security for the German people - and the established politicians react with populist stuff like this and the idea of forbidding double citizenship and Niqabs.

Everything that sounds like populist bullsh*t coming from Germany should be regarded with the elections in mind.
I feel sick when I read this. This is just horror that we are willingly bringing upon ourselves. It's simply sickening.

So many bad things in history we couldn't prevent, we couldn't foresee. We already know how this will end. And nobody will stop it, it seems.
> Nim is a very good language that actually accomplishes the simplicity Go wanted imo.

Coincidentally, I just looked at Nim this evening, wrote some code and came away with the opposite impression. I'll copy-paste my sort-of-blogpost on this from [1]:

Nim itself feels a lot unlike Go and, interestingly, a lot like C++:

1. Non-orthogonal features. In C++, there are references, which are like pointers, but not quite, so you always have to think about which one to use. In Nim, non-orthogonal features include tuples vs. objects, and sequences vs. openarrays.

2. Feature creep. Just look at the language manual [2]: generic functions, type classes, 10 calling conventions (10!), garbage collection (not sure if optional or not), inline assembler, operator overloading, exceptions, an effect system, AST macros. Name any contemporary programming language feature, chances are that Nim has it.

Then there's the documentation. The language manual [2] is okay-ish, considering the size of the language. But when I dive into the library reference, the built-in module "system" [3] is so outlandishly huge and the documentation so badly formatted that it takes a lot of hunting to find what's in this module (and what isn't). Just look at all the duplicate entries in the navigation bar on the left. The system module should definitely have been split into multiple modules for the multiple concerns it covers, possibly with reexports in the actual "system" module to make sure they're all imported by default. Some parts should just be moved out of it, for example the whole file IO business belongs into "os" IMO.

Another thing that concerns me about the standard library is how many duplication is going on in there. There are at least 4 different XML parser AFAICS, and two regular expression libraries, both based on the same backend (pcre). This might be the same confusion that most languages suffer from in their pre-1.0 stabilization phase, but especially then, it's a strong argument not to use the language in production pre-1.0.

The thing that really killed it for me that I was able to produce SIGSEGV by accident, without the compiler warning me about it. I think I wrote something along the lines of:

type Config = tuple
someSetting: string
anotherSetting: string

proc readConfigFile(path: string): Config =
var file = open(path)
defer: file.close()
# TODO: implement the rest
var cfg: Config
return cfg

var cfg = readConfigFile("./example-config")
echo(cfg.someSetting) # this produces a SIGSEGV; probably because
# the memory backing `cfg` is not initialized

In 2016, I expect any new language to warn me about (or outright refuse to compile) code that might access uninitialized memory or do any other unsafe stuff, especially for a program that will run as root.

[1] https://github.com/holocm/holo/issues/8#issuecomment-2412822...
[2] http://nim-lang.org/docs/manual.html
[3] http://nim-lang.org/docs/system.html
Most Americans who lived through the Cold War probably have some advices to give.
Am I the only one who thinks that a shrinking population might also result in large-scale technological growth?

Scarcity often results in innovation. A finite resource like labor will result in higher salaries due to competition and innovation to increase productivity to circumvent his costs.

Conversely, a glut of labor results in low wages and societal problems as fewer positions exist than job seekers.

This appears consisten historically: After the black death in europe, workers were more valuable and this helped break the chains of serfdom and feudalism.

I am all for a smaller global population, particularly in light of the growing automation I expect to observe in the next 30 years.
> Isn't the military constitutionally barred from operating domestically in Germany?

It is, except for disaster relief (e.g. major floods). During the Munich nazi amok run, the Feldjäger (military police) were alerted, though, and politicians are widely talking about increased cooperation and joint exercises between police and military.
If we could write bpf programs in something other than C, it would go a long way towards opening up eBPF to people who wouldn't be able to write their own scripts otherwise.
But only for those who can afford to stockpile.
Intel has similar issues.

When 22nm came out (for Ivy Bridge and Haswell), replacing 28/32nm, the density of the chip did not go up 45%, but the feature size dropped, thus allowing better power efficiency and lower waste heat.

When 14nm came out (for Broadwell, Skylake, and now the upcoming Kaby Lake), again, the density of the chip did not go up 57%, but, again, better power efficiency and lower waste heat was a noticable improvement.

Chips are not getting faster realistically because of this.

The largest problem that people should be focusing on is not the difference between fab techs (since GloFo and TSMC != Intel anyways), the problem people should be focusing on is, until last year, the largest power user (in desktops, workstations, game machines, and some laptops), the GPU itself, was still fabbed at 28nm by both Nvidia and AMD.

Also, on the server side, the SoCs for HBAs and NICs, the SoCs for drives, are still being fabbed at both 28nm and 45nm.

It isn't that TSMC and GloFo are slow to bring new fab sizes to market, it is that they are prohibitively expensive early on due to volume. As new fabs are constructed, only when "important" chips stop using old fabs do NICs, HBAs, drive controllers, other tertiary chips finally move down to the next size.

And to play devil's advocate, unless you're doing insanity-tier stuff (four, six 40/100gbit ethernet ports; three, four many-port HBA; several dozen drives; "zero" power wireless SoCs running off button cells; high heat tolerance industrial hardware), you don't NEED the improvement in thermals and power usage; only CPUs and GPUs and other math-/parallel-heavy chips need to continually chase that.
https://www.facebook.com/help/contact/268228883256323
> Anyone have something like that?

Yep https://www.reddit.com/r/prepping/
“ THE BOX ANONYMOUS MESSAGING SYSTEM ”
without javascript, cookies or registration!
No need to create an account
http://theboxmmvl6zg3wi.onion/
It sounds like it identifies cases where a secure site attempts to load insecure images, JS, etc (aka mixed content).

SSL Labs tests a hostname and the strength of the connection offered by the server, but not if that page attempts to load mixed content.
Well, food is easy enough - canned food doesn't take up much space and is easy to keep stocked, assuming you regularly rotate through it so that it doesn't expire.

The harder part is water, as just a few days worth of drinking water for one person can take up a huge amount of space.
Also electric cars by law are required to play engine sounds because they're so quiet otherwise
As of iOS 10 autoplay and playsinline on a video element will do what you want as long as the video has no audio track or is muted. No webm of course
we may be fellow travelers

i have noticed you have perceived things others have not,

even though they have seen them with their eyes, they have not seen them with their mind

how would you like to connect?
A Software Apprentice’s Retrospective on Her Mentor
Possession of drugs is illegal in almost every country, but possessing various drug metabolites in your urine is only a crime in a few, extremist countries.
As usual, this depends on the industry. I'm in the cloud infrastructure business (OpenStack, Docker, Kubernetes etc.) and Go is literally everywhere.
Love the idea of reimplementing DNS in Rust. Would love to see more efforts like this so that we have secure-by-design language implementation of core security services.

But BIND isn't just failing because "it's written in C", it's failing because it's written in terrible C. That said, "terrible C" is probably most every C routine written by someone with less than 10 years of solid low level experience, so "writing good C code" is not very scalable. There are active, solid projects with very few security exploits that are written entirely in C. Nginx comes to mind.

The article makes a brief reference to DJBDNS, which is written in C, but has suffered zero security exploits [1], and is extremely performant. And it is being used in production, so presumably if it had any exploits they would have been exposed by now.

But...DJB's code is (usually?) released under a rather unfriendly (though mostly open) license, and DJBDNS hasn't been updated in some time, so a more modern project isn't a bad idea. And Rust developers can probably write solid code with only a few years of programming experience, which makes it easier to extend without adding security holes on a weekly basis (coughBINDcoughOPENSSLcough)...

[1] http://cr.yp.to/djbdns/guarantee.html
Confessions of an Economic Hit Man: Objective Reality vs. Perceived Reality
Here's one of a demo of Lucid's Emacs-based C++ IDE from around the same time: https://www.youtube.com/watch?v=pQQTScuApWk
String theorist Edward Witten says consciousness “will remain a mystery”
Convos 1.0 beta
Those are indeed strong words. Governments in Europe have considerably more power than in the new world. They can do these things - they view statehood as literally the community. Sometimes that has advantages, sometimes not.

Even scarier, is the fact that this is even being done.

Since there are no external threats and 0 chance of environmental disaster (Germany doesn't get floods and hurricanes etc.) - it speaks to a terrorist threat.

Over 1.5 million people flooded into Germany. 1 million official. Of those, only 1/4 were 'refugees' - i.e. displaced people from Syria and Iraq. The remainder were young men from Algeria, Morocco, Pakistan, Tunisia, Egypt seeking a better life.

Of course, I don't blame anyone for seeking a better life, but arbitrary infusion of 100's of thousands of people into farily ethnically homogenous state that already has problems with integration re: Turks, who stand out strongly among other immigrants in terms of their non-integration - is crazy.

'Bleeding hearts' need to be met with 'responsible, pragmatic minds'.

Yes - we need to help refugees. Of course. But we have to be responsible about it.

Angela Merkels unilateral and now unpopular policy of just opening the doors is absurd. She later said she was 'surprised' that so many 'non refugees' would decide to come - which illustrates how astonishingly politicos are out of touch with human nature.

The moment she opened the gates, I assumed the outcome - millions would try to come, by hook or by crook.

Canada and USA are shielded by oceans - but they and the UK have the right approach - they take a specific number from UN camps - such refugees are well vetted, they are credibly refugees and not terrorists, families instead of just young men, and it happens at a controlled pace.
Not to mention SICP, K&R, The Little Books, and EPL
Now 0-for-3, SpaceX's Elon Musk Vows to Make Orbit (2008)
I know a few real people like this. It's hard for them
Software Exploits Aren't Needed to Hack Most Organizations
What is he like in person
Then maybe don't read it? You don't have to read everything on the internet, and besides most good articles can't be summarised without missing all the substance anyway).

The article talks about Gifs, their history and current use, (in the sense that War And Peace talks about Russia and Napoleon). The interesting part is all the info it gives (at length) about them.
Would it not be better if I can run this test locally instead of a service?
More Notes on Vesper
If people are writing code, thinking, "I have no idea what else is stored in this container, so I'll just add an object of type Foo because I can!" then the project has bigger problems than static or dynamic typing.
I really despise this new news cycle, where random conspiracy blogs stumble upon a rudimentary and minor policy change, take it out of context, put their alarmist, sensationalist spin on it, spread it through their blog networks and facebook groups and make it appear like legitimate news. Always under the pretense that they want to educate citizens when all they really care about is advertising money. And 24 hours later the whole ruckus is forgotten and a new piece of information is taken out of context. Most people develop good filters with regard to such news while others don't and then feel like the world might come to an end any second.
A dirty bomb or gas attack would make it very difficult to get supplies to the right place.

If you are 'near' an attack zone, and stay inside your house, you may be able to safeguard yourself from most of the radiation or gas or whatever. But the area may be too unsafe for other people to regularly travel to, in which case water/food will be a problem.

It may take a few days for the gov. to get people geared up to travel in 'somewhat dangerous zones' around the attack with food/water etc..
Chicago’s predictive policing tool just failed a major test
Not only that, his numerous scenes where Jack is writing dispatches, the pains he takes, and the politics of those dispatches made many of these seem almost absurdly familiar in tone having read the series.
Does this mean remoting is available? I can't find anything recent and definitive, but the FAQ still says no. I've never understood how Wayland can even be considered usable without it. "The user owns exactly one computer" hasn't been true for a decade or more.
Ted Nelson would be so proud.

The atomicity of the internet - sealed documents at URLs - is really regrettable. A much more powerful design (although admittedly more complicated) would have been a "turtles all the way down", IPFS-style approach where any asset could be transcluded or linked into. But I don't think we'll ever see it.
I thought DJB generally donates his code to the public domain. Hard to be "friendlier" than that.
Mixed Content is when your site is serving some of the page's content over HTTP, and some over HTTPS.

This is a problem because if any piece of content is served over HTTP, browsers will count the connection as non-secure and will not display the "green padlock".

This is a pretty common problem when it comes to HTTPS deployment. Normally seen with sites that were deployed/designed without any consideration for HTTPS.

Hardcoded URLs, third-party services that don't offer HTTPS, absolute protocol links, and big clunky infrastructure are the most common causes.

Qualy's SSL Labs does not address this. It looks at the site's SSL configuration, not the way content is served. SSL Labs helps you know if there are any issues with your certificate (old signature algorithm, common name mismatch, self-signed, certificate chain issues, etc) and crypto settings (ciphers, protocol version, etc).