skysight-inc/HackerNews huggingface dataset:
Haha yea that is some straight up Mathematica -> C codegen (damn you //cform). A couple of years ago I inherited a project with a 90 meg .c file that was auto generated by Mathematica... the thing caused GCC to allocate ~4 gigs of ram. Simplifying the math by hand we got it down to a few hundred lines of code, and reduced the build time by three orders of magnitude.
Didn't Beepi try this?
> In 2016, Philip Koopman of CMU discusses that there are non-trivial engineering challenges of achieving safety in NHTSA Level 4 vehicle automation:

That seems like the most obvious statement I've read in the last year or so at least. I think the fact that Alphabet spent more than 10 years developing these self-driving cars already is a pretty strong indicator that there are non-trivial engineering challenges involved.
But it wasn't and certainly not the paper which the abstract introduces.
Totally concur.
Well there could be a strong disincentive to hire people who may be at risk, resulting in worse employment outcomes for some kinds of people. Also, more intrusive questioning for everyone at interview.

Then there's the question of fairness. Why should an employer be held accountable if they were not actually contributing to the problem by any reasonable definition.

The more that costs of regular employment increase, the more we will see stratified employment. Employers will substitute contract, offshore or just not hire to avoid those costs.
Know: Scheme, Python, Javascript

Want: Rust
In the last 20 years Denmark have had focus on doing this in villages along main roads. Before it was normal to see cars on through the village with 100kmh, now they'll crash if they try to do that, because on entry and exit in the village there is a chicane.
All of my experiences were on the East Coast. I don't think it's unique to the bay area I just think there is a larger concentration of start-ups so you'll hear about it more frequently but it can easily happen anywhere.
Didn't stop Snap
tragic loss.

I wonder what would happen if companies with high-stress environments employed on-site counselors. even if employees have outside help already, as mr. thomas did, it's very difficult -- for so many reasons -- to approach HR or consider a medical leave due to stress or mental illness. maybe creating a less daunting first step could help. in general, getting employers more proactively involved in asking how their employees are doing -- and if they need time off to heal -- could go a long way. at a certain point, an individual's motivation or willpower will not turn a situation like this one around, but outside intervention still might. how do we effectively intervene sooner?
Only for lossy. Lossless is FLIF's main game.
Twitch Plays Pokemon started this trend. Twitch ended up taking down the stream for a while, which caused a massive uproar because TPP exploded in popularity and was the #1 most-watched stream at the time. I think they took it down because the chat volume was borking their servers. It was against their policy for a while, not sure if it still is.

I remember thinking it was dumb, and then inexplicably getting hooked to it and keeping it on a second monitor all day at work. Fun times.
That's such a tiny thrust it might be quite difficult to measure in space. Orbits are complicated, what with complex gravitational variability of the Earth (mountain ranges, continental shelves, the fact it's not a sphere), the influence of the moon and sun, interaction with the magnetic field, solar winds, and down in low earth orbit even the last vestiges of the atmosphere.
Yes, absolutely! A person who knows the answer to that question is definitely a strong developer. It does not mean someone who does not know the answer isn't as strong, but my bet would be on the one who knows it.

If I was asked the question I would probably use a set and mark the indices of the maximum elements. I think that should be O(n) but there is probably methods that are much faster.

I also really don't agree that it is the "thought process" that matters. What that means is that you should speak what your mind is thinking while you solve the problem and the interviewer should rate you based on this speech. Meaning those who like to think quietly are unfairly penalized.

Like who would really want to talk to the examiner while solving tough linear algebra problems? Math doesn't work that way and neither does programming.
Right. Let's translate this whole thread into Toki Pona !
Yeah, "production-ready" is definitely true about Caddy, but I know saying a program is "production-ready" is like saying a program is "secure" -- what does that even mean??

I like to tell people it's production-ready if it's a good fit for your website and workflow. Many people are using Caddy in production. There's so much variance it's hard to pin it down in a simple phrase, so we have to settle with a term that's "good enough", which I think the most fitting is "production-ready."

