skysight-inc/HackerNews huggingface dataset:
Asking someone with your amount of experience a coding exercise is silly. You wouldn't have lasted 15+ years if you didn't know how to code. Spend more time evaluating the "softer skills," since more experienced engineers have a bigger impact on culture and process.
I guess most of tech articles in general often pay more attention to technology details than to its cost-effectiveness (or even TCO) for certain classes of workloads.

If your workload is a 'traditional' web application, saturating a full VM and not too bursty - don't run it on Lambda.

Regarding vendor lock-in, I don't think Lambda is important for the vendor lock-in question. If you just need 'compute' capacity, it would be easy to move from Lambda to anything else. But if you also use bunch of other AWS services - then moving the Lambda functions is likely to be your least concern, frankly. On the other hand, if you do leverage various AWS services (other than just IaaS) - switching to Lambda (or other managed platform) could be useful to make your entire architecture (more) serverless.
Basically yes - then again what I'd like to see (and which I do see somewhat on Voat) is that you have fringe people on all sides - and yes, I mean all, not "both" - there's more than two sides to most human issues.
I believe the ADL (Jewish civil rights organization) is most active here. This is the reason these anti-semitic posts were to be taken down rather than other equally vicious hate speech against other minorities. Tragically this plays right into the Nazi's hands because they can put forth the narrative that Jews control the world because, as a relatively tiny minority, hate speech against them is most actively countered.
That's because most of us recognize that 20 seconds with angle grinder will make that $1,000 bicycle disappear. 20 minutes at a stolen bike dealer - which are everywhere - will turn it into $50.

20 seconds with an angle grinder will not make a $30,000 car disappear. Selling it on the black market is also a much bigger pain in the ass, then selling a stolen bicycle.

People leave $300,000 dollar homes unattended all the time - protected by nothing more then a flimsy lock, and a few panes of glass. Yet, most of the time, people don't worry about someone stealing their house.
who's debating that?
0-based indexing has the advantage of easily mapping to memory addresses since the index is an offset from a base address (perhaps multiplied by a unitary per-item length). I personally prefer this since I tend to think about and work with data as an offset from a starting point.

1-based indexing has the advantage of always knowing the length of the array since the index of the last element is this value. You also get "proper" counting numbers as you iterate.

I've used both in various languages. Perl lets you define the array index start to be whatever number you wish.
> The sooner we get rid of the emotion, the better, probably.

Let's look at how this plays out in the real world. Someone gets dumped because they were a terrible partner. We hope that the pain of loss motivates them to do better in their next relationship. They briefly feel bad, but start using the technique of "negative reappraisal" (the more common term is "blaming the other person"). This rapidly decreases their distress in the short term, but it also makes them avoid looking at their behavior and making changes, so they make the same mistakes in their next relationship, and the cycle repeats.
I've packed it inside empty capsules before to make it more palatable.
Maybe the state should provide hosting services so that the public can express itself freely without fear of being excluded.
I'll (cautiously) take your word that this works transparently when I supply arrays as arguments to a library function. However, what does the library function return to me as arrays it allocates? What if I do an outer product of two arrays with different base indices?

Whatever your answer, I suspect it is more cognitive overhead to remember than "always 1 based" or "always 0 based".
If you haven't yet, you should check out a build of 1.0. The start-up time is _greatly_ improved. Basic startup time is twice as fast as ipython for me now:

$ time ipython -c '1+1'
Out[1]: 2

real 0m0.493s
user 0m0.401s
sys 0m0.063s

$ time julia -e '1+1'

real 0m0.222s
user 0m0.115s
sys 0m0.101s

Yes, python itself is still much faster. I compare against ipython just because that used to be my go-to interactive shell for technical computing.
I know you're sincere, but do you see the danger in what you just said? Restricting ideas your mother can hear, based on your assessment of her competency to understand them "properly"?

