skysight-inc/HackerNews huggingface dataset:
It's very important at an early age to have good mentors around you professionally and being exposed to various parts of the business.

Stay VERY hungry, curious and be careful with the Dunning–Kruger effect. Just remember, when older people give you advice, keep in mind two things.

1) They were once younger and had people give them advice as well.
2) They're only giving you advice because they see potential in you; otherwise, they wouldn't say shit :)

Thanks for providing your perspective!
Rapidfuzz:  Experimentation around rapidcheck by combining it with libFuzzer
Just wanted to take a moment and thank the developer for their hard work. It Really started a movement and is now standard on pretty much every OS now.
Yes of course.

Thank you for the help.
Sure, I'm not contending that the information is exposed in the blockchain, I'm saying that third parties that keep logs of their sends can collude at a later time to produce a more complete picture of the transactions sent to an individual.

Right now avoiding that in monero is difficult. Subaddresses (as linked above) solve some of that, but as there is still a linear time scan increase, I wonder how prevalent their use will be. Will people create a new address for each receive they do? Maybe, maybe not.
You don't know anything about me still you set off to give advices. That's not very wise TBH.

But if you want to be philosophical, then I will be psychological with you in exchange. I think that the fact that you write a 3 paragraph long reply to a guy who just simply describes everyday development practices which is common around the world tells a lot about you. Namely that you don't take very well when people don't agree with you. Most people who are like this just want to render themselves superior which shows their inferiority complex.

I pointed out and gave very specific examples why your ideas don't hold any water and how unrealistic are, and then you come back and tell me even more unrealistic things.

