skysight-inc/HackerNews huggingface dataset:
Any input that your program accepts that produces a sensible output is within the set of inputs for which your program is designed to be valid, which is a subset of all possible inputs. Arbitrary input means any possible input, beyond the set for which your program is valid, including those that causes your program to segfault or set your cat on fire.

Expecting to handle "arbitrary input data" would mean to try to accept data outside of that set. In the case of a CSV parser, it would mean parsing /dev/urandom as a CSV and producing sensible output ("sensible" defined by the users, which in your example is the dog "Sue").

What the maxim says about being flexible in what you accept is not trying to tell you that everything should be considered valid, but instead that it doesn't hurt to allow certain rules to be broken if it cannot do any harm. This could mean supporting trailing commas in JSON arrays, which while illegal is a harmless "extension".

However, it is not trying to tell you that you should accept garbage and "silently recover", trying to do something with invalid input. Doing so does more harm than good. Be flexible, not stupid.
The encryption keys are supposed to be generated client side. Obviously you can’t verify this since 1password is closed source, but if your threat model involves the client misbehaving, then you should be using any proprietary password manager. Cloud vs not Cloud is irrelevant.
Maybe you have to press a DTMF digit first, something the robocalls wouldn't know how to do? (and have no incentive doing, as so far nobody is using this to block robocalls; I'd expect them to catch on if this kind of "firewall" starts being in widespread use)
The first person part was harmless and was a call out to the game. It was fun.
> The driver had previously reported to Tesla 7 to 10 times

I understand this is not a popular opinion on news forums anywhere nor do I write this to absolve in my view Tesla of their poor response nor of their poor choice in naming the system 'autopilot' to start.

But at what point does corporate or government responsibility end and personal responsibility start? If I knew something didn't work and that something could kill me and had reported the issue 7 to 10 times, I would be watching, like a hawk for the issue to recur, or more likely just not using it at all.

People have this insane idea that just because something isn't their fault they don't have to take corrective action in order to avoid the consequences. It is better to be alive than to be correct.
sha1 - object (e.g. 5a480efb...)
file with sha1 - ref (e.g. master)
file with ref - symbolic ref (e.g. HEAD)

right? Seeing as you can git update-ref branches, but you need to git symbolic-ref HEAD.
"better" meaning what exactly? Are you talking about running a database with high throughput, recording audio with low latency, or computing pi?
You’re going to die and Tesla is going to issue a press release saying that it’s your fault.
> A good Congressperson would be one who can wield the full force of their team's knowledge and research power.

In practice I fear it's more that a 'good' (electable) congressperson is the one who can wield the full force of their lobbiest's knowledge and power.

I try hard not to be cynical but as a citizen of the UK the soft control the private sector has over our government is horribly worrying.
I'm suprised more movies haven't been made around League, DotA and other video games. I know some have been made but none with the big budgets like Avengers or Iron Man. The younger generation identify with video games not superheroes created in the 50s and 60s yet DC Comics and Marvel dominate this movie genre. It's a big opportunity waiting to be exploited.
Eh, the NT handle table and Unix file table are very nearly the same thing these days.

I'd say it's more like using the per process FD table for everything, rather than having global tables like for PIDs. Which is really cool, IMO. Containerization is all about adding indirection to the global tables, but of there are no global tables, you get all of that for free.
Top 5 Video Game Movies That Aren't That Bad:

1. Prince of Persia: Sands of Time (2010)

2. Resident Evil (2002)

3. Doom (2005)

4. Mortal Kombat (1995)

