skysight-inc/HackerNews huggingface dataset:
> Totally ignoring errors leaves you with crashy garbage that does not accomplish your goal of high uptime/availability/not corrupting data in C++ - I'd wager you're dealing with safer languages to type that with a straight face! Even there, though, you probably write code to at least handle null references and other edge cases. You might not trigger fatal assertion dialogs, you might not log to some fancy telemetry system, you might not even log at all - but something to handle error conditions.

That is exactly what I mean. Defensive programming is erroring out and refusing to do anything from that point forward (think of it like an uncaught exception with less information). "Total" programming is doing the best you can, given what's available. Generally if I am unable to do something, or look something up, I'll return a partially filled out request, log it (logs are rate-limited VERY early in the logging process), and increase a counter created for that particular case.

(I do use C++ often, but we use variable guards to guard against null pointers, use-after-free, and sharing (unless explicit)).

> A fun trick from gamedev: "Assertion" macros that force you to include an error handling statement

Link ? I'm interested.
That’s correct. Or, to explain in (slightly) more non-mathematical terms: The last person (‘person 10’) shouts out (e.g.) ‘white’ if the number of white hats in front of him is an odd number (1, 3, 5, 7, 9) and ‘black’ otherwise. Let’s say he shouted ‘white’. The person in front of him looks at the people in front him. If it’s still an odd number of white hats, his must obviously be black; otherwise it must be white.

If his hat is black, his shouts out ‘black’, and the person in front of him knows that the rest of the line (8 people) must still have an odd number of white hats, and he applies the exact same logic. But if the hat of person 9 was white, he would shout out ‘white’, and person 8 would know that the rest of the line (including himself) should now have an even number of white hats.

So, basically the rule is: Define ‘the rest of the line’ to mean the people who have not yet shouted out a colour. When the first person (person 10) shouts out ‘white’, this means that ‘the rest of the line’ has an odd number of white hats (parity: odd). Whenever someone shouts out ‘white’, the parity (even/odd) of ‘the rest of the line’ is flipped.

Using this, each person only has to count the number of white hats of the people in front of them and observe if it is even or odd. If it matches the parity of ‘the rest of the line’, the person’s hat is black, otherwise it’s white. (This also works for the person in front of the line (person 1). He sees no (or 0) white hats, i.e. he sees an even number of white hats.)
Porque engordo se como pouco – O que fazer para evitar
I meant the local one. Remote editing over ssh is a nonstarter.
It's only a matter of time
-or-
Please shoot me when it happens
Show HN: A real-world heightmap terrain with an animated energy dome (in Go)
I had to add ?33333 to the end of the URL, and reload, to bust the browser cache.
There's WiFi enabled SD cards[0]. I had one of those and it was running Linux, you could SSH into it. Maybe the attack-surface to the host computer is smaller (I'm not sure about that either). But there's certainly enough bad stuff an SD card could do.

[0] https://hackaday.com/2016/06/30/transcend-wifi-sd-card-is-a-...
Based on another article I saw, this doesn’t seem to be the case with AMC.[1]

Basically, all of MoviePass’ subscribers is still a tiny portion of AMC’s sales, so they’re refusing to share any of their revenue with MoviePass.

[1] https://www.theverge.com/2018/1/26/16936952/moviepass-amc-th...
So what other internet services have deployed soldiers sent sensitive location data to?

Does each internet service need to proactively hire someone with clearance and coordinate hiding of sensitive information with the US military?
Boost mode is still not a powerful instance.
If you learn getopt, you will know having -x multiple times is not an error. It is a feature. For example, you can specify multiple files of the same type with one option. I agree silently ignoring those empty "-" is not desired.
This sounds like the kind of thing that would be very powerful if built in from the start, but an absolute nightmare to try and retrofit to an existing system.

It reminds me of the Amazon "everything must be a network service" architecture. Painful to institute but with great payoffs later in terms of robustness and scalability.
For months, that Google classifier captcha was incompatible with iOS Safari, just kept offering infinite rounds.

I realize the odds of a Googler experiencing this are nil thanks to developer employment policies requiring Chrome (ahem), but still surprising this persisted from introduction until just recently.

Out if the office I’m a happy iPad Pro “What’s a computer?” user, so this broke the web. But finally seems to have been fixed a couple months ago.

Lesson here is don’t start all your user stories with “As a mono-culture developer...” Users do exist that prefer the battery-life and privacy preserving Safari browser.
Taxpayers dont want additional burdens. Parks are already free and accessible. These treehouses are nothing more than a hollow gesture considering Amazon's toxic middle-managers and poor processes like performance reviews based on the cult-like "leadership principles."

(Note: I worked at Amazon as a front end / full stack dev around the SLU Seattle campus recently and left _voluntarily_ due to the environment.)
> greed overpowering logic

