skysight-inc/HackerNews huggingface dataset:
This seems like it would be great for a list comprehension.

I believe the main appeal to using comprehensions is that it speeds up the iteration process at run time so wouldn't a list comprehension be just as useful here if not more so then?.

You could also use the functools and itertools library for really fast iterations, possibly, depending on what it is you are trying to achieve.

If you are specifically talking lists (arrays) why not use Deque? It is set matched and python saves run time by automatically knowing each value will be a finite forward sequence
And for those who will inevitably ask: http://archive.is/Tpfzn
You might be right here that the stations could do a better job of explaining different options, but it seems like people will tell their friends about it and learn about it that way if its useful.

To be honest though, almost every major city has a bike share now so I am a little perplexed that we need to reexplain its value from first principles.
Have an idea?  how to create a SaaS in 18 steps
Blockchain Bot That Allows Staying Up-To-Date with Latest Crypto Market Trends
(This is a slightly funnier joke than it may appear at first glance, because as well as being the name of another programming language K is in fact the 11th letter of the alphabet.)
They're less vulnerable to market fluctuations because they're backed by nothing besides speculative demand and the online drug trade.
> People who are succesful did 99 mediocre side projects before they hit the jackpot

This. Nobody tells you this part. I've read the blogs of several successful side-projectors and independently came to this conclusion a couple of years ago. Even Tom Preston-Werner had a bunch of side-projects that went nowhere (he wrote about it a while back) before GitHub. So also Dennis Crowley (FourSquare) wrote about his side-projects, incl. Dodgeball (college project?), which was a pre-cursor to FourSquare.

EDIT: Found an AMA that Tom did here on HN in 2010. Some interesting questions about doing side-projects while being employed full-time.

=> Ask Tom Preston-Werner, cofounder of GitHub, anything Today, Mon 18 Oct 2010. https://news.ycombinator.com/item?id=1804443
A downturn is coming! You should sell! (To us)
Uber original pitch deck from 2008
"Why lock my door, people will open the door if they want to, or break the window."

I don't see what's wrong with having fewer things in your life which can silently kill you.

If you get in a new car, you are now completely at its mercy. There are few or no precautions you can take; you might as well lay on your back, and strap your arms down so your belly stays up.

What you're really doing is making it cheaper and easier to kill, misdirect, or trick you. This means that people who wanted to do these things before, but couldn't afford it, now can.
Better than Scrivener?
"Finding the balance between searchable and memorable is quite the task."

While I agree, the name Neo is crap, unfortunately.

It's like how many things are named Fuse or Fusion in open source, or new projects that start up with names that are clearly already dominated by something else. It just doesn't work, doesn't do anyone any good in the long run.

It's worth it to go back to the drawing board for a minute, and just come up with a name. Especially since so much thought and care has gone in to the rest of the app so far. Calling it Neo works like an internal project name, just to fill in the blank and get something started. But as a name that can ship, Neo is never going to work.

Unless it does, and becomes the new defacto Neo. Which could happen. But it's a pipe dream. I think it's better to start off on the right foot with a good name.
"What's wrong with "systemctl ls"? What would have been wrong with a shorter command that's easier to type like "sys ls"? It's a core aspect of the system so a name like "sys" would have been appropriate, easy to type, and easy to remember."

"Even worse the output of list-units has overly long lines and manages to be simultaneously hard for humans to read and hard for machines to parse. It uses white space as both a delimiter and within identifiers, making shell script parsing with "cut" etc. impossible."

It's the Microsoftization of Linux. This gives me bad flashbacks of Powershell where exactly what you describe is the case, where the simple is made difficult and the difficult made impossible.

The overengineered, bloated monstrosity that was CORBA also springs to mind. Systemd has been one of the worst things that have happened to Linux in recent years.
Exactaly right. And in part of the DCA strategy as you described I also DCA into a cash fund (liquidity fund) that can be used at a time I judge opportune. That is if there's a housing crash, I'll have a hard asset I can use to jump into that opportunity. Of if there's a market correction or crash, I'd be able to use a portion of that cash to buy low.

