skysight-inc/HackerNews huggingface dataset:
The way you write code I wouldn't trust you with any language really. You give 6 lines of code and it has display of all the worst practices that I haven't seen since I read a 13year olds tutorial on the language back in 2003.
If you look at the remnants of the earlier chans (created between 1 and 3 years after 4chan) which never really gained much momentum, you'll see that they had a much different culture at the time. In a way I wish we could return to this idea of the "small chan", as a way of escaping the grinding politics and hate culture that's on some boards (like /pol/) which tends to leak over (jokingly or not) to the other boards.
WebWorkers have nothing to do with threading. They will not let you share memory, and this means that you waste time on seriazlizing/deserializing anything you pass to them, so from optimization point of view, they are more like processes. This makes js completely unsuitable for things that are data-heavy and cpu-bound (just cpu-bound may work, but it still not the best choice).
>JavaScript suffers the same hate today..

The difference between Php and Javascript is that Javascript have competent people driving it forward. Php is still developed by college students with no real world programming experience, in their spare time....

Downvotes? Don't think this is true? See the following. These are couple of most prominent people working in the language.

[1] https://nikic.github.io/aboutMe.html

[2] https://ajf.me/
I read threads here and on reddit and found it interesting that on reddit the consensus was that apple handled it quite well and according to the evidence they had and that the dev should have realized why he was on the hook. Plus the taping of the phonecall and subsequent publishing was also not the way to do things.
Also - the article gives the impression that colder is better.

While there's some truth to that, it's not about how cold you get it, it's about how consistent the temperature is, as for a given CCD noise will usually be the same at the same temperature. I take darks only about once a month or if I notice a new hot pixel on an output - I take them at a range of temperatures, so that depending on what the weather is like I can choose a temperature for light frames, and then just use my pre-cooked darks.

Out of interest, unless you live in a desert, how are you setting to -40 delta without the thing freezing?

As to "why is this here?" - Astrophotography is a great hobby that'd likely appeal to the HN crowd. Sitting out under the stars spending hours doing very fine polar alignment, only to get a few dozen exposures, while worrying about everything from dew to wind to beetles climbing your tripod legs, and then days in startools, DSS, and all the rest, seeing just how much information you can squeeze out of your often slightly blurry light frames.

I actually almost enjoy the DSP end of things more - there's something ineffably cool about starting with the same set of input images and getting radically different results depending on how you treat them. I mean - stick a drizzle filter on your image, do a wavelet sharpen, lift your jaw from the floor, as it seems like you've just done some CSI style "ENHANCE" shit. Here's an example of what you can start with, and end up with - I'm really not too good at this and only have limited kit, but it's still exciting. This is the dumbbell nebula, shot on a windy night with a full moon - I shouldn't have bothered almost, but the final is still decent considering the garbage input. http://imgur.com/a/tyZ4j

Anyway, ramble aside, the more folks who are aware of astrophotography the merrier. It's just too much fun.
It's great for obscure cables and such too. My wife has a Nexus 6P, so I got her a shiny new USB type-C charging mount for her car. I still wanted to be able to charge my micro-usb phone in it though, so I wanted a USB-C female to micro-usb adapter. You'd think those would be available, but they're really not, because 99.9% of people who want such an adapter need it to go the other way. Found them on aliexpress though, for about 5% of what I probably would've been willing to pay. (I bought three, in case any were defective or got lost, but they all work great.)
Preventing Ransomware from Infecting Your Network
https://www.youtube.com/user/codemynet

Lots of great tutorials, and cool guy.
Evernote Admits Bug Caused Data Loss for Some Mac Users
I'm 100% with you on Relay being overcomplicated. My first project with it involved a lot of set up and the other frontend developer completely gave up on learning Relay entirely.

In contrast, for a newer project I used Apollo and was up and running in no time at all. It's very easy to reason about, but also gives you great React integrations.
Some of the replies to the thread show mistakes in the paper.

