skysight-inc/HackerNews huggingface dataset:
That's pretty fascinating, and might be something I can work with. Thanks!
> I've been using gmail for a long time and have just noticed something

They are reading 100% of your conversations?
Sci Hub repository torrents of scientific papers
Doing, failing, reflection.
Sorry. I did not think I was engaging in any personal attacks or "nationalistic flame-war," rather just responding to someone who:

1. Followed me, personally, from another thread because they seemed to believe they were entitled a response to some off-topic "points."

2. Made baseless accusations against me, such as accusing me of being an "agent provocateur," a Russian or Chinese troll, and someone who was engaging in the "political abuse of psychology."

I think Jonathanyc's behavior was far more characteristic of a "personal attack." You're the mod and can ban and unban who you like, but I do hope there's at least some consistency.
Only 10 years? Feels old, man.
When it comes to parsing JSON, they are indeed not doing the same thing. Buger's parser is not unmarshalling into an annotated struct.

But often that struct isn't your end goal in life, such as when your data is being transformed, dispatched on, or being moved into another yet data structure. In that case unmarshalling to an intermediate structure, while convenient, is also extra computational work.

Buger's parser isn't the first thing I'd reach for, but if JSON parsing performance is an issue, ObjectEach() can be used in many places where you'd otherwise invoke json.Unmarshal.
The main threat that Tesla has been so far is to German luxury cars. I find it odd that they weren't mentioned.
San Ysidro Ranch was severely damaged by the mudslide. Hopefully, they can rebuild and reopen.
Python for Data Science (Ultimate Quickstart Guide)
My understanding was that this was NIH only and not NSF (though the NIH has a much larger budget so it's the majority of such funding).
Oh that's cool! Think I might do that, too. Thanks.
You probably should have figured out most of these things before you started. Can you leverage your network to get you going?
The point in the article is that the Vim keyboard bindings are most useful. Most editors have an option or plugin for that. That's what I use mainly. For instance I use Visual Studio + Resharper + VsVim ( + AceJump + RelativeLineNumbers) as my main development enviroment. I also use webstorm configured in a similar fashion. Visual Studio and R# understands the code and how to manipulate code far better than anything in the Vim world does, but I use it in combo with Vim keyboard bindings and it becomes incredibly quick to do things.

I don't actually use Vim itself very much ( I still use it for various things, but its not my main editor ). Its nicest attribute is for quick editing tasks it loads quick and can load very large files.
Human universals
> "For some people, no level of internet access would make hot-bunking tolerable."

Completely agree. But in this case, those are not the ppl you want working for / with you anyway.
That's fine, but this library isn't a drop-in replacement for encoding/json; to be that, it has to work for people who expect tagged structs to round-trip through it, which won't happen with this library.
Quitting sugar worked wonders for me
It would be ironic if she won MIT's "disobedience" award:

https://www.media.mit.edu/posts/disobedience-award/
Wrote it. Used to be a poet. Not my best work heh.
Making decisions based on bad science probably isn't a good idea. Ever.
No such thing as learning styles, it's a myth.

https://qz.com/585143/the-concept-of-different-learning-styl...

> So how did a false belief become so widely-held? In his paper on the subject for Nature Reviews Neuroscience, Howard-Jones argues that it’s not a result of fraud, but of “uniformed interpretations of genuine scientific facts.” The assumption behind learning myths seems to be based on the scientific fact that different regions of the cortex have different roles in visual, auditory, and sensory processing, and so students should learn differently “according to which part of their brain works better.” However, writes Howard-Jones, “the brain’s interconnectivity makes such an assumption unsound.”
The reporter doesn't make any claims like that. The word "prove" or "proof" don't appear at all. Instead they say, "The findings do not support the learning styles concept," and "Student grade performance was not correlated in any meaningful way with their dominant learning style or with any learning style(s) they scored highly on."

If there's a complaint to be had here, it's that the HN poster changed the word "did" to "do" in the headline while posting here.
How to Start a Successful Grasscutter Farm in Nigeria – Information Guide Africa
> Your comment history is extremely problematic for Hacker News, because you've been using it to engage in nationalistic flamewar. I don't care what your views are or which nations you have feelings about: doing this is as toxic as it gets.

I feel you've misread my comment(s). The feelings I expressed weren't about any nations, but rather about a particular HN thread. If that's "as toxic as it gets," sorry. I don't think I was personally being very nationalistic, ether. Maybe others were, though. All I wanted was a thread to stay on topic.

> Edit: actually you went so far over the line that we banned the account. No one is allowed to turn HN into nationalistic hell, regardless of which nation they're fighting for.

Sorry. I did not think I was engaging in any personal attacks or "nationalistic flame-war," rather just responding to Jonathanyc, who:

1. Followed me, personally, from another thread because they seemed to believe they were entitled a response to some off-topic "points."

2. Made baseless accusations against me, such as accusing me of being an "agent provocateur," a Russian or Chinese troll, and someone who was engaging in the "political abuse of psychology."

I think Jonathanyc's behavior was far more characteristic of a "personal attack." You're the mod and can ban and unban who you like, but I do hope there's at least some consistency in treatment.

Anyway, I think I got very little warning here, and I feel I might be getting judged for the actions of others. I really don't see any of my comments rising to the level of a "flame," except maybe the exasperated ones that were in response to direct personal attacks against me might barely qualify.
References to Dijkstra "Simplicity is a great virtue but it requires hard work to achieve it and education to appreciate it.", Greek and Indian sand-based mathematics education, and a bit of constructivists and grappling with topology and analysis.
Visualizing a column's space overhead using pg_hexedit
Where is the download page feature in Chrome and Safari?
> Other activities, such as using flash cards, were associated with poorer performance, perhaps because they were a sign of learning by rote rather than deeper learning.

But that's remarkably similar to the way "Deep Learning" is typically achieved. Perhaps it's a bit of a misnomer.
Afaik, the best diets for longevity are based on calorie reduction. For some reason that doesn't compromise the immune system, and a stronger immune sys leads to a layer death.

Again, afaik.
I read that weather patterns carried airborne lead from Spain to Greenland, where it fell in snow and was preserved in ice. However, the winds from mines in the Eastern Mediterranean don't reach Greenland.
How to decode a QR Code by hand [video]
If you are speaking on experience, yours is much different than the person I was speaking of.

I've heard of plenty of cases of legal action taken because someone was fired. I've never heard of a single case of someone taking legal action because they were not hired. I'm not saying it doesn't happen, I just have never heard of a single case.

And personally (and I'm sure the same is true for the relative I was speaking of), I would be never be afraid of frivolous lawsuits from someone who did not get hired (again, because I've never heard of anyone ever filing one). So in my view the point is still irrelevant. However knowing about multiple cases of people bringing legal action due to being fired, I'd still argue that it isn't as easy as people think it is.

And no, I'm not referring to the employer doing any of those stupid things you listed, though some of them were cases where the employer was accused of doing something illegal in firing, but it was unfounded.

I'm talking about relatively small companies for which the hassle of having to deal with these things is expensive - in time lost and hassle dealing with it, if nothing else.
Germany’s Unicorn Craze
I work as an automotive mechanic, and while I maintain a relatively neutral opinion on repo men, sometimes the amateurs that crawl out of the weeds are absurd.

Ive had repo agents posing as customers looking to "get their car," which is pretty funny, but ive also seen agents harassing the front office staff with demands for a vehicle being worked on. Sometimes a driver will park their car to suddenly find theyve been "hitched up" to a seedy looking tow apparatus on the back of an often ironically leased light duty truck.
Repo agents in this case show up as "innocent" middle men while a driver pleads and begs over the phone with a lender to not tow their car for any number of humiliating excuses.

Ive also had cars towed to the shop i work at complaining that the vehicle does not start, which are sometimes the saddest jobs to work on as automotive dealerships typically install an ECU interlock somewhere in the vehicle to remotely disable or neuter certain features of the car if you dont make a payment. I usually remove the devices, not out of a kindness to the customer but because they can make diagnosing real problems with vehicles infuriatingly difficult. They can also be triggered to honk the horn at random or odd intervals as a reminder to pay the piper, which turns a regular shift in the garage into a massive headache trying to track down the upset BMW or Mercedes that wont stop making racket in the lot.
Winners of the 2018 Lyttle Lytton Contest for awful novel openers
Leapfrogging Tech Is Changing Millions of Lives
> “Another nail in the coffin for learning styles” – students did not benefit from studying according to their supposed learning style

> By Christian Jarrett

> The idea that we learn better when taught via our preferred modality or “learning style” – such as visually, orally, or by doing – is not supported by evidence.

Specifically, x is "when taught via our preferred modality", and y is "we learn better". The first sentence of the article gets it right, but the headline is where the false leap of logic occurs. Perhaps the headline-writer is a different person to the article-writer.

Edit: As pointed out by sirclueless, the headline was further distorted by empath75 when posted on HN.
This is a super iffy comment. Please don’t hurt me ;)

