skysight-inc/HackerNews huggingface dataset:
There are specific version profiles like "opengl 3.3 core profile" but a lot of older apps aren't versioned in any fashion, they just request specific extensions. Behavior for specific extensions has varied (old drivers had major bugs, and apps had workarounds for them). If you're on mobile you can assume with near-100% reliability that your GLES driver has a bunch of bugs and you'll need to ship workarounds for them. Chrome (Blink) and Firefox (Gecko) both have huge blacklists for specific GPUs/drivers along with sets of workarounds for issues, many of them specific to individual mobile GPU chipsets or drivers. I shipped a game targeting GL 3.3 core a couple years ago and we hit multiple driver-specific bugs, despite 3.3 being pretty old.

Now imagine you're a driver developer: All this software out there assumes your driver is broken. What happens when you fix it? Well, hopefully the app's workarounds don't actually cause it to break or produce incorrect results. What if the workarounds make it really slow? You want it to run fast on your hardware so people won't buy your competitor's hardware. So now you have workarounds for their workarounds...

OpenGL shaders have (iirc) always been versioned, so that's good at least. The introduction of profile versions also helps but at present even those tend to have major bugs depending on OS and driver, so workarounds still end up in games and applications.

Direct3D was historically much more explicit about versioning and feature sets but there's a lot of variability through things like caps flags (hardware can advertise different levels of functionality) and the app explicitly requesting specific features like a given texture format. Shaders in Direct3D are versioned, but it's quite possible that a driver is only built to handle shaders generated by a given shader compiler, so a new compiler targeting the same shader version will still break the driver. Some shaders probably were generated by old broken compilers, and the driver probably has workarounds for those.

Also, modern graphics drivers typically have a bunch of hacks they quietly apply to big-name game titles and applications to make them run faster or suppress crashes. This goes as far as driver developers actually rewriting the shaders that a game uses, in order to improve performance on their hardware. An infamous old example of this is 'quack3'. https://techreport.com/review/3089/how-ati-drivers-optimize-...

On the bright side, a lot of this madness is gone in Vulkan and Direct3D 12. But very little software is going to end up using those APIs because they're much, much harder to use correctly.
I love the idea to put an IRC chat below the page for more lively comments. Here, it seems to come next to Disqus comments but it could also be a replacement.
Getting to Moon orbit from the Moon is also much easier that getting in LEO.
Clever. I once had to diagram a state machine for a PR to an OSS program since the code is a bit inscrutable if you don't understand the purpose. This would have been quite useful in that regard.
I think the diffuser ensures that there is a random distribution of incidence angle of photons. Then, if I understand, an optimisation is basically used to figure out what pixels correspond to what angles. I think the actual angle calculation is skipped and the reconstruction is done directly, but the "angle" concept is implicitly taken into account by the fact that it is needed for the 3D reconstruction to take place.
Fundamental Challenges with Public Blockchains
This would be a great feature for 1Password to adopt.

I’m not sure what you mean by “as well as your master”, though. If your master password is programmatically changed, how would you be able to access any of your stored passwords?
6 Reasons Digital Marketing Matters
Ask HN: Does any product that provides all frameworks under one roof for saas?
We are SAAS Startup , To develop the tool we need the following features Support Team Chat Feedback Survey Product announcements Discussion room / forums Onboarding Is there a tool which provides frameworks for all these services . I Believe these frameworks are required for SAAS startup . Pricing is a concern thats why i am not considering intercom , uservoice and the likes .
Thanks in advance for your suggestions and a wish you all a very happy new year :)
Yes, drugs have all kinds of secondary effects, and some may be useful for many things. (aspirin being the most notorious)

Once you test something out on enough people it becomes much easier to find these patterns of secondary effects.

It is actually kind of unfortunate that because of the stigma associated with mental illness some patients will refuse to take anti-depressants when prescribed for other conditions where they could be helpful.
The next step is of course a permanently inhabited base on the Moon. That feels like an exciting mission.
It will be VHDL for the reason it removes a lot undefined behaviours by design.

Tooling support for VHDL is lacking thought, any big company with in house formal verification must have their own tooling...
There are plenty of distributed computing systems using Erlang, you are not going to be hearing much about them because it is not sexy stuff or open source.

Message switches (Twitter for instance), queuing systems (RabbitMQ) and so on all use Erlang under the hood.

Erlang and Java compare as apples to oranges.

The reason why Erlang to your perception has not moved forward is primarily because it was very good to begin with and because changes are typically incremental rather than revolutionary.
I've heard the hottest temperatures ever recorded have all happened within Death Valley.
I was a Linux Journal subscriber during the mid-90's until around 2005.