Isn't that the best kind of greed ? Greedy logical people make more money than illogical non greedy people.
that sounds about right for a presidential class, ultra-customized air fortress. Note the previous ones lasted a couple decades; they're buying a system that has a long-term support contract associated with it.
I really don't know what kind of IKEA stuff people buy that breaks all the time ?

Living in Sweden I've bought quite the number of IKEA furniture, and to this day none has failed. What has been thrown out ( or sold ) has been stuff I got bored with, didn't fit a new apartment, or similar.

There has been missing bolts, goods damaged during transportation etc, some of them really annoying, but all furniture has held together longer than I wanted to keep them.
Ask HN: How do you test your cross build binaries against each platform?
For testing static cross built executables from golang
I think High Sierra is the worst Mac OS release yet.

I’m sure there’s a cognitive bias partially to blame (since it’s the most recent) but it looks like we are way past that.
> The ticket costs for the movie and dinner type places are usually cheaper since they can make it up on food

For some of them, this may be true. However, one I visited in the Midwest put their 'eat & watch' section in an exclusive balcony above the standard seating area and was charging almost double per ticket (along with sub-Applebee's food at Chili's prices). They have apparently been in business for over five years doing this.

I enjoyed the experience, but I ultimately didn't feel it was worth the extra cost, and the sound of silverware on ceramic plates & bowls was a bit distracting. Handheld food and fancy paper/plastic plates and utensils would be how I'd run that operation.
What is this mythical furniture source that’s better quality than ikea but affordable? A couple of years ago I bought a house after living in furnished rentals for about 10 years, so had to buy furniture. The options seemed to be:

(a) ikea

(b) stuff generally of lower quality than ikea and in my subjective opinion far worse design, for somewhat more money.

(c) very good quality and design, but extremely expensive; 2000 euro and up for a sofa.

Literally all the furniture in my house is ikea, as a result.
Linux employs security by obscurity now?
Stellar is looking very good for lots of use cases. That's the only one I follow though. What else is good from tech as well as how the coin has been performing?
Thank you; I thought I was going crazy. Ctrl-F: htop
Depends on the vendor and the product, but that is pretty accurate.

Some vendors send the plate over the network to check, some download the latest data to the cop-puter daily. Some hourly, and some get pushed updates as they happen.
One of the first unethical “hacker” things I did was to attempt to change the bill output to larger bill. I got so incredibly nervous when I went into the debug screen that I power walked out of the corner store when the clerk noticed I had been at the machine for several minutes and had not inserted a card.

You find a lot of these ATMs that are even more insecure than the larger WinXP machines. Those little kiosks are perfect for skimmers, manipulation, or just fucking around with.
I really wish this stuff existed when I was learning about FFTs - this video describes the theory far better and in far less time than my broken-english college professors ever could.
The Economist wrote about Kamprad's foundation and IKEA's structure a decade ago: http://www.economist.com/node/6919139

>Much has been written about IKEA's remarkably effective retail formula. The Economist has investigated the group's no less astonishing finances.

>What emerges is an outfit that ingeniously exploits the quirks of different jurisdictions to create a charity, dedicated to a somewhat banal cause, that is not only the world's richest foundation, but is at the moment also one of its least generous. The overall set-up of IKEA minimises tax and disclosure, handsomely rewards the founding Kamprad family and makes IKEA immune to a takeover. And if that seems too good to be true, it is: these arrangements are extremely hard to undo. The benefits from all this ingenuity come at the price of a huge constraint on the successors to Ingvar Kamprad, the store's founder (pictured above), to do with IKEA as they see fit.
Invest their stash of USD in treasury bills / overnight libor and keep the interest?
The idea that all things are conscious is gaining academic credibility
Greed is anticorrelated with logic as it is usually a vice that causes poor decisions made by overweighing possible gains and minimizing possible losses. It is a non rational mode of human weakness, and can even be correlated with evil ie. Nestle and formula / water fiasco, Microchip companies hushing fab workers with birth abnormalities/ health issues
Just started, and already found a patrol route of Pakistan army, although it was quite obvious one, going parallel to a border river. Hope they don't take this down, it's going to entertain me for many days to come.

On a more serious note though, this is an good example of how important it is to control our own data. It only makes me take even more efforts to secure my data and to try to make less of it available to others.

We really need to convert Internet to what it was meant to be, a "decentralised system"
But wouldn't this cheaper Ikea furniture just translate to even cheaper second hand Ikea furniture? I can't imagine a way to keep furniture prices high enough to pressure people into engaging in the second hand market.

The last time I wanted to get rid of something very cheap I posted it online for people to pick it up for free. A few days later it was gone.
Banks are insured by FDIC, which both protects the customers and makes the run less likely.
The third richest man in the world, Armancio Ortega, is from Spain. The tenth richest man in the world, Bernard Arnault, is from France. Ingvar Kamprad was at one point the eighth. And there are many others.

