skysight-inc/HackerNews huggingface dataset:
Being a barista can be exhausting at fast-paced place. Not as hard or deadly as coal mining, of course.

I work with architects. They work as much as they want to but are paid salary. The minority walk out of the office after their 8 hours is up but many work late into the night and on weekends. They say it's their "industry standard" but, from my observations, it's a) lack of boundaries and b) poor project/time management.

Not to mention the amount of time studying to take their many exams to become licensed.
Windows has that now.
If you always redirect to www, and always publish links with www, most of your inbound traffic will go to www; so it's not critical if occasionally the apex doesn't work. Some people will not load your page properly, but not too many.

If your site is already heavily linked to at the apex version (or you prefer the no-www hostname for a shorter url or esthetics), then it's likely to take forever for a switch -- in this case, your realistic option is to set the nameserver records for the whole domain to whomever you want to do DNS load balancing for the apex.
https://news.ycombinator.com/item?id=14699419
SQL in CockroachDB: Mapping Table Data to Key-Value Storage (2015)
12 inches in a foot, 12 hours in a day... it is arguable that the https://en.wikipedia.org/wiki/Duodecimal system is superior to the "powers of 10" the metric system uses: http://io9.gizmodo.com/5977095/why-we-should-switch-to-a-bas...
On any device that isn't obscure, iFixit does a teardown detailing most of the parts on the board.
http://io9.gizmodo.com/5977095/why-we-should-switch-to-a-bas...
Government policies and regulations working against what their benefactors originally planned for, where have i seen this before?
A suburban office with insufficient parking sounds like a great talent repellant. I pity the poor souls who would have to work there (taking shitty bus service or cycling unreasonable distances), but no vaguely competent software engineer would be among them.
The Helsinki Bus Station Theory: Finding Your Own Vision in Photography (2006)
Condos are great, but not really relevant in the big scheme of things. They may be relevant in the future, but so far, the technological gains in the area of building construction have lagged the technological gains in the area of transportation and communication.

Alternately, you can ask why does density keep declining even though we have the technology to build taller buildings? E.g. the skyline keeps going up but people/square meter in built up areas keep declining? Why is that? One reason is that building up is really inefficient. It costs a lot more in terms of $/sqft as you add another story, and those extra $ have to paid by the lower stories as well. They aren't just paid by the top floors. So even though tall buildings tend to capture our imagination, we don't really build a lot of tall buildings as a percentage of all buildings built. It's too expensive. Another reason is that space per person keeps increasing. We like to build our houses about 6% bigger each year. That number dwarfs any gains in density from taller buildings. E.g. in the past, you'd have 400 people living in a 4 story building and now you have 300 people living in an 8 story building. The building has gotten taller but density has decreased and the need for spreading out hasn't changed.
What's more practical/usable, "bartender I'll have a pint!" or "bartender I'll have fifty-six centiliters!"
If every operation can have any type arguments applied to it and does something sensible with no compiler or run-time error ... good luck debugging, surely.

What happens with OOP? Every class has to understand how to "bark", not only the dog class?

If any class can somehow "bark" without throwing an exception, that may not be in alignment with the programmer's intent, or promote the furtherance of his or her goals in any way.

For intance, the intent may be that the programmer wanted to ask the local variable dog to "bark", but misspelled it as ndog and the integer which counts the number of dogs was asked to bark instead.

There is much value in identifying the problem that an integer doesn't bark.
I really don't know why everyone thinks that the way to break out of the car cycle is transportation alternatives. If your city was planned around cars then everything else is going to be inferior. Public transit is costs more in time than a car does in gas and you have to plan your schedule around when they run and where they go. Bikes are only good over short distances but those aren't representative of common trips in a car oriented city -- many destinations are 25 minutes away by car which is not feasible to reach by bike.

