skysight-inc/HackerNews huggingface dataset:
On entering Canada, I've been asked to open my laptop, turn it on, enter an administrator level password, and then search for *.jpg. Everything shows up -- cached browser images as well. The agent asked a lot of questions, but I was allowed to pass eventually. This all took place out in the open, where they would normally collect a form from you.

I immediately started using TrueCrypt with the plausible deniability option, which allows you to enter an alternate password to open a completely different part of the encrypted area seeded with some random files that look realistic enough to pass scrutiny.

It was always fun to unmount the volume and remount it with the plausible deniability volume. Or, just shutting down before crossing the border and knowing that, if needed, I'd enter the alternate password.

Recently I started using a Mac and Apple's own full disk encryption, but reading this just highlights the risk. Maybe I should start using TrueCrypt again.

Ugh...it's frustrating.
I use Django and don't mind being tracked if it helps development. However, the proposed tracking sounds like hit tracking which doesn't give you any meaningful numbers only trends. So I think tracking pip installs would give you the same trends.
> This module performs conversions between Python values and C structs represented as Python strings.

You can, but probably it's even slower than doing regular bit shifting operations (<<, >>, &, |, ^, ~)
Yep, an issue with the anchor links that'll be updated soon. It's supposed to just link to a lower part of the page.

If you scroll down you'll see a top-level header also titled "Configure Zipkin tracers" that describes how to configure the Brave tracer. You don't really need to do anything special here - just point your Zipkin tracers at the Stackdriver Zipkin Collector rather than your existing one.
Especially when fixing the grammar doesn't change the overall message of the post. I read it without even noticing the mistakes.
Thanks for the reference. Just to be clear, his point is made with regard to the reality of vacuum zero point energy, esp. whether it should affect the cosmological constant. However quantum vacuum fluctuation (which I read as meaning the virtual particles) is essential to QED whether zero point energy is real or not. As far as I can tell, quantum birefringence also does not refer to the zero point energy.
Considering that NT kernel is a much better design, I'd rather get Linux Mint (with UI) on top of NT.
I understood it as such. Don't let the humor-impared* cramp your style. I'm sure a double-digit percentage of Redis' success is the result of your excellent writing and the character it adds to the project.

*but you could always add a footnote to avoid conspiracy theories about the CIA's efforts to infiltrate your memory reclaiming strategy.
From a SWE that's worked a lot with DevRel: these guys do the Lord's work; I have them in a pedestal. Cloud without DevRel would be like a pharma company researching new drugs, but without doctors that know how to diagnose patients and choose and explain the appropriate combination of treatments.

And they're also the ones that get to appear in most dev tutorial videos!
Apple's Comments on the Federal Automated Vehicles Policy
Weird. I've ordered General Tso's chicken many times, and never noticed any broccoli. Midwest United States thing, perhaps?
Hoping the major version bump means he's merged that tls patch
true, tho slight savings in characters not worth the less-clear definition imo
Sadly, that's not true. Read this paper titled "How the Charter Has Failed Non‐Citizens in Canada – Reviewing Thirty Years of Supreme Court of Canada Jurisprudence".

[1]http://www.fondationtrudeau.ca/sites/default/files/u5/articl...
Last one to implement x86 on this is a rotten egg.
"Matt is coming with us. He said he'd be at four. Jemima is also coming they said they'd be here at five."

Matt is coming at five? No Jemima is coming at five. Matt is coming at four.
Also Sarah is coming with her partner Zoe. Ze said ze would be here at 4 also zey're getting a ride with Matt.

Umm. Ok.

Not to mention that now when I talk about women, I have to also consider every other gender non binary person as requested by OP. He doesn't want it to be essentialized and pragmatically to be inclusive one has to therefore moderate all language relating to gender.

That is a significant cognitive load and I wish people would stop pretending it's simple. I live around and have friends who are trans/binary non gender people and it's hard work keeping up.
I read an amazing book on customer development: The Mom Test by Rob Fitzpatrick - https://www.amazon.com/Mom-Test-customers-business-everyone/...