5. Lara Croft: Tomb Raider (2003)
Like I said, I'm not a fan of new regulations. I think each company should get to do their own thing. But I also see why workers need protection -- because when given the choice, many companies won't do the right thing unless it's also the cheapest thing.
The source of the interference doesn't give you any information as to where the attacker is. The source could be a Raspberry Pi connected to a cheap SDR and controlled over Tor. By the time the feds find it, the damage has already been done and the attacker could've planted another one of those somewhere else.
Doesn't help, the message they are sending are misleading customers and that's irresponsible.
Do it, take the startup job. No downside. If it all goes tits up you will now have lead technology operations on your resume so your next corporate job will be a jump up.
Can you store user progress in the cookie, or Local Storage etc, instead of involving a third party?
For a developer there shouldn't normally be a need to check email that often (if good processes are in place), but if you're doing sales, support, fundraising, etc., then seeing and responding to incoming emails quickly can be very important. It's crazy how much difference in conversion rate you can see by responding to a lead in 5 minutes vs. even a few hours, or how much more forgiving customers are of problems when you respond very quickly.
I find this argument so often. Autopilot has never been a term for autonomous, just as its used in aviation. Just because people don't know the proper term or have an erroneous idea of the term, doesn't mean tesla has to have the burden of people misinterpreting what it says.
For me it's the opposite. I feel like with cruise control on, I'm much more attentive to the road and the surroundings and feel much safer.

It really annoys me when I have to constantly look at the speed to avoid getting above the limit and it is very tiring for long drives.
> I have to preface my post to say that I think developing self-driving automobiles is so important that it's worth the implied cost of potentially tens of thousands of lives in order to perfect the technology, because that's what people do; make sacrifices to improve the world we live in so that future generations don't have to know the same problem.

I generally agree with this philosophy but this is very optimistic, at least in the United States. This is a country where we can't even ban assault rifles let alone people from driving their own vehicles. You're going to see people drive their own vehicles for a very long time even if self driving technology is perfected.
I used to use it, I now use Cookie AutoDelete [1]. It's especially a nice on-boarding experience: at first the cookie Auto-clean deletion is disabled so you have time to whitelist the sites you want, and then you turn it on.

It also support Multi-Account containers[2], so you can whitelist a particular site only in a particular container. This is obviously a new feature compared to Self-Destructing Cookies since Mutli-Account containers didn't exist back in the time.

[1] https://addons.mozilla.org/en-US/firefox/addon/cookie-autode...

[2] https://blog.mozilla.org/firefox/introducing-firefox-multi-a...
The rules for qualifying for a rental license are detailed, and pretty reasonable. They permit renting out a room, or your house if you live in it, but do not permit turning an apartment complex into an AirBnB hotel. In short, you can let on AirBnB, as long as you are not diminishing housing stock. [1]

It's not perfect, but it's pretty damn good.

[1] http://vancouver.ca/doing-business/short-term-rentals.aspx

> Short-term rentals are allowed when:

> It's your principal residence, in other words, where you live most of the year and the residential address you use for bills, identification, taxes, and insurance

> It's a legal dwelling unit (a home with an address that complies with all applicable regulations, including building code and fire safety)

> You have a short-term rental business licence

> If you're renting, your landlord allows you to sublet your home as a short-term rental

> If you're in a strata, your strata bylaws support short-term rentals in your building
Xen's more of an exokernel, and AFAIK ESX is monolithic.
Sorry; Chief Product Officer.
Santiago originally said if we need more than 8 decimal places, it can be done with an update. There’s nothing really fundamental in Bitcoin that is limiting it to 8 decimal places.
Both Minix and QNX are handle based microkernels. Probably only one "everything is a file" "microkernel" is Plan9/Inferno, which is generally not considered a microkernel.
Wise move, if he doesn't engage in the fight then Trump is starved of the publicity from a "he said/she said" situation and will move on to someone else.

Also when your 'opponent' is the president of the united states they always have a louder voice so why get in a shouting match in the first place.

I'm not a huge Amazon fan but Bezo's is smart (ruthless but smart).
If you keep posting like this we'll ban the account.

https://news.ycombinator.com/newsguidelines.html
Introducing FOSDEMx
You don't think there's an implied difference between Autopilot vs a name like Driver Assist? Even Co-pilot would be be a better name as it implies an expectation that the driver is still ultimately responsible.
> You're missing the point of reimplementing some or all of the standard libs. Similarly, disabling C++ exceptions and RTTI is a very common practice in gamedev.

