HNHacker News
TopNewBestAskShowJobs

xzel

1,038 karma · joined July 27, 2013

submissionscomments
xzel··on What the Heck Is Pyproject.toml?
O thats great. So just weirdly worded on the docs / I didn't understand. Thanks!
xzel··on Ask HN: Best practices for ethical web scraping?
This might be overboard for most projects but here is what I recently did. There is a website I use heavily that provides sales data for a specific type of products. I actually e-mailed to make sure this was allowed because they took down their public API a few years ago. They said yes everything that is on the website is fair game and you can even do it on your main account. It was actually a surprisingly nice response.
xzel··on What the Heck Is Pyproject.toml?
I don't think so. From their docs: > This section describe the scripts or executable that will be installed when installing the package

I want something such that I can run `poetry run script_name` and it will run that command line in the poetry context. Right now I either rely on my bash history or use a bash script to mimic the behavior of npm / yarn scripts. I want to turn this `poetry run python project_name/main.py` into an alias like `poetry run main` or `poetry run dev`.

xzel··on What the Heck Is Pyproject.toml?
I just started up a project using this. It’s pretty good so far. The documentation on common tasks is a little bit lacking. VS Code integration is sort of broken in a few random ways (for example if I try and do a find all function definition it just hangs). I also wish there was a npm style script section in the definitions. I do think it really just works though and I think it’s a great solution compared to requirements.txt.
xzel··on I had to build a web scraper to buy groceries
I think its primarily the "limited" number produced, which created the market and brought resellers. There wasn't a huge secondary market when Jordan came out, they had to build a brand etc. Eventually there was more demand than the number of products and reselling became a bigger thing. Also I put limited in quotes because a lot of the bigger runs are huge world wide. The main profit that is left is extremely small runs or the smaller sizes (which themselves have smaller runs). But just like a Black Lotus MTG card is just a piece of paper with some ink on it, they aren't necessarily just shoes, they're "limited" shoes.
xzel··on I had to build a web scraper to buy groceries
Totally agreed. It’s the classic “hiring people to wait in line for you” solution. Eh I don’t think surge pricing should be put anywhere near this problem and it’s certainly not economically efficient in the classic sense, that is creating the most economic output and benefit for the consumer.
xzel··on I had to build a web scraper to buy groceries
But unfortunately there are a limited number of per day delivery slots, so bots will own anything FIFO. They will monitor the page and be the first ones in. There also aren’t really fully standardized addresses per se, it’s actually kinda weird, but what’s stopping anyone using the apartment number next to them and receiving the delivery when notified?
xzel··on I had to build a web scraper to buy groceries
Web queues are ineffective as shown by sneaker bots. You’d need actual ID style authentication of accounts. If you’re talking about order queues than people will stuff the queue and cancel their orders or just have more hoarding if their multiple deliveries get processed. If it’s FIFO same technical advantages will apply: bots can click much faster than humans ever will. I think the issue is more human nature and things moving to the web creating inequality between the technically adept and non-adept.
xzel··on Ask HN: How to self-study physics?
+1. The Jackson book is notoriously difficult. I think Griffith's book might be better for a self-learner but, iirc, and I haven't read the book in more than 10 years now, he expects a pretty good understanding of applied calculus before you open the book, so read up on that! Best of luck with the studies OP.

Also, the look into the Feynman book QED once you have a little bit under your belt. Its a fun and pretty short read and there isn't much math at all. I also think its a fun thing to read while learning EM since it opens you mind up to the next subject down the line, QED.