It's not quite timing the market because the portion going into cash is scaled accordingly to how much is going into other types of funds and also has the benefit of being used if there's an emergency that requires a decent amount of liquidity.

Having it all in liquidity would be a poor choice. Cash should only be a part of the overall strategy.
3-word thingies that randomly appear in the header of npmjs.com
A public statement will be released in some hours.
> 1/10 false positives doesn't sound too bad to me.

If the 15-year risk for the population taking the test is 10%, an unbiased 10% error rate would mean:

81% true negatives,
9% false positives,
9% true positives,
1% true negatives.

> Even with a false positive, the changes you would make (lifestyle changes, brain stimulation, continuous monitoring) would only be beneficial

Not if prioritizing them crowded out things you could be doing to address a real risk that is deprioritized because of the false result.

And, also, of course, an error rate doesn't have to be unbiased. With the same population, a test with these results would also be 90% accurate:

90% true negatives,
10% false negatives.
> The alternative is to mix the light from red, green and blue LEDs, which produces a very peaky spectrum that distorts colors badly

What does the phosphor emit? There's no "white" wavelength. So a more homogeneous spectrum?
Yes the Bay Area is probably not ideal, yet still much better than Jakarta or New Delhi.

But even an area that was unsuitable for self-driving cars half the time would see huge demand for self driving cars: half the time the car would drive itself, the other half it would be a regular taxi driven by a human being.
Yea its probably mostly Calle 24 to be honest
Likely not as many (most?) sidewalks aren't officially open to bikes (Regardless of enforcement on the one hand and regardless of some people preferring to use them on the other).
The approach of using versioned objects with Etag/If-None-Match and appropriate responses works rather well: http://www.clairereynaud.net/blog/adding-offline-mode-to-you...
I believe it would still be a derivative work.
https://www.copyright.gov/circs/circ14.pdf
I don't think Wealthfront etc. have any advantage w.r.t. diversification or rebalancing. Vanguard's target retirement funds seem to have target allocations (which change gradually as the retirement date approaches), and rebalance to stay in sync with those. E.g., VTTSX seems to maintain ~90% stocks and ~10% bonds, with ~60% of the stocks being domestic, and ~70% of the bonds being domestic.

They do have an advantage in tax loss harvesting, but the maximum annual savings is basically $3000 * (current marginal bracket for ordinary income - LTCG rate in retirement), which is about $600 for the typical investor. If you have more than 250k in Wealthfront, their annualized fee will be greater than $600.
Great question. Web upload tool is in development, will launch in a few months. Stay tuned!
Totally agree. Modern IF is amazing. Check out the annual Interactive Fiction Competition for good games: https://ifcomp.org/.

Also, Inform is a fascinating "English language" programming experience! For example here's an actual Inform program:

`
"Prototype" by Josh

The Lookout Point is a room. An old man is here.

The Outskirts is south from the Lookout Point. A campaign poster is here.

The Village is east from the Outskirts.

The Scumm Bar is inside from The Village.
`
Citibike, Ford, Barclays... most the major bike shares have corporate sponsors. They sponsor it because they get highly visible advertising and they collect mobility data about where people move between.
IIRC Oblivion had you choose a class, but then you still leveled up skills by using them (it definitely had pre-made classes, though.) I never actually played Morrowind, though.
One of the primary consumer arguments in favor of net neutrality was that ISPs advertised bandwidth at certain speeds, and therefore were obligated to provide that speed to any point on the Internet.

Using that same argument, Google should be obligated to provide maximum interface speed from any of their compute instances to any point on the internet, and should not be allowed to sell a tier that gets closer to that ideal.
my experience with pdf is that its a pretty open-ended, and thus pretty difficult, format to work with. There's not a whole lot in the way of "what is this thing supposed to be" semantics encoded into the spec. Even pdf-to-html is kind of a crapshoot.
You are correct that no one is interested in yet another translation Web application, especially since it does not say how it's different or better than the rest. That's all anyone got to see so far.

