skysight-inc/HackerNews huggingface dataset:
I said unintentionally. Intentionally running code that may throw an exception and catching it predictably (in the normal EAFP fashion, which I am well aware of) doesn't apply to my argument.

I'm arguing that an unintentional or unexpected ValueError, IndexError, TypeError, etc. means your program is buggy and there is no sane/practical way to 100% safely recover from it outside of restarting the process.

Your example of the catch-all handler in a modular HTTP server is inappropriate and dangerous. Continuing to run a server with persistent in-process state after an unexpected exception risks corrupting data. Just because Python doesn't have C pointers doesn't mean it can't have inconsistent or incorrect state that can affect other server threads.
So from what I've seen, there have been a few occasions where an owner has used the autopilot as a scapegoat for their own faults, only to later admit they were at fault or wait for Tesla and third party investigators to conclude that autopilot was not even engaged, etc.

For instance, the one single fatality of autopilot to date in a Tesla, where the guy was coming up to a crest of a hill with a white 18 wheeler crossing perpendicular to the highway. Yes, the autopilot misread the 18-wheeler to be a sign above the road. (This issue is not fixed). However at the same time, the guy completely disregarded Tesla's instructions of keeping your eyes on the road at all times. Turns out, he was watching a show on his phone.

But yes, I would still say the same thing if I was using autopilot properly as intended. i.e., not watching movies while in the drivers seat of a moving car (which is against the law regardless.) I don't think there are any serious accidents to date where the driver was using it properly and following the rules. As Tesla states, autopilot is in beta (and most likely always will be), that's not to say it is unsafe, but that the driver must be aware and follow the rules and know what autopilot is and is not capable of.

I'd say it took me about two weeks of first using autopilot to understand its capabilities.

Also the best part, it keeps improving in my vehicle through updates. It's pretty impressive how good the updates from Tesla are.
similar story here. small private college, there were maybe 25 people tops in intro to Java (2nd class you would take) I TA'd a few times; and that's mainly because it fulfilled a lab science credit somehow. I graduated with 8 other CS majors. I had a few classes that were 1:1 with the professor.
From my experience it's extremely rare even for large companies to directly deal with ODFIs.

Typically there's AT LEAST one intermediary payment processor (like Chase Paymentech) involved in the TX.

The downside to this is merchant has to register with multiple processing entities but things like "send and forget" APIs (so no need to batch things manually) - which makes it easy to combine ACH and CC payment acceptance in the same system, reporting/reconciliation, out of the box UI merchant can use to look up transactions etc etc outweigh that inconvenience.
How Instagram uses your mobile microphone to spy on you (and serve ads)
Tried looking at their FAQs link off that page but it doesn't open to any page, static or not static.

I'm guessing it's a course or tutorial for a tool or a service but if the FAQs don't show up from the outset, not sure I could take it to my bosses at this time.
So what, it doesn't make this "Go code is statically linked" into a fact, given that it depends on compiler flags.

Now if it said "Go code is usually/by default statically linked", then yes.
Recording Better Demos at Home: A Guide – The Blogging Musician
Quiz: Can you tell a real Burning Man event from a fake one?
Thanks. Hadn't heard of that one. Seems like we need an invite. Would you be up for inviting us?
And you know, turn on the lights if necessary...
Erlang is not made for anything that is cpu intensive. It doesn't solve every problem. Thats the void I think Crystal is going to fill for Rubyists.
Please consider reading the article. It was placed on the list as a consequence of a scheme to manipulate the sales data—exactly opposite what you suggest.
Remember NetZero?
These paid Rust shills are getting too obvious nowadays. Nobody is going to use Rust because of its political baggage and all that drama surrounding it.
Not necessarily

E.g. the Cooperative Group in the UK which is owned by its membership (customers and staff)
> Would someone like to explain what is wrong with the idea that people who care about CPU-heavy computation also need to care about the performance of the language they are using rather than just downmodding it?

