skysight-inc/HackerNews huggingface dataset:
> If you want pixel perfect rendering then publish PDF's.

I hope that's sarcasm. PDFs are similarly beholden.
A C compiler that checks for all of these things at runtime is Valgrind. It's used when testing.

A C compiler that checks all of these things at compile time would no longer be a C compiler.

Compile time guarantees require you to change the language and restrict what is allowed to compile. Rust does just that, it's a different language. You could write an extension to C like Cyclone (or the ISOCPPCore guidelines for C++) that make it safer via compile time checks. You would likely need more annotations and most existing C programs would no longer compile.

(There is the ergonomic benefit of being able to transition from a C codebase to a, say, Cyclone one, though)
Revenue is the top line, net profit is the bottom line. There are many ways to get money out of a company which come before the net profit line in an income statement. Companies can also spin off parts of them in many different ways. The only thing I'm stating that P/E is often the wrong number to look at in a company.
In this case, you're in the car, ready to go.

Wait!

I need that car so my brother can drop his kids off at their grandparents house a state over. You don't want to give it back? Tough, the police are on my side. Thanks for your understanding. Here's an $800 voucher for the next time you buy a car off me.
Yes, I agree. This is absolutely working so much better. I'm working remote for many years and I always enjoy it, when people are using headsets and their individual devices.

Primarily the TVs are used for sharing screens, and team metrics. So they are mostly used for data, rather then communication.
Wrll the polite suggestion becomes the "magic number" we are taught to avoid writing in our programming 101 class.
Was offered a tricked out iMac or similar but I'm a linux user through and through so I'll self-build.

Current plan is Ryzen 1700(possibly X)/32GB DDR4 (2x16GB, board supports 4 slots so can upgrade if needed) (going to need a lot of virtualisation capability to handle dealing with multiple legacy systems, windows for interop and 8 cores with 16 threads at that price is a hard match from Intel), 500GB SSD with 1TB WD Black and a pair of decent monitors, comes in about half what the tricked out iMac comes in at, RX550 (I don't care about 3D but I want to be able to drive the screens without onboard graphics and ATI will support the RX550 for some time since it's new and the linux drivers are excellent these days for ATI).

MS Ergo 4000 keyboard and a decent mouse.

I asked the boss and he said "I don't have a clue on hardware, just send me a shopping list link and I'll order it".

I think I'm going to like this new place :)

Given the budget is top of the line iMac I could have gone to 1800X and 64GB of RAM but why kick the arse out of it and I'm into diminishing returns with either of those. Current systems are 32GB desktops and I rarely wish I had more but I do find the i5-xxxxK's limiting since once you load a couple of vagrant machines, an instance of Windows for Edge testing and Intellij things start to slow down quite quickly, it's not an IPC thing (the cores are fast enough, just not enough of them).

I'll move to a standing desk but I'll built that myself since I know exactly what I want (I built my current one) down the line.

I did consider a good Thinkpad with doc/screens but since I'll spend 95% of my time in the office the trade off of performance/comfort for the 5% of the time I'll be in a meeting made no sense, basically any cheap thinkpad or similar will do for meetings.

I know some people prefer not having to sync between machines and just pick up and go with everything but work is for work, everything else is for not work.

I put a fair amount of thought into the hardware, since I'm in-house developer #1 at this place I'll be an army of one for a while, I wanted a machine that was fast enough to be to do multiple things while I work, I want to be be able to run integration and unit tests while continuing to work (at least locally until I tame the main codebase and get it under proper CI).

It's a fun engineering challenge because their underlying business is complex and highly bespoke and their existing 'main' system was written over many years in a style that was obsolete when it was written.

I'm seriously looking forwards to it and they are nice folks.
Ummm... I think they sure can if public access to property is not allowed and if they wanted to. For example, why can't they lease out part of their property that only they have access for 1000 years lease which would be a "sell" for all intent and purposes.
> You are not being charitable.