If you want to be successful in communicating your improved method for word segmentation to the world at large, extract the code, publish it, and document the relevant details what makes it better and how it compares against existing solutions.

I am a hobby computational linguist. "Contact me" is an outmoded concept, most of us are doing our collaboration in the open.
Exactly. The following phenomenon are all related:

- the record-breaking auction prices of art pieces (Picasso, etc) at Christie's & Sothebys

- the vast pools of money chasing late-stage tech startups driving up late-round valuations,

- the increase in student loans for college students driving up tuition prices outpacing "official" inflation metric

There's also "shrinkflation"[1] which is a form of inflation but does not count in CPI calculations. Also, many homeowners complained that their house insurance went up 20+ percent even though they don't live in a hurricane or flood zone.

The pundits saying there's no inflation seem to only look at the flawed CPI statistic. If the Fed's quantitative easing creates $4 trillion in new money, that has to show up somewhere in the economy. (Unless _everybody_ coordinates to hide all $4 trillion in a mattress to negate its effect.) If citizens are seeing a reduction in purchasing power in real terms, you have inflation happening.

[1] https://en.wikipedia.org/wiki/Shrinkflation
I advocate for taking time off to literally do nothing. No schedule. No purpose. No clocks. Just get up and operate based on the sun's movement and your own bodies needs. Be bored. Slow down time and fully disconnect from work. It's a hell of an experience.
When will the AppEngine pricing change from six years ago stop being relevant? Has there been another hike since? Pricing AE is very different from pricing bandwidth. Even more concretely, there weren't historical data or industry trends to draw from.
Scrivener saves in open formats (XML and RTF), but it's nearly impossible to figure out what's what unless you write your own program to open them. It's a bunch of RTF files with numbers for names and a few index files in XML.
How do you address older PDFs that are scanlations and have no actual textual data at all, just embedded images?

In my experience, this is true for every PDF version of articles originally published before about 1990.
Being on the gold standard means occasional depressions caused purely by the inability of the supply of gold to keep up with the expansion in the economy IIRC.
If you want an idea, try to figure out the cost of annuity for the amount you want to retire with. That is probably a good target for how much you should save.
Interesting what-if: would the iPod touch have been significantly less irrelevant in absence of the iPhone?
Could the iPad have been a success without the iPhone paving the way for apps?

I remember the last generations of high end feature phones as quite capable media consumption devices, who knows what could have come from that strain of development had they stayed in the limelight a few years longer.
Helm – a free and open source polyphonic synth
This talk by Zach Hartwig from IAP 2017 "MIT's Pathway to Fusion Energy" is fantastic. Hartwig is an assistant professor in the Nuclear Science & Engineering department at MIT. He presents a straightforward overview of the basic science involved as well as the most promising technologies today.

https://www.youtube.com/watch?v=L0KuAx1COEk
This is spot on.

To put it more simply still; AC light dimmers work by 'turning off' the sine wave part way through the cycle. This works on purely resistive loads (light bulbs) and blows up motors (ceiling fans).

LEDs are direct current devices that run on less than 2V. So they convert the electricity coming in to DC, then regulate it down to their voltage. No amount of 'sine wave chopping' is going to dim them.'

As a result they try to cheat, they try to both convert AC to DC and to measure the incoming sine wave and guess that it is being dimmed by an old style dimmer.

In the GP comment, the engineer chose perhaps poorly. Clearly as soon as power is available the light comes on full, then after the 'dim' setting is measured it adjusts the light level to the 'dim' setting.

What the light might do when it receives power is first do the measuring to look at the sine wave. then after it knows what brightness it is being commanded to show, then enable the LEDs. Now how long does it wait? If it waits 16mS (or 20mS for 50hz) then it can see a 'full' cycle. But since it could start anywhere it really needs to wait 24mS/30mS because that way it is sure to have at least one full cycle in its memory. However, if there is a 'smart' dimmer (think X-10) involved it may just pass through unclipped sine waves as it powers up because "the incandescent light takes many milliseconds to warm regardless." If the LED waits longer before it turns on you cross 100mS which is where pretty much everyone would note a 'lag' between turning on the light and actually having it come on.