I didn't downvote you, so i'm not sure, but maybe it was because of the condescending tone (assuming what they care about from a simple question and telling them what they should care for instead), aaand not answering their question about parallelism in the first place.
New Instagram
I don't see the connection.

I think it comes back to the author's definition of "technical debt", that being:

> Technical debt is when the code written is not as good as it could be. However, what defines “as good as it could be”?

I don't think of it that way, precisely because that definition is impossible to achieve, making the definition meaningless.

Technical debt is based on an estimate of expected value. Such estimates are necessarily imprecise, and sometimes they can only be determined retrospectively.

Technical debt can occur if a programmer's timeframe for the estimate is shorter than the project's expected timeframe. This can be considered an inadvertent debt, to use Fowler's terminology.

As an example of deliberate debt, a group may decide to implement a prototype solution because the improved estimates of expected value may justify the need to spend time rewriting the prototype code.

The author also writes:

> No matter how much care a developer puts into writing their code, they should WANT to be unhappy with it eventually. That is the mark of learning. Many developers, including myself, have spent too much time early on in their careers trying to make things “perfect”.

This is a seriously bad suggestion. You should judge your work based on the resources you have, not against some abstract "if-I-knew-then-what-know-now" future world. Nor should you criticize the past for them not having the same resources as you do now.

I wrote a web app in the 1990s. It was a bunch of perl CGI scripts, and I created my own mini-template language for it. If I did it now I would use Django, and be able to build off more existing libraries, including an open source project I helped start as a result that project.

I am not at all unhappy with that 20 year old program.

Going now back to this essay, the author writes "That’s because all code is technical debt. Every single line of it."

We can test that by looking at extremes. The program /bin/true can be written in zero lines of code. (And zero bytes.) It works because the kernel thinks its a shell script, passes it to /bin/sh, which in turn does nothing, and reports that it successfully did nothing.

If there are no lines of code, is there technical debt?

Absolutely! And we can look at the variation of /usr/bin/true implementations to get some idea.

On some unix variants, the code is "exit 0". Perhaps they didn't like the support debt of explaining why there was a 0 byte program. Or they wanted it to match /usr/bin/false.

On some of these, there was an SCCS version string and copyright statement. Perhaps their lawyers had a requirement that all programs needed this information.

On some systems, /usr/bin/true is an executable. This executes faster than starting /bin/sh just to get an exit value of 0.

Technical debt can therefore exist independent of having any code at all.

That doesn't many that any of these show signs of technical debt for what the project needed. You have to judge debt with respect to the project lifetime and its historical context, not some abstract view of perfection.
Athletes need to start early because they peak early (20s for most sports).

Architects do their best work very late in life.

I personally wouldn't want a surgeon that started cutting into people at age 9.
Btw, how much traffic does HN's "hug of death" mean approximately?
Does the Prime Video app support the Chromecast protocol now? Or are you referring to a full screen cast from an Android device, that's just mirroring the device screen?

Newer Vizio TVs use what's essentially an embedded/modified Chromecast as their smart tv OS, which works really really well. But since Prime Video on iOS (last time I tried) doesn't support the Chromecast protocol, I can't watch anything from Prime Video on my TV.
Coding is a skill, much like being a carpenter.

You can read about it all you want but unless you are doing it, you are not going to grow.
thanks. that makes good sense.
> food production has kept up with population growth through past centuries of development

that doesn't mean its sustainable. And what would you feed these fish farms?
Literally illegal to call for less immigration.

Not at all.

In that specific hate-inciting speech Geert Wilders was calling for fewer Moroccans. And this is primarily directed towards Dutch people with a Moroccan background who've already live in the Netherlands for decades or are second-generation immigrants. There is virtually no immigration from Morocco, in 2015 approximately 1% of the immigrants arriving in The Netherlands was Moroccan [1].

[1] https://www.cbs.nl/nl-nl/publicatie/2016/47/jaarrapport-inte...
I mean, yes, I'm sympathetic to the argument that most people should use a variant of C that isn't actually C and is much better about undefined behavior (not just integer overflow but other things too). https://blog.regehr.org/archives/1180 has some thoughts along these lines.