For example, Zimbabwe is marked as very active and very hateful. But it's probably just people with a VPN: doing that to get a "controversial" or "funny" country flag is a thing.
Never underestimate the edit-compile-test loop. It has an huge impact on productivity.
Throwback Thursday: Fujifilm F10
Erlang/Elixir would have a word. :)

The catch are couple.

First Concurrency is _hard_ and relying on the OS scheduler would have been really har don ressource until recently, which is why nearly noone did it.

That used ot be a wart of php, only hidden by Moore's Law and recent work on OS schedulers.

But yeah. Erlang do this since the 80s
i decided to give it a shot and forward them my hotel reservation, about 10 minutes later i got an email telling me they found the same room for 16.8% less than the price i paid. they provided me a link to hotels.com where i found the same deal in a lower price.
well done
I think in this case it's made worse by the wording "selling X Y" as a substitute for "selling Y to X" being relatively rare and in this case both X and Y being compound words (surveillance company and user data).

So not only is it a crash blossom in the sense that it's ambiguous whether it's [surveillance] [company user data], [surveillance company] [user data] or [surveillance company user] [data], but it could also be read as [surveillance company user data]. There are at least four possible ways to attempt to parse the sentence and the only one that makes sense relies on unusual phrasing.
CNLohr never fails to amaze me with his ESP8266 hacks or his OpenGL voxel/raycasting experiments.

https://www.youtube.com/user/CNLohr

Not really related to best practices though, but he has done some nice things with the ESP8266.
I started developing profesinally 2006 in a shop that used CVS, they always said they want to switch to SVN.

I also used Mercurial at Mozilla.

But besides those two, I always used Git anywhere, almost felt like a IT-industry standard to me.

The only thing I read was that Perforce was a big thing in the game-industry.
Experienced Flynn last year, we spent about 2 weeks making it work properly with our solution (We had a complex SaaS solution hosted on Heroku, with tons of addons).

We had some very bad bug that happened at the time (like deploying a new version made the dyno crash and we had to deploy a completly new environment).

Other than pretty bad bug, it was working properly, and did what they sell.

Good point is that the dev team is very responsive and we reported a bunch of bug that got fixed in no time. They also have a smooth updater when a new Flynn release came out, side bad note is at this time, it was kinda bugged (because of our specific setup).