And upfront, I'll say: Careful with chasing benchmarks. They don't transfer well (or at all), and most people (including me) don't know how to run them properly. Just test with your own staging setups and see if it works well enough for what you need.

Anyway, thanks for your feedback about the site -- definitely taking it into account.
This was posted on HN as I went to sleep in Kailua, after the $100k thing.
This thread had more points and comments than the previous two combined.
My system libjpeg on Fedora has it, but most browsers ship without it. Given that from a compatibility point of view it's almost as bad as switching to a new format entirely, I doubt it will be embraced.
> It is hard to describe to someone who never experienced a job that is overwhelmingly and exclusively awful how much of an impact it makes on you. And I am not talking about a job that you don't like or don't enjoy. I mean a job that has zero redeeming qualities and a culture that is incredibly toxic. You feel like a failure at work. You are miserable. And you see an out (quitting) but if you quit (without a job) there are a whole bunch of questions.

This is one of the most brilliantly perceptive comments I have read here. I encourage you to write an article based on this.
The last few days have been really interesting to me in regards to speed limits. I grew up in rural Germany moved to the US west coast ten years ago. However, I've been spending the last week on vacation in rural Ireland. At first the speed limits here struck me as insane. Super narrow roads where I was terrified to pass any cars coming my way out of fear of hitting them or the wall to my left. Yet the speed limit is frequently 100km/h(60mph) and it only changes in proper villages. If there are just a few houses on the side of the road it still stays at 100. I was terrified on my first to days if driving here (the whole driving on the left thing didn't help really either). After a while I recalled that that's really how it worked in rural Germany as well when I learned driving. Frequently the speed limit will be really high, much higher than you could actually drive. However, there is trust that drivers know how to drive a car safely given the conditions they can observe. Very interesting and different approach.
I once traveled to a conference with my PhD supervisor, and I confessed how slimy networking was making me uncomfortable. He said, without any irony: 'you're not here to network, you're here to make friends!'

Treating it that way, just be honest about what I do, what they do etc. definitely helped me make a bunch of friends, if they're useful for my career it's an added bonus.

(If you're a supervisor reading this: please make sure that if you're at a thing with your students, take pains to go around and introduce them to as many people as you can, it helps tremendously)
Those forces are actually pretty well behaved and can be readily measured and accounted for. Also, light sails have a order of magnitude less power, and the Pioneer Anomaly [1] was smaller yet. Space is probably the best place to test something like this.

[1] https://en.wikipedia.org/wiki/Pioneer_anomaly
RAD Studio 10.2 Tokyo Support in Updated SecureBridge
25 TED Talks That Will Make You a Better Entrepreneur
The saga of a YouTube family who pulled disturbing pranks on their own kids
Yes! Fantastic. Typescript interfaces are a great way to specify JSON schemas, much friendlier than eg JSON Schema and the likes.

Now that TypeScript is gaining traction it might be a great moment to start documenting your REST payloads with it instead of eg JSON Schema or just some JSON example blobs. It's very readable even for non TypeScript programmers.
Why is the protocol broken ? Is there something that doesn't work ? Perhaps you mean to say complicated protocol ill-fit for modern times ?
I can recommend to use Hugo [0] as a static website generator.
They have plenty of themes [1] to choose from. You can still adjust it with basic knowledge in HTML/CSS. Afterward you can chose where to host it. You can use Github Pages [2] for free or pay for a service like DigitalOcean [3]. I wrote a technical cheatsheet [4] on how to setup your own website with these ingredients.

- [0] https://gohugo.io/

- [1] http://themes.gohugo.io/

- [2] https://pages.github.com/

- [3] https://www.digitalocean.com/

- [4] http://www.robinwieruch.de/own-website-in-five-days/
3 years of development, open sourcing and auto migration to a new app made by the purchasing company and lead by the original founder.

Not sure if all the functionality was kept but really I think one of the better acquisition and eventual closing of a Saas app I've heard of so far.
Oh that's excellent to hear. Openly usable formats are great.