I clearly stated there are good reasons to do so and some games do require it. Mostly though they don't.

> disabling C++ exceptions

stl::throw is pretty lightweight unless you use the exception objects, you can not catch exceptions, and you can also pass -fno-exceptions.

> RTTI

RTTI merely helps with casting, usually none of that is going on at runtime as game loops need to be clean and perform zero allocations if possible, it should be already loaded up in memory, architecture of the game loop and game can remove this concern. You can also disable RTTI with -fno-rtti and enable it per class with virtual void nortti(); per class or on ms compiler __declspec(novtable) per class.

Rarely do exceptions or RTTI affect the game loop and framerate as most of that should not be needed during runtime game loops.

Usually the complaints that are valid are about allocations/fragmentation but you can also write custom allocators and other solutions and like you mentioned the code style/api style. It can also be a simplification not using stl but usually things start to grow in custom libs to re-implement much of the same functionality.

>> EA even rewrote the whole standard lib EASTL [1] to adjust for some of these issues i.e. fragmented memory. Some games require it, some it is pure ego in game development teams.

In engineering there has to be a GOOD REASON(s) to start maintaining buckets of new code and libs. There are also ways to do it that still allow for most of the standard and promote documentation and understanding to it.

EASTL is a great way to go about it and I linked to it to demonstrate that.

I was mainly calling out using both standard and custom, that seems like more technical debt, if you truly do need custom libs then go all in. Having both lead to more problems but understand there is weight/debt to it and it isn't always better.

> So please, do not just dismiss all the gamedev wisdom like that.

In no way did I dismiss it, I just said there is a constant of this battle (stl/boost/others vs custom) in all gamedev studios and many times it is unnecessary bike shedding and yak shaving that doesn't have a runtime difference on the game or make the game better.

Find me a game studio that doesn't have a stl/standards vs custom battle and I say... wait for it...
Or just as a starting point to realize that people are different and view the world differently. Many users approach software differently than programmers for example.

The problem comes when you start doing things like match people to jobs or tasks based on their MB profiles.
nixing ~31% of expected weight loss

actual + 0.45 * actual = expected

1.45 actual = expected

1 actual = 0.69 expected
The vast majority of programs support things that are not CSVs. :)

