skysight-inc/HackerNews huggingface dataset:
llvm is not known as the best optimizer though. (but benchmarks tend to lie and llvm is always pretty close). There are also subtle areas where the front end can generate code that the backend cannot optimizer as well (though given equal effort I'd expect this advantage to go to newer languages that are design for modern optimizers - but effort is not equal with C++ getting for more love)
> Deal with JSON in native

You have to parse it anyway, and in either case (native or JS) you'll be using a pre-built facility for that. Plenty of "native" languages can have good JSON support these days, and the "create a wrapper for the API" part is trivial if there's one available already, even if it's JS.
I wouldn't say I'm an experienced CEO but I'd be interested in sitting down to review your feedback over coffee or beer or whatever. My email is in my profile.
I am unsure what you mean by everything.

The early demos can certainly do more than anything currently on the market...
Funny that I have the same feelings for aspects of the outside internet, such as "the old 4chan." But then I think that's like celebrating an echo chamber of sorts. Bigoted and stupid people (or people that I disagree with strongly) weren't invented by access to public platforms, they always existed.
This is super tangential, but regulation around space access is (ideally) there to prevent congestion, collision, and space debris. It's not hard to imagine a world where space access is abused and bad things end up downwind (Kessler syndrome[0] is a classic example).

To your original point, I'd say that yes, a lot of laws exist because they solved some problem at the time they were introduced (or because someone acted corruptly, but let's ignore that for now). I believe in questioning laws, but when the argument is "it'd make our private endeavors more effective," then I'd carefully consider why the laws were there in the first place.

[0]: https://en.wikipedia.org/wiki/Kessler_syndrome
It doesn't seem that much has changed in terms of local consumption. We've reduced our crude oil imports by almost the same amount that we've increased our crude oil exports. At least that is what I'm lead to believe by the EIA website.
> Apple did not place themselves about the law

Exactly. I didn't say they did. The comment was about being above law enforcement. See my other peer response here.
I know, he's really great, and I've been meaning to say something on the forums about this.. I'll make the time.
Under a dictatorship, people don't have the right to choose. People chose a specific party to represent them in 2014 and in 2018 that party lost several state elections. This is far from how a dictatorship works. Your assertion is factually incorrect.
Yup, the Fourth Amendment's drug exception. Credited to Rehnquist and almost literally taught as such when I was a 1L.
They don't (sell your data directly), explained by Google itself https://safety.google/privacy/ads-and-data/

Of course it's up to you how much you trust what they write there.
I bet the cat soon learns that sitting in front of the door magically summons a human to let it out.
> Except that they don’t need to consume 1gb+ and they don’t need to feel sluggish.

The problem is that is built around V8 tied up to Node.js, so i cant see how it will get any better giving V8 is a state-of-the-art VM already very optimized and using little resources as possible. Also you are tied to blink/webkit which together with V8 will consume a good chunk of memory and you as a dev will be unable to optimize further, giving you can use anything other than JS and blink.

> We’re also not talking about replacing every native app with electron.

Of course not. But the problem here is the trend. Companies will see how cheap it is to just reuse cheaper human resources being used to the company web dev, and how fast you can prototype an app.

The other companies who create better products because they care more, will have a hard time competing with the cheap sketchy software that cost less to build, and the worse products will likely win.

