skysight-inc/HackerNews huggingface dataset:
I hear this all the time and I'm not sure if people saying that actually tried performing a MitM attack. First of all, a meaningful attack of this kind would occur when some data is uploaded - if it's just uploaded, you can basically do stupid pranks like replacing words and graphics. But more importantly, in order to actually perform a MitM attack, you need to have access to some parts of the infrastructure of the victim that you normally have not. For example, if you can perform the MitM attack by hijacking DNS (on a local machine or local network level), you can perform much worse attacks than MiTM, and HTTPS cannot stop you. In such cases HSTS can be helpful, although in itself is not without issues.
I want one of these that is free, cross-platform and lets me paste/drop in in some icons I have.

And as a native app, not a web page. I realize that is almost impossible these days, but one can dream.
A bit OT - but having grown up in Finland, I always get extreme nostalgic feelings whenever tango comes up. For whatever reason, Tango was (probably still is) huge over there - unlike the other countries up here in northern Europe.

While other neighboring countries had what is essentially called "dance bands" (think smooth muzak version of country/western music), the Finns kept to their minor-keyed Tango.
Don't bother clicking on that link unless you want to be greeted with a swastika...
Sorry, I haven’t ever gone looking.
I have a router with a lcd display... I never use it (the display), because well.. it's a router, and it's hidden (literally) behind a couch.
YAML just introduced other problems.
That's actually who.my daughter sometimes speaks! :)
Someday I'd like to hear the lines

- What says Lord Stanley? will he bring his power?

- My lord, he doth deny to come.

- Off with his son George's head!

in the original Klingon. Pursuing the synergy-recognising creative destruction of a Stanley[1] is no doubt in the wheelhouse of some on on the Forbes list.

[1] https://en.wikipedia.org/wiki/Battle_of_Bosworth_Field#Stanl...
> the ~~causal pathway~~ hypothesis is such a clear one
Problem is that as Python starts using Julia more and more due to its top notch performance many will eventually question why they even use Python as they will realize Julia is a better language anyway.
I am red/green colorblind. I actually knew about this because they tested for it the first time I got glasses, and it came up there. But for years afterward I never really thought about it; I’d be able to tell basically every color and only falter on some that seemed ambiguous to me but others had an easier time distinguishing–but I never ascribed this to colorblindness; I just thought it was I who didn’t know the colors well enough. For both of your examples: pure red and pure green are very clearly, obviously distinct colors. I don’t think peanut butter looks green at all, it’s clearly a shade of light brown. Really, the only way I can describe the difference I see is this page: https://en.wikipedia.org/wiki/Color_blindness#Signs_and_symp.... There’s a picture of a landscape with various colorblindness filters applied to it. The first two images look identical to me.
The consensus among young devs these days is such a situation would be an abomination, that it's a sign of disrespect towards the visitor and that you should be publicly shamed for this.
Losing a $1M bet on Wall Street
HELIOS - YUME.
https://flukeout.github.io/ https://deadlockempire.github.io/ https://fightcodegame.com/ https://play.elevatorsaga.com/
>Philosophers have been trying and failing for millennia to come up with hard rules for ethics.

They've been trying to find one true/correct system of ethics, which is doomed to fail due to https://en.wikipedia.org/wiki/Regress_argument. What I'm talking about is not trying to find new systems, rather just formalising existing systems, so that they can be analysed more rigorously and checked for consistency. Much as for instance one can formalise and compare homotopy type theory and set theory as foundations for real analysis.
Seems like some kind of bug. It performs much better with trackpad input than touchscreen input.
Interesting.

I just use a GitHub issue for my post's comments, explained here: https://pknopf.com/post/2018-10-13-comments-for-static-sites...

I use GitHub's API to render the comments on my static site. Comments must be left on GitHub.
Modern C++ Safety and Security At 20 – CppCon 2020
Every Saint has a past.
Every Sinner has a future.
Depends... Your phone runs millions of lines of code and you likely browse the web on it which means that any moment an exploit could take over your phone. (or the regularly scheduled bluetooth vulnerabilities).

