skysight-inc/HackerNews huggingface dataset:
I would guess it has much more to do with shipping and dealerships- you can get these things delivered, but even a horrible quality gas scooter costs 800-1000 USD delivered. A buddy bought one several years ago. It showed up at his doorstep in a neat little box and worked quite nicely once we had changed the oil (full of metal shavings from manufacture), although the CVT and tiny engine weren't quite up to getting on the highway.

Even most scooters and motorcycles in the US are sold through dealers, and they will simply be making no money on a vehicle that costs <$500. It's probably only feasible to store them in a warehouse and ship via freight, which is expensive. I don't know why you don't see them in Walmart, but maybe there's some sort of law or maybe even Walmart can't move them.
With xargs (and find), I wish I would've found this sooner:

find test -print0 | xargs -0 file

"This allows file names that contain newlines or other types of white space to be correctly interpreted by programs that process the find output. This option corresponds to the -0 option of xargs."
Kindle is the platform where people pay money for books. There's lots of ebook stores, but Kindle is where the buyers are.
ElixirConf EU 2019 Call for talks closes Sunday Send a proposal
The United States has given China preferential trade deals (deals that are unfair by benefitting China) since the Nixon era. It is truly a tragedy that these two countries don't get along better.
Just Launched Cooee Network V2
> What was the effectiveness of these forts?

James Burke covered this a bit in episode 9 of Connections (about 4 minutes in):

https://archive.org/details/james-burke-connections_s01e09
Cool project! Are you considering any kind of vetting mechanism for sorting the great stuff from the less great stuff, e.g. user voting or similar?
I've lost multiple terabytes with btrfs on multiple different systems. It was essentially a random occurance. These were all cases of simply using it as a regular filesystem. I read the docs I attempted recovery. They didn't work. And quite frankly I shouldn't need to take those steps anyways. As for your example that seems insane someone should have to jump through hoops like that to utilize a hard drive. Btrfs is junk and I am glad it has been removed as the default on a couple distros.
I wrote a Python cli tool for getting the git status/history over multiple local repositories. I am often working across several repos on a single project, but generally I find it useful to see what updates are available, and also what my team are up to.

https://github.com/benp44/git-bulk-toolkit

shameless plug alert
Cracking linux full disc encryption, luks with hashcat
I'm sorry, my previous comment was not clear. I should have written beware before using fibers because it won't access Thread.current[:vars] _as you might expect_.

Here is an example:

fiber = Fiber.new do # Thread.current locals are copied to the Fiber when fiber it is built
puts "1. #{Thread.current[:test]}"
Thread.current[:test] = false # the fiber has it's own stack, won't leak away
puts "2. #{Thread.current[:test]}"
end

Thread.current[:test] = true
fiber.resume

puts "3. #{Thread.current[:test]}"

Output:

1.
2. false
3. true

So fibers comes with their _own stack_, including threads locals, yes, but from _when_ you instantiated them. Not from Thread.current :/ Also writing Thread.current[] won't apply outside the Fiber.

I was confused, and not alone: https://github.com/rails/rails/pull/30361.

So my conclusion about Fiber is always be careful with Fiber / Thread.current.

edit: style/explanation
I love fish-shell, but after years of using it I switched to Oh My ZSH!. The bash compatibility makes it a whole lot easier to use when you're the type of person who has to look up "how to do X on the command line" on the internet more often than you'd like to admit (that would be me).

https://ohmyz.sh/
A feature request: when you highlight the command line, do not include the shell prompt.
/u/lordnacho
Just for context it seems the above user works at Google based on previous comments.

The idea that Google has internal research indicating this wouldn't be surprising to me.
Core Falsehoods about the Digital Sphere
>£11,000! I can buy an electric scooter here for $700.

Perhaps, but there are also cars that cost $10000 and cars that cost $500000.
that's a fair point, but i don't think that's what the OP meant. CLI is commonly used to cover TUI when pittet against GUI.

greetings, eMBee.
Medical Ethics: “When a Dying Patient Confesses to Murder”
That also seems a matter of perspective. It is unfortunate in our culture that the elderly are looked down upon, instead of as an excellent source of wisdom about how not to die early and live a happy life.