Most of the slickness of Sketch is in its UI though, it'll be tough to replicate. Do you know of any project attempting to do so?
The fact that this entire comment could have been written by (for example) a flat-earther in response to criticism of their flat-earth beliefs makes it difficult to understand what kind of "facts" you are disappointed that people hold so dearly to, and what kind of facts you believe change over time. Depending on your response, I might agree entirely with you or disagree entirely. I understand that human knowledge is inherently fungible, and therefore sometimes what we previously understand as facts can change. However, that does not mean that I can decide that the Holocaust didn't happen, for example.

The truth is generally not up for interpretation by any person who feels it should be. Critical thinking is actually a thing, and the lack of it does actually result in believing false things. If someone told me that I'm not applying critical thinking, then my response would be to ask for specific details on what aspect of critical thinking I'm not applying and exactly where I'm getting things wrong. What I would not do is respond by criticizing the idea of critical thinking itself or tell them that they need to consider alternative facts.
Not nearly that significant! I wish!
It wouldn't really though would it?

Everyone who had the app on their phone already would still have it and Uber would end up updating to comply pretty quickly.
Doubtful. Maybe around $1500. Computer parts really don't get that much cheaper year to year. In fact, they go up sometimes.

CPU + Mobo + GPU + RAM + SSD is going to run you around $500 + $200 + $300 + $200 + $300 = $1500. Rest of the components probably run you another $500. So for those exact specs, it's at least $2000 in parts today. You can probably get slightly worse stuff and do this for ~$1500.
REPL (Read-Eval-Print Loop) is an interactive way to program. You feed bits of the program line by line, in contrast to compiling a bunch of files. This is kinda like giving instructions live vs writing down a list beforehand.

When solving some problems, it's easier and quicker to use a REPL to get something that more or less works, and then to copy the working bits over to a proper source file to reuse. Before this React Sketch, Sketch.app was just the equivalent of the REPL, where you'd only store the result of your work, and not the process. Now you have a way to, as soon as you're happy with a design you drew by hand, write the code to generate it in order to reuse it in the future.
The Swiss topographic office map has a similar feature "Journey through time": https://map.geo.admin.ch

Here zoomed in on one of the big glaciers, which shows how it retreated:
https://map.geo.admin.ch/?topic=ech&lang=en&bgLayer=ch.swiss...
Samsung develops emoji-based chat app for people with language disorders
I'm in this camp too. Always happy to email back with info to help someone, but not always interested enough to want to meet up, or might just be busy. If you give people the option of either, they can choose what suits them best.

I also vastly prefer email over calls.
C# is, among GC languages, particularly bloated with regards to memory. There is huge amounts of runtime type information (including stringified versions of everything) and you have close to no control over memory management without hooking into ugly APIs. I wish that Swift or Rust had been usable early enough to get swept up in the hype train so that we could avoid this crap. Also, it would mean I didn't have to use OOP to write games.
'The statement at issue need not directly implicate the witness as long as it "furnish[es] a link in the chain of evidence needed to prosecute the claimant for a...crime." Hoffman v. United States , 341 U.S. 479, 486-87 (1951).'

http://corporate.findlaw.com/law-library/taking-the-fifth-am...
"However, you don't need to have strong evidence behind a technique for it to be worth trying – if the upside is high enough or the costs are low enough, it could still be worth it."

Well yeah but there's literally 1000's of books like that on Amazon - if yours isn't different, then why bother?
I agree with you in principle, ideally there should be no feature separation but supported versions.

But given the current culture of even large profitable companies just using open source projects without giving back - see the HN story about Github and Redis - and let alone contributing but even giving credit, some open source companies have no way to earn any revenue. They may then have to resort to this to support their development which ultimately benefits all users.