All of that just to that a 20 year old dimmer based on TRIACs still works as 'expected' by the user.
That phrase doesn't mean anything to me, I've never heard some one talk about "therapy of depression"; it's always "therapy for" or "therapy to treat".

(Native American English speaker here.)
Study: knowing more doesn't change disbeliefs about science
Pipistrel as a maximum flight time of 1 hour not sure what is the predicted flight time on the Sun Flyer.
Why It’s OK to Block Ads (2015)
Can you explain more? Maybe strategy and what kind of market...
> Heck, your assumption that I'm somehow judging these people is irrational. :)

I'm just taking you at your word:

>> Based on how I've seen people behave, I'm assuming it's not.

> All I'm saying is I believe these people are reacting emotionally. That's it.

This is like, "I'm just saying this water is flowing wetly, that's t it." Why even say it then, if you had no other points to make.

I repeat that I think you're confusing rationality with results. Process and outcome are only linked statistically.
You are aware that the Internet is a collection of different companies running different networks, right? Google's network that is serving public traffic is part of the Internet. The inter-network routing decisions that are made are literally the crux of the net neutrality arguments made so far.
I recommend "Start Small, Stay Small: A Developer's Guide to Launching a Startup," if you have not heard of it. He has some simple formulas for measuring how much you're trying to do and how long it will take, given that you have a full time job.
In general, you can't discriminate between dementia and alzheimers with a patient interview.
A platform for launching ICO campaigns
Capture and Replay User Interaction on Your Site with Spion IO
1 week (mostly nights and weekend) - http://toptalkedbooks.com

Building a website is not the most painful part, promotion and getting traffic are the hardest, you have to be very determined. keep up the good work, don't give up.

anyone has any good advice on marketing?
It's also worth noting that you can still, today, run systemd-logind (and several other systemd components) with the compatibility layer of systemd-shim on top of another init system. But even that doesn't have enough people willing to maintain it.
Google is not a broadband provider in this context.

This is simply reflecting the reality, that different network connections have different costs and different performance. It costs Google more to transfer it over their own network than to deliver it to another network near your server, and the same in reverse, accepting traffic for your server only from nearby networks saves costs, and they pass the cost savings to you.

The problem with "network neutrality" is that the network was never neutral. Using a different connection that is shorter, or otherwise has less latency, and is less congested provides better performance, but that's rarely been exposed to end users. In Europe, it used to be common for customers to pay a different rate for EU traffic and out of region traffic, due to cost of transatlantic bandwidth, but I think that's mostly fallen out of favor as global bandwidth increased.
If the API supports ETags / Conditional GET, I think that would be a much simpler solution.

Just request the same call again from the server and you'll receive a 304 if it hasn't been updated.

No new code needed.
We might disagree on what a 51% attack means.

A single actor controlling a majority of hash power isn't a problem. Double-spends are a problem. If anyone double-spends, it will be noticed because there will be a permanent record of it in the form of orphaned blocks, and bitcoin value will decrease because Bitcoin transactions will have become less trustworthy.

Thus, even in the case where a single actor has 51% hash power, that actor has a strong financial incentive not to conduct a 51% attack.

The Sybil-style independent mining pools you describe aren't really hiding what people would be looking for, which is a coordinated preference for the fork that causes the double-spend. (Plus miners would have to accept the relayed second transaction into the mempool to begin with, which today nobody does. RBF might have changed this, but even then you should still be able to reason about whether anyone is even contemplating allowing a double-spend.)

I'm not sure if I'm talking past you -- am I correct that we disagreed on what a 51% attack looks like?
More Feasible Molecular Level Data Storage
The routing engine in general is available as an option at openstreetmap.org:

http://www.openstreetmap.org/directions?engine=mapzen_bicycl...

I checked the request, the JS powering the OSM feature isn't sending the parameters so they are probably the 0.25 defaults there.
Huh? I'm sure electronic devices were OK in Europe flights a decade+ ago...
Yes and no.

They aren't the same thing at all, obviously. But that said, it is much more likely that someone die from installing or servicing solar panels than someone die from a nuclear incident.

We tend to be afraid of abnormal but possibly fatal or maiming events - the ones that are newsworthy - compared to the risks we face on a daily basis. Which is why we are cautious when climbing a ladder twice a year but not when we get into the shower as an older adult, even though shower accidents, including broken hips, are incredibly common. The poster is putting the actual risk into perspective.
Somewhat correct. If you test the software with a 1000 MRI scans from people with known diagnoses, the software will diagnose ~900 of them correctly. Roughly 97% sensitivity (3% false negative) and 85% specificity (15% false positive). False positive here is not real false positive, as the software is detecting abnormality in people who are still cognitively normal.
The problem with writing hash tables or any fundamental data structures in JS/Ruby/Python/etc is that most of the hard work is done for them.

The hard part is allocation memory, keeping track of the structure(array) holding the hashtable, etc.

What else is there? Implementing the hash function/code?

If you don't have a CS degree, you probably don't even know how lists, queues, stacks, etc really work. But the kind of programming that is done at a "high" level, you might not even need know it.

Instead of saying people should implement it JS/Ruby/Python/etc ( all of whom are OOPs ), they should learn C and implement it in C.
My advice would be to go to another website, one specifically for non-introductory data structures.
The thing about Keynesian economics is that it isn't sustainable in the long term, because there is never a plan to pay off the debt accumulated during each recovery. In practice, keynesians talk about increasing spending during recessions but never speak of running equivalent surpluses during 'the good times.'
I would love to work offline. But my work involves constant use of a commercial software that won't run without a license check connection to its central license server.

edit: just occurred to me. I should try to script my connectivity, so the connection is established just before the software is used, and terminated soon after. Looking into it.
The Making of the Archetypal Englishman
EDIT: this is getting downvotes for some reason even though it's just addressed to OP. OP, you could email me at the link on my profile if you didn't want to answer here. I'm not on the Go team or anything, just curious.

---

Thanks for your answers!

So I know you don't want to rehash what's easy to find elsewhere, but your perspective is different because you wrote a Clojure interpreter. It's not the same as what I can find from people who just use languages.

You just list:

>(e.g. no generics, error handling littering my code and obscuring intent, etc).

But could you flesh out this litany of complaints, even if it's common? I just want to know your version of that list, without the 'etc'. It's not going to be the same as other people's - different things will bother you or come to mind for you. I'm trying to understand these from your perspective and background. (which is unusual.)

Secondly, you write "but that's not the same thing as being simple". I don't really understand. Here on HN, people say you can pick up Go in an "afternoon" and become proficient in "a week".

You write that it is not simple but I don't know what you mean in specific, even when you write as a "Go n00b". This reply will be particularly interesting to me, because, since you've literally written an interpreter, compared to an average user, everything is simple for you.

Like, think of a standard designer who has first dabbled in Javascript and for some reason picks up Go. Whatever isn't "simple" for them would ordinarily be super-simple for you. So what's not "simple" for you is like obscure string physics to a person who is barely a programmer at all. I'm really curious what parts you didn't find simple.

Thank you.
RxJS: Understanding the publish and share Operators
Ah , maybe they have a dedicated inner predictor?
It largely depends on the use case. dbus is functionally just a transport layer - it can very easily be used to implement an actor model if you choose to do-so (services can dynamically register and unregister channels).

There are quite a few cases where reliable 1-to-many and many-to-many communications need to occur. This is particularly the case when you have many loosely affiliated independent applications with optional communication paths. d-bus, for all of its flaws... does that well enough that I rarely notice it's running on my system.