It seems effort is more efficiently spent in changing perspective in ourselves and those around us, rather than trying to fight off inevitable old age and death.
80 kg, oof. I bet you could crash that into a tree at 30 mph/50 kph and once you got out of the hospital you'd only need to hammer the dents out.
Threads can be implemented as a library if the compiler and hardware don't perform any reordering of memory instructions.
Different class. This thing has a 10 kW motor.
Guake - dropdown terminal with tabs for linux :) I can't see my day without it !
iftop - top for network interfaces.

vnstat - the simplest traffic stat collector I could find.
7 Scams to Watch Out for on Black Friday and Cyber Monday
They have a cult following because they can go 60km/h but are treated tax-wise and driver's licence wise like a modern scooter that is limited to 45km/h. (The regular speed limit in cities is 50km/h)
This is a fairly vacuous remark, if I'm frank.

The problem isn't that you have to learn another framework (although it does become a problem when they're all slightly similar and they start to meld together after the umphteenth, not to mention that learning slows down with age). The problem is that each frameworks brings along new edge cases, new problems and forces you to reinvent tools you already had for this new framework. Although learning new shit can be exiting, at some point, you gotta stick to something for a while so you can also actually build a lasting product with it, rather than building a new prototype but never finishing anything because you're distracted by a new shiny.
Does anyone not working on million-line codebase ever find themselves limited by grep? I am genuinely curious.
>The reason it's dosed incorrectly is because it is manufactured and sold in an unregulated environment.

How do you know it isn't because more of it makes you feel more of the effects?
I imagine that the longer you’ve been coding in the real world, the harder it is to justify doing all this studying for interviews to get a similar job, especially if you aren’t motivated by money alone.

Recently interviewed with one of the big ones and they were enamoured with my Swift and iOS dev knowledge but I’m not great with identifying graph questions. After many long internal discussions and even a letter of recommendation they passed/asked me if I was interested in other semi-technical roles at the company. In moments like this my sentiment is ‘take me or leave me’.
Stephen Hawkins
This thing is likely much faster than the $700 scooter. Most lower end scooters are e-bikes and are power/speed restricted.
Amazon stores all audio recorded by Alexa
> *citation needed
Yes. Citations would be useful. To me, it seems to make sense intuitively. I'd say that at the very least it is a fair/objective way of ranking candidates. Particularly so if where the ratio of candidates to positions is high.
> and would never trust a review from a site when the site is trying to sell me something.

I guess you don't use Amazon.com?
tabview [1] is a somewhat simpler tool for navigating tabular data that I install everywhere

https://pypi.org/project/tabview/
> So both have been growing at a similar pace.

Don't know if you can compare these numbers that easily: one increased their userbase by 12%, the other by 45%.
> I forced myself to go to the gym at a certain time for long enough that I just feel like doing it now, so I go automatically.

Character is destiny. The content of your character is your choice. Day by day, what you choose, what you think and what you do is who you become. ― Heraclitus
it's nice to see new approaches to email in a terminal. how about integration with notmuch?

greetings, eMBee.
The trades aren't __that__ dangerous. Certainly not any more dangerous than sitting at a desk all day, stressed out, and putting on 30 - 50+ lbs. That sedentary lifestyle will kill you.
I'm the same when it comes to work out. I set 4PM every Monday, Wednesday and Friday as a workout time and I always plan around it.

I've been trying to do something similar with learning a language but to do it as a first thing every morning. After about 6 months I still din't manage to make a proper habit out of it.
Or France.
tldr is really handy for that: https://github.com/tldr-pages/tldr
You are misunderstanding. Optimizing log wealth isn't because you have logarithmic utility... It's because doing so maximizes growth, which is more important that immediate return in a game of repeated investment. Kelly maximizes your long term absolute wealth in such games.