Nginx is a highly regarded, widely used and high performance web server. As a long time user I would not grudge them trying to make some money to support and improve the project. As is Haproxy. I think there is room to accommodate both models and we are just incredibly lucky to have 2 such high performance projects available as open source.
My Biggest Rich Asshole Moment
I'm not afraid of what Toki Pona is now, its the whole reductionist attitude("one picture worth a thousand words") that strips semantic load from communication, restricting the communication to "just fundamentals" as if we meant to be a primitive culture that can't express complex ideas. You can see this attitude with emojis and SMS-speech, which both reduce the intellectual effort to level of pre-school chat, which feels less of a cognitive load than full communication of adults. Its like a mind-virus that makes you less inclined to form complex thoughts, or anything more expressive than a pair of emojis.
Toki Pona is essentially a set of about a hundred emojis in text form. When there is semantic gap, Toki Pona users have to juggle around and combine their emoji-words to get a generic feel of the idea, just like emoji-users have to deal with limited conceptual space by composition.
Dr. Phillip Karber Explains Russian Operations in Ukraine [video]
I believe there are sleep issues with the new Pascal cards, or has this been fixed?
Convert MP4 for Playing on Android Phone/Tablet
This is Nim vs C#, not Nim vs C++. If you're writing hot loops and graphics code a GC is utterly anathema to your goals. I think given 5/10 years Rust will be the language of choice here, but the ecosystem is nowhere near good enough yet.
I wanted to like HAproxy but the lack of support for in-place zero downtime config reloads without resorting to witchcraft was a showstopper. Use case for us a service discovery load balancer for Mesos/Marathon where frontend/backend config can change as often as every few seconds. Never had any issues with nginx.
Show HN: WhereHop, data-driven travel recommendations
Hi guys, wanted to show my (few) weekends project: http://wherehop.com

A free app for you to basically see the best neighbourhoods to live in in many cities around the world. It uses data pulled from various sources to rank the best areas to live. Let me know your thoughts and how it can be improved.
It wasn't dead by the end of the second day. It could probably go 2.5 days. I reckon if I had a few quiet days it would go for 4.
Is this like, the fine print?
In the Soviet Union as it was falling apart.
People whose 'brain age' is older than their real age more likely to die early
Whatever's the cost, Uber should make it right for the guy's family.
Convert Samsung NX1 H.265 Videos to H.264 MP4
The display hasn't come down in price much. The problem today would be sourcing some these parts I guess. It would be cheaper though. Or so I believe, haven't checked SSD prices recently.
Why You Should Never Buy Email Adresses
Developer crypto mistakes
The Industry 4.0 – new generation of Smart Factories
Backlash after report claims saturated fats do not increase heart risk
highway 5 between sf and la is notorious for this. it's a 2-lane highway and the right lane is filled with trucks, so all cars go in the left lane. passing is some crazy game where you try to get around slow cars in the left lane while trying not to get stuck behind a truck. it's just awful. rush hour makes it even worse.
> No existing regulations (unless at risk of being in flight path).

Obviously you haven't had your flight lessons yet. Not only there are scores of airspace regulations, but flying is a much harder task to do as well. The freedom you're thinking off is akin to freely driving in a 4x4 on an open ranch, which has more to do with joy, and less with transportation needs.
The Pioneer Anomaly was only detectable over several decades and a journey to the furthest reaches of the solar system. I'd expect a useful propulsion system to produce effects quite a bit more detectable than that.

This effect is about 1/25 the power efficiency of the lowest power ion thrusters. Output at this level over a very long period might be useful at the interplanetary level and maybe at geostationary altitudes, but the low earth orbit environment is actualy highly variable and unpredictable at this scale of effect.
I personally find a prop to be a perfectly acceptable solution - you can define styles in your JS and share between components if need be. But I reckon there are folks who'd prefer passing class names to define their styles in CSS.
Red Hat Signing Bonus (1996)
> Signing bonus: Nerf Ballzooka, a six pack of root beer, three packs of Oreos, and a t-shirt. Oh, and a hat too.

https://web.archive.org/web/19961226193255/http://www.redhat.com:80/redhat/jobs.html
The penalty is about 25% for my setup, but I'm still using a TB2 MBP and an external SSD on the same TB port. I think that's fair but of course with TB3 the performance penalty should be less.