For all those reasons, we choose to stick with Heroku at that time (we also tried Doku https://github.com/dokku/dokku, various AWS services such as BeanStalk, and DEIS http://deis.io/), but for sure it was the best candidate out there and I would love to give it a try again.
Very cool. Didn't work on Android (Chrome) either in GPU or CPU mode.

Usual tricks like pruning the model and quantising to 8bit should get the model sizes down significantly from 100mb. Or using an architecture like squeezenet
You cannot do any kind of Domain Driven Design with dynamic typing.
In F# you can have a type email address and it will be impossible to pass an unverified string there.
It has to be a valid email address, and you will know it at compile time.
Good luck to try to achieve the same effect in python without writing tons and tons of useless tests just to check the type.
And if you can keep all the type of your system in your head I don't think you ever worked in a real system.
>A specific example might be "serialize this json type without having to annotate the fields with how to serialize them".

https://manosnikolaidis.wordpress.com/2015/08/25/jackson-wit...

That is a property of the library not of the language.
In Germany, we used to have a VK-like social network aimed exclusively at university students that was big before Facebook even appeared. To this day I have no idea how that died so fast and hard, and how Facebook managed to overtake it when it hadn't even translated the interface. Ze English izn't zecond nature to all ze Germans.
Yes, The worst part is that it will make you worse developer. It is like drinking a lot of soft drinks, side-effects will kill you.
Indeed. From Wikipedia:

In the liner notes to 1975's The Best of Leonard Cohen, which includes the song, he mentions that the famous blue raincoat to which he refers actually belonged to him, and not someone else:

I had a good raincoat then, a Burberry I got in London in 1959. Elizabeth thought I looked like a spider in it. That was probably why she wouldn't go to Greece with me. It hung more heroically when I took out the lining, and achieved glory when the frayed sleeves were repaired with a little leather. Things were clear. I knew how to dress in those days. It was stolen from Marianne's loft in New York City sometime during the early seventies. I wasn't wearing it very much toward the end.
How does it take eight people to write this paper?
Inference is what this does
The benchmarks test both the hot cache and cold cache scenarios for npm and Yarn. Except in the scenario when node_modules is already populated and there is no yarn.lock file, which is uncommon if you're using Yarn, Yarn is faster than npm in all of the benchmarked scenarios where there is a cold cache.
Channels for data structures and algorithms

https://www.youtube.com/channel/UCZLJf_R2sWyUtXSKiKlyvAw

https://www.youtube.com/channel/UCMNkvKnD3mo3Jj9eTwJllWw
AKA, REPL: Read Evaluate Print Loop.
Slightly harder to kill or physically harm someone with a software bug though. Bad food can be catastrophic, although fatal results are rare.
Six Sigma of SEO: 5 Methods for Scaling Enterprise Operation
Well done with room for improvement. Please add a remote/onsite switch. Other useful switches would be full time/part time and employee /freelancer. I'd go for remote, part time, freelancer so I won't use a service that makes me skim through hundreds of job listings before finding the one I want to see.
Heh, this mirrors my experience almost exactly, except with Nintendo Wii / DS accessories. The day Google banned R4 cards on Google Shopping was pretty much the day the entire business died. I still have a big box of stylii / cases / plastic Wii controller accessories that I haven't had the heart to throw away. It even moved house with me. :)

Completely unsustainable (the tiny margins I did make would have been completely wiped out if I was paying proper taxes) but did teach me a lot about business.
Text is not "raw data structure" and you may want to think twice that by manipulating text you touch the "data".

From the sidelines, your approach is "all I have are nails and all I need is the biggest hammer you can get me".
That's cool about Docker images. Cloud Foundry has a binary buildpack, and the Java buildpack deals with .jars, which means slightly lower complexity for the end user than needing to roll a Docker image. CF does Docker too now, which is nice for compatibility, but I think people are missing the point by deploying images instead of apps.

Fair points about BOSH, it's got a steep learning curve (cliff). I'd love to see Cloud Foundry have an install experience that's along the lines of "Hey, here's some IP addresses and an SSH key. Go install yourself there."
I think it's more about uneducated votes (which you could argue are unqualified), but I wouldn't want to impose voter suppression laws to fix this. Hopefully they can come up with a way to educate people enough that it raises the quality of the votes, without reducing them quantitatively. :)

