skysight-inc/HackerNews huggingface dataset:
6 months isn't anything. I've been programming in Go professionally for over 6 years and I still learn new things on a regular basis. There's a great essay by Peter Norvig on this subject called Teach Yourself Programming in Ten Years. http://norvig.com/21-days.html
Strongly disagree. A reasonable grace period of under a second seems much safer.
Truly Quantum Chess
Gitlab 9.0
How I Keep 26kg Lost
Some anecdotal data that might surprise you then: A good friend of mine gets her hair cut once a month and says with tip it's about $100. Then coloring a few times a year at $200 a pop, then lots on shampoo, conditioner, hair products, new hairdryer and brushes every few years. She's spent over $1000 for a weave multiple times in her life.

She's of course at one end of the spectrum, but $240 on average a year doesn't surprise me that much.
Hackers threaten to wipe out 200M iCloud accounts
I worked at Lexmark shortly after they spun off from IBM. As an intern in the early 90s I was tasked with researching crypto methods of securing their printer cartridges. Whoever bought or was running Lexmark from day one had these goals in mind as a key part of the value-add in buying IBM's old typewriter division.

My answer, at the time, was 'no' there is no foolproof way of using crypto because the keys would have to be stored in the chip that the refiller has access to. I'm sure there were actual engineers working on the same task, who I assume gave the same answer since they moved on to legal instead of technological means.

Even at the time, I was disheartened by the leadership's attitude and goals. Kind of amazing that for 20+ years they haven't abandoned this approach.
Maybe the title should be "YouTube channels for wanna-be entrepreneurs".

