skysight-inc/HackerNews huggingface dataset:
A library support to call restful api from client, 1.0.1 released
StreetDrone Project bringing autonomous vehicle development to the masses
It's been a decade, though. Probably 20% of the current Linux community hasn't even experienced the whole SCO story first hand because they were in elementary school at the time :)
Yahoo Mail’s search now returns 150% more relevant results
This can be appropriate as a tactical short-term hack, but for anyone reading who doesn't have a good sense for when to cut corners here, this isn't a great general-purpose solution. You're building assumptions about the way your machines receive requests into your service logic instead of externalizing it in your load balancer, which isn't a good practice.

In practical terms this means that whenever the characteristics of your environment changes, your rate limiting suddenly gets wonky. If you're doing a rolling deployment and take 1/3 of your machines out of service, or if some machines go down for maintenance, or a variety of other things happen to your machines, you're going to end up with fluctuating rate limits.

It sounds like OP is running a relatively mature service, so this probably isn't the best idea for them.
By all means, steam ahead. It's certainly your right as a developer not to be slowed down by pesky restrictions. The easiest marks were always the companies that had a culture of hating security restrictions.
Canonical has NO job vacancies at all currently https://www.canonical.com/careers/all-vacancies

Is something wrong with the company?
I've gradually come up with a way too elaborate system for maintaining and sharing bash histories locally. I run tmux with several long-running bash prompts and not only I want to append each shell's history into a log incrementally but also to share history between the running shells.

I have a function as my prompt command that does:

- dump the current in-memory history into a separate logfile every few minutes timestamped (using HISTTIMEFORMAT)

- clear the local in-memory history and reload in-memory history from unique history lines from all stored log files, using the most recent timestamp on each

Once there are more than N log files, one of the shells does a similar uniquefying compation step for N log files and writes the output into one new log file. It uses 'mv' to do the compation atomically by moving the affected log files away into a temporary directory for compaction.

If other shells were to update their logs during the compaction those additions would just be saved as normal and compacted in the next cycle. There are always duplicate history lines in the logs to keep things fast so there's no chance for a race condition: no command line in the history can get accidentally deleted and any duplicates are just removed during reading.

As a final step I atomically copy the latest compacted history into .bash_history as a backup. The real data lives in my logs anyway but a single .bash_history is easier to backup: it might be a few lines short but it's always mostly up-to-date.

Looking back at this, I reckon the current Bash history implementation surely can't be ideal.
I meant it was exaggerated compared to how many people actually panicked. Playing a fake advent of WWIII in a coffeeshop as if it is real to unsuspecting people might cause a different response though.
For me, the statement in the abstract is absolutely obvious. Who wants equality if it is unfair? That would be dystopian.
It's actually not that hard to find a framework for a solution.

If you sell anything that connects to the power grid, you need to get it UL Listed. No exceptions. You cannot sell it if it doesn't check out in the lab.

If you sell anything that emits radio frequencies either as part of its fundamental operation, or as incidental to it, you must get FCC certification.

Why isn't there an agency like this, or a subdivision of one of those existing ones, that certifies things for being able to connect to the internet? Right now there's absolutely no way for an ordinary consumer to know if that product they're buying is rock solid or absolute trash.

Enormous corporations like Samsung consistently crank out some of the most appallingly slip-shod code, and relatively tiny companies like those behind the Pebble have a considerably better track record. There's no external signs for the non-technical people to work with here. They'll need to hope and pray that their product isn't a total turkey.
You don't need to convince me of the potential malfeasance of US corporate interests - I grew up in West Virginia, a state that's more or less been run by the coal industry for a century. :)