I'm not sure that pybind11 wants to have its docs using a nonstandard variant of C, though, for lots of reasons, including that I expect the major use case of pybind11 is binding to existing C or C++ projects which are generally written in standard C or C++. (But not always! Postgres, for instance, is written in a variant of C with -fwrapv - not even -ftrapv, but a definition of signed overflow - instead of standard C.)
agreed. I started learning on my own with books and the internet, and Zed Shaw and Chris Pine. I loved it. I then went to a highly regarded bootcamp to find that there seems to be no value placed on teaching and hiring great teachers. I'd take the internet, stack overflow, zed, and chris any day over a bootcamp.
When the Atlantic sends its salmon, they're not sending their best. They're not sending you. They're not sending you. They're sending fishies that have lots of problems, and they're bringing those problems with us. They're bringing pollution. They're bringing viruses. They're infected. And some, I assume, are good salmon.
Rejection (and the four paths)
"The Derivative of a Regular Type is its Type of One-Hole Contexts" - Conor McBride, http://strictlypositive.org/diff.pdf

This shows how you end up "differentiating" datatypes in the context of strict functional programming, in order to do things like "mutate" lists. It is essentially the same as what mathematicians call "combinatorial species".
Oh wow, HN changed! A few years ago, posts like this were frequent and well appreciated. Are my downvotes just some lone angry people or am I losing a sense of the community rules?
It seems the CNMC forbid their number provider (Parlem... previously known as FonYou) from reselling those numbers to be used as VoIP numbers, and FreedomPop took in a rush the route of porting everything to MasMovil and forcing you to buy new MasMovil 4G cards for 2€ shipping and port your Parlem number to them to keep your free service. And announced all of this on the middle of August when pretty much half of Spain is on holidays.

The advantage is that the new cards are pretty much plain Masmovil simcards, so calls and SMS go over GSM directly and 4G works at decent speed over the Orange network.

But if you look at the whiteboard behind the CEO on the picture on the article, they were intelligent enough to leave written on it things about their roadmap like "Blocking SMS" or "Masmovil = ?appnet? calls + SMS" which leads to think that they will migrate both to their app in the future.

At least they also have "holiday" written on the whiteboard, so probably they also thought about how bad of an idea is to do all of this on summer holidays.
Boring approved for 2-mile underground tunnel in California
https://builtwith.com/Whatruns.com

Vs

https://www.whatruns.com/website/whatruns.com
As the article mentions, this was enabled by climate change making the ice much thinner than usual this summer.
A mind for numbers.
Uber investor Shervin Pishevar accuses Benchmark of wreaking havoc on Uber
> I guess it depends if your expectations are those of a Python programmer or those of a C++ programmer.

That's a very good point, especially since there are people in this thread looking for using Pybind11 to speed up their existing Python code. They should be aware of the serious risks to correctness if they naively reimplement their Python code in C++. (People who regularly write in C or C++, we would hope, have heard this a thousand times before.)
Ouch! A recent content reorg led to the trailing html getting nuked. Use this: https://www.hypertrack.com/faq. Fixing it on the blog... Thanks.
Maybe python's dependency management (pypi/pip) is nicer than NPM? (I think it is, at least)
I would love something like that for Go. Just recently completed Python Koans and it was a good way to get into TDD.
I didn't assume, the question contained "CPU-heavy", and the answer is relevant because it's a common misconception that you can make up for a slow language with parallelization, but you can't. If you've got a CPU-heavy task, you will find in practice that even using a lot of threads you'll be lucky to get even a 3x speedup on clock time, unless your problem is 100% strictly embarrassingly parallel. (I've tried a few times, which is where the 3x comes from. It's all I was able to get and my tasks were very close to embarassingly parallel, but the cruel nature of Amdahl's law is that it takes only very slight non-parallel components to wreck your speed.) It's not a viable solution in practice.
Primary navigation radar gives away your position, as does active sonar, in the same way that AIS does. If they have the latter off, it's not unreasonable to assume they also have the others off.

