skysight-inc/HackerNews huggingface dataset:
"very good Javascript programmers can be significantly better in a better language."

This is not how it works.

Take this idea that JavaScript is a "badly designed language" out of your head and understand that about 99% of JavaScript's behaviours are intentional.

The majority of gotchas in JS are shown by people who don't understand type coercion, prototypes or who expect it to behave like x language.

It is not just misunderstood by your average Joe JS dev, but also by many who claim to be pros and experts.

JavaScript is a language that doesn't tell you how to do things, there are no constraints. This is why so many people suck at it.

They want to use statically typed classical inheritance constraints on a language oriented around higher-order functions, coercion and literally everything being an object.

If you are somebody who is intuitive enough to create your own restrictions on what to use and what not to use in JS from the POV of the language's architecture then you will love it.

If you are convinced that there is already a holy grail structure to programming languages then you will always have problems with JS.

TypeScript is miserable. I see people building libraries in TypeScript and it's sad because they will never know how much better their performance could be or how small their lib size could be because the can only think in OOP.

OOP languages are already hugely problematic when it comes to complexities. So imagine how overly complex the JavaScript eco system is becoming due to a generation of developers who want it to be more like x OOP language it does not have the foundation to be like.

There is no defacto solution for software engineering everything still sucks, and nobody remotely has it figured out.
How you went from noob to hacker?
You either picked up programming in a) school or b) solving your problem. Probably, the first code you wrote took you a lot of time but at the end, it was not the cleanest code but just worked. How did you finally go from this stage to hacker stage where you wrote clean code and submitted it to GitHub without fear. How did you learn, ability to compose functions in the specific arrangement which makes code easy to understand just not for you but any person who is looking at your code?
Even on modern versions of Maps, South Korea uses bitmap tiles. On a phone, scroll so Pyongyang and Seoul are in the same viewport and observe what happens to them if you try to rotate the map.
San Francisco's leaning tower of lawsuits
"It's a fact of life that Electron will become increasingly popular."

Very likely, perhaps, but it is not "a fact of life", especially in the long term -- Electron's popularity in the future is far from a decided fact. I think it has a very good shot at lasting a long time, but in this industry things often do not go the way you think they will.

If indeed "every discussion of an app that uses Electron degenerates into snarky comments about Electron" then maybe it is time to look seriously at problems with Electron. One of the best things about HN is that discussions about the technologies used to implement applications happen.

Now if someone comes into the conversation, snarks, and then is unwilling to engage in discussions about why they dislike the choice, that's a different matter.

I do think, however, that discussions about the technologies chosen by a developer to implement their application are worth having, even if they person starting the conversation is not terribly diplomatic about the way they start it. There does come a point (different for different people) where you decide a conversation is not worth having. I am merely suggesting that it could well be worth your time to not assume you've reached that point so early in the conversation.
> That's really the only question that matters as far as I see it.

Why do you feel this question matters at all, let alone be the only question that matters?
Russian nuclear weapons engineers caught ­­­­mining Bitcoin with supercomputer
There is no financial advisor suggesting the purchase of boats or cars.
magneocrystallic action == warp drive
Mimic Function
I'd like to know about it indeed, what i wouldn't like is to be spammed with annoying UAC-like questions every time an application needs to do something or even worse: not being able to do it.

And no, i wont get spyware, i never got spyware in the three decades i use software when desktop systems were at the apex of their popularity and i used the most popular of them - i doubt i'll get any sort of spyware today, especially when i'm not even using an OS that spyware authors would even bother with.
"Rugged Individualism" is a campaign slogan of Herbert Hoover from 1928.

https://books.google.com/ngrams/graph?content=rugged%20indiv...

https://www.google.com/search?q=%22rugged+individualism%22&l...

See particularly:

https://books.google.com/books?id=85cGAQAAIAAJ&q=%22rugged+i...
Here’s my philosophy: happiness comes from creation. We are hackers, we know this. But “creating memories” and “creating experiences” counts too!

Browsing Social media is not an act of creation, but one of consumption.
Well, let's not pretend that it will stop EU countries from trying to engage in this glorified rent seeking exercise cum morality play against companies everywhere.
Ask HN: What are the books you wish your colleagues had read?
Sorry, that doesn't fit the narrative because there isn't one brand associated with hoodies. You can pickup a hoodie for close to cost in almost any city. If there were 10,000 different companies that made products indistinguishable from Gucci, then you might have an argument.
Duo is a mobile only video/voice chat app that uses a experimental transport protocol.

Allo is a text chat app with lots of options for stickers and end-to-end encryption disabled by default.