We should always remain vigilant of unappreciated risks, both health and ecological, from existing practices and chemicals. However, scientific studies are not cheap. In a world with an endless supply of serious problems, we have to prioritize research spending on science and engineering that's likely to actually improve life for the most people. Redoing the same experiments we've been doing to death for decades probably isn't the best use of limited science funding from a purely utilitarian standpoint. Industrial agriculture has quite a few more serious public health issues than glyphosate. (e.g. antibiotic abuse in animals)
It's not obvious that the sun isn't spinning around the earth instead. You could use coordinate acceleration in an earth-centered frame and the sun would be spinning around the earth. That's equally as correct as the conventional view. So I think a test can be that if someone doesn't understand that the sun is spinning around the earth, then they probably don't actually understand at the earth is spinning around the sun - they just believe it.

I'm a physics teacher, and most teenagers don't have a clue about this at all. They think astronauts float around in space because there's no gravity there. If there's no gravity, then how does the earth stay in orbit around the sun? That shows they really don't understand it at all. It's difficult and you have to actually think hard over a long time to make all the pieces fit together.
Conus Textile is very cool - good examples look just like computer simulations!
I hope not, it would be damaging to Canonical brand, the same way it was damaging to Nokia - and look what happened to them in the phone market.
Google doesn't really seem to understand their own product. Most people love(d) it as an independent social network because its features are way better than those of Facebook and others, but Google keeps messing it up by nerfing or removing popular features, adding useless ones, integrating it with the low-quality comments on Youtube, not showing everything you want to see, showing things you don't want to see (the hated "+1 sharing"), etc.

It could have been fantastic, but Google seems determined to kill it. Lately I've seen very enthusiastic early fans leave Google+ and just submit to the horror that is Facebook, because at least that's predictable.
Using Kotlin to Test Android Applications
I'm thinking the exact opposite.
I don't think the level of moral outrage you're expressing is commensurate with the position "the only thing United did wrong was setting their cap for overbooked flight compensation too low." And in any case, that cap is set by the department of transportation.
Plus, unlike with Yubikey, Nitrokey has open-sourced both hardware and firmware [1].

[1] https://github.com/nitrokey
Making vendors liable has the problem when they spin up a new incorporated entity every year. The company who made it is now bust! Who is liable?
The problem with history is that records all your activity and is a big snitch. On the other hand you will not want to save in your database repeated or trivial commands like "ls ." normally. You can have the best of both worlds if you configure its behaviour in bash.

Any command that starts with a space is still successful but will be discarded in bash history. As "internet is for porn" could be useful to delete any video viewer entry automatically. (Add some lines like: "alias vlc=' vlc'" in your .bashrc). History can be also configured to save only one copy of duplicated commands.

If you have a sensible or difficult to memorize command the best is to put it in a script, not in a db.
What is the back story behind them having swedish surnames?
ВсеФестивали.Ру – фестивали и конкурсы
I'd be very interested to see a discussion of scaling the entire Mastodon network as well. I'm seeing OSocial admins starting to mention concerns with the connections and concurrencies between servers, as well as total network traffic.
Well, it makes a difference in the scenario. Because in the scenario of the fiction news, russia planned a attack.
It is quite unlikely, that russia would do anything like that, beeing that underpowered.
That's is more or less the model I intended. Specifically, I was referring to one of Dan Geer's extremely important recommendations in "Cybersecurity as Realpolitik"[1].

[1] https://www.youtube.com/watch?v=nT-TGvYOBpI ( http://geer.tinho.net/geer.blackhat.6viii14.txt )
Who made you the arbiter of what is fundamentally real? That is the entire basis of your argument.

No one can say there is no absolute because that statement itself is asserted as absolute.
I'VE GOT THE BEST CASINOS - THEY'RE TREMENDOUS.

That kind of notable exception?
Same idea with some usage and backup tips: http://jesrui.sdf-eu.org/remember-all-your-bash-history-fore...
As soon as they can do good voice fingerprinting and add it to the device, this becomes a non-issue.
Instead of tvcountdown.com, You could use http://tvshowtime.com/
What pizza delivery place would actually try to deliver 1000 pizza's?
I found the standard "put the disk in, press 'yes,yes,yes' " with Ubuntu got me into a X server, with nice Gnome configuration, with a working Network.

Debian did none of these (at the time), it was a text installer which asked loads of questions I didn't really understand, and didn't install X or gnome or install wireless drivers by default.