The first few pages blew my mind. It was a great read all the way through.
The gift of shit
Another developer, who I had out-developed, intentionally sabotaged my code in the wee hours to make me lose face. Fortunately, we had source control, and he was a fool, so it backfired.

Even so, the long-term prospect of not being able to turn my back on my coworkers was not one I welcomed, so I got into independent consulting. Could probably make more working for the man, but I think the freedom of it is priceless.
I think the main problem with GP's comment is that he presented a hypothesis as fact.
I count myself among the skeptics. As others commenting here pointed out, the track record of food science is terrible. And it's true that the incentives guiding scientific publication _about_ food are not directly aligned with the incentives of average Americans _eating_ food (though presumably the scientists also eat....) Publish or perish. Overinterpreted associational studies. Clear accounts of industry manipulating the scientific literature over decades (tobacco, sugar). The endless substances assumed safe but later proven to be damaging to health, sometimes horribly so.

So the recently proclamations of the safety of GMO food, at times made by people with a deep interest in one particular outcome, are rightly received with skepticism. As the election of Donald Trump recently reminded us, the mainstream can be very, very wrong in spite of very smart people expounding its views. It's so easy for systemic bias to become accepted as truth, and so easy to become invested in _not_ seeing that.
Design Challenge – “Innovating Aging in Place” [Stanford Center on Longevity]
Whatever Happened to PaaS? (2015)
The simplest being my proposal that was a variation on my scheme for bouncing packets/messages across many non-cooperating, national jurisdictions a decade ago. That is: diversity with mutually-suspicious or competing parties. The hardware and software comes from different people, fabs, and nationalities. Preferably that compete. You run the same verifiable core on all of them with lots of tests for equivalence. Build non-optimizing compiler in that from readable source. Build optimizing one with that.

With about 5... esp U.S., French, Russian, Chinese, and Japanese... you should be fine. Add South Korea these days with Samsung hardware. The software doesn't have to come from same countries as hardware. Better if it doesn't. All safety checks on in it with POLA enforced at the least. Shady exploits based on language primitives (esp C's) is why the compilers need to be in safe languages.
:)

They needed a syntax that was easy to transform into usage of other Amazon resources. I'm guessing JSON was by far the most straightforward for them, not to mention that they've been using the system themselves for quite a while. But I'm just guessing.
Wait, did they just made a Lisp in JSON?
That would give you a string, right? Are you suggesting something like concatenating five numbers into a string first?
Unusualdough.com the gift of shit
Either I don't understand something or the Resulting bytes after c should be '11100100' and after d should be '11100110'.
Regarding the "interest over time" graph, it's fantastic to see people designing graphs that are just as meaningful for the colour-blind as they are for those of us with normal colour vision.
Oh this is good reading, thanks!
> 1) don't use Google. There must be services that will provide analytics pro-bono/really cheaply for open source/non-profits that aren't tied to a company with terrible privacy track records like Google.

As an occasional Django user -- 100% on this. It's nothing difficult to store and persist some key-value pairs from a POST request, certainly doesn't require Google Analytics.
If you've seen this before, I'd love to know what came next last time. How did this evolve and what were the issues with it?
The images show very tight clearances around the battery (0.1mm is the thickness of a human hair) in plan view (XY). The footnote explains discusses the lack of "ceiling space" for the battery to expand into, which mostly happens in Z (the thickness of the phone). In Z, the design is line-to-line.
If you have a long-lived functionality in your Go program that needs buffers, it may just be best to allocate a pool of buffers and reuse them. Go does offer a basic primitive for this with sync.Pool

I once wrote a high throughput UDP listener that maxed out all the cores to deal with receiving some bursty UDP traffic. I realized that interacting with the memory allocater was my bottleneck, so I just moved to a pool of UDP buffers. My ability to deal with load spikes improved substantially. There's no reason not to use Pools in general if you're building a service with a predictable and repeatable object lifetime
Any performance comparisons to vanilla MRI, JRuby or JRuby Truffle+Graal?
If you're provisioning lots of Windows machines, why not just make these two commands part of that process?
I got called for jury duty this week... They wanted me to participate in the persecution of someone who might have committed a victimless crime. dontsuemebro [dsmb] is down at the moment, but I'll edit this to add a link to my diary (dsmb is a scoop site for kuro5hin.org [RIP] refugees).