But there are unfortunately other things to consider. In my case the Echo express enclosure is not made for Graphic cards and you have to modify it to make it work - done in about one hour when you are really careful. The wait for Pascal drivers was sad. Other than that the only other thing that comes to my mind is that you cannot remove the MBP from the docking station before shutting it down. (I have read that sleep should also work but it does not for me)

Edit: If things work really depends on the exact setup. I have just seen the video posted in another comment (https://www.youtube.com/watch?v=yho3rCNfzGE) and it looks like I have just been really lucky with my setup.
Yes, you can run Pascal: https://www.youtube.com/watch?v=yho3rCNfzGE (comparison with AMD, using external GPU enclosure)

...but you might not like the results under MacOS

(Edited for typos)
Are U.K. Traders Getting an Early Glimpse at Government Data?
Maybe airport could be written as "tomo pi tawa kon"?
OTOH, a limit of 70mph might be too high for my granny. And 100mph is a joke for somebody with racing experience. Who do you design for? You are very responsible and everybody should behave like you; but what if you get diminishing safety returns when driving lower than 90mph because your reflexes are good enough? Should you get fined for driving 90 then, and my granny (who can barely handle city traffic) is not fined for driving 70 while endangering other people?

Edit: Forgot to add my favorite solution: Add a very high, hard speed limit (130mph?) on all streets, and let traffic signs serve as recommendations.
Obviously, also limit to walking speed in neighborhoods where kids play in the streets, or city centers.
I second that. We had hit the same problem with our mysql database a week ago and a manual restart was needed to fix the problem.
And again, because everyone thinks a speed it's safe doesn't mean a speed it's safe.

People may believe it is, but phisics laws are hard to fool. Meanwhile people are well known to not understand risk and probability.
Java only failed because Sun didn't care enough for pushing it into game developers after their initial presentations. Actually they didn't care for any other scenario that wasn't JEE, in terms of putting resources into it.

Switching from Assembly into C, Pascal, Modula-2, QuickBasic was mostly an amateur thing until SDKs started to be based on C.

Same with C++, we were the outliers until console vendors started pushing C++ into devs. See Mike Acton's talks about about how he enjoyed having been forced to move from C into C++.

The thing with GC is not the freedom to manage memory, you still need to take care about how memory is managed. What one gets is type safety and an uniform way to manage memory across libraries.

You know exactly who is responsible for releasing it, there are no double deallocations, releasing invalid addresses, or having to deal with library specific smart pointers (CPtr, QSmartPtr, unique_ptr, my_in-house_ptr, ...).

> due to cache issues, SIMD issues, off-line vs JIT quality issues etc

Having a GC doesn't preclude lack of support for cache handling or SIMD.

Many GC based languages have such support and actually C# 7 with Microsoft's toolchain (not Unity's one) does offer such features, even if they can still be improved.

As for JIT quality, it is no different from any other compiler, otherwise as I referred, why not discuss C performance using MS-DOS compiler's benchmarks.
FYI, "carcel" means "prison" in spanish.
Opening IT company in Serbia
I'm willing to open a branch of our main company in Serbia. Someone as some feedback about it?
Smart Ride: use Uber without smartphone
Finally we can have minor updates on the front page. Yay to those with 500+ karma & who let this go up up & away....
Am I missing something about the title - because I've never seen Epicurus associated with hedonism until I read this article. In fact, I don't think anything about his philosophy or lifestyle can be associated with the term hedonism as it is commonly used.

He was a vegetarian, never married and never had any children. I don't see any evidence of him being a sex maniac or advocating free sex or anything like that.

He simply believed that the good life is the absence of suffering and that ethics means minimizing suffering for both oneself and society at large. There is nothing hedonistic about that.

I think there might be a little bit of clickbate going on in the title. The article itself doesn't really elaborate on why Epicurus was criticized by medieval christian philosophers or where their differences were. In fact I think it does more to misrepresent Epicurus than it does to actually edify about him. I think this is just a really bad article.
In Chinese, an airport is a "airplane field" and a airplane is a compound of the word for "wood" and "table.