I don't have a strong need for either of these apps.
If someone figures out a way for this sort of thing to be unintrusive while still being effective, i wouldn't mind it but i haven't seen anything like that. The notification popups you suggest are both intrusive and ineffective because, honestly, if i want to do some task anything that tries to alert me about something unrelated to that task ("hey, this needs net access" - sure, ok whatever... i cannot think about that right now, i need to actually do what i want to do) is something i am very unlikely to put any thought over so i'll just accept. I mean, i used to check the permissions on my Android mobile but after a year or so i stopped because at the end of the day the question is "do you want to run this program or not"? And considering i already downloaded the program to run it, the answer is obvious.

This stuff is really barely a notch above expecting people to read EULAs.
I'm taking a class in abstract algebra as part of my graduate degree in math and I'm constantly finding parallels in the way we code and represent programs and data structures. Seeing the abstract theory in practical use like this is always fascinating.
The "climate change orthodoxy" is the scientific consensus.
Everything you install from the core debian stable repositories, is pretty much guaranteed to not have any actively malicious code. Otherwise it would be discovered and removed. All debian packages are signed by the package-upload process. It's not perfect, but it's been good enough so far. This is a world that is now niche, but used to be practical!

It's very depressing to be transitioning into a world where you can't use a small trusted open-source mail client and IM client etc, where you have to install crazy huge untrusted piles of flaky and inefficient code in order to interact with real-world people and institutions, and you can't easily control which version you have installed, and mobile devices become obsolete after just 3 years. (Even iPhones - not because of Apple, but because Instagram and Snapchat got too heavy/shitty for the older models! This does not happen for communication over SMTP or XMPP!)

So I see the "we need super sandboxes around every little thing" as a sort of bandaid on a much bigger problem which is not going to be fixed in the foreseeable future.
I'm not looking at the file size. I'm looking at the kbps the os reported for the wave file, which is 768kbps. Where 6 Kbit/sec mentioned.
No you don't. Just because some people waste money on something doesn't mean everyone or even a majority does.

If meth dealers were legal, they would be positioned right next to Gucci stores. The markup is similar and the utility is about the same.
That's been my experience as well. Facebook/Hangouts/WhatsApp/Allo/whatever might have amazing features but I truly don't care. SMS/iMessage (since it's seamlessly integrated) has completely taken over with my group of friends because of one defining feature - everyone has it. If you have a phone number, you can receive a text from me.

A while back one member of our group got tired of the 8 person running group thread we have and suggested moving to something "better". The group unanimously shot it down because we don't want to download new apps, create new accounts, then inevitably have to migrate to the brand new flashy service in 3 months.

For context, we're all late 20s/early 30s.

Edit: Actually, I believe SMS is still superior because it works even without a data connection. We spend enough time camping, skiing, attending huge sporting events, etc. any of those other services would be a significant downgrade.
That is why permission state needs to be hidden / discouraged from apps. No permission just gives you empty data sets. They should be also rejected from app store if they try to cirumvent unless it's a central feature of the app, like a screenshot app or a location tracking app.

With the permission model of apps, then we can start having system apps like istat menus being sold on the app store again too.

I think you haven't used iOS that much. In practice it's fairly rare for an app to shut down without a permission unless it's central to the app.
I would definitely like to be part of this as well. Not on Twitter so I can’t tweet you but if you could reach out to me I’d appreciate it.
Learning to Trade with Reinforcement Learning
Android AFAIK shows a large laundry list of permissions you need to accept when you install an app and you can revoke after the fact. While on iOS there is no laundry list to accept and the built in annoyance of permission alerts encourages apps not to do it unless they need it.

Also android takes a while to propagate new versions onto the majority install base :)
For anyone unwilling to open maps and check: the South Korean tiles are bitmaps (you see this because the city labels rotate along with the map in SK but not in NK).

That's interesting though,why does South Korea use bitmaps?
A programming language is not supposed to match human intuitions. We are trying to take things from the physical world an represent them in the digital world.

A programming language should be modelled on physical life.
But we still haven't figured this out yet.

I don't think many people understand what a poor language is, you really need to understand the spec fully and experiment with every paradigm in production to claim that JS is a poor language. Can you genuinely say that you have?
When talking politics especially on the scale of a state or country you aren't talking microeconomics. Microeconomically of course you optimize to survive with the hand you are dealt. If a pointless job is going to pay you more money than one that creates meaningful production as long as you can bear or be ignorant to the fact your time is wasted take the free money.

The problem is that the microeconomic reality at the personal level isn't reflective of macroeconomic reality. It is why political coordination and organization at the grassroots is so hard, and why the poor vote and participate so much less in government - you simply don't have the time to voice your discontent with the broken macroeconomic conditions when the micro keep you in a constant state of distress, anxiety, and uncertainty. All the figures on a national scale about waste or excess mean nothing to a child going hungry tonight.
Openness and standards matter in the end.
Ecosystem Rankings of 900+ cities 100+ countries
Wayland indeed closes a lot of these huge holes. It's one of the core reasons for its introduction.

