skysight-inc/HackerNews huggingface dataset:
It just struck me that TFA is published exactly ten years after Douglas Crockford's "JavaScript - The Good Parts".
It's true that performance is not always the main metric to consider but in this case I'm not really sure that Go makes that much of a difference. Take the "regex-redux" benchmark for instance, compare the two versions:

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

I don't find the code complexity obviously worse for the Rust version, yet it runs a full order of magnitude faster in this benchmark.
> Low powered hardware? You can give it more power.

That would mean a shorter battery life. Not all of IoT is mains-powered.
Dogecoin Miner
Koselig – Seamlessly Integrate WordPress with Laravel
It’s less Go doing something wrong and more just that they do different things. Go has a garbage collector which will naturally slow things down somewhat, while Rust handles memory (de)allocation at compile time.
Nothing in these results should really surprise anyone. Go is a good tool for writing networking services, but it is not (and does not intend to be) a systems language.

For another perspective, look at Go versus Python: https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
A guide to branching in git
How to Secure Your WordPress Admin Area from Hackers
This is great, but my first experience with it so far makes me wonder whether you wouldn't have been better off just creating a traditional game instead of using HTML5.

I really liked the aesthetic of the game, so I took a screenshot and wanted to share it with my SO over Messenger. When I opened messenger.com the game made the rest of my system start to lag significantly as Firefox started to peg my CPU. I guess handling this game and messenger.com at the same time is too much even for a fairly new MacBook Pro. It's a bit ridiculous that this is the case.

Perhaps the benefit of making the demo as accessible as possible outweighs this downside.
FYI:

This site is blocked due to a security threat.

demo.curious-expedition.com
This site is blocked due to a security threat that was discovered by the Cisco Umbrella security researchers.
> ga.js still sends enough information that Google can reconstruct most of everyone's browsing sessions on their backend.

Every time someone asks me to add GA to a website I get a little bit more bitter.
> Rust vs. C++ benchmark the results are much more similar

Not really... Try compare sources of those programs. For example spectral-norm uses OpenMP and other things that make source look really different from the one you would write in real life. Rust program looks much simpler and closer to real life code.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Oh, oops, you're right.
I didn't mind those lines across the screen. I could definitely see them but didn't find it bothered me. I couldn't go back to a non-retina LCD screen now though. And I suspect going back to my old FW900 might be something I wouldn't enjoy these days. But I remember at the time being blown away from it after having a variety of average to slightly above average CRT screens.

Actually, one of my earliest memories of using CRT monitors was my first PC (a Packard Bell 286) with the monitor having a dot pitch of about 0.3, or possibly even higher than that. The pixels were like bricks.

Eventually upgraded to a monitor with a dot pitch of 0.26 and I remember it felt like going from a standard LCD screen to a retina screen. It was quite the revolution for me at the time.
I find swift and python to be more elegant in terms of expressiveness. Only issue with swift is that it's ABI isn't stable yet and still not official support for windows (I think, will need to check this).
[video] Live coded Ruby performance controlling music and 3D graphics
Another angle where Rust is doing well is in peak RAM usage. Its memory usage is generally (although certainly not universally!) much lower in these examples.
Towards a GDPR compliant analytics strategy
No, certainly not perfect.

A great article from the author of higan (whose core OP probably used):
https://arstechnica.com/gaming/2011/08/accuracy-takes-power-...
Go seems to perform really poorly in the regex-redux. Against both Node and Python Go is way faster (as one would expect) apart from with the regex-redux..

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Does Go just suck with it's regex performance? Would this be easy to fix by just pulling in a C regex library?
I find it funny that he doesn't consider the benefit of people who want to use cannabis being able to use cannabis. That seems like it should be the main advantage!
Show HN: Web layouts, introducing the Magic Hat technique
What stuck out to me about the regex-redux benchmark is that PHP is faster than both of them! Is that because PHP is effectively a scripting language over C, especially for well-defined tasks like regex matching?
Did you ever notice that real world-class software developers don't even have to say that they are ? :)
I hate having my scroll hijacked
I would also love to get a detailed overview of the development of this game. I am currently at work but after a 5 minute muck around I have bookmarked it to take a better look when I get home.
How to Become a Successful Entrepreneur: Tips from Entrepreneur Amitabh Sinha
C/C++ are cheating by using Intel specific instructions, like _mm_cvtpd_ps. I.e. they are with hardware-specific acceleration. If standard library will be used instead, or if Rust code will be updated to use same instructions, we will see different results.
You aren't really going to experience Rusts complexity when your program is essentially just a single function, so it probably isn't really a fair comparison..
Congrats, you've just made my day!
What's hard is that 90% of UK residents won't understand what they're being asked to do.
> I guess handling this game and messenger.com at the same time is too much even for a fairly new MacBook Pro

