skysight-inc/HackerNews huggingface dataset:
Thank you, you saved me the hassle of writing a very annoyed rant.

Here's a performance tip: learn how to measure your damn code in the context of the website, because the JIT depends on heuristics that involve the context of the whole code.

Open website -> Open Dev Tools -> Performance -> Do Stuff for a reasonable amount of time.

Then you can actually reason about what causes the bottleneck based on the numbers. If you're on Chrome, you can even look at the source code after using the performance tab for a while, and see a line-by-line breakdown of where most of the time was spent, and find the hot path down to the individual expression or statement. Fix real bottlenecks, not hypothetical ones.
I imagine this same conversation when the car was first becoming a reality. You have to start somewhere.
A reminder that Reiser4 exists and is still getting updated. Fast, stable, and most of all: atomic (only one core though).

You'll need to patch your kernel[0] and install the mkfs.resier* util[1]. Take a look at this Gentoo-forums tweaks post[2] for troubleshooting and performance tweaks. If you find reiser is lagging, your filesystem was likely built incorrectly and you'll need to run a simple

fsck.reiser4 -y --fix --build-fs --build-sb

on your partition and it should be fixed. I only made the switch recently because Ext4 doesn't have intelligent inode allocation and drops the ball at 1mil files.

[0]https://sourceforge.net/projects/reiser4/files/reiser4-for-l...

[1]https://sourceforge.net/projects/reiser4/files/reiser4-utils...

[2]https://forums.gentoo.org/viewtopic-t-707465-postdays-0-post...
Depends on the nib. A 18K nib is soft enough to develop flatter surfaces over the time, based on the owner's writing style. It is also mentioned on one of the premier fountain maker's (and OEM nib maker) page: https://www.pelikan.com/pulse/Pulsar/en_US.CMS.displayCMS.25...
It is clear from their own accounts that many women face discrimination at their workplace, and that being subject to it brings significant costs.

Unless you want to argue that women should knowingly accept positions where they will be discriminated against, the effect of sexism is that the viable job pool for women is smaller for reasons outside their control.
And why group "white" and European descent together? Too much diversity that doesn't actually count as diversity?
Perhaps it would be a tinge more fun, if the chemistry was somewhat realistic. Though I haven't played Opus, the totally bogus chemistry of SpaceChem was detracting from the experience, and I wonder why most reviewers haven't really commented on that aspect.
If only Alienware offered a no-brand, no tacky 1337 LED's or bright chartreuse inserts
I think hypocrisy gets a bit too much stick -- recognising the right way, and doing things the right way are different.

I, for example, get my kids to bed at a sensible time and teach them good sleep hygiene whilst having appalling sleep habits myself. In some cases it's precisely because one realises the magnitude, or outcomes, of ones failure that one emphasises something one personally fails to achieve.

I imagine most politicians are just targeting a particular voting group however.
I don't think it's about the standard. It's about Qualcomm making most modems and about who owns Qualcomm. The US government worries that 90% of the modems will be produced by China (Broadcom/Qualcomm + Huawei + ZTE).

I think this should absolutely be a concern for US national security. But I also think there's something they're not telling us here. A lot of this sounds like the US government may already have its own backdoors in Qualcomm modems, and they don't want to give that up.

Whether that's real or not, the #1 concern is still that China would be able to backdoor any wireless equipment in the US from factory.

I don't see any reason why that shouldn't be taken seriously, especially when China requires by law backdoors in Chinese products and services.
You're right, economic incentives do usually favour ignoring/avoiding difficult problems and increasing technical debt. but I'd generally like to approach that as a pragmatic balance between what should be done and what needs to be in the short-term.
You are misinformed my friend. With respect to innovation and talent, and the military - One of the top officers in command of the US Marine Corps said this a few days ago, about the technical talent that the corps has been attracting [1]:

"My eyes are watering with what our young people can do right now..I have an engineering background, but I’m telling you, some of these 21- and 22-year-olds are well ahead of me"