Flatpak has no X11 sandbox. Others, like Firejail, have attempted to create X11 sandboxes, but they've had holes (last I tested they had the X RECORD extension enabled, which has no use except being a keylogger), or broke valid applications / accessibility tools.
Probably, but they also still need to be runnable in browsers. Besides I doubt I could design better safe portable GL and Audio APIs.

This is just a subset. I'm mainly curious if this would be easier to implement or not. Using Node would be cheating.
The data siloing on iOS is a UI decision, not a sandboxing decision. They decided most people simply don't understand filesystems (probably based on all the people they've seen who just save their files in the default directory, or the desktop, or the recycle bin(!) and then can't find them)

In the macOS sandbox, an app can access any old file, but only ones the user has implicitly told the app it can access - through the system "open file" dialog, double-clicking, drag & drop, etc.
will be great to get your feedback on how accurate those rankings are for your location.
That isn’t easy from a technical perspective. The whole point of a backup is to restore to a state from a previous point in time... now they want future state (the “right to be forgotten” request) to modify how a backup should be restored?
Genuinely curious, as a non-designer, I don't understand what this offers over existing palettes websites [1]. Anyone care to enlighten?

[1] e.g. http://www.colourlovers.com/, http://www.color-hex.com/color-palettes/
I found the following passage fascinating:

"So later investigators began looking for behavioral correlates of serum urate level (SUL), and there are now dozens of studies on this topic (reviewed in Jensen & Sinha, 1993). They show that SUL is only slightly correlated with IQ, but is more highly correlated with achievement and productivity."

People suspect its because Uric Acid is similar in shape to caffeine which acts as a stimulant. I wonder if that's why people feel more energetic after eating meat.
How nuclear weapons research revealed new climate threats
> If you've done this earnings forecasting yourself, how much size can you trade before the market moves enough to make the risk/reward unfavorable? For a retail guy it's probably not an issue, but curious if major funds are doing it at scale.

From my casual observations, usually about 8 figures or so. It was not unusual for us to deliver a particularly impactful report, then have institutional capital rush into it and push up the price fairly quickly. Then they’d hold that position for a month or so before earnings. Typically “word on the street” would be that the big movements signalled smart money, but usually there was still premium left over to capture during the actual earnings announcement. Humorously, it was sometimes frustrating when institutional money would make large bets in the direction opposite to our forecast, because despite being eventually vindicated, clients would get restless about it.

> How does selling to hedge funds work when the information is valuable only insofar as few others have it? I suppose you could have an exclusivity contract but there's a strong incentive to sell to multiple buyers. Is it more of a relationship/reputation type setup? Are there brokers of some sort that help filter disreputable sellers out?

It’s not typically the set of all hedge funds purchasing the data for any given equity (that is, unless it’s groundbreaking), it’s the subset of hedge funds which already have an interest in the particular equity. That limits the competition and information diffusion somewhat. For certain exceptionally high value data we did try exclusivity contracts so that its value would last longer. For example, before I left the research firm I was working at last year I developed (to my knowledge) the only non-drone, purely web-based method for forecasting the exact number and type of all vehicles Tesla produced with a <1% margin of error - to the point we knew well ahead of time that the Model 3s would completely miss. We were marketing that data to particularly long term, well known clients who could be trusted not to burn the utility of the information.

From there, it’s as you say: there is absolutely a reputation system with a strong basis in long term relationships. It was common to have to jump on calls directly with analysts at funds to talk through the forecast. And yes, there are brokers to help facilitate this entire process.

If you’d like to chat about this more, you’re welcome to email me. I can’t go into deeper detail for much of the proprietary workings, but I’m happy to talk about things that don’t have an NDA covering them.
It’s not hard to replace; probably the hardest part is separating the adhesived back rubber cover and then sealing it again after. The battery uses a modular connector.

https://en.community.sonos.com/advanced-setups-229000/guide-...
Presumably the colors have been purposely picked to have really bad contrast, look identical to colorblind users, or create some other sort of usability difficulty.
>> I strongly recommend Seneca's On the Shortness of Life.

> I just read it a few weeks back and was disappointed.

Too short, was it?
A lot of the motivations to develop and push for Wayland are around security and privacy. An X window, or just more generally any program running on a computer with an X session and either the same privilege or greater than the user running it can view anything on that screen, send any combination of inputs it wants or steal the pointer / keyboard indefinitely.

At the end of the day people don't care about security that much. Wayland is still getting there. Its getting better, particularly in the last year, but its not a huge priority for many people so it has taken upwards of ten years to become usable.
I have linux on my macbook. Am I a real developer?

