skysight-inc/HackerNews huggingface dataset:
Yeah this is just a bizarre and selfish way of treating others. If you wronged someone, apologize. It has nothing to do with whether they will accept it, and certainly not with how well you know them.

Say you were texting and killed a kid crossing the street. You don't know his family and the mother will not accept your apology. Perhaps she even goes on TV crying about the person who killed her baby.

There are quite many cowardly individuals in America who would use legal reasons as an excuse not to apologize in a situation like that, and probably even a handful who would double down on this pathology and tell themselves the woman is "looking for drama". This is sad.
The article says it's about shopping experience, but I would be surprised if they aren't also looking at warehouse logistics. Put the clipboard into a HUD, etc.
does this not come down to using the right tool for the job?

I love writing in Python but would not use it for something where performance matters.
Hello, just wanted to stop by and say that Snap sucks.
Just because there is an inherent level of risk involved in an activity doesn't imply you shouldn't mitigate some risk if you can.

Driving is inherently risky - but I still wear a seatbelt.
Bit Hacking with Go
I get why phrased like that it can sound condescending, but really, "what do I use this for" can be a perfectly legitimate and innocent question. Personally, if I ask this, most of the time it's because I'm genuinely intrigued and would like to understand it better, not to put the author down.
I bet this will be used for recruitment testing.
Proof of Work is the worst way to do a BlockChain
It isn't even like solar is the major renewable tech either. Wind, by far, has greater investment and (peak) power output.
The real problem is that everything is so concentrated - YouTube blocking something functionally censors it completely. On the other hand 20 years ago such a channel couldn't even really exist.

It would be more feasible if people were willing to pay for things like this, and that setting up such a payment system would be viable (yes I know that was what bitcoin was ostensibly meant to do)

Alternatively I wrote this but decided it was too snarky but I don’t want to delete it:

This is American dammit, we need to protect children from dangerous things like how to make gunpowder, kinder surprises, science, etc.

Otherwise when will they find the time to play with their guns?
You need to stop listening to mass media so much. When I lived in Canada there were stories of police corruption, unwarranted beatings and racism. If you think this is an "only in America" issue you're being incredibly naive.
If the ocean dies, so do we. The phytoplankton in the oceans is responsible for something like 50% of the Earth's oxygen.
> async/await means you mark all your yield points explicitly; rather than having the runtime implicitly preempt you whenever it chooses, you mark the points at which task switching can happen, and at every other point it's impossible (equivalently it's as though any block of code that doesn't contain an "await" were a critical section).

That's not how I understood it at all. I always assumed that it just promoted explicitly acknowledging when the effect of an async block would be present, but that the normal yield points (traditionally syscalls and IO requests in OS threads) generally still held for the actual execution of the other code.

I mean, if we aren't allowing separate code paths to execute (and thus reducing wait on resources such as IO), what's the point?
I think the comment was more along the lines of “did they block it because it purports to be education for children but it’s actually propaganda” which was last year’s “YT is evil” story :D
Ask HN: How do I replace Google Feed recommendations with Hacker News stories?
I routinely swipe left on my smartphone when I'm otherwise unoccupied, and see some not-so-interesting stories on my Google Feed. HN is a much better curation system for my interests; how can I replace the content in Google Feed with either a custom app or stories displaying HN content?
I've been using vscode for dotnet core development for about a month now and I haven't had any of the issues you describe :S. I am running an alienware i7 laptop though...
I think coderpad still makes sense here and it’s pretty common in my experience: it doesn’t require any local setup and is good for one-off problems. VSCode would be suitable for longer term work like live collaboration on a real project with lots of files.
ASN1SCC?

from https://essr.esa.int/project/asn1scc-asn-1-space-certifiable... :

> ASN1SCC is an ASN.1 compiler that was developed for ESA to cover all data modelling needs of space applications.

> The compiler is targeting safe systems and generate either Spark/Ada or C code. Runtime library is minimalistic and open-source. The tool handles custom binary encoding layouts, is fully customizable through a code templating engine, generates ICDs and automatic test cases.

