skysight-inc/HackerNews huggingface dataset:
> I don't like how its list comprehensions aren't generic.

Python iteration is generic.

https://docs.python.org/3/reference/datamodel.html#object.__...

Please don't spread FUD.
They're lucky no one ended up in prison over that. That's just outright fraud.
All yall talking about altruism but no one is really making internet faster and more affordable. This shit is revolutionary, and the system it sets up is going to be the backbone of a network of Co-ops in the next 10 years. A parallel economy is possible.
Wondering if you could go into greater detail about what you found misleading. I'm from Seattle and nothing really stood out to me that way.
I'm seeing a small spike in traffic, but nothing serious at the moment. The website works for me -- could you please try again?
The First New York Tenement Is on Mott Street
Ruby is a nicer language for general scripting, ie “better bash,” as that’s what it was originally designed for. It’s also a bit faster, and has a vastly better / simpler package management system.

Python does have great scientific / math libraries, and is worth knowing.

One nice thing is the two languages are so similar that it’s pretty easy to switch between them and use whichever fits the bill.
Erlang has macros though? Did elixir add something to it?
What I find baffling is that almost every program I'm interested in as a creative power user has a Python API for scripting, from type and graphic design to 3D modeling, rendering and music making.

I'm a bit into web design/frontend as well, and was thinking about either learning JS and Node more deeply, or add some other "backend language" like PHP or Ruby, and learn their frameworks like Laravel or Rails.

Should I pick Python, Django or Flask instead to cross the gap to my creative hobbies?
>Unfortunately Python predates the realization that good packaging tools were a thing that needs to be solved in the core language and not externally (Go, Rust, Node, etc. postdate this realization; C, Perl, Java, etc. also predate it).

Sure, but it's also a cultural thing. Ruby is nearly as old, and also predates this, but has nowhere near the insanity of Python. The community jumped on bundler and rvm/rbenv/etc super quickly, and rapidly improved them, while the Python community is barely even aware of pip-tools / pipenv AFAICT. Even virtualenv is really only a "real pythoners know" thing, it's rarely mentioned in guides, so newbies screw up their global environment frequently.
I agree with you. If the H1-B program were being used properly it'd be fantastic, but I've had too many friends (three being the "too many" in my case) spend their last six weeks on the job training their half-competent H1-B replacements. It may very well not be the case most of the time, but in my experience H1-B has been used as a prybar when companies have highly-versatile, highly-paid personnel they want to replace with someone who's trained to only do one job and do that job for less money. If I had the option to keep the program exactly as it is now or restrict it to only persons with doctorates, I would choose the latter.
One of the coolest things about devops is that nobody seems to agree on what it is, and articles like this one elicit many different opinions.
So here's mine: devops is infrastructure as code, where code in this context is something that is checked in to an scm and is really more like configuration. It is not software development, which is more likely done by software developers. I'm still not sure where the 'dev' part came from.
Corporations are optimization machines, they optimize for short-term profits, greed is no the correct term to use here.

There are two ways competitors are incentivized to copy Apple, the first one is because of Apple's mind-share and "fashionable" status, they might be convinced that by copying some of the features they will be able to ride on coattails of Apple's success to get some success of their own. Combined with the fact that purchasing decisions are not entirely rational and there's a lot of emotion involved, Apple and other large corporations are in a position to convince people to accept compromises that have larger effects (sacrifice repairability for slimness, sacrifice freedom for "security", sacrifice gas mileage for a bigger, more comfortable SUV, etc.). The second way is that Apple, by virtue of their mind-share and position as leader, can get away with changes that other companies would want to make but couldn't. If Apple hadn't removed the headphone jack from their iPhones, there's no way Samsung or Google would be able to get away with removing the headphone jack from their flagship phones, even if all three companies want to remove the headphone jack equally, but once Apple moves the overton window, the competitors can jump onboard with the change and implement it into their own product line. Apple has earned themselves enough of a reputation and enough of a fanatical userbase that they're able to get away with these changes because by-and-large their bad changes were balanced out by their good changes, the question is whether this reputation will last for the current Apple.

>Isn't the drop in repairability of electronics being pushed more by the shrinking of components than by the assumption of corporate greed?

Absolutely not. Shrinking components have made it possible to make more integrated ICs, but those were never user serviceable, but replacing a monolithic IC with a spare part, even with unfriendly packages like BGA, is not impossible to do for a decently equipped repair shop, and the cost of that equipment is going to likely be less than whatever car mechanics or small machine shops spend on their equipment.

For what it's worth, I don't think Apple or any other company are sitting in their board rooms wringing their hands and coming up with dastardly plans to fuck over the third-party repair shop. Third-party repair is simply not a priority for them, thus when the time comes to cut costs or to optimize the design for sleekness or profit, repairability goes out the window first. Contrast that with more professional equipment where servicing is an important consideration and you'll see design optimization producing different results.
Traffic Ticket Lawyer – Raleigh Traffic Citation Lawyer – Law Offices
> Lisp clearly has this property. It is clearly homo-iconic.