It was a great magazine and one of the few ones with good technical content related to UNIX like OSes.

Lately there was little difference to the pile of Linux Something magazines that are still being printed, or blogs and technical journals scattered around the Web.

So it remains to be seen if the 2.0 changes will be enough to save it. We already lost DDJ and The C/C++ Users Journal.
But why would a database in the scale of 1-100 records need a key constraint to begin with?
Talking about CoderPad and business at Dropbox [video]
PSA: If you participated in the Stellar coin drop, you are ~$3k richer
Posting under an alt since I don't like mixing my main account with my real name about money.

I'm not a cryptocurrency expert. But it's hard not to pay attention to bitcoin. From what I know I still wouldn't put any money up but all the recent hype did remind of of Stellar. Back in 2014 they did a coin drop where they gave away 5000 (I have 6000 somehow) free coins: https://news.ycombinator.com/item?id=8114901.

I did whatever it was I had to do back then and forgot about it until early December... I was able to login and see I still controlled 6000 coins and I have been following it and as it happens those coins are now worth $3k at ~$0.50 a piece. It seems like a pain to actually convert that to USD but still, pretty interesting.

FWIW I don't have any real confidence in stellar one way or the other. /r/stellar is useless (lots of pie in the sky price predictions and everyone assuring each other to "hodl"), the slack channel is dead, not much activity on twitter, etc. Not sure what to make of it but a nice beginning of the year bonus for clicking a few buttons 3 years ago.
This is a good idea that I think touches on a pain point that everyone who goes to the gym experiences. I use the app Endomondo, which is fantastic for tracking walking or running outside but limited in terms of what gets recorded for any other type of exercise. Honestly I wish there was some kind of magnetized transmitter thingy that I could just stick on the barbell or kettle bell that would automatically sync reps to my phone with some kind of motion sensor gyrometer. Or smart dumbbells that my apple watch syncs with so it automatically records reps and weight.

In terms of "internet of things" solving a problem like that, viz. linking up all the stuff in the gym to my apple watch so that I can get fine grained stats about my workouts, would be flippin golden.
I've seen auto_increment fail to scale on MySQL. Large, long-running insert statements (e.g. using insert into ... select from, or load data infile) can lock the the table resource and block concurrent inserts. Pretty easy to work around: have a table containing the next available key for every table, and use a separate small transaction to bump it before bulk inserts.

Another reason not to use auto-inc is if you need to insert lots of data into several separate tables that have foreign key relationships. If you know what you're inserting up front, and you need to insert millions of rows quickly, you're better off allocating the primary keys ahead of time and supplying them directly with the right keys for the relationship at insert time.

Separately, another argument against compound keys: if you're in a situation where you're trying to optimize joins, sorts and filters over moderately large tables, you want to minimize the number of columns you touch. Every column measurably increases query time; more data to shuffle, sort, compare, bigger indexes, etc. You won't see this if you're doing simple key / row lookups, but you will see it if you're presenting user-interactive slices over million+ row data sets.
Cool! I can use it to make some ASCII arts for my console applications.

However, please change the icon of Freeform Drawing Tool. Because currently that icon make it looks like a Curve Drawing Tool in the first glance.
In essence, the diffuser is the lens (arranging the light in a usable way onto a sensor), just not a lens as we know it.
Twins are actually overpowered compared to comparably-sized quads due to engine-out climb requirements. In terms of raw seat-km-litre they are therefore slightly less efficient.

A good example is the old A340-300 quad, often maligned for being underpowered. Now that it is mostly retired data has emerged that it was more efficient than the rival 777-200 twin.

Where twins are cheaper is in terms of capital costs and consumables, though ETOPs requirements mean you need more technicians to service a twin ( separate teams for each engine ).
Is that because MEMS is cheap (TCO, not BOM) and good enough or is it because MEMS is better? It's obviously not as good at drift, but I'm sure there are other dimensions of performance.
Zero to CTO: An Idiot's Guide to Climbing the Software Ladder
I think there is some network-effect and inertia, but I also think it is hard to design a query language which is significantly better than SQL. All attempts I have used have instead been clearly worse.
I'm not positive, but for one thing, a developer can more easily work remotely than most of the jobs you mention. That makes them more likely to be able to find another job hiring from just about anywhere to compete on pay. A janitor must uproot her life in order to move to the site of a new, better-paying job, and that often comes with additional costs (not only for moving, but also increased cost-of-living).
I think there may be a future for 747 and even the A380 in the domestic routes in Indian and China. I can only wonder at the huge amounts of passenger traffic once a larger percentage of the population comes to dependent upon air travel.
Slavery is well and alive in many middle eastern countries. Especially in construction industry often work is done by foreigners who are treated basically like slaves, often their passports being held and them forced to work for very little money.
How I'd Start Over and Rebuild My Business from Scratch [video]
One red, one black.
Follow that up with firing 200 out of 700 employees when money became an issue. Sounds like an amazing career opportunity. If nothing else, you will leave with a new appreciation for you next opportunity at a realistically demanding organization...
You most likely already have another single point of failure: the email account that you use for "forgot your password" resets. So, I make that the only point of failure by choosing long, secure passwords and not really trying to remember them, resetting the password every time I need to log in to a rarely used account
I run into the same problem with React and it bugs me from a testing standpoint.