Edit: I see you last paragraph acknowledging but doubting this claim. Demonstrating an optimal strategy in a stochastic game is hard to make toy-like, because you have to somehow describe both the probability distributions and the entire range of strategies someone could take. In lieu, the end of this article does a good job of listing simple explanations of what that (provably) optimal strategy property entails: https://www.stat.berkeley.edu/~aldous/157/Papers/Good_Bad_Ke...
They are entitled in the sense that they pick majors / areas of studies with limited market value. Because mom said I can grow up and be whatever I want. It's as if the degree is more important than an employer seeking that skill set.

They are entitled in the sense they insist on going to some overly expensive exotic school to get that degree, because a state school isn't good for their ego. Because dad said I can do whatever I want with my life.

They are entitled in the sense they make these decisions without any sense of the debt they're going to take on. I hate to sound blunt but if you can't figure out (e.g.) 100k in debt isn't easy when you make 35k y/p (and insist on an apt with all mod cons, a new car, etc.) then perhaps you're not yet college material.

True story: I recently suggested to an average academic HS senior that he consider a year at the local community college to get the ball rolling. I explained he could transfer. I explained first year courses didn't matter. I explained it would save a __ton__ of money. I don't think he heard anything I said.
this is a great signal of the market maturing
I used to be a major user of the site and i think the reviews on TripAdvisor are a lot more honest and genuine. The problem for me was that TripAdvisor's app did not allow me to book a hotel last time I have tried it, merely provided links to other sites and vast amounts of extraneous features. I ended up uninstalling it.

When you are traveling on an impulse and want to quickly find a room (the whole point of using such an app), the last thing you want is to fiddle with a myriad sites and accounts.

Compare this to booking.com's app, razor sharp focused on getting my card details and book a room. In a few minutes i get a strong guarantee that there is a place to crash to wherever I'm going, and I can go back to enjoying my vacation.
The Short-Term Economics of a Tesla-Powered Solar Home
Developing and debugging IncludeOS applications
Really? A programmer of any stripe who doesn't recognize assembly just seems like a very wrong thing. One wonders what their mental model of the computer is like.
The media, the inventor of the web.. but that's all details.
That was exactly my take as well. Absolutely loved On the road, found Dharma Bums to be too incoherent.
4 Chinese and 4 American Universities among world’s top 10 in math and computing
"GOTO considered harmful" doesn't mean you should program in assembler without JMP (and without CALL, for that matter, since the ability to CALL into the middle of a function is equally problematic).

All flow control is really just GOTO in the same sense that all programming languages are just assembler. By beginning of the century, most programmers had realized that this is not the case.
What are you basing that it's going out of fashion? Shopify and Github both run unicorn which is pre forking as far as i know. I think some companies prefer to prevent thread safety issues and pay the extra performance cost.
IMHO Angular in its recent versions is the most simple front-end framework ever. It's not even JS anymore. It's type script + reactive framework. Those 2 things makes programming extremely easy.
Key strokes required. Everyone taps today. Tapping input on a device is horribly inefficient.
It world be nice to be able to move the "Stylization strength" bar and see how the image changes, but it's probably too slow for a real time result :(.

What about making a short video or an animated gif? Is the transformation smooth? (Is the image at 53.2% similar to the image at 53.3%?) Or the texture is rearranged in a random way?

You can probably calculate some key points in the bar while the user is wandering, and then use them. This will kill the battery of the cellphones, so perhaps don't enable it by default.
Past performance is not indicative of future success. Add in AI / automation and __many__ middle office jobs are going to be replaced.

Finally, as covered in Duckworth's book "Grit" brains / education isn't the key.
Always a good topic to discuss. Many applications to high-frequency trading due to the probabilistic nature of outcomes.

Here are 2 previous HN discussions:

https://news.ycombinator.com/item?id=13143821

https://news.ycombinator.com/item?id=2504222
> git-annex is not a filesystem or Dropbox clone. However, the git-annex assistant is addressing some of the same needs in its own unique ways. (There is also a FUSE filesystem built on top of git-annex, called ShareBox.)

