skysight-inc/HackerNews huggingface dataset:
"Before employees can work on increasing their productivity, they need to realise that they are underproductive"

This is seriously flawed (and over-generalizing). This basically assumes that the cause of underproductivity lies with the employee. Where are the arguments which are supporting this??
Companies need to be more responsible with customer data
> modern smartwatches and fitness bands can track your pulse continuously, day and night, for months. Imagine what you could learn if you collected all that data from tens of millions of people!

Please no. Surely nobody thought collecting health data from all their users was a good idea, right?

> That’s exactly what Fitbit (FIT) has done. It has now logged 150 billion hours’ worth of heart-rate data. From tens of millions of people, all over the world.

Argh…

> Fitbit also knows these people’s ages, sexes, locations, heights, weights, activity levels, and sleep patterns.

Just stop it already.

> Before you freak out: Fitbit’s data is anonymized. Your name is stripped off, and your data is thrown into a huge pool with everybody else’s. (Note, too, that this data comes only from people who own Fitbits — who are affluent enough, and health-conscious enough, to make that purchase. It’s not the whole world.)

"Anonymized". Just with the data posted above, it seems like it'd be pretty easy to correlate the data to a person. And auto-enrolling everyone who buys a health product is not an excuse to mine all their data.
VAPID Keys generator
Am a Garmin user for years. Was in a hospital ~10 months ago and was connected to a heart-rate-monitoring-thingy via a finger-clip. At the same time I had my Garmin Fenix 3 on my other arm. Was looking at the screen and comparing it to what my watch was showing and it was +-2 points at all times. Tried holding my breath to see what happens and both were almost identical.
Buy Medicine Online,Trusted pharmacy
Which Fairphone? The original or Fairphone 2? Mistakes were made with the original Fairphone. The SoC couldn't be updated to a newer kernel version and the binary blobs meant they couldn't get any update past Android 4.x. Which sucks if you bought that smartphone, but doesn't mean the company did not learn from that mistake. Also, replacement parts weren't available either because the company couldn't source them in great amounts due to lack of funds. Some replacement parts required components which weren't made anymore. They had some initial problems with this in the release after FP2 but they tackled these.
What if the browser had visible page score next to the search field?

It could be a score based on asset sizes, memory impact, cpu impact, etc.

By making it visible, people would be more cognizant of which sites have poor experiences or have a big impact on their computer.
Reading full novels is the original spaced repetition tool. Words get reused regularly in context.
I agree on most of your points, except this:

> If you're a vegetarian, forget about it lol. Nobody there understands or really cares. You'll only ever be able to eat at foreign restaurants which pretty much restricts you to Taipei or maybe kenting.

