prompt
stringlengths
4
3.12k
chosen
stringlengths
3
10.5k
rejected
stringlengths
3
8.98k
a profitable and legal way to game the stock market
is there a "index frontrunning" fund which i can invest in? (the fund would automatically frontrun all index changes, and so keep management fees to a minimum.)
even in the worst case -- vanguard doesn't lose anywhere near this premium -- we're talking 20-30 bps, or .25%. it's one of those scenarios where one has to choose what is less bad. sure, an active manager could play with the index a bit more to help avoid this, but you'd be paying a lot more than .25% for his effort.it might, however, be a good enough reason to side-step this issue and use total stock market (vtsmx) instead of one based on an index that frequently drops/adds stocks.
a profitable and legal way to game the stock market
even in the worst case -- vanguard doesn't lose anywhere near this premium -- we're talking 20-30 bps, or .25%. it's one of those scenarios where one has to choose what is less bad. sure, an active manager could play with the index a bit more to help avoid this, but you'd be paying a lot more than .25% for his effort.it might, however, be a good enough reason to side-step this issue and use total stock market (vtsmx) instead of one based on an index that frequently drops/adds stocks.
i expected to see (1995) tagged to the end of this article.i personally know 3 people who run their own money ( <5 million ) who do this as their sole form of income.having said that, this isn't exactly easy. you need to know1) if a stock is going into the index2) when its going into the index3) how much the index will buy4) how much the index buy will affect the price of the stockthe first 3 are trivial for some index funds, though most have rules that allow them some leeway here so there aren't always sure things.the 4th is where you make your money.and it isn't like there aren't other's doing this, the article makes it seem much easier than it actually is.if you play the game theory through you'd realize that if you knew the stock is going into the index then you are probably too late to profit from it as someone else will speculate the stock is going to go into the index the week before and already move the stock.funds can't really avoid this, and to be honest they don't really care to avoid it. it doesn't affect them at all, they are just supposed to mimic the index. though you do start to get into a strange feedback loop whereby the index fund that is supposed to track the index starts to dictate how the index moves, we'll call this the "index inception" effect:)
a profitable and legal way to game the stock market
i expected to see (1995) tagged to the end of this article.i personally know 3 people who run their own money ( <5 million ) who do this as their sole form of income.having said that, this isn't exactly easy. you need to know1) if a stock is going into the index2) when its going into the index3) how much the index will buy4) how much the index buy will affect the price of the stockthe first 3 are trivial for some index funds, though most have rules that allow them some leeway here so there aren't always sure things.the 4th is where you make your money.and it isn't like there aren't other's doing this, the article makes it seem much easier than it actually is.if you play the game theory through you'd realize that if you knew the stock is going into the index then you are probably too late to profit from it as someone else will speculate the stock is going to go into the index the week before and already move the stock.funds can't really avoid this, and to be honest they don't really care to avoid it. it doesn't affect them at all, they are just supposed to mimic the index. though you do start to get into a strange feedback loop whereby the index fund that is supposed to track the index starts to dictate how the index moves, we'll call this the "index inception" effect:)
so, the writer of this article failed to give any proof other than citing the case of one specific stock (american airlines). even then, it failed to give any useful comparison (sure, the stock gained 11% in 4 days, but how did the rest of the market do?)it would take a bit of effort to grab the data for all stocks entering the s&p for the last (say) 5 years, and then compare how these stocks did between the announcement and the joining of the index, but this data is vital to making the case that there is some market inefficiency here. since the author doesn't bother to do this work, how can they justify their conclusions?they can't even manage to get the 'easy route' right (letting someone else do the work). they cite 'one estimate' of a $4.3 billion cost but don't bother to tell use who made that estimate, giving the readers no chance to check its validity.lazy, lazy journalism imo. at least quote your source, bloomberg!
a profitable and legal way to game the stock market
so, the writer of this article failed to give any proof other than citing the case of one specific stock (american airlines). even then, it failed to give any useful comparison (sure, the stock gained 11% in 4 days, but how did the rest of the market do?)it would take a bit of effort to grab the data for all stocks entering the s&p for the last (say) 5 years, and then compare how these stocks did between the announcement and the joining of the index, but this data is vital to making the case that there is some market inefficiency here. since the author doesn't bother to do this work, how can they justify their conclusions?they can't even manage to get the 'easy route' right (letting someone else do the work). they cite 'one estimate' of a $4.3 billion cost but don't bother to tell use who made that estimate, giving the readers no chance to check its validity.lazy, lazy journalism imo. at least quote your source, bloomberg!
this is well known known effect. s&p rebalances it index through out the year and there are always people trying to predict adds and drops and make some money.the real diseconomy happens in the russel indexes. they are rebalanced annually with the methodology for adds/drops announced ahead of time. various funds that are pegged to russel are forced to rebalance at this time buying and selling huge baskets in one day. to avoid large stock market movements and capitalize on them traders try to predict the changes to the index and prebuy the rebalance trade. their actions through the market leading up to the rebalance and agreements to sell the rebalance trade to the russel pegged funds reduce price swings on the day of the rebalance.trading desks that engage in the russel trade spend the entire year preparing for it, modeling the methodology, acquiring clients for the rebalance trade, and prebuying the trade. their profit comes from the difference between the closing price (mostly governed by russel adds/drops) on the day of the trade and the price that they prebought at. essentially their ability to accurately predict the rebalance add/drops and acquire clients to sell the rebalance trade to. there are desks that make $10s of millions this way on that day. there may be desks that make $100 of millions this way.ps. i may not have stated it clearly, but funds that are pegged to russel indexes make agreements with external traders to handle their rebalance trade for them at a fixed bps to the closing price. traders are able to make money on this because they can take on risk and prebuy the trade; something that the russel indexed funds can not do.
the max headroom tv hack
&quot;but 28 short years ago, the term [hacker] hardly existed–that is, until the max headroom incident.&quot;that's blatantly incorrect. for example, the movie war games (pretty mainstream, with matthew broderick) is from 1983.<link>
you know if this thing were an everyday occurrence (not that i even watch tv) it would probably be annoying, but the nature of the max headroom broadcast intrusion was more comical than anything, and it's almost a shame that no one has done anything like it since. so long as the broadcast intrusion isn't violent, overly crude, or exceedingly long/disruptive i think it would really be interesting to witness something like this again (it's kind of amusing to think you might even make a sport of it, in very limited doses). most of the time i understand why the fcc cracks down so hard on misuse of rf, but it's hard not to have a soft spot for this sort of gag.
the max headroom tv hack
you know if this thing were an everyday occurrence (not that i even watch tv) it would probably be annoying, but the nature of the max headroom broadcast intrusion was more comical than anything, and it's almost a shame that no one has done anything like it since. so long as the broadcast intrusion isn't violent, overly crude, or exceedingly long/disruptive i think it would really be interesting to witness something like this again (it's kind of amusing to think you might even make a sport of it, in very limited doses). most of the time i understand why the fcc cracks down so hard on misuse of rf, but it's hard not to have a soft spot for this sort of gag.
i think my favourite (rather savage) line from the series was in the xmas special which went along the lines of &quot;whether you're busy hanging decorations in london, or busy being decorated for a hanging in the philippines - it's christmas!&quot;.
the max headroom tv hack
i think my favourite (rather savage) line from the series was in the xmas special which went along the lines of &quot;whether you're busy hanging decorations in london, or busy being decorated for a hanging in the philippines - it's christmas!&quot;.
hi there.i'm the guy who did the ama.i don't think the guy who interviewed me from atlas obscura disclosed that he was from atlas obscura.. i thought he was some kid doing a high school paper or something. :) meh. oh well.anyway, he didn't get some of his terminology correct. i've directed him to how he can clean it up, however....&quot;churnalism&quot; is spot-on.
the max headroom tv hack
hi there.i'm the guy who did the ama.i don't think the guy who interviewed me from atlas obscura disclosed that he was from atlas obscura.. i thought he was some kid doing a high school paper or something. :) meh. oh well.anyway, he didn't get some of his terminology correct. i've directed him to how he can clean it up, however....&quot;churnalism&quot; is spot-on.
that's great - and interesting that someone would react with &quot;i got so upset that i wanted to bust the tv set&quot; about it!as this is an article about hacks, then i'll also point out that max headroom played the role of a &quot;computer-generated television journalist&quot;, but there was nothing computer-generated about him at all... it was all prosthetics and makeup: even the &quot;computer graphics&quot; in the background were hand-drawn!
code specialists oppose u.s. and british access to encrypted communication
&gt; “such access will open doors through which criminals and malicious nation-states can attack the very individuals law enforcement seeks to defend,”and there's the nut. the concern of law enforcement is not protection of citizens, it's ease of prosecution and resume building.no one can claim credit for a general environment of ongoing secure communication, but cops and prosecutors can definitely claim credit for specific arrests and prosecutions, even if that general security environment is all but destroyed.in fact, the more breaches, the more crimes, the more cops and prosecutors are needed. job protection.
the way i see it, law enforcement has had it far too easy for far too long. the snowden revalations finally turned over all the rocks and people saw that they have been grossly overstepping both ethical and legal boundaries, and encryption is finally getting the mindshare it desperately needs.so to their petulant cries of being unable to read our communications anymore, i say: fuck 'em. time to earn your keep now, boys. you're not going to destroy our internet just so you can keep feeding the mass-surveillance beast.
code specialists oppose u.s. and british access to encrypted communication
the way i see it, law enforcement has had it far too easy for far too long. the snowden revalations finally turned over all the rocks and people saw that they have been grossly overstepping both ethical and legal boundaries, and encryption is finally getting the mindshare it desperately needs.so to their petulant cries of being unable to read our communications anymore, i say: fuck 'em. time to earn your keep now, boys. you're not going to destroy our internet just so you can keep feeding the mass-surveillance beast.
the headline belies the utter ridiculousness of the idea. why would the united states and united kingdom be singled out to have backdoor access to all communications? to hang onto the tattered remnants of their empires while keeping their own people in line despite their declining political legitimacy.
code specialists oppose u.s. and british access to encrypted communication
the headline belies the utter ridiculousness of the idea. why would the united states and united kingdom be singled out to have backdoor access to all communications? to hang onto the tattered remnants of their empires while keeping their own people in line despite their declining political legitimacy.
this debate seems like a manifestation of a problem with governments: they think they can legislate anything they want. need access to some communications - green light for massive data collection. some of it is encrypted - just mandate a back door. school shooting - new gun laws. any problem activity - we'll just make it illegal. something not getting done - we'll just mandate someone take care of it. they really don't know how to stay at a higher level, it's all micromanagement. some things are just not possible, but they'll try to make it so with the stroke of a pen.
code specialists oppose u.s. and british access to encrypted communication
this debate seems like a manifestation of a problem with governments: they think they can legislate anything they want. need access to some communications - green light for massive data collection. some of it is encrypted - just mandate a back door. school shooting - new gun laws. any problem activity - we'll just make it illegal. something not getting done - we'll just mandate someone take care of it. they really don't know how to stay at a higher level, it's all micromanagement. some things are just not possible, but they'll try to make it so with the stroke of a pen.
here's the actual paper: <link>
chrome is developing a sidebar api
it's funny, in the golden age of firefox extensions sidebars where very popular, and when chrome released without one people where complaining.the response was that a popup that appears when you click a toolbar button was enough.it's funny to see they're going to release one now that nobody cares about it.
opera recently sidebar extensions back in for the first time since the re-architecturing of a few years ago. that was a month ago and there are already quite a few extensions available: <link>;order=po....vivaldi, basically a modernized opera 11/12, has supported some sidebar elements from the beginning.since opera and vivaldi are both chromium-based, it's not surprising to see sidebars getting into upstream.
chrome is developing a sidebar api
opera recently sidebar extensions back in for the first time since the re-architecturing of a few years ago. that was a month ago and there are already quite a few extensions available: <link>;order=po....vivaldi, basically a modernized opera 11/12, has supported some sidebar elements from the beginning.since opera and vivaldi are both chromium-based, it's not surprising to see sidebars getting into upstream.
is this going to make sublime text mini maps possible for webpages?
chrome is developing a sidebar api
is this going to make sublime text mini maps possible for webpages?
in the comments so far, there seems to be some confusion on what this is. the chrome sidebar api is an api for chrome extensions, adding a sidebar surface to chrome.the proposed api allows chrome extensions to access and control a sidebar panel - a per-tab split-pane html container to the right (to the left in rtl environment) of the main page content with the ability to resize horizontally.[1]in short, it provides extensions an alternative to using popups or injecting html directly into web pages in order to display something to the user.with it, you could for instance (re-)implement something like the old side tabs feature, which was removed from chrome because the complexity of a tree-style interface in terms of usage is beyond what most users need or want, and in terms of implementation is more than passes the cost/benefit test for building into chrome natively as an option.[2][1]: <link>[2]: <link>
chrome is developing a sidebar api
in the comments so far, there seems to be some confusion on what this is. the chrome sidebar api is an api for chrome extensions, adding a sidebar surface to chrome.the proposed api allows chrome extensions to access and control a sidebar panel - a per-tab split-pane html container to the right (to the left in rtl environment) of the main page content with the ability to resize horizontally.[1]in short, it provides extensions an alternative to using popups or injecting html directly into web pages in order to display something to the user.with it, you could for instance (re-)implement something like the old side tabs feature, which was removed from chrome because the complexity of a tree-style interface in terms of usage is beyond what most users need or want, and in terms of implementation is more than passes the cost/benefit test for building into chrome natively as an option.[2][1]: <link>[2]: <link>
important part here:&quot;does this api expose any functionality to the web?&quot;&quot;no&quot;
the mob's it department
my family had a black sheep, now conveniently dead. one day he showed up at my door with a mercedes e-class about a year old (an expensive car in nl with all the taxes we have here on vehicles). why don't i spin back the odometer for him, for a couple of thousand guilders. the car was an ex taxi, they drive a lot of miles in a short time and they look really good so this was their idea of making money the easy way.i refused the job in the politest way possible and got on with my life and i cut that whole branch of the family tree out of my life.when i was a kid he'd always show off how much money he had, in the end it cost him the life of his son (killed by another mobster) and his family. i hope the money was worth it to him but i doubt it.edit: so, i just received a message via email about my 'callousness' with this comment, let me clarify: if you push your wife, son, daughter into crime, get your son killed and attempt to recruit other family members into your crime empire then the world is (much) better off without you.
&gt; they decided the prudent course was to let the whole bizarre incident go and hope maertens never heard from them again.i've noticed that a lot of it workers tend to be non-confrontational and unwilling to stand up for themselves even if the situation calls for it. i find it interesting that van de moere and maertens show the same tendency here. a reasonable person would go to the police to report an assault. these two men were likely selected because adibelli sensed that they could be manipulated.
the mob's it department
&gt; they decided the prudent course was to let the whole bizarre incident go and hope maertens never heard from them again.i've noticed that a lot of it workers tend to be non-confrontational and unwilling to stand up for themselves even if the situation calls for it. i find it interesting that van de moere and maertens show the same tendency here. a reasonable person would go to the police to report an assault. these two men were likely selected because adibelli sensed that they could be manipulated.
there are distracting writing failures--technical stuff.the phrase &quot;[he] connected the battery to an antenna&quot; breaks the flow of the story because it leads the reader to the wrong idea, then the reader has to backtrack...an irc channel with 100k users in 1996? look, freenode has 85k users today, spread across 40k channels... even worse, the wikipedia page for securax indicates that it was an online community that had newsletter with 90k subscribers.
the mob's it department
there are distracting writing failures--technical stuff.the phrase &quot;[he] connected the battery to an antenna&quot; breaks the flow of the story because it leads the reader to the wrong idea, then the reader has to backtrack...an irc channel with 100k users in 1996? look, freenode has 85k users today, spread across 40k channels... even worse, the wikipedia page for securax indicates that it was an online community that had newsletter with 90k subscribers.
i was in a situation kind of like this. i was brought on to a canadian company to make and end to end software system for gambling kiosks. they kept on making odd requests of me like being able to reseed random numbers on units until they found a set they liked (our games were deterministic). ie ones that payed out how they want. also wanted me to not use encryption for various portions of the system that handled money.eventually i got a picture of the business where they were defrauding their investors by winning their own games or through exploiting purposeful holes in the system. eventually i just delivered them a functioning and secure system. refused to go down to the dominican to install it (since they had considerable pull down there) and walked away. it was really the first large project i had done and walking away hurt me considerably. but it was the right thing to do.those guys are in jail now and the investors pulled the plug. so at least i have some vague sense of schadenfreude over the whole thing.unfortunately ethical software developer isn't exactly a winning eye popping line item on the resume.
the mob's it department
i was in a situation kind of like this. i was brought on to a canadian company to make and end to end software system for gambling kiosks. they kept on making odd requests of me like being able to reseed random numbers on units until they found a set they liked (our games were deterministic). ie ones that payed out how they want. also wanted me to not use encryption for various portions of the system that handled money.eventually i got a picture of the business where they were defrauding their investors by winning their own games or through exploiting purposeful holes in the system. eventually i just delivered them a functioning and secure system. refused to go down to the dominican to install it (since they had considerable pull down there) and walked away. it was really the first large project i had done and walking away hurt me considerably. but it was the right thing to do.those guys are in jail now and the investors pulled the plug. so at least i have some vague sense of schadenfreude over the whole thing.unfortunately ethical software developer isn't exactly a winning eye popping line item on the resume.
i used to work at a steamship line, a competitor to msc, at a us port office. the port terminals take security very seriously, but some of the steamship lines' offices are a bit lax. it doesn't surprise me at all that they were able to sneak in and install this equipment and malware, although i think social engineering (calling import customer service pretending to be the consignee and scamming them into giving you the pickup numbers) would be more effective.fascinating article though, and the story would make a good movie.
ask hn: where do you go for sound career advice? as a professional dev, where do you get the best career advice ?<p>is it a good idea to ask recruters what they are looking for ?<p>any career coaching services tailors to dev/computer scientist out there ?
&gt; is it a good idea to ask recruiters what they are looking for?no, the average bozo recruiter is a transactionally focused individual. he's a bounty hunter, looking to put butts in seats for a fee. time is money to him, if he can't qualify you for a match he must move on quickly.you may of course, run across a rare thoughtful, seasoned recruiter. his profile is that of a relationship builder, he'll likely have some life experience and will gently entertain your career path questions.better still, design your own path. make a daily habit to read the books and blogs of successful people. an excellent place to start, peter drucker on managing oneself&gt; <link>
i think &quot;career advice&quot; is generally too narrow a category. most people are unhappy with their careers because they don't know what their life priorities are. they have the career they have because of a bunch of &quot;well, that's what i'm supposed to do, i guess&quot; decisions. so before career advice, get life advice.my favorite question in the world is &quot;what do you want?&quot; it's an incredibly difficult question, and very few people can answer it with any honesty. sit and chew on that question. what do you want? if it proves hard, try applying the five whys approach. when you think about something you want, ask yourself why you want it. five layers deep. then maybe you can start getting close to what you really want.
ask hn: where do you go for sound career advice? as a professional dev, where do you get the best career advice ?<p>is it a good idea to ask recruters what they are looking for ?<p>any career coaching services tailors to dev/computer scientist out there ?
i think &quot;career advice&quot; is generally too narrow a category. most people are unhappy with their careers because they don't know what their life priorities are. they have the career they have because of a bunch of &quot;well, that's what i'm supposed to do, i guess&quot; decisions. so before career advice, get life advice.my favorite question in the world is &quot;what do you want?&quot; it's an incredibly difficult question, and very few people can answer it with any honesty. sit and chew on that question. what do you want? if it proves hard, try applying the five whys approach. when you think about something you want, ask yourself why you want it. five layers deep. then maybe you can start getting close to what you really want.
<link> - pragmatic programmer book
ask hn: where do you go for sound career advice? as a professional dev, where do you get the best career advice ?<p>is it a good idea to ask recruters what they are looking for ?<p>any career coaching services tailors to dev/computer scientist out there ?
<link> - pragmatic programmer book
i discovered the /r/cscareerquestions subreddit recently, and its content has been really interesting so far: <link>
ask hn: where do you go for sound career advice? as a professional dev, where do you get the best career advice ?<p>is it a good idea to ask recruters what they are looking for ?<p>any career coaching services tailors to dev/computer scientist out there ?
i discovered the /r/cscareerquestions subreddit recently, and its content has been really interesting so far: <link>
so far my advice has come from people who i want to become - mentors who are currently ctos, cxos, and other self-starting entrepreneurs. who better to give you advice than those who have already traveled the road you want to travel?
show hn: gi.st – the gist of the web
hey, seems neat, as a student it makes me wonder if it could help me as a search tool ... if it summarizes an article for me and 'the gist' is exactly what i need for a paper, can gist help me find other articles with similar 'gists' so i can use these in my paper?
this is awesome! no more tl;dr. the plugin or extension idea is also great and would be much easier to use and avoid the copy paste of urls. congrats!!!
show hn: gi.st – the gist of the web
this is awesome! no more tl;dr. the plugin or extension idea is also great and would be much easier to use and avoid the copy paste of urls. congrats!!!
the web is a big place. what's the strategy around seeding it with useful gists so it can gain critical mass? have you thought about focusing on a niche (say, ted talks?) or possibly automatically summarizing pages? the latter could be tricky as incorrectly or poorly summarized pages would detract users from the site.
show hn: gi.st – the gist of the web
the web is a big place. what's the strategy around seeding it with useful gists so it can gain critical mass? have you thought about focusing on a niche (say, ted talks?) or possibly automatically summarizing pages? the latter could be tricky as incorrectly or poorly summarized pages would detract users from the site.
a gist 'filter' or something would be easier, just on all the time, instead of cut and paste the url. easy if it were a pop up that kicks in automatically everytime you go to a new web site or hover over a link - could fade out after 5 seconds if not hovered over ?
show hn: gi.st – the gist of the web
a gist 'filter' or something would be easier, just on all the time, instead of cut and paste the url. easy if it were a pop up that kicks in automatically everytime you go to a new web site or hover over a link - could fade out after 5 seconds if not hovered over ?
this will save me many hours trying to skim the goodness out of long reads. the chrome extension will be key for adoption.i wonder what the feedback will be from big publications? —maybe they will take the hint and write more concise content...
handling 1m requests per minute with go
there are two other solutions that spring to mind, which might require quite a bit less code:1) take the original code, do the upload exactly in place in the original request (not even spawning a goroutine). however: protect the upload with a semaphore which only allows n-in-flight.my reasoning is, well, if the system operates with low latency when operating nominally, blocking the incoming request isn't too painful. the reason there was a problem in the first place that there were too many requests in flight and the system hit a meta-stable state where no requests could complete efficiently.2) (or instead of (1)): if you're going to have a worker pool, why have that complicated chan-chan-job business? it seems that `func startprocessor` was close to being a viable solution. all you need is to start a few of those in parallel, each reading from the same `queue`. was there a reason to introduce the `workerpool chan chan job`? that looks quite a bit more complicated than it needs to be. the queues don't need to be separate per worker unless there is some other substantial reason.--the next thing one would need to take care of is to ensure that the whole system doesn't stall due to a broken/laggy network, so, to put some timeouts on the s3 uploads, for example, to ensure the system can return to a stable state on its own when the thundering herd has passed.
i was confused by the numbers at first, so: that's 17k requests per second, spread out over 4 dual core xeon (haswell) machines, which works out to just over 4000 requests/s per machine. it's still a respectable number, but it's much closer to what one would expect given the task.don't get me wrong, the most interesting part is definitely the implementation and as a go noob i found it very useful - it's just a bit misleading for the headline to sum your request rate across all parallelized machines.
handling 1m requests per minute with go
i was confused by the numbers at first, so: that's 17k requests per second, spread out over 4 dual core xeon (haswell) machines, which works out to just over 4000 requests/s per machine. it's still a respectable number, but it's much closer to what one would expect given the task.don't get me wrong, the most interesting part is definitely the implementation and as a go noob i found it very useful - it's just a bit misleading for the headline to sum your request rate across all parallelized machines.
arguably, uploadtos3 should not be a method of *payload.suggestion: make an s3-uploader package with _internal_ connection pooling, upload queueing and concurrency handling.
handling 1m requests per minute with go
arguably, uploadtos3 should not be a method of *payload.suggestion: make an s3-uploader package with _internal_ connection pooling, upload queueing and concurrency handling.
&gt;&gt; but since the beginning, our team knew that we should do this in go because during the discussion phases we saw this could be potentially a very large traffic systemi don't get this reasoning.
handling 1m requests per minute with go
&gt;&gt; but since the beginning, our team knew that we should do this in go because during the discussion phases we saw this could be potentially a very large traffic systemi don't get this reasoning.
does anybody here have any experience with go's garbage collection pauses with large stack sizes? i've got a scala app that regularly consumes about 48g of ram, and i'm very happy with the response times during heavy loads like this, but the p99.5 is abysmal because of garbage collection. i've tried tuning it, but it doesn't seem like anything i do helps. i'll probably end up using an azul jvm but i'm curious how other languages end up handling this problem.
show hn: stochastic retirement simulator weekend project
i did a little hack in this space a couple of years back, called it the 'cat food calculator' -<link> issue with op's calculator is, one has to enter an assumption for the rate of return after taxes and fees.also you can average 7% return in retirement, but you have a big market drop early in your retirement, you run out of money even if the market makes it up 10 years down the road. you can't spend an average.i was trying to deal with the question of a safe spending rate based on historical returns.enter a stock/bond allocation, spending rate, couple of other assumptions, will show you, if you had retired using that gameplan in each year, 1928 up to the present, how long would it take to run out of money. and based on an actuarial life table, how likely you were to run out of money.that should give some idea of how big a portfolio you need to have to spend the amount you want without running out of money. and then next step would be to figure out how much you need to save to get there.if you hit the 'visualize' button after running an initial simulation, you can drag some sliders around and see what happens...used google's visualization api. maybe i'll take another crack at a proper design.
very nice. one small nitpick though, the retirement income should be adjusted for inflation i think. because otherwise, the retirement income in 40 years would pay for much less than at the time of retirement.
show hn: stochastic retirement simulator weekend project
very nice. one small nitpick though, the retirement income should be adjusted for inflation i think. because otherwise, the retirement income in 40 years would pay for much less than at the time of retirement.
this is actually very cool! it's interesting to play around with strategies for using your retirement income, e.g. 0.02 * [savings] with the idea of making your overall income path as stable as possible.
show hn: stochastic retirement simulator weekend project
this is actually very cool! it's interesting to play around with strategies for using your retirement income, e.g. 0.02 * [savings] with the idea of making your overall income path as stable as possible.
very cool! i love it!a couple small things:* hitting the backspace key while editing any of the numbers seems to clear the entire box* a cool expansion on this project would be to allow one input to be a variable - e.g. my current contribution rate, and draw some graphs showing how the value of that variable effects the the numbers in retirement - e.g. when i will run out of money.* if you're looking for more audiences, /r/personalfinance and /r/financialindependence would love this.
show hn: stochastic retirement simulator weekend project
very cool! i love it!a couple small things:* hitting the backspace key while editing any of the numbers seems to clear the entire box* a cool expansion on this project would be to allow one input to be a variable - e.g. my current contribution rate, and draw some graphs showing how the value of that variable effects the the numbers in retirement - e.g. when i will run out of money.* if you're looking for more audiences, /r/personalfinance and /r/financialindependence would love this.
this says i'm totally screwed and will be out of money in 5 years after i retire, while my retirement planner says i'm golden.oh well. this calculator also fails to take into account the effects of the singularity which everyone says is coming certainly before my retirement date, so i'm not sure if i should care.
basic facebook
it requires a special kind of engineer and pm to dedicate the time and skill required to make things like this work when most of the rest of the company is working to take advantage of the bleeding edge of technology.hats off to that person or team!
i was stuck with notifications i can't delete on one of my fanpages and couldn't find any solutions to fix this bug (anyone who has ever tried to find support on fb can easily understand that we're the things in &quot;break things&quot; )until i use facebook with this old ui. it solves this bug right away (indeed it doesn't solve anything, it works as expected.) so if you have a problem with facebook maybe you should try this ui.
basic facebook
i was stuck with notifications i can't delete on one of my fanpages and couldn't find any solutions to fix this bug (anyone who has ever tried to find support on fb can easily understand that we're the things in &quot;break things&quot; )until i use facebook with this old ui. it solves this bug right away (indeed it doesn't solve anything, it works as expected.) so if you have a problem with facebook maybe you should try this ui.
it's pretty cool how minimal this is. no js, not even an external css file. and it's snappy too. i almost prefer it to the regular facebook.
basic facebook
it's pretty cool how minimal this is. no js, not even an external css file. and it's snappy too. i almost prefer it to the regular facebook.
ive been using the basic site ever since i saw since i saw a talk by rms about the &quot;javascript trap&quot; of unintentially running non-free code in your browser on an otherwise free machine. i have since grown accustomed to it and instead of finding it to be fast, i rather just find the regular site to be horribly slow.
basic facebook
ive been using the basic site ever since i saw since i saw a talk by rms about the &quot;javascript trap&quot; of unintentially running non-free code in your browser on an otherwise free machine. i have since grown accustomed to it and instead of finding it to be fast, i rather just find the regular site to be horribly slow.
there is a trend in video games to rewrite games for old platforms, to get modern functionality using extremely constrained resources (e.g. <link> <link> <link> ).here's hoping that web hipsters will start a similar trend.
apple watch sales down 90% since the opening week
how many people wear watches regularly now? after getting an iphone i tended to stop wearing a watch.it just seems like there may be very niche uses but most features are already on my phone so why bother? what would be the &quot;killer&quot; app that would generate more sales, assuming they open up the platform?
to clarify, i'm not remotely an apple fanboy..but i dont think anybody excepted to continue 20k watches/week. they have sold a lot. the initial sales are done and thats fine.apple has a way with new versions of selling a lot all over again.
apple watch sales down 90% since the opening week
to clarify, i'm not remotely an apple fanboy..but i dont think anybody excepted to continue 20k watches/week. they have sold a lot. the initial sales are done and thats fine.apple has a way with new versions of selling a lot all over again.
&quot;once everyone has a smartphone, they are supposed to go out and get a smart watch, followed by smart eyeglasses, and so on. or, at least, so goes the theory.&quot;that sounds like a very ill gotten theory. do companies really expect people to go out and by accessories that cost in the hundreds and add more stuff for people to hull around that do roughly the same things?no, if i'm buying a smart device it's because either the cost is so cheap it's like buying extra usb cables or it's something to replace my other smart device.
apple watch sales down 90% since the opening week
&quot;once everyone has a smartphone, they are supposed to go out and get a smart watch, followed by smart eyeglasses, and so on. or, at least, so goes the theory.&quot;that sounds like a very ill gotten theory. do companies really expect people to go out and by accessories that cost in the hundreds and add more stuff for people to hull around that do roughly the same things?no, if i'm buying a smart device it's because either the cost is so cheap it's like buying extra usb cables or it's something to replace my other smart device.
i really wish apple would have focused on some type of e-strap. one that would coordinate with my $1000 mechanical robert weil watch. if the e-strap came from montblanc, google, apple, or pebble i would not mind. as long as it matched my r. weil style and gave me usable functionality. also, when i sent it in to robert weil for service, they respected the e-strap, even if it was from montblanc.<link>
apple watch sales down 90% since the opening week
i really wish apple would have focused on some type of e-strap. one that would coordinate with my $1000 mechanical robert weil watch. if the e-strap came from montblanc, google, apple, or pebble i would not mind. as long as it matched my r. weil style and gave me usable functionality. also, when i sent it in to robert weil for service, they respected the e-strap, even if it was from montblanc.<link>
not surprised. tried an apple watch (sport) for a week or so before returning it for a refund. i just couldn't really work out what it was good for, apart from delivering notifications to my wrist. i also wasn't particularly impressed by the battery life, i think i'd need 2 days (for days where i didn't have the chance to charge it overnight) to feel confident using it.
prime number patterns
see also divisor plot: <link> guy plotted the table of numbers and their divisors and found lots of patterns in it.
not sure if it's mathematically related to the op patterns, but the prime number patterns apparent in the ulam spiral have always been my favorite example of this:<link>
prime number patterns
not sure if it's mathematically related to the op patterns, but the prime number patterns apparent in the ulam spiral have always been my favorite example of this:<link>
for all the time and energy already devoted to studying prime numbers, it's amazing how we keep finding compelling new things to say about the subject.i agree this presentation shows considerable grace and beauty, quite effective at showing the numeric relationships among positive integers in an intuitive clear way. as the scale varies, the &quot;zoom&quot; feature very nicely allows the viewer to appreciate the fractal nature of the numerical order. educational and fun, it's a creative success.just yesterday on hn there was a thread concerning favored books, mentioning &quot;proofs without words&quot;, which this site reminds me of. where it works it is a wonderful concept, and here it works well.
prime number patterns
for all the time and energy already devoted to studying prime numbers, it's amazing how we keep finding compelling new things to say about the subject.i agree this presentation shows considerable grace and beauty, quite effective at showing the numeric relationships among positive integers in an intuitive clear way. as the scale varies, the &quot;zoom&quot; feature very nicely allows the viewer to appreciate the fractal nature of the numerical order. educational and fun, it's a creative success.just yesterday on hn there was a thread concerning favored books, mentioning &quot;proofs without words&quot;, which this site reminds me of. where it works it is a wonderful concept, and here it works well.
this is beautiful! not just is it really quite cool to explore with, but is truly gorgeous. it is true as another user put that this is a graphical way of looking at a sieve of eratosthenes, but to say that it is is “only” suggests to me a lack of appreciation for the beauty (plus, it also maps other non-prime patterns: deficient, perfect and abundant).
prime number patterns
this is beautiful! not just is it really quite cool to explore with, but is truly gorgeous. it is true as another user put that this is a graphical way of looking at a sieve of eratosthenes, but to say that it is is “only” suggests to me a lack of appreciation for the beauty (plus, it also maps other non-prime patterns: deficient, perfect and abundant).
&gt; the prime numbers are those that have been intersected by only two curves: the prime number itself and one.this is merely a prettier but somewhat obfuscated sieve of eratosthenes: <link>
yc startups that are hiring
why limit applications to programmers? i looked through manually and found about a dozen companies each with non-programming technical openings, such as for biologists, physicists, or electrical engineers. the &quot;programmer-only&quot; requirement seems self-imposed by the site, and it would be trivially simple to organize non-programming-centric engineering positions. the same puzzles could be used as a barrier to entry, as the same type of thinking is needed in solving problems in scientific research or hardware engineering.it's very hard to find hardware engineering startup jobs, and this is a space where your site could really stand out.
i'd love for this sort of thing to have a filter with the type of office employees would be working on. that way everyone on hacker news can apply for the jobs with the offices best aligned with software development sending a positive signal to those companies and hopefully encouraging better office design overall for those types of jobs.
yc startups that are hiring
i'd love for this sort of thing to have a filter with the type of office employees would be working on. that way everyone on hacker news can apply for the jobs with the offices best aligned with software development sending a positive signal to those companies and hopefully encouraging better office design overall for those types of jobs.
are all of these companies actually hiring? and hiring through triplebyte?
yc startups that are hiring
are all of these companies actually hiring? and hiring through triplebyte?
logo looks familiar...<link>
yc startups that are hiring
logo looks familiar...<link>
reminds me of the puzzling: &quot;if you choose an answer to this question at random, what is the chance you will be correct? a) 25% b) 50% c) 0% d) 25%&quot;
how to avoid the software salary ceiling
unfortunately, the author does not offer much to actually answer the question posed by the title.he does complain about the whiteboarding during interviews, and would prefer to be taken at his word about his past experience. as an older engineer (much older than the author, i might add), i can understand the feeling; however, in my years of experience, i have seen too many people coast on their former laurels and contribute, basically, nothing to the day-to-day business of the company. they can talk a mean talk, but never deliver anything of value. they sure are quick to jump on a hot idea once it's proven out and take credit, though!so is whiteboarding the best way to higher people? i don't know; but i think it is a good way to keep the slackers _out_.
i agree with the premise of this article (if you wanna get paid, specialise) as it strongly echoes my own, perhaps limited, experience.i am a generalist. i like being able to solve problems across a wide spectrum of fields. working at a startup for the last three years has given me plenty of time for that. the flipside is that i have not had much opportunity to specialise. i take pride in being comfortable diving into anything. however this has meant i don't have deep knowledge of a specialist.at a previous job, i was able to dig really deep on solr and build some expertise. in the intervening years however most of that has become way outdated.also i've found (in an admittedly limited sample size of interviews) that jobs seeking &quot;full stack&quot; developers tend to really be seeking someone to fulfill a specialised role but also be comfortable moving up and down the stack as the need arises.so obviously in my next job i've been looking for more established organizations where my opportunity to specialise in something i enjoy is greater. i think i've found one and am quite excited about it.
how to avoid the software salary ceiling
i agree with the premise of this article (if you wanna get paid, specialise) as it strongly echoes my own, perhaps limited, experience.i am a generalist. i like being able to solve problems across a wide spectrum of fields. working at a startup for the last three years has given me plenty of time for that. the flipside is that i have not had much opportunity to specialise. i take pride in being comfortable diving into anything. however this has meant i don't have deep knowledge of a specialist.at a previous job, i was able to dig really deep on solr and build some expertise. in the intervening years however most of that has become way outdated.also i've found (in an admittedly limited sample size of interviews) that jobs seeking &quot;full stack&quot; developers tend to really be seeking someone to fulfill a specialised role but also be comfortable moving up and down the stack as the need arises.so obviously in my next job i've been looking for more established organizations where my opportunity to specialise in something i enjoy is greater. i think i've found one and am quite excited about it.
moneyquote: &quot;now i understand why older programmers complain about rampant ageism in tech. younger workers are cheaper, and programmer productivity is notoriously difficult to measure, so most companies opt for the cheaper option.&quot;wow that is so spot on, as a &quot;generic&quot; programmer asking $150k versus a &quot;generic&quot; programmer asking $75k ? easy choice, we'll get two and double our productivity and halve the sick days! i noted that in the medical profession &quot;general practitioners&quot; made the least, while specialists made the most. they were all doctors.specialist software categories:embedded software - bringing up code without an os, understanding hardware function and tools.graphics programmer - these days understanding 3d programming with shaders and other features common in todays gpuskernel programmer - understanding the insides of the kernel and how to write code that works there.networking software - understanding all of the intricacies of how packets get from point a to point b, and what interferes with that and what facilitates that.security specialist - someone who understands what makes programs and systems break and can program fixes for them or ways to spot attempts at exploiting them.storage specialist - someone who understands file systems and disk drives and getting data to and from programs reliably.
how to avoid the software salary ceiling
moneyquote: &quot;now i understand why older programmers complain about rampant ageism in tech. younger workers are cheaper, and programmer productivity is notoriously difficult to measure, so most companies opt for the cheaper option.&quot;wow that is so spot on, as a &quot;generic&quot; programmer asking $150k versus a &quot;generic&quot; programmer asking $75k ? easy choice, we'll get two and double our productivity and halve the sick days! i noted that in the medical profession &quot;general practitioners&quot; made the least, while specialists made the most. they were all doctors.specialist software categories:embedded software - bringing up code without an os, understanding hardware function and tools.graphics programmer - these days understanding 3d programming with shaders and other features common in todays gpuskernel programmer - understanding the insides of the kernel and how to write code that works there.networking software - understanding all of the intricacies of how packets get from point a to point b, and what interferes with that and what facilitates that.security specialist - someone who understands what makes programs and systems break and can program fixes for them or ways to spot attempts at exploiting them.storage specialist - someone who understands file systems and disk drives and getting data to and from programs reliably.
in other words, your worth is equal to your replacement cost. specialization helps because of demand/supply dichotomy.there is another option; grossly unpopular, but i have to lay it out: make a career in startups. you'll eventually land with one or two that work out very well. that may not increase your yearly salary, but it increases your overall payout over a decade, because you'll get a windfall or two.how? as you keep working for startups, some will fail and some will succeed, in different ways. eventually, you'll learn how to recognize the more promising ones. are there any guarantees? no. but there are no guarantees in any path.(link to my bit more detailed answer on quora: <link>[about me: software engineer by education and trade. been in the valley for several years. early employee at box, left last year as their director of engineering. now run <link> we've trained a lot of people on how to prepare for technical interviews, the right way, the no-shortcuts way]
how to avoid the software salary ceiling
in other words, your worth is equal to your replacement cost. specialization helps because of demand/supply dichotomy.there is another option; grossly unpopular, but i have to lay it out: make a career in startups. you'll eventually land with one or two that work out very well. that may not increase your yearly salary, but it increases your overall payout over a decade, because you'll get a windfall or two.how? as you keep working for startups, some will fail and some will succeed, in different ways. eventually, you'll learn how to recognize the more promising ones. are there any guarantees? no. but there are no guarantees in any path.(link to my bit more detailed answer on quora: <link>[about me: software engineer by education and trade. been in the valley for several years. early employee at box, left last year as their director of engineering. now run <link> we've trained a lot of people on how to prepare for technical interviews, the right way, the no-shortcuts way]
good strategy, bad choice of specialties.there are lots of 3d graphics professionals working on video games, which is a notoriously over-worked, under-paid field. to hire 3d graphics professionals:1. go to a video game hub, like montreal2. offer sane working hours3. there is no step 3.notice the complete lack of any mention of salary.
ask hn: ideas for byo video surveillance/monitor? baby boy recently joined the family and been looking into baby monitors (w/ video) but some are using such old technology or if new w/ cloud based access they have silly monthly subscriptions that ruin the economics.<p>in a crunch i'll use an extra ipad and do a skype call but it doesnt auto answer so have to initiate the skype call and keep the connection on all day
raspberry pi<link>
i too purchased a network video solution for baby monitoring. my experiences...i initially looked at the popular off-the-shelf baby video monitors, but after doing a little more research it was &quot;unclear&quot; how secure many are, and several appeared to employ absolutely no encryption at all and instead relied on frequency jumping (but people had been able to pull them apart, figure out the pattern, and intercept with a software defined radio).so after that i decided either standard wifi with wpa2/aes or no dice. so ultimately i started looking at more general purpose network video cameras (often sold as &quot;security cameras&quot;). something i could connect to my wifi, and security would be reliant on my knowledge of networking and legitimate encryption rather than security through obscurity.the tl;dr after a long search i wound up buying a foscam, it is a pan &amp; tilt, day &amp; night indoor camera. it was around $60 on sale and 720p resolution (but costs a little more right now on amazon). the camera's video stream can be received just using standard vlc player (it uses h.264) on a pc. you can also use their browser extension to receive the feed, or their paid software if you want to record the feed. i also paid $4 for an android app called &quot;ip cam viewer pro&quot; which can receive the feed and control most of the camera's key functions (pan &amp; tilt, night-mode, etc).so now i can openvpn into my home network from either my phone, pc, or mac and then use vlc, a browser, or an android app to see the stream (and in some cases control the camera).
ask hn: ideas for byo video surveillance/monitor? baby boy recently joined the family and been looking into baby monitors (w/ video) but some are using such old technology or if new w/ cloud based access they have silly monthly subscriptions that ruin the economics.<p>in a crunch i'll use an extra ipad and do a skype call but it doesnt auto answer so have to initiate the skype call and keep the connection on all day
i too purchased a network video solution for baby monitoring. my experiences...i initially looked at the popular off-the-shelf baby video monitors, but after doing a little more research it was &quot;unclear&quot; how secure many are, and several appeared to employ absolutely no encryption at all and instead relied on frequency jumping (but people had been able to pull them apart, figure out the pattern, and intercept with a software defined radio).so after that i decided either standard wifi with wpa2/aes or no dice. so ultimately i started looking at more general purpose network video cameras (often sold as &quot;security cameras&quot;). something i could connect to my wifi, and security would be reliant on my knowledge of networking and legitimate encryption rather than security through obscurity.the tl;dr after a long search i wound up buying a foscam, it is a pan &amp; tilt, day &amp; night indoor camera. it was around $60 on sale and 720p resolution (but costs a little more right now on amazon). the camera's video stream can be received just using standard vlc player (it uses h.264) on a pc. you can also use their browser extension to receive the feed, or their paid software if you want to record the feed. i also paid $4 for an android app called &quot;ip cam viewer pro&quot; which can receive the feed and control most of the camera's key functions (pan &amp; tilt, night-mode, etc).so now i can openvpn into my home network from either my phone, pc, or mac and then use vlc, a browser, or an android app to see the stream (and in some cases control the camera).
basic:- a camera/device/rpi/*duino that periodically uploads image/video/audio to your dropbox, hosting service or vpn.- curl, or some other ftp client, to periodically download same to your laptop, device, watch, implant.details: left as an exercise.
ask hn: ideas for byo video surveillance/monitor? baby boy recently joined the family and been looking into baby monitors (w/ video) but some are using such old technology or if new w/ cloud based access they have silly monthly subscriptions that ruin the economics.<p>in a crunch i'll use an extra ipad and do a skype call but it doesnt auto answer so have to initiate the skype call and keep the connection on all day
basic:- a camera/device/rpi/*duino that periodically uploads image/video/audio to your dropbox, hosting service or vpn.- curl, or some other ftp client, to periodically download same to your laptop, device, watch, implant.details: left as an exercise.
look up the camio app for your ipad. or if you have an old smartphone. i think it's free for the first camera.
ask hn: ideas for byo video surveillance/monitor? baby boy recently joined the family and been looking into baby monitors (w/ video) but some are using such old technology or if new w/ cloud based access they have silly monthly subscriptions that ruin the economics.<p>in a crunch i'll use an extra ipad and do a skype call but it doesnt auto answer so have to initiate the skype call and keep the connection on all day
look up the camio app for your ipad. or if you have an old smartphone. i think it's free for the first camera.
my advice is drop the video. besides the placebo it's literally worthless and often in more fragile material.your baby monitor needs to take a beating when it's gets thrown out the stroller by your baby :)so go after something with more durability and longer range and battery time.
how the tech press forces a narrative on companies it covers
great article. it reminds me of the apple hype cycle: <link> .the more one knows about a subject the less one trusts the press: <link> , but the editorial standards in the field a person knows are probably no higher than a field a person doesn't.
also, &quot;how the press forces a narrative on everything it covers&quot;
how the tech press forces a narrative on companies it covers
also, &quot;how the press forces a narrative on everything it covers&quot;
nice analogy! would love see a drill in to 12:01 to 2am for startups. :)
how the tech press forces a narrative on companies it covers
nice analogy! would love see a drill in to 12:01 to 2am for startups. :)
good article. 'horse race narratives' work just as well outside tech news as well. it is good for readers to pick up on this pattern and be skeptical of articles before they get sucked in.
how the tech press forces a narrative on companies it covers
good article. 'horse race narratives' work just as well outside tech news as well. it is good for readers to pick up on this pattern and be skeptical of articles before they get sucked in.
this is actually a really good analogy, even if it doesn't work perfectly, and i think is a really good expectation setter for companies just getting into the game.easy to understand and simple and i think fits the psychology of how market saturation and education about a product grows to bring out different aspects of a company.the &quot;ignore the press and keep focused on customers and product&quot; is the best takeaway from this i think.
what’s new in python 3.5
i'm extremely enthusiastic about `async/await` semantics, and in particular async iterators and the `for async` loop.it's astonishing to see how fast python is moving in this direction. it is truly a powerful language for async computations now - surpassing in this ability both javascript and c# (at least for now). for example python got `async with` but js isn't even close (userland solutions like bluebird's using exist) and c# is only starting to work on `iasyncdisposable`
lots of good stuff in here.python 3.5 may actually be what finally convinces me to move to python 3 (that, and the end of python 2.7 support coming up in a few years).the new async stuff, finally fixing some of the problems with byte strings that made them not really an adequate replacement for python 2.x strings, and os.scandir is a substantial performance improvement over os.listdir plus calls to stat (though os.scandir, at least, is also available in python 2.7 via pypi).
what’s new in python 3.5
lots of good stuff in here.python 3.5 may actually be what finally convinces me to move to python 3 (that, and the end of python 2.7 support coming up in a few years).the new async stuff, finally fixing some of the problems with byte strings that made them not really an adequate replacement for python 2.x strings, and os.scandir is a substantial performance improvement over os.listdir plus calls to stat (though os.scandir, at least, is also available in python 2.7 via pypi).
i thought % formatting was the &quot;old way&quot; and we're supposed to use format() in python 3. strange that they're adding % support to bytes now.
what’s new in python 3.5
i thought % formatting was the &quot;old way&quot; and we're supposed to use format() in python 3. strange that they're adding % support to bytes now.
am i the only one surprised by zipapp (since 2.6?). wish i had known about this before ... <link>
what’s new in python 3.5
am i the only one surprised by zipapp (since 2.6?). wish i had known about this before ... <link>
well, there's also type hints that so far we haven't added to &quot;what's new&quot; :)<link>
google optimization tools
just wanted to mention that the or-tools constraint solver is absolutely top notch. it has been winning top3 places in the minizinc competition ever since it entered a few years ago, and placed first in 3 out of 4 categories last year. i've used it quite a bit, and with a few exceptions i've found its completeness relative to the global constraint catalog to be excellent, especially so for open source software. now if only they had a functional 3 dimensional geost constraint :)
coursera has a great course on discrete optimization [1] where i have learned and used or-tools. they are rather nice, but the documentation is half done (basically code is the best documentation) and some interfaces are not compatible with others. i ended up forking or-tools for my own use and tweaking many unexposed internals. i guess it's extremely difficult to implement generic optimization solver, so i won't complain, but be prepared it's not out-of-the-box thing (i doubt there is any).[1] <link>
google optimization tools
coursera has a great course on discrete optimization [1] where i have learned and used or-tools. they are rather nice, but the documentation is half done (basically code is the best documentation) and some interfaces are not compatible with others. i ended up forking or-tools for my own use and tweaking many unexposed internals. i guess it's extremely difficult to implement generic optimization solver, so i won't complain, but be prepared it's not out-of-the-box thing (i doubt there is any).[1] <link>
the most surprising thing to me is how fast the page was able to load. not really much faster than any regular web page, but a lot faster than most google pages with the material design. when they first started rolling out the new designs/code on google drive and trends i was lucky if the page even loaded. i'm impressed.
google optimization tools
the most surprising thing to me is how fast the page was able to load. not really much faster than any regular web page, but a lot faster than most google pages with the material design. when they first started rolling out the new designs/code on google drive and trends i was lucky if the page even loaded. i'm impressed.
if you're interested in optimization with these same back-end solvers, check out the juliaopt tools from mit.<link>
google optimization tools
if you're interested in optimization with these same back-end solvers, check out the juliaopt tools from mit.<link>
if there are any googlers reading this, the first link takes you to google code, but the source has moved to github.
to be continuous
i downloaded the osx .pkg installer and didn't see anything in /applications or /opt after running it and telling it to install to my root drive. just glancing at some docs on your site i see pipeline-init, so doing a find on / to find out where it placed the binaries see it installed to:/usr/lib/pipelinedb/usr/lib/pipelinedb/bin/pipeline-initis this intentional?edit:after playing around with the .pkg file it looks like the packed payload contains '/usr/bin/pipelinedb/usr/lib/pipelinedb' which is probably the problem. i see broken symlinks for pipeline-init etc in /usr/bin pointing to /usr/lib/pipelinedb, so i'm guessing this repetition of the path above is a mistake.also i see a postinstall script creating a symlink from pipeline to psql. this seems like a bad idea as psql is pretty universal already as the name for the postgresql cli binary, maybe 'pipesql' might be better?
i'm surprised no one has mentioned esper yet: <link> does exactly this - you run streams of events over it and it continuously executes sql to see if it matches. if so you can:- run code- make new streams- store the resultsesper's been doing this kind of thing for 9 years now.
to be continuous
i'm surprised no one has mentioned esper yet: <link> does exactly this - you run streams of events over it and it continuously executes sql to see if it matches. if so you can:- run code- make new streams- store the resultsesper's been doing this kind of thing for 9 years now.
as someone who's made a lot of use of `tail` and similar, this is appealing.but i don't have a lot of use cases in personal projects, and am unlikely to find a good use-case at work in the near future. what's the 'adoption path' for something like this?i think a really robust sample data set with example queries (think the neo4j imdb examples) would be a great way to show how powerful and easy something like this can be.
to be continuous
as someone who's made a lot of use of `tail` and similar, this is appealing.but i don't have a lot of use cases in personal projects, and am unlikely to find a good use-case at work in the near future. what's the 'adoption path' for something like this?i think a really robust sample data set with example queries (think the neo4j imdb examples) would be a great way to show how powerful and easy something like this can be.
how does the pipelinedb differ or build on the ideas from aurora/borealis/streambase? at least at a high level, something like liveview[1] seems to provide similar functionality to pipelinedb's concept of a continuous view.i was under the impression that the academic projects had proposed streamsql as a general language, though since streambase's acquisition it now seems to have been branded as tibco streamsql[2]. have you guys been part of any efforts to make sure that there is an open language standard?[1] <link>[2] <link>
to be continuous
how does the pipelinedb differ or build on the ideas from aurora/borealis/streambase? at least at a high level, something like liveview[1] seems to provide similar functionality to pipelinedb's concept of a continuous view.i was under the impression that the academic projects had proposed streamsql as a general language, though since streambase's acquisition it now seems to have been branded as tibco streamsql[2]. have you guys been part of any efforts to make sure that there is an open language standard?[1] <link>[2] <link>
this looks very cool. although, i'm not sure i totally understand how it can be used to replace batch etl processes. so, pipelinedb eliminates etl batch processing by incrementally inserting data into continuous views, but the documentation says that it's not meant for ad-hoc data warehouses as the raw data is discarded. so, does that leave me still using batch processes to load my data warehouse? is pipelinedb going to be my data warehouse as long as i only want the resulting streamed data? just trying to figure out what this would look like and where its place is in a data warehouse environment.
show hn: remote desktop protocol in node.js
oh cool! now you can embed an rdp session into a webpage. finally, a way to use the primary system administration tool from almost anywhere!with this, you can hand out links to pages with your server rdp already configured - just send the link to the admin and let them administer.how well does this work with dynamic username/password? if we wanted to leave those fields blank, and maybe have the webpage prompt on open?something missing is rdpclip.exe, which synchronizes the copy/paste clipboard data between your local session and any remote sessions. though i'm not sure how that would work in some cases.
are websockets required or can it fall back to polling? i would like to to use it behind an authentication proxy that does not support websockets.
show hn: remote desktop protocol in node.js
are websockets required or can it fall back to polling? i would like to to use it behind an authentication proxy that does not support websockets.
do you have any screencast to see it in action?
show hn: remote desktop protocol in node.js
do you have any screencast to see it in action?
an exemple of node-rdpjs -&gt; <link>
show hn: remote desktop protocol in node.js
an exemple of node-rdpjs -&gt; <link>
very nice work, but microsoft did a pretty good job with their rdp clients, and making them for os x and of course windows. i'm not sure what the draw is for a web-based rdp client.
slavoj žižek on greferendum: the greeks are correct
i am an ultra-free-market objectivist. still, i think that the greeks voted correctly.the problem is: even in a democratic country, you are not accountable to where and how much your government's borrowing. governments do not produce money; they take it from taxes. which means: _they_ are borrowing money, and _you_ have to repay it.while being responsible for debts is a good thing, it only concerns your own debts, not something that was made on your behalf. it's the businesses who will suffer the most (as they are taxable), and they are innocent.
&quot;...only a new “heresy” (represented at this moment by syriza) can save what is worth saving in european legacy: democracy, trust in people, egalitarian solidarity.&quot;i'm glad the greeks voted no. the zeal with which austerity politics has been unflinchly pursued has caused enormous hardship for people in greece and across europe. but do people in europe really feel a sense of solidarity with each other?i'm from the uk, a country often lambasted for it's aloof and isolationist attitude to europe. i used to be embarrased by the scepticism shown by british mps towards closer eu integration. now, however, i'm just a bit indifferent. the reason? i've seen clearly that self-interest among european countries (almost) always trumps a greater collective good. yet the press and politicians continue to pretend otherwise. i don't blame individual countries for doing this, but i wish they would drop the pretence that they are pursuing a greater collective goal for europe when in fact they are often pursuing a best-for-my-country approach. and who can blame them when it will always be to their own electorates that they must first appeal?the migrant crisis in the mediterranean really amplified this for me. i was ashamed of the uk response, but no other country was willing to share fairly the number of migrants rescued either. and even the rhetoric around greece is rarely about solidarity and common european humanism, but instead about keeping the integrity of the financial system in place.<link>
slavoj žižek on greferendum: the greeks are correct
&quot;...only a new “heresy” (represented at this moment by syriza) can save what is worth saving in european legacy: democracy, trust in people, egalitarian solidarity.&quot;i'm glad the greeks voted no. the zeal with which austerity politics has been unflinchly pursued has caused enormous hardship for people in greece and across europe. but do people in europe really feel a sense of solidarity with each other?i'm from the uk, a country often lambasted for it's aloof and isolationist attitude to europe. i used to be embarrased by the scepticism shown by british mps towards closer eu integration. now, however, i'm just a bit indifferent. the reason? i've seen clearly that self-interest among european countries (almost) always trumps a greater collective good. yet the press and politicians continue to pretend otherwise. i don't blame individual countries for doing this, but i wish they would drop the pretence that they are pursuing a greater collective goal for europe when in fact they are often pursuing a best-for-my-country approach. and who can blame them when it will always be to their own electorates that they must first appeal?the migrant crisis in the mediterranean really amplified this for me. i was ashamed of the uk response, but no other country was willing to share fairly the number of migrants rescued either. and even the rhetoric around greece is rarely about solidarity and common european humanism, but instead about keeping the integrity of the financial system in place.<link>
a very readable and insightful piece by one of the great (in some meanings of the word) philosophers today.a somewhat parallel piece by zizek a year ago: <link>
slavoj žižek on greferendum: the greeks are correct
a very readable and insightful piece by one of the great (in some meanings of the word) philosophers today.a somewhat parallel piece by zizek a year ago: <link>
the biggest point that is rarely raised in this whole debate is that germany has benefited for the last decade from the low euro; which has been courtesy of the greeks. in the last decade the germans have had their main stock index gain some €40t (much more if you take from 2003). the increased tax income to the german state over this period would handily pay off greece's debts. so germany has benefited from greece over all these years and now they refuse to pay for that benefit.this is a case of ideological holier than thou treatment, a bureaucratic banality of evil. meanwhile people sleep on the streets in greece, from children to pensioners.both the past greek governments shouldn't have borrowed the money, and the past european governments shouldn't have lent them the money; now both sides will suffer. and i'm starting to get the feeling that only one side will learn from this (and it isn't the eu bureaucrats, calling them technocrats is too generous; they follow the rules and ideologies even when they are wrong).
slavoj žižek on greferendum: the greeks are correct
the biggest point that is rarely raised in this whole debate is that germany has benefited for the last decade from the low euro; which has been courtesy of the greeks. in the last decade the germans have had their main stock index gain some €40t (much more if you take from 2003). the increased tax income to the german state over this period would handily pay off greece's debts. so germany has benefited from greece over all these years and now they refuse to pay for that benefit.this is a case of ideological holier than thou treatment, a bureaucratic banality of evil. meanwhile people sleep on the streets in greece, from children to pensioners.both the past greek governments shouldn't have borrowed the money, and the past european governments shouldn't have lent them the money; now both sides will suffer. and i'm starting to get the feeling that only one side will learn from this (and it isn't the eu bureaucrats, calling them technocrats is too generous; they follow the rules and ideologies even when they are wrong).
ultimately, the market has to bare the loss of the greek government. it's really no different than when a corporation fails to pay its debts. mind you, it does cause a massive decline in the country's economy. i think the imf has the right idea, give greece a means to grow its economy and put a hold on all debt payments. to do otherwise, i think is to court failure of the entire eurozone.
pykrete
because building concrete ships has worked out so well in the past. the selma developed a crack, nobody knew how to repair it, so she was scuttled. however she was too big to scuttle with other ships, so a specific spot had to be made.<link>
i thought this was some new python package.
pykrete
i thought this was some new python package.
probably posted based on the earlier post today about boston's snow problem: <link>, their snow is dirty enough that there's still a 12 foot pile of the stuff.
pykrete
probably posted based on the earlier post today about boston's snow problem: <link>, their snow is dirty enough that there's still a 12 foot pile of the stuff.
it plays a major role in neal stephenson's latest novel, seveneves.
pykrete
it plays a major role in neal stephenson's latest novel, seveneves.
we tried to make it with simulated martian regolith at mdrs, but no go.
pens are making a high-tech comeback
better pen input would be great, especially for drawing.how about some form of chorded keyboard or glove? a chorded keyboard was demonstrated in 1968 by engelbart:<link>'s soli project might lead to better input:<link>
reminds me of the 1ms touch delay technology also from microsoft's applied sciences group.<link>
pens are making a high-tech comeback
reminds me of the 1ms touch delay technology also from microsoft's applied sciences group.<link>
&quot;he’s built a computer with almost zero latency—when you do something, the computer reacts instantly. here, bathiche has solved that infuriating problem where you write or draw on a screen, and the ink is always a half-second behind your finger.&quot;so few people get that. alan kay once wrote in the 1970s that it was as unacceptable for there to be a delay between user action and response on a computer as it was unacceptable on a piano. now we have several gigaflops on every desktop and still can't get that right.we really need this in web browsers. especially on phones. when you click or touch something, something should happen right now, even if more will happen later. touch a link in firefox for android and see what happens, or rather what doesn't happen.
pens are making a high-tech comeback
&quot;he’s built a computer with almost zero latency—when you do something, the computer reacts instantly. here, bathiche has solved that infuriating problem where you write or draw on a screen, and the ink is always a half-second behind your finger.&quot;so few people get that. alan kay once wrote in the 1970s that it was as unacceptable for there to be a delay between user action and response on a computer as it was unacceptable on a piano. now we have several gigaflops on every desktop and still can't get that right.we really need this in web browsers. especially on phones. when you click or touch something, something should happen right now, even if more will happen later. touch a link in firefox for android and see what happens, or rather what doesn't happen.
mistaken premise here in my opinion:think about typing the character ‘a’ on a keyboard. fast, right? just the one keystroke. “it is fast,” bathiche says, “if you make some certain assumptions. that the position of the letter ‘a’ is where you intended it to be, the font is the way you intended it to be, the size of the ‘a’ is what you intended it to be.” all those decisions are made before you hit the key, and you often don’t have a choice. “but with ink, you can dictate all those things, almost simultaneously as you’re writing. i can put my ‘a’ here, or here, and i can make it as big as i want, as hard as i want.”i can type wayyy faster than i can write with a pen.so... yeah
pens are making a high-tech comeback
mistaken premise here in my opinion:think about typing the character ‘a’ on a keyboard. fast, right? just the one keystroke. “it is fast,” bathiche says, “if you make some certain assumptions. that the position of the letter ‘a’ is where you intended it to be, the font is the way you intended it to be, the size of the ‘a’ is what you intended it to be.” all those decisions are made before you hit the key, and you often don’t have a choice. “but with ink, you can dictate all those things, almost simultaneously as you’re writing. i can put my ‘a’ here, or here, and i can make it as big as i want, as hard as i want.”i can type wayyy faster than i can write with a pen.so... yeah
i cannot think of another tech company that's as obsessed with pens as microsoft is. they've been working on and promoting this stuff for what feels like decades now.
i self-published a learn-to-code book and made nearly $5k in pre-orders
congrats on writing a book and launching it!that said, for me, this is just one more data point that you don't write a book to make money off of book sales. you do it to establish yourself as an authority and earn from that new position.
i'm sorry to wander off topic, but your website just automatically redirected me to some squarespace url( <link> ). i'm assuming this isn't normal?i really like how transparent you're being with the sales per platform, that's rather interesting information to be sharing. i've also never heard of gumroad before, so i'm really surprised by how it stacks up against amazon.
i self-published a learn-to-code book and made nearly $5k in pre-orders
i'm sorry to wander off topic, but your website just automatically redirected me to some squarespace url( <link> ). i'm assuming this isn't normal?i really like how transparent you're being with the sales per platform, that's rather interesting information to be sharing. i've also never heard of gumroad before, so i'm really surprised by how it stacks up against amazon.
happy to answer any questions about the process of writing a book! it's been a surprisingly fun side-project that brings in some money too.
i self-published a learn-to-code book and made nearly $5k in pre-orders
happy to answer any questions about the process of writing a book! it's been a surprisingly fun side-project that brings in some money too.
you can actually add videos to your kindle book and sell it for a higher price. note however that the video version is supported only for fire devices. checkout - kindle textbook creator - <link>
i self-published a learn-to-code book and made nearly $5k in pre-orders
you can actually add videos to your kindle book and sell it for a higher price. note however that the video version is supported only for fire devices. checkout - kindle textbook creator - <link>
congrats on your book! as a cofounder of leanpub, i'm really happy that you enjoyed using our platform :) and yes, you can sell your leanpub books wherever you want -- at leanpub, authors own their work.thanks for the suggestion regarding pre-orders. at some point we'll probably add this. it would have to coincide with our also adding store credit, so that we can give refunds to purchases that are older than 45 days in store credit, etc. (right now we have a 100% &quot;happiness guarantee&quot; where readers can get a refund with 2 clicks, but this only works for 60 days, so we set our refund policy to be 45 days.)
project oberon
wow, this is excellent. the oberon and bluebottle os materials have always been quite scattered, so someone putting them in a central index is quite convenient.for those unaware, oberon's main qualities are the fact that it's a full operating system written in a garbage collected pascal-like language (actually made by the same person who initially wrote pascal) which uses said language's module system to provide reusable/chainable interfaces throughout the whole os, support for orthogonal persistence and most notably, its highly unconventional user interface that bridges the power of the cli and the gui together in this vaguely hypertext-like workspace where you can dynamically live program the ui itself through on-screen text that can serve as an entry point or continuation to perform all sorts of computations, things you'd normally write hacky scripts for. closest analogue is xerox's cedar.you should consider trying it and stealing a few ideas from it for the greater good.
i had the chance to take a oberon related lecture and its simplicity is really nice. some things found in oberon, like tiling window management, i use everyday. the book describes the whole system including the risc cpu design.as part of the niklaus wirth birthday symposium to celebrate his 80th birthday he also gave a talk titled &quot;reviving a computer system of 25 years ago&quot; (abstract[0], slides[1], video[2]).there was also a demonstration on the original hardware, the system really seemed ahead of its time.project oberon also inspired me to write a text editor[3] using a piece table data structure as described in chapter 5.[0] <link>[1] <link>[2] <link>[3] <link>
project oberon
i had the chance to take a oberon related lecture and its simplicity is really nice. some things found in oberon, like tiling window management, i use everyday. the book describes the whole system including the risc cpu design.as part of the niklaus wirth birthday symposium to celebrate his 80th birthday he also gave a talk titled &quot;reviving a computer system of 25 years ago&quot; (abstract[0], slides[1], video[2]).there was also a demonstration on the original hardware, the system really seemed ahead of its time.project oberon also inspired me to write a text editor[3] using a piece table data structure as described in chapter 5.[0] <link>[1] <link>[2] <link>[3] <link>
this sounds similar to another book/course/project i've seen that was quite interesting to work through:from nand to tetrisbuilding a modern computer from first principles<link>
project oberon
this sounds similar to another book/course/project i've seen that was quite interesting to work through:from nand to tetrisbuilding a modern computer from first principles<link>
oberon. now that's a name i haven't heard in a long time. once upon a time there was a great crossroad in the early 90's (when i was a kid and learning programming - keep in mind that perspective).basic was on its way out - we all knew it to some extent due to home computers renaissance, but it was evident it didn't have any staying power. so there were all these wonderful machines with different architectures, os' and programming languages out there, with no clear winner (it depended on what you wanted to do). so, basically there were two camps in the end, regarding programming languages. pascal and c. pascal had that notion that it was, too, on its way out, but was really useful and oberon was around the corner so it was worth the wait to stick with it. on the other hand c++ was entering the arena full force, because machines were getting faster (it had a stigma of being slow). i went with c, because i was getting into sgi/irix and cg (and later on abandoned programming as a full time choice), and some of my friends went with pascal. oberon was floating in the air for some years, but nothing happened. this was always a mystery to me. eventually, pascal guys moved to delphi and my circle of c guys either stayed with c (like i did) or bought oo kool-aid and went with c++ (of which some later on went to java). pascal (later on delphi) guys developed sort of a cult. it never was clear what happened to oberon, and (to me) to this day it's a mystery. funny enough, i can now retrospectively see that programming languages we chose (and stuck with) was heavily influenced by machines/os' we used. pascal guys were mostly pc or atari guys, and c were mostly those with access to *nix and amigas.
project oberon
oberon. now that's a name i haven't heard in a long time. once upon a time there was a great crossroad in the early 90's (when i was a kid and learning programming - keep in mind that perspective).basic was on its way out - we all knew it to some extent due to home computers renaissance, but it was evident it didn't have any staying power. so there were all these wonderful machines with different architectures, os' and programming languages out there, with no clear winner (it depended on what you wanted to do). so, basically there were two camps in the end, regarding programming languages. pascal and c. pascal had that notion that it was, too, on its way out, but was really useful and oberon was around the corner so it was worth the wait to stick with it. on the other hand c++ was entering the arena full force, because machines were getting faster (it had a stigma of being slow). i went with c, because i was getting into sgi/irix and cg (and later on abandoned programming as a full time choice), and some of my friends went with pascal. oberon was floating in the air for some years, but nothing happened. this was always a mystery to me. eventually, pascal guys moved to delphi and my circle of c guys either stayed with c (like i did) or bought oo kool-aid and went with c++ (of which some later on went to java). pascal (later on delphi) guys developed sort of a cult. it never was clear what happened to oberon, and (to me) to this day it's a mystery. funny enough, i can now retrospectively see that programming languages we chose (and stuck with) was heavily influenced by machines/os' we used. pascal guys were mostly pc or atari guys, and c were mostly those with access to *nix and amigas.
oberon had so many good ideas. it's still worth studying.the problem in the 90's: provide executable content across the net for browsers.java was supposed to provide the portable universal binary code you could load and execute everywhere, except that it did not have the necessary features and was too complicated. then came javascript but it was broken mess for long time and needs binary format.there was juice back in 1997 <link> ligthing fast single pass compiler that works with ast and gives constant-time type and well-formedness checking portably over the net.if webassembly is ready in 2017, we can finally have the portable binary with the same set of features as juice 20 years later. instead of oberon system, we have browser in the client and node.js in the server throwing webassembly around.it's like déjà vu all over again.