skysight-inc/HackerNews huggingface dataset:
"It’s a good thing that Go is such a good language, because getting started with it is downright PAINFUL compared to Ruby or Python."

I'm not sure that's particularly true. Getting started is easy: 1. Install go. 2. mkdir -p ~/go/src/yourproject 3. Start writing Go in yourproject. go build will build your code. go install will put your executable in ~/go/bin. When you need some code from github, run "go get" and don't worry about where it goes. You're just starting out.

Compare getting started with Python: 1. Install python. 2. Create your project directory anywhere you like. 3. Start writing python. Python will run your code. pip will install libraries if you ask for them. Don't worry about where they are going, you're just starting out.

Other than "choice of directory" that's not very different.

Industrial-strength dependency management is harder than that, but you can retrofit it on later quite easily in Go. Both dep and vgo (from personal experience, I assume others too) can examine a project that is a mess of hand-vendored directories and references to the general package space and extract out a manifest file for you, which is probably exactly what you want, since it will reflect the current project.

It may actually even be easier than Python here, since Go source can be examined and the exact packages you are using confidently and accurately plucked out; I don't recall if pip has a "just examine this directory and freeze its exact dependencies" command and blew out my "HN comment time budget" trying to google the answer. In Go, you can just cruise along for a long time, using dozens of packages, and drop dep or vgo in at the last minute and get functional dependency management on your existing project in one command. I've converted two projects that ended up using over 30 packages (at least a middlin' size in the Go world) each to dep in the ~5 minutes it took "dep init". (It checks things out fresh, so that's mostly source code retrieval.)
We're talking about Rust, not C/C++.
Real stories. A spirit went through my body. Spiritual awakening
I find a lot of interesting, neat articles on HN. Occasionally but rarely something worth talking to coworkers about.

Not once can I recall reading something on HN I had no experience with an being able to use that at work without doing a lot of additional research. In terms of time spent and career impact HN is on the same level as Reddit, which is a net negative.

Conferences aren't necessarily a net negative but who wants to spend 2-3 days going to talks and all the after party stuff (which is where real career progress is made) to get one or two solid technical bits? Especially when those will be available a week later in countless blog recaps?
"We won't see another operating environment for computers, because it's extremely hard to fund a professional sales force to educate users with an ASP of around $500"

It's amazing how well this insight/prediction holds after 26 years, the only other comparable OS/OE today is linux, which didn't rely on the funding. Makes me think if/how another leap in computing software will happen.
Well, Docker does have a scheduler, which you mentioned. Swarm is in the same binary as Docker. But I'm talking about the ability to _use_ a scheduler, something a fat binary doesn't give you.
Location: Berlin, Germany / United States

Remote: OK

Willing to relocate: yes

Technologies: Ruby on Rails, Rust, Go, JavaScript, Solidity, QA

Résumé/CV:

Hi!

Julia here – IT T girl and Crypto cutie of Russian origin with 7 years of vast expertise in Software engineering/QA/Project management.
Looking for a relevant or representative position in a cut-edge Blockchain opportunity, or Entertainment/Fashion/FinTech related company/start-up.
I am world traveller - you may want to take an advantage of my moves, though have a preference for official in-site position in the US or Europe (I have work permit).
Speak fluent English and have basic Japanese skills.
Have extraordinary communication skills, convincing and charming attitude.

Thanks,
Julia.

EMAIL: msjuliaofficial@gmail.com
I understand you are a student, and you really need a job, but working for an unethical company is not worth it, for your sanity and the world.

You didn't study for years just to end up making the world a worse place.
At least, remove the metadata if the originating carrier is not trustworthy.
Mounting a facial recognition face-tracking camera-gun combo is somehow going to be inaccurate? Walk the dog round the corner of a bank-heist hostage situation, have it stand on guard and shoot whenever it gets a human verified lock?

I know saying use 'technology' is like saying use 'magic', but all of this seems totally within the boundaries of what is available today or near-tomorrow at the very least.

As for cops being shot up by one of these, I am not sure many criminals would see the value of investing significant amount of money and know-how into one. Especially as it would easily be traced back to a purchaser.

SWAT teams with just the recon implementation is worrisome enough as that's clearly just a stone-throw to a weaponized version once they gain confidence in it.
How we build TiDB
> especially since the original code used highly-optimised assembly incantations from our resident cycle wizard.

He/she might be cool, but I think someone familiar with assembly optimisation would think to look at the generated assembly as well, after noticing the speedup is not what you expect. Don't go hand-writing assembly routines thinking your code is fast without actually checking whether your code is fast. :)
Alternately:

```
from flask import Flask
app=Flask()
@app.route(‘/‘)
def hi():
return "Hi!”
```

$ pip install zappa

$ zappa init

$ zappa deploy

$ zappa certify