That's a very dark path that does not lead to utopia.
It's a race to see whether it's cheaper to buy more batteries or build extra solar panels to cover the afternoon gap.
Your point about trends in healthier eating is a great one and something we're cognizant of. We're partnering with some awesome vegan food vendors in the next weeks to come, and we've had talks about other menu items that are complementary to Mac n Cheese, as well as having smaller portions.

Like most restaurants with new concepts, we need to draw a line between catering to everyone and sticking to our brand. Out of the above ideas, we'd want to experiment with smaller portions. But we'd like to continue getting feedback on our current concept before making these changes.
I guess some people called it 'platform as a service', few years back :-)
I would argue that it is only because of f.lux(and it popularizing the blue=bad idea) that MS/Apple/Google put this ability in their products. The technical ability to do such a thing has existed for ...decades, but no one ever did it until after f.lux came out.
How is Germany more free and Democratic? Aren't they purposefully less free because of anti-Nazi laws?
We would love to have more professional programmers contribute: unfortunately those 1-based indices put them off.

More seriously: part of the problem does seem to be that Julia does have some significant differences from "traditional" languages (e.g. the concept of a "virtual method" is a bit fuzzy in Julia, what we call a JIT is probably better described as a JAOT, whether it has a "type system", homoiconicity, etc.).

That said, this JuliaCon I have met a lot more people from and classical "programmer" backgrounds. So hopefully that is changing.
Great work. One of the very few "Show HNs" I'm impressed by at first glance. My team's internal tools are all CLI-based, but if I had to support users who preferred GUIs I'd definitely give this a try.
Promoting those things back than had significant opportunity costs for getting things published and reaching an audience. And bad actors even got denied free or even paid communication channels after a number of bad faith offenses, so gatekeepers to mass communication were a good thing in that respect. Of course they also work the other way around, if a bad idea manages to creep in, but it took a significant amount of coordinated resources in analog times.

I think it's no accident, that the rise of fascism and totalitarian Stalinism is coincident with the rise of radio and the maturing fields of advertising and mass psychology. This is the first wave it got a magnitude cheaper, to reach big audiences. We're witnessing the second one. (Third one if you count the printing press, but the adoption happened over generations, so societies had time to adopt)

Nowadays intentionally bad ideas work like spam, they have only an very small individual chance to get hold of a person, but with an near infinite number of permutations for free, it's way more likely to hit each individuals psychological weak spot eventually.

So it was never easier to spread ideas for individuals, but so it for all sorts of corporate and even nation actors posing as individuals.
I'm not an expert by any means but two things that come to mind are:

1. Run your users code outside of your secured network. If you have a network with a VPC, make sure you're not running users code within your VPC.

2. Restrict network access. If the code doesn't need to talk with the outside world, don't allow egress traffic.
> Why invest in your company if you don't have the conviction that it will be worth more 3-6 months from now.

On the contrary, investing in a newly listed company that still involves a lot of employees locked up in the company's stock is a scary proposition. Who knows how many will sell immediately when they're permitted to, and the share price will likely be discounted by investors accordingly.
Google is supposedly a "common carrier". Though I'm not sure how they're hanging onto that legal title.
This would be a good method if your goal is to hire a carbon copy of yourself.

First, your definition of "interesting problem" probably includes a lot of personal biases. What you find interesting probably touches stuff you've had experience with, but just because you've done work on say, customized implementations of binary search, doesn't mean it's a good baseline for all developers everywhere. Maybe they've worked on different domains or solved different problems and can't relate to questions you personally find "interesting".

It'd be much fairer to select a boring question that involves standard stuff that everyone has to face at some point in their careers, like string manipulation. And even then, it just involve normal transformations ('look for and remove special characters') and not wacky, HackerRank-style rules ('no two bs after cs but before as').
You realize that your argument is an argument against democracy, right?

If mere exposure to bad ideas is this dangerous then mass scale democracy is not viable. The viability of democracy beyond very small groups is dependent on the idea that human beings are capable of independent rational thought and of discussing and evaluating ideas on merit. If that's not the case then the neo-reactionaries are right and democracy is doomed to failure or worse.