Its "the worse is better" all over again.
Was this really so horrible?
Go uses a common assembly with ways to covert into the specific architecture which makes porting the toolchain to new targets somewhat trivial. (https://www.youtube.com/watch?v=KINIAgRpkDA)
To my mind those amount to the same thing.
I have been out of the HFT space for many years now, but your conclusions make sense. Here is my own take on the subject from my short tenure at an HFT firm: https://news.ycombinator.com/item?id=12053159
These are the same people who don't understand that a default, do-nothing app on something like macOS will be minimum 20MB due to the window backing.

I have a theory that the loudest complainers about this are the leftovers of the computer ricer era, who liked to display a bunch of metrics on their screen that mostly amounted to fluff. Electron solves real problems.

Signed, someone who's built and shipped native apps on the various platforms, and groans anytime he has to do a basic chart or whatever because it'd be 10000x easier in a web browser.

Edit: furthermore, the browser handles caching things like images and what not, which bloats up the memory in Electron. There is a way to force the browser to flush that stuff out, but nobody does it. If you have a local image cache for a native app and you don't flush it, you will get the exact same situation.
(Approximately twice a day.)
I suspect something else happened between 2001 and 2018, nobody would start a trade war over a missing plane.
They had a cron feature which was really good. I've switched to running a Kubernetes cluster for my side projects but Hyper.sh cron was really easy to get started with.
Ask HN: How much better are FAANG Developers/Engineers?
You always see new stuff coming from these tech companies or silicon valley with the "woows" or "what geniuses". But I have started working with ACTUAL Senior Developers who are 30-40 years in their technical career. When working at FANNG companies before, people were smart but not that smart/skilled compared to the teams I am working with now. Wondering other people's thoughts
Privacy Law is in the draft status ...
Breaking laws is normally not a good idea. But most of the time, the only way to change bad laws and regulations is to break them first.

Everything from slave laws to miscegenation laws to gay laws had to be broken first before they could be changed. The one of the central aspects of the civil rights movement was breaking laws - ie rosa parks.

Also, this is hacker news and the hacking community generally isn't fond of restrictive laws and regulations.
Impressive amounts of skill and creativity that went into something 100% trivial.

Impressive amounts of desire to do something meaningful, anything, no matter what, as long as it feels meaningful, that drives people to even begin digging into stuff like this.

I guess that means the leisure society is a lot closer than I thought?
Nope - just a few weeks ago the largest oil reserve in the US was announced by the US Geological Survey.

https://www.abqjournal.com/1254493/usgs-permian-oil-gas-rese...
So, how many federal laws are currently in effect?
What do you call NSA surveillance? Pretty much all your life is online and NSA can get its hands on it in transit.
But what happens when the stated positions of one side change by the day or even minute? The chest beating strongman typically has a position that is rigidly held and clear. It’s a situation with without precedent.
> Customizability-wise I actually prefer Electron apps to native ones, with a few lines of CSS I can remove stuff I don't need and tweak the UI a bit, I'm not quite sure you can do the same as easily for native apps.

That's a fair point. GUIs have tended towards being less customizable, not more, and that's a huge failure in my eyes. However, the customizability of Electron applications is really a side effect of the fact that it runs on top of a web browser. I find it difficult to count that as a point in its favor.

Looking at it from that perspective, there are native GUI systems that load XML files for their GUI that could also be called customizable by your standard.
Online Communities (2007)
I remember my Chinese english teachers in middle school (in early/mid 2000's) complained to us students how they had to regularly stay up until midnight to grade assignments/exams and prepare teaching materials, while foreign teachers get paid double the salary to only teach < 10 hours a week. Older foreign teachers made more of an effort at actually teaching us how to converse like native speakers, while some younger ones were just young adults on gap years and did nothing but teach us how to play hangman/bingo. Chinese schools would hire any native English speaker with a pulse and schools in less-metropolitan cities still do this today.
> For example Russia could have penetrated America's NSA and used the data mined there to create profiles of people they could effortlessly manipulate in America's 2016 elections.

How do you know they haven't already done exactly that?
https://en.wikipedia.org/wiki/Joe_Btfsplk (No comment on Knuth intended!)
I don't have many Chinese friends who would speak in this frank a manner with me, but the two that I do have definitely think like this. They see problems and bigotry that they never had to deal with until they got here, and I think that is what created the knee-jerk reaction to believe they need the Chinese state.

(The worst part is that one is Taiwanese! Not even Chinese. And she thinks of it as insurance. She feels like things for her in the West could turn sour in a hurry, so she needs an "out" so to speak.)
AI Researcher Josh Tenenbaum Named R&D Magazine's 2018 Innovator of the Year
Zeit is dropping the support for containers for their v2 and now Hyper is shutting down their services. Any other one sentence deploy ("now" or "hyper run") for containers available out there?
Sounds like you're projecting your own imagination onto an otherwise possible situation that can happen every day.

Why do you think privacy is such a big issue? It's not just about companies tracking you and serving you ads, it's about shit like this. If you're not careful/aware about what you put online, don't be surprised when it comes back to bite you in the ass.
> If you haven’t given the Google Maps app on your phone the permission to use your location information, it will ask you for that. It’s obvious, isn’t it? But think about that for a moment. Google Maps doesn’t need to know where you are to show you restaurants in Omaha. There are no “terms and conditions” to read. There is only an “accept” button. You click it.

You don't _need_ to share your location with Google Maps in order to utilize it, unless you want turn-by-turn directions from your current location.
Most developers of Java I've encountered don't know the first thing about optimization and manage to make some really suboptimal stuff despite the supposed ease of achieving near-best performance.

I spent a fair amount of time actually benchmarking and iterating on code to make java programs perform better in college, because thankfully they considered that a useful skill. What I see in practice in industry is architectural patterns that supposedly support maintainability at a great cost to performance, with the concrete parts being written by people who don't have any idea what the performance characteristics of the code they're writing are and why.

I think Java has a lot of merit, but it also has an "ecosystem" rife with bloated, dogmatic, hyper-abstracted code that was never really given a thought about optimality and requires purchasing big servers with lots of RAM.

As good at it is, and yes, it was and is good in the grand scheme; I'm disappointed that Java still has so much inertia, and that development and adoption of alternatives is so slow going. I feel as if there is a "it's good enough, why change anything" attitude that stems from lack of understanding that there are still big juicy low hanging fruit to be found and incorporated into our tools, to ultimately make software better AND easier to write/maintain. The line about "lots of smart people have been optimizing the JVM for a long time" seems like a go-to defense of what I see as stagnation.
Spreading FUD about India?
If you believe in the merits of newer, more efficient technology, then having an abundant supply of oil doesn't really come with a downside, IMO.

It's much easier to let the new technology speak for itself than to tell people, "Hey, we know what we're offering is no good, but it's what we've got to do."

Cheap oil will make green energy a smart business choice rather than a sacrifice. The optics on that are way better.
How Satellite Startup Swarm Returned to Space After an Illicit Launch
I don't know.

I tend to avoid such generalizations. I lived in an unsafe neighborhood and saw people do what they can to improve their situation, with poor if any help from government. Call them racist seems unfair and totally misunderstanding their problem.
I think what s/he meant is that app developers don’t have to spend time on optimization (because - as you point out - so many smart people have spent so much time making the JVM as fast as possible).
Seems like a nicely designed, friendly project to arrive for the holiday season. Nice job.
except no doxxing occurred...
pdf.js... it works just fine ;)
The does sound fair and I agree with it, but the US hasn’t applied this to other countries and are smaller by population, economic, scientific and military measures, why should China apply it to the US?
Can confirm: I've seen Wells Fargo signage popping up all around Manila in my recent visits to the Philippines.

Most likely call centers.
This is so weird, I keep meaning to check out the brave browser but knowing it's tied into cryptocoin nonsense drops my interest level to zero.
The US is unusual in having Boarder control, Winter Sports resorts elsewhere don't place any restrictions on what kind of equipment you are allowed to use.
> for reasons that ended up being completely wrong

When we were young lots of rules didn't make sense. As we got older we realized many of these were to keep us safe from things we weren't old enough to understand yet.

The US has quite a number of spy satellites that we can't detect, even with our own detection methods. Some are covered in vantablack and radar absorbing shields, others hide behind giant mirrors that reflect the darkness of space back down towards the earth.

How would your opinion change if a Swarm microsat had crashed in to a 6 billion dollar satellite and disabled it? What if it threw that bird out of orbit and it hit the ISS, killing everyone on board?
PGO and JIT both use their information to change the machine code to suggest which branch is more likely.

PGO and JIT also do a lot of other things that are unrelated to this discussion. Some of those things can have a much larger gain than branch prediction.
People need to start voting with their #$@& wallets.

I closed my WF accounts when all of their shenanigans came to light but their still one of the very biggest.
A coeliac probably have given up bread years ago, and would not tolerate the possibility of cross contamination by having it toasted even if was available.
They don't really do anything more complicated than a reasonably fancy IRC client did in 1995, yet I bet you they're a lot slower to do it.
> Did the Constitution change in 2015, without us noticing? No. What happened is public opinion changed.

Another great example of the same phenomenon is how the US Supreme Court ruled[1] that it was OK to record TV shows on home video recording devices, such as VCRs, in 1984.

There were no changes in the Constitution, and copyright law had become even more oppressive. What changed was that VCRs has become widespread by 1984 and the Supremes could sense that public opinion was strongly in favor of home recording. In fact, a couple of the Justice owned VCRs themselves. They were motivated to find an argument to make it legal.

[1] https://www.theatlantic.com/technology/archive/2012/01/the-c...
I'd say that those companies are interested in innovations, so they invest more money on that than an ordinary company.
The terms of immediacy are a great reminder of the importance of the 97 % of nonverbal context. Consider for example, the great American classic essay from Harvard Business Review "How to Run a Meeting" (1976, first published.)
I have this pet peeve towards "unstructured data". There's no such thing - only data you don't understand the structure of.
:P
This is a great example of why the HN title policy is sub-optimal. About zero people are going to click on this because the title doesn't tell you what the article is about.

The first two sentences are probably more interesting to HN:

> This a very nerdy story about a problem that costs the NHS £11.6m a year. It shows how one small design choice in the software GPs use can have huge ramifications for how we prescribe, and a huge cost impact on the NHS.
Stardock rebooted using a different timeline reportedly to leave room for Toys for Bob to expand with their own related eventual sequel. Sounds like a win-win for gamers to me. (I've also completed the new Star Control reboot and found it hyper-faithful to everything we loved and remember about Star Control II, with similar controls, UX, and even remixed music.)
Thank you for this clarification. Its definitely an interesting decision. I wouldn't think there is much to gain privacy-wise between cloudflare and FB's DNS servers.

Without a doubt, as far as security goes, DNSSEC would provide the security side - with DoT being a privacy provider. However, FB doesn't implement DNSSEC. I know there is a LOT of opinions on DNSSEC and I completely understand why they do not implement it. This just leaves me in the dark a bit as to why they did this. Anyone have insights?
I'm not convinced how we elect representatives is a problem. Gerrymandering seems an annoying an unfair way to elevate certain people, sure, but I don't think fixing this is the panacea to toxic politics that everyone thinks it is. You simply have to look internationally at other systems to see they also have problems...different problems from ours, sure, but not exactly better.
But is it fun?
What are you talking about? The human race is still racist :D How would you expect an AI to not be racist when we can't even fix the problem for ourselves?
that's a known limitation right from when they started this project.
There is more oversight in the five eyes countries, but that isn’t as reassuring as it sounds. Is anyone in those countries comfortable with what those organisation do and how they are controlled?
tl;dr

Use memory mapped files to "talk" between processes.
Use flyweights for the messages. Avoid strings in the messages wherever possible.
Use single-threaded processes wherever possible.
Isolate cpus.
Pin to isolated cpu.
Turn off hyperthreading.
Use some form of object pooling.

The last point is the only Java/GC language specific thing.

Having used Chronicle I can confirm that you can see single digit microsecond latency (or better), and reduce 99th percentile jitter with significant analysis.
Less advanced users complain when their computer is slow. Developers know how to locate the problem and that it could be fixed.

Everyone here knows that Electron is the cheapest way to wrap a web app. It's obviously the fastest way for someone with web but not desktop experience to create a minimum viable desktop app. It isn't the only option for low-cost multi-platform development.

You have good reasons for producing a hybrid app instead of a native app. It's questionable whether Slack does.
tl;dr More funding for this program!!

It is hard for most people to grasp the engineering hardship and complexity to work in the ocean especially with only 20 million$ to solve a massive problem. Just a thought, but we were able to land a man on the moon before ever reaching the Challenger Deep (lowest recorded point in ocean). This team needs more funding in order to achieve this or even just make a dent.
Denial, justification, and appeal to “everyone else is doing it” are a lot less compelling when used in the same breath that when deployed separately.

“Uighur detention camps don’t exist and also aren’t that bad.”
Being selected for being able to regurgitate a catalog of algorithms onto a whiteboard on demand is hardly the same as "smart/skilled".
I played the hell out of NWN when it came out. I still think the engine holds up, too. The content creation tools they gave you with the game were phenomenal. Probably my favorite game.
Don't worry about it! As minimaxir pointed out, the story probably wouldn't have gotten much attention otherwise, and readers are clearly interested.
Fight to change it. Laws are not set in stone for a purpose. They're supposed to evolve as they people governed by them evolve.
> Governments would be better to be ready for disruptive ideas and have flexibility in regulations to try them out. And we should all be voting and supporting candidates who want to see such changes happen. But until they do, it seems wrong to purposely break laws in order to make money.

seems a foregone conclusion - aren't these laws designed around some situation in the first place? why not just not write them in the first place? except that would be negligent..
You can read plenty of behavioral signal from how candidates interact with interviewers while solving hard technical challenges. But many companies don't really invest much into training interviewers how to effectively interview and gather useful signal or calibrating their evaluation to the goals and standards of the organization.
> It was believed that economic development would result in a growing middle class and in turn a demand for more political freedom, that enormous authoritarianism would ultimately be unsustainable, and that the moral thing to do was to not be too hard on these billion+ people most of whom were highly impoverished.

Maybe, just maybe, these people were a little too confident because the USSR had just collapsed.
Oh my! Who can imagine living in an environment where the government is known to be intercepting, monitoring, and decrypting your digital activity as their perfectly acceptable MO!?
Snowboarding on Mars anyone?
There are civil rights being taken away here?

Obviously it's not pleasant to have your public information shared like this, and I'm not saying that it should have happened, I just don't understand what you're trying to say.
Wait, why would the crucifix throw you? Lots of people who do immoral things are religious.
Their roadmap is pulled directly from their JIRA database, so if a task slips a week or so due to holidays, the next update will reflect that. If you look back at their previous roadmap updates, they knock way more then 4 tasks out a week, but even if they miss their target they can "fuck up" the road map since it will just update with the new status next week.
> Since no one is capable of forming his own opinion without the benefit of a multitude of opinions held by others, the rule of public opinion endangers even the opinion of those few who may have the strength not to share it. This is one of the reasons for the curiously sterile negativism of all opinions which oppose a popularly acclaimed tyranny. [...] public opinion, by virtue of its unanimity, provokes a unanimous opposition and thus kills true opinions everywhere.

-- Hannah Arendt
that does sound brave
Ubuntu 18.10 version doesnt work with proxy. Couldnt import any of the julia packages, and my git and ENV has my proxy settings that work.
That wasn't the way I read it. He said the "thieves" were acquaintances of the friends he paid. He likely doesn't even know the acquaintances.
Who is me?