Bam, someone now have the ability to authenticate as you without even needing physical contact and without you ever noticing - this could run for years without any trace. With yubikey you will notice that it is missing.

There is a yubikey with fingerprint sensor that is supposed to come soon as well.

In my case, the biggest case against a phone app is that the most likely disruption would be either that my phone was stolen (though not specifically to get my credentials) or just break from a fall or something.

And until there is a decent fallback from that passwords are the better choice for me. (Yubikeys aren't that much better in that regard either)
Refactoring: Bi-weekly advice on making software, management and personal growth
Out of interest, what was your reason for doing so? I’ve done a lot of React projects and only once tried Preact, several years ago when we hit some performance issues IIRC (it didn’t help).
> Third, a friend of mine with red/green colorblindness always complained that he couldn't tell the difference between blue ("rare") and purple ("epic") items in World of Warcraft.

I call things that are apparently clearly blue “purple” a lot–I assume some sort of overcompensation of some sort. It’s strange how we adapt, isn’t it?
Yep, agreed. NextJS would be my go to for any new site. I found it very logical and pleasant to work with. As you say, Gatsby felt much more fiddly and I feel the end result with Next is better
What Destroyed All of the Major Bronze Age Cities?
If I lived in a country where all ISPs are allowed to inject my traffic with ads, I probably wouldn't use the Internet without a decent VPN.
3D web exhibition of Lola Fischer's paintings
Open Source Contributor Summit
Open Sauced community is hosting a unique 2-day event focused on educating attendees about how to contribute to open-source projects.

Learn directly from the maintainers of projects ways you can contribute during Hacktoberfest.

This event kicks off with talks from maintainers and experts in the open-source.
The best one is probably this from the early 2000s.

They relied on a paper map only, no smartphones with GPS back then and they did not have any Magellan GPS. Taking a wrong turn somewhere, they added like 40 km to their intended trek, which in that terrain meant two days.

They ran out of food and she was so starved that she ate entire tube of her skin cream. Together with a few bugs that made their way into their tent.

Her description: it looked like yogurt with raisins, but I am not going to describe the taste.

No health consequences.
I do as well. At best it helps, at worst…it’s just not useful? There’s no harm to leaving it on, unless of course the color scheme is garbage and I can’t tell the text from the background.
A society the size of the US has a huge amount of inertia and fears over imminent US loss of global status are overblown. However, the US does have several serious structural problems that will eventually threaten its global position if they are not addressed.

You note in your post that has very strong academic institutions. This is certainly true at the postsecondary and advanced degree level. However, the backbone of American innovation through academia is foreign students who come to study, then develop businesses and stay. This pipeline is under increasing pressure due to anti-immigrant reactionary politics and it is unclear if the foreign student to entrepreneur pipeline will survive both tightening official obstacles (e.g. restrictions on visas) and increasingly mainstreamed public hostility to immigration. It is unclear whether domestic students will be able to take up the slack in the event foreign students are excluded.

Tied into this is increasingly steep American descent into dysfunctional politics, where the dominant political culture is now driven by hatred for the people and regions that actually make the US economy work. It is unclear if economically productive areas of the US will remain economically productive now it has become a stated objective of the dominant political culture to persecute productive areas and deprive them of the resources they need to maintain their human and physical infrastructure.

While a second civil war along defined battle lines is unlikely, the historical record provides no reasons to be sanguine about the prospects of polities that reach this level of internal division. Political collapse into anti-intellectual despotism, potentially spurred on by outside help ('Russia, if you're listening....') is far from impossible.

Finally, the US has a massive problem with inappropriate investment. The US pours a huge amount of public and private money into investments that are either socioeconomically useless, or only redistribute money into the pockets of the very wealthy, instead of enlarging the economy for everyone. Maintaining economic primacy requires creating and deploying innovations quickly enough that competitors cannot catch up. The past few decades of US investment, however, have been much more greatly oriented towards profit taking, oligarchic rent extraction, and graft rather than developing and deploying innovations on a large scale.

It does no good to have invented the Internet when it's barely available in many parts of America and the Internet's primary business-to-consumer purpose is to help various economic parasites suck even more money out of consumer's pockets. The modern US falls down both on mass deployment and on maintaining enough of a market balance to ensure that the benefits of innovation aren't seized by rentiers. These are major vulnerabilities.

The US is in good shape now--in no small part because both China and the EU have their own problems--but the red flags are rising and US standing will fall if nothing is done.
It's actually 850 million people.

"China's poverty rate fell from 88 percent in 1981 to 0.7 percent in 2015"

Source: https://en.wikipedia.org/wiki/Poverty_in_China

I felt like 250 million people difference in accuracy was worth pointing out, but of course this also covers "600 million in the last decades".
Ask HN: Best drawing tablet for online whiteboarding?
Now that everyone is fully remote, I'm starting to miss the availability of whiteboards in meeting rooms to quickly sketch out something.

Mouse-based freehand tools don't really seem to work for me, so I usually end up opening something like Inkscape and drawing a diagram using its tools.
However, that's a lot slower than just drawing stuff out.

Does anyone have a good recommendation for pens/tablets that work well for this use case?
It makes no sense to provide direct links to n-gate from HN, it will just confuse people. Use this one instead:

https://outline.com/jBgZ3E
Has NAFTA not meant that one can, even without internet, practise french and spanish from food packaging?

I enjoyed Bon Cop Bad Cop (2006), a bilingual flick which IIRC can be found with either english or french subs.
I think the point is devices should be designed to be usable by colourblind people, without having to buy an additional device.

Can you imagine telling someone a wheelchair, that should just buy a portable crane to get into buildings that uses stairs?
Its not automatic. China took decades of policy and benefited from periods of global growth. India has different politics
The only thing that could be "unsafe" is your network connection, not his website.
> Alveoli are basically small air sacs in your lungs, so they're a surface

> No idea how that influences where the electrons go.

Electrons don't specifically move toward surfaces, they move to be as far apart from each other, so internal surfaces don't count significantly. Saying they move toward surfaces is only true for convex objects (and they are evenly distributed when the object is a sphere).

In the human body, they'll move toward extremities: hands, feet, tips of hairs, ...

The latter is an easy to observe effect of static electricity, charges will apply pressure on the hairs and make them straight so they are as far away from the rest of the charges as possible. See the first image here for example: https://www.loc.gov/everyday-mysteries/item/how-does-static-...
I've mentioned water because it is something that you wouldn't expect.

Probably alcohol would be another item that's easily available, and not many consider as dangerously lethal when overdosed.

On the other hand, I think there's still a lot of common sense left with paracetamol and other medicine.
Mysteriously updated in 2019, 11 years after the previous release.
They have to put a small speaker inside just for testing basically. Otherwise they will get tons of RMA for "there being no sound".
Why would one always leave the yubikey in their laptop? Isn't one of the security features supposed to be physical seperation of the key and the system when the owner isn't around?
> Vyvanse. The downside is, it’s $400 a month without insurance, and $100 a month with good insurance.

Here in Australia, one month supply (30 tablets) costs 30 USD. The Australian government subsidises prescriptions for all Australian citizens and permanent residents. I believe the actual cost, prior to the subsidy, is around 85 USD. The government negotiates prices with the pharmaceutical manufacturers, and the prices it negotiates are generally less than those that US insurers pay. Manufacturers generally accept less revenue for the Australian market, since if they can't get it subsidised by the Australian government it becomes quite difficult to sell it here.
There has actually been quite some work since the 50ies up to the present day on deontic logic, which is reasoning about ethical concepts such as obligation and permission.
Yes most people know it because Americans are good at marketing themselves and Norwegians , who made Simula, are pretty bad at marketing because being humble and and not blow your own horn is kind of a big deal.

But I know at the University of Oslo there has been some annoyance that Simula’s place in programming history is so unknown while smalltalk has this outsized role.

Smalltalk definitely inspired Objective-C but C++ is clearly derived from Simula. As a fellow Scandinavian Bjarne was well aware of Simula and an active user of it.
That "trap" looks weird. Does this mean that a's type changes somehow if you call it before passing it to f? That is indeed surprising for a statically typed language. Could you write out the types of the variants (wrapped vs. non-wrapped)?
Medicine, electronics, IT, and math all take longer than two years...

Compare https://www.state.gov/foreign-language-training/ (600-2200 class hours for B2 proficiency)
https://www.theverge.com/2016/3/7/11173010/verizon-supercook...

https://tech.slashdot.org/story/07/07/25/155200/tool-detects...

https://lauren.vortex.com/archive/000337.html

https://www.forbes.com/sites/markgibbs/2013/05/01/cox-commun...

https://www.mattcutts.com/blog/confirmed-isp-modifies-google...
Dangerous Caffeinated Products
HTTPS: //boxpiper.com is available for Consultation|Develop|Architect|Feedback
> I know lots of people who would disagree

Friend, you know some people -- it is a small number even if you are a popular fellow. But let's say, for fun, that you know millions or even billions of living people.

These people, if pressed beyond a superficial level of conformity, would disagree _with one another_ on many points of _dogma_. They would mostly agree to practical compromise with one another and with reality. Doors open, Time passes, flame cooks food, arrows pierce flesh, machines must be repaired with new parts... and let's not fly hijacked aircraft into buildings to defend $ourdeity.

In short, these lots of people don't really agree very much among themselves. And some will kill others if they _believe_ enough. There isn't much uniformity of considered opinion among most people, but there is a good deal of pragmatism in action, if not in _word_.

> certainly more than half of humans who have lived

This argument is a sort of speculative vote by dead parliamentarians. And most of these parliamentarians couldn't even write or do high-school math.

The current living human population is larger than any that we can reasonably assume to have existed before. Let's assume that a parliament of 8 billion Homo sapiens is a sufficient indicator of diversity of superstition and practicality.

Other genus Homo may have been different, but Homo sapiens may _believe_ and or say just about anything. Homo sapiens is a practical animal that functions rather well given the mix of under-utilised rational capacity and noodles inside its head.

But it is clear that nonsense abounds in the human mind.
Good thing for plants on Greenland?
Not all of them, particularly the cheap U2F ones don't have PIV or PGP.

I would link to a feature matrix, but Yubico makes it impossible to find one (although I know it exists).

Edit: found one https://www.yubico.com/products/compare-products-series/
Side project for my personal car selling
This reminds me of one of the few good r/ProgrammerHumor posts from this year: https://old.reddit.com/r/ProgrammerHumor/comments/g4cr9m/my_...
Creating screencasts about advanced programming has been my mission since discovering and falling in love with the (no-longer-active) Destroy All Software series.

On my channel (Semicolon&Sons), the focus is on:

- concepts with a tech shelf-life of approximately "one career" (e.g. unix, SQL, system design) rather than on fad frameworks (e.g. whatever JS framework is popular today)

- production codebases (real users, real money, real legacy) rather than toy examples. I base my screencasts off lessons I've learned running my software product over 10+ years.

- tradeoffs rather than overconfidence in trending principles

- I also add in a softer, more business-oriented twist, based on my own background as an independent software entrepreneur: my screencasts have a strong focus on what it takes to market a piece a software, to help the users who'll benefit from your software actually discover it and take a chance with it. This translates into videos on SEO, Analytics, AdWords etc.

My YouTube channel is: https://www.youtube.com/channel/UC17mJJnvzAa_e9qQqLIfIeQ

I have double as many videos, along with show-notes, on the accompanying website: https://www.semicolonandsons.com/
Two points as feedback

1. I use a stylus with my mac and this apparently does not work as expected. The web client should also support an option for stylus mode.

2. The "erase all" function is not working.
Adding workaround if you know one is just good practice IMO. Out helps prioritization too.
I think perhaps here you mean that "signaling bugs is work, just the same as sending a patch is work".

What you said reads like "it's the same amount of work to identify a bug as it is to fix it" and I doubt that's what you intended.
I'm not a fan of rigid formats for human-entered metadata structures like config. I think it violates a kind of Postel's law .. where there ought to be considerable flexibility for the human to specify the structure (and therefore in what the format reader accepts). If you want rigidity, just use an appropriate programming language or, say, s-expressions. The rigid formats ask for their own linters to be created and maintained.

In my indian music notation publication tool Patantara, I use a text preamble format that's limited and far simpler for people to use than any of these "data structure capable" formats - including NestedText/YAML/JSON. Here is a quick description -

1. You specify key value pairs with lines of the form -

key with allowed spaces = any textual value

2. The first " = " on a line separates the key from the value. The key is normalized to lower case and spaces in the key are normalized to single space, and the key is LR-trimmed. The textual value is mostly kept as is (except for LR-trimming), but can accumulate more content.

3. Lines which don't have a " = " are just strings that get appended to the value of the immediately preceding key. So

key = value1
value2
value3

will result in the key "key" having the single string value "value1\nvalue2\nvalue3".

4. If the same key is given multiple times, the values are concatenated with line breaks. So

key = value1
key = value2
key = value3

gets you, for the key "key", the value "value1\nvalue2\nvalue3".

5. The reader doesn't care about data types. However, the application can decide how to parse the string values. One convenience I use for lists of items is "comma or whitespace separated values", where a list of values is given as "value1, value2, value3" or "value1\nvalue2\nvalue3" or "value1 value2 value3" or any combination including "value1, value2,\nvalue3 value4".

Nested structure is not possible with this format (unless you impose more structure on the value in the application), but it serves very well as a metadata format for text files in my application.

Ref: https://blog.patantara.com/blog/2017/04/16/controlling-who-c...
“Write everything in Python”?
Not really. Why not just use the TV until it becomes obsolete then buy a box if you have to?
> or voting power in community projects.

but then they get called lobbyists when this happens.
I know it's an opinionated history, but you may want to draw an arrow from LISP or Common Lisp towards C++, as a good chunk of STL is based on Lisp concepts (and I'm pretty sure I've seen this mentioned explicitly in one of Meyers' books).
What I really want to know is if taking all this adderall to beat my axon terminals into submission and pump out dopamine + block re-uptake is going to cause an early onset of an Alzheimer-esque neurodegeneration when I'm approaching my senior years.

This hypothetical sends chills down by spine knowing I might be making a deal with the devil to get a temporary fix on ADHD symptoms now for increased risk of dopamine downregulation or neurodegeneration later.

Can anyone relate and/or give me some peace of mind? ~60mg/day for 12 years and not letting up anytime soon as long as I need my executive functions under my command to do computer work. If I drop the stimulants I can maybe get a low wage job doing basic IT service desk stuff or live a simple life doing a 'muscle memory' line of work e.g. Amazon factory worker, go to trade school for something hands on, etc. that doesn't require asynchronous access to my prefrontal cortex + memories + instantaneous storage/retrieval with my working memory for hours on end.

God I envy neurotypical people, I feel handicapped mentally in comparison to their baseline.
> 2. Does the eraser on the back of my pen work? (If not, it’s very frustrating and a very bad sign.)

That's just such a random feature to expect from a web app, leave alone to use as a "very bad sign". I can see how it can be useful, but I disagree that the lack of it is critical.