Edit: https://dontsuemebro.com/story/2016/12/1/52559/5084 (I grabbed the link on my phone before moving to my keyboard for this post, and saw the dsmb webmaster's diary grumbling about having to move hosts, again. the site should be back up in a few hours, or by tomorrow...)
Hi, I'm Anna Shedletsky, the author of the post linked above. I spent six years as a product design engineer at Apple, designing very similar products and making similar design decisions that Samsung engineers needed to make.

Typical smart phone / tablet type products use a stamped metal frame ($) to stiffen the product and support the display. A few phones use die-cast magnesium frames ($$). A CNC'ed pocket ($$$$) is a significant cost adder for this product (larger starting billet, longer cycle time, and thousands of CNC machines required) -- so this choice was clearly made for a reason.

Additionally, the fact that the battery is surrounded on five sides by a machined pocket cuts into battery volume -- most products just rely on an air gap (0.5-1mm) between the battery pouch and the next nearest component that could poke it during assembly and usage. Take a look at some other product teardowns on iFixit, and you'll see this (example from iPhone 7: https://d3nevzfk7ii3be.cloudfront.net/igi/fJI2bhqYXg4CMNPi.h...)

They added significant cost to the product and sacrificed a little battery capacity to have that pocket. I hypothesize that it was for battery safety given the aggressive design.
Eaten by a Grue: podcast on Infocom games, text adventures and interactive fiction
They're also relatively short-lived due to the low orbit.
My first time visiting the US was by car, as we planned a road trip to visit some of the bigger cities and parks along the way.
We were held for 2 hours at the first border crossing, since the agent processing our paperwork believed the address we provided for our first stop was made up: "There is no address in SF that is just the number 1, it's always in the hundreds.".
We were being treated as if he had made his catch of the day and we'd be denied entry, or worse, any time now.

