skysight-inc/HackerNews huggingface dataset:
why would an error checking branch ever be mispredicted. more to the point why would error checking or exceptions ever be in an optimized inner loop.
Coming from C# to Java, checked exceptions are the worst. There are so many layers that can fail even in a simple API call - network, database, permissions, memory, etc.. We're not going to handle each of those cases differently, if we were going to we could always catch the specific exception type explicitly. But usually it's fail the API call, catch the base exception, and report the relevant failure message. Fail fast, report, move on. Maybe there are other programming situations where you want to catch every possible type of exception and run some custom logic for each one? I'd be interested to hear about it.
Autopilot works great!

Until the moment it kills you. Then you become the statistic.

Better buy some life insurance with that expensive robotic car.
During my worst commute I was spending 4.5 hours traveling to and from work each day. A long day at work meant doing nothing but work, travel, and sleep and still being deprived of sleep. I didn't last six months, and I have no family or anyone to depend on me.

When I worked from home I lived in a difficult climate which became overly pleasant. The worst snow storm didn't bother me in the slightest, if I didn't feel like going outside I just didn't. When bearing the cold became optional, it was a pleasant luxury going outside instead of a chore.

The human interaction you are talking about is real, but so is losing a large chunk of your life getting to work.
Just FYI -- First Direct is a part of HSBC and has been for nearly 30 years now, and isn't some scrappy little underdog. It's a bit baffling as to why HSBC itself features at 15th position in that same list you posted!