Passive sonar would pick up a tanker if the engines are running fast enough or the ship isn't particularly streamlined (which tankers invariably aren't) so this is probably a failure of communication.
Not sure why they even bother pulling gfs, its miles behind the euro.
Yeah this is exactly what I meant by my comment.
Descartes Labs raises $30M for geospatial analytics
>all the people doing that stuff as the result of a hoax

Are you saying that human-caused global warming is a hoax?
perhaps, but he transcended that. his visible and unreachable appearances at other times, combined with his bizarre diction, made his character capture the imaginations of many.
I don't get your claim about DMA memory being slow to memcpy from. DMA memory isn't special, apart from being non-relocatable and contiguous within an allocation. Things would be much worse if the copy to main memory wasn't done with DMA.
Pybind is derived from boost::python, so it's not much different. I wrote a large Python binding in the past for a moving C++ library target, using boost::python, and keeping the C++ binding code up to date was a nightmare akin to maintaining a fork of any fast-moving project.

Try cppyy [1]. It's very nice, though quite fresh. It's used extensively (as far as I can tell) at CERN, and derives from their cling C++ JIT interpreter. Plus it does lots of nice automatic transformations to make a C++ API more pythonic.

[1] http://cppyy.readthedocs.io/en/latest/index.html
I don't know if it works. I dont know why it should be the same.

But at least, in athletics, there's no charade of trying to fix the gender/race bias by throwing money at programs that make other's catch up so that they can claim "equality".

Most Marathoners and NBA players often are African or have African ancestry. And no one says the same team should have an equal number of <insert race/gender here>.

IMO, humans are adept at learning intellectually for a much longer time, compared to improving physically in 'objective areas' like athletics, which needs to begin very early in a human's life.
Please don't complain about being downvoted
I'm fairly certain that in my CS program, you could only get a passing grade with a compiling and partially working program.

75% of the grade was compiles and works, and the rest was style, readability, and performance.

If it didn't compile, you basically failed the assignment, if it didn't work you could get up to, but not more than a C, 75 out of 100.
How is your first impression of my WP site?
This sounds like an implicit discussion about semi-secret courts for the pure reason of defending a potentially innocent defendant.

What happens if X is tried for $crime and is found not guilty? Court of public opinion may still see them as guilty, and keep away rental properties, jobs, and social network away from them. And now since communication is in ms across the world, perhaps we ought to come back to this.
I've been interested in this story for years. Since I Buckyballs a couple years ago for the first time, then seeing so many of them going into the furnace, such a shame. Glad to see you guys came out on top in the end.
I have them through work, they're pretty shitty, for example, I currently have to either turn of uBlock (not an option) or open dev tools to unhide a div in order to log in. Why there is anything on health insurance website that communicates with a third-party server baffles me. That said, I don't think there are any good options in the US. They all have weird quirks like this, they all require a fight to get the payouts you're entitled to and they'll fudge the numbers so you end up paying way more than you expect. Welcome to America.

Edit: I do have APL gap insurance too. I have nothing but praise for them, easy to work with, paid quickly (checks usually made out to me directly because most places here don't deal with APL), and covered most of my out-of-pocket cost with Aetna which I maxed out last year.
You see headlines like this every couple years. The first ship to do this did it in 1906 https://en.wikipedia.org/wiki/Gj%C3%B8a, and it was done again in in 1942 https://en.wikipedia.org/wiki/St._Roch_(ship)
Metformin Promises to Extend Life for a Nickel a Pill
I like how the ship is named after the Total CEO :)
I’m Peter Roberts, immigration attorney who does work for YC and startups. AMA
I’ll be here for the next 2 hours and then again at around noon (Pacific) for another 2 hours. As usual, there are countless possible topics and I'll be guided by whatever you're concerned with. Please remember that I can't provide legal advice on specific cases for obvious liability reasons because I won’t have access to all the facts. Please stick to a factual discussion in your questions and comments and I'll try to do the same in my answers!
Over fishing, habitat destruction, and hatcheries have nearly wiped out wild pacific salmon. Fish farms will finish the job. Woot.