(Couldn't help it.)
The fervor visible in your response validates the significance of a license change.
Not sure what the motivations are, but I think it's nice that vulnerabilities get their own bit of marketing and everything, as it can appeal to the non-tech crowd. Most people wouldn't give a shit about a paper or some technical info, but a nice-looking website and a video demonstrating it could interest them and at the very least make them aware that such mischief is actually possible.
Videogames have garbage stories. They're pablum. Because of the aggressive censorship in the videogame medium (aided and abetted by gamers), no videogame features a film-worthy story. At their most "extreme", videogames verge on PG-13 garbage action movie territory. Keep in mind videogames feature animated characters, not people. Ratings are different for animated media.

Good movies push people. They bring intense experience to the table. Insight. Important things. Videogames literally avoid all of those like the plague. Out of an infantile fear of government-led censorship that has been proven wrong over and over and over since the 1980s, gamers defend a system of far-more-perniscious censorship by private companies. And so they get what they have worked so hard for. Milquetoast garbage in terms of emotional content in games.
Questions to Mark Zuckerberg show many senators don't get Facebook
I don't think that's what the parent was complaining about, it was more about handling signals correctly. It's incredibly easy to write buggy signal handlers on a Linux system. The "self-pipe" trick[1], and later, signalfd(2) have made signal handling much easier, but a lot of programs still do it the old way.

[1]: http://cr.yp.to/docs/selfpipe.html
[2]: http://man7.org/linux/man-pages/man2/signalfd.2.html
Notice in the video where the car DOESN'T head towards the divider, the Tesla autopilot dashboard shows that it can see the car ahead of it.

Sorta ironic. In a sense autopilot is trusting/deferring to the judgment of the driver of the car in front of it for course determination.
While I'm very enthusiastic about the Librem 5, I think it would be better if they recommended a non-C language for app development. Gnome Builder, the IDE they recommend, has support for Vala, Rust, and Python, all of which should provide a much better developer experience, not to mention should enable more reliable apps.
https://fuchsia.googlesource.com/zircon/+/HEAD/docs/zx_and_l...
"Besides the Cambridge Analytica scandal"

That is exactly the reason, and the only reason. Because Facebook let user data from potentially hundreds of millions of people get used by a third party who "said they deleted it" -- they have to take the blame.
The Guardian did a report a few years ago about some of the multi-million pound properties in London which have been left empty and derelict for years:

https://www.theguardian.com/society/2014/jan/31/inside-londo...
Max Keiser about Bitcoin Price – ‘My long-term target of $100,000 ‘
Given the nature of the product, the strategy for handling this must have been ironed out a while ago.

This is it.
I disagree. Opinions like this one allow people who want to make more money, impress employers and get noticed because of it, and therefore excel to achieve those goals.

The unintended consequence of a rule like this will be that employers will move to limit liability by introducing technical barriers like are being discussed elsewhere on this thread. Therefore people who want to work more and be compensated for it will be technically prohibited from doing so.
Exactly. That awkward thing from years back that still makes you cringe inside? Extremely long odds that no one actually remembers it, and probably wouldn't even if reminded (and if they do and are that unforgiving, they're not the sort of person that matters anyway). Relax and get on with life...
The issue is how long between the problem first manifesting itself and a crash becoming inevitable. Note that even as short a time as ten seconds is an order of magnitude longer than one second. There are at most only a few rare corner cases in aviation where proper use of the autopilot could take the airplane within a minute of an irretrievable situation that would not have occurred under manual control.
I don't remember where I read this idea (because now I'm also in the "build your own keyboard" thing and read a lot about this), but the main take is that when you have fluency in mundane task you focus better in the more intensive ones. in fact you already say this:

"I sit with a pen and paper and draw diagrams, or write pesudocode until I have worked out what I am going to do. When I was far less experienced I liked typing a lot and enjoyed programming Java. Now I see that every extra line of code is an extra place that bugs could hide and I prefer more expressive languages and more functional / declarative styles of code"

ie: You have optimized typing, using something else!

----

I have tried VIM and Emacs a few times and after some few minutes with them I think "This is stupid. Relearn everything will slow me too much, terminal is too limited, and I'm fast enough with "normal" editors."

Being slow a typing on vim/emacs make me appreciate how "fast" I'm with native editors like sublime.

Also, I have a MS Ergo Keyboard and building a close clone with the minimal changes that I imagine will close the small things that bother me.
It pains me to hear about developers doing the wrong thing just to beat a dumb benchmark. If you really care about cpu raytracing performance, you need to write handcrafted simd code and C# default float handling is of no consequence to you. Correctness > speed.
I haven't read all of it yet. It's not bad, but I think elements like the conflict with Major Silva takes away the focus from the main storyline. A lot of that is: What is Halo? What do the Covenant want (other than killing humans)? And what is the Flood and how do we stop it? That's plenty of story for a 2-hour movie, I wouldn't spend a lot of screen time on much else.
According to the TOS, and given Tesla's statements, the system needs to be supervised by a 100% attentive human 24/7. From what we know of human physiology, and what we have observed from previous self-driving crashes, this level of attentiveness is impossible to maintain... Without being the one actively driving the car.
A newsletter about data and story telling
WeakMap: The JavaScript Underdog
This visualization is really cool and innovative! It's useful for seeing the changes in the stream of values even if they are small relative to absolute magnitude (e.g., 1000001 -> 1000005 -> 1000003 etc).