What I see here is a major freakout over Trump. IMHO feeling alarmed about Trump is justified, but throwing basic freedoms and the idea of the open flow of information out the window is not the right response. The right response is to ask how and why Trump won and address the problems, ideas, and arguments that led to it rationally. The solution is also to learn how to use this new medium better. If Jones' BS is more "viral," then more rational thinkers need to learn how to play the viral game. You must learn to communicate effectively using the media of the time. If you use social media you must learn to be viral just like previous generations had to study the art of the persuasive essay or how to do makeup properly so you don't look like a sweaty pig on a TV interview (see Nixon vs. Kennedy TV debates).

If it really is true that bad ideas are inherently more viral than good ones and that cannot be combatted, I do not see how democracy can survive at all in the Information Age.
Seems you haven't put international agreement such TPP and international arbitration into account.

Yes, local goverment still have power and no, the state goverment don't have absolute power when the contract has been deal.
Looks really interesting. I'm getting a 503 on the Google auth though :(
A 1-character infix operator is much cleaner to read than a 3-character name of a 2-parameter function.

But admittedly when you use 1-indexed arrays, any kind of modulo operator becomes pretty inconvenient a lot of the time (lots of futzing to avoid off-by-1 or boundary errors). So maybe it doesn’t matter in the Julia context.
The only "trivia" questions I like are ones that don't necessarily have a single "correct" answer (i.e. not "guess what I'm thinking") and can actually lead to further discussion.

For example, one I like to ask (in person, with no computer access), ostensibly to gauge familiarity/intimacy with the Unix CLI, is:

"For each letter of the alphabet, see if you can name a Unix command (anything one can type at a shell prompt that won't return a "command not found error") that starts with that letter."

I preface the question with something suggesting that it's supposed to be fun, and I encourage skipping letters and coming back to them to avoid pressure (nor do I write down the answers). Most people are surprised at how many they remember without much thought.

Although not particularly deep, further discussions can arise from differences between shells with respect to built-in commands, as well as differences between OS flavors. Also, I've discussed how a somewhat new language like Java has made one of the otherwise difficult letters much easier.

Regardless of the trivial nature of the question/exercise, it provides a spectrum of jumping-off points for deeper knowledge discussions, all of which are signaled/chosen by the candidate.
And you can 100% guarantee that all of your infrastructure dependencies won’t be obsolete in 5 years or any company or open source project won’t be abandoned and that every vendor you depend on will always be acceptable and that you can switch with low friction and no downtime?

Does your company have the luxury of building everything in house?
The financial mistakes behind why a startup laid off 400 employees overnight
Using the IterableTables interface, the DifferentialEquations.jl solutions are presented as tables and directly convert to dataframes:

http://docs.juliadiffeq.org/latest/features/io.html#Tabular-...

f_2dlinear = (du,u,p,t) -> du.=1.01u

prob = ODEProblem(f_2dlinear,rand(2,2),(0.0,1.0))