If you want people to give up their cars then you have to plan dense. All day-to-day needs need to be within walking distance and tight regulation to prevent incumbent owners from taking advantage of citizens with fewer options. Weekly needs need to be within biking distance and small electric vehicles need to be made available for the elderly, disabled, tired, or lazy to get to them on their schedule. Rare needs need to be available remotely, by delivery, or reachable by public transportation for the patient or hired car for the impatient.
Perfect Cheap Jerseys Football Fanatics Can Be Proud Of
Hey, thank you! :)
Everybody has always cared about status and appearances, even if that appearance was the appearance of not caring about status.
Eating ramen noodles made home ownership more affordable for you.
And how well is that doing, over the course of its entire existence?

As well as the Dvorak keyboard layout, I imagine
I always try to live as close to work as possible so living in an apartment on a corporate campus actually sounds pretty appealing to me but can you expand on why you think it sounds awful? I'm not dismissing your view, I just want to know if there are negatives about it that I haven't considered.
I'm confused. $165/sf is very inexpensive ($200k for the 800sf condo with parking). Even $200-300/sf is not bad.
The confusion stems around the word "developer" OP is thinking of internal devs, while the role is actually about interfacing with outside devs who will be using/extending products and services the org makes. It's an easy mistake to make if you don't give it too much thought because there's no inherent explanation in "Developer Advocate" that would indicate we're talking about outside devs.
Just like in politics, a lot of that opposition was manufactured by PR. Apparently Edison's company publicly executed an elephant using AC current to show the "dangers of AC".

https://en.wikipedia.org/wiki/Electrocuting_an_Elephant
In the long term, robots will kill most blue collar jobs and AI/ML will kill most white collar jobs.

If you want to be positioned for the long term, build your own business by mastering marketing and building a network and selling and producing and project management.

