skysight-inc/HackerNews huggingface dataset:
See the details here about his project that he maintained in Python for years (since 2006) in Python:

https://blog.liw.fi/posts/2017/08/13/retiring_obnam/

I can really understand his:

"Obnam has not turned out well, from a maintainability point of view. It seems that every time I try to fix something, I break something else. Usually what breaks is speed or memory use: Obnam gets slower or starts using even more memory."

Also from his current post:

"I could perhaps have been more diligent in how I used Python, and more careful in how I structured my code, but that's my point: a language like Python requires so much self-discipline that at some point it gets too much."
Sure, I agree with that.
I have a 250watt ebike. I’d agree pretty powerful, I usually use it one the lowest setting which provides minimal boost, even up hills.

I’m in The us and the assist cuts out at 20mph. I get that since I’m sharing the roads and paths with other bikes/joggers and cars (and the ocational electric skateboard/kick scooter). I tend to ride much faster with the ebike and can see how this added power can get me into more trouble.

I really enjoy the boost though.
Sure worrying a bit is reasonable, and that's the reason most people would not use gene editing now. (Unless they are trying to correct some well understood life threatening condition).

If we talk about so many people using it that it can change genetic composition of humanity, it means we already have a reliable way of making changes.
Ahh, cool. TIL.
>You’re flip flopping all over the place with your descriptions of tests.

The straw man of my argument living in your head flip flopped. I did no such thing.

When I said "basic tests" I meant demonstrate the behavior under normal circumstances". If you're doing TDD on 60% of your code base you'll write enough of these.

>Negative tests are, amongst other things, checking that your functions behave correctly when you put garbage in.

This is a completely unsuitable use case for a test. If your function expects non-garbage it should raise an exception if it gets garbage with a sanity check.

I wrote one just a few hours ago like so:

assert no_nans(dataframe)
If it was engaged in slavery, and then segregation (up to the 60s), had the biggest incarceration rates in the world (of hugely disproportionally black population), had torture sites off limits to the law, send drones to kill people without trial and without official act of war to the other country, was the only western country to still have the death penalty, and at great rates, and even for 15 year olds, plus routine police shootings on innocent people, SWATing invasions with victims for insignificant offenses, and so on, plus was established on the deterritorialization, interment, and genocide of a whole race of millions of natives, ad even did lethal medical experiments on unsuspecting foreign populations, if it was the only country that dropped atomic bombs to another (and to civilians at that)?

Would you be OK with a collective foreign effort to politically reform? Perhaps change the constitution or something based on what some foreigners insist to be there?

Especially if all cases of such "valiant" efforts on your end in the last 20 years have made things worse, turning stable regimes (Iraq, Libya, Syria) to hell-holes of loss, civil war, fanatical muslim rule, and turf wars?
> High density living in cities is dreadful for providing enough outdoors / free activity space for kids to be kids

This is simply so untrue, that's it's laughable. High density, urban spaces have by-and-lqege more opportunities and places for kids than the hellhole that is the exurbs and most of the post war suburbs.
It will be interesting how it will fare in China with that name... https://en.wikipedia.org/wiki/Naming_taboo
Donkey Kong does have some of the best music I've heard in video games.

If you haven't seen these rock covers on YouTube, you might enjoy them: https://www.youtube.com/user/BurningIdolmusic/videos
Holy shit, scaling this technology will change humanity. Amazing!
Henry Avocado Recalls Whole Avocados Because of Possible Health Risk
There's another link to undraw but are there any more places to find stuff like this? Paid or free? I was recently looking for an svg shape library purely for decoration but couldn't find anything.
Got something like "hired and executed a team of 14 people" . Lovely. Unfortunately I didn't realize it would disappear when I leave the page, proof gone.
My city, Chicago, is packed with playgrounds. There are four within a ten minute walk of my house. If we want to go further afield, there are also several larger parks with a bit more room to run around. Some of the community gardens set aside space for kids to play in the dirt, and the Park District is starting to get in on the "natural playscapes" thing.

Our apartment building has its own patio space, a reasonably large butterfly garden, and some gardening plots in the back yard. We've set aside one of the garden plots for the kids to do whatever they want in (last summer's cherry tomato harvest was a sight to see), and turned another into a sandbox.

We spend lots and lots of time outside in those sorts of communal spaces. For my part, I feel sorry for kids living in these intensively inward-facing suburban environments where there are no sidewalks or community spaces, and kids are dependent on adults with cars to help them get together with their friends.
What we need are angel bootcamps to train up more angels. Anyone can be an angel investor, but knowing how to be an angel is the real trick.
chronoparadies.de/Herrenuhren/
I make little mistakes like this all the time in a massive code base. What I do is do a diff on the code to see what's changed. Much easier than hunting through. This applies any time it "should work" but does not.