Firstly "Lisp" is a language family; which member are you talking about?

ANSI Common Lisp only hints at a form of homoiconicity, but leaves all of it implementation-defined. Namely, the function ed:

http://clhs.lisp.se/Body/f_ed.htm

A Lisp implementation which compiles everything and throws away the source will not support function editing with ed.

Compiled functions are not similar to the source; they cannot be edited as source and recompiled.

I haven't heard of anyone organizing their Lisp workflow around an ed function, which would then count as relying on homoiconicity.

Bash is homoiconic: the set command with no arguments dumps out all function definitions, which are reformatted as text from a tokenized form. There isn't a nice feature to edit a function though, other than copying and pasting out of the output of set, or else recalling the original definition in the history.

Speaking of which, interactive environments, including command lines with history recall, provide a form of homoiconicity. The command histories or integrated edit buffers hold functions in their original form, allowing them to be edited and redefined. (But those stored forms are outside of the language; they are not the function definitions themselves. It's not the language per se being homoiconic.)

When people say "Lisp is homoiconic", they are certainly not talking about the obscure ed function in ANSI CL. Well, that's what they're not talking about. What they are talking about is anyone's guess, but probably they are using the wrong term for the concept of a language being written in terms of a generic tree data structure that expresses all possible syntax tree shapes, and which is manipulable in that language.
Rich people get off easy
Any language can benefit from the beauty of enforcing general typography guidelines that go back 100+ years.
Russell is a wise guy
How do you make an ideal explainer video for your Product?
Too late to edit: "former boss of Vancouver" should be "former boss of mine in Vancouver".
It's definitely a sign, but I'm not sympathetic because other airlines get a crack at the best gates.
This finding is in line with my intuition. Social exclusion triggers an instinct in the male brain: become something, something higher status, or die. It is “evolutionarily accurate” - socially excluded males do not reproduce. Men who are okay with being excluded literally died out. This instinct probably drives productivity around the world, causes men to be startup founders as well as terrorists and school shooters.
I wear a special type of contact lens because it gives me much better vision than any glasses ever could. My doctor starts with "better or worse" and that gives her a starting point. Then we have measure and fit and then of course the weight and shape of the lens affects the shape of the eye, which changes the lens requirements so it takes several fittings and trials to usually get a good fit.

Glasses are more like a hearing aid that just makes everything louder. Which will work in most cases. But many people need or want more.
Lots of Apple apologists in this thread.

(1) They deliberately design new proprietary adapters, eschewing already popular and capable standards, in new devices - to sell you more shit

(2) They remove support for existing standards (e.g. headphone jacks) - to sell you more shit

(3) They file lawsuits against third-party repair providers who do a demonstrably better job than first-party repairs - to sell you more shit

(4) They add software checks which attempts to subvert the same third-party repair providers after their lawsuits fail - to sell you more shit

Apple consistently, at every step, serves their bottom line ahead of your interests. Quit letting tribalism blind you, Apple users - this behavior is unacceptable.
Ann was a great lady, I will miss my conversations with her. I knew her as an awesome person to talk climbing with and trade beta, always held her in the highest regard. It wasn't hard to miss she was bright, I had no idea how bright until last week though when I learned about her professional career. Wow, I was in awe reading her accomplishments, I feel lucky someone so brilliant spent energy educating me.

Her incident occurred on a route I did with my brother two weeks before my wedding three years ago. We were thinking if going again this year.

She will be missed by many.
NixOS looks quite fascinating.

I'm on Windows for the time being, but will give NixOS a go some time.

For any other WSL users here, it's worth keeping an eye on this issue: https://github.com/NixOS/nixpkgs/issues/30391 (NixOS being packaged up as a WSL distro).
Thank you for clarifying this.

It's not an excuse for Apples policy to fight "the right to repair" etc. but it's less worse than I thought.

Of course if you own new Apple products you are completely screwed when in need of repairs and no store is in sight.

That's why I still like to use the MBP from 2012 (the one with all the great ports that can be repaired still).
They've done a really shitty job in the development of their devices and lost a lot of pro-users like me who won't buy the new series of devices anymore.

When they don't act on this they'll lose a fair amount of customers completely, once their cool old devices aren't usable anymore. It's their decision while governments are too afraid to do the right thing and force all companies to allow people to repair and use resources efficiently.

It should be mandatory in a world that counts it's remaining days because their ancestors just burned through the resources we have without thinking about consequences.

But we'll see if there are enough smart people who are powerful enough to fight this crap. Mother Earth won't care if we'll be here in some centuries and it will recover without us.
Another fun one is viewport tracking.
This looks awesome, well done! Is there a TLDR about how it improves on pip or other python dependency management?
Hello there.
Full disclaimer : Developer here.
saw this post through a google alert on FPS/RTS.

There's a new RTS-FPS hybrid which is being developed currently on Early Access. It's taking the genre in a way is more similar to Battlezone in a sense that you actually train AI units rather than it being 100% human players on the field. It's a 5v5 , and commander filled the battlefield with trained AI mobs while player are much similar to warcraft3 hero.

http://store.steampowered.com/app/505740/Eximius_Seize_the_F...

Discord :
discord.gg/ammoboxstudios.com
TBH, I didn't even know they existed back then.
Supplement B: Linear Programming [pdf]
Our own immune system architecture inspire us to build sustainable business
Don't forget that the advertisers don't get income directly from tracking you. They get income based on how good they have a profile of your interests (and things that you would buy). If they can get a good enough profile without tracking then maybe they'll stop tracking. Or maybe it would be easier to block the few that continue taking than wave war on an entire industry....

There's already been some talk about changing things so that tracking is less necessary (https://webkit.org/blog/8943/privacy-preserving-ad-click-att...) and I wouldn't be surprised if a lot more comes out by the end of the year.

Anyway, anyone that knows the details of the web could have seen this coming. [Private mode is not private](https://brave.com/private-mode-is-not-really-private/). Websites can calculate fingerprints from users just by running JavaScript (they can easily get the processor speed, GPU version, local IP, and other details) so they can identify you even if you clear cookies. And the funny thing is that all of these APIs have reasonable intended uses and getting rid of them would large portions of content on the web.
Apple's job is to get the device through warranty, at minimum. They look better if they last longer though. Remember how Apple used to be known for a computer that lasted 5 years instead of 2 years? The problem now is that they aren't made that much higher quality than other products (if at all). But if we look at Rossmann he frequently does jobs like retinning connectors. I wouldn't call this disaster recovery since this kind of repair is quite common in electronics in general.

We could probably guesstimate repair failures by looking at industry averages. He could also guesstimate from returning customers. This is how you get an idea of repair failure rates in the first place.

And no, you can't repair at global scale. But why would you need to? There's a reason Toyota doesn't repair every single one of their cars. Or more apt to the conversation: there's a reason Toyota doesn't require you go to a Toyota dealership to get an oil change. It doesn't make sense to. The scale would be ridiculous. There's no reason that electronics needs to be more convoluted than repairing a car. There's no reason a simple fix like a battery swap needs to be more complicated than changing your oil.
I'm thinking of generic in the sense of monadcomprehensions, sorry.

> That's an implementation detail of CPython. I don't see how it's important for a language user either. Jython uses Java objects. PyPy uses RPython.

This strengthens my point though?

> Please don't spread FUD.

This is that culture thing I'm talking about.
You could die at any moment... I know two people that were killed by drink drivers, during the day, through no fault of their own.

Why not enjoy the things that make feel alive, while you are alive? You might not be tomorrow.
If plenty is "a few" than I would agree (and I am glad you respect privacy). I am still searching for one site that I could give an example for GDPR and they are all blatantly violating it. In most cases they just give you fake impression they respect privacy (by setting banner to "opt-out" (which is violation on its own) after the tracking 3rd party scripts are already loaded).

The whole privacy deal on the web just shows moral corrosion. It is putting IT neck to neck with scammers.
It works ok on the one big mac screen :-) just buy larger and larger single displays ! It's what the manufacturers would want you to do :-)
It's so refreshing to not see anyone here whining about Python forcing them to indent their code properly. The kind of people who think that's a PROBLEM instead of a FEATURE really should not be ever writing any new code, and instead should be punished by forcing them to maintain other people's code written with that same lazy misguided attitude, until they recognize how self indulgent, inconsiderate, and disrespectful that is not just to other people who have to read their code, but also to themselves.

The same kind of people criticize Lisp for having too many parenthesis, then go on to write unintelligible shell scripts, Perl and C++ code chock full of skewbald menageries of sigils and punctuation bound together with a towering inferno of precedence rules, terribly worse than Lisp's "too many parenthesis".
Why an AI arms race with China would be bad for humanity
Poetry is way way better imho. https://poetry.eustace.io
Display size has nothing to do with it. Long lines are hard to read:

https://en.wikipedia.org/wiki/Line_length
also, is it better to build public housing in expensive areas (which implies less housing for the same fixed budget), or build public housing at the lowest cost, maximal housing capacity (which implies going to lower cost areas).
Reminds me of me trying to get those "Cheapest price guarantees" — had been turned back at god knows how many reputable retailers, and booking agencies with replies like "so sue us": Expedia, Booking.com, BestBuy, London Drugs...

I think, many of such cos keep a record of people going for such deals, and once you request a freebie for the 10th time, they look it up and blacklist you
The basis of your argument is that repair is too complicated and requires extremely specific and specialized training. Repairing a phone isn't more complicated than repairing a car (I'd argue a car is harder to repair). So unless you think otherwise AND you think that it is so complicated that only Apple can teach it, then your argument doesn't hold. If people CAN learn the skill of repair (seriously, give me a good reason why they can't) then it doesn't make sense for Apple to require authorized repairs (assuming they value repair over replacement). That doesn't mean they can't have certified repair (just like cars do), but the issue here is of force. All this forcing does is create anti-competitiveness and harm the market as a whole (though it probably helps Apple. But that's what anti-competitive behavior generally does. Just doesn't benefit the consumer).
Now there is Julia that has concurrency.