In the medium term, learn mathematics so you can benefit from the shift to AI/ML. I am not personally doing this because math is not fun for me.
Keybase
[ my public key: https://keybase.io/johndoedev; my proof: https://keybase.io/johndoedev/sigs/YqSC-7ytpt8NRlkngvtOdSY1C1OIMj9gMZ3NLoQ-x2w ]
I wrote a raft implementation that is used by quite a few well known systems (etcd, cockroachdb, docker swarmkit, tikv and quite a few closed source systems). Probably it qualifies the "production ready" standard :P.

With that experience, I can say that a real world raft implementation is not easy and VERY time consuming.

However, preparing the coding interview is definitely a order of magnitude more difficult for me. It requires me to waste all my time on something meaningless, and makes me feel sick.
Anyone else bothered that we didn't actually get to "meet" this anonymous dude?
I’ve found most nations settle on: if you’re not making much, keep it. It means more to you. In fact, here’s a few hundred more for sales taxes you might have paid. If you’re making enough to “get by,” we’ll skim off the top and give you tax breaks as incentives. From there it’s a sliding scale up to some cut off. For example: If you’re making more than 3-5x the “getting by,” rate mentioned above, we’ll split it – you keep half, we’ll take half. And again, that’s only on top of other tax breaks, so 50% is an asymptotic upper bound for most people.

I may not like it come tax time, but it makes sense to me. I consider the half I don’t keep another sort of contribution to society. And of course look for ways to minimize it–money doesn’t save itself. But I don’t fight over the concept– I rely on services paid directly from taxpayer money each day. The one thing I would hope for is efficiency– but I don’t think starving and cutting systems inherently improves them. It’s just a shell game.
You insinuate without providing the reasons behind it. I say this because diskhash and tie look like extremely useful things used carefully. This sort of thing solves exactly a problem I have right now.

> Perl tie, which is kinda considered an anti-pattern in modern Perl ... a lot of people think it should be avoided in the general case, even though it seems like a really nice simple solution to a common problem

Why? Any links to blog posts?

> When I first started reading I assumed it'd be used for small things, but he's working with a 32GB file shared across multiple processes. That's a lot of opportunity for data corruption.

I've used something similar and data corruption because of size is low on my list of concerns. If your storage layer fails in this manner silently, you have much bigger problems.
It's also a huge waste of battery to leave on.... not sure why more people don't disable Wi-Fi.
Elon Musk shows off first production Tesla Model 3
Yeah, sort of a ritual of changing jobs for me. Reject the three different Macbooks on offer, request a Lenovo Thinkpad with crazy specs, remove the gaudy stickers, install Linux, and then get the trackpoint working on boot/reboot/wake/thaw with my preferred sensitivity settings.
It's true. I was so shocked when they actually banned a Holocaust denier; he was so unfailingly polite i was sure they never would.
Apple has similar strict guidelines for Made for iPod devices.
Where has salimvirani.com gone?
I wanted to share his amazing piece on Facebook yesterday, but his whole domain seems to be unavailable!? His Twitter account has nothing untoward on it.

Note: I found the Facebook article on web.archive.org[0], but I'm still nonplussed by the sudden unavailability of his whole domain.

[0]https://web.archive.org/web/20170703103226/http://www.salimvirani.com/facebook/
That's what I would buy it for really: as an investment into a software project, not because it can make me money.
If you're not in that country and are speaking English and it's your native tongue, then it's highly probable that your country (or its foreign ruler's Queen) is the one that originally imposed this system on us
Personally, it's not so much how it looks, it's having those damned stickers right underneath my hands as I type. I'm one of those people that washes my hands a couple times a day -- not like anti-germ OCD washing, but just... conscious washing -- and those stickers always mess with me. Though it is a little bit about looks, because I always end up putting on my own Linux Mint sticker on the case and a little penguin sticker over the Windows button. But only marginally about looks.
Extensive discussion of Model 3: https://news.ycombinator.com/item?id=14699419
Blazing-fast static site generator for React
I've found that WD40 is amazing for removing even the worst sticker goop.
Unfortunately you can't blame this on zoning laws, because if you compare areas with and without strict zoning laws, you don't see much difference in this regard. E.g. San Francisco, for most of it's history, didn't have strict zoning laws. Yet, like most cities, you pretty much never tear down a whole neighborhood of two story buildings to replace them with 4 story buildings. Once an area is built up, it's built up. Whatever height/density there is tends to stay there. The way cities grow is by growing out -- recruiting new land -- and also via infill. Existing structures just aren't torn down that often. It happens, in the sense that houses are condemned and sometimes replaced with something bigger. But we don't see it happening at a fast rate, whether there are laws against it or not.

Zoning laws are relevant at the margin -- when you add to the city, are you adding 2 story buildings or 4 story buildings. But once the neighborhood is built, that's the neighborhood for the next 100 years, whether there are strict zoning laws there or not. Assume no zoning laws at all. You as a contractor will need to contact all the individual owners and negotiate some deal with them to tear down a perfectly good property and replace it with something a bit taller. How likely is that to pencil out? You might be able to tear down one building, but not the whole neighborhood. The neighborhood will stay the way it is.

There is also another issue at play, which is that once the first tall building is built, the land values go up in the other buildings around it. Land is one of those things where you don't need to actually build the housing in order for the landowner to benefit financially. The developer, after tearing down the first building will have to pay much more to buy out the second. And even more to buy out the third. Very quickly, the arbitrage profits that would drive a market solution disappear, so you don't get market solutions that support tearing down existing buildings on a mass scale. Historically, cities were changed like this after fires or earthquakes, but not in response to market forces. All those people who think that the reason Palo Alto is full of single family homes is just zoning, and if we were to get rid of zoning, Palo Alto would be filled with sky scrapers are in for a big disappointment. Market forces don't work very well here. Regardless of what happens with Zoning, Palo Alto will remain pretty much the same for a very long time, barring a massive fire. Even Nero had to start a fire, and he wasn't constrained by zoning.
You no doubt know this, but just in case ... Dirac completely transforms that CLJS debugging experience (in a positive way):
https://github.com/binaryage/dirac
He's talking about LA not SF. Building anything in SF is even whackier then in LA.
The parking minimums are destroying our cities. Nevertheless, even luxury developments lead to more affordable housing do to filtering: https://www.vox.com/cards/affordable-housing-explained/filte...
Ugh. The last thing the world needs is more formulaic news stories. We need to move past the idea that the web is a virtual newspaper.