sol1 =solve(prob,Euler();dt=1//2^(4))

using DataFrames

df = DataFrame(sol1)

# Result
17×5 DataFrames.DataFrame
│ Row │ timestamp │ value 1 │ value 2 │ value 3 │ value 4 │
├─────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 1 │ 0.0 │ 0.110435 │ 0.569561 │ 0.918336 │ 0.508044 │
│ 2 │ 0.0625 │ 0.117406 │ 0.605515 │ 0.976306 │ 0.540114 │
...
I communicate my ideas using a whiteboard too. But I never produce those ideas using a whiteboard in front of my coworkers under pressure of being fired.
Exactly! The black pepper has a bioavaibility enhancer called piperine which ensure that you absorb more of the curcumin as well. https://www.ncbi.nlm.nih.gov/pubmed/9619120
OT: "The release of atomic power has changed everything except our way of thinking.... If only I had known, I should have become a watchmaker."
I can promise you their laptops are not snake oil -- love mine.
> It's not normal, it's just a problem in Amsterdam.

Right, the two times we needed police in Limburg (Echt and Maastricht, few years apart) it didn't happen either. It had to be life-threatening and the people didn't literally shout "we'll kill you" so the police wasn't gonna bother.

Meanwhile on TV they're cycling through parks to fine people some 99 euros for not having a well-behaved dog on a leash (could have used discretion there), or fining some poor dude 370 euros for standing literally 2 minutes on a disabled spot to pick someone up.
Show HN: An 80s retro-futuristic way to explore the Internet
I got an impression that just specifying the input data took almost 1.5 hours, because of C++ and a decision to have it as a graph, not as a matrix. If an interview is in Python, one would write something like ``grid = [[1,0,0], [1,2,0], [0,2,2]]``, and be done with that part.

Probably you got exhausted after doing all these preparations and debugging issues not related directly to the algorithm. I'm not sure the final solution is correct, it is not tested on a graph with multiple connected segments of the same color. It looks more like a convoluted way to count colors globally, discarding standalone colors, if I understood your solution properly.
See blog post on golang playground:

https://blog.golang.org/playground

NodeJS also includes a sandbox in its standard lib. And there are more advanced versions out there:

https://github.com/patriksimek/vm2

Good luck and be careful ;)
Miners flocking
The example of "yelling FIRE in a crowded theater" is maybe not as good as you think:

https://www.theatlantic.com/national/archive/2012/11/its-tim...
Hm, I tried Discord in January, and it was a long way in echo cancellation to where Skype is now.
It is more realistic, but you can't really expect someone to be novel, and if they're not being novel, you should expect someone else to solve the problem. So this method has problems, and it kind of demands payment for results.
Well, their privacy policy allows them to sell all of those messages. Encrypting them in a non-reversible fashion (or at least non-reversible to Discord themselves) would impact this or any kind of research they want to do on the years of gamers' conversations.

I like Discord a lot, and to be fair, their people have publicly claimed here and elsewhere that they have no intention to sell the information. Unfortunately, those statements have no teeth.

While they state the same in their privacy policy (in non-binding form about intent), the same privacy policy goes on to specifically allow sale and transfer of user data.

See "OUR DISCLOSURE OF YOUR INFORMATION" here:
https://discordapp.com/privacy

The difference is that the privacy policy is a legal acknowledgement end users must accept before they use the software. The forum/blog statements and non-binding language we read everywhere else are just 'feel good' things for users to hear and for their employees to tell themselves.

If they just wanted protection against an accidental slippage of data then that privacy page could be changed substantially. Instead, they pave the road for the explicit sale of data at a later time.

Ideally they would deny it in current policy if they have no intent of selling the information. They could leave the option open to change in the future with a "this privacy policy is subject to change" clause, but clauses like this only have teeth if there is also a clause that ensures future policy changes won't apply retroactively to historically collected data without opt-in after the policy change.

But this weakens their position in an eventual acquisition by some company who finds monetary value in that data.

As it stands right now, in an eventual acquisition or even just some internal shifts of philosophy in the organization, all historical data is up for grabs for any potential use.
If I had to guess people needing that much sleep are likely to have an underlying/undiagnosed sleep disorder like sleep apnea, which wreaks havoc on cardiovascular health.
>I can't imagine there are many specialists out there who know how to support lotus notes

There are dozens of us. DOZENS!

Seriously though, it's Domino support ultimately and there are plenty of Domino/Notes specialists working in the enterprise support market today. You don't see them if you're a software house any more than you would expect to see SAP consultants. But there's heaps.

Plus, Domino was from the ground up a multi-master DB replication system which merely happened to have a flagship capability for email - Baltimore PD are probably using Domino/Notes exactly how it's intended to be used rather than being a poorly-thought-out cobbling together of technologies. It's a bit like supporting Access DBs - There's a limited scope to how 'deep' a specialization you need to support it effectively, once it's up and running.
Just tested with my power supply, and the minimum V_on seems to be about 2.7V. So if I want to drive all 10 in series, I'll need 30V+. If I had three banks in a 4,3,3 configuration, I could get away with a 12V power supply as well, which would be nice since I already have a bunch of 12V 5A wall warts.