This is NOT the case. Compared to mainland China (where it's like you say), Taiwan didn't have a cultural revolution and therefore more of the local Buddhist culture where veganism is strong.
At most places when I say I am vegetarian or vegan they will ask me if I eat onion and garlic (since local Buddhist vegans will often not eat those either). Of course you'll find nothing vegan in a beef-noodle restaurant. It's not like in the west where all restaurants have at least one lacto-ovo-vegetarian option on the menu, but there are still plenty of options.

There are cheap local vegan restaurants littered across the city. Just look for the 素 sign.

I would also add pollution to the downsides, if you're near or in a big city. Nowhere NEAR as bad as cities in the mainland, but on the bad days you can definitely feel it.

Taipei is going to be SUCH a nicer place once most scooters are replaced with electric ones.
According to Compiler Explorer, while 6.0.0 does it, llvm trunk is no longer doing the GVN load optimization. It reverted to using a double load:

mov edx, dword ptr [rdi + 4*rcx]
cmp edx, dword ptr [rdi + 4*rcx + 4]

per loop. Dunno if intentional or just a regression.
Sitzfleisch doesn't mean spending effort but more staying power.
How do you save websites on zotero, as pdf?
Vector is supposed to essentially optimize to direct array, except on insert or append when it may resize.

Std::Array is expected to have almost identical performance characteristics.
China lures chip talent from Taiwan with fat salaries, perks
How to Protect Your WordPress Website with Server Level Firewall
One of my favorite books.
Yes, but the idea is that airplane mode can be faked in such a way by software that you cannot be sure its entirely off (remember Android still scanning WLAN/Bluetooth even whilst it was off?). With a hardware kill switch, you have more assurance it is off. With tinfoil, yet even more.
How Amazon and eBay became a tax haven for Chinese sellers
throttling and congestion both drop packets in a TCP stream, which signals the sender to slow down it's sending rate. congestion means that the packets are lost because they can't be pushed through a networking device (because the output port is busy and there isn't enough buffer, for example if the peering link between an ISP and a busy content provider is at maximum capacity); throttling means there is enough buffer, but the networking device is programmed with a policy to drop packets from certain streams (for example, those with an IP address originating from a content provider)

A VPN circumvents congestion or throttling not by virtue of being encrypted but by having a different source IP or traversing a different route & different network ports/links from other packets going to the high bandwidth use content provider(s)
But not constant clock cycles unless the strings fit in the cache page. Which they may. Use bigger strings if that is the case.
Strategic dating: The 37% rule (can apply to other context?)
> When I asked Mirovic about privacy concerns, he said that KeenCorp does not collect, store, or report any information at the individual level. According to KeenCorp, all messages are “stripped and treated so that the privacy of individual employees is fully protected.”

They collect meta data, but it's still a group invasion of privacy.

Also, the article reads like a sales pitch for KeenCorp.
Exactly.

But good luck convincing policymakers to be beholden to such plebian concerns. Does nobody remember any time that such blanket surveillance was abused?
...for a site as simple as hn

Yes!
The web has come a long way and expectations from consumers have evolved over the years. While admittedly a lot of the bloat likely comes from negative things like trackers, ads, etc there are also assets loaded on a typical page that genuinely enhance the user experience. On the list, Google Mail scores the highest in terms of bloat, but it's a full web app and daily users probably have come to be spoiled on some of the UX niceness that makes Google Mail enjoyable to use. Users would rather have that vs a plain HTML page with links. The empirical evidence is clear on that, otherwise the web would not have evolved as it did.

Software is built on layers of abstraction[0], and necessarily, there will be bloat as a byproduct of layering. If we had to map out complexity of what's really going on in a typical computer, the "bloat" floating at the top layer caused by JavaScript would be put to shame by the complexity in the underlying browser and the OS underneath that, all of which arguably are too "bloated" for 90% of daily use.

[0] https://xkcd.com/676/
I feel Windows is a second-class citizen for developers that work with open source software...

For instance if you're on Windows and your home directory has non-ascii characters a lot of software will fail. Not just open source, but all kind of modules, libraries, etc that are supposed to be cross-platform but in reality only support utf8 inside filenames and directories.

Thus isn't a problem with Windows, but lack of testing.
"Producing and distributing content that ridicules, mocks, provokes and disrupts public order, religious values and public morals through social media ... will be considered a cybercrime punishable by a maximum of five years in prison and a fine of three million riyals ($800,000)"
I wonder why all the new crypto projects are so complex.

When Bitcoin was invented, it was already a pretty complex solution to a problem that indeed should be tackled with new technology: Make payments easier and more independent of third parties.

So far, Bitcoin has not achieved this well. Yet, I think there will be technology that does.

But all those new projects are super complex. As if it is already time to build whole new ecosystems on top of the crypto tech we have.

But we don't have very useful technology yet.
Not it won't for this small strings. A 64 byte string likely fits in a cache line so you're doing a cache line comparison which may even have a microop in the CPU.
Alternatively using SSE or AVX to vector compare the strings which is still really fast.

I suspect the author made critical mistakes too.

If you are actually hitting a match or do many operations with warmed cache, vector may actually win big time even compared to unordered_set as there may be no pointer chasing involved. (since both all keys and all values are in cache)
The vector scan essentially boils down to a memcmp for a sufficiently smart compiler.
Computing the hash may or may not be faster than this.
I'd like to see the results of a "Finger Prick Vs. Veinous Blood Draw" poll.
It's not just the interface{} thing that's annoying. From my point of view, Go has way to many annoyances to be decent. No constness. No protection against copying. No compiler warnings. Crap error handling. Public/private denoted by uppercase/lowercase letter (WTF?). Implementation details leaking into the language - such as the "typed nil" nonsense. Struct and interface embedding is insane. Multiple returns from functions but no tuples. Needlessly complex `for` syntax, needlessly complex receiver syntax. Needless magic channel operators (they could've easily just been functions).

The tooling is also annoying with the most glaring deficiency being the lack of package versioning, which I believe is going to change (or it has already? I don't remember). And then there are tools like `go vet` which basically just attempt to make up for the compiler deficiencies in sub-par ways...

Go has a very nice runtime, but the language itself and the tooling feels extremely half-baked. I'm curious whether Go 2 will improve upon this.
As I read the evidence, you're only fucked if your OPSEC is weak. Sure there have been lots of high-profile takedowns. But I only know of one case where a bug in Tor per se compromised users. That was CMU exploitation of the relay-early bug. That's how they got PlayPen. And then they ran it as a honeypot, serving phone-home malware, and nailed lots of users.

But in every other case that I'm aware of, OPSEC failure led to pwnage. Freedom Hosting. Silk Road 1. Sheep Marketplace.

So can you point to another case where defects in Tor design or practice got people pwned? I doubt it. But even so, I am concerned that the absence of such news just reflects parallel construction.

And finally, it's not enough to just rely on Tor. In my opinion, one should always use Tor through a nested VPN chain, comprising servers from at least three different VPN providers. That way, adversaries must compromise both Tor and the VPN services. Also, it's crucial to never run servers in places that can be associated with you. Because the more traffic there is, especially if an adversary can control traffic flow, the easier it is to do traffic correlation.
Optical heart rate when not moving is pretty easy to do.

Measurements are much harder when the user is moving around erratically, such as is typical with exercising.

Source: I worked on a fitness product using optical HR for 3 years.
Technologically, it's end to end encryption, with forward secrecy. Done. We have lots of commercial and non commercial products that do this, from PGP to Signal. Even WhatsApp does it.

Eventually, the elderly, uninformed US government is going to pass a law requiring a back door. And two things will happen:

- someone nefarious will get the private key, and do something nefarious with it. (Hopefully no one will die)

- offshore private messaging will become a thing.

There's a market for bith insecure-but-endorsed and secure-but-illegal, to be sure. And the 5 eyes will probably fight for decades to squash private messaging.

For a worst case scenario, see the war on drugs for an example of how this could go.
I'm still using the native client, which really isn't all that bad. But the new one is horrendous.
Unfortunately that appears to be my natural inclination and now I'm facing a list of more than 50 or so "available paths". This can be equally as daunting as having no options and frankly it has led to decision paralysis.

Some might then say, "well, narrow down the list to 3-5 options". Well, how does one go about doing that? Am I to perform the pre-mortem and value analysis on all 50 of these potential options? Randomly select a few to discard (since having so many options suggests perhaps that all have enough benefits to be viable?), or maybe run some kind of "tournament" where I play off each option against one another, loser is discarded and we continue on until there is a winner?

I appreciate the article and will take some of its lessons into account but I'd love to hear what the author of the piece would think about my situation.
Boy, I hope so.
Won't the read/written values to the data structure depend on different constant values (data size) in the different functions, making it unfoldable?
True
Because hackers need much more code lines than those.
Bryce Courtenay (author of The Power of One) calls this "bum-glue."
Uber to block low-rating riders in Australia and New Zealand
Refactoring: break code fast, fix it faster
Can you name the guilty for your fellow Aussies?
Also Netflix might be better / not throttled due to their OpenConnect program which would be saving the ISP traffic
https://openconnect.netflix.com/en/
Ultimately these governments can break security at any level. It’s not just the encryption or the apps — if they require the OS manufacturers to cooperate with them, they can record all user input and output. Likewise hardware manufacturers.

It’s not just phones or computers, either — The UK was well known for having high CCTV density well before the proliferation of low-cost digital cameras; By my estimate is now well within government spending limits to put all movement under surveillance by putting cameras on every corner which combine ANPR and facial recognition to cover pedestrians and cyclists as well as motorists; and laser diodes are so cheap every window, never mind person, can be surveilled with laser microscopes.

This is also cheap enough for criminals to do it. I recently got (fake) scam blackmail emails demanding bitcoin under the threat that they had used my webcam to record me watching porn (duct tape over my webcam says they didn’t), but imagine a local crime gang doing that with a drone pointing at your window.

We have to change a lot of stuff in out society very quickly to keep us all safe. We need a world where none of us need secrets, because very soon we won’t have the ability to keep them. We also need the ability to survive ourselves breaking the law, because the law was created with the (at the time reasonable) belief that only important violations would be brought to the attention of the authorities, because most of us can’t get through the day without violating several [1], and because even though current state-of-the-art A.I. can’t automatically enforce all those laws, we should assume that is coming.

But not just what, also how fast it changes and how slow we react: How long ago was it demonstrated that keys can be duplicated from a single image taken by a telephoto lens? And how many keys have been made safe against it since? The only thing keeping us safe is that even the bad actors aren’t keeping up with the tech. That isn’t good, because it means that whoever does use it will look, what’s the phrase, “indistinguishable from magic”.

[1] https://mises.org/library/decriminalize-average-man
Many companies also had successful "serious" projects in Algol, Pascal, Basic, Forth, you name it.

The world of programming languages has improved since then.
Which do you mean by "the compiler"? I'm pretty sure the Go compiler doesn't have a feature like that.
Notch support in chrome 69
That might be one of the most readable pieces of code that I've ever read.
I bet the issue is not necessarily a lack of interest, more likely a lack of exposure. There arent many (successful) programmers willing to work on a teacher's salary when they can probably make 3 or 4 times that elsewhere in industry. I didnt even have the option to take AP computer science in high school, I imagine thats due to the lack of teachers, and that situation is probably pretty similar around the country
Some single-character words are included in the vocabulary list if they're often used as stand-alone words. Others that are rarely used alone or whose meaning can be inferred from "compound" words (e.g. 边, which occurs in 旁边， 右边， 左边，etc) are omitted. It's all based on my best judgement (which is probably misguided sometimes). A lot of manual tweaking went into generating the vocab list. All this deduplication is encoded in this file if you're curious: https://github.com/kerrickstaley/Chinese-Vocab-List/blob/mas...

Also, in order to generate a flashcard for such a word, it would have to appear in a standalone context, e.g. 我没吃过牛肉 would not generate flashcards for 牛 or 肉, but 牛不吃肉would.
My process is evaluating the pros and cons of "which one" rather than "whether or not". While this piece is an opinion, it is nice to get some validation.
The first example is more likely congestion than throttling, but that's only really a difference in the manner that your ISP is being cheap (and not having enough bandwidth upstream).

Using a VPN in this case is probably causing your traffic to take a different route than everyone else's youtube traffic, thus avoiding the congestion bottleneck.

Netflix may have a local cache nearer to you, so you don't hit the congestion (and the amount of content in a Netflix cache is probably a lot less than Youtube).

Example 2 could be a packet-lossy network which causes your TCP connection to ramp back. If it's constant packet loss, your TCP connection will probably get slower and slower: TCP uses packet loss as a signal it's going too fast, but if that's not the cause of the loss, your connection will just keep getting slower.
This was referencing templated maps, so your favorite optimizing C++ compiler.
Most bloated sites don't even have an excuse to be more complicated than this.
Well "Sitzfleisch" is not something the young generation is popular for, therefore probably the loss from vocabulary.
To have the completely open up-streamed kernel would be great and that's reasonably ambitious task they could focus on. But nothing more, there is AOSP with F-droid for that.
We want machines to be people and people to be machines. What is wrong with us?
I'd be interested in the methodology and whether the following was taken into consideration:

1. Was the cache emptied before each test? (A lot of these sites would share scripts on CDNs)

2. What Firefox addons were enabled? (README says that uBlock was active, so that definitely has an effect)
Building .NET Core desktop app
In my considered opinion, "society of laws" is generally just a fantasy. Maybe it works well enough if you're privileged and/or keep your head down. But generally, laws are whatever the powerful say they are.

Edit: Also, it's arguably moral to violate obviously unjust laws. I mean, that's how the US was founded.
It may not even survive en banc.
Your PC don't store your data on Chinese state-owned servers.
Or most optimizing compilers written after the mid 80s?

(Looking to be corrected, not sure)
Ok, here's a weaker question: do instantiating an std::unordered_map<int, int * > and std::unordered_map<int, long * > cause two copies of the template to appear? Yes, I know that the functions must both appear so that they can be called–but do the function bodies get duplicated (as opposed to one "function" just falling through into the shared implementation).
function onready () {
recoll();
}

document.addEventListener("DOMContentLoaded", onready);

Just attach recoll() directly. There's no benefit of going via onready().
Highly overpaid people, that can’t be fired and whose performance cannot be evaluated are not really interested in doing this boring thing called work. You know, that IG Metall’s “Leistungszulage” cannot be cut? Please look here on page 3:
https://www.igmetall-schaeffler.de/uploads/media/LBU_Flyer__...

“Quervergleiche sind nicht zulässig“ <- it’s a hatchery for low performers!!!
You can observe it though, iphone's jailbreak community is most of the time 2 and at best 1 patch behind iOS.
The open source guide to DevOps monitoring tools
So you're saying a technology that has spawned a new market doing volume to the tune of $500 million per day is 'not very useful'? I disagree.

Anyway, a lot of the complexity in this space is indeed over-engineering and me-too engineering for problems that are already solved but that need to be 'customized' ever so slightly. In LINE's case they want the tech to line up with their business model so just forking Bitcoin is not necessarily an option for them (though perhaps they are using it on the backend or in some aspect of their architecture / accounting system).

Maybe their new system will fail, maybe it won't - but definitely if they are doing anything close to Bitcoin volume I wouldn't write it off as failure.
> Talents come and go.

I've seen just as many low performers come and go. It seems surprising at first, but there is a form of logic to it: the recruitment process is their only chance of feeling valuable (and who knows, maybe they will even stop being low performers in a different context).

Might not happen as much in companies at the top end of the employer attractiveness pecking order.
It's worth discussing: Just because "the" Go compiler doesn't implement it now doesn't mean a Go compiler won't in future
> By my estimate is now well within government spending limits to put all movement under surveillance by putting cameras on every corner which combine ANPR and facial recognition to cover pedestrians and cyclists as well as motorists; and laser diodes are so cheap every window, never mind person, can be surveilled.

That's a maybe. You are however vastly overestimating the time it would take for the UK government to go to tender over such a platform. Then you are overestimating by an order of magnitude the private sectors ability to deliver such a platform within a reasonable budget and within the next few decades.

Have you looked at government infrastructure projects? Thankfully they set a reassuringly pitiful benchmark.

For now..

I agree with the rest of your comment wholeheartedly.
Didn't sound that Java-specific to me:

https://doc.rust-lang.org/std/collections/struct.HashMap.htm...

http://hackage.haskell.org/package/hashmap-1.3.3/docs/Data-H...

https://stdlib.ponylang.org/collections-HashMap/

https://api.dartlang.org/stable/1.24.3/dart-collection/HashM...

https://pocoproject.org/docs/Poco.HashMap.html

For me, HashMap is an abstract data type that adheres to the Map interface and is implemented with (i.e. has the performance characteristics of) a hash table. It's a subset of Map, hence the "go's maps are hashmaps" remark.

HashSet is often implemented with hash tables too. I guess the difference is ADT vs data structure (and I see your point there), not Java-specificity.