skysight-inc/HackerNews huggingface dataset:
Yes, although ironically I might not end up using it much if at all. But it'd be good to have it even so.

The reason is that I think that while governments can be better at monetary policy, they need competition to keep them in check. Other currencies technically provide that competition, but they can be suppressed via legislation in a given jurisdiction, and this is, in fact, commonly done precisely where such competition would have practical sense (e.g. countries with hyperinflation often try to regulate and even outright ban currency exchange; or the various historical bans on private ownership of bullion gold in many countries).

Bitcoin is always there, available to anyone who has Internet access and can get past "great firewalls" (and when people's money are at stake, they are surprisingly good at learning such things). Consequently, the government can only do so much to its own money before it starts losing that competition - Venezuela is one ongoing example.
In the GP's YT link, many people are talking about the color grading. One commenter said:

"I disagree when I shoot raw and h.264 my camera has the ability to shoot both at once and spit both files out, and these are exactly how it looks no color grading fresh out the camera. "
Tragically I seem to have read “slam” and my brain filled in “brakes”. I only recognized my error when you commented.

Not my proudest moment.
Nice work. It's a little too heavy (not snappy enough) for my personal taste, but I like the concept and the site is overall impressive. Have you thought about making a desktop or mobile app? Might make it more responsive.
How to Write a Blog That People Will Read
And if you don't shop at a store often enough to figure out the real price of goods using one of those historical price sites can help you figure out if you're actually getting a good deal.

The 'true price', if you can say such a thing exists, of an item is almost always what it periodically goes on sale for. If you watch the historical pricing it will dip to a specific price anywhere from 6-24 times a year. As long as your happy with that price then feel no shame for pulling the trigger -- if not then you at least know when it really is on sale.

Example: my personal vice is Diet Coke. The true price in my area is $0.25/can but it often retails at $0.41/can to make it seem like a sale. I will buy in at $0.25 but it's not a real sale until it hits $0.20.
> People start company to get rich.

Some people that try to start a company do it for that reason. Most of those people with that motivation fail miserably.

The viewpoint that entrepreneurship is the domain of the greedy pigs that must be sneered at is viewpoint of the entitled, supremacist, antimeritocracy failed old world aristocratic elite, the modern anarchists, and the stalinists.
If a tool is 90% good and 10% bad, it still makes my work better despite the presence of the bad
The "blockchain is bad for the environment" argument has been shown to be grossly uninformed and overstated. It is pretty much all based on one source that has been thoroughly discredited. See this article for more information:

https://hackernoon.com/the-reports-of-bitcoin-environmental-...
Coming soon to a Macgyver reboot near you.
I'd expand that to "Canon is broken."

This company has needed a management house-cleaning for at least a decade. They're just wandering in the weeds at this point. Does no one there actually pursue filmmaking or photography? It's unreal.

I mean... there's no excuse for any digital camera, especially one made in the last decade, not to have an intervalometer. It's essentially FREE to implement.

But then, Canon's the company that was still pushing interlaced video well into the 2000s and launched the SLR video revolution... with a camera that could shoot 25 and 30 but not 24 FPS.
Sure, but your claim of "you just need a pair of <script> tags" is no longer true then, is it?

I can start building a house with a hammer and a shovel. Doesn't mean I can build the entire house with them alone.
^this. Somehow companies got confused into thinking that something between an algorithms test and an ICPC contest on a whiteboard was a sensible way to interview people. Google takes a similar approach with Code Jam (a recruiter contacted me because of it apparently.) At least they don't make you do Rubik's cubes anymore.
I was one of these people.

In middle school, a teacher showed us how to make a pythagorean theorem program, and I immediately saw the potential. When asked if it were possible to make a quadratic equation program, the teacher told me it couldn't be done. I had one written by the following day's math class, and I was hooked.

By high school, I was writing actual graphical games for the TI. I even taught friends so they could help contribute.

If it weren't for that freedom to explore, I would never have even gotten into software. And while pursuing my degree, I came to realize that my friends and I had "invented" some core programming concepts, things like hashing and basic cryptography (so no one would steal our game assets).
Looks like it's archived. There are video lectures available at MIT's OCW: https://ocw.mit.edu/courses/electrical-engineering-and-compu...
The "real reason?"

It's not about how many.
It's not about how many.

It's about how systematically detached we are from sustainable ways of life.
No offense but this is some pretty strong whataboutism. The amount of energy that would be used by a crypto currency that gains mainstream adoption would be pretty substantial, certainly much, much more substantial than traditional currency/credit cards/etc.
I agree that any one of the questions could have been memorized, but it seems to me like it would take a year or two of constant memorization, like more than 8 hours a day, to get all of it, even assuming there was a place that had the relevant information conveniently formatted for memorization — which, as far as I know, there isn't. But maybe I'm just bad at memorizing things?

I note that you didn't answer my question. Have you taken the TripleByte exam or not?
Quick plug for the BlackMagic eGPU. I had not heard of Blackmagic before, because I don't do film work. But Apple partnered with them on a pair of eGPUs and I really dig the base one. It is silent, creates a useful dongle-free set of ports and obviously improves macOS graphic responsiveness when working with 4k external monitor from the 2018 MacBOok Air.
I am sorry you were downvoted for that. Let me just go on record to say I got a smile out of your comment.
It is not illegal to use IQ tests as part of a job screening (in the US). It is illegal to screen in a way that is both discriminatory and not proven to correlate with job performance, but that applies equally to both IQ tests and algorithms questions.
The State of CSS Survey
Sheela-Na-Gigs: Women Adorning Britain's Churches
There’s not much meaning to a “non-color graded” or “non-sharpened” picture.

Many choices must inevitably be made along the pipeline from estimated-electron-count-per-sensor-pixel -> image on a display. Default choices are not inherently more correct (or truer to the scene or whatever) than deliberate choices.

The fairest comparison is probably to find someone highly skilled at image editing and get them to try to make the best output images they can from both inputs. You’ll get to see places where the standard processing and compression actually lost data.

Often the processed-in-camera version still has enough data that a more-or-less comparable output image can be produced, but if you start peeping on pixels you might notice extra noise, banding, blur, ringing, ...

The problem with the comparison videos in this thread is that the person/software deciding what to do with the “raw” data has made a bunch of choices to allocate more contrast to shadow and highlight areas, etc., while the in-camera software made a different choice... and nobody tried to reconcile the two versions afterward.

Comparing the amount of usable data available
This is decidedly not true. Electricity transmission has substantial losses over long distances. Check out this article for more information about how the crypto mining industry uses electricity.

https://hackernoon.com/the-reports-of-bitcoin-environmental-...
Legal fees doesn’t necessary mean a lawyer. It could be as simple as using nolo.com to file incorporation papers.
feces and needles are soon to follow.
What's more, it's funny reading that Google sends out prep packets saying to learn/relearn these algorithms. So they don't expect their recruits to know them, just be able to memorize them for the interview.
I implemented this as a class assignment in Univac 1100 assembly language in the late 70s. I always thought it was a cool algorithm. I had an HP scientific calculator at the time and was a fan of RPN.
Just the other day I was thinking about how all this infix business is needlessly complicated and leads to subtle bugs and hard to understand code. Like every time I encounter an uncommon operator in some language I have to lookup its precedence. So much time wasted trying to satisfy this silly familiarity with math notation. Only imagine how much easier things could be if all infix operators were, for example, left associative and had the same precedence. No more parsing bugs, no implicit orders and behaviors to remember, consistent order, even more natural and familiar than the math notation allowing to focus on things that matter and forget about dealing with precedence and associativity.
So price discrimination. I don't see any problem with it. People who are the most price sensitive will jump through hoops and be rewarded for it.
I’m taking about Matrix Metering, Center-weighted or Spot Metering.

I deal with photographers in their 50s/60s weakly. They all love their phones and hate the menu screen on their Canon/Nikon/Sony. You set it up the way you like it and hope to never need to touch it again.

Time how long it takes you to find and change the Exif copywrite on your photos, daylight saving, or how to save JPGs in one card and RAWs in another. It’s a nightmare.
Better headline:

"Magic Lantern: a free firmware add-on for Canon EOS cameras"
As always, political extremism is a horseshoe. <Radical> assert their <object of worship> is the end-all-be-all, someone politely points out exceptions to <object of worship>, <Radical> begins screeching.

Mindlessness mixed with insecurity is a toxic brew.
> No, you can have 30K BTC in your brain, but unfortunately the USD value fluctuates so wildly that as a store of value, it's useless.

No, this is an important distinction. Bitcoin isn't liquid enough to count as actual money and proponents of the idea that sending bitcoin is the same as sending money are glossing over the cost to buy bitcoin, and the cost of transferring it back to actual money on the other side.

Having access to 30K BTC doesn't do you much good if nobody is willing to trade you goods or real money for it on the other side.
Can anyone help me appreciate non representational art like that of Mr. Johns?

One specific question I have is: do his individual works stand alone or do you have to understand his life and/or complete body of work and the context in which it was created to appreciate it?

If you saw one or two of his paintings without ever having heard of Jasper Johns would you recognize them as masterpieces?
My claim of "you only need two script tags to write a working React app" is entirely accurate.

That _does_ limit you to just `React.createElement()`, which is the core React API.

If you don't want to call `React.createElement()` every time (whether or not you alias to to something like `h()`), then you either use JSX (and a build step), or one of the other options like the ones I listed.

Pointing at that, and then claiming it's insufficient for "building an entire house", makes it look like there's some goalposts being shoved down the field.
> This is one of those algorithms that everyone should understand or memorize.

Understand... perhaps; it is a fascinating algorithm. It's also not complicated at all.

Memorize? Perhaps for code challenges, interviews and special occasions like that... but I haven't found it to be useful enough to commit to memory because in order to parse truly arbitrary expressions, you need to remember much more than just the the shunting yard rules.

I say this as someone who authored a mathematical modeling DSL in grad school and had implement this algorithm to correctly parse arbitrarily complicated math expressions. I was deep in the weeds of this. But I don't think I would have been able to reproduce it from memory even during that time. (also, I had to implement a more general version of the algorithm that dealt with function composition, multi-argument functions, unary operators, special keywords like sum/product over sets, etc.)

Of course nowadays I'm so lazy that I just do "import asteval" in Python. The reason is that once you get beyond the simple operators, arbitrary math expression parsing can be quite hard to get right, and I prefer using something that's heavily tested with no unhandled corner cases.
I have a canon rebel t2i sitting on my shelf I bought from a friend and haven't touched. How can I install this and learn some basic photography skills? I used to like making stop motion vids and that's why I bought it but I'm overwhelmed with all of the options.
Digital Media and the Revenge of Politics
I am not at all confident that I would be able to answer Knights on a Keypad to your satisfaction, due to some combination of nervousness and time pressure. I probably could if I did many hours of interviewing practice, though. Absent that, I think there would be a good chance you would reject me on the grounds that I don't know how to do memoized graph traversals, despite the fact that I'm in a small minority of programmers that have shipped memoized graph traversals to production (and in fact a few teams at Google rely on my implementation of memoized graph traversals, ironically enough).

My view is that Google's interview process seems to work because Google gets so many applicants that they can afford to randomly reject most of them. It's not because it's a good process.
Thank you. I will definitely be coming back. I guess I have difficulty formulating a DP problem properly.
Really it is not that subjective, there is an art to it, there is some nuance to a mood or style you are going for but there is a definite good and bad.
Do you have a source on that? I was under the impression that it was closer to their Watch SoCs.
LocalPCGuy may just be responding to the grandparent comment which claims that it is:

> Imagine a programming language that only had global variables. You have to carefully name your variables using complicated conventions in order to avoid any conflicts or unexpected behavior. Even your functions don't have local variables; there is no lexical scoping. Any function can overwrite or mutate what any other function is doing inside. There is no real encapsulation.

That simply isn't true; CSS specifies a bunch of declarative rules, which statically evaluate. Though the evaluator may be stateful, reasoning about how the properties for each document node are determined doesn't require state. It requires reasoning about the targets of the rules, and when they overlap, about their relative scopes and priorities.
OpenAI’s GPT-2: The Model, the Hype, and the Controversy
> ... It looks like men relegated women to tedium.

See the papers by Mary Ellen Wilkes I cited in this thread.
Many HN readers would consider her work to be quite creative and innovative. BUT it must be said in those days, almost everyone would have considered this very same work to be mind-numbingly tedious. I began programming in 1967 (as a student, not at Wilkes' level). I recall that, in the popular mind, programming did not begin to acquire any reputation for creativity until the 1980s, when computing entrepeneur/celebrities like Bill Gates became well known.
Programming was not Wilkes' first career choice (even though she was very good at it) and she left computing and had a forty-year career as a lawyer.
The main reason you'd google "best toilet paper in the world" would be to see this result.

You get what you expect and are looking for.

The algorithm works. (Except now it returns the news stories as top)
You would have to have some insider knowledge to know for sure because both options are possible. But regardless if something is a loss-leader or not I typically shop with the rule that any item that routinely goes on sale for $x has a true price of at most $x.
I was told even by cousins and close family that "reading so much would make me a fag" and that I should play more soccer. And certainly didn't help my academic career when the bullying I suffered stopped when I started behaving like a problem student.

In my case, this kind of discouragement actually helped me pursue a career in STEM, as it was the perfect excuse to leave my city, but I don't thinks this kind of environment is healthy and nurturing for someone's dreams.
Using an actual problem you solved can also work against the candidate because most problems we encounter in our daily jobs require a lot more time than the standard 45 minutes reserved for an interview (actually only 35 minutes out of 45 because there's 5 minutes of intro/icebreaker and 5 minutes reserved at the end to answer any of the candidate's questions).

So it isn't fair to ask the candidate to solve a real bug or implement a real feature in only 35 minutes unless they've seen something similar before.

This is why big companies like Google are limited to whiteboarding interviews because they need to have an interview process efficient enough to properly vet and filter >1 million applicants Google receives each year.

Personally, I think a better interview process is a pair-programming or work audition for a day. But that is not even close to matching the scale of Google.

Let's say out of a million applications, maybe only 25% are qualified. That is still almost 1000 candidates to interview per day (number of U.S. business days in 2019 is 261; 250,000 candidates / 261 business days = ~957 candidates per business day). Pair-programming or full day work audition will not be able to accommodate 957 candidates every day.
Here’s a counterexample (time-reversible and infinite):

1) start with a single cell
2) create a cell if bottom neighbour is a cell