There's nothing to be charitable about, GP's comment is rather clear and stands for itself.

> 2to3 was _conceived_ of as migration tool

And it still is one, so far as I know, which is actually part of the issues with it.

> Except it only refactored some easy stuff and let the rest fall on the floor.

I'm rather well aware of that, which you'd have noted if you'd actually read my comment.

> Six has had way more impact than 2to3. […] Running a single codebases across both 2 and 3 is now the defacto technique.

Sure, but again that has nothing whatsoever to do with the inanity of ranking 2to3 and backwards.

> Writing in 3 and "compiling down" to 2 gets people writing 3 which is the point, even if they can't run CPython3.

You do realise that's complementary to 2to3 right? A big issue of 2to3 is that once you've converted your P2 codebase to pure-3 (not a common subset of 2 and 3) you either have to maintain two different branches making packaging and backporting difficult or you just leave your P2 users out in the cold.

Once again, the purpose of 2to3 is not to regularly run 2to3 to generate a Python3 release from a Python2 source.
By that logic we should write hand optimized assembly. I think there was even a rant by Linus on GCC messing up the stack and he writes C. Clearly compilers shouldn't be trusted with important programs.
Go, in my understanding, is not memory safe even with its gc, and also doesn't have "concurrency safety" because of this. That's why https://golang.org/doc/articles/race_detector.html exists.

Rust however prevents these kinds of errors at compile time.

Which things were you thinking of that Rust was lacking here?
The best-case scenario is several weeks of work. If someone can't spare that much time, you could ask them to do a weekend-long project or just complete a few small tasks over the course of a few weeks.

If someone takes a job from a quicker employer and they prefer your company, they'll let you know. Fit is important, and it goes both ways. If someone chooses another employer, they probably wouldn't have been happy at your company anyway.
Check this out

"Learning 3D Models from a Single Still Image"
https://www.youtube.com/watch?v=bWbEsDbfayc

"3-D Reconstruction from a Single Still Image"
http://cs.stanford.edu/people/asaxena/reconstruction3d/

"Make3D: Convert your still image into 3D model"
http://make3d.cs.cornell.edu/
The title bit is a meme, not a plea for legitimacy.

While you can certainly dislike the meme, the interpretation you chose in your comment reads like a personal attack.
Not to exclude the X factor, but presentation matters. I think vomiting exceptions, stack traces, or error codes in text makes people not care. Not just a layman, but an expert, too.
Rosemary Kennedy's Inconvenient Illness
I personally don't think that compilation units should be driven by files. Too often have I been forced to keep something in the "wrong" place in C++ because of the compilation model. (This happens in rust too, due to other reasons)

Instead, the compiler should figure out what needs to be recompiled and do just that. This can mean benefits like not needing to recompile everything because you added a comment to a header file.
Yes, I know that, but there seems to be little reason to use one of these airlines when travelling abroad.

This is all because of lack of competition, and one would think that a place like the US wouldn't put up barriers to competition, but that's what they apparently do.
Indeed, more training in the details of how audits are conducted and the data are protected are great ways to encourage innovation among the properly motivated officer pool.
I wish there was a little bit more detail on what laws are bypassed. Unfortunately I'm also a little put off by the emphasise on averting foreign influence. Regulations against foreign carriers operating in the US were always uncomfortable to me.
"I'm sorry, I didn't know it was a crime" wouldn't fly in literally any other circumstance. Why do they think it's acceptable in this case. The police made it almost a month after this was made law to violate it, how long until the next, and the next? I seriously doubt that the police are appropriately able to self police here, there needs to be proper protection against them 'just looking it up without a warrant'. The facility shouldn't even be available without the appropriate processes.
> Particularly with her students, in an economically depressed, rural area, no amount of teaching skills can offset disinterested parents, dysfunctional family life, hunger, and poverty.

