skysight-inc/HackerNews huggingface dataset:
If they were properly written, I'd accept that, but just take a look at how vastly different things these two are doing:

http://benchmarksgame.alioth.debian.org/u64q/program.php?tes...
http://benchmarksgame.alioth.debian.org/u64q/program.php?tes...
Ask HN: What is better to create apps? Vuforia or Wikitude
Which one have you used? And why?
In addition to MISRA, I've found the safety checklist in Lutz's "Targeting Safety-Related Errors During Software Requirements Analysis" at https://trs.jpl.nasa.gov/bitstream/handle/2014/35179/93-0749... to be very useful.
They don't need concrete information - it's not a criminal trail. Simply the knowledge of the existence of a program is easily enough to derail it.
When was this article written?
> The point is not to do that.

Then it's not bulldozer code.
I read that Medicaid is being used to fuel the black market pipeline.

$3 copay gets you a $1000 street value opioids...

Of course this is corporate welfare for the opioid manufacturers.

I also read that one month 11% of Ohio's population was prescribed painkillers.
And if they are touchy about it probably also means that they won't pay it out if you leave ... that's the law in California but not in other states like Washington.

I was shocked to hear that, apparently it is somewhat common in retail jobs not to get paid out. Happened to me at a company that claimed to be more of a technology company. Maybe they don't think word gets around. Or that smarter employees will just take a lot of time off before quitting, which does a lot more harm to the company than if they just paid out the time owed to the employee.
Yes, I agree. Whenever I've mentioned cognitive behaviour therapy for pain control, or meditation for pain control, it derailed conversation into discussion about pain that was "real" or "all in the head", with some people refusing to see that in some cases there's no difference: the patient is in real pain, the pain is debilitating, and the treatment has a psychological component.
We're talking access to course material and the like, largely funded by the state. I'm personally not opposed to restricting access, but as a resident of CA directly funding the UC system, I should be able to view the digitized course material, specially in an era of almost zero-cost distribution methods like YouTube.
Reading up on MISRA, I found an interesting defense of a single return statement [1].

In the embedded world, I imagine it would be a good standard to force people to consider refactoring functions to their truth table.

Generally, I strongly favor coding standards to combat bad coding habits. Curious how MISRA works out in practice.

[1] https://spin.atomicobject.com/2011/07/26/in-defence-of-misra...
This is a really interesting set of stats you have here. Heartening in the sense that rejection is a common and overwhelming likelihood and shouldn't be a source of dejection, but also kind of depressing in the sense that it's clear many, many companies (including some big ones) have a terrible hiring process.
More likely it would be a lagging indicator, rather than a leading one. Companies will close plants and offices with same delay on the onset of a recession (itself defined formally as two consecutive quarters of negative GDP growth).
I disagree. Use a dictionary to brute force passwords, and 'password' has exactly 0 bit of entropy. '123456' come right after it.

In the end, one transaction hash among 300k offers more security than any word you could find in the dictionary. And you should consider a year of hashes, not a single day...

I'm not pretending to have invented a new ultra-secure way to authenticate, just one that's secure enough (more than words, less than random passwords) and totally anonymous. Would you prefer an email-hash combo? or a hash-password?

Finally, I was expecting a more positive attitude
I saw a talk from MIT professor who came up with a similar idea[0]. Using spheres seemed like a pretty good idea on paper, but when they started doing the cost analysis they found that it would be cheaper to use cylindrical pipe.

Even though one uses more concrete, it's cheaper because we already have the infrastructure in place to produce and lay long concrete pipes.

In both cases he also recommended using such energy storage systems as anchors to hold offshore wind turbines in place, because the concrete is more than heavy enough to do so.

[0]https://www.naefrontiers.org/File.aspx?id=48498
Spacetime curvature as source of quantum information
IBM Will Unleash Commercial “Universal” Quantum Computers This Year
Nintendo Switch Quality Issues
This soon-to-be Vegas robot looks cool! In the meantime, if you want to try a robot server in San Francisco, my friends and I installed one in Folsom Street Foundry in SOMA. The bartender still makes the drinks but loads the Robot which brings it to the tables. If you are interested, check out the youtube video: https://www.youtube.com/watch?v=Bab7E1Da6WA
That makes no sense, unless there's a contract, or at least a business relationship.
The law was changed in 1990. 27 years old.