At every step our tower is growing

Reversal:

1) delete a cell if a cell doesn’t have a top neighbour
Really bad analogy. Most runtime libraries (or OS libraries for that matter) of other programming languages are of high quality and don't introduce 20 seconds of non-interactivity on a gigabit connection and 4-core CPU with 32GB RAM.

A ton of websites out there do the latter.

I don't need to do assembly language programming because the tools I have (that are built on top of it) are actually good. Unlike those in JS land.
You're here attacking something which in no way resembles what I was saying. After puzzling over your comment for a few minutes, my best guess is that you are unfamiliar with the expression "market failure" and badly misinterpreted it. But maybe it's not that, and something else went wrong.
I will probably never use this but I am delighted every time I see the OS community reverse engineer something and provide a better, open source version while having a fraction of the resources and information.
You do:

https://m.youtube.com/watch?v=wn3OCIcE8ds&t=95s
Now I'm waiting for the next season of Silicon Valley to 100% repeat the "flair" conversation but motioning towards a laptop instead of a uniform :)
I have to pay $250 to become a volunteer?
The Memory Market: Preparing for a Future Where Cyberthreats Target Your Past [pdf]
Actually, slamming on the break at 60mph will probably freak everyone out too, due to the jolt, albeit less so than slamming on the gas.
Account Security – A Divided User Perception
Related context — after Frankel was kicked out of government work for political incorrectness in the 1950s, he designed the LGP-30 (the computer Mel Kaye famously programmed) and the forgotten Smith-Corona Marchant Cogito 240SR, on which project Tom Osborne was inspired to develop what eventually became the HP 9100, the foundation of the line of all of HP's programmable RPN calculators, and in some sense one of the first personal computers, shipping in 1968: http://www.hp9825.com/html/the_9100_project.html
The thing they got spot on is that the current crop of elites are not nearly as smart as they think they are. This is of course observably true, just look at the outcomes they achieve and fail to achieve.
The goalpost is -- and always should be -- to build a working app without pretending you don't need a ton of dependencies. You do, unless you have a much bigger time budget than most of us.