I don't know if it's the MacBook Pro hardware, or the HTML5 bloat, but this shouldn't happen in 2018.
> Can freelance be unregulated? With clients and freelancers dealing with each other without oversight?

IMO that is the only definition of “freelance”. If there is a middleman in the relationship, you’re a contractor for an agency, in the case of Upwork one that gives zero fucks about the work being done.
Tesla registers Shanghai electric car firm ahead of ownership rule change
Poll HN: Favorite web server language and front-end
I think the whole "One" branding is a tired trope which many technology companies tend to use to show one platform, company etc. In past 5 years I have seen 3 of my employers add One X, with X being the company name, as the official goal or strategy.
View the results here: http://www.polljunkie.com/poll/zgsgdq/javascript/view
in many areas of the country the only investigative reporting is done by local news stations. they at least have to compete against another to retain viewers. in my own city the paper got better with closer ties to one of the stations but they are more blinded by PC issues than money. Most of that because an election needed to be guaranteed at the city level
TL;DR: JS is great if you like it and know it well!

I'd say that holds for pretty much any language. The blog starts with an example to show how clear and concise etc the syntax is. I, personally, find the syntax unclear, verbose and I have no clue what that code does at a glance.

But I guess that is actually the crux of it: if you enjoy Js and are productive with it, great! Just don't ask me to work on your code, I'd make a mess :)
React 16.0–16.3 new features for every day use
Ask HN: Is Svbtle Dead?
Whenever I left the job I left it for following reasons:

1. I realised that my employer is not even keeping my salary up with inflation. There was simple no periodic review process. No refresher equity or annual appraisal.

2. I realised that my manager simply does not have a plan for me to evolve into a leader despite me taking initiative he is too scared that I might fail. If you wont let me take initiative and fail I am not going to get better. You cant learn swimming in a tea cup.

3. Lying leaders. If your inherent revenue model is not based adding solid value to your customers who are doing their honest work you wont last long. The bubble eventually bursts. Honesty in leadership matter lot more than we think.
There's a "matrix moment" where a programmer familiar with Rust no longer sees cascading green characters but rather the program itself.
> If rising property values were accompanied by resultant higher property taxes, homeowners would be incentivized to work with renters to get new housing built

I don't think the math works out.

Let's say your house is $500k, assessed at $500k, taxed at 2% (which is a pretty high rate; national average is more like 1.2%, and of course, California caps it at 1%). If you can finangle a 10% increase in property value per year, then in around 8 years your property will more than double in price, and you can cash in on $570k of additional equity. Meanwhile, you'll have paid an extra $46k in taxes.

Conversely under a vaguely prop 13 like regime (1% property taxes, 2% appreciation per year), you'll pay an extra $7.2k in taxes. That's obviously much better; you pay 1.3% of your gains in extra taxes instead of 8%. But...

...we're still only talking about 8%. Of the total value. Weighted towards the end of the period. On the margins a few people may be dissuaded from pursuing a maximal house price support strategy, but 8% is not a lot; if you own a large, massively appreciating, highly leveraged asset, most people can happily find the cash flow to cover the tax bill when it's that tiny.

In short: On an asset like a house, the capital appreciation overwhelms the property taxes.

(Also don't forget that the tax base can be re-assessed on sale. That part of Prop 13 actually suppresses house prices and discourages people flipping houses to profit from rising values, although I think that, like all the impacts of prop 13 on the housing crisis, it's very minor.)
White House ditches cyber coordinator role
Basecamp is down
I think they are objectively easier to use. Since they came along during the era when people were getting accustomed to computer interfaces, everything had to have a lot of affordances. Hence buttons that look like actual buttons and so on. Since now everybody (probably) knows that you can click on stuff the visual appeal was put ahead.

Still, at least in iOS there is some backpedaling on the general whiteness and borderlessness. I suppose this is because while people are accustomed and borderless stuff looks nicer, the interface is harder and slower to use.
The other answers here so far are philosophical, I'll give you one that's scientific. Most of the biochemistry of life is required just to have life at all. The incremental increases in complexity of the biochemistry for complex or multi-cellular life is relatively modest. Therefore you get most of the bang for your biochemical buck just by having life at all.
That's interesting because I also picked up on that: "I am a world-class software developer living in New York’s East Village"

and I just thought, hmm, here's this guy with ~5 years of ~professional dev(mainly with iOS) and he self qualifies himself as world class.

Looking at his bio, I see he's worked for 3 companies doing quite ordinary things.

I would love to know what gave him the confidence/ignorance to describe himself as such.
If the definition is so broad, my oven and fridge are computers.
Coil whine with graphics cards is such a frustrating experience, because there is no informed consensus as to what the underlying cause truly is. Everyone has their own anecdotal reason:

