skysight-inc/HackerNews huggingface dataset:
Thanks for this beautiful comment. I especially liked this part "Keep splitting the housing into smaller and smaller units, make the renters share housing, constantly increase prices at more than the rate of inflation"

This has been my exact experience in Manhattan, where a 3 Bed apartment got converted into 5 Bed. After we refused to pay additional rent. Interestingly in Mumbai my apartment building (a Co-op where we own) decided to demolish / rebuild and reduce the playground associated with the building. This allowed us to raze the 6 storey building built in 1960 into a 12 storied one. As a result, we now have an apartment in the same co-op with equivalent sq. footage and were paid additional money plus rent while the building was being rebuilt. Since it was a Co-op we could shop around for a developer who offered us the best deal. The current building will at least sustain till another 50 years. I have never found this happening in US. Since either the building did not have enough free space to expand upon adjacent to them or restriction on height increase.
“The children now love luxury. They have bad manners, contempt for authority; they show disrespect for elders and love chatter in place of exercise.”
- Socrates
> Many teens would be the first to tell you that they love their parents. But they are not seriously concerned with what their parents think. Or more precisely, some are more concerned about what their peers think than what their parents think.

Hasn't this always been the case?

> As one Scotsman told me, “We don’t even think much about ‘generations.’ We just all enjoy doing things together.”

Unless that Scotsman is 13, that's pointless. He may love doing things together; his children might be counting down the minutes 'til they can hop back online and talk to their friends.

> If you have the opportunity to move closer to your child’s aunts, uncles and grandparents, do it. (We did.)

That's good, but I'm not sure what this has to do with the parent-child thesis.
This is the best explanation I've seen anywhere about why you sometimes need to provide the parameter name for the first parameter in a func and when you don't.
The recipe is very easy actually. Pick a business you think you'd be competitive in, and apply for a low level position at one of your competitors. Customer support, mail room, whatever you can get. If you went to a top university or have an impressive resume, leave that info out of your application, it will only raise red flags. Getting the position will more often than not give you unfettered access to all the competitor's proprietary info including revenue, margins, sourcing, expenses, as well as identify areas where you could improve upon what your competitor is doing or make things more efficient. When you have a good grasp of the business and a roadmap in mind, quit and do it yourself.
Container escape attacks in the wild
Seeking references to specific / named container escape attacks whether on container tools such as Docker or the actual containers such as LXC.
I think the catch with any unlimited drive solution (other than not being truly unlimited in the fine print) is they typically require you to keep the files on your computer.
sure, I wasn't intending to suggest this as a good premeditated maneuver, but there are probably other individuals out there who have found themselves in a similar position to the OP and considering their predicament.

If you've gotten into Glacier for the wrong reason, you may already be in the trap, and you can quickly rip yourself free and take a bunch of skin, spend almost 2 years ever so gently prying yourself free, or maybe a third way. That's my angle here. Also, traps don't have to be laid for someone to feel like he's in one, so I'm not putting that on AWS.

The cheapest way out seems to be to just grab 5%/month over 20 months, but that's a lot of sustained effort and contact with the service. So I could see a trick like this as a potential middle ground, at three months and ~$30 according to previous comment's details.
What I think is fascinating about this. Is that as humans we ignored opportunities to use the passive technology. For example, why don't today's greenhouses have brick floors or a brick north wall (even a small wall to increase the thermal mass)
The way I screen a client is by getting them to write a brief in an email. The reasons I do this is;

a) Its easy for clients to blurt stuff out over the phone without a second thought. It's impossible for me to take accurate notes on this, only to get an impression of what they're after.

b) A written brief tells a lot about someone's communication capabilities. When a written brief is poor then I have a better idea on how to deal with a client like this, i.e. I have to do a lot more hand holding and depending on my existing workload I can either decide to let them go or not.