and

"The men and women in uniform, they’re impressing us, they’re really smart and they’ve got a lot of really good ideas,” Neller said. “We would be well served to turn them loose. I saw that at the Innovation Challenge.”

They go on to describe how the USMC reduced an 18-month / $1500 maintenance operation for an M1 abrams tank, to 7-days / $50 by using 3D printing. That is remarkable when you know how wasteful the military acquisition process is.

This post was about security, but my point is - the thinking is changing, and it doesn't matter whether the 'domain' is cyber, or land warefare (as above) - the top leadership is ready to leverage every ounce of the technical talents that these new generations have to offer, and as an American - that makes me feel great.

Further, you can look at the US special operations command (SOCOM) and DARPA as other examples of military organizations which have discarded with bureaucratic process and traditional military organizational structures in order to attract the most talented people in the interest of national security.

I have no horse in this race btw. I work for a private company, but I found your assessment unfair and worthy of reply at length.

[1] - https://breakingdefense.com/2018/03/marines-love-affair-with...
Atom is written entirely in Javascript and I can edit it however I want??? Thats AWESOME!

Wait its written in coffescript...fuck you.

That's a replay of a real life experience that went down when I first heard of Atom.
Unfortunately it's increasingly the case that people learn to code to get a well-paying job rather than because they're interested in it (with the employment opportunities being a side benefit).

This is probably what's lead to the rise of Electron, and using Javascript everywhere.
The idea is an extension to let users opt into javascript features that allow for side-channel attacks. Here's the source code:

https://github.com/IAIK/ChromeZero

Note this closed issue from karthikbhargavan pointing out some of the ways a malicious page could get access to unprotected javascript features:

https://github.com/IAIK/ChromeZero/issues/2

misc0110 suggests those are implementation details, but I'm a little skeptical -- I bet it's pretty dang hard for a Chrome extension to close off every way to get access to a given function in javascript.

So I think it's probably best to look at this as a user interface testbed -- basically a test of how annoying or effective it would be if browsers asked users to opt into these things, and which set of policies would be least annoying for the maximum protection. I suppose it also sets a ceiling on the performance impact, but it's not obvious the impact would be the same if the same rules were set at the browser level.
You're forgetting salary, admin costs, and office/recording space (if they have one). They have three podcasters on staff.
I would start by doing simple calculator in scheme, then maybe tryruby.org and then maybe analysis of brainfuck/turing machine.
My economics teacher in high school (not a great source, I know) said that no country has ever been permanently conquered through military might alone. But countries have been by economics.

If you believe this (or a variation of this idea) then it's reasonable to consider the possibility that China is using, or could possibly use, economics as a weapon.
That makes total sense. Thanks!
Well, if you base the costs off of a traditional aircraft (around which this is based), they'll be in the $100+ an hour range, minimum. The cost to buy will be in the $2-300,000 range, minimum. They will require yearly maintenance, not counting any maintenance required on the electric props and batteries. This is based off a production aircraft, the Cirrus.

I'm also not immediately seeing how this would not require a pilots license - more likely a helicopter license, though this is easily debatable.

So perhaps not billionaires, but millionaires to be sure.
aPNG was never accepted by the PNG standards body, and tends to be as large or larger than GIF[1]. If we're going to go through the effort of converting, then WebP makes way more sense.

1. https://www.androidpolice.com/2017/05/01/animated-png-format...
y, it's mainly giving up the sugar and other bad stuff in coke and pepsi, etc.

soda water/sparkling water like perrier, etc. Just water CO2 and some fruit juice, 0 calories.