Lack of philanthropic giving in Europe is not due to a lack of wealth, but due to a desire for dynasty.
Sure there is a point in getting second-hand furniture/clothing/electronics/whatever, even though these things can be had new from IKEA/department stores/China/anywhere for a pittance. The reasons are multifold, actually. You can find things second-hand which are hard or impossible to find new. You can often get higher-quality material second-hand - after all it has already spent a lifetime in someone elses care and still survives to be resold. Second-hand is often still cheaper and the proceeds generally go to some 'good cause' (which you might, or might not agree with so it makes sense to investigate this before giving a charity your business just like it makes sense to do the same before giving any business your money). Reuse is better than recycle is better than landfill. The second-hand store is probably closer to your home than the IKEA, certainly closer than China. When it comes to electronics you can generally get 'professional' grade material for 'consumer' prices.

In other words it is your own actions which will decide whether the presence of IKEA (et al) is detrimental, neutral or beneficial. It can be beneficial due to the economy of scale made possible by their concept but they do have a number of 'throwaway' products which can be seen as wasteful, although many of those products are made of recycled (fibreboard) or rest materials (hardboard) so the waste is more related to manufacturing, transport and disposal. The solution is just not to buy those products - or repair/reinforce them when they get damaged.
An OpenBSD machine still running unpatched from the XP era would be every bit as vulnerable.
You could check the OSM gps layer to see if it has interesting data in the area; you can directly fetch the data there.

https://www.openstreetmap.org/#map=18/38.03114/-78.52475&lay...

There's less traces than Strava has though.
There are a few vendors out there who sell the data they collect, and then sell search capabilities to law enforcement agencies, repo firms, bounty hunters, etc.

These camera systems are usually installed on civilian cars and those people just drive around all day on 10 hours shifts around their territory. They aren't looking for people, only collecting the data. Some of them get rights to add cameras to signs in front of shopping centers on busy streets. Some have even illegally placed them next to red light cameras that use an open wi-fi to upload the data back to their database. Its the wild west for some of these guys, but they make almost no money once you account for the cost of the cameras, cost of staff to drive around, etc.
Agreed. Some of the old SIGGRAPH course material like Baraff's PBM stuff[0] was simple/clear and stood on its own legs.

He didn't use the Notes section of PPT to print leave behinds (like my lazy own self does) - but took the time to interleave his talking points with his slides for the "leave-behind".

Karl Sims ... Same thing.

I still use some of the old SIGGRAPH material to teach/tutor my now university age kids how to create interesting projects (like the old x-springies) around numerical methods and creating little toy beginner physics engines.

[0] https://graphics.stanford.edu/courses/cs448b-00-winter/paper... (slides - including Witkin's are after the whitepaper-ish looking stuff at the front of the file)
Thanks for the info. It looks like we’ve a little while to wait, but there does at least appear to be a push for this kind of feature. I’ll keep my fingers crossed :)
No. Is it hard to see that IKEA furniture is not made to last? Doesn’t matter how many hands it changes - overall longevity is what determines its life.
Which information here is equivalent to a vote. Spell it out.
Ah yes, sorry you're right. It was Reply All.
There are two different things that people can mean when they say "undefined behaviour" in regards to C/C++. One is what you're talking about, with "undefined behaviour" meaning "one of several things could happen, you don't know which, and some of them may be bad."

The other is more specifically talking about code that is deemed "undefined behaviour" by the spec. There's a surprising amount of this, and the compiler is explicitly allowed to do anything it wants when encountered, from emitting 'close enough' code to emitting no code at all, to emitting code to order a pizza to your current location.

If this is the latter case then it could result in random bits of code mysteriously doing completely unexpected things if the compiler thinks a data race there is possible. This would make it far harder to track down bugs and reason about what code might cause such.
The article states this as well, but I wanted to hammer on it. Tim's book is a quite serviceable read on building a sustainable Internet business, and warns against the kind of mentality that everyone seems to associate him with. He's really up-front about the fact that it can take years of 60-hour work weeks before you ever see a four-hour one.

He's also stated in a blog post that he chose the title for the book based on market testing. It's far more of an indictment on society than it is on him that people take the spirit of his book wrong.
Doesn't look "easy" in the common sense but thanks, I might even have a free Pi somewhere. I'll give it a try.
Homeschool Journaling Ideas-An Effective Writing Curriculum
I think we're on the same side of this.
Did you _build_ the business on 4 hours a week over 10 years? That'd be maybe one full time year worth of work over the period. Is it now fully supporting you, i.e. more than 6 figures of profit? If you did that on four hours a week over the duration, I salute you, and care to share your niche?