Also, watch out for clients who bring carrot danglers, i.e. they will suggest that you should do this project either for cheap or free because they have a lot of other projects coming up in the near future (they don't). In this scenario simply reply that you have to charge 100% for this project but that you might be able to give a discount on a future project, you won't hear from them again since they want cheap or free.

Also, never lower your hourly rate but give a discount instead. This means that clients still see what you'd normally charge and if they come back in the future you actually can charge them your normal rate.
The typical string/text representation of a UUID is 36 bytes (16 bytes x 2 (hex encoding) + 4 (dashes). Or more if you want to include the NUL terminator, enclosing {}s, a length prefix, or whatever else.

Alternatively you can interpret the hexadecimal encoding of the subfields to raw values, and compact things into a single 16 byte / 128-bit value, which I'm assuming is what's being referred to by "storing UUIDs efficiently as bytes".

To perform this compacting requires some interpretation - if only from hexadecimal to bytes. In implementing this, you might feed the entire first subfield to your hex parsing function. The result, however, will be an integer with more bits than a byte, at which point you need to care about endianness.

You can choose to instead parse two hex characters as a time and treat each as a byte. You could argue that this is "not" interpreting the subfield as any given endianness - but this is semantically identical to interpreting the field as big endian, so I'd argue that you are.
Ask HN: Does your job require commenting code? Why or why not?
I am going to use this to teach the basis of mobile programming to my wife and some friend s- I promised them that the day I had access to a simple IDE for developing apps I would spend a weekend telling them about the concepts of development.
I already managed to teach my wife about the thinking behind UI and wireframing design thanks to Sketch.

Can't wait for this upcoming weekend to get them started, food & code is awaiting!
Jennifer Pan’s Revenge: Golden child hires killers for hit on parents
For a lot of the big things we don't have a lot of progress today. Diggers, cars, railroad etc can't improve substantially.

I think in the short term we won't get a lot of economic growth. But I think these things happen in phases.

We are waiting for the next big breakthroughs. I think Artificial Intelligence, 3D printers, robotics and cheap sustainable power will be the key things to create a new potential for high growth.

E.g. if we perfect the technology to 3D print large structures that should bring down costs for house construction a lot. Companies are starting to do this now. But we are in very early stages.

AI and more advance robotics will allow us to automate so many tasks we are stuck with using humans now which really limits productivity growth. It is very hard to increase output from a doctor, teacher, lawyer, cab driver, cooks etc at the same rate as say a car factory.

This sort of development doesn't go in a gradual phase. As we develop AI we are not gradually making medical diagnosis cheaper or driving cheaper. The huge cost reductions will come when these technologies are completed and can start replacing people at massive scale. Once cars, trucks etc can be driven by and AI, transportation costs will get huge cost reductions.

Likewise with medical science. If an AI can diagnose you, one can save enormous amounts of money.
Alexa can read your Kindle books to you
Anyone else think of franchises when they read this title?
marketing for new businesses. for example, bid2mow.com consumers post jobs and new business compete for the work. I do the billing and take a cut. I also am going to launch bid2flyer.com which is a little different angle business post flyer delivery jobs and workers post how much of the job they'll take. but a lot of the infrastructure is reusable. The tricky part is the supplier part. I'm having a hard time finding a process to get them on board, cheaply.
Compensation behavior for not being there all day? When you are there... Better be right on top of things...?
> One cause of [children and teenagers'] fragility is a weak parent-child relationship.

I don't buy that the relationship between parents and children has changed all that much in the last 25 years. I certainly don't believe parents love their children less, as the author is implying ("they cannot get unconditional love and acceptance from their peers or from a report card"). Plenty of Gen-Xers were latchkey kids and we don't seem to have suffered for it.

The explanation I personally favor is that children and teenagers aren't allowed to do anything the slightest bit dangerous anymore -- even the playgrounds are padded -- so they can't calibrate their sense of what really is dangerous, and therefore everything feels dangerous.
If you want to retain compatibility with legacy code, use Xtend (http://xtend-lang.org), which compiles down to Java 5.
I can't do the math on my phone, but getting to a 1% chance still needs an enormous unfathomable bucketload of uuids.
Okay, so we decide that we are our art, and now we are shooting jazz CDs to Mars. Or other art, sent to other places where there is no audience. What then? Why? The logical conclusion of this thinking seems to be that we really have no business in space at all.
Show HN: Color Blindness Test Image Generator
>I fully expect to see another explosion of productivity (and thus economic growth) as mobile/cloud/AI/ML start infiltrating the general economic system.

I don't see how I, personally, am supposed to be productive in a novel way with technologies that require a compute cluster and a Google-scale dataset to yield useful results (for instance, "big data" machine learning).

Yes, AWS is a thing, but that still ultimately sounds like the small entrepreneur with a novel idea paying resource-rents to a megacorp to get access to the opportunity to monetize his idea.
It's dubious only if the potential return is much less than the alternatives. Assuming that the same inequality-reducing mechanism is operating across all the potential investments, their behavior would be unchanged. Investors are looking for the best available return on their investment, not some arbitrary fixed value.
reasonable point ;)
Oh I see, which is why Chinese miners would be especially hesitant about moving to larger block sizes, because the GFoC significantly limits speeds.
It seems to me like you're discounting real and present dangers in favor of one that's more speculative. The reason why climate change and nuclear disasters (I did not limit it to nuclear weapons, but am referring also to events like Chernobyl and Fukushima, which have poisoned significant regions of the planet for millennia to come) are real and present is because a) climate change is already under way and causing massive demographic shifts; and b) nuclear technology is already in a state to destroy large parts of the species and render much of the planet uninhabitable. We are one button click away from a bomb going off at any time, and there are lots of crazy fingers in the world itching for a button.
Online Shopping Is Terrible at Venture Capital
Shouldn't it be the following?

7. AI/ML

8. IoT

There's basically no reason to put "Internet of Things" and "Artificial Intelligence" together except that they're two fairly recent buzzwords.
WhatsApp will no longer charge subscription fees
January YC Open Office Hours Invites Are Out
I just received an email (alas, in the negative); I'm assuming all the emails are going out together.
Socket.io benchmarking tool – Akinji
A python script which you can use to benchmark your socket.io server

http://github.com/sonsuzdongu/akinji
I know, but that's not what I'm asking. Do you see any offers?

I started registering on TopTal, but then got too lazy jumping through their hoops and not knowing what the upside is.
21 year SF resident here. I was here for the dot com bubble, and the smaller "multimedia" boom in the early/mid 90s.

I think what is unfolding is a shift away from consumer businesses and back to boring business to business services. The latter tend to have more predictable cash flow (which ironically is a handicap when VC money is flowing to "viral" consumer businesses that can paper up their growth).

B2B services whose customers are not linked to the local tech economy should do just fine. It might be harder to raise money for a while, but that's good too, it'll weed out the weaker companies. OTOH, consumer companies that already have ten years of rapid growth priced into their valuation are pretty screwed. Hard to see where they avoid some really painful and damaging adjustments.

And a word of advice for workers. If you are at all unhappy with your job, or suspect that your company is vulnerable to a downturn, now is a good time to start looking around for something you'll be ok with for a couple years. Once companies start laying people off in larger numbers, it will get ugly (maybe not 2000 ugly, but it won't be fun).
The 1995-2005 period that you say had "huge productivity growth" saw the TFP growth rate temporarily rise from 1% to 2%. [1]