zero soda(coke/pepsi/mt dew) intake, now just bottled water, carbonated water/fruit juice and green tea if you need a boost.
Your next computer could improve with age
Not a multiple choice answer, for one.
Drafting or enlisting? I don't think that anyone born after 1953 ever was drafted.
Just today I was trying to install a new version of Postgres on Windows. For some reason they decided to detect system language and print all error messages in Russian... in the wrong encoding, so it looked like lorem ipsum written in Wingdings font. Took me ages to understand what the problem is. Just use English for god's sake.
Some things don't work as well with a federated model of rules, and one of the things that's an especially poor match for that is comprehensive transportation systems, sort of by definition.
A lot more females?
Is it just me or does the abstract become a bit uncanny just by the constant use of "ONE"?
Maybe it was the ambient jazz I was listening to while reading the abstract... :D
No, he's saying fix the patent system.
Cyber debt – What is the cost of doing nothing?
This aircraft can't take off and land any place that a helicopter can't. It's subject to the same laws of physics, and the same safety and noise regulations.

But it may find a niche market by being faster, cheaper, and easier to fly than existing light helicopters.
Does doing something as a legal strategy automatically make it ethical?

Would you not say that it is fair (if not correct), based on Trump's history of other questionable ethics (birtherism, infidelity, lying), to assume that his settlement is likely evidence of further unethical behavior? Or should we use the court system as the infallible dispenser of all truth and ethics? If so, I think the American public owes O.J. an apology.
Run JavaScript on Cloudflare with Workers
The way I read his argument was-

"It is ironic that the US is concerned about the patents. Patents only have weight because governments give them weight - They could declare the patents public domain at any time."
Isn't there also Rancher in this space? https://rancher.com/rancher2-0/
Great video on the Pan Am building rooftop helicopter service to NYC area airports.

https://www.youtube.com/watch?v=8nbz5VFilxY
>at what cost?

I can see at the cost of making stolen identities worth even more.

As it is websites completely suck at keeping our 'anonymous' identity secure. Our email and passwords are hacked so commonly there are websites dedicated to tracking it. Now you're just adding 'real identities' to the brokered data. Any real trolls will be able to use this data from the dark net pretending to be you. Even worse, since real names are required, any employers will look for you on the internet, they will see your "I'm an anti-gay right wing pro-russian" profiles online and say "you are not a cultural fit for our company". You will have to take the time and effort to clean up what is said about you. Since it's a real identity, it's not going to change, and they already have all the information they need on you.

Good luck in that terrible future.
formal methods don't magically make a specification bug-free/secure though, nor does it mean you won't making bugs in the formal verification code you're writing.. so what are you actually proving? other than just another layer of testing essentially? can anyone tell a client that a system has been 'proven' correct? I think when we use these words with people who don't completely understand the implications we need to be more precise what that means... that's what leslie lamport is all about ! being precise!
Have you looked at Fujitsu products? They do have nice laptops. http://www.fujitsu.com/de/products/value4you/notebooks/ (German as I could not find a similar overview on the other pages).
Plus his website has a bunch of good resources linked from it.

http://www.lamport.org
wakeup at 7am, writing code, launch at 1 pm, writing code, dinner at 7pm, sleep