Also, I am sorry you have to work in an environment like that.
If it just drops QUIC requests, then the browser has to do 2 parallel requests, one HTTP, one QUIC, and pick the winner. I believe that's what Chrome does now.
> I’ve certainly received less nonsensical CVs

Less nonsensical would be a good thing, right? Hopefully most human generated ones are less nonsensical than these. :-)
For me I think it comes down to what is the right tool for the job. I have been using Python for years for web scraping & data analysis (via Scrapy and SciPy) and I feel that they are the best tools for what I am doing.

Now that a lot of my scraping needs require me to render the DOM, I have had to run a headless web browser (previously PhantomJS/Splash and now Chrome). Chrome released the Puppeteer library which is the most straight forward way to interact with Headless Chrome. This is in Node so that is what i’m using.

On my last project we needed to parse through a large amount of HTML files to extract relevant information (about 70,000,000) and put it in a DB for further analyses. I have done similar things in Python before, but there are blocking/concurrency issues that can make it slow and frustrating to build.

My solution was to just do this in Go. I can then run my extraction in a goroutine. Go’s selling point for me was speed (relative to Python) and dead simple concurrency - which made it the right tool for the job.

Edit: Spelling, iOS’s autocorrect can be so annoying sometimes :)
Which is annoying. I though that would be a good idea, because I occasionally closed a browser by accident. In reality I more often than not actually want to close Chrome, and the "press and hold cmd+q" is pretty annoying.
Your benchmark is not a legitimate comparison because it does not compare files of equal size. See https://kornel.ski/en/faircomparison for an explanation of the problems with your methodology. The files your closed source tool generates in this benchmark are 56% larger than those created by ImageOptim! Have your program generate smaller files and then post the results.
Why would you ever do that? Why would you even want a function that accepts either a file name or file contents when both are strings? What's so hard about defining a new function?
Data storage using individual molecules
Loved the Monty Python reference :)
> Pretty interesting how "This X Does Not Exist" is starting to become almost a trend, to display AI generated stuff.

I'm waiting for the inevitable "this does not exist does not exist" parody site.
Ask HN: Is it possible to make HN site ‘reader view’ compatible?
I notice that I only visit reader view compatible sites on my phone, of sites that are designed for great UI on small devices.

I find HN to not be readable on my iPhone 7 (I am in my mid-60s, so maybe my demographic is not so important). There are HN apps but I avoid apps and use web versions of sites. Thanks in advance for any information.
> a lot of code to keep entirely in your head all at once, which is basically what you have to do if you're using a language as dynamic as Python

...you're doing it wrong.
JAWS + IE is the most popular combination [1]

[1] https://webaim.org/projects/screenreadersurvey7/#browsercomb...
I'm really curious if you really think he meant all Mexican immigrants are rapists? Have you read the stories what happens to those people who cross the border. The coyotes they pay, as well as people traveling with them, frequently rape them. There's many instances reported of this, even more going unreported due to the nature of the situation.

https://www.nytimes.com/2019/03/03/us/border-rapes-migrant-w...

It's crazy in this #MeToo era that this issue isn't more in the spotlight.

1 in 3 women are raped when they make their way to the border.
Even Politifact had to agree, though they gave Trump a half-true because they used a sample instead of knowing every person who was raped and taking it "out of context", whatever that means lol.

https://www.politifact.com/truth-o-meter/statements/2019/jan...

Trump said, "One in three women is sexually assaulted on the dangerous journey north."

A 2017 report from Doctors Without Borders said 31.4 percent of women had been sexually abused during their transit through Mexico. That's based on a 2015 survey of more than 400 migrants interviewed in facilities where migrants seek assistance. (The majority of migrants interviewed were men.)

Doctors Without Borders said its report provided a snapshot in time of the perils migrants face, but said it wasn’t necessarily representative of the entire migrant population traveling through Mexico.

Trump’s statement is partially accurate but leaves out important details or takes things out of context. We rate it Half True.
Apple May Have Leaked Their New AirPower Charging System
1) Jog insecurity
2) Lower pay
3) fewer engineers to work with

In that order
I don't have any data, but I feel the sentence "Angel investors, on the other hand, seem either to be walking away or raising an institutional seed fund of their own." is one of the likely explanations.

In Denmark (where I live), most angel investors seem to have syndicated together in collectives, micro-funds and other forms of investment vehicles. This reduces the number of angel rounds on paper, but I guess a lot of the angel investments are still hidden in small funds.