News sites don't even use hyperlinks effectively, let alone audio/video/interaction. We should use AI to replace newspapers, not reporters.
Germany Investigating Whether Facebooks Terms of Service Qualify as Extortion
Yeah, it's a case of I got mine. Different side of the same I got mine RE coin (rent regulated units).
No, it is not mentally similar I am afard. Implementing Paxos is a joy since it is a process of learning new stuff. Preparing for the coding interview is wasting time, which can put onto something much more meaningful.
He is saying in order to deal with cost overruns that can easily happen, you need to charge $300-$400/sqft
The only question on my mind: where did he cash his money? Or, who has big cash to redeem his Bitcoin with million dollars transaction?
XPS solved many of the problems with PDF but it was far too late by then, PDF was well established.
Beipanjiang Bridge, suspended 565m above China’s south-west mountains [video]
The idea with having eBPF in the kernel is that we can limit the amount of trust given to a particular user-space task.

Accepting compiled stuff in the form of a kernel module requires root privileges and requires that the kernel essentially have complete trust in the code being loaded.

Loading eBPF eliminates the need to trust the process/user doing the loading to that level.
DeepMind Teaches Artificial Intelligence Superhuman Relational Reasoning
Hope they can launch
I’m not the original poster, but I recommend Meditations by Marcus Aurelius highly.

I’d also check out A Guide to the Good Life by William Irvine, it’s an overview and a much less tedious read (wrote this century, haha).
Let's say you are the user 654321. You see that you can access your private page at /user/654321. You then try to access /user/112233: if the developer forgot the authorization controls, or inserted bugs, you can access other users' informations
Yep dynamic_cast is not guaranteed to compile with RTTI disabled.

Doing static_cast instead, will open the door to fun surprises if one cannot guaranttee the safety of the pointers given to the library code.

I must add that in those days, we were making use of C++ gui libraries like OWL, followed by VCL and MFC.
It "already" went mainstream in 2012-2013. This is a second speculation bubble. It tells you to get out before it comes crashing down, because it will.
Is this viral marketing for Silicon Valley?

Mostly kidding, but really, this is pretty close to "Pied Piper" isn't it?
I'd also add that the best source on all things related to land policy is the Lincoln Institute. This is a great study about declining densities (even in the age of condos)

http://www.lincolninst.edu/publications/working-papers/persi...