Edit: pls respond.
SCP Packet Captures directly to CloudShark using Couchdrops latest integration
>I have areas of knowledge—I know literature, sports, a few others—but one of the interesting things is that you’re always trying to write things that are accessible, and if it’s a subject you know a lot about, then there’s a danger of writing things that are too esoteric. Which might happen to me with English literature. But if I’m writing physics then I can be pretty certain: If there’s something I’ve heard of, then most people have heard of it, and so it’s easier to write things that you don’t know about.

I've noticed Jeopardy placed massively disproportionate emphasis on sports and the humanities compared to science, and I guess this reveals why. The writers don't know anything about that sort of thing, and so their threshold for "too esoteric" is extremely shallow for any STEM topic. Meanwhile, because they do really intimately know classical novels or football or such, they don't consider asking what team won the 1979 Superbowl or asking about a tertiary character in Crime and Punishment as being the least bit excessive. I guess there's really nothing that can be done - they even are aware of the problem but still can't seem to fix it - and it's not too big a deal regardless. I still try to catch the show every chance I can.
I am using Jekyll, Heroku and Git and here are instructions: http://www.reluctantwriter.in/dev/how-to-start-jekyll-powere...

Please let me know if you need help.
Overall, I agree with the premise (seeing all the silly mistakes the younger folks - including myself earlier in life - do), but it also differs by area.

"Hip" stuff, B2C, is an area where the younger folks may fare better because they know the segment of the market which is willing to spend more (namely, other younger folks).

On the other hand, B2B requires an extensive network of connections, knowing the corporate bureaucracy, and a lot of patience. It's very unlikely under-30s will have advantage here.

All in all, us old farts are less likely to play by the VCs' destructive narrative of "all or nothing" and aim at the more realistic "much or something". Seriously aiming to be a Facebook or a Google is like including a lottery win in your budget.

And, of course, bullshit radars honed by experience never get obsolete.
This seems absurd.
I was not joking or sarcastic. They are a regulatory institution. They get paid to look after companies, so that those keep to the law.

Presumably, the workers at this institution do not get paid for how high the fines are that they can push through. Nor does their office get paved with gold floors. So, they have no incentive to swing the biggest stick they have. There's no concrete reason to distrust them here.

Really, part of their job description for which they do get paid, is probably that they should not fine companies inadequately. If companies leave the country or even just do less business there, that's probably more damaging to the country than recieving that one-time 4% of turnover.
So the only way to survive the upcoming nuclear war is in one of Elon's space ships or one of his tunnels.
I've been using "telegram" with several friends, it seems to be okay, it's both desktop and mobile
Easy? No, I believe it's very hard to setup a frontend project.
I really want Jabber to succeed, but it looks like all of the social providers don't want this and want to keep your communication on their servers.

Also, I really don't understand the appeal of pushing 100s of these chat apps out. I.e. Slack, Discord, allo, whats app, etc. They're not compatable with each other. You have to have a 100 different clients installed. Many which their desktop version requires 2 cpus and 128gb of ram to run each of them.
Is there a JS SQL/relational library out there that saves to local storage?
If you go into settings, you can turn off that feature and make it auto-accept every time on startup. No hacking needed.
Yeah, that is a fair point.
Well, my Motorola G5+, purchased in August and on 7.0, came with an icon for Duo prominently displayed. Hangouts not installed by default. (Nor Allo, I now see.)

So, Hangouts is not facing some declared or expected EOL, at this point?
There's also FLANN which is an approximate nearest neighbour algorithm which is routinely used for things like feature/keypoint matching (e.g. SIFT keypoints are 128 dimensional).

https://www.cs.ubc.ca/research/flann/

Barnes Hut is a fun one to implement for N-body simulations.
A phone that says “no” to little kid fingers
> For WhatsApp and Messenger, I know search is only available on their desktop client... and IRRC only text search (can’t do date/time search alone) is supported and is on per contact basis. No global search...

WhatsApp has search across all conversations in the mobile app (on iOS just pull down on the main screen) and in individual chats (tap on the chat title and select search from the menu).
I gave up on Talk / Hangouts a few years ago, when I kept getting into a state with it where someone would send me messages fine but my replies would be delayed for several hours. It was possibly the most frustrating computer-mediated interaction I've ever had - and I say that as a very cynical programmer! After a few weeks of it happening intermittently, I said to my handful of friends - "If you ever want to speak to me again, we have to find a different platform". Now we're on a combination of Telegram and Slack, and I'm happier. It's not as good as the world was in the AIM days, but, it gets the job done.
Thanks for that advice. However, the inconvenience outweighs such savings, for me. I've also found Amazon support to be becoming less and less generous with respect to "making things right".
These Photos Were Taken a Record-Breaking 3.79B Miles Away from Earth