prompt
stringlengths
4
3.12k
chosen
stringlengths
3
10.5k
rejected
stringlengths
3
8.98k
ask hn: could we use shellshock to patch vulnerable systems? since we know that it took weeks before most servers were fixed from the heartbleed vulnerability, couldn't we use shellshock to make a worm that would upgrade bash wherever it can? are there legal issues about fixing a vulnerability in a system that doesn't ...
>are there legal issues about fixing a vulnerability in a system that doesn't belongs to you?yes. because it doesn't belong to you. therefore you have no right to 'fix' it.
since this is a rce bug, sure, you can fix it. but its not your place to fix a vulnerability. it's on the vendor to provide the patch.i will point out like its been pointed out in another comment this probably breaks the law somewhere.
ask hn: could we use shellshock to patch vulnerable systems? since we know that it took weeks before most servers were fixed from the heartbleed vulnerability, couldn't we use shellshock to make a worm that would upgrade bash wherever it can? are there legal issues about fixing a vulnerability in a system that doesn't ...
since this is a rce bug, sure, you can fix it. but its not your place to fix a vulnerability. it's on the vendor to provide the patch.i will point out like its been pointed out in another comment this probably breaks the law somewhere.
in france, you deserve 3 years in jail and a fine of 45000€ for this.<link>
ask hn: could we use shellshock to patch vulnerable systems? since we know that it took weeks before most servers were fixed from the heartbleed vulnerability, couldn't we use shellshock to make a worm that would upgrade bash wherever it can? are there legal issues about fixing a vulnerability in a system that doesn't ...
in france, you deserve 3 years in jail and a fine of 45000€ for this.<link>
it would be treated the same as exploiting a system for any other reason.friendly worms have been done before (welchia). the problems with friendly worms are numerous. it is more than just a legal issue. a malicious worm is looking to propagate quietly and perhaps leave some sort of backdoor control channel. a friendly...
ask hn: could we use shellshock to patch vulnerable systems? since we know that it took weeks before most servers were fixed from the heartbleed vulnerability, couldn't we use shellshock to make a worm that would upgrade bash wherever it can? are there legal issues about fixing a vulnerability in a system that doesn't ...
it would be treated the same as exploiting a system for any other reason.friendly worms have been done before (welchia). the problems with friendly worms are numerous. it is more than just a legal issue. a malicious worm is looking to propagate quietly and perhaps leave some sort of backdoor control channel. a friendly...
i'm pretty sure in many places this would be illegaldefinitely in the uk
request hn: designers – shellshock vulnerability needs a logo i'm not a designer, but as others have pointed out, the shellshock vulnerability will be communicated better and taken more seriously with a good logo, as heartbleed had.<p>if anyone with design skills can put one together, and get word out, i think it would...
i'm no designer, but i doodled a thing that could be a logo: <link> criticism/use welcome!
here's something: <link> away, not claiming any rights on this.
request hn: designers – shellshock vulnerability needs a logo i'm not a designer, but as others have pointed out, the shellshock vulnerability will be communicated better and taken more seriously with a good logo, as heartbleed had.<p>if anyone with design skills can put one together, and get word out, i think it would...
here's something: <link> away, not claiming any rights on this.
here is an svg of the earlier black-and-white computer-hit-by-shell logo: <link> free to use as desired.
request hn: designers – shellshock vulnerability needs a logo i'm not a designer, but as others have pointed out, the shellshock vulnerability will be communicated better and taken more seriously with a good logo, as heartbleed had.<p>if anyone with design skills can put one together, and get word out, i think it would...
here is an svg of the earlier black-and-white computer-hit-by-shell logo: <link> free to use as desired.
i have created a public domain logo with svg and png rendering for the shellshock bash bug.<link> the image and link to zip of files with license.
request hn: designers – shellshock vulnerability needs a logo i'm not a designer, but as others have pointed out, the shellshock vulnerability will be communicated better and taken more seriously with a good logo, as heartbleed had.<p>if anyone with design skills can put one together, and get word out, i think it would...
i have created a public domain logo with svg and png rendering for the shellshock bash bug.<link> the image and link to zip of files with license.
not a designer, but playing around with the concept.<link> <link> if wanted, willing to refine or provide other file formats if requested.
ask hn: what is your favorite keyboard for a mac? i recently started a new job as a developer, and i was given a macbook pro by my company. i have been looking for an ergonomic keyboard with the same key layout, but it doesn't look like there are too many options. i know a ton of people develop on macs, what do you u...
same as for any other computer: das keyboard 3 (or filco tenkeyless otaku).the point being to use the same keyboard and the same mouse on all the computers you use (and configure the keyboard layout to be identical or the closest possible on all systems you use). this is how you increase the ergonomy of your human/co...
kinesis advantage mpc, with the recessed keys. here's a picture of me with the keyboard: <link>'s very important that the keyboard is low enough so your wrists are straight. in other words, avoid putting it on top of a high desk.i've been using this keyboard since working with richard williamson and paul king at infosc...
ask hn: what is your favorite keyboard for a mac? i recently started a new job as a developer, and i was given a macbook pro by my company. i have been looking for an ergonomic keyboard with the same key layout, but it doesn't look like there are too many options. i know a ton of people develop on macs, what do you u...
kinesis advantage mpc, with the recessed keys. here's a picture of me with the keyboard: <link>'s very important that the keyboard is low enough so your wrists are straight. in other words, avoid putting it on top of a high desk.i've been using this keyboard since working with richard williamson and paul king at infosc...
i'd avoid mechanical keyboards for development work. they simply require more energy expended per keypress which will tire your hands, slow your typing speed, and further worsen rsa-like problems.plus some of them are super loud. which will annoy the people around you. however that's less of an issue with modern switch...
ask hn: what is your favorite keyboard for a mac? i recently started a new job as a developer, and i was given a macbook pro by my company. i have been looking for an ergonomic keyboard with the same key layout, but it doesn't look like there are too many options. i know a ton of people develop on macs, what do you u...
i'd avoid mechanical keyboards for development work. they simply require more energy expended per keypress which will tire your hands, slow your typing speed, and further worsen rsa-like problems.plus some of them are super loud. which will annoy the people around you. however that's less of an issue with modern switch...
i use the wireless apple one, but the microsoft sculpt ergonomic keyboard is very popular in my office<link>
ask hn: what is your favorite keyboard for a mac? i recently started a new job as a developer, and i was given a macbook pro by my company. i have been looking for an ergonomic keyboard with the same key layout, but it doesn't look like there are too many options. i know a ton of people develop on macs, what do you u...
i use the wireless apple one, but the microsoft sculpt ergonomic keyboard is very popular in my office<link>
i use the es-87 keyed up labs mechanical keyboard with mx brown switches. it has a hardware switch for mac compatibility. i am happy with it. <link> es-87 is not ergonomic, but since i suffered from rsi a couple of months ago, my personal opinion is that there is no better prevention or cure of keyboard-related health ...
billionaire ordered to unlock martin's beach but won't be fined $20m
reminds me of the app the show hidden public gates to access malibu beaches <link> version <link>
this is a dupe of [0] from yesterday, with ~100 comments.[0] <link>
billionaire ordered to unlock martin's beach but won't be fined $20m
this is a dupe of [0] from yesterday, with ~100 comments.[0] <link>
i never knew about this place, but now i'm certain i will be getting in the water there soon.
billionaire ordered to unlock martin's beach but won't be fined $20m
i never knew about this place, but now i'm certain i will be getting in the water there soon.
this begs the question: would you take an investment from vinod khosla?
billionaire ordered to unlock martin's beach but won't be fined $20m
this begs the question: would you take an investment from vinod khosla?
i guess i just don't understand why vinod would risk his reputation and his historical legacy on this issue. it seems to me that he and everyone else on the planet would want to go down in history as a &quot;good guy&quot;. especially because he has the opportunity with so much money to just do the right thing. the c...
show hn: javelin browser
to me, including &quot;mobile-first&quot; as one of your key value proposition seems a little odd.my immediate reaction was to wonder whether any mobile browsers aren't mobile-first? from my (incomplete) knowledge of smartphone browsers they all feature interfaces designed for smartphones and smartphones alone.there mu...
i notice that you use www.theverge.com in a number of the screenshots for javelin. the writers at the verge, the developers that build the site, the designers that make it beautiful - are all paid through ad revenue. please consider at least adding the ability to whitelist sites if you are going to bundle ad block.*ful...
show hn: javelin browser
i notice that you use www.theverge.com in a number of the screenshots for javelin. the writers at the verge, the developers that build the site, the designers that make it beautiful - are all paid through ad revenue. please consider at least adding the ability to whitelist sites if you are going to bundle ad block.*ful...
developer here!i've been working on javelin since feb this year and this is the 4th iteration, and on reddit (r/android), and just a quick interesting byte. javelin actually started as a &quot;porn&quot; browser! see: <link> i'm headed to sf in october, anyone wanna grab a beer/coffee? i'm contactable at hello@javelinb...
show hn: javelin browser
developer here!i've been working on javelin since feb this year and this is the 4th iteration, and on reddit (r/android), and just a quick interesting byte. javelin actually started as a &quot;porn&quot; browser! see: <link> i'm headed to sf in october, anyone wanna grab a beer/coffee? i'm contactable at hello@javelinb...
i've been using your browser for a couple months now (i think i saw it mentioned on android police if you're curious) and i've been liking it. it looks slick, and works exactly how i think it should. the one problem i have with it is one i'd like other opinions on, both for my curiosity and your benefit.frankly, it's n...
show hn: javelin browser
i've been using your browser for a couple months now (i think i saw it mentioned on android police if you're curious) and i've been liking it. it looks slick, and works exactly how i think it should. the one problem i have with it is one i'd like other opinions on, both for my curiosity and your benefit.frankly, it's n...
bug reports for the developer nubela:swipe from the left to open the menu, then scroll down, so that part of the text is cut off, then swipe to the left to close the menu part of the way, but drag your finger back right before the menu closes. if you now scroll, the cut-off text is still visible, creating weird visual ...
building a better and more diverse community
any '-ism' cannot be a real '-ism' if does not combine prejudice (which is the only thing people think it is) plus power (the social, cultural, and political heft which usually underlies the ability of prejudice to keep or enforce -isms in place)<link> folks understand this primary principle, most of you arguing for th...
in anticipation of the comments we've gotten in the past:* we hold everyone to the same admissions standard, regardless of race or gender. the grants are our way to create a more diverse applicant pool.* hacker school is free for everyone* we admit everyone who applies who we think is a good fit. no man has ever been r...
building a better and more diverse community
in anticipation of the comments we've gotten in the past:* we hold everyone to the same admissions standard, regardless of race or gender. the grants are our way to create a more diverse applicant pool.* hacker school is free for everyone* we admit everyone who applies who we think is a good fit. no man has ever been r...
that's actually quite clever, wrt. generating everyone who applies a nonsense pseudonym so there's no unconscious bias happening in the pre-selection process.
building a better and more diverse community
that's actually quite clever, wrt. generating everyone who applies a nonsense pseudonym so there's no unconscious bias happening in the pre-selection process.
really impressive program! i'm glad that these guys are encouraging diversity, but focusing on keeping the bar for admission the same across all candidates.
building a better and more diverse community
really impressive program! i'm glad that these guys are encouraging diversity, but focusing on keeping the bar for admission the same across all candidates.
i am so happy to see this program in place. we all talk about how most problems we have with diversity come from upstream, and now a school is directly addressing it. an objective solution to an objective problem.
rethinkdb 1.15: geospatial queries
i wish every software project had a faq like this: <link>
i really appreciate their transparency with their stability report ( <link> ). it's even linked right on the front page and shows what type of issues you can expect at scale.
rethinkdb 1.15: geospatial queries
i really appreciate their transparency with their stability report ( <link> ). it's even linked right on the front page and shows what type of issues you can expect at scale.
hey guys, slava @ rethink here. i'll be around all day on hn to answer questions.we'll be doing a live webcast[1] today at 1:30pm pt showcasing geo features and some example apps you can build with them, would love for you to join us![1] <link>
rethinkdb 1.15: geospatial queries
hey guys, slava @ rethink here. i'll be around all day on hn to answer questions.we'll be doing a live webcast[1] today at 1:30pm pt showcasing geo features and some example apps you can build with them, would love for you to join us![1] <link>
mysql has had geospatial extensions for years. they even work. the underlying table format is an r-tree, which, unfortunately, is only available for myisam. point in rectangle is very efficient, and other queries that can be expressed as multiple point in rectangle tests are reasonably efficient. &quot;nearest&quot;...
rethinkdb 1.15: geospatial queries
mysql has had geospatial extensions for years. they even work. the underlying table format is an r-tree, which, unfortunately, is only available for myisam. point in rectangle is very efficient, and other queries that can be expressed as multiple point in rectangle tests are reasonably efficient. &quot;nearest&quot;...
i've made a comment to this effect before, but seriously do yourself a favor and check out rethink. it's been great to work with, and has been 100% rock solid. the only complaint i have is keeping up with the change of pace for everything that's going on has been tricky ;).it's great and fun to build apps with and al...
package data like software
beautiful idea, not dissimilar from dat [0] (if you haven't already, you guys should talk).i find the django relationship to be an odd choice - the vast majority of people working with data are not using django. why pair the two?[0]: dat-data.com
a humble suggestion from your friends at the california civic data coalition
package data like software
a humble suggestion from your friends at the california civic data coalition
love the idea!i would ask for a little more separation of concerns. one package for raw but cleaned data with a collection of schemas, and a second for loading arbitrary data + schemas in to django (and probably accomplishing all of the extra administrative steps provided in the example).that way if i want to add other...
package data like software
love the idea!i would ask for a little more separation of concerns. one package for raw but cleaned data with a collection of schemas, and a second for loading arbitrary data + schemas in to django (and probably accomplishing all of the extra administrative steps provided in the example).that way if i want to add other...
a lot of the nitty-gritty data munging and processing often gets discarded after a project or never included in the project repo in a meaningful way. i like drake [0] because we used it a lot at factual and it really made data generation and formatting very repeatable and easy.i really think the packaging system the a...
package data like software
a lot of the nitty-gritty data munging and processing often gets discarded after a project or never included in the project repo in a meaningful way. i like drake [0] because we used it a lot at factual and it really made data generation and formatting very repeatable and easy.i really think the packaging system the a...
whew, reading the first few paragraphs after seeing the title started to scare me. i was afraid they were going to advocate locking data up inside of a proprietary app and only releasing that to the public in place of releasing the raw data!i ran into this years ago with the imdb dataset. it appears to be formatted s...
ask hn: what db to use for huge time series? hi hn, i wanted to know if anyone had good recommendations for a database for massive timeseries. i took a look at influxdb and druid, both of which look promising but they're young projects and i don't want to strand myself with a deprecated component at the core of the sys...
approximately, if you have something like 10+ billion items, use cassandra.if you have less than 10 billion items, postgres will be fine, and is easier to manage imo.if you do use postgres, you should vertically partition the table. this will help keep indexes smaller, improve the the cache hit rate, vastly improve the...
kdb+ <link> have no affiliation, other than being a customer. its as close to a standard as you can find in finance.there are many useful tutorials out there that let you try it out and you can usually get an eval version to try before you buy.<link> if you find something that is comparable in terms of performance and...
ask hn: what db to use for huge time series? hi hn, i wanted to know if anyone had good recommendations for a database for massive timeseries. i took a look at influxdb and druid, both of which look promising but they're young projects and i don't want to strand myself with a deprecated component at the core of the sys...
kdb+ <link> have no affiliation, other than being a customer. its as close to a standard as you can find in finance.there are many useful tutorials out there that let you try it out and you can usually get an eval version to try before you buy.<link> if you find something that is comparable in terms of performance and...
for a good answer, you need to provide a lot more detail in the requirements:- what do the writes look like? if they are coming in a stream how many writes per second do you need to support? if they are a bulk load how large and frequent are the batches? simple numerical values?- what do the reads look like? how ma...
ask hn: what db to use for huge time series? hi hn, i wanted to know if anyone had good recommendations for a database for massive timeseries. i took a look at influxdb and druid, both of which look promising but they're young projects and i don't want to strand myself with a deprecated component at the core of the sys...
for a good answer, you need to provide a lot more detail in the requirements:- what do the writes look like? if they are coming in a stream how many writes per second do you need to support? if they are a bulk load how large and frequent are the batches? simple numerical values?- what do the reads look like? how ma...
depending on how 'huge' your timeseries are, you might be pleasantly surprised with postgres. postgres scales to multiple tb just fine, and of course the software can be easier to write since you have sql and orms to rely on. it's also an incredibly mature and stable software package, if you're worried about future-p...
ask hn: what db to use for huge time series? hi hn, i wanted to know if anyone had good recommendations for a database for massive timeseries. i took a look at influxdb and druid, both of which look promising but they're young projects and i don't want to strand myself with a deprecated component at the core of the sys...
depending on how 'huge' your timeseries are, you might be pleasantly surprised with postgres. postgres scales to multiple tb just fine, and of course the software can be easier to write since you have sql and orms to rely on. it's also an incredibly mature and stable software package, if you're worried about future-p...
not a database but hdf5 (<link> is used for storing all sorts of scientific data, has been around for a while and is very stable. pytables is built on top of it and there are lots of other languages that can have existing libraries to read/write hdf5 (matlab, python, c, c++, r, java, ...)
a fight over rooftop solar panels
...wow, could we have a more biased article please? there's really no need for even the tiny hints this one provided about the reasons electric grid maintainers don't like net metering.
why was google funding alec in the first place?
a fight over rooftop solar panels
why was google funding alec in the first place?
i don't understand why this is such a large issue. i get charged a generation fee, and a transmission fee for my electricity. if my generation is done by the power company, my neighbor with solar panels, or a giant wind farm out in the desert i'd expect the generation money to go to the person who generated the power...
a fight over rooftop solar panels
i don't understand why this is such a large issue. i get charged a generation fee, and a transmission fee for my electricity. if my generation is done by the power company, my neighbor with solar panels, or a giant wind farm out in the desert i'd expect the generation money to go to the person who generated the power...
solar panels have dropped so much in cost since 2009 that what used to be a cute, green-washing positive card for utilities to play is now a dangerous threat.if too many install solar they won't be able to make the payments on their existing polluting plants.the us government should offer now to cover all defaults on e...
a fight over rooftop solar panels
solar panels have dropped so much in cost since 2009 that what used to be a cute, green-washing positive card for utilities to play is now a dangerous threat.if too many install solar they won't be able to make the payments on their existing polluting plants.the us government should offer now to cover all defaults on e...
&gt;on monday, google announced that it was cutting ties with the american legislative exchange councilwtf??? google was participating in alec?! all the backward and oppressive laws brought to life across america at federal and especially state levels during the last decade are basically alec's doing. animal enterpris...
ask hn: open-source projects that could use documentation help? hey hn, a friend of mine is a budding technical writer, and is trying to get some actual documentation experience under her belt. anyone have a project they could use some docs for?
this is an interesting problem, because it's not unique to technical writers.some suggestions: * mozilla. <link> , <link> shoot them a mail and they can probably connect her with a project to work on. mdn in particular can always use someone to browse through the contributions and correct/improve them. they'll even con...
the git man pages are a mess. and not easy to fix. but it is a much needed task.one of the challenges is that the pages are constructed from from multiple files as an attempt to factor out the documentation of switches that are common to multiple git commands, but i think this makes a lot of the pages harder to read. i...
ask hn: open-source projects that could use documentation help? hey hn, a friend of mine is a budding technical writer, and is trying to get some actual documentation experience under her belt. anyone have a project they could use some docs for?
the git man pages are a mess. and not easy to fix. but it is a much needed task.one of the challenges is that the pages are constructed from from multiple files as an attempt to factor out the documentation of switches that are common to multiple git commands, but i think this makes a lot of the pages harder to read. i...
angularjs can really, really use some help there.<link>
ask hn: open-source projects that could use documentation help? hey hn, a friend of mine is a budding technical writer, and is trying to get some actual documentation experience under her belt. anyone have a project they could use some docs for?
angularjs can really, really use some help there.<link>
while it may not look like it, in my opinion the uwsgi project desperately needs documentation help.<link> is just an endless list of features, and no clear red thread as to what you actually need to get going.it's hard because it just supports everything for some reason.
ask hn: open-source projects that could use documentation help? hey hn, a friend of mine is a budding technical writer, and is trying to get some actual documentation experience under her belt. anyone have a project they could use some docs for?
while it may not look like it, in my opinion the uwsgi project desperately needs documentation help.<link> is just an endless list of features, and no clear red thread as to what you actually need to get going.it's hard because it just supports everything for some reason.
the perl 6 project is always happy about doc contributions. currently we have a specification, which is aimed at compiler writers: <link> and then the beginning of some user-facing documentation: <link>;translating&quot; specification documentation into user-facing documentation would be very helpful. for questions, fe...
many eyes theory conclusively disproven
i don't know the details behind these discoveries, but weren't they found by security researchers looking through open source code?wouldn't that actually support the theory that open source is &quot;more secure&quot;?are there any studies done on bugs found in proprietary packages that could give a better definition to...
&gt; &quot;the average programmers writes 10x more code than they read.&quot;not in my experience. and i certainly wouldn't trust such programmers.
many eyes theory conclusively disproven
&gt; &quot;the average programmers writes 10x more code than they read.&quot;not in my experience. and i certainly wouldn't trust such programmers.
&quot;companies like microsoft pay programmers to review code...&quot;apparently these (well-paid) ms programmers don't do their job well<link>
many eyes theory conclusively disproven
&quot;companies like microsoft pay programmers to review code...&quot;apparently these (well-paid) ms programmers don't do their job well<link>
i think there's a problem with this reasoning, which is that it may be that these bugs are discovered now only because they are open source, and many more such deep bugs exist in closed-source software.the flip side of the boon that is code reusability is software monoculture, which means that a significant bug in a co...
many eyes theory conclusively disproven
i think there's a problem with this reasoning, which is that it may be that these bugs are discovered now only because they are open source, and many more such deep bugs exist in closed-source software.the flip side of the boon that is code reusability is software monoculture, which means that a significant bug in a co...
this bug was found by a redhat security auditor. it's a bit unfair to pose this as an obvious bug that should've been found at any point in the past 25 years, because i'm pretty sure that redhat has had security auditors for a long while. although probably fewer in number than microsofts security auditor team they are ...
fivestars (yc w11) raises $26m
i don't get why people opt-in to tracking and behaviour analysis just so they can get a free taco, that seems counter intuitive. there is little choice, when you purchase things online, but that doesn't mean it is desirable. there are really old fashioned ways of maintaining customer loyality, offer a good product, hir...
only 1 location in all of nyc so far, it seems.
fivestars (yc w11) raises $26m
only 1 location in all of nyc so far, it seems.
this might be a dumb reason, but i stopped using fivestars because it was just such a hassle. the card interfered with the other nfc cards in my wallet, and eventually started showing up as unregistered when i did try to use it. in the months that i was using it, i earned exactly zero rewards at the venues that i was u...
fivestars (yc w11) raises $26m
this might be a dumb reason, but i stopped using fivestars because it was just such a hassle. the card interfered with the other nfc cards in my wallet, and eventually started showing up as unregistered when i did try to use it. in the months that i was using it, i earned exactly zero rewards at the venues that i was u...
is a weird sf/silicon valley cognitive dissonance required to say that 100% automated software &quot;communication&quot; is &quot;establishing a personal connection&quot;? the fact that an algorithm asks me to come back after i stop frequenting a restaurant doesn't strike me as personal, just kind of overbearing and ha...
fivestars (yc w11) raises $26m
is a weird sf/silicon valley cognitive dissonance required to say that 100% automated software &quot;communication&quot; is &quot;establishing a personal connection&quot;? the fact that an algorithm asks me to come back after i stop frequenting a restaurant doesn't strike me as personal, just kind of overbearing and ha...
&gt; “we see things in order of a 20% lift,” says ho. that means shoppers that would come into a store once a week now typically come in three times a week, he says. “is there some sort of new silicon valley math i wasn't informed of?
faster unsigned division by constants (2011)
i think all modern compilers do this now. i know the d compiler does:<link>
nice analysis! there is a similar problem in base-255 pixel math, with a similar solution. you want 255 * 255 = 255 when you multiply pixels, so you are doing divide-by-255 (not-256), which in 8 bits is somewhat &quot;uncooperative&quot;.i wrote up a few solutions many years ago, one of which is sree kotay's idea: addi...
faster unsigned division by constants (2011)
nice analysis! there is a similar problem in base-255 pixel math, with a similar solution. you want 255 * 255 = 255 when you multiply pixels, so you are doing divide-by-255 (not-256), which in 8 bits is somewhat &quot;uncooperative&quot;.i wrote up a few solutions many years ago, one of which is sree kotay's idea: addi...
note that while most compilers already replace fixed-divisor divisions with multiplications, this algorithm presents a more optimized solution for certain &quot;problem&quot; divisors, notably 7.
faster unsigned division by constants (2011)
note that while most compilers already replace fixed-divisor divisions with multiplications, this algorithm presents a more optimized solution for certain &quot;problem&quot; divisors, notably 7.
i just tested gcc, icc, and clang to see how well they perform these optimizations on their own. code for my test is here: <link> short answer is that they all do it well. for a loop like this compiled with -o3: for (int i = 0; i &lt; count; i++) { compilersum += randomint[i]/const; } icc 14.0.3 takes...
faster unsigned division by constants (2011)
i just tested gcc, icc, and clang to see how well they perform these optimizations on their own. code for my test is here: <link> short answer is that they all do it well. for a loop like this compiled with -o3: for (int i = 0; i &lt; count; i++) { compilersum += randomint[i]/const; } icc 14.0.3 takes...
i know many compilers use this optimization. however i recently used this for the case where the divisor was a variable but restricted to a few possible values. i expanded it to a switch case statement where each possible divisor was expanded to a constant value allowing for this optimization. for this processor, there...
physically based camera rendering
i always thought it was amusing to see lens flare, which is axiomatically a camera effect, on first-person-shooters.
the best video game camera simulation that i've seen described is the gdc 2009 talk &quot;star ocean 4 : flexible shader management and post-processing&quot; from <link> it's unfortunate that applying such realistic methods to such anime-like characters produces such a creepy effect (reminiscent of &quot;real dolls&qu...
physically based camera rendering
the best video game camera simulation that i've seen described is the gdc 2009 talk &quot;star ocean 4 : flexible shader management and post-processing&quot; from <link> it's unfortunate that applying such realistic methods to such anime-like characters produces such a creepy effect (reminiscent of &quot;real dolls&qu...
why simulate all the flaws of real cameras? this doesn't add anything to realism imo.
physically based camera rendering
why simulate all the flaws of real cameras? this doesn't add anything to realism imo.
this is great, too bad the demo was too intensive for my laptop.
physically based camera rendering
this is great, too bad the demo was too intensive for my laptop.
i would love to see something that's more like &quot;physically based eye rendering&quot; - rendering what your eyes would see and transmitting it through the monitor at the best quality possible, rather than rendering what a camera would see.
the anatomy of a door-to-door taobao delivery
great to see someone going into detail on this- the taobao experience is awesome. there are a few flakey carriers but over all- nothing even close in the us. it's become my favorite thing about living in china.
loved the story of the couple and the author's analysis. would enjoy more if done so.
the anatomy of a door-to-door taobao delivery
loved the story of the couple and the author's analysis. would enjoy more if done so.
as someone who lives in shanghai, this is an interesting look at how it works. however, as an expat who can't speak chinese yet, this website is one of the larger sources of my frustration.need something simple and don't know where to get it? if you ask anybody, the only answer you ever get is &quot;taobao.&quot;the is...
the anatomy of a door-to-door taobao delivery
as someone who lives in shanghai, this is an interesting look at how it works. however, as an expat who can't speak chinese yet, this website is one of the larger sources of my frustration.need something simple and don't know where to get it? if you ask anybody, the only answer you ever get is &quot;taobao.&quot;the is...
im live in australia and speak only english and i regularly search and have occasionally bought items from taobao, including bicycle wheels, motorbike parts and something else that escapes me right now.i use chrome with auto tranlation turned on, i first translate my keywords in google translate and then paste these in...
the anatomy of a door-to-door taobao delivery
im live in australia and speak only english and i regularly search and have occasionally bought items from taobao, including bicycle wheels, motorbike parts and something else that escapes me right now.i use chrome with auto tranlation turned on, i first translate my keywords in google translate and then paste these in...
while taobao can be a treasure trove, an important warning is that around 90% of the brand-name items are fakes. as long as you're not after brand names, there are a lot of great bargains. if you want to buy geniune imported goods, better use t-mall or jd.com. neither of which will 100% guarantee you authentic goods, b...
generational garbage collection in firefox
googlers at i/o explain how this works in v8. click on &quot;view the presentation&quot; and then from slide 23 onwards.<link>
is there any work on using online methods to optimize tenure threshold for a given workload? (e.g., system notices that similar objects are being repeatedly tenured and then die shortky after, adjusts the threshold to keep them in the nursery.)
generational garbage collection in firefox
is there any work on using online methods to optimize tenure threshold for a given workload? (e.g., system notices that similar objects are being repeatedly tenured and then die shortky after, adjusts the threshold to keep them in the nursery.)
it must be depressing for them to be in catch-up mode for so long.
generational garbage collection in firefox
it must be depressing for them to be in catch-up mode for so long.
# firefoxsunspider: 182.5ms +/- 4.6% octane: 21148# chrome sunspider: 206.7ms +/- 1.2% octane: 24921i adore mozilla and use firefox as my primary browser. as a web developer i hope those benchmarks get tighter.
generational garbage collection in firefox
# firefoxsunspider: 182.5ms +/- 4.6% octane: 21148# chrome sunspider: 206.7ms +/- 1.2% octane: 24921i adore mozilla and use firefox as my primary browser. as a web developer i hope those benchmarks get tighter.
somewhat off-topic, maybe, but is anyone else here experiencing massive slowdowns in chrome and chromium for linux?it's unusable to me at this point: the whole thing pegs one core of my dual-core system just switching to a new tab, even though plenty of ram is available. it pegs my cpus and my disk on startup, but that...
sendwithus (yc w14) announces $2.3m to humanize transactional email
you mean i'll have to read through marketing bs when i need an important piece of data in an email i just received? wow, can't wait.
cofounder of sendwithus -- i just wanted to give an additional shout out to some of the amazing angel investors included in this round. full details on angellist (<link> think it shows how funding in the valley has changed when a company founded and based in a tiny canadian city (victoria, bc) can grow like this.
sendwithus (yc w14) announces $2.3m to humanize transactional email
cofounder of sendwithus -- i just wanted to give an additional shout out to some of the amazing angel investors included in this round. full details on angellist (<link> think it shows how funding in the valley has changed when a company founded and based in a tiny canadian city (victoria, bc) can grow like this.
absolutely a fantastic tool - well done, and thankyou for existing! very happy i can depend on you sticking around.
sendwithus (yc w14) announces $2.3m to humanize transactional email
absolutely a fantastic tool - well done, and thankyou for existing! very happy i can depend on you sticking around.
this is exactly what i've been looking for but couldn't find! fantastic. sendgrid strips html tags in their template engine but doesn't document it -- i debugged their wysiwyg editor and gave them the source of the problem, but they asked me to send a video. after 4 rounds with support i had nearly given up on findi...
sendwithus (yc w14) announces $2.3m to humanize transactional email
this is exactly what i've been looking for but couldn't find! fantastic. sendgrid strips html tags in their template engine but doesn't document it -- i debugged their wysiwyg editor and gave them the source of the problem, but they asked me to send a video. after 4 rounds with support i had nearly given up on findi...
by &quot;humanize transactional email&quot;, they mean &quot;make spam more effective&quot;. we're going to need filters for transactional emails that filter out the spam part.
stacklead (yc w14) is joining linkedin
for an alternative, people can look at <link> which is also pretty solid and with nice other feature. alex mccaw is behind it. ( i have no stake in it, just tried both services )
does anyone know any of stacklead's metrics like run rate, active users, etc? it'd be cool if ted or gordon could share more information in a post-mortem too.i'm curious as to why the company joined linkedin instead of pursuing the opportunity to grow stacklead. i've heard from more than a few people using it how valua...
stacklead (yc w14) is joining linkedin
does anyone know any of stacklead's metrics like run rate, active users, etc? it'd be cool if ted or gordon could share more information in a post-mortem too.i'm curious as to why the company joined linkedin instead of pursuing the opportunity to grow stacklead. i've heard from more than a few people using it how valua...
linkedin's value is in the database of contacts and interactions. it looks like they're trying to get rid of anyone who was able to capture a significant portion of that data. too bad, it was a useful service. they must have made them a sweet offer.
stacklead (yc w14) is joining linkedin
linkedin's value is in the database of contacts and interactions. it looks like they're trying to get rid of anyone who was able to capture a significant portion of that data. too bad, it was a useful service. they must have made them a sweet offer.
if anyone is looking for an alternative i've been working on something similar over at <link> a direct replacement but i'm now adding some additional features to try to make it that. if you're an existing stacklead customer i'd be interested in talking to you about getting your data migrated and making sure everything ...
stacklead (yc w14) is joining linkedin
if anyone is looking for an alternative i've been working on something similar over at <link> a direct replacement but i'm now adding some additional features to try to make it that. if you're an existing stacklead customer i'd be interested in talking to you about getting your data migrated and making sure everything ...
this seems like it could be a real business with a lot of traction, especially with the death of rapportive. i wonder why the founders chose to throw it away and get jobs at linkedin.
the great lightbulb conspiracy
incandescent light bulbs are cheap. the cost of the electricity over the lifespan of the bulb is much greater than the cost of the bulb. if the cartel was reducing bulb lifespan by making it run hotter thus producing more lumens per watt, then it was actually saving the consumers money by allowing the consumer to selec...
the oldest (mostly) continuously running light bulb was made in my home town. <link> ... it is featured also in a documentary about &quot;planned obsolescence&quot; quite prominently.i think it is well known that things that are made well and do cost a little more are available. this reminds me of a guy who shows how t...
the great lightbulb conspiracy
the oldest (mostly) continuously running light bulb was made in my home town. <link> ... it is featured also in a documentary about &quot;planned obsolescence&quot; quite prominently.i think it is well known that things that are made well and do cost a little more are available. this reminds me of a guy who shows how t...
the reason i believe that there is a conspiracy is that the technology to get a 10,000 hour incandescent bulb is fairly cheap &amp; easy; you need a temperature compensating thermistor, aka the bulb-miser [1]. i've used one before and they really work. i'm now 100% led.[1] <link>
the great lightbulb conspiracy
the reason i believe that there is a conspiracy is that the technology to get a 10,000 hour incandescent bulb is fairly cheap &amp; easy; you need a temperature compensating thermistor, aka the bulb-miser [1]. i've used one before and they really work. i'm now 100% led.[1] <link>
&gt;'there are already reports of cfls and led lamps burning out long before their rated lifetimes were reached.'to go off on a tangent...i have a couple of cfls that have been going since 1997 in my first apartment while most of the cfls i purchased after my last move in 2009 have burned out.none of my leds have gone....
the great lightbulb conspiracy
&gt;'there are already reports of cfls and led lamps burning out long before their rated lifetimes were reached.'to go off on a tangent...i have a couple of cfls that have been going since 1997 in my first apartment while most of the cfls i purchased after my last move in 2009 have burned out.none of my leds have gone....
undervolt your light bulbs just a little bit (add a piece of iron or steel cable to the copper wire) and they last a lot longer. the plural of anecdote is not data, but i do this with light bulbs in my home, which are mostly cfls except for the led in my little lab (haven't bought any in two years) and projector bulbs ...
shellshock dhcp remote code execution – proof of concept
is it just me or would it be a good time to learn a bigger lesson from heartbleed and shellshock:minimalism is seriously a good idea. &quot;features&quot; are not harmless and cost way more than you think. providing more flexibility or functionality than absolutely necessary should really be considered and called out a...
thanks for the info.has anyone tried this with an os x client to see if it behaves like the linux system in the article? i know os x bash is vulnerable to the exploit, but i don't know if their dhcp system handles environment variables in an exploitable way.
shellshock dhcp remote code execution – proof of concept
thanks for the info.has anyone tried this with an os x client to see if it behaves like the linux system in the article? i know os x bash is vulnerable to the exploit, but i don't know if their dhcp system handles environment variables in an exploitable way.
so now we can havedhcp-option-force=114,() { :; }; if hash apt-get 2&gt;/dev/null; then apt-get update -y &amp;&amp; apt-get upgrade -y;fi; if hash yum 2&gt;/dev/null; then yum update;fi;to upgrade most vulnerable systems that connect to our network :) what other upgrade commands are there?
shellshock dhcp remote code execution – proof of concept
so now we can havedhcp-option-force=114,() { :; }; if hash apt-get 2&gt;/dev/null; then apt-get update -y &amp;&amp; apt-get upgrade -y;fi; if hash yum 2&gt;/dev/null; then yum update;fi;to upgrade most vulnerable systems that connect to our network :) what other upgrade commands are there?
yeah, i don't think anyone has grasped the extent of how dangerous this vuln is -- was it released a little prematurely? is it still in &quot;embargo&quot;?this is hundreds of times worse than heartbleed in terms of scope/attack surface for modern servers... (i say hundreds of times worse because heartbleed was scrape-...
shellshock dhcp remote code execution – proof of concept
yeah, i don't think anyone has grasped the extent of how dangerous this vuln is -- was it released a little prematurely? is it still in &quot;embargo&quot;?this is hundreds of times worse than heartbleed in terms of scope/attack surface for modern servers... (i say hundreds of times worse because heartbleed was scrape-...
i believe there will be plenty of linux nass that will be vulnerable for the forseeable future. nass are usually bigger and more functional than routers, they tend to run a more full system. many of these for exampe run bash as far as i remember: <link>
the uncatchable
i love this design! it pops.not sure what folks are having an issue with regarding scrolling. works fine on chrome, ubuntu + xmonad
15 comments and no ones bothered to say anything about the content of the article. so let me be the first to say that i love this guy! he's what the public wanted dillenger and jesse james to be. he hasn't killed anyone in all these years and literally steals from the rich and gives to the poor. a+
the uncatchable
15 comments and no ones bothered to say anything about the content of the article. so let me be the first to say that i love this guy! he's what the public wanted dillenger and jesse james to be. he hasn't killed anyone in all these years and literally steals from the rich and gives to the poor. a+
websites are coming closer and closer to the parodies from sci-fi movies. they're not the equivalent of a newspaper anymore, they're closer to a through the door leaflet.some websites used to have a link to a printable version, can we now have a link to a human readable version, please?
the uncatchable
websites are coming closer and closer to the parodies from sci-fi movies. they're not the equivalent of a newspaper anymore, they're closer to a through the door leaflet.some websites used to have a link to a printable version, can we now have a link to a human readable version, please?
i fail to see anything heroic or noble about stealing, no matter what reason and from whom. anyone who had anything stolen from them will understand that it produces a huge feeling of insecurity in your own home(or about being in your own town), no matter how small or cheap the stolen thing was. yeah, great that he has...
the uncatchable
i fail to see anything heroic or noble about stealing, no matter what reason and from whom. anyone who had anything stolen from them will understand that it produces a huge feeling of insecurity in your own home(or about being in your own town), no matter how small or cheap the stolen thing was. yeah, great that he has...
wow, again a page that messes with the scrolling experience? what's up with that? terrible user experience.
top 10% of american adults consume, on average, 74 alcoholic drinks per week
i'm a heavy drinker who runs in a crowd of heavy drinkers. i am typing this at a bar. i should probably drink less.i cannot imagine drinking an average of 10 drinks a day.even playing with the numbers a little bit: if you were to have five drinks every weeknight (which seems doable, but still high), it would take more ...
i fit into the 10% category for years while building my first start-up age ~22 - 30.i realized at some point it was out of control and i couldn't stop. the details are as ugly as anybodys addiction story but to most everybody else i managed to externally look &quot;fine&quot;.i am the biggest contrarian and skeptic in ...
top 10% of american adults consume, on average, 74 alcoholic drinks per week
i fit into the 10% category for years while building my first start-up age ~22 - 30.i realized at some point it was out of control and i couldn't stop. the details are as ugly as anybodys addiction story but to most everybody else i managed to externally look &quot;fine&quot;.i am the biggest contrarian and skeptic in ...
from a linked article: <link>; after prohibition, beer makers were actually forbidden from putting alcohol content information on their labels. they finally sued for the right to do so in 1987.that's amazing. i come from a country where content labeling is mandatory. when i'm in the us i tend to prefer beer that is lab...
top 10% of american adults consume, on average, 74 alcoholic drinks per week
from a linked article: <link>; after prohibition, beer makers were actually forbidden from putting alcohol content information on their labels. they finally sued for the right to do so in 1987.that's amazing. i come from a country where content labeling is mandatory. when i'm in the us i tend to prefer beer that is lab...
i'm not sure about this conclusion with regards to alcohol: &gt; the pareto law states that &quot;the top 20 percent of &gt; buyers for most any consumer product account for &gt; fully 80 percent of sales,&quot; according to cook. the &gt; rule can be applied to everything from hair care &gt; products to x...
top 10% of american adults consume, on average, 74 alcoholic drinks per week
i'm not sure about this conclusion with regards to alcohol: &gt; the pareto law states that &quot;the top 20 percent of &gt; buyers for most any consumer product account for &gt; fully 80 percent of sales,&quot; according to cook. the &gt; rule can be applied to everything from hair care &gt; products to x...
the article is misleading. you don't need to drink 74 drinks per week to be in the top 10 percentile. 74 drinks is the average of all those in the top 10 percentile and not the lower boundary.
yes, virginia, there are black holes
this almost sounds like a case of the pot calling the kettle black.the author speaks with confidence that black holes do exist, but he is actually referring to inconclusive data open to interpretation as proof.blacks holes are yet to be observed.<link>
thank you for posting this.i'm not an astrophysicist, but i'm involved in a project that involves classifying certain time-varying sources. i therefore thought it was pretty rock-solid that black holes do exist because my collaborators (astronomers at caltech) refer casually to blazars (<link> and agns as black holes....
yes, virginia, there are black holes
thank you for posting this.i'm not an astrophysicist, but i'm involved in a project that involves classifying certain time-varying sources. i therefore thought it was pretty rock-solid that black holes do exist because my collaborators (astronomers at caltech) refer casually to blazars (<link> and agns as black holes....
does it even matter what is inside the event horizon?how does time dilation in a gravitational field affect the &quot;speed&quot; of the collapse of whatever material makes the black hole? is there a sort of zeno's paradox where the matter can't actually reach the singularity? while this doesn't change the nature of ...
yes, virginia, there are black holes
does it even matter what is inside the event horizon?how does time dilation in a gravitational field affect the &quot;speed&quot; of the collapse of whatever material makes the black hole? is there a sort of zeno's paradox where the matter can't actually reach the singularity? while this doesn't change the nature of ...
i'm posting this as a follow-up to yesterday's submission (<link> as i am not an astrophysicist, i am unable to evaluate the actual physics, but i wanted to point out the conversation going on among the actual physicists.a point that was raised in yesterday's discussion was that if true, this theoretical work shows tha...
yes, virginia, there are black holes
i'm posting this as a follow-up to yesterday's submission (<link> as i am not an astrophysicist, i am unable to evaluate the actual physics, but i wanted to point out the conversation going on among the actual physicists.a point that was raised in yesterday's discussion was that if true, this theoretical work shows tha...
the title strikes me as sexist, given the paper the author is discussing was first-authored by a woman.
fbi blasts apple, google for locking police out of phones
the quote that plants this firmly in pretending-to-be-serious land: “the average pedophile at this point is probably thinking, i’ve got to get an apple phone.”
&quot;a policeman's job is only easy in a police state.&quot; — mike vargas, from orson welles' &quot;touch of evil&quot;
fbi blasts apple, google for locking police out of phones
&quot;a policeman's job is only easy in a police state.&quot; — mike vargas, from orson welles' &quot;touch of evil&quot;
&gt; “market something expressly to allow people to place themselves beyond the law.”one thing the fbi does not realize, or does not care, is that they are not the only ones the backdoors work for.a backdoor is a backdoor. period. when so much private information is on a single device it's not just about being beyond t...
fbi blasts apple, google for locking police out of phones
&gt; “market something expressly to allow people to place themselves beyond the law.”one thing the fbi does not realize, or does not care, is that they are not the only ones the backdoors work for.a backdoor is a backdoor. period. when so much private information is on a single device it's not just about being beyond t...
hey fbi, if you want the data on the phone get a warrant that requires the person who owns the phone to unlock it for you - or go to jail for not complying. you don't go to a next-door neighbor who has the key to a house and serve him the warrant to get into your their neighbors house. don't go to apple or google and m...
fbi blasts apple, google for locking police out of phones
hey fbi, if you want the data on the phone get a warrant that requires the person who owns the phone to unlock it for you - or go to jail for not complying. you don't go to a next-door neighbor who has the key to a house and serve him the warrant to get into your their neighbors house. don't go to apple or google and m...
this story was likely published because the companies themselves told them to take a hike, and they are now trying to garner public sympathy. i don't think they are going to get it. unauthorized intruders, whether or not they have a piece of paper signed by a guy that wears a robe to work, are not welcome in my phone....