Julia, because it's much newer also seems to have dependency management built in as well.

Surely a lot of people who write numerical software are going to either look at or switch to Julia for these reasons.
Complete waste of energy? Additional energy required for AC when it is hot?
They apparently want to use a mailing list... which is on google groups.

Good news tho! It's public, and you can get RSS feeds for google groups groups: https://groups.google.com/forum/feed/pagedout-notifications/... (click the "about" non-underlining-text link in the top-right to get rss/atom feed links)

---

RSS is the only way I follow stuff like this. I don't want emails. I don't notice emails.
JPMorgan Chase has an AI copywriter that writes better ads than humans can
This is just incredible.
Trump Has Succeeded. Now Lots of Chinese People Are Buying Huawei Phones
Stop using flake8. The original PEP 8 document doesn't even recommend 80 characters anymore.

Pylint and mypy and black are way more useful.
The is an amazing map, but like so many such maps as you zoom out you loose the dynamic range to capture the difference between populated countryside and city.
In fighting deep fakes, mice may be great listeners
it doesn't display a message that it's not a genuine apple part though, it displays a message that the battery might need be servicing, even though there is no technical indication that the battery needs servicing. it's a deceptive message.
I'm not really sure what your point is in criticizing "farming" to C.

> This is that culture thing I'm talking about.