Of course, I suspect the things you had to do to Debian to make Ubuntu wasn't very much -- just hide lots of installer options behind an 'advanced' option, and set a bigger set of default packages to install. But it was enough to help me get into Linux.
It's Vaisakhi, wish fellow turbaned Sikh coders on their spiritual bday
"Recorded history" is too short for natural selection to occur. You don't get significant carbohydrates without agriculture, which is about as young. Besides, type 2 diabetes doesn't seem to have an impact on ability to pass on ones genes, so natural selection would be blind to it.
My wife is a historian, I'm a programmer.
That does not make me the fifth but at least a sympathizer ;)
The device really should implement speaker identification before accepting commands, yeah. Seems like a task a machine learning focused company like Google really should be able to accomplish.
uniccshop ? http://www.uniccshop.cc
a good news , why do a lot of people uniccshop ? http://www.uniccshop.cc
A mouse is useful if you don't know how to tab around boxes.
The disk layout option is super-scary for beginners, and full of warnings.

I typically don't know what my 'domain' is (I've never known to this day what I should type in that box, and nothing I type ever seems to make any difference).
Sed/regex Based BrainFuck Compiler
PS: It's a good day to visit the local Gurudwara and relish the special Langar
I won't be drawn into a debate on relative repressiveness. But consider how LGBT activists were generally harassed a decade or two ago. And still are, in some parts of the US. Or the War on Drugs.

I'm sure that some Tor supporters in the CIA are hot on taking down particular regimes. But I don't recall seeing that as an official Tor Project use case.

Regarding the example of North Korea, I'm sure that there are ways of hitting Tor. At least, if you can reach the Internet at all. Maybe it's not worth the risk, however.
ctrl-r is great, but i'd like to also delete unwanted results and favourite some and label them.
Fish shell has that problem fixed. History is always saved correctly and if you want access to the history of your other open shells, you can run history --merge
Since Canonical receives a huge backlash whenever "Mir" or "Unity" are mentioned, I wanted to tell you that Unity was absolutely fantastic as a desktop. I have tried and used many platforms and in many ways (except only hi-dpi support) Unity was the best desktop on the market across all operating systems.

I also hope that you and Mark and the rest of the team understand that the constant hate was by a vocal minority rather than the majority. Most people were happy with Unity because it just worked and could be extremely powerful at the same time.

And I don't know if you've heard this enough, so thank you for creating such a great piece of software that made Linux on the desktop accessible to hundreds of thousands of people.
ubuntu server was going to stay the way it was, but considering ubuntu desktop popular seems kind of a stretch though; relatively to other linux distro in the sub 1% of the desktop market? then maybe
Dutch Filmmakers Take VR Experience to Next Level
Ethical class might help a young developer understand why working at a company like that is a bad idea. Understanding that a company punishing you for being ethical is a big glowing red flag is important.
Have you heard of ResearchKit?
Agreed that library needs to think about how programs will interact with them.

That program is just a benchmark to map millions of string to integers, it's valid to optimize processing.
Alot of swedes emigrated to the US around 1800-1900s and spread all over the country. https://en.wikipedia.org/wiki/Swedish_emigration_to_the_Unit...
I've personally looked into some of these things, and have read quite a few warnings about both salt and vinegar. Improperly used, they can ruin the soil and render it barren. I'm not sure of the truth of this, but it was enough to make me just use manual labor at home (in other words, my garden was half weeds since I rarely did it). The larger the scale of application, however, the worse they seem to perform. [1] Salt, interestingly enough, still requires some protection so you aren't inahling it nor getting it in your eyes. [2]

Just because things are natural or traditional doesn't make them necessarily better than the chemicals we are dealing with now, even with their present downsides.

[1]http://weedcontrolfreaks.com/2014/06/salt-vinegar-and-glypho...
[2] http://weedicide.co.uk/salt-kill-weeds-herbicide/
True for their storage and encryption products. Unfortunately not for their U2F product. "Nitrokey U2F is a relabeled 3rd party product and hence not open source."[1]