Quantum computers fundamentally don’t break everything, just things that depend on problems that can be treated polynomial with respect to time, if you can also be polynomial in terms of state.

Eg there is currently no known way to break any of the major symmetric encryption algorithms (aes etc) beyond bruteforcing, which is faster on a classical machine.

I believe that similar applies to general case of hashing.

Things get wonky once you can convert a O(x^N) problem into a O(N^x) problem with state(N^x).

That’s functionally how things like shore’s algorithm works - each qubit can represent a functionally infinite number of values so you can move from other wise expentional number of components to a polynomial amount, so you can do a pile of math and get a “probably correct” solution to the DLP, which is the core problem for all current assymetric encryption algorithms.

What IBM is presumably trying to say is that all assymteric algorithms are broken if you can get a functional quantum computer, which means getting 1000s of qubits into a quantum state and maintaining that state through a large computation. If that happens then any data that has been archived and encrypted with an assymetric algorithm can be decrypted.

Any problem that also depends on DLP (all the crypto coins for instance) is likewise broken.
> the HN poster changed the word "did" to "do" in the headline

Well spotted! That's a pretty misleading change.
OpenJ9 versus HotSpot on SPECjvm2008
Theatrical karaoke: on Dickens
If you're an everyday C/C++ programmer and can't imagine how Angr could fit into your workflow, then check out DeepState (https://github.com/trailofbits/deepstate). It is a Google Test-compatible unit testing framework that lets you write parameterized unit tests, using Angr to perform the state space exploration. What that means is that you can write a unit test, e.g. that addition of two integers doesn't overflow (it can), and using the power of Angr, DeepState will evaluate your test for all possible integers, not hard-coded ones, and not just some randomly chosen ones.
Tower gRPC – A gRPC client and server implementation
Hm, if the example written on README is representative for current usage, then it surely changed a lot recently. I remember checking angr out a few months ago, and simply running a binary required a few dozens of, mostly boilerplate, code. I may try it again now, looks like it improved since then.
1Password is a good product - I used it for a trial period a few years ago. I ended up going with SpiderOak's Encryptr: open source and free.

In any case, I try to get family and friends to use a password tool like 1Password, Encryptr, etc. It drives me crazy when people re-use the same low-entropy password for everything.
It will be very interesting to see how it turns out for Tesla over the next couple years. It could go either way.
It's hard to justify funding if "all you're doing" is in/validating or peer-reviewing work so it gets repackaged at a breakthrough =(
"kicking" is an interesting euphemism. Even if it were true that fascism "kicked" downwards and socialism "kicked" upwards, what the egregious socialist and fascist governments of the 20th century did wasn't just kicking. It was often quite literally rape, torture, murder, enslavement, and genocide.
Isn't `gt` and `gT` faster? You don't have to move your hands!
In Chrome for Android the feature is available in the first row of its menu. Look for a download icon without any text (the third icon from the left).

In Safari you just have to add a page to your reading list and it will be saved for offline access to your device.
I found learning by history to be easier. For example if i want to understand certain thoery, it helps me by understanding its history, its origin and why it was needed. I think this is however too slow if you need to consume more amount of information.
>Sci-Hub, a website that illicitly hosts full copies of papers and is used by academics around the world, is also a big factor, says Joseph Esposito, a publishing consultant in New York City. “Without Sci-Hub the researchers would be screaming at the libraries and state agencies not to cut them off,” he says.

Well, if you're going to bet your future on Sci-Hub, at least donate to the project and start creating local laws that would allow local versions of Sci-Hub archives.
Yes. But I think if you step back it makes (evolutionary) sense that genetics and diet are tied. That is, diet for one gene profile might not be idea for another gene profile.

That, to me, makes sense.

If that's the case, what is the ideal diet for genetic "hybrids"? Does mixing gene pools __and__ diets lead to more disease?

Modern First World dietary habits are driven by want, not needs. Does this confuse (?) the body and lead to more disease?

If evolution is about survival, and health is tied to survival, it's not as crazy as it sounds.
What percentage of phones are sold with removable batteries these days? <5% would be my guess. Kind of irrelevant information really.
Just stick to "Buy an external USB battery pack for $20 and remember to bring your charging cable with you"
> %n - null

> %% - complete form

Wait, what? %n writes the current number of characters outputted to the int * you specify, while %% just prints a percent sign.
Short answer. It does.
It's almost as absurd as calculating a SHA256 hash by hand: https://www.youtube.com/watch?v=y3dqhixzGVo
I know you said that you like maintaining a super minimal .vimrc, but fwiw there's a couple of plugins that really helped me with the workflow issues you mentioned struggling with:

> Jumping around in longer texts: I know the basics, like searching (/), jumping to a matching bracket (%) or jumping to specific lines (for line 10, type 10G), but I still could use symbols more often for navigation.

vim-sneak is real nice for this, and has turned into one of my most-used movement commands https://github.com/justinmk/vim-sneak

> Using visual mode for moving text around: Sometimes it can be quite complicated to type the right combination of letters to cut (delete) the text I want to move around. That's where visual mode (v) shines. It highlights the selected text. I should use it more often.

vim-move was a game changer for me https://github.com/matze/vim-move

> Tabs: I know how tabs work, but all the typing feels clunky. That's why I never extensively used them. Instead, I mostly use multiple terminal tabs or an IDE with Vim bindings for bigger projects.

This is worth a read: https://joshldavis.com/2014/04/05/vim-tab-madness-buffers-vs.... Buffers + vim fzf is a really nice workflow https://github.com/junegunn/fzf.vim
After using vim for a few years now, I noticed how I changed from thinking about text as characters to thinking about text as lines, which lets me create much cleaner code (independently from pretty printers).

When I selected code via mouse in the past, I selected it from character to character. In vim I tend to think line-wise so I can yank, paste, delete code per line which makes sense in many scenarios.
Wow! Any idea how much data is there all together? I'm on a work network right now and can't fiddle with it.
Medieval trade networks
How to get people to trust in an AI's decision
The consequence for lender is not getting their loan back. You can remove special provisions related to student loans this will make loans less accessible and they will carry higher interest rates but it's a reasonable approach if people want to make this change.
Probably because the 80 char limit kicked in. But we can squeeze in "did" by squeezing out "their".
Using a Samsung Gear S2 watch and not Android Wear, but after 1.5 years, I am still wearing it daily. Main use cases are: alarm that never fails to wake me, convenient message notification in situations where it's impractical or inconvenient to pull out the smartphone, "find my phone" feature, telling time/date, tracking sleep and steps, and sometimes nightlight.
One thing google can do that blows most peoples mind when I show them: Did you know vim supports time travel undo?

Sometimes you do some things then undo and redo trying to get back to a certain point in time. In vim you can step forward and back through all this by doing "g-" or "g+" to travel backwards or forwards in time. Or you can say ":earlier 50s" to go back to where you were 50 seconds ago.

Most editors treat undo as a linear thing, you undo and you redo. But once you undo and then do some things, it starts looking more like a tree than a line. It's not frequent, but sometimes I just need to say "I know what I had was what I wanted 5 minutes ago."
One current problem I have with Vim is those linux distributions where someone - maybe the VPS vendor/hosting company - put in some mystery .vimrc file somewhere that makes the editor apparently more friendly for new users. So you copy and paste a line to your mysql config file, to restart the database service and find that nothing has changed. So then you edit the file again and discover that the mystery .vimrc file has added a '#' at the start of the line.

Another one that gets commonly messed with is the search. If you use '/' then you should expect the search to begin when you press the enter key, with the usual 'n' to go to the next match. But no, some mystery .vimrc file has made this more newbie friendly, so the search happens before pressing enter. Which is not what you want if standard, expected behaviour is expected.

For reasons of teamworking I have moved away from vim plugins in the IDE, for this I have had to buy a new keyboard. Normally I do not use a full keyboard as that number block on the right hand side has no value whatsoever to me. If I was right handed and did accounts then sure, that would be a handy feature, but the number pad is really just not helping for me, most of the time, particularly on a laptop where the numpad skews the keyboard off to the left hand side. I want the spacebar in the centre, not an inch or so off skewed to one side.

So my new discovery - the gaming keyboards that have the home/end and arrow keys but no number block - I think they are called 87 key keyboards. These are great if 'moving away from vim' as the 'home/end' keys make it easy to get to a start/end of a line. Under normal circumstances with vim there is no need for these extra keys, to add to the end of a line or the start is just a matter of using the right keystroke, just 'o' or 'a' is all that is needed with the magic that is vim.

Moving away from vim is quite dangerous, for a while you find programs breaking because there is a block of 'kkjjj' or an 'i' embedded in there somewhere!
A Node-Oracledb Web Service in Docker
You need ONE wallet and then you can use it for all sites. It's much, much easier.

Setting up the wallet doesn't need to be more complicated than setting up a card with Apple Pay. You don't need to understand the underlying technology to use it in millions of stores.

Today's system is like setting up Apple Pay every time you need to buy something in a store you have not visited before. It's a horrible user experience.
One of the few things you dont have to worry about with GDPR is private firms trolling you.

The regulatory agencies are an open question...
> Babbage owned what was probably the first instance of computer graphics, a woven portrait of Jacquard in silk done on the parametric loom whose resolution (1000 threads to the linear inch) approached that of the very best devices today.

The comparison still holds true. Plus I like the contrast with the modern analogy of a thread.
Interested relationships and really faraway lives
Dropping privileges from docker containers, and container isolation are both very interesting and important topics - ones I hear discussed constantly. This author would serve himself much better by dropping the self congratulations - no reason at all for comments like “tech bros crying” and “container isolation is a hard problem - unless you’re me!”. Sorry, you’re not the only nerd smart enough to populate the capdrop table. Also, the default app armor profile for Docker leaves -a lot- to be desired. I hear the term “Echo Chamber” most often from people who deem themselves smarter than the rest, and always in an accusational way... fairly ironic if you ask me.
It isn't. I use F11/F12 for previous/next tab, in tmux and browser, and I can confirm it.
Article didn't seem biased to me though
Lectures as a form of teaching made sense at the time when they were first introduced: the Middle Ages. That was before printing press was invented, books were rare and expensive items so the students would gather in a big hall and the professor would read the book aloud, which for most students would be the only chance in their life to learn from it.

Now that we have invented not only the print, but also computers, ebook readers, tablets, the lectures as a form of teaching are complete waste of time - trading them for more classroom/lab time is the way to go.
This is absolutely inexcusable- requiring customers to disable two-factor auth and storing passwords in plaintext? Seriously, there should be a minimum level of competence required to run a business...