We see this kind of thing in The Netherlands too (which I'm from); a referendum about a trade agreement between Europe and Ukraine. Large amounts of "no"-votes were based on the argument that Ukraine shouldn't become a member of the EU. Which is really not what the referendum was about.
Although in this case it's maybe less uneducated and more fear-based.
I don't think it deserves a special name. Would you use a special term for the fact you don't need to specify that the sum of two ints is an int?
Yarn javascript offline package manager is available
Coding for Entrepreneurs: https://www.youtube.com/channel/UCWEHue8kksIaktO8KTTN_zg

Depending on your level, it might be quite basic, but the titles of the videos are simply superb, and each video deals with a concrete topic so it's easy to follow along.

Not Youtube, but /r/watchpeoplecode has some great videos, often from Twitch: https://www.reddit.com/r/WatchPeopleCode/

Next Day Video has some great talks: https://www.youtube.com/user/NextDayVideo/videos

Not coding, VPRO from the Netherlands (English language) has some great "hacker" interest documentaries, e.g. the future of renewable energy, growing vegetables under LEDs or high frequency traders: https://www.youtube.com/user/VPROinternational/videos

Hardware hacking (admittedly I haven't watched it much): https://www.youtube.com/channel/UCfo1-oOnGqp1UgygGqlZL4A/vid...

CGP Grey: https://www.youtube.com/user/CGPGrey/videos Great

For coding/concerntration music, this music has some really nice electronic music: https://www.youtube.com/channel/UCqaay_q0YERQBEg4o5EjvZw (warning the "cover" images are quite porn-y and NSFW, but the music is good)

EDIT: Mighty car mods is a hilarious pair of lads from Australia, they do funny and informative car mods to some sweet Japanese cars: https://www.youtube.com/user/mightycarmods/videos

Jeorg Sprave is a German guy who makes truly insane catapults, slingshots, bows, cannons, modified Nerf guns, etc and demonstrates their use: https://www.youtube.com/user/JoergSprave/videos
China says Facebook is welcome?
In "Death’s End", that’s a science fiction book by Cixin Liu, they use a variant of nuclear propulsion where the nukes are pre-distributed throughout the Solar System instead of being carried by the ship itself. This could free up even more mass and make room for an even bigger magnetic sail to be used for deceleration. Later in the same book, and much later in the fictional timeline, they build a circumsolar particle accelerator, which is easier than you would think [1], and this could be used to produce massive amounts of antimatter in space with a lot more propulsion power than conventional nukes. So I remain optimistic. It’s by the way a remarkable series of books that will freak out a lot of hackers, I recommend sticking with the series to the end.

[1] https://books.google.dk/books?id=A_1oCAAAQBAJ&pg=PA451&lpg=P...
que buena idea
Do people think it will be better under Clinton?

Her IT guy running to reddit to ask tips retroactively change email sender information in outlook archives days before they had to give them to the Feds.
And I am sure he didn't do that on his own but was tasked to do that from inside the clinton campaign.

It really baffels me that the FBI said they found evidence of intentionally wrongfully handling confidential information but that they would not continue to investigate.
And Clinton actually admitting to it basically just saying "oops, my fault. wasnt a big deal, right?" And that this was the end of it.
I am more than sure that anybody else in that exact situation would already be in jail or at the very least standing trial for this. There is no way someone else would have been let off the way they let Clinton off.
Need a fast VR prototype? WebVR might be the answer
Apple Store fires staff for stealing customers' private pics
Check out the Winograd optimisations used in Nervana's neon - very fast

https://www.nervanasys.com/winograd-2/
And the half that didn't know where much worse programmers than those that knew?

Your example shows that not every programmer has to know that.
Still it can be improved and it is nice to see work being done there.

For me, the sweet spot would be the compilation speed of Delphi, .NET Native and similar languages.
Another way to stay below those razor thin profit margins is to hire cheaper chefs.
Nobody is denying that better educated chefs make better pastry. But if 'edible' pastry is good enough for your average customer, then it might be a more profitable strategy to cut down on the labor costs.
I'd guess because sort implies an ordering, which, when total, implies a distance.
No, a REPL is an interactive program, whereas the ECT loop belongs to the workflow of programming.
> You can spend 30 minutes watching youtube videos and learn how to write basic code. It won't be glorious but it will work.

Mmmmmmmaybe if you're writing boring CRUD (and any non-YouTube educated engineering would probably think of automating this). Fortunately there are much more interesting problems that can take an entire team of world-class engineers to solve, working gloriously or just barely.

Some code really is hard to write.
I like the low cost idea and approach. rly neat!
You're exactly right. I was asked some of these exact questions yesterday. The guy should have realised what he was dealing with, the recruiters don't claim to be technical, and the questions are flagged as being straight forward pre screen questions.
Surely you see a correlation between pastry quality and profit? I can name a couple of places that I go out my way to visit (and a couple I avoid). Surely most people can? The places I like have queues, sell out of stock and one has opened in a second (more expensive) location. The ones I like charge premium prices.
Download PDf from issuu
A free tool to download any document from issuu as pdf file, you can also save any page from it as jpg also, check it out http://issuu-pdf-download.tinker-tools.com/
> Perl is expressive.

Sure, but I was talking about the expressiveness of the type system, not the term language. The expressiveness of a type system lies in how much it tells you about your program, without having to actually run it.

> Rust has weakened its typing

I was trying to use reductio ad absurdum to question the validity of your definitions. I expected "Haskell is weakly typed" and "Rust is weakly typed" to be self-evidently false propositions.
Looks great, the UI maybe need some improvements but its a nice idea
We programmers all know the cost of context switching: any question asked, any joke, any comment, any interruption made during a programming session is killing productivity.

I am as fast alone at my side project as at my (open space) office, despite the fact that I only spend 4 times less time.
I think there is a great opportunity in using GraphQL as a unifying entry point to legacy systems. In fact, when I talk to people at meetups and conferences, this is a topic that is almost always brought up. Companies that might have previously considered https://apigee.com or one of their competitors now ask themselves whether they should rather adopt GraphQL instead.

When thinking about building a GraphQL entry point there are 3 main areas you will have to consider: Performance, Authorization and Complexity.

GraphQL is designed to be backed by arbitrary storage, so it would actually be feasible to have a bunch of GraphQL resolve functions that just call out to existing REST endpoints. To make this performant you need to implement a proper batching mechanism like DataLoader in node or Sangrias Deferred Resolver.
If your existing api has automatically generated docs in a format like swagger you might even be able to generate the entire GraphQL schema from this :-)
Building a factory is a social contribution. More generally factories are (usually) subject to the normal laws of supply and demand: if they get too expensive, people can build more, if there are too many people can convert them into housing etc.

(if we have a fixed supply of factories e.g. because of zoning laws then it could become a case of economic rents. But the simple solution there is "don't do that then")
I've thought this for a while, that it's actually quite strange to charge for public transportation. It's a tax on people who do the right thing, and it would be much more natural to finance it with congestion taxes or gasoline taxes, or other taxes targeted at people who don't use public transportation. Or just from general local tax revenue.

The charge for public transportation is also quite regressive. Everyone who uses it pays the same regardless of income level (which means poor people pay a much higher share of their income), and poor people are more likely to use public transportation anyway.

Also, removing the charge also saves a lot of public transport infrastructure unnecessary. No more turnstiles, no more ticket-checking people! I guess additional security would have to be hired, but I think in the end it would probably lower costs and increase efficiency.

This is a good idea, more cities than just Tallinn should try it.
I'd add the mini drones and MicroUSB / Lightning cable as well. Saying these people aren't innovative is really doing them a disservice.
I hit my singularity when I realized that you can take as much time off as you want if you are prepared to take it unpaid.

1996: 3 weeks
1998: 10 weeks
1999: 4 weeks
2000/1: 20 weeks
2002: 6 weeks
2003: 36 weeks
2004: 32 weeks
2005-2010: ~36 weeks (9 months)/year
2011-2015: 12 weeks

The work equation changed to: (how much do I need to travel for another 9 months) / (hourly rate) = (hours I need to work on this next contract).

I recently went heads down for a few years, when kid #1 was born, working as close to a full-time gig as I can bear to sock away college savings, pay off houses, and get my product businesses to the point where they support the family full time. But now you can stick a little Infinity symbol at the end of that chart.

Software is one of the few professions where you can effortlessly switch back and forth between High Paid Professional and Dirtbag On The Beach. For months at a time, for years on end, without harming your career or affecting your retirement savings.
Presumably less wastage leads to more profit and a growing customer base means higher prices can be charged?
So how would you describe the experience of languages that offer both a REPL and also have integrated toolchains for AOT compilation to native code?
Converting Firefox Test Pilot to a Static Site
Tag Dispatch: Useful Empty Classes
Is it important to write tests when you're coding for yourself?
In conclusion, allocating memory is expensive, regardless how it is done. :)
> and we all agreed, without a doubt that their is no substitute for human contact

it depends on the context. Slack is replacing human contact for me, today, because I've decided not to show up at work since I can communicate (sometimes more effectively in writing than in speech) with my cofounders on our product development.

And the same can be said for social media, email, etc. They are different experiences, perhaps inferior to human contact if certain things the experience offers (again, depending on the context) matter more than what you get in other experiences.

My sister is studying in Europe. It will be fun to VR chat with her, rather than use a phone or WhatsApp.
Но что мешает реализовывать back-end на языке Dart?
Может быть убогость сопутствующего программного обеспечения?
Вероятнее всего, да.
Хороших драйверов для работы с базами данных для него днем с огнем не найти.
Thanks for you comment, i decided to try after i saw your comment and i got 9% discount :)