https://github.com/ttsiodras/asn1scc

> This repository contains the complete source code and tests of the ASN1SCC compiler ; an ASN.1 compiler that targets C and Ada, while placing specific emphasis on embedded systems: no black-box run-time library, portable code able to run under any OS (embedded or otherwise), no dynamic memory used anywhere, etc.

See also blog post about it: https://ttsiodras.github.io/asn1.html
How so? Haskell has a very high performance ceiling.
Starman in a convertible made me smile like a little boy. Hope it lives on as b-roll
Something I often wonder in these sort of discussions is why C# is generally omitted. Its performance is comparable to C++, with none of the trappings. It also does an excellent job of integrating some of the most useful features of functional programming into an imperative language. And multi-processor programming with the language is also incredibly simple.

But I think the best part is in programmer time. An anecdote I find endlessly entertaining is on another forum I shared some code to solve a problem people were having an issue with, and it was assumed my code was pseudo-code. It was correct, compilable C#. And they're constantly adding incredibly useful features. For instance a recent addition is more expressive tuples:

(int number, string s, char c) triple = (2, "two", '2');
triple.number = 13;

And lambda functionality is similarly clean. A lambda value might be:

x => 2*x + 5;

Equivalently, as an anonymous method:

delegate(double x){return 2*x + 5;}

And an example of how simple arbitrary processor count parallel programming can be (using lambda syntax as above):

Parallel.ForEach(listOfThings, thing => DoSomething(thing));

Yet as typical in scenarios like this one, the author sees the decision as being between opposite extremes of C++ and Python. The only downsides of the language I've run into are a lack of some shoot yourself in the foot features of C++, like multiple inheritance, and the fact that template specialization is awkward. Garbage collection is vastly overblown. My main work is with projects that have in memory collections in the gigs of size and you'd think the collector would be a huge issue, yet it's mostly transparent and can be controlled if necessary - which in the vast majority of cases, is not.
Me too. I have heard from someone that used Haskell in production that lazy evaluation caused trouble in terms of achieving predictable performance.
Most current IoT applications are HTTP(S) and JSON. I'm not sure why in the future there would be big change due to increasing resource scarcity, as hardware is getting cheaper and more powerful all the time.
This part is so ridiculous!

The new version of IOS broke some of my apps so I went to submit feedback on those apps that Apple broke their app with their new OS and it turns out that providing feedback in the app store is also now broken!

I literally cannot do anything now because I cannot downgrade my OS nor can I tell the developers that Apple broke their app with the new OS version.
I recently discovered that pypy3 can run all my day to day Python code. It has some issues with slightly different behavior from cpython when using threads but other than that I see a 4x speedup on most of my slowest pure python workloads (parsing large rdf files and reserializing them after computing a total order on all their nodes). Huge win for productivity.
Yes, and I am definitely seeing this curve already flattening out for mobile. My current iPhone 6s seems usable with even very good speed way longer than my 3gs did.
Sorry, I didn't mean to imply the age group is the niche, nor actually did I mean to imply the value was niche either, hence the quotes. I typed the comment that way though because I think a large proportion of people over about 24 don't understand the value of Snapchat for various reasons, often beleiving the value is "niche".

I also put that cutoff at 19 for a reason based on my experience with others. I'm right on the border of millennial and whatever they decide comes after it. Most people my age used Facebook originally and evacuated gradually over the past 3-5 years. If you look at people 19 and under, they are barely to be found at all on Facebook since they would be aged 16-14 at the time of that evacuation, and thus have no need to evacuate if they never had an account they used in a significant manner.
Not saying you're wrong - you definitely don't get great performance easily in Haskell, but it seems to have better benchmarks than python, by a lot.
I read it as a compromise. I don’t think the author is primarily a programmer, but mainly uses high-level “easy” languages to do data science.

C++ would probably increases his development time significantly compared to Haskell.
Thank you for posting this!