[1] https://shop.nitrokey.com/shop/product/nitrokey-u2f-5
It seems to start with 9F 55
I love mine(s) now. I made a bridge between my RF wall switches [0], outlets and so on and I can turn things on/off using Alexa.

The best is at night before going to bed, I can say 'Alexa, turn off downstairs' and that will turn off all lights, lamps, speakers, amplifiers.

But yes, I can also tell her to play some music thru the speakers, and 'Alexa, turn on speakers' and the music automagically starts playing on the stereo.

Then there's all the other bits, but the timers we use really all the time, the 'Alexa, what's up' in the morning is pretty nice too...

[0]: https://github.com/buserror/rf_bridge
It searches tags and urls too. I'd like a full body-text search for bookmarked pages or something similar, I'm a hoarder (I actually have a script to archive all my bookmarked pages, via wget, so i can grep them).

Also, https://support.mozilla.org/t5/Basic-Browsing/Awesome-Bar-Se..., last couple of paragraphs site hire to use the modifiers in address-bar search for those who don't know about that.
That's an artificial requirements, you can do the same with at() or change the requirements.

Catching all errors to return a default type is an arguable decision.
I get what you're saying, but don't be so dismissive. There are a lot of industries that will probably never move off of C (aerospace, for one). Plus, C fluency is pretty much required for serious security work.
I'm not saying they are not allowed because they aren't in Europe. I wouldn't have thought they considered it since 30 years, since most of Europe or formally EG started with France, Belgium, Netherlands, Germany ( and before that the Benelux)

Perhaps that's better explained.

Ps. Where are you from?
Minecraft Launches on Nintendo Switch in May
I still don't understand why protocol buffers never quite "took off".
>Food we've grown + consumed has a multi-millennium history of being safe to consume.

Its not so simple. When you consider the significantly lower yields of organic farming[0], combined with a growing world population 71% of which lives on less than $10 a day[1] that will not be able to afford these increased food costs you are left with a question. Do you prefer to add perhaps a few years to the end of your life or do you prefer to allow a great many others to live?

Personally even if GMO and others took a decade from me (I have seen no evidence this is the case. Humans are living longer lives than ever before.) if it allows more children to eat I support it.

[0]https://www.geneticliteracyproject.org/wp-content/uploads/20...
[1]http://money.cnn.com/2015/07/08/news/economy/global-low-inco...
You're not up to date on your compliance, this sort of stuff is forbidden by the last NIST regulation :D
Which bit?

(Agreed it's all becoming a bit surreal)
To be fair what was already happening to Nokia in the phone market just kept on happening.
s/moo/miaow

/down-with-the-kids
Fine, 10. Your $20 order just became $200.
1. Intel's focusing more on power efficiency than they are brute power, especially for notebook chips. They're also struggling with their 10nm process, so everything is in severe disarray. Apart from a few vendors wrangling high-end GPUs into laptops, the rest of the market is pretty much spinning its wheels. Maybe now that AMD's back in the game they'll shake things up and give Intel a reason to knuckle down and make some progress here rather than continue to focus on squeezing money out of the enterprise market.

2. macOS has improved substantially over the last six years even though most of those changes haven't been earth-shattering or visible. HFS+ is finally going away, the scheduler is more battery friendly, API improvements continue that make writing apps easier. It's a mature operating system, though, and like Windows, which basically slapped on a new coat of paint and threw in a new version of DirectX, and decided to get crazy and bundle Linux support, it's hard to make exponential leaps forward. What is macOS crying out for these days?

3. Windows is still extremely hostile to developers even with the Linux subsystem. That's a massive improvement over Cygwin, but it's still a veneer on top of what's an extraordinarily ugly OS when it comes to internals. Drive letters, the Registry, entire continents of compatibility junk. If you're not writing games, you probably never write apps for Windows native. It's just not worth it.

Now it's nice that Microsoft is at least trying to give Windows some decent tools, the Linux/GNU suite is vastly better than the feeble garbage that comes with Windows, but it's still the first step in a long road towards being as POSIX friendly as a true Linux or BSD system actually is.
Thanks, also did not quite understood what exactly was headless_shell: how to run it, pro/cons, when to use it versus chrome headless.
> every 5th german is named lars ;)