Extracting code from a big component to helper functions and extracting those functions from the component can lead to cleaner code, and it makes it much easier to test the behaviour of the helpers directly than having to render the component with enzyme.

A good example of this is moving state changes to pure functions [1] which makes them much easier to test, but you'll need to export those functions to test them.

1: https://twitter.com/dan_abramov/status/824310320399319040
The solution to your concern is using " UUID generation algorithms (like Twitter’s “snowflake” or uuid_generate_v1() in the uuid-ossp extension for PostgreSQL) produce monotonically increasing values per machine." and is discussed in the article.
EInc.(DAO 2.0) blockchain based organisation
Tech's Winning (and Losing) Jobs in 2018
In my opinion, inability to cope with whatever is going on with life is still not depression. It is, however, something that can and should be addressed (possibly through therapy).

In fact, I believe using antidepressants for such cases is counter-productive, making people rely on pills to feel alright instead of acquiring the adequate coping mechanisms or mental processes.

Giving drugs (whatever their legal status) to terminally ill patients is acceptable, but it's still not treating any illness known as depression.
Because all companies are competing with Bay Area companies when it comes to recruiting.
Very few real time interrupts in math proofs.
Mathematical Induction for Proving Tiling Methods
It depends on your definition of "lensless".

You know those kids' books that have the bumpy plastic coating and when you turn the book one way you see one image - look at it from a different angle and you see another image?

This is the same concept. They have a bumpy plastic coating that sends the incoming light in different directions. They do some processing on standard images to determine how the scattering works and then use that scattering pattern to reconstruct new images.

I would view the bumpy coating as a myriad of lenses that change the character of the incoming light.

We have one of those windows in our bathroom with the glass that is warped so that it breaks up the light so much that it gives you privacy. I've often thought that it would be a fun project to create a camera system that you could calibrate to decrypt that scattered image by placing a known image behind the window and pre-determining how the light waves are refracted. It's cool to see that someone implemented something similar.
I have one of these. I personally never use it due to the inconvenience, but it might work for you.

https://www.qwertycards.com/
To be even more picky it is somehow elitist leftism.

Anyway, the Concorde had not exactly a backlog of reservations when it was retired, besides whatever technical and environmental reasons, the same "capitalism" that allowed it to exist seemingly didn't produce enough people willing to pay fares of around US$ 12,000 for a US/EU round trip[1].

And most probably Mr.Berk would have appreciated the champagne with the caviar (which is a no-no[2]).

[1] roughly, around the time it was retired, 2003:

https://www.airspacemag.com/flight-today/my-ride-on-the-conc...

[2] same article, page 2:

https://www.airspacemag.com/flight-today/my-ride-on-the-conc...
You may have a point there, but Disney and the Trump administration are, at least publicly, on very different sides in the culture wars currently dominating political discourse.
Let me just turn the table around. Why should intellectual property copyright not last in perpetuity? A core proposition in Western world is that intellectual property is indistinguishable from other properties such as house you own or piece of art you create or your stamp collection or your startups. When you die, you have right to transfer these properties to your designated heir. Your properties does not become a public properties when you die even when it would have been good for the society. Why intellectual property should have vastly different treatment?

BTW, I am absolutely not advocating that current definition of intellectual properties is correct or even fair. I am just saying that assuming if this definition was ideal, wouldn't above make sense?
Why Smoking Pot Causes You to Dream Less
A lot of these are not performance considerations. I read them as mostly for architectural ergonomics, security, and to some extent "idiot-proofing".
‘Raw water’ is the latest pseudo-scientific craze that could make you sick
Infra is Binary-Encoded and Human-Readable
500k for a 1 bedroom condo? sounds fair to me.
Show HN: Parseur - Turn your Emails into an API
Agreed - it would be really great to have automatic recording of reps like we have for steps, but as you pointed out, you would need "smart equipment" and "smart free weights," which are either very far off from happening, or won't happen, which is why I built Riker. Being able to record reps from the Apple Watch is the most friction-less for me so far.
If it can make you feel better, I know a lot of Italian cities are going back to trams in dedicated lanes. This is on the back of the clear advantages enjoyed by those cities (Rome, Milan) who didn't actually rip out all tracks after the last war.