What does your development workflow for CLJS browser extensions look like? Do you have to rebuild and reload the extension on your development machine each time you change the code? Is it possible to use Figwheel when writing browser extensions?
The laptop I retired four months ago (Asus 1215b) has 4gb ram and an AMD E-350 CPU (slightly better than an Atom back in 2011). Still I can open 100+ tabs in Firefox (on Linux).
How about you just give the person the benefit of the doubt they weren't talking about race or gender unless they explicitly called it out?

That would work to.
> This fundamental property of "show me only things from people I explicitly added, and show me everything they post (ideally in reverse chronological order)" is what many (myself included) seem to want from social media.

> Sadly, it seems to be directly at odds with what companies want

There is a companyless protocol for this exact functionality, RSS.
Introduction to AWS Fargate: How to build and deploy a web application
https://i.imgur.com/VrBII8Y.jpg

I've had the same running all day, to be honest. Having the 2001 a Space Odyssey soundtrack and Interstellar's soundtrack in the background is quite pleasant.
Somewhat tangential, but, is live coding with multiple people working on the same editor a thing? I feel like something like this would be incredibly distracting to get any actual work done, but I guess there must be legitimate use cases for this.
I would say that most digital ASICs have the logic proved in FPGAs first. While automated tools exist to go from FPGA to ASIC they are nowhere near as good as hand layout.

FPGAs are not going away as they fill the nitch where a CPU/GPU is not fast enough, but the quantity of units needed does not justify the cost of making an ASIC. Cheap FPGAs also replace glue logic in smaller run products.

Many different FPGAs exist for different tasks. Some include multiple ARM cores so your FPGA design doesn’t have to waste FPGA space on a processor. A few even have programmable analog sections.
There’s a project to plug different JIT compilers into CPython, so there’s hope. https://github.com/Microsoft/Pyjion/blob/master/README.md

Also, I’ve more than once seen cpython beat C++/Fortran since it’s easier to do the right algo/datastructure things, plus numpy is more optimized than most «amateur» C loop-over-arrays.

That being said, faster python is always welcome.
I don't think it's true to say that Python's core developers are uninterested in performance. Speeding up Python is a hard problem. He mentions PyPy but even that has only managed modest performance gains in some areas (and not without tradeoffs). He suggests JavaScript as a comparison but doesn't elaborate on how they're comparable beyond the superficial (they're both dynamic scripting languages).

I get that he's frustrated with Python's performance but it would be really interesting to hear from someone who knows the technology involved rather than simple speculation.
Polar Bear Pitching is an ice-breaking event for startups
I crashed a truck into a hillside a few years back. I came out unscathed, except for a small amount of bruising from the seatbelt. It was a hard enough crash that it ruined my phone, and my glasses flew off my head.

If I wasn't wearing a seatbelt, my head most certainly would've connected with the windscreen or the steering wheel, likely giving me a broken nose or jaw.

Which brings me to another safety tip, don't have unsecured items sitting in the back of your car. Because if you crash, they literally become missiles.
I don't like it that uber is coming to my country also and taxis are being deregulated.
Until now you could make a decent living driving a cab, and all the cab drivers were skilled and professional and trustworthy. If you forgot your wallet in the cab you could be sure to pick it up at the lost and found.
It just isn't possible to operate a quality servicde with uber's model and prices.
You will have unskilled labour for less than minimum wages, ie. they won't be able to afford to buy a home for themselves driving for uber.

This is key from the article: "Implicit in his testament was the anger he felt over the de-professionalization of his life’s work"

Somebody here compared this to elevator operators. Come on, what a silly comparison. Driving optimally in a city and finding your way and not crashing is actually a job that takes skill and practice.
You should probably try D then. It's easy to pick up and very powerful once you learn most of the language features.
Maybe go with a device that allows other browsers to be installed next time.
Something like this is already being done for made-to-measure apparel, e.g. https://www.mtailor.com/ for men's clothes and https://www.topologyeyewear.com/ for glasses (also - does anyone know if there's a service like this for women's clothing?). I do wonder how they're determining scale - seems fairly simple if you have two focal lengths, but these services seem to support single-camera phones as well. Are they getting data from the accelerometer to see how much you move your phone when you move it around your body/face?