This is why land really does remain crucial. I'm not sure why everyone thinks that tall condos means we aren't reliant on land. Tall condos have accomplished basically nothing, and our cities now are much less dense than they were even in the middle ages.
Yes, functionally it's like Freenet. But it's all done through Tor onion services, so participants can be at least somewhat anonymous. With Freenet, there is no anonymity, only "plausible deniability". Which in practice has ended up being pretty worthless by itself. Consider that guy in Philadelphia, who's rotting in prison for refusing to provide his FDE password. He claims to have forgotten it, but that's not working out so well.
I find IPFS very interesting, and I actually just created an IPFS pinning service with a friend (https://www.eternum.io/). I hope Filecoin will be as well-run as the IPFS project is, it certainly looks very interesting.
Right. You can torture all of that wealth right out of him, pretty much on the spot.
For gperf I had to add >int support by myself.
https://github.com/rurban/gperf/commits/long_keys

cdb is limited to 2GB, yes.
The answer to that what if is you probably would have sold 80% of them at $30 each, and then most of the rest at $100 each like most people who got them early. Getting back 10x profit is hard to turn up when you have no idea of the future.
>The webpage also says, "Redundancy is achieved through the use of erasure codes so that your data can always be recovered even in the event of large network outages."

>Does this means files can't be lost, as long as you keep paying your bill?

The white-paper mentions:

>"ORC will soon implement client-side Reed-Solomon erasure coding (Plank (1996)). Erasure coding algorithms break a file into k shards, and programmatically create m parity shards, giving a total of k + m = n shards".

So at first glance its seems like the usenet parchive/PAR2 redundancy methodology, but storing the parity shards locally (client side). Well that's my interpretation of this section of the white-paper anyways.

So in short: it certainly doesn't mean that the files "can't be lost", but it means the owner of the files can rebuild the files using parity shards from client side in that case that network outages affect file availability.
they only build luxury developments in dallas too.. it's not exactly rocket science as too why.. the land is expensive and they need a ROI.

they take care of parking with prefabricated 5 story garages.
Buying drugs is arguably the most efficient use of money. Considering that the only reason we purchase things is to ultimately get more endorphins released by our brains. Drugs can directly hack that system.
Digressing a bit from the power grid, but American broadcasters will often speed up older shows (e.g. Friends reruns) because an hour long block of TV has more commercials now than it did in the 90s.
Interestingly, once you are on datomic you have a little more freedom of choice on underlying storage. Since Datomic uses postgres/ddb/cassandra as just a KV store it becomes trivial to switch underlying storage using the backup and restore feature. Nice if you decide to shop around or like a particular feature of a storage offering.
Already at the start of the thread I wondered whether a ruler already counts as analogue computer. Now what about straight edge?
BayesDB: A probabilistic programming platform
must be etcd then. ;)

it took etcd about 2 years to become mature on its _single_ group raft implementation. the abstraction in raft.go is pretty good, the test suite is the best I can find, message passing and tick handling is correctly handled, but to be honest, everything else (entry management, transport, snapshot streaming, request handling etc) need to be rewritten/added to further scale it to support multi raft groups. that is actually what cockroachdb did.

etcd raft is great, just want to give my understanding on how time consuming it is to write a production ready raft library.
Consoles routinely launch new machines with not-previously-existing operating systems and do fine. So "there aren't enough pre-existing Linux games" is not explanatory.
And some others are going full retard. Some streaming services actually add compression to everything…
One man’s concrete jungle is another man’s walkable and extremely lively community.

Also, many people have pointed out, we don’t need to go full Manhattan to satisfy current demand. We can do it with mid-rise construction, that still leaves lots of open spaces and views of the sky.

To do that, we have to recognize that “character” is not just the outside of the building, increasingly a playground for the rich, but the life that goes on inside them.
Then I imagine you never had the fun of feature driven software development by consultants at enterprise level.

Being one, this works like this.

Company X, which main business has 0% to do with software development requires a new feature on an application being used at deparment Y.

They send out an RFP to several consulting companies, the one that gets the gig, sends a few developers, which get a configured devenv from company X IT department and implemente the requested features and go away.

Manual memory management languages became out of fashion in such kind of companies, because it is almost impossible to jump into a gigantic ball of mud, while keeping track of all ownerships.
Dopamine outta wack, son. It's not always feel good.
The next crisis for California will be the affordability of water
Perhaps, but Topsy did kill a human first
I think they should be sorted some way.
Not only it wears you out, but it can be dangerous, especially in clubs. The longer you listen to loud music (can be just a few minutes!), the more damage is done. Having music with a wide dynamic range helps to have an overall lower volume and preserve ears.
Perhaps 100 years from now, it will be amazing how much opposition there was against human-caused global warming today – a connection that none may doubt then

I blame politics for both
Because it's yet another thing to remember to turn on and off... I already have to turn off location so Google isn't tracking me all the time.
I wouldn’t say San Francisco is exactly lacking in zoning (http://sf-planning.org/zoning-map), and whatever it lacks in specific law, it makes up with the most horrendous process imaginable. (http://sf.streetsblog.org/2017/03/30/yimby-asks-how-do-we-ge...)
Huge?
Yes, I was slightly bothered.