If that's the best level of productivity growth that we can expect in upcoming technological revolutions, then I think the data you point to supports the author's fear that we won't be getting back to kind of growth that we saw in the past.

[1] https://www.imf.org/external/pubs/ft/wp/2015/wp15116.pdf
>- AI:s can probably observe employee patterns and raise red flags if someone seems to be goofing off. Less need to spend time in reporting, more time for value creation.

So, hold on, let me get this straight. As artificial intelligence advances, the really productive application for it is going to be haranguing people into working harder?

What in the world!?
Yeah, I know, I didn't expect blazing fast, it was just that too much slow for me to notice and stop caring. Retrying now, maybe python changed, maybe I did, maybe my laptop.
I'm not "outraged" but I do think that the Volt design is a temporary anomaly, mostly due to path dependence and being built by a corporation that traditionally built ICE vehicles.

A small battery EV with a ICE range extender is simply a better sweet spot and takes better advantage of both mode's unique features and avoids a whole bunch of mechanical parts running through the car.

Also worth noting that the i3 gas tank was electronically limited in capacity (along with other tweaks) to meet California regulations for getting a rebate.
Start Your Own Business – The Series
Some systems handle a zero-byte allocation request by allocating a unique non-NULL pointer which cannot be dereferenced. If they run out of unique pointers, they can fail to allocate zero bytes.
Great insight, thanks for sharing. Godspeed to you!
On the flip side, I recently was hiring for a senior engineer position, where I specified individuals only, and was inundated with emails from firms who were sure they could "help me out" with a "full-service solution." Maddening.
I know a girl who lives in the Marina district of SF and rents part of her rent controlled apartment on airbnb for $200 a night to subsidize her lifestyle. She doesn't list in the ad that 1.) you are sharing the apartment and a bathroom with her roommate and 2.) that there is a dog in her apartment. She has even asked people who stayed at the airbnb to take care of her dog for her!!

Then she wonders why people get pissed and complain. However people are afraid to leave her negative reviews because they don't want her to leave them a negative review as well. It's ridiculous.

In my travels I have found airbnbs to be annoying (too many rules about when you can and can't show up, what you can and can't do, etc) and just went back to mid-range hotels. At least I can eat in my room, bring my own booze and not worry about having to show up before 9pm. The security deposits and cleaning fees also imo make airbnbs not worth it.
No I don't know which ads are being clicked on, but I trust Google to make the best decision of which ads to display.
> Allocating zero bytes can fail (with dumb C libraries).

They might not be dumb; they might be forced into it to maintain compatibility with buggy programs and/or configure scripts (e.g. [1]).

[1]: http://www.openwall.com/lists/musl/2013/01/15/1
> This doesn’t actually pose much additional security risk because by hypothesis anyone who can read this file has read access to your current private ssh keys already.

Yes, but they don't have access to my password. That's kind of the point. Having a password-protected private key file is much less useful without the password. If you're going to store the password, might as well just remove it and save yourself the trouble.
Eroq-router, 0.1.0-RELEASE released
Yup, exactly. The other scenarios are visiting a friend / family member, who holds the responsibility of "tour guide", meaning the only thing the family books is a flight and maybe a rental car. Or they book an all-inclusive package deal to lower the risk of a national lampoon style vacation disaster.