The main problem now seems to be fully automating clothing manufacturing - it would be pretty cool to be able to scan your body and have a machine print out perfectly fitting clothes, no human required.
It's called being "Googley".
You want to know what the problem is?

No sane person would want to risk their life on a daily basis, wrestle people into their cars against their will on a daily basis, and be subject to the scrutiny you describe in your post, the hatred that is described in other posts, all for a policeman's salary. Literally no sane person would take that deal. Are you about to sign up to be a cop? Hell fucking no.
What wheel? Movable Type existed before WordPress.
I disagree - I don't watch any. However, it's a very widely-used phrase, which is what I'm commenting on.

It means something is so ridiculous, it could only happen in America.
It's like when you see people buying a rifle in Walmart - Only in America. Or when they're getting a one-gallon cup of Coke from McDonalds, or drive away from a fuel bowser with the hose still plugged in etc etc. These things can happen elsewhere, for sure, but it's an extremely well-known and common comment to make.
Yes, and it appears my cache was overwritten, unrecoverable. Google's cache also does not contain the proper post either.
The author is a scientist analyzing his data. I never met anyone in that crowd using C#. Are there even any good data science/numerics libs out there? C++ has a lot of number crunching libs, python even more.
I've come close enough to dying in the outdoors in other ways that I'm not concerned about getting the small chance of getting the shits from drinking from a stream that I'm 99.9% sure is safe.
Well, we have Vala. It compiles to C just like Nim and it's used for GUIs, although it's Gtk specific and some would argue it's not a programing language:

https://blogs.gnome.org/despinosa/2017/02/14/vala-is-not-a-p...
When I was taking a python class in school, the professor did something to generate C code from the Python code, and it gave something like a 60% speedup.
The thing I found hilarious: "You'd need to drink more than 7 liters of it to get sick"

That is a completely reasonable amount of water to drink on a camping trip...
Censorship is always negative.
Ubuntu 16.04

Why? Because it worked when I installed it.

I never got into the whole install the hottest distro each season phase, so I've never actually tried anything else (other than my work servers which are running Cent-OS, but I didn't have to bother with the hassle of installing and configuring those)
You can also lose weight by becoming addicted to drugs.

It's generally considered that the harms outweigh the benefits though, like giardiasis.
> I see a 4x speedup on most of my slowest pure python workloads

Heh, only 25..250 X to go. We did a direct line for line translation of some numerically intensive code from Python to C++ and saw a literal 1000X speedup. On other projects, it's been more like 100X slower. That says two things: first Python can be really slow, second, for some programs, Python doesn't really save on lines of code over modern C++.

I've been very impressed with PyPy however. In testing, it can sometimes sneak up to less than a factor of 2 slower than C. However, the bummer comes when it doesn't hit that mark and you have no idea how to trick the JIT to do better. If it works, great. If it doesn't, you don't have much insight into why.

Finally, I've always been able to get Cython to parity with C++. However, when I'm done, I wonder what I gained. The C++ isn't that much more complicated than adequately type annotated Cython.
http://sportslivebd.com/2018/02/06/south-africa-vs-india-3rd...
I'd rather deal with a decent cop in a tank than one on a bike who plants evidence. Hopefully the evidence farmer doesn't get promoted to tank commander.
It's hard data to get because people still have Facebook accounts, they just don't post on them. In order to get that data, Facebook would have to release it by choice, and good luck with that one.