IAM, SSL, API Gateway, Lambda, all taken care of. We did the work so you don't have to.
The logical response is that of course it _could_ be weaponized, but, there are a whole host of cheaper drones that are much better candidates than this for that purpose. I’d bet on inspection/rescue in mines, demolition sites, and anywhere indoors with stairs or rough surfaces where people should not go. Maybe you could use them for mine sweeping.

Real question is whether they’ll make a version that makes no sparks so it can work in flammable atmosphere environments.
Think organic food is better for you, animals, and the planet? Think again
There are some cases where math alone is not enough to reproduce the results though.

It's easy for a paper to say something like "pick the set of N points that minimizes `median(f(x))`" without saying how the points were chosen (gradient descent? simulated annealing? brute force? some analytical method?).

What happens if you pick one optimization method and your results are different than the ones in the paper? There's no way for you to know if the paper is wrong or if you just picked the wrong method.
You fight like a Dairy Farmer!
Student loan debt has reached $1.5 trillion
The notion of splitting California has been around for long time. Jerry Brown's father Pat Brown advocated it in a book written about fifty years ago. (Having been the governor, he lost to Ronald Reagan, then wrote the book.)
To the comments in this thread that are panicking about SpotMini: https://xkcd.com/1955/
I thought stairs were on of the hardest aspects for robots to master. I know the four leg bots are better but I still think having these heavy dense robots climbing 4+ stories of stairs would present more of a danger then it would help mitigate. Some kind of special built inspection system that runs along rails or something seems like a better use case.
> On a more serious note: "even though it was “understood that the custom of eating flesh corrupts the body.”

The source material [0] that the quote is taken from has a footnote that says "The Cistercians held that rich food increases sexual appetite"

It would seem that the "corruption" here is related to keeping ones libido in check.

[0] https://books.google.com/books?id=cBqgOXfMxAoC&pg=PA26&lpg=P...
For sure there are non-mil applications, no denying that. It doesn't negate the concern that the military must be craving something like this though.
>Not to mention the nature of insurance in general is adversarial against the customer- if you pay out on too many policies you're underwater.

Like any business, “dollars in” has to be greater than “dollars out” in the long term. This seems to be a controversial train of thought when it comes to insurance for some reason.
Amazon Could Devastate Walgreens and Rite Aid by Getting into Pharmacy Business
I've been playing with transfer learning lately. Originally I expect to have to label thousands of images manually to train object detection on new classes, but I found it easier to bootstrap with synthetic data (just drawing a small number of images from a very limited set), find the worst predictions and label them manually, repeat a few times, while retraining. I only had to complete this cycle on a few tens of images before I had an awesome object detector that generalized to a wide range of image conditions.
ASK HN: What are the most effective tips to deal with Twitter addiction?
They’ve got some infrastructure such as “Packrat” that helps a little. You can at least be sure you have the correct version of each dependency stored away with your sources.

You still need the right interpreter version. And of course if you have any exotic dependencies, you’d need to figure out what to do there.

I’d say the major difference is one of disposition. The R community seems more on board with the premise that this is a problem worthy of solving. I suspect that that may be a function of the R community having a longer / deeper academic history than the Python community.

EDIT: I should mention that the R community maintains some documentation about the issue as well. https://cran.r-project.org/web/views/ReproducibleResearch.ht...
Buffered Channels in Golang
I would think that knowing the libc limitation were a problem, running builds on a server with this older libc version would be a possibility.

I’ve done what you mention with Docker and alpine builds (for alpine Python wheels, for example) but honestly it’s a lot more painful to ssh into running containers when figuring out the build script than it is to just throw up a clean VM.
I'm curious if people who sunk large efforts into MATLAB or LabView packages have ever made demands that people stop migrating to Python so that people can keep using their stuff.

It's not exactly the same issue, but it feels similar to me - asking other people to hold back on what is presumably, for them, progress, so that they will remain able to use something he wrote without any special effort on his part.
There is no obvious solution right now. That's why we are building Zenaton (I'm cofounder). It's in closed beta by now, but you can have a look at the documentation (https://zenaton.com/documentation) and also read some use cases (https://medium.com/zenaton). Zenaton provides a very simple way (in your own programming language) to orchestrate background jobs
Would you pay for an ad-free internet?
I don't really see the threat considering how much cheaper and more effective it is to give that weapon to a young man rather than mounting it on that expensive robot.
Show HN: Crosswordmaker.io
Really cool, I’ve toyed with this idea before.

Unfortunately the challenge is interactive plugins. I’m skeptical of your solution to effectively build a white list of supported plugins. This will obviously be a dealbreaker for many sites.

Off the top of my head, here’s how I would solve it:

- The user hosts their “origin” WP site on a separate subdomain from the main site and leaves it running

- Your product scrapes from that subdomain. When it encounters any page with a form action, it rewrites the form action to point to the origin subdomain