I volunteered for a decade for a group trying to save wild salmon. Towards the end, I attended the EPA hearings for adding 12+ local salmon runs to the endangered species list. So depressing. Then GWB got selected, pushing a clear "pave it all" agenda, the conservation effort fizzled; my peeps just gave up.

By comparison, Bush Sr signed the landmark federal legislation for wetlands conservation. Huge progress after the Reagan & James Watt era of environmental destruction.

I think there's been some policy progress since I left the scene. Our tribes, fishermen, and anglers have made (mostly) common cause. Still opposed by timber and developers, of course. (I don't know agriculture's current policy position.) And what can any one do about international treaties and open water and modern technology (fish spotting, tracking)?

Any way. My family loved to fish. Very involved with Trout Unlimited, Poggie Club, etc. My brother studied to be a marine biologist.

The deep irony for me is that conserving the wild fisheries would have immense positive economic impact. Ditto cultural. Our current policies (malign neglect) steal dollars from the majority to give pennies to a select few. Woot.

Edit- Removed pejorative reference to Watt's faith-based anti-environmentalism.
To be clear the question of which strings to intern is up to an implementation of string interning. Only small strings, all strings, or even only large strings are all options that are good for different reasons.
Decommissioned mobile devices as cheap energy-efficient compute nodes
Nanobox Introduces Managed Platforms
We use land/nitrates/fertilizers to grow crops to feed to cows/pigs/chickens/fish, which convert those plant calories into fewer meat calories. If we ate more plant-based foods, we'd need to grow less, not more.

I understand this is simplistic, as some plants (e.g., iceberg lettuce) provide few calories and are costly to grow. On average, eating from trophic level 1 is more efficient than eating from levels 2 or 3.
Black Mesa is great, but it also took over 8 years of development for first release and it still isn't done (last I checked the Xen chapters aren't in). So that's 13 years of development and counting.

They also had the entirety of HL1 to build the game from. Obviously they created a ton of unique assets and reworked stuff, but they had an entire game to work from.

Trying to make a full 'mod' of Episode 3 is nothing like Black Mesa and would be an incredible amount of work. With that said, I would love to see someone try.
It's pretty bad.

HIV clinics have "no-contact" lists and if you hypothetically worked for a survey company that made a phone call to one of those numbers, and said you were calling from "XYZ clinic for PQR person who isn't here right now", and the person who takes your call connects the dots, and realizes XYZ clinic is an HIV clinic... you could make two people very upset, and one person homeless.

Hypothetically speaking... it could be real bad news.

Let's just say after that, we asked every medical office we ever worked with from then on, if they had any "no-contact" lists to please ensure they remove those people from the contact list before we started making calls.

We had a mail/phone operation and I'm just imagining our production manager not looking closely enough at even one of 12,000 pieces of mail in windowed envelopes that says "HIV medication" in plain view, before loading them into his car and mailing them at the post office.

He'd be canned instantly. Someone definitely got fired over this.
Interns are employed for a short fixed time period, rather than an ongoing basis.
I'm curious - are you more of a Python or C++ programmer? C++ compiler errors can be famously cryptic so I'm wondering if these types of binding-generators are mostly suitable for C++ programmers that want to expose their libs to Python and don't mind decoding template errors in their own code.

I've done both C++ and Python and never attempted to generate bindings, in the near future I may be faced with this though.
Didn't downvote, but perhaps a request for clarification; perhaps you could cite some benchmarks for these numbers? Esp. The 100-500x speed loss for interpreted languages.
This article is obviously anecdotal and not proof... But me and my wife have been experiencing very similar things and she is convinced that Facebook or Google are doing the same thing. We have had a few, instances in the last month where our conversation in the car was followed by relevant advertising just minutes later when she looks at Facebook... Not actually making an accusation, but we are definitely suspicious at this point.