These "legacy" things are between 3 and 10 years old.

The law had been in effect for 17 years before Berkeley started producing video.
Gas station breakfast sandwich. No ragrets.
The ingenuity of their invention is that it makes the energy storage of a given m^3 of higher more easily. The problem with pumped storage on land is that the work done is V * rho * g * h with h the height you pump the water, V the volume of water, rho the density of water and g the gravitational constant. Storing 1m^3 of water (1Mg) at 1m gives 10MJ or 10/3600MWh, so you need to store 3600 tons of water or store 1 ton 3.6km above ground to get 10MW or some combination of both.

When you go under water the pressure increases and you have to pump against this pressure. The formula is (if I recall correctly) (P0 + rho * g * D) * V with D the depth under water and P0 atmospheric pressure. Ignoring P0, you would need a reservoir 700 meters above ground to store the same amount of energy in the same amount of water. A 700 meter water tower is harder to build than an underground reservoir.
Note: The linked article basically chronicles how the story took shape. This appears to be the actual story here:

https://www.nytimes.com/2017/03/04/world/asia/north-korea-mi...

-

In retrospect, invading North Korea in 2003 would have been a far better choice than Iraq. NK didn't have nukes back then, we'd have avoided destabilizing the Middle East, and the defense industry would still get its blood money.

Not to mention North Korea continues to pose an actual WMD threat, they have concentration camps in dire need of liberation, their general populace is basically an ongoing humanitarian disaster, and they continue to pose an ever-increasing threat to global security.

All the US had to do was say NK was in cahoots with Al-Qaeda and had provided material support for 9/11 or something. War fever would've done the rest.

Granted, an estimated 100,000 civilian casualties from shelling in Seoul during the opening hours of the war is a hard pill to swallow. Today's threat however is the same deal plus nukes.

Then again, we had no qualms blowing away about 6500 Iraqi civilians with our surgical "shock and awe" campaign.[0] Turns out when you drop 2,000lb GBU-31s on civilian targets in the middle of a densely populated urban environment, it tends to kill a whole lot of people. Who knew! The fireworks look pretty on CNN though.[1][2]

Of course, enemy civilian lives tend to be far less valuable than allied civilian lives.

[0] https://en.m.wikipedia.org/wiki/Shock_and_awe#Casualties

[1] https://www.hrw.org/reports/2003/usa1203/4.htm

[2] https://www.hrw.org/reports/2003/usa1203/10.htm
Not so much "heavily discounted shares" but "lower price to earnings valuations". PE ratio differences are how companies like Berkshire Hathaway use arbitrage to increase their value. They take the difference between a private entity's PE (2-4 X) vs public (17.94 in the case of the Berk beast) to increase the value of their stock.

This is both Voodoo economics (how is $1 million a year profit worth $4 mil in one scenario, and $17.94 in another?) as well as somewhat logical, as public companies have more rules and transparency (in theory, if not always in practice) that make a profitable more public company more stable.
> Most syslogs ... servers need

You have been using poor logging softwares. For the past decade and a half (or more) some of us have been using logging softwares that write out logs without converting timestamps to a local format or a local time, relying rather upon log post-processing tools to convert them to different (sometimes multiple) timezones of our choosing and at whim when we want to read our logs. Our servers haven't needed to consider timezones for all of those years, and our log-writing softwares don't call a localtime() function of any stripe. Please do not tar us with your brush.

* http://unix.stackexchange.com/a/326166/5132

* http://jdebp.eu./Softwares/nosh/guide/log-post-processing.ht...

* http://jdebp.eu./Softwares/nosh/guide/timestamps.html

* https://sawmill.net/formats/qmail_tai64_n.html

* https://www.elastic.co/guide/en/logstash/2.4/plugins-filters...

* http://docs.projectcalico.org/v1.6/usage/troubleshooting/log...
Why does this happen? Is there some subcontractor who just bills by the piece so they don't care about de-duping the idiotic mailmerge that has 5 entries for each entity I'm affiliated with?
I too don't see how it is useful but it's certainly a thing. The Solaris implementation looks like this:

#!/bin/ksh -p
# ...
cmd=`basename $0`
$cmd "$@"

I just noticed that the what(1)-string (I haven't seen on of those for a long time) references "alias.sh", perhaps this is a clue?

#ident "@(#)alias.sh 1.2 00/02/15 SMI"

Were builtins actually aliases in an early shell? I still don't understand how this works though.
Best of 4 Anti Viruses Soft Wears for PC and Laptops
In other words, people are using the market to determine the valuation rather than using the valuation to determine the market.
Dolphin is pretty nice!

It also has a well integrated terminal with directory tracking, so it is straightforward to switch between command line and graphical operations.
So basically the most accurate approach that is near something practical is using arbitrary precision. What I was wondering is if there is any implementation capable of detecting for example that the three bisectors of a triangle meet exactly at the same point, the incenter. My guess is that maybe for pedagogical purposes but not for anything more complex.
New Top 9 Tips for Whats App Uers
Tesla and its CEO are anticompetitive.
Lilith reviews Nintendo Switch
Eh, it could have easily started World War 3 with China. Nobody cares what happens to Iraq.
It's time -l on BSD derivatives and time -v on GNU userlands.
To be clear, this isn't just an opinion thing--the math is in 'eon1's favor. Scarlett's preamps can boost around ~55dB and a SM7B is something like -80dB with a normal speaking voice. Boosting that to -25dB will be audible, but it's not enough for most purposes and maxing out the preamp will generate some hiss.
Out of interest are you atheist? I find my own atheism comforting. To be confronted at my death with the Catholic Heaven I was taught about as a child would send me into despair. Life would be rendered meaningless for me were I to find out it's all been some sort of game, for which the prize for winning is that you meet your creator and praise him.
3 cool machine learning projects using TensorFlow and the Raspberry Pi
"101 Things I Learned in Architecture School" would be worth adding; it's clear and concise, and the lessons apply well beyond architecture, to design in general.
Myriad tech conference in Australia is a regional tipping point
39% of core operations are funded by the state.

https://en.m.wikipedia.org/wiki/University_of_California_fin...
I created an issue [0] for this.
I'm trying to find time today to organize the project structure for this, so that it shouldn't be too hard to add other UI frontends.

You are more than welcome to contribute, especially because I'm also completely unexperienced with GTK# :)

[0] https://github.com/Mikescher/AlephNote/issues/1
Program development is state change of a Key-Value database
:+1

Facebook IPO set target price to 38$. It went down immediately at extreme point falling down to 18$ a share. It only got back to 38$ after around one year. What is the price now? 137$ Not saying this will happen to Snap, just saying IPO-s usually show similar dynamics.
If the water could not gain speed on the way down it would stand still at the top of the mountain. Put gravity into the equation and the water gains speed.
This seems like an exaggeration, but look who is saying it: Joe Armstrong.
Sorry to nitpick, but the concept works just as well above water. It also has the benefit of not requiring the pressure vessel.

Building a swimming pool of the same volume 700m up the side of a mountain, pumping water up and using it to drive a turbine on the way down is the same concept (and would give the same energy storage capacity [Pi * 4/3 * (30/2)^3 * 700 * 1000 * 9.81 / 3600 / 1e6] = ~27 MWh (assuming 100% efficiency).

I would imagine the benefit of doing this in the ocean is that the plumbing is simpler (don't need to lay the pipes) and you don't need to find a 700m mountain and available land for the pool, pipes and base station.

In the undersea version, what you're really doing when you pump the water out of the vessel is lifting the entire ocean level by a minuscule amount and then generating power when you allow it to fall back down.
One possibility of what would happen if there were a war/conflict would be China would take over NK and create a buffer Chinese state, possibly another country in the Two System, One Country philosophy. China is becoming increasingly intolerant of DPRK's actions, as evident by their stopping importing of coal due to the killing of Kim Jong-nam (which will hurt DPRK's economy as it is a large part of their exports). My guess is that the buffer country would be a compromise, since SK doesn't want China directly at their door and vice versa, but SK wouldn't be able to really support NK's terrible economic situation as their economy is too small, and the US wouldn't want China's influence in the region to too much grow. I could see another part of that compromise would be to allow NK citizens to go to SK to be with family, be reeducated, etc, as well.
It's not clear - the documentation references both "original Oberon" and Oberon 07. But the differences between the original release and Oberon 07 are very tiny, and the additions his "Eberon" [1] makes are bigger, so I think the extensions probably dominates the changes anyway.

[1] https://github.com/vladfolts/oberonjs/wiki/Eberon
But for example your indent

if(someCrap != null) {

followed by indentation on the following block, would be turned by the programmer into something like:

if(someCrap == null) return; //nothing to do

without an indent following.

thereby saving the indent and having to have the reader keep track of another level.

How many times have you seen:

}
}
}

}