Also I watched all Uncle Bob's videos, I bought the Clean Coder series and I follow TDD. Which again proves that you don't know anything about me. And no. It's not clearer. And for the life of me can't understand why are you doing this (but I don't even care to be very honest).
I grew up in Bear Creek (and went to school at Mayde Creek) and didn't know either.
6 Easy Ways to Make Yourself More Intelligent
I don't have any particular feelings toward one or the other (it is a convention, get over it), but I think that zero-based indexing is just an artifact of C that stuck around.

In C, the array syntax is "mostly" just syntactic sugar for pointer arithmetic.

When you do "a[n]=value;" this is equivalent to "*(a+n) = value;". To get the nth cell of an array, you just add "n" to your base pointer "a".

Array indexing, therefore, is consistent with the pointer arithmetic.

That said, and funnily enough, Fortran, which is much older than C, has 1-based indexing (by default, but you can configure 0 based indexing, if I remember correctly).
From Wikipedia, he was the CEO after the merger who decided to shut down online banking and focus solely on PayPal. It sounds like he had a lot to do with it.
Even if the map was realistic, the 100-year boundary is not the level beyond which the flood risk is too rare to care about. At that level, the expectation is that the house will be flooded at some point.
I'm a movie industry veteran. You're struggling to get that first job. You have no savings, and lots of student debt. I'm the gate-keeper to that first job. A single word from me, and you're in. A negative word from me, and you're out.

You're also really cute. Hmm. Let's see ... maybe I can help you if you help me ...

It's all about the power differential.
Making a signature of certain libraries?
In Ontario, you simply are not allowed to build in a flood plain. This is in response to Hurricane Hazel in the 1950s, who's floods killed people.

Even further, if your home is destroyed in a major flood, you aren't allowed to rebuild it- clearly, wherever you are it's not safe from flooding.

It's a very effective system. The only problems is has these days are A: people who fight it because they bought property they want to develop, but can't, and B: the fact that where flooding occurs is changing due to climate change and geology/geography changes in the last 50 years.

Texas may want to consider such a system.
htx here too..

But growing up in the area did either of you really think
that a flood was not possible?

floodplain or not, after seeing 1 rainstorm here it should be clear to anyone that flooding can happen if you're under the wrong cloud at the wrong time..
The entire green thread is paused at yield() and resumed when other [controlling] thread calls resume() on it. Event loop has to account which thread yielded on which event source and resume corresponding thread when event arrives. Program as a whole doesn’t stop, only sequential blocking paths are put on waiting list. If each incoming query starts a new thread, then all queries are run concurrently around event/io loop, implicitly switching on deep yield() that programmer never spells out loud. That’s how e.g. openresty (nginx+lua) handlers work.
I quite like async/await except that it's annoyingly easy to produce a deadlock, and given a snippet, it's not obvious that such a deadlock should occur.
I mean on the server-side. Right now the process between "I want thread 35va5k" and "I want to render this html" makes extremely inefficient use of both servers and network.
I've applied to about 500 jobs. I'm 46 & returning to coding after years of absence. I get better response rates outside of engineering (e.g., teaching, program management). This year, I won a teaching job and a technical writing job and was denied both due to ageism.
RCT 4 Mobile is nothing like the original games. It's simply one of your standard current-day mobile games with the Roller Coaster Tycoon label slapped on it. Go with Classic.
"is a good generic type-stable function for any number which has zero and + defined. That's quite unique: I can put floating point numbers in here, symbolic expressions from SymEngine.jl, ArbFloats from the user-defined ArbFloats.jl fast arbitrary precision library, etc."

Is it really unique? Isn't that just a Monoid (e.g. in Haskell, Scala, ...) or am I wrong?
It's not that dogs can "see past" the fact that humans aren't dogs. They can't tell that humans aren't dogs at all. In fact, if an animal is non-aggressive domesticated dogs are often just friendly with it.
if you've never been here during a rainstorm, this all sounds doable.

After you've seen a heavy one, you realise flooding is a fact of life..

really, what people should do is just start building houses on stilts like they do in coastal areas or similar, because sooner or later, it will flood here.
Show HN: Resistor Colour Code Challenge, a game to teach resistor colour codes
Sure, marriage and family
Conditional Associative Logic Memory
Some hard earned wisdom: Callbacks (whether asynchronous or not) have the advantage of being extremely modular. The callee can just do what needs to be done - since the contract is simply a call to a function with a very simple signature, this will hardly ever be a (dependency / maintenance) burden.

On the other hand,
https://twitter.com/sempf/status/917962985582231552

I suppose experienced developers do as little as possible in callbacks (basically store the event away and make a note that there was something, at a central place). Then try to do everything else in easy to understand main control flow, some time later.
That's a cool project.

For others to experiment with, there is also quiet-js that is similar: https://github.com/quiet/quiet-js
>now you have to select them at a higher bar.

I don't follow.

If you have an interview that reflects the daily work and challenges of your business, having a large pool of candidates able to do that work is a good thing. The only reason to peg your difficulty to some independent institution is to offload the trouble of making that technical interview. Your business isn't weird or failing if it doesn't have some percentage of candidates failing the interview.
If I remember correctly, the array methods `.includes`, `.every`, and `.some` were renamed because of collision with prototype.js's `.contains`, `.all`, and `.any` respectively.
C++/OpenGL basics
Is it really a better analogy?
The Manhattan Project had straightforward success criteria (either the chain reaction sustains or it doesn't), was undertaken at enormous speed not least because scientists working on the project were convinced that even with limited information already in the public domain there was an imminent threat of the Germans building one first, and especially in those circumstances was unlikely to produce plausible useful byproducts before the success criteria was met. More of the budget was spent obtaining the fissile material the theory required through industrial-scale application of experimentally-known techniques than trying to figure out just what it was that made things go boom. The bomb test worked first time.

By contrast, AGI has been desired and actively and openly worked towards for decades and we haven't even decided what it is yet. And it's hard to imagine the intermediate non-threatening intelligences and their byproducts wouldn't be so impressive an advance that those working on them wouldn't be willing to share them. Without wishing to trivialise the immense amount of intellectual effort and industrial production that went into the Manhattan Project, sentience is a more complex goal than a chemical reaction. Or indeed an iPhone.
Ask HN: How do you conduct coding interviews?
Recently, I've seen a massive increase in interview questions that seem to mirror leetcode.com and similar websites.

A lot of my colleagues, mostly senior, feel these types of interview questions are wasteful because anyone who spends a week reading over leetcode.com can memorize most of the questions/answers.

What's your perspective? Are you a big DSA (Data Structures and Algorithms) Interviewer or are you more of "Ask various questions to see how naturally intelligent are they?"
I wasn't a home buyer and am pretty sure I would have done this research if I had been. But, the point is that people that grew up here didn't have this as common knowledge; in hindsight, yes, but it's almost beyond the pale that the city would knowingly allow homes to be built in a known flood zone.
Don't Send Your Kid to the Ivy League
> Unfortunately, we tend to teach mathematics by rote

This is one of the reasons I never felt it valuable to memorise times-tables (literally chanting them in classes). IMO, it's much more useful, and generalises better, to be comfortable taking, say, 9x8 and saying "OK, it's 10x8 - 8 = 72" (instead of just memorising 9x8=72).

It may be a fraction faster, but being comfortable in those manipulations still helps when tackling something more complex (e.g. 99x89) whereas mere memorisation doesn't.
Creating a Serverless API Using AWS API Gateway and DynamoDB
Why would they have to be psychopaths to justify such behaviour? A belief that the project > people suffices. Can you not think of any project that is more important than the individual workers making it happen?

Also, I suspect they would react differently if e.g. the mass-laid-off committed mass suicide, whereas I doubt a psychopath would.
And corruption by foreign agents is one of the most efficient ways to prevent rival countries growth.
LOL no wonder things are so fucked up around there. In rest of the civilized world unions and contracts keep work force safe. Here it is literally illegal to do what happened for the OP's friend (unless he had been employed for less than 12 months).
1) No, they are just different dispatches to getindex.
2) No, iteration is through indices(A) or eachindex(A), etc., which are the preferred way of iterating anyways. You shouldn't do 1:length(A) which is a MATLABism that works but I would say isn't good Julia.
3) Defining new dispatches for length and size is a pretty standard use of the language?