(Note: I don't use either)
Phava, Explained, with Examples
If you're arguing that you might get paid as a contractor to refactor some code therefore refactoring is a productive activity for a business point of view then you have completely missed the point.

Edit:

I'm not arguing that refactoring isn't necessary or important. It is. But it should be kept to a minimum because it really is a pure cost and does not deliver anything of value to end users.

Your customers are the engineering teams of software business. They sometimes need to refactor their code. But their business would prefer they didn't because that's money spent on something invisible to end users (the end customers).
So autopilot was having problems at a particular place every time and he was still using it. As much as Tesla is to be blamed the driver is too. Why the fuck would you trust something to work if you yourself have experienced it not working multiple times.
I think they're pretty good at keeping it hidden and remote.
It was proven the US did economic espionage on a German firm but the snowden files showed a range of other European companies also targeted. No doubt they also focus on "less friendly" targets industry, infrastructure and politics.
> The backup driver in the car was apparently looking at their phone or some other device and not watching the road at the time.

"According to Uber, the developmental self-driving system relies on an attentive operator to intervene if the system fails to perform appropriately during testing. In addition, the operator is responsible for monitoring diagnostic messages that appear on an interface in the center stack of the vehicle dash and tagging events of interest for subsequent review"

She was looking at a device, yes, but not her phone.

Uber put one person on a two person job, with predictable results.
in some cases no particular individual are able to see something's wrong, and only someone with a general overview of the system can see the pb.

in this case, every single individual in the chain ( from backend dev to frontend dev to tester to enduser) are able to see that something's very wrong. Which means none of those people are competent. Not any of them.
Wouldn't that make it impossible to drive almost any modern vehicle? Or fly in any modern passenger aeroplane?
Probably Honda. My Civic has both plus Crash Avoidance system. All are very handy and work surprisingly well. I wish automakers would spend more effort on developing these driver-aid systems to increase safety instead of chasing the pipe-dream of self-driving cars.
These sorts of analyses get complicated fast. Walking is riskier in part because you're more exposed to the "killer self-driving cars", but also people with preconditions will walk. Like, if you're drunk you'll walk home, if you're unfit you're more likely to walk than cycle, etc., people walking probably get mugged more often, ...
Based on encephalization quotient, spiders are the most intelligent animals. Some baby spiders' brains overflow even into their legs.

I guess a web can be used as a turing machine tape... though, 3D and finite.

Their big problem is asociability.
> Hell I couldn't even get my card and cheque book (...) delivered to my address as it was a temporary one so I had to collect it from my branch in person.

Of course! Doing manual pickups with proper ID checks avoids a lot of problems.

My bank will only send stuff to my 'official' address that I have registered with the tax authorities. If I want a OTP-dongle or debit card in some other way, I can pick them up in a branch of my choosing.

I see this as being safe, not as being inflexible or old-fashioned.
Have all novel qubits gotten nobel prizes so far?

I think there's more than enough room in between bullshit and nobel prize.

This looks very promising, but as always the devil is in the details. The next steps are multiqubit gates, then linking those up into useful quantum circuits, and then hopefully doing actual quantum computations.

Personally I wouldn't expect a nobel prize until one of those last 2 steps. There's a lot of hurdles before then to run into some nasty problems.
Grassy arse - Ling
> I believe every car manufacturer has a disclaimer that the autopilot can only be used as an assist. That the driver needs to keep his eyes on the road, and ready to intervene at any given time.

-This is the scariest bit, IMHO. Basically, autopilot is well enough developed to mostly work under normal conditions; humans aren't very good at staying alert for extended periods of time just monitoring something which mostly minds its own business.

Result being that the 'assist' runs the show until it suddenly veers off the road or into a concrete barrier, bicyclist, whatever. 'Driver' then blames autopilot; autopilot supplier blames driver, stating autopilot is just an aid, not a proper autopilot.

This is the worst of both worlds. Driver aids should either be just that - aids, in that they ease the cognitive burden, but still require you to pay attention and intervene at all times - or you shouldn't be a driver anymore, but a passenger. Today's 'It mostly works, except occasionally when it doesn't' is terrifying.
I bet you are a old person.

damn old people and their eyes.
I often hear this argument, but I find it misleading. First, is suggests that we need to have two systems: for "normal" errors and for exceptional ones. Second, the programmer now has to classify the conditions into normal and exceptional without any real criteria to do that. Is out of memory exceptional? For many applications it is, but not for Phothoshop where it's a normal state and you just have to free some memory and try again.

Exceptions are exactly same as errors, they're just a different way to handle them. Errors are natural to programming, because nearly every function may end up in two states: it successfully carried out the task (no error) or it failed to carry it out and here's the reason why (error).

The reason we have exceptions instead of errors is generally because we want the code to look syntactically sweet. A mere "a.b + c.d" in modern language may involve three method calls: to get "a.b", to get "c.d", and to add them using some custom definition of "+". Each of these methods may run into an error and exceptions provide a syntactically sweet way to handle this.
The first automated landing on a commercial flight took place before microprocessors were invented, to give you an idea of complexity. To this day, autoland means that the aircraft follows a radio beam down to runway, pitching slightly up and reducing thrust to idle when radar altimeter reading falls under 50 ft. It's really primitive tech, essentially a line following robot.
Thanks! - Ling
I thought at first this was some new crash, but it actually occurred in 2018.
It's a dig at the typical size of a `node_modules` folder. These often are very large, and often do contain several thousand files, largely due to transitive dependencies.
If you've substantial sums sitting in your accounts, your French HSBC relationship manager will eventually start calling you to sell their investment products. Actively managed investment funds that enrich the fund manager at your expense. French Livret accounts, however, are a good use of deposit funds, but everything else sold by the bank is to be avoided.

On another note, I had my ING Luxembourg account (6 figures on deposit) closed by them because, in their own words over the telephone, "I wasn't buying any of their products". They'd call me every few months trying to persuade me to invest in high charge, managed investment products, which I always declined. I explained that I was keeping the money on deposit to pay for my dad's Alzheimer care, but they just sent me a registered letter telling me to take my business elsewhere. I'm sure this breached some banking regulation, but I hadn't the energy to fight it.
No need to transfer code across from your desktop to the iPad. You're developing directly on the target device, so no emulation and instant on-device testing. Also you can code in any setting where an iPad is easier to use than a laptop. I do a lot of coding in Pythonista on my iPad on the train.
Especially with node.js/TypeScript one can reach similar performance to Go with arguably much nicer programming language to work with.
Not just autopilot, but regular people too where confused by the road, "In the three years before the Tesla crash, the device was struck at least five times, including one crash that resulted in fatalities."
Yes, seems like it would have that problem. I know YC is very careful about that, for example they participate in every YC company's series A, and I think I read somewhere it's to avoid that signalling risk
> The UK is quite literally decades behind some other countries, in banking.

In what ways?
The Frixion pens they sell in Japan are incredible for this. They're truly erasable, not like the shitty ones I remember from my childhood. The multi-color pens are especially useful. All the fun of brainstorming and erasability, without the bad smells and imprecise lines of whiteboard markers.

http://www.frixion.jp/lineup/work.html?pid=product_ball-3-sl...
I believe these problems started with Catalina in general. I figured it was just me and disabled time machine and switched over to restic.

I made full switch over to macOS for my workstations (including laptops) as of 2018 and while it has been better, I've slowly watched macOS degrade. Multiple monitor support has gotten worse, displays over thunderbolt 3 have gotten worse, Time Machine is now unusable, wallpapers reset on reboot. Disk Utility while not as bad some previous versions is still bug-laden. There are also plenty of other issues I can't immediately recall.

I switched to macOS because POSIX on Windows at the time was bad and Linux desktop is still a buggy affair. However I might hit a breaking point soon if Apple can't fix things. Linux Desktop is worse, but not by much.
Considering the BND's (German equivalent of NSA) love of intercepting traffic and gathering metadata about citizens, I wouldn't put "funded by the German government" in the Pro column.
Yes at the moment. But tats just my personal opinion i have
because a lot of people get false sense of security using it, and stop paying enough attention.

Look at this guy. He even apparently noticed this behavior on this road before, but still wasn't paying attention and got killed.

You either need 100% self driving or 0%

(driving assist is fine, as long as it's assist, and requres your attention)
> the author is very vague about why exactly numbers don't fit in the type system

Numbers are hard!

Consider something simple:

9999999999999999.0 - 9999999999999998.0

In discussing what is Right™ we are making a choice between all the possible Good™ ways we can deal with that expression. Here are some of the most obvious:

1. atof() could fail since the string representation doesn’t match the resulting float, but then what should happen for 0.3? I've seen this only occasionally.

2. We could use a hypothetical atonumber() which uses decimal or big float or some other representation, but what does this do to performance? This gets tried a lot.

3. We can ignore the issue and blame the programmer for not constraining the input domain to that of our function. This is what most people do.

I don't personally like any of these; I've seen and experienced some of the problems with each of the approaches, so I wonder if there's a Good™ fourth option (or a fifth). Maybe it's only because I have my own ideas of what a fourth option might look like that I'm not very quick to consider this a "solved" problem to the point that someone (anyone) knows the Right™ answer, but maybe it's worth you (and others!) thinking about this too.

I'm extremely interested in suggestions here.
Why is everyone ok with this closed telecom stuff? The user experience SUCKS and it’s always used to manipulate and spy on you.

Put everything on ipv6 and use open standards.
Nvidia’s GeForce Now is losing all Activision Blizzard games, a bad sign for clo
That book was written in the seventies, 45 years ago. It still has valid points but obviously a few things have changed in terms of how we do things. For example, we use version control systems these days and have sophisticated refactoring tooling.

But one of the things that hasn't changed is that we haven't really come up with any better metrics than time spent and nr. of things changed per time unit. There are a lot of people complaining these things are not representative (for the last five decades) but not a whole lot of people coming up with better productivity metrics and even fewer that did the leg work of actually validating their work in something that might pass scientific scrutiny (which is hard). If you do work in this space, you'll find yourself citing articles that are decades old.

These days, I tend to look at the activity statistics on github projects when joining a new project. It tells me in a glance of an eye who are the movers and shakers on a project in terms of lines of code added/removed and amount of commits and the time distribution of those commits. It's not perfect and doesn't tell you the complete story but it it's rarely completely wrong. Usually it's quite easy to spot patterns like Weekends, Christmas, vacations, and that people tend to get back energized from a good break (a little spike in productivity).

Also these numbers confirm the notion of a 10x programmer: a handful of people tends to be responsible for the vast majority of commits and line changes. Not all software engineers are created equally. Diffstats on pull requests tell me a lot as well; though of course these numbers are inflated by e.g. refactorings (more so on languages that have proper tools for this). But refactoring is a good thing and combined with code reviews tell you a lot about the quality of engineering.
I think this is the key: EDA should be used to communicate between different applications. If it is used within an application it points to over-engineering.
I have been using time-machine for more than 10 years I think now on my third laptop.

Every time at some point it starts clearing out a corrupted backup history due to some issues its found with its own backup. Frankly, I don't trust it anymore, I just set it up for convenience and every other week I start a restic backup (https://restic.net/).

I'd say Time Machine seems like one of these programs neglected by a vendor.
After the crash, police obtained search warrants for Vasquez's cellphones as well as records from the video streaming services Netflix, YouTube, and Hulu. The investigation concluded that because the data showed she was streaming The Voice over Hulu at the time of the collision, and the driver-facing camera in the Volvo showed "her face appears to react and show a smirk or laugh at various points during the time she is looking down", Vasquez may have been distracted from her primary job of monitoring road and vehicle conditions. Tempe police concluded the crash was "entirely avoidable" and faulted Vasquez for her "disregard for assigned job function to intervene in a hazardous situation".

https://en.wikipedia.org/wiki/Death_of_Elaine_Herzberg#Distr...
Since they could only publish in Nature Communications it's probably BS.
Well, they're first workstations for video/3D/ad/music/etc production houses (the ones who would need the accessory 6K screen), and secondary for Apple ecosystem devs.
What a surprise that Tesla's report would say that!

Have they released all the data to be analyzed by independent people?

Also autopilot only runs in the best of conditions. Are they comparing apples to apples?
>>>People misunderstand it. It means writing code, documentation, testing, bug fixing etc.

Are you sure about that?

I don't think so.

I have not read it for years, but my vague recollection of The Mythical Man Month is that 10 lines a day as a full time professional programmer is a reasonable expectation if you are writing IBM mainframe operating systems in assembly language in the 1970s.

It not meant to be saying that hey a programmer is busy with lots of other things like testing documentation etc.

Brooks actually meant it, and it was true, at the time, with 1970s hardware, with 1970s development tools, with 1970s collaboration, 1970s compilers/assemblers, 1970s source control, with 1970s level of understanding of computers and software, with 1970s waterfall style project management. And, critically, writing your 10 lines as part of a (relatively speaking) gigantic project for the time. Back then projects did not come much bigger than writing an operating system.

Can you imagine trying to get your bit written of some gigantic project where probably no-one has any idea what the fuck is going on, where the source code is, what version is what, who is working on what and how its all meant to tie together. The miracle is that they could get any operating system at all written. Many, many operating system projects failed entirely in the 1970's and 1980's.

I'm happy to be proven wrong, cause as I say I haven't read that book for a long long time.
off-topic: I like how that agency is selling "Faster pages" / "just like this website hence resulting in lightning fast websites."

But sending 1.3MB over the wire for a super simple website :D
> Linux desktop is still a buggy affair.

Even gnome isn’t as bad as OS X IMO. If you use a decent DE like fvwm or xfce it’s much better.

The problem everyone has is that their favorite mac software doesn’t have a Linux port and a lot of the alternatives are less sexy (and sometimes way worse.)
No, we don't misunderstand it. 10 lines per day is just rubbish.

Here's an example: https://github.com/sumatrapdfreader/sumatrapdf is code written by 2 people (me and another guy).

It's written, documented, tested and bug fixed.

It's 110k lines of code. And it's tight. Good luck removing 10k lines of code and not loosing any functionality.

Assuming 10 lines per day and round-the-clock 365 days of working, that's 30 man-years of work. 15 years for 2 people.

I didn't spend 15 years writing it. It's a part-time effort over 10 years.

The 10 lines per day is off by at least an order of magnitued.

And I don't claim to be spectacularly productive. Jonathan Blow wrote 90k lines of code for Braid in 1 or 2 years.
I have been back-and-forth between Time Machine and switching to something else. I'm still using TM, but what alternatives do I have? Any recommendations?
Ok i'll just stop using airlines and GPS, i guess.
The first crewed SpaceX flight could happen around May 7th
Great to see ageism is alive and well in our industry. You'll get old some day too.
There a massive gap between “all cars should be banned”, which you seem to be replying to, and “some urban areas should be allowed to densify and operate without cars if their citizens want that”.
Well, mostly people aren't travelling through zero-wifi all the time, as they're escaping the CIA in the developing world...

For the majority of coders working in homes, offices, cafes and such, including most digital nomads, it would be just fine...
Fair enough, you're right, she was likely looking at her phone.

The rest of my point still stands though.
OP here. I edited the title and removed the word "declassified" since I don't think this was ever classified info in the first place.

It is, however, a nicely graded intro-to-advanced Python manual.
Always hated checked exceptions because there seems the basic assumption underlying them, that exceptions can usually be handled as near to the code throwing it as possible, while in every real world project I ever was involved in, 90% of the possible exceptions usually had to be handled "far away".

So this means, you will have a whole bunch of re-throws, or exceptions wrapped in "higher design level" exceptions which you then throw to finally communicate the error condition to the proper component, polluting all signatures on the way with "throws".

Or you catch it as early as possible, wrap it in a RuntimeException, re-throw it unchecked and let the high level component properly handle it, effectively bypassing the "checked exceptions" system :D

Just my two cents, I know this might be a controversial position.
Graphic Design Institute
Graphic design institute is a India’s most best graphic designing institute in rohini (sector-6),Delhi.We are proving all latest & new graphic courses which makes your future on golden success path. In graphic design institute you can convert your art & creativity on software and make it in effective designs.
Join Graphic design institute which give expertise to all new and latest courses related to Graphics design course and Web Design Courses like Adobe illustrator, Adobe photoshop,Adobe photoshop expert course for fashion …etc.
Feature of our training process:
 Professional trainers
 Job placements
 Free of cost demo classes
 Live projects
 Pay fees in installments
 Unlimited practice session

Give us call on: +91-7683072463
mail us on: info.graphicdesigninstitute@gmail.com
Sadly Catalina is the first incarnation of OS X/MacOS that I haven't upgraded to within the first couple of weeks of it coming out. I really feel like I'm missing few benefits by not upgrading and quite a few problems.
Internships aren't done for free, so it is still a job.
Why use time machine over rsync?
I’ve had issues with Time Machine in the past but have been pretty happy to date with Arq and Backblaze B2. Eventually want to configure it to use a local NAS as well.