One hypothesis is that it could be due to the increased size of the first investment rounds for new startups. I do believe it will make it harder for the very interesting and risky cases to succeed because instead of convincing one visionary individual, they have to convince a small fund with a management structure, a board, and an associate.
Twenty Lines to Write Before Starting Your Pitch Deck
As a 12 year old in a city you can walk to a park or get on the metro/bus and visit some friends or go see a movie etc.

If some "concerned citizen" doesn't report the 12 year old to child protective services. Looking at how children are pushed into so much fear it is no wonder how many of them escape into the virtual.
Yes, probably more. Glossy and strangely happy visuals as a list of side effects is being read. I don’t watch a lot but still have over the air tv, and it seems to be bankrolled by drug ads.
That isn't what I was suggesting no.

But...

It is a fun thought experiment though. All those 'on a computer' patents become harder to justify. Whereas billions of dollars and man decades of effort to marginally improve a process becomes patentable.

I guess it would tend to reward actual 'research' and investment rather than dashing of a patent on some half formed idea.
I honestly never had that problem, sure performance wasn't great 5 or 6 years ago. I've used Firefox as my primary browser for at least five years, switching from Chrome when performance started to improve for Firefox.
You don't need to be a _leader_ in an external community to have external context.
I agree that there's no point in arguing with low-quality comments, but for different reasons.

The other kind of comment that predictably appears in threads about China are suspicions that astroturfing is going on. When dang bothers to respond asking for proof, it usually later turns out that the comments in question were made by completely ordinary members of the community who happened to voice a dissenting opinion. (Those kinds of accusations are against the guidelines, by the way.)

There is also not just one group making such comments, but at least two different ones:

The first are all about whataboutism. Whenever the topic is the Chinese government doing evil thing X, they start talking about the US government doing something similar to X. Those people are highly likely to be US citizens (their obsession with US politics is a strong hint) and they only use China to segue into the topic they're actually interested in discussing.

The second are Chinese cheerleaders. They think that China is overall on the right track and point to rapid economic growth as proof. You don't usually see them in threads about Chinese human rights abuses (because even they agree that those are evil), but in other cases, like here at the bottom, they make an appearance. There's no need for the government to pay those supporters, because the natural supply of nationalist types is large enough.

There is a third kind that's easily confused with the second. Some people will agree with specific developments because they feel that the previous situation was even worse. For most people, Google censoring search results would be a bad thing, because for them the change is (uncensored Google -> censored Google). But for Chinese people who see the change in terms of (censored Baidu/Bing -> censored Google) it's still an improvement.

Then there's a fourth kind on the opposite side, for whom everything about China is connected to everything else. They're somewhat of a mirror image of the first group; instead of using China doing X as a prompt to talk about the US doing X, they'll talk about China also doing Y and Z instead.