They had to verify the address (surprise, some streets start with the number 1, who would've thought?) and then another officer gave us the needed visa and let us into the country, all the while the original officer was glaring at us as if we somehow managed to find a loophole to gain entry into the country.
If you're working on a project that is not above your competency level, then you're wasting your time.
I like that you are assuming the complexity of 1M TPS without any context what so ever.
I see what you're saying. If it helps, remember that impostor syndrome is a real thing, and that many that work at Google failed their first interview too. I think the hiring process if biased towards avoiding false positives at all cost, which means it has many false negatives.
is there one for startups?
Is that really less clear?
I think the point was that it was an answer to the jail threat...
Write Your Thoughts to President-Elect Trump and Secretary of Clinton for Free
You could have made the exact same case with the exact same chart in June/July 2014, after which the Bitcoin price crashed.
"The Step Functions free tier includes 4,000 free state transitions per month." .. "$0.025 per 1,000 state transitions thereafter"

So Amazon has created a new calling convention, where conditional logic now also requires a context switch and JSON serialization. Then they charge you for the call .. $tdcall?

This will certainly have some useful applications, maybe someone will build an inexpensive data processing pipeline on top of it. Having seen many visual workflow tools through the years, most are simplifying complex underlying process, but these step functions and state transitions are modeling basic internal control flow with complex abstractions and little benefit other than retries with backoff.

The pure functional immutable nature of the data flow is ideally nice but tainted by the JSON. The parallelism is interesting, but it seems bolted on instead of a more powerful central part of the design.
My younger son lives in this kind of limbo existence. As a former green card holder, I have to file US taxes, but since my son was born in Switzerland to non-US citizens and never lived in the US, he's not eligible for a SSN or ITIN, so I can't claim him as a dependent.
> if you wanted to maximize your border security... it's perfectly logical

If your threat model is that someone capable enough to take down a flight is dumb enough to keep "plan_to_takedown_flight_123ABC.pdf" on their laptop, then it's logical. Otherwise you're wasting resources and _minimizing_ your security.
Where you can, you should use struct. For example, decoding a 32-bit integer in struct is faster than doing it manually:

In [11]: %timeit hex(b[0] | (b[1] << 8) | (b[2] << 16) | (b[3] << 24))
The slowest run took 6.89 times longer than the fastest. This could mean that an intermediate result is being cached.
1000000 loops, best of 3: 715 ns per loop

In [12]: %timeit hex(struct.unpack('<I', b)[0])
The slowest run took 8.77 times longer than the fastest. This could mean that an intermediate result is being cached.
1000000 loops, best of 3: 587 ns per loop

The resulting code is also going to be cleaner, especially if you end up needing to unpack multiple members at once, which is common when parsing a binary file.

The struct module is, I believe, written in C. (Pedantically, the struct module isn't; the C module _struct is hidden/private, but if you open the source for struct.py, you'll see it referenced.)
I live in the Midwest and I've seen it both with broccoli and without. PF Chang's which is one of the higher end nationwide chains has it with broccoli. Their version is called General Chang's.

http://www.pfchangshomemenu.com/entrees/general-changs-chick...
The struct library is great for decoding binary file formats, but it has no facilities for sub-byte packing such as what the article talks about. But if you have a structure composed of little or big-ending encoded 8-/16-/32-/64-bit signed/unsigned integers in a file (quite common) … struct is amazing.
What's the ideal number of languages, in your opinion, and in what year do you imaging we passed that number?

There were "too many languages" before C was even conceived of. If that were a reason to not use new languages, you'd never even have heard of C.
I /think/ (with only anecdata) that this only comes up when you try to convert.
There are cycle collecting reference counting algorithms, that due a limited trace within a subset of the object graph to detect and remove cycles.

I am still not clear on why Apple didn't go that direction.

Reference counting will still potentially pause though, when freeing large graphs of objects.
Bitcoin (and most other things in finance) is best understood on a log plot.

https://blockchain.info/charts/market-price?scale=1&timespan...
Him/her/them/per/xem/...

https://uwm.edu/lgbtrc/support/gender-pronouns/

Do try to be inclusive when making a point about how happy you are to be inclusive.
Exactly. This topic has come up on HN before and we've had HNers tell even more horrifying stories than today and nothing comes of it. Getting an attitude and trying to appeal to your legal rights will just embolden some of these powertripping authority figures. It's best to come prepared, either with a TrueCrypt plausible deniability type solution or just by wiping / clearing out your OS beforehand. I chose the latter option when I flew into the US, because I'd imagine even FDE might look suspicious enough to warrant getting hastled or detained.
Lions > Sheeple
Another applies to every president statement, made alarmist because Trump. Can we focus on real issues before the signal to noise ratio gets worse? God forbid he does do something awful, would we just see it as more clickbait at this point? Reminds me of a story about a wolf.
The Beautiful, Stunning Move Magnus Carlsen Won With
Indeed and you really notice it when its something you yourself might be intimately familiar such as having lived in an area for a long time and its obvious when some "highly opinionated" folks likely have never even visited let alone lived there.
His core opposition is to introducing breaking changes under the same namespace. SemVer is the leading scheme that sanctifies such practice.
IMO, this is trivial advice. It is obvious to sell people things they tell you to sell to them.

True business acumen comes from understanding two things that are not as obvious:

1. A customer often does Not Know what he wants.

2. What a man wants is malleable and can be shaped and influenced by forces created by other men.
But don't you understand? <Insert literally anything at all> is good for bitcoin!
Storing and persisting is the easy part. Generating useful aggregations, doing decimation on the data to avoid having an unbounded set of data while keeping some historical values, and all this kind of work is why people use GA and other analytics software. And all this is far from trivial.
In this case there simply isn't enough information in the packet to do the right thing so it's a question of choosing which wrong thing to do.
Can they know? Not most the clowns on the borders. It wouldnt brick it, just rm a directory and background shred.
If you're reading a file format that does bit packing, such as what the article is talking about, then as you read over the bytes / members of that file, you're probably going to need to get those out of the resulting bytes/decoded integers with Python's bit-shifting instructions. For example, if I have an unsigned 16-bit LE in a file, where the high four bits are flags, and the low 12 bits a value of some ilk, I can parse that with something like,

packed = fileobj.read(2)
# (missing: check the read for early EOF)
packed, = struct.unpack('<H', packed)
flags = packed >> 12
value = packed & 0xfff

> there is only one type of int (64 bit)

Python's integer type isn't 64 bits. It's however many bits you need it to be. For example, I can compute 2 raised to the 128th power, without use of floating point math (and thus, get an exact answer):

In [13]: 2**128
Out[13]: 340282366920938463463374607431768211456

In [14]: type(2**128)
Out[14]: int

This computation would not fit in a 64 bit integer. (For the non-Python programmers, there is a floating-point type, "float", which in CPython corresponds to an IEEE double.)

> which is not very fast.

It's fast enough for most things. :-) There's numpy, and always C/C++/Rust if you need more speed.
> But it doesn't give one when the cast is in a loop condition. That is weird.

I believe that the justification for that is that you'll often want to do e.g.

while (node) {
node.val += 3;
node = node->next;
}

Implicit conversion of a type into a bool is pretty useful here, or for e.g.

while (std::cin >> x >> y) { ... }
The problem before was that the symlink creation privilege gets removed by UAC. So, if you gave the privilege to a non-admin user they could use it, but an admin user would always require UAC elevation to create symlinks. https://stackoverflow.com/questions/15320550/why-is-secreate...
Not a New Yorker, but living in the middle of the East Coast I've been to, done business in, and toured NYC many times.

The Financial District is cool, but why anybody would want to live there who doesn't work there is beyond me. It's a short walk from any of the residential areas to any of the major financial firms, it's a miserable slog anywhere north of Chinatown.

And it's not like it's cheap, 800sq ft 1 bedrooms run well above a million dollars.

There's other problems which, at this point, seem to matters of inertia rather than planning:

- NYC is one of the few, dense, major cities without service alleys for trash pickup and delivery. A casual observer might notice that NYC blocks are solid, not hollow, the middle is still full of building. In other cities, with other designs, an access alley allows for service vehicles to enter a mid-block courtyard to provide service functions. As a result both delivery vehicles and waste vehicles block the street with both their presence and the materiel they move in and out.

- The regulations around inspection scaffolding are absolutely out of control rent-seeking. I would be comfortable in saying that there isn't a highrise block of the city that's doesn't have this scaffolding present on it. While it does provide some minimal protection from the elements, it's more like walking through a construction site than a an arcade. The regulations should either be changed to get rid of this nonsense, or to make formal arcades a requirements, thus presenting new facades to the city. I'd actually be in favor of the later since NYC suffers from pretty much the worst of all seasons: cold and wet in the winter, and hot and miserable in the summer.

I love love love NYC, but it's not without its imperfections.
It sounds like common sense but education remains a heavily regulation sector in USA and lets not even get started with child related regulation.

I am worried that cop visits, CPS visits etc. etc. might deter parents from doing this especially given that teachers union is a powerful political force.

Problem with America's education is entirely some nonsensical level of "we know what is good for your kids" regulation that is simply taking out freedom from parents.
> If you’re on the older version (“Python 2” as you say), you’re a decade behind, you should have upgraded at 2008.

NumPy didn't support Python 3 until release 1.5.0, which came out 2010-08-01.

SciPy didn't support Python 3 until 0.9.0, which came out 2010-12-12.

PyCrypto got Python 3 support in late 2011.

Those three alone made switching to Python 3 in 2008 completely unfeasible for a heck of a lot of people.
Zenefits reportedly hiring senior talent who could succeed CEO David Sacks
It can also me installed and run on the new "Ubuntu bash for Windows 10" from Microsoft, which uses the new "Windows subsystem for Linux"
In the same way correlation does not equate to causation, similar graphs doesnt mean similar narratives.