So I assume you made it work like Dropbox for you anyway. How did that go?
(+1) Well done.
In secondary link in the top comments they say that it can now be measured mechanically (they mention only capsaicin though, so I'm not sure if it works for the other types).
Are you talking about drugs like heroin? Otherwise lots of opioids are legal but regulated now.
I don't understand the example. While(false) means that the loop will not be executed again, which is the opposite of the example with goto.
I've been trialing the Things app recently. Pressing F12 anywhere, even when using some other app, pops up a window where you can quickly add a todo. When you're doing something else, and suddenly remember something you might want to do later, it's very easy to store it.

When you have the popup open it has shortcut keys for associating it with a certain project or date. If you're in a hurry, you can skip that and move it to the proper place later. Because of the shortcut and being able to organize later, it's completely effortless to note something.

Everything you add shows up on your phone as well, so it's really convenient for taking notes around a topic and not forgetting stuff. You can have daily repeating tasks too, which are nice for habit-building.
Did you think "not the US" meant Canada?
Having taken care of someone who succumbed to dementia, I can say with some authority that it's not a matter of perspective. The last years of life are an absolute horror show for a depressingly large fraction of the population.
I've been using HotelTonight a lot as it lets me pick a date I might want to go somewhere and it sends me updates on decent hotels as the price goes down. But I use TripAdvisor to check first if it's a good spot to stay.
Don't you think there's a danger that because of the opioid epidemic, doctors might hesitate to prescribe the drugs to people that actually need them?
units

Doing any kind of engineering or science, this is my go to calculator for stuff that I find a lot of people using google for
I have not spent much time in Germany, but I believe it is not technically allowed except for specifically marked (signage) sidewalks. It's just accepted basically everywhere. A Goldwing is very nearly as big as a Smart FourTwo, I would suspect that if someone complained you would get a ticket. Best case, a bemused policeman laughing and asking how you managed to get it up over the curb.

Germans are surprisingly relaxed about rules, despite the reputation. If nobody will get hurt, then it's usually not a big deal in my experience. This is the country of the autobahn and Oktoberfest. Compare that to Switzerland (where I have spent more time); there the police will give you stern warnings even if you haven't broken the law. They are very "just-so".
This reminds me of ... pthread api implemented as a standalone library!

https://manpages.debian.org/jessie/libpth-dev/pth.3.en.html

> The thread scheduling itself is done in a cooperative way, i.e., the threads are managed and dispatched by a priority- and event-driven non-preemptive scheduler.
Tmux: https://github.com/tmux/tmux/

ts: http://vicerveza.homeunix.net/~viric/soft/ts/ (TaskSpooler) queue commands in different terminals

socat: http://www.dest-unreach.org/socat/ -- Multi-purpose relay

most: http://www.jedsoft.org/most/ pager more features than less/more

sshfs: https://github.com/libfuse/sshfs remote filesystem using SFTP via FUSE

passgo: https://github.com/ejcx/passgo Simple golang password manager

rclone: https://github.com/ncw/rclone rsync for cloud storage

autosub: https://github.com/agermanidis/autosub Command-line utility for auto-generating subtitles for any video file
Mapping the urban forest at street level
Also, Q.E.D technically references 2 polysyllabic words.
it doesn’t really matter what you enjoy if we are talking about what is needed to make a given language faster. That being said, nodejs on v8 is a lot faster than ruby and dynamically typed, so I do agree with your conclusion that static typing is not necessarily the answer.
daily-ish drivers of mine:

- autossh - https://linux.die.net/man/1/autossh

- sshfs - https://github.com/libfuse/sshfs

- pandoc - https://pandoc.org/installing.html

- exiftool - https://www.sno.phy.queensu.ca/~phil/exiftool/

- htop - https://hisham.hm/htop/

- tmux - https://github.com/tmux/tmux/wiki

- rsync - https://rsync.samba.org/

- midnight commander - https://midnight-commander.org/ (faster, than loop ing ls, cd .., ls)

Still trying to think about the others.
The funny thing is that such "irrelevant" data may hint at something real if it happens frequently enough. Like the whole Parkinson's medication with increases urge to gamble as a side effect. That sounds like somebody in a clinical trial making excuses at first glance.
Show HN: A tool focused on making 1:1 meetings actionable
> Who's to decide which porn is more or less damaging

Or just what is meant by 'damage'? Discourse here is unlikely to be a friendly academic discussion on the meaning of words, but instead another instance of the eternal question "Who? Whom?"
I don’t want to have to like a conclusion to get it. I want to understand the reasoning behind the conclusion to appreciate and learn.
Gitcoin's Results
The promise of Microservices, the challenge of Containers
The best cook books out there right now as far as I'm concerned are Meera Sodha's. Veg-centric (one book is entirely vegetarian) Indian cooking that's well-explained and mostly very easy to do at home (and totally delicious).
I've got the same feeling but with bad connotation.

React is easy the same way jQuery is. Easy, unstructured, foggy, too much permissive tool.

Far too easy to end-up with spaghetti-code.

I prefer not using it, Angular is far more organized.
To be fair, some of the accepted "realities of degenerative aging" basically boil down to lifestyle diseases related to poor diet and lack of exercise throughout life. This certainly seems to be the case here in the west, at least.

Perhaps people should take more responsibility for their own wellbeing instead of gambling on there being some massive medical breakthrough.
I managed to develop one later in life in my twenties bizzarely.
> Atheists have no reason to fear death, because then there is nothing.

This is somewhat trite, IMHO.

I don't fear the state of being dead, I fear getting there (death is unlikely to be fun) and I deeply fear not existing any more, and my time coming to an end. I like being.
> They do not have the right to steal it in any fashion that they see fit.

I'm sure they'll stop doing it now that you, and American, has determined that they have no right to do so.
They wouldn't pass the safety standards. Most Indian cars got a zero from NCAP
Scientists and academics are not above humor: http://iopscience.iop.org/article/10.1088/1751-8113/44/49/49...
Not far behind you. An uncle had a major bypass heart operation in his 60s, after which he started daily 4-mile walks and he's still doing pretty well 15 years later. Inspired me to start daily walks earlier in life (usually about a mile) and a few sessions of exercycle and karate every week.

The other ingredient which I have only been recently aware of (thanks in large part to reading "Why we sleep") is getting a full night's sleep. That's hard for me, because I am naturally a "night owl" and light sleeper with kids who need to get up early, but I am aware of the need and try to get 7 or 8 hours as best I can.
It doesn't look like the headlight can swivel.
A friend of mine is an allergist at a large Boston hospital, and she suggests changing standards of care to expose kids to their first peanut butter when they're young in the pediatrician's office where reactions could be handled.
Something bayesian
The Formula for Destroying Innovative Teams
> In Germany for example, scooters and motorcycles can be parked anywhere on pavements

Not true, motorcycles have the same parking rules as cars. It's just easier to park a bike so that it doesn't get in the way, making it more likely it's ignored.
Show HN: An android application to get notifications from a server/script
Very high bed tax can make "unofficial tourist accommodation" more competitive compared to official hotels and hostels. Even though regulation tries to prohibit that, tracking down the providers can be difficult.
We would love it if you can give us some quick 30 seconds feedback here https://goo.gl/forms/CDQ8pwMzTecMuZsf1.

Thanks for stopping by :)
This is mainly a program to scratch my own itch,

a while ago I had a periodical cron script that would check if a specific domain is available. I wanted to get a notification on my smartphone as soon as the domain was free.
But I couldn't find a simple way of sending a push notification from a bash script. I ended up using the [IFTTT](http://ifttt.com/) API to send a [Pushbullet](http://pushbullet.com/) message to my phone which triggered a [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch....) task to play a loud sound - it worked at that time, but I still think it was stupidly complicated.

So I decided to make an app where you can send a text to a very simple API and get a notification on your phone. And over the last weekend I decided to polish it enough in case someone else runs in the same need :D
Yes, but it must also be the looks of the thing. The Simson S51 is newer, has the same sort of speed, is legally treated as a scooter, but does not appear to have the same cult status.

I see the new electric Schwalbe quite often in city traffic and the acceleration of the thing seems insane.
Not in the context of OP it isn't.
> For me, it took more time to write in than normal handwriting.

This is generally true when using anything other than a fountain pen. A fountain pen has a much lower friction with the paper which makes lifting your pen a bigger hassle compared to with a ballpoint.
Internet Explorer Automation with AutoHotKey