9869 of 40 million, so around 0.025% Yep, one in five :-)

https://de.wiktionary.org/wiki/Verzeichnis:Deutsch/Liste_der...

It really is a nordic name.

http://www.beliebte-vornamen.de/3487-lars.htm
Encrypt + add PIN + disable SMS/Phone authentication? Is this insufficient?
The future is farming
This is quite stupid:

". They collected computer-generated story arcs for nearly 2,000 works of fiction, classifying each into one of six core types of narratives (based on what happens to the protagonist):

1. Rags to Riches (rise)
2. Riches to Rags (fall)
3. Man in a Hole (fall then rise)
4. Icarus (rise then fall)
5. Cinderella (rise then fall then rise)
6. Oedipus (fall then rise then fall)"

If "up" and "down" are your only "emotions" and you only have 3 slots they can go in.... 3x2=6. What's losing one thing but gaining another called in this convolution?

All models are lies, some are useful. This is not useful.
Consumers Starting to Buy More Through Voice Assistants
There are indeed trade-offs. But the comment I was replying to implied that you couldn't write a generic sort for all comparable types. That is wrong.

Unsafer yes.

But it's only slower because it's not being inlined. If the compiler can see both the implementation of qsort and the comparison function, there is no reason why it would be slower than a templated sort. You could accomplish this with link-time optimisation or by moving the implementation of qsort to a header file.

A trade-off you didn't mention: templates will cause multiple copies of the sort to be inlined in the executable. This can lead to bigger executables (with slower start-up) and more cache misses.

Another trade-off: templates lead to much slower compile times.
Google Slyly Slips Ads into Google Home – Creepy?
Why It Is Beneficial for Your Company to Outsource .NET Developers
Ask HN: Am I qualified to work in US / Europe?
Hello, HN!

I just recently graduated as Marketing Major (September 2015). I'm from Indonesia but am interested to work overseas. Below, I'll give listical information about me, so it's easier to read.

- I'm graduated as marketing major student from one of the best business school in Indonesia.

- While in college, I learned how to design brand identity online, and have served local clients. (I'm very comfortable with Photoshop & Illustrator).

- After graduated I was asked by my current client to work for his startup, Bukapintu. More on them in http://www.philipyoungg.com/projects/bukapintu

- I started learn how to code beginning of 2016.

- Now I'm comfortable building API, good enough to design simple database schema (I made authentication app), and comfortable with modern front end technology (React, Redux, Node, etc).

- 3 months ago, I tried to reach a client online and tells that his website is ugly and I can redesign them. Soon, I closed the deal.

- I can't sleep for the next 2 days because of the excitement.

- Then another one came from Behance and ever since then, we've done 2 projects together.

- To get client and new friends, I started to network in Twitter by following designer & developer overseas these past week.

Problem is, I didn't really enjoy client works. It is short lived. My dream is to make SaaS product, but currently I didn't know what to build. Besides, I want to get more experience first, hence working overseas.

I believe there are a lot more people talented than me. Visa sponsorship is expensive. What makes it worse: only big company issues it, therefore the candidate quality must be paramount. Even if I do, I'm still competing with locals. Company would pick them first instead of me.

Appreciate any feedback. It's on http://www.philipyoungg.com . Also, could you advise what should I do to improve myself?

I’m interested in Product Design, UX/UI, or Front-end development.

Thank you beforehand!
Maybe they stopped making a big deal about it, but it was one of their "we make the world a better place" use cases when they started out (of course, they also said "no warranties that we got the security perfectly right").
That's... odd. Even running M2 off of DevBox on my Mac the swagger endpoint renders in 5-10s (first visit).
In? In jail, you mean?