If not, and you did spend more time in the first few years getting the business established, then how can you compare your relaxation on maintenance mode of a business after it is running smoothly with the initial effort it takes to get off the ground? That's pulling up the ladder after you succeeded, not relevant advice.
I keep forgetting that the the great coders like Avie Tevanian are long-gone from Apple.
Docker images are pretty much the standard for on-premise SaaS products. Consider Replicated (https://help.replicated.com/categories/getting-started/) or Gravitational Telekube (https://gravitational.com/docs/overview/) for packaging and management.
I've seen your post - it does make sense to be that way indeed.
People don't run in the Père Lachaise cimetery in Paris, interesting !
The important part is that these ideologies don't propagate within these organizations - an important part of this however is - within the leadership of each organization -
publicly acknowledging and owning the organization's past.
I agree that putting this on individual landlords isn't the right move, but if you want moral absolution, you should consider what you can do to help increase availability and decrease the market rate throughout your metro, particularly politically.
The Free Software Foundation (FSF) is another non-profit that provides infrastructure and funding to the GNU Project. They're two different entities - with very similar goals, though.
You are getting down voted, but you are accurate. The agencies have to pay for them some how, and money busts (not drugs, though related to drugs) are the best way.

It doesn't mean they prioritize those crimes over kidnappings, but it means the department that gets access to the system first until it's are paid off is the narcotics division.
Imagine programmers asking for a per-execution rate.
Do you know of any good books that talk about the culture like this at Ikea? I'd love to read it.
Over the past two months at my job, I had the task to sift through our intranet, finding as it turns out mostly PowerPoint presentations and then sticking all of that information into a OneNote document.

Transfering information from one badly indexable, not deep-linkable and completely inappropriate documentation format to the next.

And then I was told to put the link to the OneNote document into a PowerPoint presentation, so that the PowerPoint with the link in it could be uploaded to the intranet.
I felt the whole book to be a bit tongue in cheek anyway, as if no one was expected to actually try it. The point of the book for me wasn’t to achieve the four hour work week, it was to take control of your work week so you can have a better life.
IKEA has several price/quality options. I’ve shopped there for a long time and slowly moved up the product line. Their breadth makes it hard to compete with.

On the low end, pretty much anything cheaper than IKEAs entry level is total garbage. I’m looking at you Target! That stuff is little better than a cardboard box.

On the high end, price rapidly outpaces quality. Every time I think “maybe I’ll get real furniture this time” the prices jump 10x. That’s just not worth it to me.
Jackpotting: Secret Service warns ATM scheme has hit U.S., report says
Thanks for the clarification. I was looking everywhere for a price tag but couldn’t find it. Was excited to see another dev charge for their work! Maybe the title of this post should be changed so it’s less confusing?
Coltrane: A musical querying library with a command-line interface
Highway of Riches, Road to Ruin: Inside the Amazon's Deforestation Crisis
But you got to wear Hugo Boss!
To some extent we do when we do API rate limiting, but I agrree. In general, this is pretty silly. I feel like software engineering is the one field where open sourcing your work is expected to some extent
Sorry for offtopic, but I´ve seen many nice-looking website generators here, but being a backend-guy I struggle more with the frontend, getting a nice layout/theme/font without deepdiving into css/js/html. Any suggestions here ? Any Wysiwyg-Editor which generates a reasonable output ?
I don't think I've heard anyone make that Linux relies on security through obscurity in at least 15 years or so. Linux pretty much won in the server market, and if you consider the volume of e-commerce transactions by the big players on Linux alone... ATMs seem like the small stuff in comparison.
If the intention is to skip songs and change volume when listening to music, can't you just use the buttons on your headphones?

I understand that there may be value for hardware buttons, but the example given by the author is a pretty much covered by simple headphone buttons.
For me the big win was the realization that if you are an excellent performer at your job, you can negotiate perks. And a lot of that perk negotiation can involve asking for forgiveness rather than permission.

Huge mental shift.
See Oracle’s licensing. That stop short of “per execution” but I feel they get close with “per processing core.”
I don't think a heat map of your surrounding environment counts as "your data".

Virtually every government seems to feel the same way, and in a rare moment I find myself in agreeance, even if this perspective currently manifests itself mostly in drug-related stings
We already asked you to please start posting substantively, so we've banned the account. We're happy to unban accounts if you email us at hn@ycombinator.com and we believe you'll post civilly and substantively in the future.

https://news.ycombinator.com/newsguidelines.html
You can always port it’s not legal for someone to try and prevent you from porting a local number and in most casses the provider can’t stop it
If you deposit more than 10k in cash, a bank is obligated to inform the Secret Service's money laundering division per the PATRIOT Act. Secret Service has jurisdiction in a few places you wouldn't expect.
Sure, super useful.