- If it detects dynamic content on the page (not sure on best way to do this), or the request follows a form action, it registers a CACHE_MISS for the page and fetches it from the origin subdomain
I would say it is because it appeared that in the end he relied on renaming a filename in the zip to a script tag with contents.
>It's really hard to see how a wepaonised version could be of practical use in an active situation.

Dallas Police used a bomb defusing robot to blow a guy up... so it's not too hard to imagine.

https://www.theverge.com/2016/7/8/12128230/dallas-police-bom...
Its a lot easier to find robots willing to massacre innocent people.
Future of Work Report 2018
I always thought it looked very puppy like, not at all terrifying.

But that might be because i've seen videos of it like [0] where it likes to hop and bounce about (and it doesn't help that the yellow is a bit less "military robot sent to kill")

[0] https://www.youtube.com/watch?v=kgaO45SyaO4
Maybe you should stop being racist and do some background checks.
Supreme Court Allows Sports Betting Across the Country
Check out Luigi (Python -- https://github.com/spotify/luigi).

I've built (or worked on) a few bespoke systems myself, but Luigi covers better than 80% of what I typically need.
Announcing the Release of Hosted Mender: OTA Updates to IoT as a Service
Thanks for the comment! It's pretty incredible what you can do with raytracing nowadays, using only open source software.
Ugh, I feel like my nuanced point just got crushed by a steamroller piloted by a straw man. I'm not arguing a political agenda, if that's what your first line was getting at. Go back and read it again. Or don't. I guess I don't care anymore.
Top 7 Tips for Closing B2B Deals
Wrong, not a stretch.

It’s an interpretation, on what all but the extremes on either side can agree is a subjective inquiry in the first place. Also, a bit of a futile and misguided one if used to minimize other’s contributions in the field.

But for the same reason, it’s folly to discount Jobs as not a, if not the, closest thing to a creator. This is true despite engineers’ immutable/incorrect belief that actually creating product value + building working software = changing the world is inevitable, this video proves otherwise (back room computing vs actually empowering operations using computing) and reminds us that real artists ship.

Had Steve not, who knows what computing would look like 2008-2018, but it’s certainly not a stretch to posit that it’d look a whole lot different, which is what it seems gg99 was saying.
>True, but making the Federal Motor Vehicle Safety Standards requiring the $5 sensor in that $10 detector in every vehicle equipped with keyless start (or perhaps, every vehicle) would lead to nearly 100% deployment as the vehicle fleet is replaced.

It's a trade-off, like everything else.

That those $5/$10/$50/$100 components add 10x their cost to the vehicle in terms of R&D, testing, supply chain, warrenty claims, etc. All that gets passed down to consumers. Increasing cost increases replacement interval and increases the age of the average vehicle. The result is that incremental progress that improves safety takes longer to trickle down through the market.
Amazon Redshift Spectrum automated: 60 second setup and zero administration
Tesla has it exactly right. Put the car in park and take the key out to turn it off.

This extends easily to ICE cars, especially newer ones that can auto-restart from 0 RPM idle. When the car is in Park for more than a few seconds, turn off the engine. When the key goes away, turn the rest of the way off. And get rid of the on/off button: it’s unnecessary and annoying.
Are you sure those are missed optimization opportunities where llvm copied values to registers as temporary storage instead of a direct copy to the destination register? I saw use of the temporary registers below the lines in question. Perhaps it was just a cheap copy of the value to a register which will be used later because the original destination register was clobbered.

Also I would hazard a guess that pushing flag state into a register is a lot faster than the stack.

Finally, it'd be interesting to see the original hand-rolled inline assembly used with "r" instead of "m" to see how llvm stacks up against the intended version without the redundant memory load/stores.
I think both. Poor people died because of lack of nutrients and even calories, while the extremely rich died of gout and diabetes because of excess.

It seems the templar got all the nutrients they needed (feast on large amount of protein once a week, plant based diet the rest of the week) while using moderation most of the week and even a fast once a week.
> These things just look terrifying. The reversed knee joints, the square bodies, the vulture beak head, the color, all send a message of hostility. You want to put one of these things in my office or my home? Forget it.

I agree, although I don't know exactly why. Maybe it's our reptilian brain which sends a message of fear. All I want when I see this robot thing is to hit it with an axe until it does not move anymore...
For sharing large training data have a look at https://zenodo.org which is run by the CERN people. Up to 50GB is no problem and after that they say just talk to us :).
I dunno. I think the Cylons are clearly bad. Genocide, pursuit, enslavement. Sure they have a grievance. But the response was quite disproportionate.

If you restrict the scope to just human interaction on ships then you retrieve the good-bad spectrum. A caste system, a military dictatorship, black markets, etc.
>the point isn't to save money or reduce crime, it's to punish the bad people

Actually, one of the reasons is to spend money on private prisons. Private prisons, bigpharma, lawyers make a lot of money on defending AND putting people to prison for stupid things, things that were delegalized by sponsored bills. We've known for years that alcohol and tobacco are more dangerous than marijuana, yet, there are lobbies that benefit a lot from jailing people for having 5g of weed.
Does Docker itself make defining service interfaces easier than configuration management? I'd imagine that, e.g. a well-written Ansible module for an application could do all the things you mention.
Oh yeah, just like leftpad was not a technical issue. But it's still a good analogy of a big problem the JS community has.
8 Keys to Successfully Bootstrapping Your New Venture
There are cases for keeping just the high bits.

For example, many language runtime libraries have pseudo random number generators (PRNGs) use a 32-bit linear congruential generator (LCG). Suppose you want to create a rand(n) function which returns an integer between 0 and n-1. One good way of doing this is multiplying the lcg_output (a 32-bit unsigned integer) by n, and returning the high 32 bits.

It's better to do this than a modulus operation because the low bits on LCG sequences are highly predictable.

(This is how the Delphi Random(n) function works.)
That's true as far as I know as well. I started removing permissions from the play service applications in Android. I've run into two issues afterwards: Some apps complain (but continue to work) and you can't install new apps from the play store (the store stops working without any warning or error). However I wonder how effective this is - does anybody have any insights to share?
> The easiest solution to this is to build on the oldest linux distro you plan to target

No way. Just package your libraries with your executable:

/my_path/ld-linux-x86-64.so.2 --library-path /my_path /my_path/my_binary
"A new car built by my company leaves somewhere traveling at 60 mph. The rear differential locks up. The car crashes and burns with everyone trapped inside. Now, should we initiate a recall? Take the number of vehicles in the field, A, multiply by the probable rate of failure, B, multiply by the average out-of-court settlement, C. A times B times C equals X. If X is less than the cost of a recall, we don't do one."

That's why.
Wouldn't an Aibo be more appropriate?
They're certainly familiar with assembly itself, but the `asm!` macro and the related constructs in Clang/GCC is its own beast and has a lot of footguns (like GCC allocating registers as overlapping by default). I don't begrudge them writing suboptimal assembly, since it already beat our Rust implementation by a significant margin.
Redirect medical equipment connections with EPVT
I think it is likely possible to do this in screenspace ultra fast on demand using a shadow map / SSAO technique.
> It does seem to me like dev ops is a dying art, for most companies at least.

It's funny. I work for a company who has a fully Dockerized pipeline, and a relatively small operations/devops team. We're looking to expand the devops team while staying rather steady for the product development team.

Why?

Maintaining services, even ones installed over the top of PaaS and IaaS requires manpower and time. And the larger we grow, the more apps we produce, the more external services we consume... the more expertise and time is needed in operations. What could at one time be handled by AWS and Google on our behalf doesn't scale as we grow.

Someone needs to understand the AWS API and all of its lovely discrepancies. Someone needs to own CloudFormation template standards and IAM roles and secrets management. Someone needs to set up and maintain security packages and vulnerabilities and prop up the pipelines. Someone needs to own monitoring and the logging pipeline and be on call 24x7 to respond to issues that aren't, can't be automated.

Certainly not what management expects or even wants (especially since it did, at one time, just work), but production is still not free, even in this day and age.

> 95% of the budgets of most software companies goes towards writing code, not dev ops.

As a company grows, expect this number to be slashed dramatically. Not because of operations, but for sales and marketing and administration and legal and HR and CS and infosec and...
You mean the military machine learning industry?
All very valid points
Needs a [2016] and perhaps a URL rewrite to the non-amp: https://www.telegraph.co.uk/news/2016/06/12/think-organic-fo...
> bank-heist hostage situation, have it stand on guard and shoot whenever it gets a human verified lock

It's about time someone disrupted the field of killing hostages.
The law you cited covers " title II entities (State and local governments) and title III entities (businesses and nonprofit organizations that serve the public)". I wonder what's the definition of a business that serves the public in this case.
Dont be silly. Companies and institutions can just pay or coerce the data operator for transmission, o do it when your on wifi.

In Sao Paulo Brazil, the mexican-based operator Claro offers free bandwidth for facebook and whatsapp access.

I imagine it would be possible to process media locally into actionable and highly compressed data. For instance use the google text-to-speech toolset on media while the phone is on sleep and even run it though a sentiment analyzer and wordlist. eye tracking and activity correlates are even more compressible.

Earlier in the year the police were monitoring activity on public wifi hotspots and using the info to target people labelled as undesirable in the quickly gentrifying city center.

Since I am a a)foreigner that b)transverses a diverse array of classes, groups, and political affiliations on a daily basis, i go ahead and always assume that i'm being constantly monitored.