The tradition way to solve this is to rescale the y axis (for example google stock price chart ranges from 1000-1200). But this doesn't work for graphing IO because it spikes up/down too often in a huge range.

Your visualization plots the base-1024 digits so whenever the IO is sustained at a certain range, the top few digits will be held constant and the next digit will show the variation within that scale.

Unfortunately I don't think this solves the spiking problem completely. It's mentally hard to parse since two adjacent values are only comparable whenever their top digits match.

For example it's only meaningful to compare (1gb+2mb+3kb) with (1gb+2mb+5kb) on the kb graph. If it spikes down to 0gb+0mb+0kb, you need to switch to reading the gb graph (since comparing the kb value to one before is pretty meaningless unless for some crazy reason you actually care about the mod 1024 value of two very different numbers).

To fix this, you should color code the "runs" of values that are meaningful to compare! In other words, kb values have the same color only if their gb/mb values match. And mb values have the same color if their gb value matches.
> I don't believe either "shadow" profiles are every associated with an account or personal details even when you make an account on the associated service.

Based on what? Did you talk to someone in the know? Are you just speculating?
How much of the Android app ecosystem has a strong dependence on POSIX compatibility? I mean, yes, it is Linux under the hood, though it's not glibc, but most software is written against the SDK which abstracts over all of that.

Not being POSIX doesn't mean it's going to be entirely foreign or that it will have no compatibility with software that is already written for POSIX-like platforms. It just means that the basic process management, IPC mechanisms, permissions handling, and so on uses a model which is akin to a cleaned-up subset of POSIX; everything is done via handles, which are a lot like file descriptors but work in a somewhat more uniform way, there is cleaned up management of resource allocations to jobs, memory mapping of processes, and thread management, and so on.

It's not terribly hard to build a POSIX-like layer on top of this; said layer isn't necessarily going to support some of the real warts of POSIX, like the really broken way signals work in POSIX, so some software that intimately depends on this may have to be factored out to support the way that Fuscia handles signals, but for most software this will be a big improvement. Software on POSIX systems nowadays has to jump through hoops to make signals play well with event loops, frequently allocating a pipe that gets written to in a signal handler, so the event loop can pick up that notification later, while in Fuscia that's how signals already work, it's just a state change on a handle that can be waited for in Fuscia's equivalent of select/poll. So in cases like this, Fuscia will add a new code path that is simpler and more maintainable than the one on POSIX-like systems.
Counterpoint: the Go programming language.
Google Sheets finally supports recording macros and adds row grouping
It's not clear where exactly Google intends Fuchsia to run, but wide hardware support would be best for a relatively open ecosystem like PC hardware. A non-general-purpose OS, or at least one designed to run on specific hardware, doesn't have the same requirement for a large body of drivers to be available. Imagine if they want it as an OS for a range of embedded devices, or something. Hardware support could be very limited. Especially at a smaller scale like that, Google's got the money and expertise to license hardware IP from another company and build their own drivers for it.
It's not as bad as that. It looks their methods could take that into account, they just don't detail anything. I copied the analysis from the report into my original comment, so it's clearer what they did.

There's still no proper control, because people driving habits (and many other things) change with time and a before/after analysis has selection bias with time. Maybe they get used to the car as time goes on and crash less, for example. A nice way to get around this would be to look at people who didn't get autopilot and see how the autopilot reduction compares to the non-autopilot reduction (difference in differences). Only then can you start to say it may be due to autopilot, and it's still a fuzzy statement.
Why the downvotes? Popularity != quality.
The Economics of Token Pricing
"This television's hardware is ready for 4K. The television is not capable of displaying 4K in general."

"This speaker's hardware is ready for stereo sound. The speaker is not capable of playing stereo music in general."

"This smartphone's hardware is ready for multitouch input. The phone is not capable of responding to multitouch input in general."
Another Tolkien book, 'The Fall of Gondolin,' is coming this year