everyday is the same :(

https://www.cantikcan.tk/
It's just a placeholder, you can use anything. The company I work for, and its clients, are not in English-speaking countries either.
Qt for WebAssembly
> I have seen that once I start spending a lot of time coding/in front of the computer, my efficiency (amount of work down per hour) goes down.

In addition to decreasing efficiency at code-production (ie fewer lines being written), the major killer with tired coding is that adrenaline takes over and you get into 'go mode'... suddenly you're punching out widgets and no longer stopping to question your approach. It's doubly bad because that kind of work tends to mate with deadlines to create higher stress and a feeling of having no time to try out alternatives...

Head down and plowing though is a good approach to some problems sometimes. But for IT work? There's a good chance that OT work isn't just poor quality and slow, but also contains a lot of unnecessary effort that never needed to be done at all.

A good Engineer will solve your problem in 5 days. A great Engineer will spend 4 days figuring out how to solve your problem in 1... A tired Engineer under a deadline will work a 110 hour week cranking out a half-assed bare-minimum solution only to find it replaced in less than 10 hours by someone who was awake enough to consider some alternatives and needed something that worked :/
Don't let the winners keep private, but put a label on the ticket saying in big letters that you can't keep your winning the lottery private.
Programmer anarchy, https://www.youtube.com/watch?v=uk-CF7klLdA
Programmer Anarchy (2012)
Really, really peculiar to me was that no blockchain platforms were included. Would have been particularly interesting imho in relation to salaries and experience levels.
Should Some Species Be Allowed to Die Out?
CEO of Trustico emails 23k private keys, triggering panicked mass-revocation
lua stores extra data in 64-bit pointers. I feel like I should take advantage of unused space in pointers myself (in C++). x86 uses only 48 of the 64 bits.
Wait, I thought functional programming _is_ trendy!

(Currently reading https://www.manning.com/books/functional-programming-in-c-sh... and greatly enjoying it)
One of the benefits of async code as compared to threading is a much easier to reason about data model. In comparison to threading, where shared data structures can change at any time, async code an be assured of data consistency within a given "block" of code - whether that block is defined by being within a single callback function or by being between `await`s in Python.
> you can be labeled as sexist

You'd have to take those data points in isolation and conclude "men like money more than women" to earn that label.

I don't think anyone is surprised to see evidence that an exclusive workplace culture contributes to the pay gap. I'd posit that all else being equal, women value compensation and culture about the same as men. The priorities reflected in the survey are a symptom of the problem, not the cause.
You should focus on algorithms and data structures.

Languages come and go, algorithms and data structures stay.

Just pick whatever language it is easier for you to learn them.
> If Mozilla comes out with something that changes content without user's choice, I'm willing to bet HN will justifiably be up in arms.

They did, and HN was up in arms. Did everyone forget the blowback from their cross-promotion deal with USA for Mr. Robot? https://beta.techcrunch.com/2017/12/15/mozillas-mr-robot-pro...

That wasn't even an integrated part of the browser, it was more a case of bad defaults with an auto-installed plugin and HN was (rightly) quite pissed off with them for it.

This is different IMO, this is changing how a website is rendered, not really very different at all than an adblocker which are already generally accepted.
You already know the answer to this. The context of your fact-based statement is where it's meaning (and any offence/labeling) is derived from, not the fact itself, and in this case the person you are responding to is adding an additional fact without citation:

This is the "simple" fact:

> Women placed compensation at 4th in "Differences in Assessing Jobs by Gender" in a StackOverflow survey targeted at people (mostly developers) who use stackoverflow

This is the additional fact that has been added:

> [that fact is] a contributing factor for the pay gap

And then the phrase

> you can be labeled as sexist

is added, which of course can be applied to anything anyone ever says about anything gender related.

If you deliberately add unsubstantiated information to a fact you will probably be called out for it, and rightly so (IMO).
Three podcasters on staff = $20,000/month for each of them = $240,000/yr .

That's a pretty good salary.
please tell me somebody reported them to the government.
This is my understanding as well. I “use” vim a few times a year for the past 30 years using only a half dozen commands (xaiwqyp). But I never use emacs other than playing around once a decade or so.

To get a good vi v emacs question you’d want to ask “what is your primary text editing environment?” Or something like that.
I hope they're careful with that. Modals could contain legally required waivers such as for upcoming GDPR etc.

Edit: what endymi0n said in another subthread
Thanks for the shout-out! Keel author here. I have created Keel exactly for these workflows where something (Travis CI, Docker cloud, Google Cloud Builder - my favourite due to the pricing and proper speed) builds an image and then we would want to trigger a deployment update.

I was running workloads on GKE and I found that while it's easy to get images being built, there was no straightforward way to automate deployment updates. My goal was to tag a release on Github and get a new version deployed in my environment. After searching for similar tools and couldn't find anything lightweight (spinnaker or jenkins were way too big!) I ended up building Keel.

Here's an example if anyone has this problem https://keel.sh/v1/examples/enabling-auto-updates.html.
Definitely deserved for Redis, so thanks to you!

And I completely agree about the OSS - this makes me really question the sampling bias of this whole survey, because there's no way so many developers contribute to OSS. Unless you really do mean something like "reporting issues", etc, in which case i'd still guess the real number was below 10%.
Multiverse: particle physics' deus ex machina
I've been keeping a keepass on my Google drive (and locally) and is always in sync on all my computers. I've been trying to get my father off of the lastpass experience ever since I've noticed the degradation of service from LastPass, maybe today is the day I help him do it. It isn't hard.
If you haven't played Lone Echo yet, then please play Lone Echo. You honestly wont regret it.

Definitely still think it's niche for now but the more polished experiences are starting to trickle out.
Just started my first Elixir project using Phoenix since I needed something that could handle a large message volume and scale. I'm a bit surprised how good it is!
I'm pretty sure this is a literal "Not In My Back Yard" comment.

I'm okay with it. Yes it will be for the 1% for a long time, but so were trains and cars and airlines...
Maybe "have a GitHub repo gathering dust" already counts?
The quality of this article is readily apparent in the first recommendation.

Global variables are slow... because of having to walk scope chains? Uh, no. Scopes are static properties (well, once the with statement was eliminated--now you know why that doesn't exist anymore): the compiler only has to look up the scope of the variable during compilation, which means it carries no penalty by the time you get to a JIT. The reason why global variable lookups can be slow is that global variables are often properties on objects with non-trivial access costs (such as a DOM window, if you running on a webpage), as opposed to an inaccessible lexical environment where all references are statically known.

(It's also somewhat disingenuous that all of the coding tips are about keeping v8 happy, as if v8 were the only JS JIT that mattered or v8 characteristics were somehow universal in JS JITs, neither of which is the case).

Running through the some of other bits:

* I'm not sure homogeneous arrays is an optimization benefit for other JITs than v8.

* Actually, traditionally JIT compilers focus on hot loop nests as well as functions. The original TraceMonkey JIT (first JS JIT) considered loops a starting traces, for example.

* Changing shape of objects does matter for monomorphic calls. Although not all JITs are as insistent on monomorphism as v8.

* True, but isn't this obvious?

* Last I checked (admittedly quite a while ago), JITs tended to optimize based on shape, not class. So there's no difference in performance between the two cases.

* Or you could use for/of. Or you could just never use sparse arrays because no JIT likes having these holes. I thought you were giving performance tips, it seems weird not to mention one of the more universal ones here.

* Try/catch is generally free if you don't throw an exception.

I could go on, but it's not worth it at this point...
It costs a company a lot more to employ someone than the amount that employee actually sees on a paycheck.

Also where did you get the $20K/month/podcaster number from?? You're just making stuff up.
The Edge Series was not SO bad. I've owned a Edge 13 for years and it is quite solid with good Linux support.
n=1 I am a clojure web consultant http://www.hyperfiddle-consulting.com/ (Hopefully not distasteful/shilling, just relevant context)

Markets have weird corners that move over time and for a while I made all my money doing React.js work. I make more than all of my peers, probably because I have a great portfolio, another correlation-but-not-causation. But does it really surprise anyone that the 24 year old who read Haskell books instead of netflix-n-chill, grew up to find more competitive opportunities?

I did eventually break through the freelancing rate ceiling by building a Clojure ecosystem product and offering product-related consulting now.
that's a poor interpretation of the data.

That question is not "how satisfied are you with the state of each of these things now", it's "how much do you weight these categories when assessing new jobs". The fact that women don't put diversity at the top doesn't mean that they think that the state of diversity is good. It means that it's not a highly ranks job-selection criteria.

What people are prioritizing in a job hunt is what they're not getting in their current job. Women put "The office environment or company culture" first, men put it fourth. Why? Because women leave jobs because they get treated poorly. Men leave jobs because they think someone else will pay them more.

For most people, the priority is not in making sure their company looks like a college brochure, it's in finding a place where people will treat them with dignity.