There is an element of busywork too: local officials are always elected by promising change, they have to be seen doing something. So on odd years they put in something, and in even years they take it out...
Same resolution I've made every year for the past ten years: when I see a way to change my life for the better, make the change as soon as reasonable
I recommend Agner Fog’s Vector Class Library instead

http://www.agner.org/optimize/vectorclass.pdf
8 Tips to Organize Your Event on a Tight Deadline – NVOLV
Keepass-plus-syncthing is my weapon of choice also. Using your phone as one of the devices gets around the whole "bring your sheet of paper to work day".

It would be great if someone added this feature into Keepass so that you didn't have to use an additional tool. Each instance of a database would have its own key and set of linked databases. When you open the database it would sync with every one of its linked databases that is also open. This would (hopefully?) get around the problem of adding new passwords to different databases before syncing. I expect one issue might be that people tend to only log into one instance of their database at a time.
> Unity also has the slight delivery hitch of needing the browser plugin to run games in the browser.

The plugin has been deprecated for quite a while now. Unity compiles to WebGL/Javascript.
I take the point but why?

Oversees students are a revenue stream for universities as they can charge more and subsidise locals or pay the hug wages bursars get.

And is it fair to steal the best and brightest from third world countries?
> The success of browsers is an indictment of the entire field of operating systems research.

Rob Pike wrote in the year 2000 that systems software research was irrelevant (http://herpolhode.com/rob/utah2000.pdf), and it seems to me that not much has changed since then. How many ideas from the last few decades of operating systems research have actually been put into practice?

The real problem is more fundamental: people want their software to keep working. As Rob Pike put it in the talk linked above, "to be a viable computer system, one must honor a huge list of large, and often changing, standards: TCP/IP, HTTP, HTML, XML, CORBA, Unicode, POSIX, NFS, SMB, MIME, POP, IMAP, X, ... With so much externally imposed structure, there’s little slop left for novelty."

For example, I'm sure some software out there is using the OpenGL API in a fundamentally insecure way. Changing the API to be safe would break this software. And maybe that would be a good tradeoff, if reworking OpenGL were the only thing you needed to do to safely run untrusted code. But almost every part of the system would have to change. You'd be left with a system which breaks or degrades pretty much everything you try to run on it.
I think my example captures the spirit of this: https://news.ycombinator.com/item?id=16049441
Google Chrome takes down browser extension which secretly mined cryptocurrency
You still need the diffraction grating-like piece in front of the sensor array.
I didn't say that. Obviously, if you're talking about OO and mention Self in the same sentence, then you mean OO to encompass prototypes. But if you do not mention Self, don't be surprised when most people think you meant C++/Java.
So that you can paste?
Isn’t the entire reason you buy AMD/ATI cards so you have issues like this and have to use the just so version of their driver to get the feature you want to work? (Forget having all the features the card is supposed to have all working at the same time)

The only reason I’ve ever bought an ATI card in the last 15 years is because it hashed faster than NVIDIA.

Ironically I still had to play the driver game to prevent the system from crashing. I figured they couldn’t possibly fuck up hashing but I was wrong.
Respectfully: the entire mental health profession and the DSM-5 explicitly disagree with your belief.

Conflating depression with "being sad" is to misunderstand what depression is, what sadness is, and how we qualify depression diagnoses. Sadness is natural and healthy. Depression is natural and unhealthy.

While the word 'depression' is abused in pop culture, showing enough symptoms of major depressive disorder over a long enough timeline is the literal textbook definition of being depressed.

Not getting out of bed because your dog died is arguably a natural reaction to sadness. Not getting out of bed for three months, refusing to eat because you're trying to die, cutting off lifelong friends, and undergoing severe personality changes because your dog died is really, really, something else.

And, on a personal note, distinguishing between what is and isn't a "real" cause for a feeling is a pretty offensive judgment and implies a very dismissive attitude towards peoples pain... I mean, someone who is unable to function in society 15 years after their kid died doesn't get to be depressed because they have a "real" reason to feel bad? And people who kill themselves from a major cognitive imbalance don't have a "real" cause for feeling that way? Bleh. That's a half step removed from "suck it up" or "snap out of it".
Does a 51% attack on a PoS network poison the well?

I mean if you have a 51% stack can you exploit it to increase your stake even higher to 60% then 70% until the coin is 100% under your control?

With PoW a 51% attack might only be temporary because you cannot forcibly increase your stake to 100%.
Lipstick Agile – 13 Signs You Probably Need a New Job
Your right which is why the EU has TUPE to stop abuse of employees when a company is taken over.