a) Maybe coil whine is an intrinsic factor in the manufacture of graphics cards, similar to dead pixels on displays. "Luck of the draw" when obtaining one is the only way to win. Cycle through RMAs until you get one with little to no coil whine.

b) Or, it depends which company you buy from: each of Asus, EVGA, Gigabyte, MSI, Zotac et al are supposedly better or worse than the others.

c) Or, it's not a problem with the GPU at all; rather, it's an indication of a poor quality power supply (PSU).

I've never seen an informed analysis from an industry engineer who has a goddamn clue what they are talking about. NVIDIA could probably enlighten us all with an exact-science explanation, but that seems unlikely. My uneducated guess is that the situation is closest to option 'a' above, and that rejecting units for coil whine during quality control would drastically reduce production yield.
For what it’s worth I have never had a LinkedIn account and it’s never come up in interviews or been any sort of problem. Maybe things are different in SV though.
For everyone that fakes their way through an interview, there’s a job ad that was a bait-and-switch anyway. That is just how the game is played now. I don’t like it either, but don’t hate the player.
Totally agree. That's where the line is drawn I think.

Otherwise everything is a computer.
Forever? The modern form in my opinion, is an enlightenment era creation.
If those create any abuse then you can still contact the registrar.

From what I understand the eventual plan for WHOIS to only allow access if there is truly legitimate interest. Everything else can be filtered over the registrar.
And that's not all! We really need to see memory consumption.
The performance on my PC isn't the best, regular spikes in FPS
> You can't tell the difference between expensive wine and cheap wine, but I bet some wine tastes significantly nicer to you than other wine. Wine that tastes good is good.

To what extent have people shown the ability to consistently distinguish even that much in a blind test? I've certainly had good glasses of wine and bad glasses of wine, but I wouldn't want to swear that I've always been consistent about which vintages or even which bottles were in which set.
There is no scrolling on the page :)
Yeah sure, I also want to do a blog post about it in the future, but I thought it would be nice to link to playable build for this submission directly.

It uses our own HTML5 engine. Rendering is based on a simple canvas tag and 2d context draw calls. The code is written in CoffeeScript. The server runs on node. I just used SublimeText as text editor. We ship the game on Steam via Electron and the greenworks Steam integration.

It has sold over 130,000 units so far. The regular price is around 15$ on Steam. Generally we're obviously very happy with the success considering that 95% of the content was created by two persons.

The project started as a hobby project in 2012, so there are some technical decisions which I would approach differently now:
- Using modern JS instead of Coffeescript
- Using WebGL instead of Canvas

For our next project we're considering switching to Unity since 90% of our distribution happens through Steam and 3d engines like Unity and Unreal are imho way more mature than HTML5 engines at the moment. The biggest obstacle for us in using HTML5 has been the player perception of web games being for free games that are built around grinding.
If we’re talking about “dynamic CRUD over socket abstracted to death”-style tasks, and not considering minor preferences like syntax, then python, lua, most of lisp/schemes, perl. All of these allow enough meta-anything to do:

./file.src:
func api_foo()
for x in objs
x.a = fetch(x.b)
ui.btnok.enabled = yes
commit()

And have foo exported as api, and when called, all clients/servers, databases synced, validations passed, schemas updated, triggers and reactions done, errors handled, developer errors reported.
JavaScript has continuously evolved and probably at a faster pace than many other languages. I'd interested to see whether those who used ES5 and didn't have a good experience, would enjoy using ES7 with async/await.

The JavaScript ecosystem is large and this question can be broken down into:

- Is JavaScript good on the browser for the front-end work?

- Is JavaScript good on the server?

Also for those interested, I create a Poll HN: favorite web server language and front-end submission over here:

https://news.ycombinator.com/item?id=17081114
> and it's not just a made-up pseudoscience.

Meaning no offense, do you know of any evidence for that?

Every time I've ever read about wine-tasting getting examined (i.e. by an academic study), the results invariably turn out to be that people can't distinguish what they think they can. If there's something to wine tasting, shouldn't one expect there to be studies of the "sommeliers were able to consistently distinguish X from Y" variety, for some X and Y?
Psychology of Code Readability
You knew what does the word "mem" on that page means do you :D
Well, I just looked through some of his commits on some of the repos. Not pretty good. Productive maybe but definitely not good. Commit messages are quite lacking he's hard coding user display strings.