And is it really that great?

Breaking it into line by line is actually easier to follow than nested conditions. (You don't have to worry about proper indentation or matching braces properly, it's simply easier to write.)

I think it's easier to read as well.
Interesting: the lifestyle top 10 list contains only a single city (Melbourne) with a "traditionally attractive" (i.e. warm and sunny) climate.
I don't know about Poland, but in Austria there is a similar law (IANAL but my lawyer friend told me about it), and banks are excepted from it. So if a company sends you money by mistake you can spend it and don't have to give it back after that, but if a bank makes a mistake in your favour, you have to return it in any case. Happened to my lawyer friend's mother.
Raspberry PI can do 240p over composite now:
https://github.com/raspberrypi/firmware/issues/683

The reasons portrayed in the article are exactly why I prefer this setup over RGB.
Sorry if this is stating the obvious.

I'm guessing that this was meant to be a single equals sign for an assignment rather than a double equals for an equality test?
Not when I posted it here :D.

But it seems like there is interest [0] and it doesn't look too complicated. So yes, I will try to add an additional frontend with Gtk# for Linux/Mac.

[0] https://news.ycombinator.com/item?id=13806328
Post is unreadable (URL goes to a Wordpress login page).
Well sure, for the safest, least-addictive drugs around. For more dangerous drugs like alcohol or the ones discussed in this thread, "growing out of" an abuse habit is orders of magnitude more difficult.
I'd like to see a study on the environmental cost of the materials. Concrete (or rather cement) is one of the dirtiest building material to make.
Thanks! I was aware of the feature but not of its author.

https://blogs.msdn.microsoft.com/andrewkennedy/

https://channel9.msdn.com/Blogs/Charles/Andrew-Kennedy-F-Uni...
FYI https://duckduckgo.com/?q=support+group+for+spouses+of+those...

TL;DR wrt relationships - it can work, it is surely complicated.
This is an advertisement for sleep masks.
This article has some great tips, but I wonder if they're trying to sell something... maybe a sleeping mask, I'm not sure though (/s).

I've had insomnia since I can remember. I could never take naps when I was young and still can't today, and it normally takes me 1-2 hours to fall asleep after laying down. It's currently 3 am. I've tested with tech, without tech, both are about the same, I just get less bored when reading after I can't go to sleep. I always wonder if I can't fall asleep due to my routine or my routine is the way it is because I can't fall asleep. This article makes the cause/effect relationship routine/sleep respectively, but it seems to me it can be the other way around for people with (extreme) insomnia.

Disclaimer: not a sleep expert, have just tried many tactics.
Porn.
To add a counter-anecdote, I left a startup while still having a good amount of faith in the company. Left after finishing work on a couple of their products because I wanted a lifestyle change and had an opportunity to strike out on my own venture. The product was great, but engineering culture was a death march, partially due to the seasonal industry (hardware/toys) and partially due to management.

Oddly enough, a bunch of other engineers also left shortly after -- after all the hard work was done. Company is profitable now due to increased sales, but also cutting salary costs. Strike price was still low when I left, so I bought my options.
I would have enjoyed the article a tad more without the sleeping mask ad being pushed in.
Click the link, then click the "text-only" version.
How would this compare to flow batteries? In a flow battery capacity is related to the volume of the reservoir, so it scales cheaply.
Because pretty much any language that's been touted as a replacement has problems which need solved before they'd really be viable. They're either single vendor with no independent standardization, like Rust or D, or have lower performance like go, or both. Once both problems are fixed, it'll be a lot easier to start looking at alternatives. Until then, there's not a language that settles into a lot of the niches C and C++ operate in.