Do an experiment though. Look at all your friends around 17-18 (hard if you're older to get a good sample size, but find someone who has friends that age if possible). Now scroll through their walls and see when you hit 2016. I bet it's pretty quick in 75%+ cases.

I just did it on the few I have (siblings of college friends). One took 4 posts to get to 2015. Two of those were blocks of happy birthday posts grouped together. I know all of those people are very active on Instagram though.

Now if you can, look at people ages 23-25 or so. See how much more they post.

This is of course only data you can essentially get from being young and having access to friends in both ranges. But I see it time and time again.
Software is moving backwards (alarmingly quickly). In 2009 my 2nd generation ipod touch was able to browse the internet, run complex 3D games and stream videos with no issues. It still works and still does all those things because I never "upgraded" it. Taking away features for a given piece of hardware is a regression. Give new software features to the people who have hardware to run them.
>He could help in any way a normal citizen could help someone in trouble until another officer arrives with a working body cam.

"Sorry madam I know the theif is getting away but I can only help as a normal citizen"

Or

"Sorry madam I cannot do anything just now I need my camera, if I tried to save her and it went wrong someone could claim I did someone wrong and a mob could then demand I lose my job based on only half facts"

>What’s wrong with allowing the public to petition for a police officer to be fired?

Because as you say everyone hates to police, that would mean you're local high level gangster could drum up enough support to fill the ranks of the police with cops who wouldn't touch them.

>Everyone hates the police. That’s the point. It’s a lot harder to curb stomp a kid’s head...

Also a lot harder to arrest those dangerous and violent criminals who will then take revenge on you, your family or property. But then I forget if you're a cop your family is fair game, because fuck cops right?
In the introduction video to VS Code Live Share, they showed the scenario of asking your coworker for help. Then together in the same editor you both fix the problem. I don't think it is meant that two or more people work at the same time in the same editor all the time.
https://news.ycombinator.com/
You might be eminently qualified to do the work but in reality no one works in isolation (unless you are Joe Hewitt [0]). So unless you can mind read, no one can say for sure if you will fit in with the existing culture to get the job done, a subtle aspect many people overlook.

A good example of a qualified hire quitting just after six months is Chris Lattner who quit because "... Tesla isn't a good fit for me after all." [1]. You are free to Google the personality clashes which made it difficult for him to continue at Tesla.

[0] https://medium.com/@joehewitt/entrepreneurship-or-lack-there... - original deleted but archived from Google's cache here: http://archive.is/1aDdk

[1] https://twitter.com/clattner_llvm/status/877341760812232704?...
Ugh. I have fond memories of pivotal guys being brought in and all they did was waste everyone’s time and money. They made sure everything they did was pair programmed for a freakin website.
I drink more than 2 liters per day as a remote tech worker, so I can definitely agree here.
Learn tricky parts of JavaScript especially for interviews
I think GPUs, FPGAs and scalar cores will all mix into a single fabric. As you mentioned, FPGAs are getting dedicated hard blocks, GPUs are getting scalar cores and CPUs are getting LUTs.

> However, I think an array of ALU's actually could be quite useful for some applications over an FPGA.

http://www.adapteva.com/announcements/epiphany-v-a-1024-core...

http://www.greenarraychips.com/home/documents/greg/PB001-100...

http://www.xmos.com/products/silicon/xcore-200
Pair programming is a good way to learn from someone with more experience.

It shouldn't be used to control what another guy is doing.
Twisted predates async/await syntax in Python.
Amen. The dismantaling of our US state run mental health institutions in the 80s and 90s (despite their warts) created many bad outcomes. Speaking as the son of a good nurse that worked these places prior to the purge.
It's interesting that people refer the same thing with "generators", "semicoroutines" or "stackless coroutines". (A resumable computation that doesn't have a growable stack)

On the other hand, "stackful coroutines" and "coroutines" without a qualifier often refers things with dynamically growing stacks.

It seems to me that the C++ Coroutines refer to the former, which likely complicates the terminology further.
I'm not a conspiracy theorist, but what is happening in the SpaceX livestream?
https://youtu.be/wbSwFU6tY1c?t=41m51s

At 41:55 the cam switches to a few frames where the car is no longer in space and looks like it's in some building and then switches back to normal. Anyone know why this happens? I'm kind of confused.