Without spending more time or having some domain knowledge of his problem, I can't really comment on the architecture setup/choices.
People are getting e-irate at so called "net neutrality" but don't care when corps force their opinions and business decisions on users, or even block them entirely from working with their competitors. (See goog blocking YouTube on Amazon devices, Netflix refusing to offer the streams non-blessed browsers, etc).
Anyone has tried modifying the go regex benchmark to use https://github.com/BurntSushi/rure-go ? It seems to use a library that isn't even on github anymore.
You can disable animations in macOS and iOS too though, and that also sets the prefers-reduced-motion media query to true in Safari. Bootstrap has just added support for that, but it’s simple to add the same to any web app you’re building (typically you’d use a CSS variable for your default animation speed, and set it to 0 inside the media query).
I wasn't aware of that, thanks!
Usually when I hear people talk about alternatives to Bloomberg, my first though is that that they have no idea how many things Bloomberg actually covers. Sooo many products, so much data, you wouldn't even believe the scale. And yeah, as others have mentioned, massive network effect, essentially everyone in the capital markets. Sure, you might find an alternative for some very narrow specific thing that it does for a lot less money. (Worked there for many years, foreign exchange and bond trading stuff.)
Perhaps I misunderstand what you're saying, but it seems that I frequently hear of people's systems being compromised because they didn't, for example, install security patches and the like. Because they didn't sanitise SQL queries from untrusted sources. Because of a buffer overflow. They've been written down for years, and they're still regularly used to compromise people's systems.
It's definitely not dead. My best guess is that it simply lost the popularity contest to Medium. Svbtle's influence cannot be understated, however, in my opinion. I've seen a number of independent bloggers using their own "kudos circle" (inspired by the Svbtle feature)
In re (3), the post specifically mentions the Masons, which traditionally is extremely exclusive, men-only, excludes Catholics, etc.

They've opened up slightly in response to pressure, and there are some female freemasons, but it's still pretty exclusive.
Deadpool 2 could ruin Avengers: Infinity War’s run for $2B box office
should it be removed from here?
Doesn't that ignore OP's additional point:

>If you use different fonts on each platform, the design will be slightly different, trying to manage a cross-platform design system ... becomes challenging. Every time, designer has to pick the right font, potentially do 2-3 designs with different font to make sure they all look how they want them to. Also then each time user or anyone in the company looks at the design on their device, it look will slightly different.

Where simply commissioning this font to be used globally for everything from product to marketing will reduce the amount of time spent on creating design materials (ultimately saving the company money or allowing their employees to focus on more important tasks)?

Or his other point where commissioning this font incurs a one off cost and reduced spending in licensing.

> Since there isn't universal cross-platform fonts, it means you often have to embed fonts, and in some cases license them. Licensing fonts is different than just buying a font file. Even for small developers quality fonts can run up to $50,000 per app (imagine what the licensing costs are for a global company with large userbase!). With licensing you never get exactly what you want in terms of expression and functionality, and other brands can easily buy the same thing.
I don't know. And given his ability I'd like to know. So if it were up to me I'd call him back in, confront him, and ask why he did it. I'd make my decision after that.
https://svbtle.com/promise
When programs grows in complexity, Rust shines. Extra guarantees are very handy when code refactored. It hard to compile Rust code, but when it compiled, it usually works (or quickly points out to problem).

I actually use it in parallel with C/C++ legacy code, and I just trying to avoid C/C++ as much as I can, because I newer saw segfault in safe Rust code so far.
Are you “interviewing” the company well enough when you are looking for a job?

They shouldn’t be lying, but you can often pick up on these things through red flags in answers they give to your questions.
The term catfishing is much older than that 2010 movie: http://www.slate.com/blogs/browbeat/2013/01/18/catfish_meani...

By the way the Dutch word is similar: 'katvanger' and is quite old as well.
MacBook 12" have no fans and are completely silent.
The benchmark is using some third party PCRE lib. This is probably necessary because Go's RE2 lacks some features, but it's not a good comparison.
I'm surprised people think back-channel/backdoor references are legal.

Maybe they are in OP's location but they certainly are not ethical.

You have no right to ever complain about facebook etc privacy again if you think you have the right to possibly get someone fired by betraying their trust like that.

And any company that allows employees to back-channel reference is also incredibly unethical.

What annoys me the most is that fact the OP seems proud of the fact.
I love the fact that you say that this is only supported on desktop, but allow me to try it out on mobile anyways.
Especially when you're just reading some pre-written code. I've rarely (never?) seen any complaints about how reading Rust is hard ... but lots which say that writing the code itself can be frustrating
Game looks really nice, but the HTML5 aspect of it is nothing to be proud of. Game looks as if it could work on someting like a 386 from the 80ies, but I seriously doubt it will work smoothly on anything older than 8 year old hardware.
I'm pretty old... when I started they taught Cobol at college... But why can't we just use nano?
That's true. Internet security is a serious issue today. I started using proxy server from here https://buy.fineproxy.org/eng/individualproxy.html to protect my privacy. It has affordable price and provides the highest level of security. I want to keep my personal data safe from online snoopers.
I don't use ublock. Anyway I request that Chrome as a first party allow me to select "I agree to all cookies" and then have it sent that as a header or something else. This really is something that only Chrome and Firefox etc can do. Preferably in the same way :)