Either way these types of middle-class family vacation package trips are pretty well locked up online by the likes of Expedia and big corporate partners who have a lot of volume resale power like Costco. The remaining sliver of the family travel market - wealthy people & retirees - are actually still mostly the domain of the legacy travel agency business. Licensed travel agents not only still exist, but they're thriving in some cases. And get better commission $$ per sale than integrating with an affiliate partner, to boot.

The ironic sad reality is that anyone thinking of making a living running a travel app/site, is probably much better off getting travel agent certification instead...
"Explodes after landing" would be more accurate, I think.
Well, it's hard to lay out a complete agenda for this program in an HN comment. But the vision I had in mind looked more like colonies of self-reproducing artificially intelligent robots than a bunch of CD-ROMs.
Much, much more likely is we are seeing yet another "back in my day" rant that has no real substance
In that case, you might want to go with an infrared camera. If you're using a Raspberry Pi, the Pi NoIR camera is really great.
> So if you've wondered why hyper-threading is sometimes considered a trick played by CPU vendors, now you know. Since the two threads on a core share so much, they are not fully independent CPUs in the general sense.

> Caches isn't the only thing threads within a core share, however. They also share many of the core's execution resources, like the execution engine, system bus interface, instruction fetch and decode units, branch predictors and so on [3].

I would go even further than this... rather than starting from the idea "they sound separate, but apparently share a lot of stuff", you are probably better off working from the original goal of a hyperthread: sometimes the CPU blocks on something slow, like memory or a dependent register, and it has nothing it can easily reorder to do in the mean time; the idea of hyperthreading was to provide the CPU something else to do when it got stuck. So from that concept we would never expect it to have anything at all that it doesn't share: you are just filling in gaps in the execution of a single core by having the CPU itself implement something akin to a coroutine task scheduler. The issue I take with the mental approach in the article is then that it still implies there is at least some parallel compution possible there that is being limited by how much is being shared, but the reality is that hyperthreading has more in common with "green threading" than real concurrency: there is really only one thing there pretending to be two things entirely for the purpose of tricking legacy software into giving it something else to execute.
Estimating your own prices is something even I have trouble doing after 10 years, so I won't be too much help there. But to avoid bad clients, you really just have to make sure you talk to them and fully understand the project before accepting the job.

Bad clients will always have red flags early on. If you talk to them for 30 minutes and the job is already twice the size you initially thought it was, you might be with someone who will want to ask for more along the way.

If there is any doubt:

- Ask for a small % in advance or a larger % in escrow. Clients that can't handle that are unlikely to be easy to deal with come time of the bill.

- If the project is unclear, ask for sketches/photoshops before signing the final contract. You can also do those yourself and ask if this is what they have in mind.

- Make sure to have a written transcription of exactly what you will do, alongside the contract. Emails, transcribed/recorded calls, etc.

If you're a core part of your client's product, they will more than likely be willing to hire you for more work, or as an employee for continued maintenance.

And don't be afraid of saying no to shitty contracts. One really good client can easily bring you a year's worth of work.
There's a huge difference between 'significantly more value' and literally thousands of times more value. Had Brin been content to continue in academia after publishing his original research, and left the implementation and the riches to someone else, would we say that he had contributed virtually nothing? It's a myth that our economic system rewards people in direct proportion to the value they create.
OK just found an experience from someone else: https://ocdnix.wordpress.com/2013/02/26/fuckin-uuids/
It's not an unfair headline. It did explode when it landed. This is not good, no way how you twist it.
Firstly, the hyperscale providers size their VMs differently, so it is generally not an apples to apples comparison.
The best way to compare cloud environment is to consider 3 year cost of ownership, and try to price in various components/elements you might use such as big data stores, VLANs, autoscaling, tiered storage etc.

It is my opinion that the variance in pricing over the long run is no more (or will be no more) than 5% for these hyperscale providers over the long run. So your decision should be based on the type of applications you are trying to build in the cloud. If you are a microsoft "house", then it might make more sense to consider AZURE since they make it easier to port diretory services and licenses to their cloud. Likewise if you are a google house.

Obviously AWS has a lead in the market with regards to tools and functinalities as they were early to the cloud game, but MS and google are catching up fast. My personal choice of IaaS is google cloud because their interface is very easy to understand, but frm a customer support perspective, AWS and AMAZON are far better. Also, AWS and google frequently provide free credits for a period of time so it would make sense to try those out to see what works best.
Could someone please transcribe his speeches and put them up as 'outcommented' python or TrumpScript files on Github?

It would make great boilerplate. and maybe one could put in a variable and two, and try to look at the outcomes in what that man really is saying, numerically.

+probably has some value in traffic, if executed properly.