You made a false claim. You referred to Python iteration as not generic, when what you really meant is that Python lacks first class monad support.

If you want a monadic programming model, you're not going to be a happy camper in the Python world. But I doubt that comes as a surprise.
Status meetings are the scourge – Jason Fried
I am about to hit a decade of python experience. I work with it daily, all my major codebases are written in it.

I hate it.

It has an ok object system which is possibly its only redeeming quality. I found Racket about 4 years ago, and any new project that I work on will be in Racket or CL.

I could go on at length about the happy path mentality of python and the apologists who are too ignorant of other people's use cases to acknowledge that maybe there might be some shortcomings.

The syntactic affordances are awful and you can footgun yourself in stupidily simple ways when refactoring code between scopes. Python isn't really one language it is more like 4, one for each scope and type of assignment or argument passing, and all the sytactic sugar just makes it worse.

Not to mention that packaging is still braindead. I actually learned the Gentoo ebuild system because pip was so unspeakably awful the moment you stepped away from the happy path.

Blub blub blub, someone help I'm drowning in mediocrity.
Are you implying short and wide trains would be sensible? I like using a wide screen for programming, but prefer code formatted to 80 chars. That allows me to have two vertical windows of code open side by side. It also makes it easier to use things like a graphical diff to merge code.
That does not make much sense. H1B visas (you keep saying HB-1 but there is no visa called HB-1 so I am not entirely sure which visa you're talking about) needs to be sponsored by a company, they are not just given to people. If a company is willing to to hire her, maybe she can try applying to any US company. If not, there is no way to say she "deserves" it when it's only in your eyes, i.e apparently she or you are not able to convince a company to hire her.

There are also EB-1 green cards that might qualify her since she has a PHD, but they're usually for the STEM field. I have no idea why this is relevant to H1B visas which serve a different purpose.
If you remember you export the list of packages? That sounds very manual, and prone to failures.

I'm surprised people in this thread aren't talking about backups. I have my dotfiles stored under revision-control, like many others here. I have a couple of notes about the setup of each host I store too. But basically I install Debian packages and that's 99% of the my install.

The only stuff that I install, outside my own code, are things like the ARduino IDE, Firefox, Calibre, and they get installed beneath /opt

Despite the lack of "real" state I still take a backup every day, and that has saved me more than once.
It is not as good as Poetry.
int is an adjective?
Thanks for sharing.

I will miss Ann, she was a great person.
>It is not for people who can't submit a code to a code repository, without breaking multi-million project.

If that is really the case, and not just meaningless bluster from your end, they would get fired and have to leave the country.

Only companies can apply for H1Bs, not immigrants.
And by mentioning it your ruined the pleasant reading.
These addons work fine in Firefox.