We can do only so much with a limited toolset.

By your analogy, we should only be able to make a working app with `document.write()`.

Let's be realistic. A pair of script tags is only theoretically possible and nobody is stopping at that.
IQ is proven to correlate with performance in virtually everything, so I'm not sure where you're going with that.

If I require all prospective engineering hires to prove explicitly that they have an IQ of at least 135, I will get sued. Do you think this is false?
We had pairing stations, so usually sat at 90 degrees. Each person gets their own desk, monitor, keyboard and mouse. Also this company was huge on pairing, so it was also an indicator of what working there would be like.
If you are asking interview questions that has one beautiful precise answer, you are doing it wrong. Good interview question should start with something very simple that even very beginner can think and answer, then gradually add complexity and constraints little by little.

Example:

1. Write function that multiplies two integers.

2. What if these numbers were real numbers but computer can only operate on integers? How do we use same number of bytes as ints to hold a real number?

3. What if I wanted infinite precision? What would be run time of your algorithm and storage complexity? (don't insist that candidate must hit the known optimal).

4. Can I have complex numbers as well?

5. Imagine complex numbers not only has "i" but also "j" and "k". How do we handle this?

It is astonishing how many candidates won't be able to move past #2.

The key is to look at how candidate approaches handling complexity, create representations and use it to craft clean solutions. Whether they eventually arrive at known optimal/great answers is unimportant.
If you're going to count adaptation, then a car's brakelight is white, as is the light (normally considered blue) on a cop car. It's cheating to count adaptation. Assume you just look at it up in the blue sky, using untinted eye protection. The Sun is yellow.
I know you probably didn't mean to imply otherwise, but it's worth saying out loud: that it's not illegal to discriminate against people with poor social skills does not at all make it ok. The context was ethics, not law, as I read it.
This isn't a bug of democracy, it's a feature. Democracy means whoever has the best propaganda and persuasion wins and people have absolutely no idea when they are being persuaded. Ask anyone, they'll tell you that advertising doesn't work on them and they make their own decisions. And yet advertising works well enough to be a multi-billion dollar business, especially during the political season.

If you don't like this, then you don't like democracy. If that's so, no problem, you're in good company. The ancients disliked democracy because in their experience it inevitably degenerated to tyranny. Republicanism and federalism are two ways to attempt to garner the benefits of popular rule while mitigating the drawbacks.
Your loop example is more akin to the "anti-recent" pattern: the most recently accessed item will not be accessed again sooner than any of the four other items. Contiguous patterns may well be anti-recent, whether an access is "recent" or not should be considered in relation to the size of the cache.
This is poetic, my eye is good but I can only hope to half your rhetoric.