"Non-standard" arrays with non-standard indexing already work in lots of packages. It could be better (that's one of the things that I am advocating for), but it's not a language tooling issue whenever it's a problem, it was the developer going `::Array` and thus requiring a contiguous 1-base index array where other AbstractArrays would actually work.
I think that unique is an overstatement there, but in the context it's a comparison to other numerical computing systems, where this kind of support for generic code is less common.
I have zero understanding about this rant? 0 based is due to programming iteration. I don't use pandas because it is 0 based and it was a mistake.

Domain Specific Languages for Statistics and "Math" have traditionally been 1 based. R is one based and S before that. The fact that Pandas went with 0 based was a huge disappointment for many. I use R.
Fun project. But what about an ethernet cable, bluetooth, NFC, wifi,...
It's incredible that the city, or for that matter the Army Corps of Engineers, allowed anyone to build homes there. "Totally irresponsible and reckless" would be my most favorable assessment.
I think it would be a bit more "correct" to say that each spec is outdated as soon as it is cut :) At least no one in the committee considers the last released spec "current" -- they prefer everyone point to the github repo.
It floods here. period.

If you live near these reservoirs, you drive by them daily or at least weekly, and see them turn into giant lakes after a mild storm (which for us can mean dropping several cm/in in the course of an hour or even minutes), and are also aware that we get big storms from time to time.

Thinking you are not at risk of flooding anywhere in the area, or near these reservoirs especially, is basically living in denial.
I guess it's possible the parent poster took a poll before leaving the elevator, but I have to say I find it unlikely.
I don't understand the Gawker effect here. Gawker published parts of a sex tape between consenting adults, then ignored a judge's order to take it down. That doesn't seem anything like a real reporter writing a real story about sexual harassment.

If I were a news outlet, I'd publish a vetted credible story if it has real news value, defend it with a minimum of legal power, and if a judge ordered me to take it down, I would. This way, the story goes out and we avoid the legal death blow Gawker begged for.
Thanks for the tip ! I have reached out to Ally to see if they provide RO creds.
> Night Shift requires macOS Sierra 10.12.4 [...]

Not everybody is on Sierra yet. My work laptop still runs El Capitan.
That is pretty common, dare I say almost a human right. It is suddenly becoming clear to me why people in America hate capitalism. I just thought it was bunch of lazy fucks who didn't want to work, but if you are regularly allowing employers to get away with shit like this, then it's no wonder.
Julia supports indexing with arbitrary bases, and it generally works ecosystem-wide.
I'm not bragging about anything really. What got you so upset?
I don't think all judgements about the decisions of others are equivalent. Do you?
Usually we say "something will only change after a tragedy."

If this hurricane wasn't enough, then perhaps nothing is.
Not tearing down; I am legitimately curious about the VC perspective and no one else had mentioned it so far. (Not even in the article!)
As others mentioned, you can get a flood plain map from several sources. However, some of them can be wrong.

The federal map for our home is wrong and puts us in a flood plain. But that map was from before our development was built, which slightly relocated a creek. For whatever reason, our county refuses to submit their updated map. But the previous homeowner got a special note at the federal level saying it isn't in a flood plain.
I'm a monthly bundle subscriber since inception. I don't check the monthly bundles regularly (more like two-three-four times a year), but always find games that I enjoy and wouldn't have discovered otherwise. For $150/year, that's a pretty good value for a very casual gamer like me, i.e. someone who doesn't follow the gaming industry and just spontaneously decides to play something from time to time.

Best of luck to them.
I can't speak for the Windows implementation, but this is far from true on the Mac OS 'Nightshift' implementation. Nightshift won't get nearly as warm as I prefer it, misses the Hue integration, misses having multiple levels for particular times of the day, general quick disable, disable by application, disable when in full-screen application... The list goes on. There are plenty of reasons to still be using Flux on Mac.
Really nice tutorial, thanks !

Aladdin source code article[0] was really nice, I wonder if we have anyone here who was involved in game development for gameboy at its time, who can share a similar article.

[0] - https://news.ycombinator.com/item?id=15458200
* My entire codebase

Julia has great interoperability between Python (checkout PyCall.jl) and many other languages. You don't need to abandon your old codebase.

With regards to your other points, a lot of that is subjective and hard to argue about, but for me Julia has drastically changed the way I approach writing scientific code and is not just an incremental improvement upon the status quo.
Not for all models though. My 2010 MBP can't use Night Shift, for example.
I was going to add that Python has been "getting there" since 1995, but I see you have already edited you comment :-)
Unfortunately nothing jaw-dropping to this story.