I think none of those trends are much to worry about, though. Although HN voting on political topics tends to be quite a bit noisier, well thought-out responses are still more likely to end up closer to the top than to the bottom.
Self promotion of our ideas and side projects should be celebrated
www.nextcept.com is a place to talk about yourself, what you’re building, and it offers a honest method for finding others to work with.
When a Phone App Opens Your Apartment Door, but You Just Want a Key
You probably mean the POSIX shell [1] ;) I never understood why folks venture into bashisms for no or little gain (bash isn't even the default shell on Debian/Devuan), or would invent/use entire new languages with singleton implementations such as Perl in the 1990s or Python in the 2000s (other than for fun, of course).

Note that Python is actually a descendant of the ABC programming language developed to be human-friendly, not a shell replacement language per se.

[1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...
I don't think it's an issue actually - the author is the same, Addy Osmani. See the contributors on the Github page linked by images.guide.
The wealthy can afford to opt out of having their data and their attention sold as a product. The poor and middle class don’t have the same kind of resources to make that happen.

This is a silly exaggeration. A paid email account is well under 10$/mo, domain included. Not using Facebook is free. Great, aggressive adblocking software is free.

Not only can the middle class afford it, it's not even a noticeable cost. You don't have to be a president of your own company with two secretaries to take basic control over your digital experience.
As an aside, get the big (foot cube) blocks for younger children. They do help with stacking and play at an early age.
Yeah, but that has nothing to do with being specifically a leader in external community.

It has to do with having an interest in external community, but I would argue that you're probably learning more if you're in fact not a leader !
I could be wrong, but my impression is that those CPS calls are a chiefly suburban phenomenon.
The problem with this is that predictions should, ideally, be clearly specified, offer a percentage estimate (0-100% likelihood), and have some reliable method of validating the outcome.

The Good Judgement Project does all these things: https://www.gjopen.com/

This website, on the other hand, seems to encourage none of these epistemic virtues. It's people making more or less precise verbal predictions on twitter and then assessing themselves.
Cor, if people started doing that in my city, forget about kids going out to have fun, school attendance would drop like a stone on account of it becoming de facto illegal for you to let your kids transport themselves to school.

That sounds more to me like a thing that happens in the suburbs, where kids need to be chauffeured around in cars everywhere and the streets are too fast and too packed with cars for bikes to be safe, so parents don't even get the opportunity to contemplate letting their kids out of their sight.
This is very similar to these domain renewal or the trademark renewal invoices spam letters that you get in your mail.

They look very legitimate but are actual from other companies just sending you a bill for something that you don't owe.

I assume many smaller companies with untrained staff pay these items without double checking and that is why these things still come int he mail.

I find the "trademark renewal" ones especially devious as they come from a company called something like "US Trademark Renewal services" and the invoices look like they come from a federal agency.
How to Add Copy to Clipboard Buttons to Code Blocks in Hugo
> Growing up, I have memories of my dad building things around the house (including our cubby house), having a sandpit etc. How do you do any of that in an apartment in the city? How do you even have reasonable transit distances to places you can do those things?

I walk across the street to the municipal park, where there's not only a playground, but also open outdoor spaces that people use for (to cite things I've observed this weekend) picnics, childrens' birthday parties, pickup sports, martial arts classes, playing frisbee with dogs, and general horsing around. There are smaller parks with playgrounds every 3 blocks or so in my part of town.

People raised in a stereotypical American suburb (as I was) tend not to grow up with common spaces that people use for individual purposes. It can be easy to end up equating space that's useful with space that one has exclusive use of, and so assume that city dwellers must be deprived.
Thank you, I've been eyeing typing in Python and appreciate your explanation.
This reminds me of a video where someone levitates diamond dust with lasers.

https://www.youtube.com/watch?v=Sq7GaO8iqu8
What are the differences and advantage over https://openclipart.org/ ?
> parse through a large amount of HTML files to extract relevant information.

Any idea if Go has an equivalent to Pythons Beautiful Soup? :)

Back when I used to do Python development, Beautiful Soup was awesome for extracting info from possibly-munged HTML. Haven't yet found a good equivalent for Go. :/
> so with your example above if you wrote thedictionary.get(b) rather than thedictionary.get(a) you'd get an error rather than None

Technically, dict.get() returns None if the item isn't found and you don't provide a different value for its default.

thedictionary[b] would throw a KeyError on the other hand.

One could always subclass dict if they wanted to ensure the keys were always integers or whatever.

> I've often seen learners have trouble with this sort of thing (you read a number from a file, neglect to call int(), and get mysterious lookup failures).

Not sure if you're arguing for a stronger type system or having the language promote the string to an int as (I've heard) other scripting languages do.

Though, once you figure out the language doesn't automagically parse files for you you're well on the way to finding more fun and exciting ways to get python to throw error messages at you.
yea that is surprising that you can't roll back when you first start with terraform but as you gain more experience with it, you realize that not rolling back means you can resume instead. And if you need to roll back, you can do so by just running destroy. It's actually a feature, not a bug.
We have such a mudflation of AI now so that every algorithm that creates even slightly-interesting output is now “AI”.
While I have only anecdotal evidence that this is indeed happening, it shouldn't be a surprise. It's an example of a class divide that has been discussed and outlined in many dystopian science fiction novels. I think once virtual reality becomes mainstream it will only become more pronounced, where rich people can afford the real experience (eg. travelling) while poorer people will have to settle for a virtual one.
Bad wording. It is better than being ordered by the courts, but not good.
You might also like - https://twitter.com/erowidrecruiter
We are talking about software developers. In the 1950s, most programmers were female. It doesn't seem to be a profession where male biological characteristics are essential to be successful. All the examples you mentioned are non-essential for being a good software developer.
That's a fascinating theory that I'll be mulling about for a while.

My immediate thought is that smoking overall is falling and falling, so maybe advertising does more than shift brand loyalty of existing customers.

Semi-related: I was pretty convinced that smoking was at maybe 5% in Canada based on my observation that almost nobody where I've worked and gone to school smoked. Turns out it's closer to 25%, which was shocking. I came to realise that smoking must be very very concentrated among specific demographics as to insulate me from it. Got me thinking about how my perception of advertising for smoking may also be very very off.