xzel··on Why Don’t We Use Chemical Weapons Anymore?
I stumbled onto this news documentary on the nerve gas stored in the US from 1973 very randomly maybe a year ago: https://www.youtube.com/watch?v=FjA0EQPeUGM . If you're interested in this type of stuff this documentary is incredible and apparently won an Emmy. The number of problems with long term are mind boggling technologically, even if people don't know its near them. The whole idea if this place got bombed it would wipe out huge amount of people in the surrounding area based on wind patterns is nuts, frankly. The whole process to dismantle and then "store" the old gas is insane.
xzel··on The Milk Situation
Yogurt contains probiotics so I'm assuming that is the niche he is talking about, i.e, fermented foods. Also I think a lot of the world does eat yogurt. It is very common in US, Canada, Australia, Europe and Asia. I'm not sure about Africa and South America. Apparently, more than 50% of the US population does (or at least yogurt and smoothies, which I'm assuming they meant yogurt based smoothies but who knows) https://www.statista.com/statistics/279748/us-households-con...
xzel··on People kept working, became healthier while on basic income: report
Yes it wouldn’t eliminate them. The processes that create them would have to be changed or reformed in some way. The bullshit jobs/UBI argument is more about filling in if/when these jobs are eliminated, that be via automation or process reformation.
xzel··on People kept working, became healthier while on basic income: report
I don’t think I’ve said all jobs will be rockstar you’re the boss type of jobs, but there are certainly a huge amount of inefficiencies in lots of business. I think asking people if they feel like their work is needed or could be automated away is probably the only gauge one might have until actually removing them or trying to automate it. I agree it’s not a perfect metric but it’s got to be correct within some boundary, right? I think that’s the bigger question here, as well if people are qualified to judge (which I would hope since it’s their job). I actually think we need more “horseshit jobs” (great phrase and pun btw I’m going to steal this) in America where in the last 20 years we’ve pushed a lot of them to China and others, such as recycling.
xzel··on People kept working, became healthier while on basic income: report
A lot of work today is pretty much bullshit/meaningless; I mean look at 85% of the US insurance / medical billing professions are useless and only exist because there is manufactured bureaucracy. Bullshit Jobs is a great book looking into to this. Also UBI shouldn't be disincentivizing work, it should be allowing people to explore more fulfilling pursuits.
xzel··on U.S. Signs Peace Deal with Taliban
I'm not a picking sides politically, but I see this as a perfect microcosm of problems of those two presidencies. I always thought during Obama's term it was a problem we got ourselves into and couldn't just leave, however much I don't think we should be interfering/policing other countries the way we did in Iraq and Afghanistan.
xzel··on Scientists use ML to find an antibiotic able to kill superbugs in mice
I'd much prefer there be more detail in the article about AI research in drug discovery, how it still needs clinical trials in humans. I agree with the sub-comment as well. I think your last question doesn't make sense to me though as I haven't said anything similar to that.

But I think you raise an interesting point about non-technical summary articles: what do they do and who are they for? Does the non-technical public need to know about this research? Do they gain anything vs. reading the study's actual summary? I'm not sure. I do think there isn't much for non-technical people to get from this article that would be useful. I think the best reason would be for younger people to pique their interest in the field. Though, I honestly don't know the answer.

xzel··on Scientists use ML to find an antibiotic able to kill superbugs in mice
I'm saying I'm tired of the puff piece articles and reddit style headlines. I was saying NN's and other "AI" style models has been used in this way for decades for these types of things. 0 disrespect to the actual science; the paper is great and I truly hope it works in humans. We need more drugs against the inevitable fight against drug resistance.
xzel··on Scientists use ML to find an antibiotic able to kill superbugs in mice
I totally agree, and I think my comment could be summarized as such from another angle. I think the recent Coronavirus + AI = cure spam has me a little jaded. I'll add this, this paper is really well done and like I said I really hope this works in humans!
xzel··on Scientists use ML to find an antibiotic able to kill superbugs in mice
That is sort of the thing about receptors, it is really had to know what will actually work. When you run these types of programs you'll get a number of possibilities that the simulator will spit out, that be from an AI or more traditional stat generated model. There were a few articles very similar to this with Coronavirus cures. They then have to go work in a well designed clinical trial, against a placebo, and then in humans, which is way more unlikely. It's most likely that all 9 don't work, unfortunately. I'm not saying the fact they found them was luck, the luck is if they actually work.
xzel··on Scientists use ML to find an antibiotic able to kill superbugs in mice
People have been doing this exact thing for two decades at least but obviously with less computing power. There's literally nothing new about the idea. The real trick is being incredibly lucky and finding something that actually works in humans after multiple trials. I'm sure you know this based on your comment and this isn't really directed at you (truly wish you best of luck, I really hope the computing power and skill we have saves lives) but I absolutely hate these types of articles, which I've seen becoming more frequent the past year. AI + scientific challenge + possibility = puff article. This is the type of semi-hysterical reporting I expect from a local news station.
xzel··on Ask HN: What automation tools have you used to replace mundane activities?
Looks great. The ones I use the most are probably: puppeteer-extra-plugin-block-resources puppeteer-extra-plugin-anonymize-ua puppeteer-extra-plugin-adblocker puppeteer-extra-plugin-stealth (this the most heavily)

Cheers!

xzel··on Ask HN: What automation tools have you used to replace mundane activities?
Ah this looks great. I'm super happy I'm learning about this project. Do you guys have any plans of adding extensions ala puppeteer-extra?
xzel··on Activate this ‘bracelet of silence,’ and Alexa can’t eavesdrop
I’m a bit older than average and these types of things and noises drive me crazy. I can’t even be near some old CRT screens due to the pitch they emit (especially bad with old CCTV monitors).
xzel··on Sweden gives employees unpaid time off to be entrepreneurs (2019)
I’ve had to wait to see endocrinologists about 6 months at multiple practices while having very good insurance in the US. It’s mostly a location and a supply and demand issue with most specialist medical professions, not an insurance issue (which it’s often conflated as in the media).
xzel··on Manufacturing plant fire threatens worldwide vinyl record supply
It’s a hobby like anything else. Why do people prefer stick/manual to automatic? Same thing imo. It’s just a little more “real” and involved with a hobbyist setup. I do enjoy the sound a little bit better but also the mastering is often different between digital and analog.
xzel··on The missing semester of CS education
I took a Unix half credit course randomly where you basically did bash scripting, a huge bunch of command line tools and then eventually use all that to build your own linux distribution. I swear I learned more in the half credit class, and way more if you try to count it as useful information, than 90% of my other CS courses.

Edit: And since this got some traction, here is the current version of the class: https://www.cis.upenn.edu/~cis191/ it looks pretty similar to what I took but they added a little bit of Python.

xzel··on Ask HN: How to explain job gaps on the resume?
Like a lot of the comments here most people don't even notice the gaps if they're less than a year. I've taken 9 months of due to significant other starting a grad program and 6 months off to live in another country. No one has ever asked me in an interview. Mind you this is over about 5 years so I've only worked about 3.6 of the 5. Since then I've done quite a large number of interviews (had a case of bad job fit about a year ago).
xzel··on Statistical Consequences of Fat Tails by Nassim Nicholas Taleb
I very much love and hate NNT. I think my biggest gripe about him is most of his books and podcats are kind of the same story over and over again: fat tail/Poisson distribution realizations. I do find him interesting most of the time but I wish he would also cover more things. And sorry this is a generalization, I know not everything he puts out is this.
xzel··on Ask HN: I think I’ve burnt out. What should I do?
Take a long shower. Get a full night sleep. Take a sabbatical for as long as you need. Relax until you're bored. Then do whatever gives you joy. Then figure out if its your work (that is line of work etc), working conditions or something else that lead to your burn out. Make a plan to guardrail against it.

Personally for me, I need to take at least 1 personal day / 3 day weekend every month otherwise I start hating my work. I also need to take at least a week on a relaxing vacation (not sightseeing / running around doing stuff for a week!!) about every 6-8 months. I also try to work on _my_ schedule the best I can. I like to work from about 8am to 2pm and then some amount between 10pm-2am; for whatever reason those are my best working hours. Take as much time as you can to learn to listen to your body because I really think you can catch burnout before it reaches meltdown. I haven't had a proper burnout since 2016. Best of luck my friend.

xzel··on Thank HN: My SaaS paid my rent this month
This is a totally random suggestion but, I used to work with a Marijuana company that wanted something almost exactly like this to track their plants between different strains, lifecycles etc. that were on a grid system. This was a few years ago. You might want to check out that market and might be able to re-use a lot of this feature set?
← PreviousPage 6 of 11Next →