This case specifically, a lot of the issues that allowed this to happen were logic errors which would have been valid in most languages. A functional language would not have helped very much here.

C and C++ are still used because they work, and have huge ecosystems around them. There's a lot of tooling around them, the compilers build fast, code, and are available for pretty much every planet under the sun. This particular case, it would have helped a lot if the developers looked at the warnings of the questionable code they had made, but they seem to be of the "it compiles, ship it" type that would have let those things fly regardless of the language.
I believe you can do the same here, but the (huge, purpose-defeating) difference is that you need to be able to afford the rehab in a country that isn't so keen on providing a safety net (somewhere upthread someone mentions his sister ruining her life with heroin, wanting to go to rehab, but unable to afford the cost, which is uncovered by Medi-Cal).
That's not shorting though. The difference being that a short sale has an effect on the market while a bet is invisible (so you can bet the whole market cap of the company without moving the market)
Reviews of Top Refrigerant Leak Detector
That's not an advantage to having it underwater. In an above water version using a 700m mountain, the vessel to hold the water would use far less concrete. It's basically a swimming pool.
Cool project. I do something similar for the daily free ebook from Packt. Also for when new episodes of Silicon Valley are posted.

Tiny detail - you can do the regex match case insensitive and avoid the call to lower() for every string.

re.match(..., re.I)
The number of burglaries is the lowest in 20 years (http://www.dst.dk/da/Statistik/nyt/NytHtml?cid=20879), so you're just trying to make an argument you have no basis for.

But robberies and pickpocketing are on the rise.
But how does one 'place' a sphere of any diameter on such depths? I feel like I lack an enormous amount of knowledge concerning subterranean construction/engineering
As far as I can tell, this bug has nothing to do with memory-safety. And I don't think C++ is to blame here.

It's just a lot of untested code. Surely even Ocaml and Haskell need tests.
Not like "new". It is often the same thing. http://www.webmd.com/brain/autism/news/20130606/autism-adhd-...
There is a 3 month gurantee. If they have not diagnosed you, and started treatment within that periode, you're free to go to a private clinic or hospital, free of charge.
Don't use non SI units.
The first voice recognition personal safety app
It’s an advertisement.

That said, I fall asleep easily each evening and wake at the same time each morning. The routine I am in (same time to bed, same time awake - weekends included) mean I get enough sleep and can function every day. I don’t use a sleep mask but the routine seems to help a lot.
Visa sponsorship ?
> and simultaneously to reduce its complexity

This is one of things I admire about Wirth. Through most of his career, he seems to have removed more from his languages than he added. Oberon is like the end result of a serious of very careful incisions. It's austere, but it's austere for very specific reasons: What he removed, he tended to remove because he either found through extensive experience with the languages that it did not add much, or because implementing it in an obvious, efficient way was tricky.

Famously, he also strictly enforced his simplicity also on the compilers, by insisting that e.g. things like optimizations should "pay for themselves" by speeding up the compilation of the compiler itself more than the extra code in the compiler would slow it down (though it is of course worth keeping in mind that the official compilers were part of a computer science curriculum, not commercial products).
Never needed a plugin for this, just `:set tw=79`
I'm only able to find one mention of sleep masks in the linked study:

>In contrast, other practical solutions, such as sending >“sleep kits” containing an eye
>mask or earplugs and other supplies to servicemembers in >deployed settings may represent
>more practical and feasible strategies to encourage healthy >sleep behaviors

I wouldn't call this "military-approved," though I use a sleep mask every night.
same on my ubuntu
Great read that shows how web scarping can easily be utilised in a meaningful way.

However, doesn't this script either send out the same text very often, or potentially send it out too late (by e.g. only letting the cronjob run every 6 hours)?

I assume that time is of the essence in this situation. Some sort of log on sent texts would surely be helpful.
Oh cool, thanks for that!
I want to audit the performance of my website, where do I start? (part 1)
Yep. That's all there is to it.