Surely the endgame is that an effective teacher can, despite all of this, still attempt to engage with the student and engender some kind of interest in learning the basic skills that they need to survive in the adult world? Maybe every student won't get it but the better that the teacher is at doing this, the better results they will have, with any population.. if this skill set is not natural then teaching the teachers to develop these skills will in turn increase their effectiveness?

Identifying the skill set is the difficult part, I think .. and the churn in teaching theory is in part because nobody really is able to define what is successful or not and an election cycle is far shorter than the time needed to prove any particular method.
sounds very much like they don't have any technological impairments to getting access to these information sources... Its sounds entirely too easy.
Though the obfuscation of some common sequences appears to have randomization, it looks like infrequent patterns are constant, for example, the "obfu" in "obfuscation" seems to always be fucked as "hobphu". "ob", as in "object", always seems to turn into "hob", when "awb" and "ahb, plus a randomized sequence of consecutive `b` characters, would add even more obfuscation.
The Anniversary remake is worth checking out if you haven't already :)
Yes, it's that one. It's largely a glorified gap year (s) for Ivy Leaguers en route to law school. They recruited hard at Dartmouth and I knew a score or so who did that for a little while...

They don't even require rudimentary training or experience with teaching to apply, nor even a plausibly applicable major.
Having until very recently worked in deep learning at Google, I can assure you that if you read and watch enough recent public papers and talks, you will be very, very close to the latest thinking of researchers at these companies.

You're right that it can take some time to do this edification work and develop the understanding for yourself -- the research is broader and more specialized than it appears at first glance -- and it does help to be surrounded by smart people puzzling over the same types of problems, but there's very little secret magic here. It is, however, of benefit to these companies to develop a public image of exclusivity and wizardry in their research; I fell into this trap too, before I saw how the sausage is made.

If you want to make your own fundamental innovations in deep learning, it can be very resource-intensive, both computationally and otherwise. However, it is easy to apply the current state-of-the-art to a broad spectrum of applications in novel ways.

One of the reasons I left is that I think there is a big opportunity in applying these powerful basic principles and approaches to more domains. The research companies are, IMO, focused on businesses that are or have the potential to become very, very large, and that can take advantage of their ability to leverage massive amounts of capital. This leaves many openings for new medium-sized businesses. Of course, as you grow, you can take stabs at progressively larger problems.
I think it was an index out of bounds type error. Can't quite remember.

To be clear, it was my inexperience with Rust, rather than a the language that was the problem. I found it amusing when I had read a few comments saying that "if it compiles it will run".
TypeScript, a higher level version of something that is super high level in the first place. So it's converting from one scripting language to another, not straight down to byte code. So you are developing a sitcom for the Northern American market, but decide to write it in Mexican Spanish, to be translated to American English. Great! It has the same issues as ORMs. Javascript isn't that hard. As for ORMs - How many database changes are you planing on doing? ORMs seam nice for simple stuff, but still ended up slowing stuff down just on the simple stuff (See translating to Mexican Spanish to American English). Start doing complex stuff like joins and join with extra information, then it's just that much overhead.

If you can't do JavaScript, find someone that can. Can't do query in which ever database, find someone skilled in said database. Can't do CSS... Can't do HTML, GTFO of the business.
There was no team without him, period.
In many non trivial cases I tend to find that I have to query several different databases to render a single page.
please elaborate
Rust has not removed an API since 1.0. Your code is extremely old and predates stability.

That code worked through at least Rust 1.2. So, yes, Rust has removed an API since 1.0. That code was compiling in December 2016.

Yes, star dependencies were removed like a year ago, for semver issues. They went through multiple release cycles of warnings.

From the Cargo manual [1]:

Wildcard requirements

Wildcard requirements allow for any version where the wildcard is positioned.

*, 1.* and 1.2.* are examples of wildcard requirements.

* := >=0.0.0
1.* := >=1.0.0 <2.0.0
1.2.* := >=1.2.0 <1.3.0