Many women in any industry from movie production companies to simple restaurants, are being sexually abused every day. You could call it the industry standard, a perk coming with being at the top of any hierarchy where one has power over the other.

You'll need to eliminate hierarchy, money and power if you want to end this. And that is nearly impossible.
Culling the bottom 10%, every year, is a big step beyond this.

This one seems off, especially noting that some of the fired say they never received a bad review. But it's not yet in that league.
What makes you say it lacks critical mass? I don't think that's accurate, but of course it takes time. Implementation time is important, yes - but julia is not just a fast-to-run-language, which is essentially the point - it is a fast-to-implement language.
It seems more likely to me that this has a human psychological cause, not a genetic cause.

I suggest that - if humans associate e.g. droopy ears with being more friendly, this creates a positive feedback loop whereby those animals with droopy ears receive more positive interactions, show less fear and are modestly more likely to be selected by Belyaev's research for breeding, all other things being equal. Human bias has become a "selection pressure".

This has no implication within genetics, neither genetics of the foxes nor genetics of the humans: it could simply be (increasingly) customary in society including Belyaev's. So, I strongly doubt any genetic cause.
Hello HN, I find it easier to learn through practice and repetition so I made this little game to help me with resistor colour codes.

At the moment it picks a random E12 resistor value, but at some stage I'm hoping to have time to update it so that you can pick different series, tolerances, and number of bands.

Someone on reddit asked why it doesn't just get the player to type in the value of the resistor into a text box (like 1M, or 6.8k or 150R or whatever), and the reason is that I think it's much more useful to learn the colour translations directly since converting the numbers to a resistance value is trivial. Getting the numbers right first is more important.

The source is on Github, but since it's an entirely self-contained HTML file there's nothing much to see.

I've only tested this on the latest Chrome on macOS so YMMV with different browsers and platforms. If you have any issues you'd like to report please add them to the Github tracker or reply to this comment. Cheers :)

https://github.com/sdmtr/Resistor-Colour-Code-Challenge
FWIW this phenomenon has been happening since before the dawn of industrialization. If anything it's probably less of a problem in 2017 than it's ever been.

That doesn't mean we should stop treating it like a problem. It just means we should look back on our sordid history as a species and take that as encouragement that we can keep improving.

And it starts with awareness. Who today talks about the BP oil and Exxon Valdez oil spills, or Love Canal, or Enron†?

†Execs only got prosecuted and convicted here because more powerful people lost money because of them.
I think this comment is the 'RTFM' of employee-employer relations.

Very few things in this world are actually simple enough that this kind of dismissive attitude works. I've seen people who didn't care about giving helpful feedback and second chances, but I've also seen people who agree in spirit, but don't know how to do it well.
The improvements are not minor they are massive. Citing rust shows that the advantage of Julia has not been explained well enough. Julia allows you to write as performant code as Rust with a much smaller investment in learning. You cite your concern for spending time learning something new. That makes no sense considering the high learning curve and complexity of Rust compared to Julia. Julia is quite fast to learn and has far more overlap with Python than Rust to make the transition easy. You can call python code from Julia and ise many of the same tools like the notebook.
I am not sure what you want to say.

This post is about Xi, which took office in 2012. And the aspects initiates my post is about China's recent movement to more openly show off its power.

What's the point of "when they were not doing very well" in this context?

> we're engaged in non peaceful activities

What does this refer to?
I don't "think" it's the buyer's responsibility. It literally is their responsibility (excluding special circumstances). The large majority of contracts are written with the assumption that the buyer performs due diligence during a specific period. Once that period is up, there are penalties for backing out. The buyer is in violation of the contract if they back out of the offer. Rights have little to do with contract law in this case by the way.

Note we're talking about public records such as flood plains here, not the seller lying on a disclosure form or some other form of fraud.
`.includes()` is used in lodash so lots of JavaScript developers are already used to that anyway.
Now if only they'd stop selling Kindles with awful pure white backlights. You only need it when it's dark, and when it's dark your light should be yellow/orange!

I gotta get me those goggles...
I highly recommend remapping 'jk' to escape, it's great cause if you are already escaped thus in Normal mode, jk just goes down and up a line. "jj" is also one I see that gets used a lot.

Edit:

`inoremap jk <esc>`
Highways are paid for w/taxes. Rail gets no subsidy. Sad really.
The Persistence of Progressive Rock
>"Of course they didn't invent it, but they've perverted it entirely."

How have they perverted the idea exactly?
There are two solutions here. Either "let the market decide" or "regulate".
Valve get nothing when you purchase a steam key from another sales platform. They allow the free use of their drm and content delivery platform to acquire new customers, and keep existing customers locked in.
So long as the federal government is effectively underwriting a chunk of the risk, the situation is likely to continue.