|
tef posted:it is possible to abstract away all the ugly stuff with this approach. a json api would still require this work. fortunately someone has already abstracted away all the json stuff for me a thousand times in every language, and even if that level of support did exist for it would enforce an unreasonable contract on the visual design of the site
|
# ? Jan 1, 2013 23:02 |
|
|
# ? Jun 10, 2024 23:59 |
|
shops don't set their prices by OCRing the manufacturer's brochure
|
# ? Jan 1, 2013 23:03 |
|
"wtf the picture of that model holding the phone was always on the LEFT hand side of the page with the price inset in red print three inches beneath and now you've switched it all around and made the font blue!! I'm going to have to rewrite EVERYTHING now you fuckwit"
|
# ? Jan 1, 2013 23:06 |
|
its only scraping cause its html and html is poo poo. if you used xhtml then it would just be data and you format that data with whatever css/javascript you wanted.
|
# ? Jan 1, 2013 23:06 |
Shaggar posted:its only scraping cause its html and html is poo poo. if you used xhtml then it would just be data and you format that data with whatever css/javascript you wanted. xlst
|
|
# ? Jan 1, 2013 23:14 |
|
OBAMA BIN LinkedIn posted:I think people making these apps are more concerned with getting stuff working and features into their hobby project rather than care about some spergy heuristics fallback mechanism for the scraping which wouldn't even be that hard to fix if something changed once in a blue moon. yeah I guess especially since in this case the scraped site continued to work fine so that's a pretty obvious fallback for users to use. "if one frontend doesn't work, i'll switch to another" all in all a triumph for reliability thru quantity, not quality
|
# ? Jan 1, 2013 23:14 |
|
tef i get what you're saying in that the promise not to break an interface is more important than if we get it via some programmatic interface or just via the site itself,. so i guess the question is how would you enforce that promise either way
|
# ? Jan 1, 2013 23:14 |
tbh I think betamax kept working after the changes except it now thinks every forum has one page.
|
|
# ? Jan 1, 2013 23:16 |
|
WHOIS John Galt posted:tef i get what you're saying in that the promise not to break an interface is more important than if we get it via some programmatic interface or just via the site itself,. so i guess the question is how would you enforce that promise either way :tenbux:
|
# ? Jan 1, 2013 23:22 |
|
brb tweaking the settings on my heuristical probability statistical k-means SANextPageButtonLinkFinder implementation
|
# ? Jan 1, 2013 23:23 |
|
Notorious b.s.d. posted:every tech firm and software consultancy i ever worked with claimed to have test suites and do tdd ... but i have never seen it in action i'm in a position at work where i get to dictate how lovely jr devs write their code, and my main edict is "DO TDD WRITE THE TESTS FIRST CHODEBREATH" after 6 months of "well you probly shoulda written a test for that" they still won't write tests first or at all really
|
# ? Jan 1, 2013 23:26 |
|
WHOIS John Galt posted:tef i get what you're saying in that the promise not to break an interface is more important than if we get it via some programmatic interface or just via the site itself,. so i guess the question is how would you enforce that promise either way and why would you enforce it on a webpage designed for humans when there's plenty of other easier ways of doing it
|
# ? Jan 1, 2013 23:55 |
|
tef it looks like some rear end in a top hat is taking your posts (these sound a loving lot like your posts) and publishing them http://programmingisterrible.com just saw it posted on hacker news
|
# ? Jan 2, 2013 04:19 |
|
lol
|
# ? Jan 2, 2013 04:33 |
|
WHOIS John Galt posted:tef it looks like some rear end in a top hat is taking your posts (these sound a loving lot like your posts) and publishing them lol (it's me, i'm the guy in the blog)
|
# ? Jan 2, 2013 04:38 |
|
lol oh
|
# ? Jan 2, 2013 04:41 |
|
ugh writing style is how the unabomber got caught
|
# ? Jan 2, 2013 04:42 |
|
also haha #3 on hacker news. every day is a slow news day
|
# ? Jan 2, 2013 04:43 |
|
basically it is recycled content from the arguments i've had on the internet. (i.e yosposts)
|
# ? Jan 2, 2013 05:00 |
|
I wonder if the author is simply trolling with the first post. He says: "This myth has many forms, with many attempts to explain the magic power away in terms of some physical characteristics– Programmers who have a penis are good Programmers who do not have a penis are bad If you believe in this in any way, it is highly likely that you are not only a terrible programmer, you are a terrible person too." Then on his Twitter he proudly displays in all capitals "I AM A TERRIBLE PERSON" https://twitter.com/tef/
|
# ? Jan 2, 2013 05:05 |
|
|
# ? Jan 2, 2013 05:14 |
|
move over jeff atwood, there's a new blowhard in town
|
# ? Jan 2, 2013 05:15 |
|
php is terrible, tef is terrible,, tef is php
|
# ? Jan 2, 2013 05:15 |
|
i just followed you on twitter in the hopes of seeing hen-night drag photos
|
# ? Jan 2, 2013 05:23 |
|
HEY FOLKS I'm John Daly welc0me back to Whats my Line. Here is the next contestant: MAN: HI i enjoy writing articals about my computer on the blog and i am inable to compute wihtout 7 korean ips monitors, 256 GB of ram, and 12 SSDs in a RADI-O configurations. If my computing needs are not met, I am inable to update my blog about the aforementioned subjects. Also, I am fat as gently caress as you can see. WHO AM I.
|
# ? Jan 2, 2013 05:27 |
|
deep square leg posted:i just followed you on twitter in the hopes of seeing hen-night drag photos i'm never shaving my legs again it was so much hassle seriously
|
# ? Jan 2, 2013 05:40 |
|
deep square leg posted:hen-night lol britian what did you do to your own language
|
# ? Jan 2, 2013 05:47 |
|
I AM TEF @iamtef ARTIST, DIRECTOR, AUTHOR, PRODUCER AN CEO OF THE MOST POWERFUL INDI LABEL IN THE CAROLINA'S ROCKY MOUNT,NC · http://www.iamtef.com its u tef, u are the rockstar
|
# ? Jan 2, 2013 06:30 |
|
tef posted:lol Your post on the dichotomy of programmers should be required reading for the tech industry
|
# ? Jan 2, 2013 06:36 |
|
tef posted:people are messy. god, i hate them so much
|
# ? Jan 2, 2013 06:50 |
|
sig test
as seen on hacker news
|
# ? Jan 2, 2013 07:34 |
|
tef please don't be so negative life is worth living
|
# ? Jan 2, 2013 07:37 |
|
it is worth living if only to wind up hacker news posters i have a new hobby
|
# ? Jan 2, 2013 07:50 |
|
tef posted:i'm never shaving my legs again it was so much hassle seriously yo shaving your knees SUCKS esp. if you have skinny knobbly knees like me
|
# ? Jan 2, 2013 07:53 |
|
tef posted:it is worth living if only to wind up hacker news posters a truly noble calling
|
# ? Jan 2, 2013 07:53 |
Tiny Bug Child posted:yo shaving your knees SUCKS esp. if you have skinny knobbly knees like me yo tbc eat some pies mate
|
|
# ? Jan 2, 2013 08:34 |
|
Sneaking Mission posted:php is terrible, tef is terrible,, tef is php tef is php php is tef
|
# ? Jan 2, 2013 09:15 |
|
Luigi Thirty posted:tef is php not if you use ===
|
# ? Jan 2, 2013 09:19 |
|
php's ternary operator is certainly terrible
|
# ? Jan 2, 2013 10:19 |
|
|
# ? Jun 10, 2024 23:59 |
qntm posted:php's ternary operator is certainly terrible quote:Since PHP 5.3, it is possible to leave out the middle part of the ternary operator. Expression expr1 ?: expr3 returns expr1 if expr1 evaluates to TRUE, and expr3 otherwise. lolllllll
|
|
# ? Jan 2, 2013 10:23 |