youtube channels and bullshit, if you wanna do it, just do it.
I have a friend in his early 60's that I recommended for a Hadoop job recently, and he was excluded due to age, despite being very qualified for the role. It happens, and I've seen it :(
The Telstra LTE bandwidth is extremely expensive too at around $5 per Gigabyte, so their test of just 180GB would have cost about USD $75.
I have the same issue; bought about three EarPods over the past three years!

Now, first of all, I'm not sure if I'd have been better off with other options. Most of my friends with EarPods seem to be fine with theirs, so there's something 'off' about how I use them. On the other hand, multiple friends have had to buy new MagSafe adapters while I've never had to, so it's not just that I'm rough with all my stuff.

Secondly, I went ahead and bought AirPods despite the fact that for me it's a huge price to pay for audio thingies. In hindsight, they're the best piece of technology I bought since my iPad 2. The main downside is not having the forward/backward buttons, but for me the advantages vastly outweigh the disadvantages.

Third, if you're like me there's a decent change wireless might solve your problem. I have no clue if the AirPods are actually worth the price, but I've heard very good things about the Anker Sports thingies, which are also bluetooth. Might want to give those a try!

By all means email me if you have any AirPod-specific questions. For what they cost me I did a ridiculous amount of research before buying them (although I do that kind of stuff for fun, so maybe the price didn't play much of a role).
Ah ok, I hadn't considered that, that's quite clever really.
Colour Coding – Working with Dynamic Palettes
I've got a question for you guys! What do you think of Gary Vaynerchuck ?
Would you please stop posting unsubstantive comments to HN? That's not what this site is for, and we eventually ban accounts that do it. It's true that the comment you were replying to was particularly bad, but the thing to do in that case is to flag it (or email us at hn@ycombinator.com), not make the thread still worse by posting another bad one.

https://news.ycombinator.com/newsguidelines.html

https://news.ycombinator.com/newswelcome.html

We detached this comment from https://news.ycombinator.com/item?id=13931534 and marked it off-topic.
>crooks spoof communications from executives at the victim firm in a bid to initiate unauthorized international wire transfers.

In other words simple social engineering. These finance people are scared of their CEOs and VPs so they jump at their requests, often skipping the verficiation stage because "Bossman will get pissed if I ask him for his secondary auth. My manager told me I'd be fired if I pissed off bossman again."

If anything, the companies that get hit by such simple scams deserve to be. They clearly don't have the corporate culture and accountability to stop a simple fake money request. Lets stop blaming the technology here and start blaming the real problem: executive entitlement and the incredibly classist structures at most companies where the bottom people can't even question the top people.

This is why these scams work so well. The people in finance are petrified at questioning an executive. That shouldn't be the case, especially if they claim to be compliant with various financial and technical regulations and certification processes. A lot of good HIPPA is when everyone is too scared to tell a surgeon he can't send patient information that way or SOX if accountants are scared of their bosses.
Its understood that different threads, especially in different processes, will quickly rewrite the caches to suit their own needs. Returning to a thread, especially after any additional delay, threads will find their own data essentially gone.

Its always going to create better cache utility if a thread can run to completion before a switch.
>It must be possible to build a computer powerful enough to simulate the universe.

That's not a requirement. You only have to produce something that leads to the same observations as a fully computed universe.

You don't need to simulate some distant galaxy until somebody looks at it. At that point you need to show it in a plausible state with a plausible history. And if your simulation runs on tweaked rules of physics that make that kind of stuff easier, nobody inside the simulation would be able to tell. This is also a valid way to explain a lot of the weirdness of quantum theory. Experiments where an observation now influences what happened in the past make perfect sense if that past was only generated once it was observed.

As far as we know, the 'real' universe has none of that quantum weirdness, and somebody just introduced those rules in our simulation to reduce the resource demand of the simulation.
US army bought 10k Windows tablets
"deal with drivers and low-level config issues on a daily basis"

What in gods name are you talking about? Are you using a distro from 1995?
Best Design Advice No One Ever Gave Me
The moral hazard that comes from cities using fines for offenses to generate revenue is awful and despicable, and it causes all sorts of injustices, big and small. Red light cameras are a part of this, and they're awful.
The point is to keep people safe, right?

Well it is much more dangerous to cross an intersection 20 seconds after the light turns red compared to 0.2 seconds.
I very much doubt it. If you read the paper, it took each of the things it could measure (memory, disk, network, etc) and measured bandwidth and latency. Those are pretty basic measurements and I suspect that they will still be interesting 100 years from now and measured in the same way.

I'm running the benchmark right now on a modern system just to see what it says. Yep, still works fine:

"size=0k ovr=0.90
2 7.63
4 6.51
8 7.78
16 7.07
24 7.78
32 9.02
64 10.35
96 10.49

That says that a hot potato (I send a byte to you, you send it back to me, the time is the round trip for one pair) context switch is ~7 usecs. Do it in a ring with 96 processes and it goes up to ~10 usecs.

I think almost 100% of that benchmark is still valid (I say almost because there must be something that has bit rotted in 20+ years but I don't know of anything). It's worth a read.

Edit: formatting.
Indeed. There was no carefully considered trade-off made between storage space and brokenness in 70 years time. Nobody thought like that. Nobody would have expected their code and data to be remotely relevant that far into the future. People wrote code according to present-day norms which would have included using a 32-bit integer for time.
They sold to Unilever not P&G.
I get 10$ per GB. :(
It does have sharp objects, but ordinary truck balloon tires would handle those relatively well. But at night, the temperatures drop to -100 °C, and your rubber tires freeze and shatter.

Also, rubber's much heavier, and they just couldn't bring that weight. They really couldn't drop that weight from the sky crane, not without increasing the shock absorbers in the legs... which would have meant more weight, and the plan's just impossible.

It also has horrifically abrasive dust, much worse than anyplace on earth. The abrasion from that would wreck a balloon tire seal---hard to predict how quickly.

A balloon tire also goes from "fine" to "useless" with one puncture. Apparently they got surprised by the sharp rocks: http://www.planetary.org/blogs/emily-lakdawalla/2014/0819063... , not having seen anything like that from previous missions.
I can't seem to reach people in the area. Has the mobile network been taken down or is it just overloaded?

Apparently, threads on the topic are being flagged down...
It would obviously be a dumb idea, but Curiosity is in the same ballpark as a car in both size and weight (1,982 lbs). A Smart Car is ~1,800 pounds, so it's actually heavier than some Earth cars!
You are probably right. We might have to accept less innovation in order to make the products affordable.
No, that's not how it's going to work. This proposed tunnel has no locks, the tunnel is open to the ocean on both ends.
Make Crap
The one thing I'd like to pay the post office for is to stop delivery to my house.

If my mailbox were a Gmail inbox it'd be 98% spam, 2% government. And yet, it's a Gmail inbox I can't close.
For example, AFAIK there is still no agreement on how to handle binary data, e.g. what do you do with:
>>> json.dumps(["\xb8\xc3\xb6\xbb"])

Strings in javascript/json are UTF-8, UTF-16, or UTF-32 encoded[0]. So providing a non-Unicode string is going to fail.

Instead, use an array of numbers limited to the byte range (as you would for any other binary data).

console.log(JSON.stringify({buffer: [0xb8, 0xc3, 0xb6, 0xbb]}))
//{"buffer":[184,195,182,187]}

[0] - http://rfc7159.net/rfc7159#rfc.section.8.1
Developers that attend conferences in USA are very small and biased subset of total developers worldwide.

It's even a very small and biased subset of the total developers in the United States. The majority (I would say vast majority) do not attend conferences. Sometimes because their workplace won't fund it, but often simply because they find no value in it. I personally gave up going to conferences years ago partly because workplaces treated it almost like they were giving me a vacation that I should feel grateful for, but it certainly didn't feel like a vacation. And afterwards I would try to itemize the value I received...to have nothing (talking to developers of the vendors face to face was, if anything, less productive than simply dropping a note on a discussion board).

So that subset often comes from more moneyed employers, or are the "see and be seen" sort, or they really get value out of it. For the former two sets a Mac is a pretty likely device.
Would you please stop posting unsubstantive comments to HN?

If you have a substantive point to make, make it thoughtfully; otherwise please don't comment until you do.
All of the pep talk type Youtube channels that OP mentions (Gary Vee, Mark Cuban etc), they push (IMO) a wrong idea of startups : they all say you should work 16 hours a day, bare minimum sleep, hustle and grind (god, those words make me cringe). That advice completely ignores health and general well being, which is essential if you're in it for the long haul.

Anyway, this list seems interesting. Thanks OP for compiling this.
>You modify the bootloader to grab the password on next decryption. The bootloader is in cleartext on the disk, otherwise the machine couldn't boot.

Mine isn't - I have GRUB installed to my BIOS chip, and I decrypt the single encrypted partition from there.

>More advanced versions would involve modifying the BIOS to add a SMM-mode hook.

That one could still get me though, yeah.
They didn't design it in a vacuum. They had worked on other OS'es already that used 32-bit ints with a 1 second quantum and they (probably subconsciously) thought that if it had been good enough for those other systems it was good enough for Unix.
To me, the surprising thing is that they managed to get the bank transferred to the "correct" fraudulent accounts.

If you send an existing customer another invoice, but with a changed bank account number, chances are that the money goes to the same bank account as they used previously. Even if you explicitly add a note about the changed account number, chances are still very high that they use the old one.
Good to know I'm not the only one who finds Tim Ferriss cringeworthy.
Canadian here, please use USPS when sending us stuff because they don't charge a $40 made up customs handling fee at the door like Fedex and UPS do.
I guess. I travel quite a bit as well. But anything that's genuinely important probably isn't going to come unexpectedly through USPS. I suppose I can construct scenarios where I'm waiting for something and want to see if I need to chase it down while I'm away for a couple weeks but that's sort of contrived.

If they're storing them anyway, it probably makes sense that people should have access to stored information about them though.
I'm working on a large system with is based on microservice architecture. We primarily use microservices to decompose the system into modules and enforce module boundaries. Things like scaling or performance is not so much of the problem, the monolyth would most probably work just as well.

Technically we write Spring Boot-based microservices which mainly exchange messages over RabbitMQ and in some rare cases call REST interfaces of each other.

Below a few problems I have with this architecture:

* Code duplication. For instance, we have to implement more-or-less the same DTO on both sending microservice as well as receiving microservice.

* Refactoring across microservices takes a lot of effort. In several cases we didn't cut in the right places and had to move functions across microservices. That was always quite difficult, and we also had to implement migration routinges (for databases as well as unprocessed messages which may be still in queues).

* Versioning and synchronization of messages. Our system receives events from the number of external data sources which trigger processing in the microservices and finally produce results. Since message exchange is asynchronous, older messages may overtake newer messages so we have to version them in order to not output obsolete results. Another problem is that messages travel different paths in the system, so it may happen that a microservice receives two messages which are based on partially obsolete data. Consider two sources A and B which produced events a0, a1, b0, b1. Later in the system a microservice receives two messages p and q based on p(a0, b1) and q(a1, b0) respectively. These messages are not compatible and cannot be processed together. But in order to detect this we have to track version of incoming events (a0, a1, b0, b1) all along the processing.

* A hell to debug. At the moment we have a network of around 40 microservices which process data from ca. 6 sources and feed 3-4 receiving systems. Microservices are quite complicated, the work with often incomplete or incorrect data, employ a lot of heuristics and make a number of assumption which are sometimes proven wrong. If any of the receiving systems report a problem we have pretty hard time identifying which of the few dozen microservices failed. Reasoning about asynchronous message processing is very difficult and approaches like remote debugging actually change the behaviour of the system.

* Tools. We employ maybe a dozen of different tools and custom scripts solely for the purpose of configuring, deploying and running our microservices. We'd most probably only needed a small part of them for a monolytic system.

From the other hand our system is a fourth attempt to solve a very difficult and important problem for our company, the problem which persisted for more than 30 years. And it is the first attempt which is so far successful.
Subscribe with Amazon: sell your digital subscription at Amazon
And on yet another hand it's obvious you can't deliver mail at $.49 a pop without heavy doses of automation. Surveillance or not, the USPS will be taking images of your mail.
Writing Good C++ by Default, in the STL – Nir's Blog
I'd much rather deal with JSON than XML. XML is a document format, JSON is a data format. You extract data out of documents. JSON is 10 times easier to traverse than XML. XML is so difficult to traverse that you have to use a special language to do it cleanly, XPath. JSON, you just read it into whatever hash map data type your language has built-in and use your standard library.
Why do we think that we need only one kind of workspace that meets all of our criteria? Can't we have an office with a variety of different workspaces that we can move between as our needs change?
Hey, same Joe from Sun? If so, howdy.

On my i7-5930K I'm seeing 7-10 usecs, quite a bit better than a millisecond. Linus cares about this stuff, I'd be very surprised if he didn't measure it regularly.
I was rear ended at a stop light because I slowed down for a yellow light while the guy behind me gunned it. Now I'm extremely hesitant to slow down for yellow lights. It has nothing to do with being impatient or disregarding traffic regulations, I simply don't trust the people behind me. I feel much safer speeding up to get through lights.
An insight I found quite interesting:

oo style is great at extending types. You can add a subtype at a later date without modifying existing code and it just works.

Functional style is great at extending behavior. You can take an existing type and implement new functions on it. This means you can have a lot of functions defined on a basic data type which is amazing for composition but you can't add a new type that works with the same methods if you didn't anticipate this need.
This is already a service and has been for a long time:

https://www.earthclassmail.com/
Of course. It's an average. Also included in that average are girls who get a $1000 weave twice a year plus monthly cuts, coloring and styling. And I'm guessing the product is catered more towards the second group.
Things like this are why I like Lua so much.

It can be easily extended into just about any type of programming paradigm to best fit your problem domain.
I chose this career exactly because I wanted to have a career I could work in up to my 50s or 60s.
I'm nurturing a thought that the experience of Human Life is much more akin to a biological radio antennae picking up on a cosmic "living" code base being broadcast somewhere out there which encompasses the entire known universe.

That's where the postulation stops and I just go with "turtles all the way down" after that.
What I like about this, despite the privacy implications, is that it lets you preview upcoming mail. Less keys for me to carry every day.
Replication Under Scalable Hashing [pdf]
At least in Michigan yellow lights certainly have legal rules enforcing them, from MCL 257.612 (b):

If the signal exhibits a steady yellow indication, vehicular traffic facing the signal shall stop before entering the nearest crosswalk at the intersection or at a limit line when marked, but if the stop cannot be made in safety, a vehicle may be driven cautiously through the intersection.

And I know of at least one case of someone getting a ticket, challenging it in court and losing after failing to stop for the yellow light.

Edit: Found the relevant Illinois law 625 ILCS 5 Sec. 11-306 (a)1.:

Vehicular traffic facing a steady circular yellow or yellow arrow signal is thereby warned that the related green movement is being terminated or that a red indication will be exhibited immediately thereafter.

So still legally defined but it seems in Illinois the yellow is simply a warning signal and does not include a requirement to stop.
plz check -> https://groups.google.com/d/msg/tlaplus/lAeWdCE9MLw/v03t3UEv...
Yeah, why not say the name?
Fair enough, I recognise that it's hard.

This article does a good job of introducing LBRY, btw: https://bryanalexander.org/2017/03/19/what-is-lbry-and-what-... (h/t @doctornemo).

I also saw it described as "A cross between Bitcoin and Napster", which was fairly illuminating. I'm sure you wouldn't consider it accurate, but as a starting point perhaps something like this would be useful to have?

At the very least, #1 on the FAQ should really be the answer to "What is LBRY?"
Wow, this is fantastic. I just repo'd all my dot files and used Stow to set them up. Very elegant indeed! Thank you!
Protecting Web Apps Against DDoS Attacks Using Amazon CloudFront and Route 53
> And if that's the case, maybe it's not such a big leap to imagine that the mere existence of the physical laws as an abstract concept is enough to give rise to a simulation?

Calculating it just provides a window into the simulation; it still exists (in an abstract mathematical sense) even if you're not looking.
There's a fantastic story relating to this in Roving Mars (about Spirit and Opportunity).

The final design had both lander-departure ramps and the now-iconic foldout solar panels, but it was initially rejected as "gold plated" on budget and weight arguments. The only reason it eventually came to pass was the realization that while the foldout solar panels were overkill, their removal would be worse than anticipated and bring the mission under minimum lifespan.

Steve Squyers talks about how he was told this as "terrible news", but realized that for him it was wonderful. There was no way NASA would accept luxuries, but if the 'budget' design wouldn't work they were willing to move up a notch. So the incredible longevity of Spirit and Opportunity is largely a function of a low-cost design that broke down too late to salvage. It almost killed the whole project, but got record results once things went through.
That really is slow. My brain interpreted that as 100 m/s, and then 40 m/s, and I read the sentence a few times trying to figure out if you meant that rovers go that fast in KSP before I figured out it said 100 m/hour.
I freelance and just moved, trying to get accounting departments to send checks to the correct address is worse than pulling teeth. Even after making large notes about the address changes and emailing them repeatibly. I should figure out how this guy managed to do it ;)
Rewriting Uber Engineering’s Android Rider App with Deep Scope Hierarchies
Mail covers[1] are a very old surveillance technique and mail isolation control and tracking/MICP[2] has been standard on all parcels since early 2000s

1: https://en.wikipedia.org/wiki/Mail_cover
2: https://en.wikipedia.org/wiki/Mail_Isolation_Control_and_Tra...
Doesn't seem like the USPS shut them down.

"Ultimately, management concluded that Outbox’s business model was flawed – a conclusion that the market appears to have affirmed."
It's common for ideologically committed users to see HN as being aligned against them. But this perception is in the eye of the beholder, i.e. it's a cognitive bias. Plenty of comments make opposite claims about HN; the difference isn't in HN but in what the commenter identifies with.

Edit: I've written about this in plenty of places: https://hn.algolia.com/?sort=byDate&prefix&page=0&dateRange=.... Not all of those posts are about perceptions of political bias; some are about perceptions of astroturfing. But the two phenomena are variations of the same thing.

We detached this comment from https://news.ycombinator.com/item?id=13930232 and marked it off-topic.