I already got the board you linked, supposedly configured for 700 mA. Haven't tested yet. The datasheet for the part says it can go up to 2A[0], so I could potentially modify the feedback circuit for 1A, which would reach the full 3W rating of the LEDs.

One issue with that driver chip is that the PWM/enable is active low, so I think I may just stick an inverter on the output of the Mesh Bee. The SDK for the NXP part has changed since the ZLL repo was updated, and I haven't had much luck getting it to compile myself.

[0]: http://www.xlsemi.com/datasheet/XL4001%20datasheet.pdf
All nations do that. A definition of "nationalist" that includes every nation isn't particularly useful for distinguishing the policies of nations.
Hatred simply feels good. Unless you are saying that is something defensible or praiseworthy, then I am not sure where you are going with this thread of thought.
Log sampling with Papertrail
Actually it looks like what may have happened is Microsoft is using React Native in their Office apps (to some extent) and with this project are trying to open source it.
> program new keys

Yeah. We bought an old Elantra which only came with a single key and no FOB. I bought a cheap gizmo on Amazon that you plug to the OBD port and allows you to program other FOBs.

Modern-ish cars are computers. Once you have physical access, all bets are off.
Oh, yeah! Totally forgot about those from high school chemistry class. :)

I'm sure there'll be _some_ blue light. I don't know if a prism would be high resolution enough to tell if it's a dangerous level.
Where Are Transportation and Housing Politics Going?
Not to mention that results can also vary depending on, you guessed it, culture.
60 percent of tech workers say they can’t afford a home in the Bay Area
Actually I responded to that, and you never got back to me.

See here: https://news.ycombinator.com/item?id=17671916

Feel free to ban me though, this site is the worst echo chamber I've ever seen, hiding behind selectively enforced rules.
Your resume, Github account, demonstration of previous projects, ability to discuss problems you've solved, references from previous coworkers & instructors...

The whiteboard is not providing "high signal". Everything else is. The whiteboard is providing low signal, and taking quite a bit longer to do it.
If you buy the Tomus from CrowdSupply (https://www.crowdsupply.com/sutajio-kosagi/tomu) it comes injection molded case designed by Sean 'xobs' Cross (who actually ran the campaign).

Doing plastics is well outside my skill set, so it was awesome to see him do that! xobs posted about the case here -> https://www.crowdsupply.com/sutajio-kosagi/tomu/updates/fina...
> The idea that statistical data, however large, is insufficient for determining what is “sensible,” and that it must be supplemented with extra-statistical knowledge to make sense was considered heresy in the 1950s

Notable point.
Some cities are richer than New York. China is more like the Americas: Massive differences in wealth from one place to the next.
Interesting, you see I see calls of violence on Twitter all the time but their hosting company isn't threatening to ban them. And if you mean "me" by "his": I don't call for violence.
Yes. And we can if we want to, yes. We’ve taken over open source projects we rely on, but most anyone can do that. We’ve built open source versions of seven figure commercial software just to ensure we have the skills in house to do it.

You don’t need to have thousands of employees or billions of dollars in revenue to accomplish 60-80% of what I’m describing. I’m simply arguing to take measured steps at critical junctions in your software’s lifecycle.
>The four most common words in Go programs are literally: "if", "err", "return", "nil". If that doesn't tell you the designers missed the boat on something, I don't know what does.

Are you trying to make a case for exceptions? If so, this isn't it. The "boat" the designers missed are Result types, or more generally "generics". I'm willing to bet most go function signatures are of f(...) (T, error). The if a,err := g(); err != nil boilerplate could be solved with Rust's `?` operator. For example:

var exp int
if a, err := compute(); err == nil {
exp = a
} else {
return nil, err
}

could be rewritten as

exp := compute()?

Rust has `Result<T,E>` which makes this "simple". A `?` style operator in go would probably drastically reduce the mount of `err != nil` code in the wild.

At the same time, the code is still being shoved up the stack.