Dataset Viewer
Auto-converted to Parquet Duplicate
prompt
stringlengths
4
3.12k
chosen
stringlengths
3
10.5k
rejected
stringlengths
3
8.98k
ios 8.0.1 released, broken on iphone 6 models, withdrawn
i'm still waiting for them to stabilize wifi on the ipad sith ios 8. their quality has really started to slip for me since 10.9 on mac.
for those who upgraded, no need to do a restore. you can just option-click &quot;update&quot; and downgrade the os back to 8.0.0.instructions: <link>
ios 8.0.1 released, broken on iphone 6 models, withdrawn
for those who upgraded, no need to do a restore. you can just option-click &quot;update&quot; and downgrade the os back to 8.0.0.instructions: <link>
upgraded shortly after it was released and suffered the consequences. just was able to restore back down to 8.0i had to turn imessage off and back on again in order for apple to re-register my number... until then i was unable to send to any existing contacts.
ios 8.0.1 released, broken on iphone 6 models, withdrawn
upgraded shortly after it was released and suffered the consequences. just was able to restore back down to 8.0i had to turn imessage off and back on again in order for apple to re-register my number... until then i was unable to send to any existing contacts.
i think they were under a lot of pressure on the healthkit front. that was one of their big flagship ios 8 features, they got all these app developers to integrate it, then ios 8 shipped and they had a showstopper bug and wouldn't release any apps using healthkit.
ios 8.0.1 released, broken on iphone 6 models, withdrawn
i think they were under a lot of pressure on the healthkit front. that was one of their big flagship ios 8 features, they got all these app developers to integrate it, then ios 8 shipped and they had a showstopper bug and wouldn't release any apps using healthkit.
fix for those who already updated: <link>
ask hn: how do us hners get their health insurance? hi guys,<p>i'm from the uk and am engaged to a us citizen. a month and a half ago she lost her job, and health insurance, and since then i've been helping her through some sort of kafka-esque nightmare regarding that. she's decided for now to use cobra, under which sh...
get it from your employer. it's better and cheaper than what you can get in the market.you are allowed to supplement -- this may or may not make sense, but your final coverage will be a lot cheaper if you start with employer insurance.
as someone who moved from the uk to us under almost identical conditions, let me say this: if you have a job that offers health insurance 99% of the time you will be better off taking that health insurance rather than buying it directly from the exchanges.why? at least two reasons:1. employers are in a stronger negotia...
ask hn: how do us hners get their health insurance? hi guys,<p>i'm from the uk and am engaged to a us citizen. a month and a half ago she lost her job, and health insurance, and since then i've been helping her through some sort of kafka-esque nightmare regarding that. she's decided for now to use cobra, under which sh...
as someone who moved from the uk to us under almost identical conditions, let me say this: if you have a job that offers health insurance 99% of the time you will be better off taking that health insurance rather than buying it directly from the exchanges.why? at least two reasons:1. employers are in a stronger negotia...
i went to <link>, filled out some online forms and picked a plan. it's like amazon.com for healthcare -- sort by brand/price/features, add to cart, check out. the only difference is that whatever insurer you sign up with sends out their own bill afterwards rather than paying the website.i've been buying my own insuranc...
ask hn: how do us hners get their health insurance? hi guys,<p>i'm from the uk and am engaged to a us citizen. a month and a half ago she lost her job, and health insurance, and since then i've been helping her through some sort of kafka-esque nightmare regarding that. she's decided for now to use cobra, under which sh...
i went to <link>, filled out some online forms and picked a plan. it's like amazon.com for healthcare -- sort by brand/price/features, add to cart, check out. the only difference is that whatever insurer you sign up with sends out their own bill afterwards rather than paying the website.i've been buying my own insuranc...
full time employed, health insurance through my employer.group coverage (i.e. employer-based coverage) is the best insurance you can get in the us because of a number of already-given reasons, as well as the fact that they can't reject you for a preexisting condition. all private plans will exclude preexisting conditi...
ask hn: how do us hners get their health insurance? hi guys,<p>i'm from the uk and am engaged to a us citizen. a month and a half ago she lost her job, and health insurance, and since then i've been helping her through some sort of kafka-esque nightmare regarding that. she's decided for now to use cobra, under which sh...
full time employed, health insurance through my employer.group coverage (i.e. employer-based coverage) is the best insurance you can get in the us because of a number of already-given reasons, as well as the fact that they can't reject you for a preexisting condition. all private plans will exclude preexisting conditi...
your options depend on where you live.i signed up for covered california, which is subsidized insurance. my husband (non-us citizen, but perm resident) is part of my plan. this depends on what state you live in. some states rejected the federal healthcare funds.as for employer contributions, it depends on the employer ...
san diego researcher crowdfunding patent-free cancer drug
what i don't understand is why drugs developed with public money (government grants and non-profit charities) aren't automatically in the public domain.
to everyone sure this will fail because of the amount of money required, ask yourself this: if you told your mom, and your neighbor, and your mailman, and your boss about the occulus rift, or pebble, or the peachy printer, or zach braff's latest movie, and the opportunity to help make those products a reality by preord...
san diego researcher crowdfunding patent-free cancer drug
to everyone sure this will fail because of the amount of money required, ask yourself this: if you told your mom, and your neighbor, and your mailman, and your boss about the occulus rift, or pebble, or the peachy printer, or zach braff's latest movie, and the opportunity to help make those products a reality by preord...
people don't seem to realize how expensive it is to bring a new pharmaceutical drug to market and why this approach won't work.a typical drug will cost between $1bn-$2bn and take about a decade of work by the time it hits the shelves.(<link> has details for those interested)crowdfunding at those sort of levels just isn...
san diego researcher crowdfunding patent-free cancer drug
people don't seem to realize how expensive it is to bring a new pharmaceutical drug to market and why this approach won't work.a typical drug will cost between $1bn-$2bn and take about a decade of work by the time it hits the shelves.(<link> has details for those interested)crowdfunding at those sort of levels just isn...
many years ago, i worked in a lab where i synthesized a variant of interferon using solid phase peptide synthesis. it was all manual work, using pretty basic materials. it's just a peptide after all.i finished at 11 pm. cleaned it up, walked across the street to probably one of the world's most respected cancer hospita...
san diego researcher crowdfunding patent-free cancer drug
many years ago, i worked in a lab where i synthesized a variant of interferon using solid phase peptide synthesis. it was all manual work, using pretty basic materials. it's just a peptide after all.i finished at 11 pm. cleaned it up, walked across the street to probably one of the world's most respected cancer hospita...
i think the negative comments on here have got it upside down. i research and treat cancer, and i think this is great. the fact that it costs billions to develop a drug is why we should support novel pathways of organising drug development, rather than disparaging it.it may not really be obvious from the outside, but t...
rethinking the origins of the universe
i'm not a physicist. i imagine that if i were, this would be exciting news (that is, an exciting possibility).i am a literary critic, though, and i have to say that it's bittersweet news at best. black holes are so much a part of the space-age imagination. the article mentions hollywood, but black holes are woven de...
i'm not at all acquainted with astrophysics but i remember seeing an article state that there was a different physicist who proved this same thing:<link> quick google shows his response to this:<link> response:&quot;hawking radiation is unproven. and particle physicists are not aware that even without any quantum mecha...
rethinking the origins of the universe
i'm not at all acquainted with astrophysics but i remember seeing an article state that there was a different physicist who proved this same thing:<link> quick google shows his response to this:<link> response:&quot;hawking radiation is unproven. and particle physicists are not aware that even without any quantum mecha...
this paper claims that black holes can't come into existence, which is subtly different from claiming that they cannot exist. in particular, black holes can exist as long as they've always existed – it's just that new ones can't come into existence. maybe the universe just has a fixed number of singularities. [i am not...
rethinking the origins of the universe
this paper claims that black holes can't come into existence, which is subtly different from claiming that they cannot exist. in particular, black holes can exist as long as they've always existed – it's just that new ones can't come into existence. maybe the universe just has a fixed number of singularities. [i am not...
interesting; if the paper finds general acceptance, it'll be fun to watch a new flurry of activity. the fairly recent controversial concept of &quot;firewalls&quot; has reinvigorated that subfield of physics.whether black holes exist or not, there's something really dense at the center of our galaxy. it's a challenge t...
rethinking the origins of the universe
interesting; if the paper finds general acceptance, it'll be fun to watch a new flurry of activity. the fairly recent controversial concept of &quot;firewalls&quot; has reinvigorated that subfield of physics.whether black holes exist or not, there's something really dense at the center of our galaxy. it's a challenge t...
ethan siegel just posted a detailed response to this.<link>
slacktextviewcontroller: a new growing text input for ios
as someone that doesn't do ios development it boggles my mind that you guys have to build this feature into your apps.
apple developed swift to make developer's more expressive and efficient yet they do not provide simple controls like this. can't tell you how many hours i wasted in the chat portion of my app trying to get a simple growing text input to work!
slacktextviewcontroller: a new growing text input for ios
apple developed swift to make developer's more expressive and efficient yet they do not provide simple controls like this. can't tell you how many hours i wasted in the chat portion of my app trying to get a simple growing text input to work!
so i'm making ios apps sometimes, but have not implemented a chat feature.why would i want to use this rather than a uitableview where i append the newest message in the end of the uitableview every time (you'd have to increase it's length +1 for each new message, but hey that may be ok)?
slacktextviewcontroller: a new growing text input for ios
so i'm making ios apps sometimes, but have not implemented a chat feature.why would i want to use this rather than a uitableview where i append the newest message in the end of the uitableview every time (you'd have to increase it's length +1 for each new message, but hey that may be ok)?
&gt; inverted mode for displaying cells upside-down (using catransform) -- a necessary hack for some messaging apps (including ours)care to elaborate? sounds intriguingly crufty.
slacktextviewcontroller: a new growing text input for ios
&gt; inverted mode for displaying cells upside-down (using catransform) -- a necessary hack for some messaging apps (including ours)care to elaborate? sounds intriguingly crufty.
cool. i was just shopping for a new growing text view since hpgrowingtextview seemed like it was not maintained and buggy on ios 8.i settled on <link>'s nice, simple, and does the trick. however, i will definitely checkout slacktextviewcontroller.for people not in ios development: yes this is crazy that it is not bui...
cve-2014-6271: remote code execution through bash
according to <link> it appears that this is because bash allows functions to be exported through environment variables into subprocesses, but the code to parse those function definitions seems to be the same used to parse regular commands (and thus execute them).edit: after a brief glance over the affected code, this m...
funny, this works even after bash fix / upgradeenv x='() { (a)=&gt;\' sh -c &quot;echo date&quot;; cat efrom <link>
cve-2014-6271: remote code execution through bash
funny, this works even after bash fix / upgradeenv x='() { (a)=&gt;\' sh -c &quot;echo date&quot;; cat efrom <link>
it might still be an issue. the patches may not have done enough.$ env x='() { (a)=&gt;\' sh -c &quot;echo date&quot;; cat echo<link> x='() { (a)=&gt;\' bash -c &quot;echo echo vuln&quot;; [[ &quot;$(cat echo)&quot; == &quot;vuln&quot; ]] &amp;&amp; echo &quot;still vulnerable :(&quot;
cve-2014-6271: remote code execution through bash
it might still be an issue. the patches may not have done enough.$ env x='() { (a)=&gt;\' sh -c &quot;echo date&quot;; cat echo<link> x='() { (a)=&gt;\' bash -c &quot;echo echo vuln&quot;; [[ &quot;$(cat echo)&quot; == &quot;vuln&quot; ]] &amp;&amp; echo &quot;still vulnerable :(&quot;
here's how to patch ubuntu 8.04 or anything where you have to build bash from source: #assume that your sources are in /src cd /src wget <link> #download all patches for i in $(seq -f &quot;%03g&quot; 0 25); do wget <link>$i; done tar zxvf bash-4.3.tar.gz cd bash-4.3 #apply all patches for i in $(...
cve-2014-6271: remote code execution through bash
here's how to patch ubuntu 8.04 or anything where you have to build bash from source: #assume that your sources are in /src cd /src wget <link> #download all patches for i in $(seq -f &quot;%03g&quot; 0 25); do wget <link>$i; done tar zxvf bash-4.3.tar.gz cd bash-4.3 #apply all patches for i in $(...
there's some misunderstanding of how the one-liner works, so here's a writeup.you can break the one-liner into two lines to see what is happening. 1. hobbes@media:~$ export badvar='() { :;}; echo vulnerable' 2. hobbes@media:~$ bash -c &quot;echo i am an innocent sub process in '$bash_version'&quot; 3. bash: ...
up, up, down, down, left, right, left, right, up, up, up, up
every time i need to unlock developer settings in a recent android phone i get a little nostalgic for the codes of old.if you're of that era you likely also remember...007 373 5963...and...justin bailey------ ------
my first thought was that it was a sequence for a mortal kombat fatality.
up, up, down, down, left, right, left, right, up, up, up, up
my first thought was that it was a sequence for a mortal kombat fatality.
the contra code . . . you'll never forget . . .popularized among north american players in the nes version of contra, for which it was also dubbed both the &quot;contra code&quot; and &quot;30 lives code&quot;<link>
up, up, down, down, left, right, left, right, up, up, up, up
the contra code . . . you'll never forget . . .popularized among north american players in the nes version of contra, for which it was also dubbed both the &quot;contra code&quot; and &quot;30 lives code&quot;<link>
a friend of mine worked on the netflix debugging tools for a majority of their players (tvs, blu-ray players, consoles, etc) and there are a number of remote combinations like that inside the players to bring up all sorts of goodies.
up, up, down, down, left, right, left, right, up, up, up, up
a friend of mine worked on the netflix debugging tools for a majority of their players (tvs, blu-ray players, consoles, etc) and there are a number of remote combinations like that inside the players to bring up all sorts of goodies.
heh, it's pretty close to the konami code, i wonder if that was the inspiration? <link>
relativistic hash tables
in case people find it interesting, this is very similar to how one efficiently builds a search engine for high qps and update rate (lockless realtime document index), though that example is slightly more involved than a hash map.the basic premise is that the entry point to your data structure (or internal pointers) ca...
could someone explain all of the grounds?
relativistic hash tables
could someone explain all of the grounds?
i wrote the paper and dissertation this work was based on, and i'm happy to answer any questions people might have.(really awesome to see a production implementation of this.)
relativistic hash tables
i wrote the paper and dissertation this work was based on, and i'm happy to answer any questions people might have.(really awesome to see a production implementation of this.)
forgive me if this is stupid, but this could work for implement a concurrent vm?
relativistic hash tables
forgive me if this is stupid, but this could work for implement a concurrent vm?
maybe i'm daft, but the growing and shrinking explained looks like how you'd do it for any hash table, is that not how a normal one works? do normal hash tables &quot;freeze the world&quot; to change tables or something?looks to me like an &quot;rcu grace period&quot; (not sure what this is, sleep maybe?) is introduced...
programming the atari st 20 years later
i learned basic on a atari 800 i got for christmas because our bundle included the cartridge. after about 6 months i managed to get my parents to buy me a tape drive so i wouldn't have to retype programs completely out each time.i think my biggest day of my programming life was when i got an advanced book that showed ...
i wrote an atari st emulator out of nostalgia called stonx myself when i started to use a unix box (sun ipc), i believe it was the first open source st emulator ('94 or '95, also the first for unix with big/little endian support, ran on linux, decstations with ultrix, sun/solaris etc.). it was somewhat special in that ...
programming the atari st 20 years later
i wrote an atari st emulator out of nostalgia called stonx myself when i started to use a unix box (sun ipc), i believe it was the first open source st emulator ('94 or '95, also the first for unix with big/little endian support, ran on linux, decstations with ultrix, sun/solaris etc.). it was somewhat special in that ...
an atari st was the first computer i ever owned.i sent my father to the shops to buy a c64 and he was convinced by a salesman that what i really wanted was an st.atari shortly after pulled out of australia and i found myself paying $15 a month for copies of st format from england.seeing screenshots of the os bring up s...
programming the atari st 20 years later
an atari st was the first computer i ever owned.i sent my father to the shops to buy a c64 and he was convinced by a salesman that what i really wanted was an st.atari shortly after pulled out of australia and i found myself paying $15 a month for copies of st format from england.seeing screenshots of the os bring up s...
&quot; a dark shadow falls over me when i think about all the hours of work spent by atari st engineers to build something almost lost to oblivion.&quot;sigh. there are sooooooooo many things people have built which are sitting there in &quot;oblivion&quot; now. one of the most awesome things of playing with turn of th...
programming the atari st 20 years later
&quot; a dark shadow falls over me when i think about all the hours of work spent by atari st engineers to build something almost lost to oblivion.&quot;sigh. there are sooooooooo many things people have built which are sitting there in &quot;oblivion&quot; now. one of the most awesome things of playing with turn of th...
sorry, but the amiga was wayyyy better.
how to design classes (2012) [pdf]
is there a mirror of this anywhere? i can't get to it right now.edit: working again
666 pages... coincidence? i don't think so.
how to design classes (2012) [pdf]
666 pages... coincidence? i don't think so.
for those interested, it looks like programming examples are in java. probably a good read for those who never quite get classes.
how to design classes (2012) [pdf]
for those interested, it looks like programming examples are in java. probably a good read for those who never quite get classes.
the first four chapters are written with the professorj teaching environment in mind (cf. page xiii).<link> the later chapters, the reader is encouraged to explore the concepts within a full-fledged java or c# development environment such as eclipse, intellij, visual studio, etc.
how to design classes (2012) [pdf]
the first four chapters are written with the professorj teaching environment in mind (cf. page xiii).<link> the later chapters, the reader is encouraged to explore the concepts within a full-fledged java or c# development environment such as eclipse, intellij, visual studio, etc.
very excited to see how they project their vision (htdp, etc) onto oop in full details.
indoor mapping with estimote beacons
is the reason you cannot simply use a software/cell phone gps solution to accomplish the same thing that there's poor granularity and potentially also poor indoor gps reception indoors?
low energy bluetooth is neat technology and i'm impressed with estimote too.my question is what happens when the batteries die in these beacons if you have set many of them them up in a constellation like this for intra-room location? do you have to replace all together and reconfigure or is there some easier way to re...
indoor mapping with estimote beacons
low energy bluetooth is neat technology and i'm impressed with estimote too.my question is what happens when the batteries die in these beacons if you have set many of them them up in a constellation like this for intra-room location? do you have to replace all together and reconfigure or is there some easier way to re...
it says it doesn't support their stickers because they are intended to be placed on moveable objects. that sounds like it is a hardware limitation, otherwise why would they be restricting their developer community? still very excited about this.
indoor mapping with estimote beacons
it says it doesn't support their stickers because they are intended to be placed on moveable objects. that sounds like it is a hardware limitation, otherwise why would they be restricting their developer community? still very excited about this.
from my experience as someone who has already implemented an complete ibeacon based ios app that is used as an art gallery guide i don't believe that this indoor location tracking you're advertising is working when there is more than one person in the room.as my academic advisor always said: every human is an 80kg wate...
indoor mapping with estimote beacons
from my experience as someone who has already implemented an complete ibeacon based ios app that is used as an art gallery guide i don't believe that this indoor location tracking you're advertising is working when there is more than one person in the room.as my academic advisor always said: every human is an 80kg wate...
any reason why the devkit is three beacons and not four? if you need a minimum of four.. it seems a bit daft not to have that as the default size and then sell single addon beacons as necessary.
ask hn: hackers who cook while going through a producthunt post[1] i came across a fellow hner[2] who was following nyt cooking[3] and cooking with a plan on a regular basis. i was very curious to understand how he spaces time to cook and work. and the type of stuff he cooks.<p>which kind of inspired me to start workin...
1. i cook because it's cheap. sometimes i cook for the ladies... err, well, actually just the one lady:my gf2. sometimes. depends how fancy we're getting. no weekly meal plan3. simple/fast/practical meals, specifically stir fries and salads. we want to get into shakes (we just bought a blender)4. trying to follow pale...
hey, cucumbertown looks really cool. can you talk a bit about your tech stack and major design decisions? i'm thinking of something similar for a different niche.
ask hn: hackers who cook while going through a producthunt post[1] i came across a fellow hner[2] who was following nyt cooking[3] and cooking with a plan on a regular basis. i was very curious to understand how he spaces time to cook and work. and the type of stuff he cooks.<p>which kind of inspired me to start workin...
hey, cucumbertown looks really cool. can you talk a bit about your tech stack and major design decisions? i'm thinking of something similar for a different niche.
(1. why?) well it does save cash :) i only consider it recreation when i have friends over. the main reason, however, because it's normal. probably a cultural thing (not judging!). in the netherlands (or at least in my circles), it'd be considered &quot;weird&quot; if you eat out (or takeout) more than once or twice a ...
ask hn: hackers who cook while going through a producthunt post[1] i came across a fellow hner[2] who was following nyt cooking[3] and cooking with a plan on a regular basis. i was very curious to understand how he spaces time to cook and work. and the type of stuff he cooks.<p>which kind of inspired me to start workin...
(1. why?) well it does save cash :) i only consider it recreation when i have friends over. the main reason, however, because it's normal. probably a cultural thing (not judging!). in the netherlands (or at least in my circles), it'd be considered &quot;weird&quot; if you eat out (or takeout) more than once or twice a ...
1. why do you cook? is it to save cash or is it recreation? or something else?i cook as another creative outlet, as a way to relax and a way to put a break between work and personal time. it's a nice ritual to come home and cook a quick dinner, or take the time to make a big meal on a weekend and try something new.cook...
ask hn: hackers who cook while going through a producthunt post[1] i came across a fellow hner[2] who was following nyt cooking[3] and cooking with a plan on a regular basis. i was very curious to understand how he spaces time to cook and work. and the type of stuff he cooks.<p>which kind of inspired me to start workin...
1. why do you cook? is it to save cash or is it recreation? or something else?i cook as another creative outlet, as a way to relax and a way to put a break between work and personal time. it's a nice ritual to come home and cook a quick dinner, or take the time to make a big meal on a weekend and try something new.cook...
1. i enjoy performing the motions to a satisfactory result. i enjoy sharing that result with others. i enjoy (sometimes) creating new things.2. sometimes i will go shopping having a specific meal in mind, other than that -- no.3. something fast, so i won't be eating fastfood or prepared meals. something elaborate, so t...
adding strlcpy() to glibc
hopefully it will be added to the standard c library so it will be everywhere - eg microsoft, apple, etc.
deep in the comments, 'slibc' is mentioned. i hadn't known about it, but this library provides str..._s() implementations of all the standard str...() functions as defined in annex k of the c11 standard (which i also hadn't known about).<link> a glance, this seems like a better solution than any of alternatives: requ...
adding strlcpy() to glibc
deep in the comments, 'slibc' is mentioned. i hadn't known about it, but this library provides str..._s() implementations of all the standard str...() functions as defined in annex k of the c11 standard (which i also hadn't known about).<link> a glance, this seems like a better solution than any of alternatives: requ...
i agree with drepper on this; it's a solution in search of a problem. you should either know wtf you can accept or use a higher level construct that can resize. silent truncation seems bad - truncation attacks are a real attack vector that ssl, for example, tries to prevent.
adding strlcpy() to glibc
i agree with drepper on this; it's a solution in search of a problem. you should either know wtf you can accept or use a higher level construct that can resize. silent truncation seems bad - truncation attacks are a real attack vector that ssl, for example, tries to prevent.
safe string handling in c can be done, but not with char*.php's zend engine has safely-handled strings, for example, but we do that by reference-counting them and having an explicit length.
adding strlcpy() to glibc
safe string handling in c can be done, but not with char*.php's zend engine has safely-handled strings, for example, but we do that by reference-counting them and having an explicit length.
i usually use strncpy and enforce null at end, that virtually is the same that does a strlcpy.but if you know how long is the source and destiny buffers (and if you are using str[nl]cpy, probably you know it), you could use memcpy and get a much more faster copy.
how to migrate 50m records from mongo to postgresql in less than a day
why use python for real work?for reference, i was handling 30m daily records in about an hour on hardware 15 years ago. this performance is absurd.
this is a perfect example of doing something row by row instead of in a data sets is bad for anything with over a million rows. bulk dump / copy load and then run the rules to clean up data.
how to migrate 50m records from mongo to postgresql in less than a day
this is a perfect example of doing something row by row instead of in a data sets is bad for anything with over a million rows. bulk dump / copy load and then run the rules to clean up data.
this requires you to wait for the whole batch to complete, instead of starting a new process as soon as one finishes.for these cases, i started using gnu parallel instead of plain shell. it does the heavy concurrency lifting for you, and even allow almost seamless parallelization across different machines.for example, ...
how to migrate 50m records from mongo to postgresql in less than a day
this requires you to wait for the whole batch to complete, instead of starting a new process as soon as one finishes.for these cases, i started using gnu parallel instead of plain shell. it does the heavy concurrency lifting for you, and even allow almost seamless parallelization across different machines.for example, ...
seems like this would've been a completely ideal place to rock some mongo_fdw, which would give postgres the ability to query and extract data directly from mongo. <link>
how to migrate 50m records from mongo to postgresql in less than a day
seems like this would've been a completely ideal place to rock some mongo_fdw, which would give postgres the ability to query and extract data directly from mongo. <link>
&quot;we were mostly i/o bound so we knew we’d like to use gevent’s quick task switching so we could write the maximal amount of data per-process. a single process really constrained us to one vcpu. therefore, to speed it up meant running more than one process.&quot;wait. what?! the response to being i/o bound is not u...
cling: an interactive c++ interpreter, built on top of clang and llvm
how does something like this work in general? my naive idea about how to make such a thing essentially seems like a virtual machine, which is quite a bit of effort.
link to previous hn submission 2 years ago (it has moved on since then):<link>
cling: an interactive c++ interpreter, built on top of clang and llvm
link to previous hn submission 2 years ago (it has moved on since then):<link>
this might be interesting. i'm not actually interested in c++ (any more) but i'm still looking for the easiest possible way for me to get into llvm. i think “learning llvm” seems like the obvious next iteration of what used to be “learning assembler”, except this time around, it's actually portable. i love experimen...
cling: an interactive c++ interpreter, built on top of clang and llvm
this might be interesting. i'm not actually interested in c++ (any more) but i'm still looking for the easiest possible way for me to get into llvm. i think “learning llvm” seems like the obvious next iteration of what used to be “learning assembler”, except this time around, it's actually portable. i love experimen...
i think every language would be more productive if it were interpreted at development and compiled at production.
cling: an interactive c++ interpreter, built on top of clang and llvm
i think every language would be more productive if it were interpreted at development and compiled at production.
one of my favorite early rust features, in theory, was the interactive shell called &quot;rusti&quot;. in practice it was awful to use because it was slow, crashed all the time, and required whole blocks of code be entered at once (declaring, defining, and using a variable for example). some of that was attributable to...
the underground wind bulbs of utah
seems like if there is a salt mine they could make some sort of battery out of the salt.
my favorite method of short-term energy storage at scale is to use excess energy during non-peak times to pump water uphill, back into a reservoir. the topology has to be right for it (and obviously it requires there to be plenty of excess water), but it's a simple method to smooth out peak demand.
the underground wind bulbs of utah
my favorite method of short-term energy storage at scale is to use excess energy during non-peak times to pump water uphill, back into a reservoir. the topology has to be right for it (and obviously it requires there to be plenty of excess water), but it's a simple method to smooth out peak demand.
wikipedia has rather more information on this, including (in the history section) a bunch of examples of this at scale going back to the 70s<link>
the underground wind bulbs of utah
wikipedia has rather more information on this, including (in the history section) a bunch of examples of this at scale going back to the 70s<link>
this is pretty neat. i wonder how cost effective it is vs compressed fluid storage.
the underground wind bulbs of utah
this is pretty neat. i wonder how cost effective it is vs compressed fluid storage.
what if there's a leak in the salt mine?i mean, a salt mine is just a large hole in the ground. what assurance do we have that it doesn't have any hairline cracks through which compressed air can escape?and if the air does begin to escape and erode the surrounding rock, how do you prevent a massive explosion occurring ...
opengov, a startup intended to transform the way governments manage tax dollars
definitely think this is a step in the right direction.unfortunately, it looks like this solution does not address the balance sheet side of the equation, which is where most towns are in dire straights (even if they don't admit it as they have more latitude in not recognizing the future costs of say pensions than corp...
see balance sheet here: www.sausalitoca.opengov.com<link>
opengov, a startup intended to transform the way governments manage tax dollars
see balance sheet here: www.sausalitoca.opengov.com<link>
as somebody who is interested in improving my awareness of local politics, i think this is really great. not only have these guys created a beautiful interface for viewing budget allocations, they have actually convinced governments to use it. i look forward to the day this comes to san francisco. even those with no in...
opengov, a startup intended to transform the way governments manage tax dollars
as somebody who is interested in improving my awareness of local politics, i think this is really great. not only have these guys created a beautiful interface for viewing budget allocations, they have actually convinced governments to use it. i look forward to the day this comes to san francisco. even those with no in...
if you want to learn more about the civic tech/gov tech space, checkout the code for america summit live stream when it continues tomorrow at <link> plug: i will be presenting about our start-up tomorrow)it's not just a16z who's getting into this space. check out the new fund by ron bouganim.<link> obviously, y-combina...
opengov, a startup intended to transform the way governments manage tax dollars
if you want to learn more about the civic tech/gov tech space, checkout the code for america summit live stream when it continues tomorrow at <link> plug: i will be presenting about our start-up tomorrow)it's not just a16z who's getting into this space. check out the new fund by ron bouganim.<link> obviously, y-combina...
pretty sad to see hn become a parody of itself on a near constant basis: half of the comments attacked the article as &quot;link bait&quot; without even addressing the actual content. i've been watching opengov closely for the last year and have been impressed (and jealous that i didn't start this myself having worked...
blackberry, under new leadership, unveils its newest smartphone
why only a 3 line keyboard? having to use an on-screen keyboardlet for punctuation and #'s seems to detract from the point.if they were serious about spreadsheets, why not shrink the keyboard horizontally and make the first phone (in a long time?) with a numeric keypad.
in contrast to many of the others, i think the industrial design of this thing is beautiful. of greater potential interest around here is they relatively quietly added the amazon app store to it.still, it amazes me that they don't do something fairly obvious like team up with bloomberg on becoming the mobile bloomberg ...
blackberry, under new leadership, unveils its newest smartphone
in contrast to many of the others, i think the industrial design of this thing is beautiful. of greater potential interest around here is they relatively quietly added the amazon app store to it.still, it amazes me that they don't do something fairly obvious like team up with bloomberg on becoming the mobile bloomberg ...
i know my opinion isn't in line with the positive feedback loop culture on hn, but this phone looks like a joke!i feel like hardware keyboards on mobile devices are archaic and overhyped. i know it's blackberry's key thing, but instead of trying the same old tired keyboard, why not embrace the software keyboard with so...
blackberry, under new leadership, unveils its newest smartphone
i know my opinion isn't in line with the positive feedback loop culture on hn, but this phone looks like a joke!i feel like hardware keyboards on mobile devices are archaic and overhyped. i know it's blackberry's key thing, but instead of trying the same old tired keyboard, why not embrace the software keyboard with so...
why the hell can't i just have my blackberry curve back? please! the form factor was perfect, the battery was great, the operating system was hella snappier than my current nexus, all it needed was to run android apps and have a better camera. why are they trying to sell us bathroom tiles now?
blackberry, under new leadership, unveils its newest smartphone
why the hell can't i just have my blackberry curve back? please! the form factor was perfect, the battery was great, the operating system was hella snappier than my current nexus, all it needed was to run android apps and have a better camera. why are they trying to sell us bathroom tiles now?
if a brand is out of fashion, of course everyone loves to join in the fun and pile on, and any innovation, good or bad, is automatically thrown onto the bonfire.it's too bad because i think the screen is innovative, and i wish others would follow suit. some extra space on the side is more valuable to me than more at th...
daala: painting images for fun (and profit?)
i'm thrilled to see people still thinking through an entirely different approach to image and video compression.
tldr: far better quality than low quality jpeg, same size file. not a replacement for high quality jpeg due to visible artifacts. major drawback is slow processing, but tweaks and a well-parallelizable algorithm should resolve this... and be ideal for gpus (and thus very light on mobile device power consumption).search...
daala: painting images for fun (and profit?)
tldr: far better quality than low quality jpeg, same size file. not a replacement for high quality jpeg due to visible artifacts. major drawback is slow processing, but tweaks and a well-parallelizable algorithm should resolve this... and be ideal for gpus (and thus very light on mobile device power consumption).search...
this is so great to see. i know we're years away, but what does the hn community think it would take for daala to reach the opus-levels? not just in technical achievement, but widespread usage/hardware support? i would love to have a completely free codec dominate video.
daala: painting images for fun (and profit?)
this is so great to see. i know we're years away, but what does the hn community think it would take for daala to reach the opus-levels? not just in technical achievement, but widespread usage/hardware support? i would love to have a completely free codec dominate video.
no comment on the technical stuff, but the paint algorithm applied to the video looks really pretty.
daala: painting images for fun (and profit?)
no comment on the technical stuff, but the paint algorithm applied to the video looks really pretty.
the codec wars are almost over thanks to moore's law. the decoder will soon be streamed with the content, taking up more than a couple seconds of bandwidth. and not surprisingly, the decoder will be written in javascript/webcl. the codecs no longer have to be installed on the system, they can be pushed along side the c...
a mildly satanic new video game that you can only play online with money
jason rohrer's games are fantastic - i'd recommend his game passage, which only lasts for five minutes.<link>
i set my expectations low when i saw the empty hype the beginning of the article was building up, but this game actually sounds quite strategically interesting.i definitely see why this is the kind of game that isn't the same without money, much like poker and backgammon. i hope there's some kind of micropayment platfo...
a mildly satanic new video game that you can only play online with money
i set my expectations low when i saw the empty hype the beginning of the article was building up, but this game actually sounds quite strategically interesting.i definitely see why this is the kind of game that isn't the same without money, much like poker and backgammon. i hope there's some kind of micropayment platfo...
the success of this game is partly predicated on player trust, i.e. how do i know that it's not being rigged against me by the operator? it is a game of skill, but gives the player imperfect information (unlike chess), leaving the possibility of various forms of cheating and fraud.i am interested to see how this could ...
a mildly satanic new video game that you can only play online with money
the success of this game is partly predicated on player trust, i.e. how do i know that it's not being rigged against me by the operator? it is a game of skill, but gives the player imperfect information (unlike chess), leaving the possibility of various forms of cheating and fraud.i am interested to see how this could ...
what i thought was compelling is that a well-known indie game developer had the really smart idea to target the online-poker skilled-game competition niche that's opened by short-sighted us laws
a mildly satanic new video game that you can only play online with money
what i thought was compelling is that a well-known indie game developer had the really smart idea to target the online-poker skilled-game competition niche that's opened by short-sighted us laws
this is a new trend starting in gaming industry. apple has now started approving skill-based &quot;gambling&quot; games. one such example is dollar candy created by ian ippolito (who also created planetsourcecode.com and rentacoder.com). these games are addictive, you play against real human and there is money on the ...
blackberry goes for qwerty keyboard, again, with passport smartphone
blackberry, ditch the os...it's holding you back.i loved my moto droid pro back in the day. i got a decent ecosystem, compact portrait qwerty package, and serviceable screen.your problem now is that your ecosystem is toast. trim the fat in your development house, package a nice android os with some throwback gui cute s...
i see a pattern in this article:&quot;said analyst rob enderle of enderle group&quot; &quot;maribel lopez, an analyst at lopez research, added&quot; &quot;jack gold, an analyst at j. gold associates,&quot;
blackberry goes for qwerty keyboard, again, with passport smartphone
i see a pattern in this article:&quot;said analyst rob enderle of enderle group&quot; &quot;maribel lopez, an analyst at lopez research, added&quot; &quot;jack gold, an analyst at j. gold associates,&quot;
it's a bit of an ugly duckling device, and i'm not sure it can ever grow into a beautiful swan.
blackberry goes for qwerty keyboard, again, with passport smartphone
it's a bit of an ugly duckling device, and i'm not sure it can ever grow into a beautiful swan.
love the blackberry keyboard, but hate the os. if i could get their keyboard on an android or iphone i'd be all over it. i don't like touchscreen keyboards, but since they're the only option offered on devices with an acceptable os, i use them grudgingly. clearly the security-first mantra that blackberry adheres so rel...
blackberry goes for qwerty keyboard, again, with passport smartphone
love the blackberry keyboard, but hate the os. if i could get their keyboard on an android or iphone i'd be all over it. i don't like touchscreen keyboards, but since they're the only option offered on devices with an acceptable os, i use them grudgingly. clearly the security-first mantra that blackberry adheres so rel...
&gt; while the passport is almost exactly the size of a travel passport, it is much heavier at 6.9 ounces.hilarious comparison. must it be actually be stated that the passport is heavier than a travel passport?apples and oranges... passports and passports.
cve-2014-7169: bash fix incomplete, still exploitable
earlier on a mailing list someone pointed out that there is still an awful lot of string processing going on by bash even after this afternoon's fix. so further bugs were likely to be found now that everyone is constantly sniffing around the place.
can someone explain why bash is evaluating and looking for function definitions in every environment variable? what would be broken if this entire &quot;feature&quot;, whatever it is, was completely disabled?that's almost like a c compiler looking for c programs in string literals. it just doesn't make sense to me.
cve-2014-7169: bash fix incomplete, still exploitable
can someone explain why bash is evaluating and looking for function definitions in every environment variable? what would be broken if this entire &quot;feature&quot;, whatever it is, was completely disabled?that's almost like a c compiler looking for c programs in string literals. it just doesn't make sense to me.
proposed patch for cve-2014-7169 here:<link> am building bash updates for ubuntu containing the proposed fix here and will publish them once the fix has been made official:<link>
cve-2014-7169: bash fix incomplete, still exploitable
proposed patch for cve-2014-7169 here:<link> am building bash updates for ubuntu containing the proposed fix here and will publish them once the fix has been made official:<link>
with the patched bash, if you run env x='() { (a)=&gt;\' sh -c &quot;echo date&quot; this is equivalent to running date &gt;echo that is, you can put something in the environment which causes it to drop the first token, run the result as a command, and redirect the result to the dropped first token.an example o...
cve-2014-7169: bash fix incomplete, still exploitable
with the patched bash, if you run env x='() { (a)=&gt;\' sh -c &quot;echo date&quot; this is equivalent to running date &gt;echo that is, you can put something in the environment which causes it to drop the first token, run the result as a command, and redirect the result to the dropped first token.an example o...
all this &quot;echo date, cat echo&quot; business is confusing.let me fix that for you. hobbes@metalbaby:~$ export badvar='() { (a)=&gt;\' hobbes@metalbaby:~$ bash -c &quot;somestring executeme&quot; bash: badvar: line 1: syntax error near unexpected token `=' bash: badvar: line 1: `' bash: error imp...
docker hub official repos: announcing language stacks
pity they choose &quot;golang&quot; instead of &quot;go&quot; for their default go image. it's called &quot;go&quot;. and they built docker with go.
maybe i'm missing something here but i don't see this as being particularly useful?it's a nice quick way to get an application running in docker but realistically would you want to be depending upon these images in production?the power i see in docker is the ability to create portable images that contain everything my ...
docker hub official repos: announcing language stacks
maybe i'm missing something here but i don't see this as being particularly useful?it's a nice quick way to get an application running in docker but realistically would you want to be depending upon these images in production?the power i see in docker is the ability to create portable images that contain everything my ...
can someone explain to me what the fuss is about? i mean, e.g. the java 7 dockerfile is 3 lines. why is it better for me to from these images instead of copying those three lines into my own dockerfile?
docker hub official repos: announcing language stacks
can someone explain to me what the fuss is about? i mean, e.g. the java 7 dockerfile is 3 lines. why is it better for me to from these images instead of copying those three lines into my own dockerfile?
i'm very happy to see hy language among the official repos! i think more people should know about it.
docker hub official repos: announcing language stacks
i'm very happy to see hy language among the official repos! i think more people should know about it.
does anyone know why debian was chosen as the source for these repos? i thought they were defaulting to ubuntu.ie. <link>
ask hn: get feedback on my bootstrapped web scraping as a service project? hi hn,<p>i worked on <link> for the past 5 months or so. i would like some feedback please.<p>thank you.
page itself looks nice, but why you've decided to have a custom scroll? i think it would be so much better without it. will try to look into app itself later.
it looks great, very good job.one question you should be prepared to answer is how you compare to alternatives:- services like kimonolabs and import.io- building a scraper with scrapy- using scrapehubfrom what i understand the price point of the above is lower (some are free) while still offering the same features. wha...
ask hn: get feedback on my bootstrapped web scraping as a service project? hi hn,<p>i worked on <link> for the past 5 months or so. i would like some feedback please.<p>thank you.
it looks great, very good job.one question you should be prepared to answer is how you compare to alternatives:- services like kimonolabs and import.io- building a scraper with scrapy- using scrapehubfrom what i understand the price point of the above is lower (some are free) while still offering the same features. wha...
the ui for defining the scraper targeting rules is an a+ in my book. i've used a number of visual tools for this over the years but most try to do to much and the usefulness suffers. yours doesn't.your price however feels off by about a factor of somewhere between 4 and 8. i haven't really got your system usage data to...
ask hn: get feedback on my bootstrapped web scraping as a service project? hi hn,<p>i worked on <link> for the past 5 months or so. i would like some feedback please.<p>thank you.
the ui for defining the scraper targeting rules is an a+ in my book. i've used a number of visual tools for this over the years but most try to do to much and the usefulness suffers. yours doesn't.your price however feels off by about a factor of somewhere between 4 and 8. i haven't really got your system usage data to...
it looks quite easy to use from your video.which cloud provider do you use for your backend crawl, and do you run the scraper from a single node or from multiple nodes?
ask hn: get feedback on my bootstrapped web scraping as a service project? hi hn,<p>i worked on <link> for the past 5 months or so. i would like some feedback please.<p>thank you.
it looks quite easy to use from your video.which cloud provider do you use for your backend crawl, and do you run the scraper from a single node or from multiple nodes?
needs more details, a couple of examples that instantly spring to mind:do you spread requests out across multiple ip's to avoid bans / rate limiting?do you run javascript on the pages?
aws issues unavoidable reboot schedules with short notice on many ec2 instances
a couple of points:autoscaling is your friend. if you're not leveraging it (multiple availability zones), you're doing it wrong. even single instances can be launched in autoscaling groups with a desired capacity of 1 to ensure that if it falls over, a new one is spun up.point 2: aws is likely trying to rotate capacity...
pretty crappy that you cannot immediately check if an instance has restarted on a patched host or not.i would have expected amazon to rush out a tool you can use to check or add a little marker to the dashboard or a simple api to query. some sort of synchronous option.having to wait possibly hours for an email to see i...
aws issues unavoidable reboot schedules with short notice on many ec2 instances
pretty crappy that you cannot immediately check if an instance has restarted on a patched host or not.i would have expected amazon to rush out a tool you can use to check or add a little marker to the dashboard or a simple api to query. some sort of synchronous option.having to wait possibly hours for an email to see i...
i don't think a lot of people are really understanding how much of a larger issue this would be for us if aws didn't patch a major security issue before it was made public.the company has treated me very well over the years, from aws to retail. my stuff arrives on time, if it doesn't i get reimbursed, most of the time ...
aws issues unavoidable reboot schedules with short notice on many ec2 instances
i don't think a lot of people are really understanding how much of a larger issue this would be for us if aws didn't patch a major security issue before it was made public.the company has treated me very well over the years, from aws to retail. my stuff arrives on time, if it doesn't i get reimbursed, most of the time ...
this isn't a direct answer, but for others who are coming to this page and need help on where to start, here is some info on what to do now from rightscale's cto, it also has a little comparison to what happened in dec 2011 reboot too (just an interesting side note): <link>
aws issues unavoidable reboot schedules with short notice on many ec2 instances
this isn't a direct answer, but for others who are coming to this page and need help on where to start, here is some info on what to do now from rightscale's cto, it also has a little comparison to what happened in dec 2011 reboot too (just an interesting side note): <link>
on aws you should be prepared for an instance to disappear at any time, for any reason. why is a scheduled reboot such a big deal?
End of preview. Expand in Data Studio

Dataset Card for "cup-it-ds-classification-pairwise-test"

More Information needed

Downloads last month
5