Apparently, nobody bothered to update the manual after removing the feature.

[1] http://doc.crates.io/specifying-dependencies.html
Half the people who make these videos still actually work for buzzfeed.
Ok, so I would ask an architect: build me an office that can scale. What would they answer?

We have shitty offices because there is no solution, so allow me to at least say: if you want me to work in your office (which I think is not necessary at all) build me one, that suits my productivity and not the constraints of the real estate market.

Realistically, as a company you would start with one floor, and once it fills up, rent another in the same building.

Companies here are doing this and lending more floors then they initially need and are subletting them, so they can move in later.

We could rent an ware house and build offices out of shipping containers. That could be done.
> Overbooking makes air travel more effective than, with less empty seats and less pollution per passenger

> but you can't argue that it is inherently bad.

You're simplifying things a bit too much.

You can't go from:

- We want to make air travel more cost effective, and less damaging to the environment.

And arrive at:

- The only way to achieve this, is to sell more tickets than we have physical seats for, to ensure the plane is jam packed when it takes off.

There are always alternatives, Americans just seem to be fucking brilliant at ignoring any possible alternative than their first shitty attempt.
Macbook pro 17 inch mid 2010 and 2560x1080@60Hz
Hello guys.
I have the macbook pro 17 inch mid 2010 model and I am wondering if I can display the 2560x1080@60hz resolution at my monitor(29UM58).
What I have achieved so far (using SwitchResX) is to make this monitor work at 52Hz, but I am wondering if I can get to 60Hz using a newer DP-to-HDMI adaptor like this one (https://www.amazon.co.uk/gp/product/B00S0BWR2K/)

Thank you!
Summary of article: I want more money.

Why do cargo planes even need pilots? He isn't likely to get more money - instead his job is likely to be automated away.
well this example has very little front end and shouldn't need much of a back end to sync data between systems that want to access it.
If i were to build something like this i would go with a very limited stack - say only jquery and some js libraries in front end. The back end would be a couple of dozen lines of code that does nothing but use a sqlite instance to store the slideshow data.
the front end would be local first and store its data in local storage.
Classical control often restricts itself to Linear systems, and non-linear control is next to useless for non drift-free systems (if you can compute the Lie algebra in the first place). SOS relaxations won't scale, and all bets are off when dealing with contacts.
not everything is transaction centric.
and also before I make a transaction I mostly fetch various stuff before and sometimes after.

and also my count example, it just makes no sense to have the count and the list data called inside a transaction (ok there are cases, but these are way more rare, because mostly It's not to bad to give users a wrong count, you don't need strict Serializability)
Show HN: Canny – Let your users vote on new features
> It won't work for legacy string handling code if you relied on implicit coercion

That's far from the only pitfall. For instance some of the P2 stdlib relies on implicit coercion to bytestrings whereas the Python 3 version has been properly converted to unicode (I discovered that when I tried to disable implicit coercion in one of the codebases I work with for cleanup/migration purposes).

So cross-platform string handling is not just a matter of properly splitting bytestrings and textstrings, but also finding out where "native strings" need to remain.
I don't understand why there even is a limit. What happens if nobody takes the 10k? Someone gets beaten up again? If they are certain someone will leave for 10k why have the limit at all?
> a junior, a medior and a senior

first time I hear the word medior. It's a fun neologism, but it's technically very wrong in Latin: senior and junior are comparatives (older and younger), so medior would be more medium?
Kindly fact check; when Tesla started, they bought technology from AC Propulsion, but it was analogue and for various reasons they ended up having to reimplement everything themselves from scratch. AC Propulsion is still around AFAIK.
There aren't really any facts here just pure emotion that you would hear in any industry where costs are cut. I've no idea how fairly these pilots are paid. But surely there are regulations about pilot rest just like on commercial flights. And a pilot cannot really pull heart strings about being away from home when they chose that line of work where your job is literally to be away from home all the time.
Are the rest of you just too polite to knock a soul only looking for a saviour? Why are these comments exclusively basket-cases fawning over the 'world-changing' meditative power of an objectively useless and destructive drug?

I'll preempt the obvious response. Yeah, it doesn't kill you, but it irreparably alters your personality in a completely senseless way, turns you into Tim Leary, or someotherway spits in the face of the delicate and exhaustingly intentional intellectual and emotional process that has produced every genuine, valuable human insight in history. I haven't encountered a single LSD advocate that wasn't conspicuously unstable and self-hating, and we don't say a word when they encourage others to risk everything that matters to a functional person in exchange for fake spiritual nonsense.

Now they'll suggest I take some to free myself from the confines of the emotional equipment that grounds any reasonable value system. As an exercise, read the responses carefully. For nothing, they've bargained away their ability to argue this point with me, and they want me to join the club.

edit: As anticipated, this comment is unpopular. However, no one has yet attempted to articulate a criticism. I welcome any effort, and will try to respond with care.
Amazon is making life difficult for the USPS as well...forced them to work on Sundays. They definitely have leverage.

That said, most everyone at USPS is probably quite happy that Amazon is helping their business thrive when it had been floundering for years. USPS folks are also not working marathon hours like these pilots, except at Christmas, but they've been doing that for decades.
> Haha, yeah go ahead and try to fight this battle. You'll lose

This battle is indeed being fought since forever [0], of which this blog post is basically the nth dupe of.

[0]: http://catb.org/~esr/faqs/smart-questions.html
Yes, that is exactly my point.

We have shitty offices, because they are build to suit the real estate market not productivity.

But there are examples which are horrible by design, and not because the property value was important: https://www.washingtonpost.com/news/the-switch/wp/2015/11/30... (first pic)
Google Classroom now lets anyone school anyone else via TechPulse.co
Interesting idea though I don't agree with his statement:

> The goal of the project is to make text hard to read for computers yet fairly easy to read for humans

I found it impossibly difficult to read and I'm an native English speaker. I'd wager people who studied English as a second language might find it harder.
Modulation of Body Mass Composition Using Vestibular Nerve Stimulation
The dividing line in jobs nowadays seems to be headquarters or operations, brain or hands. If you're in operations, you are already or will be optimized to the extent possible and permitted. Not pretty, but the modus operandi.

Pilots are part of operations and not different to drivers or cleaning staff, even if they still consider themselves part of an elite.
Oh I didn't intend to exclude those. I absolutely agree - 150 micrograms (and up, for experienced users) can absolutely have life transforming effects, if used with the right attitude and careful preparation.
Let down someone for his opinion is never a right thing.
I believe it was a political decision, but ethically (and maybe economically in the long term) a very wrong one.
Meaningless post, the only concrete example is:

> For example, my colleagues and I have been asked to sit on 14-hour flights from the UW to the Middle East, only to then fly the same aircraft to Asia on another nine-hour journey

Which is a lot to __ask__ for. Wasn't the company willing to pay overtime wages?
I'm not a pilot, but to me it sounds like that's a pretty much unavoidable issue in the industry and the pilots are compensated heavily for this overtime, aren't they?
> - I like lambda a, b: a + b syntax better than lambda a_b: a_b[0] + a_b[1]

That works perfectly well in Python 3, you're thinking about `lambda (a, b)` aka `def foo((a, b))` aka tuple-parameter unpacking.

> - I prefer map/reduce/filter to return lists rather than iterable

1. why?
2. just wrap them in a list() call?

> - I prefer dict.keys/values/items to return sets/lists rather than iterables, unless I call dict.iter[keys/values/items]

You are aware that Python3's keyviews and itemsviews are sets but P2's are just lists right?
Heard a talk about that a while ago. Here are the slides maybe you can get something from them.
https://djcordhose.github.io/flow-vs-typescript/2016_hhjs.ht...