Better HN
topnewbestaskshowjobs
Log inSign up

avbor

180 karma · joined Nov 30, 2011 (14y ago) · 54 submissions

Submissions

comment 2y ago · link · parent

You can expose the browser port via ssh, with a command line flag like `-L 8080:127.0.0.1:8080`. So you can still preview locally

comment 3y ago · link · parent

This is just another tool to find people you follow on Twitter that migrated to Mastodon. So it's still the first sentence you said.

comment 3y ago · link · parent

Well I think the joke is that your skin will let you know once you pass the ivy whether it's Poison Ivy or not.

comment 5y ago · link · parent

Depends - on YouTube, there's definitely a lot of channels that encourage engineering and science of some kind, though not always in a safe way. We had Shitty Robots into just general engineering with Simone Giertz, William Osman and Michael Reeves with their dumb robots.

I would definitely include some of Simone's builds in the super serious club especially now, but Mark Rober and Build Stuff Better definitely have a more engineering focus to their videos.

comment 5y ago · link · parent

Most other compiled languages do dead code elimination, which sounds similar but is a little different. Think of dead code elimination as removing code that doesn't change the output, while tree shaking instead includes code that could run.

To apply this to python is interesting - if you were creating a packaged version, I could see "compiling" the code to a separate package with only the required imports.

comment 5y ago · link · parent

Don't worry, won't be likely to happen - the ads that are displayed now as banners are literally bid on when it's loading, so at most the ad serving code would be bundled, but you would still be able to block the binaries they load.

comment 6y ago · link · parent

More work to be done, but Mozilla DID get Jupyter Notebook to run on the web with WASM.

https://hacks.mozilla.org/2019/04/pyodide-bringing-the-scien...

comment 6y ago · link · parent

Previously discussed here:

https://news.ycombinator.com/item?id=19759630

comment 7y ago · link · parent

Did they finish rolling them out? I know that is (was?) the plan, but when I interviewed last year at the Santa Monica location, they only had whiteboard.

comment 7y ago · link · parent

Not only that, but if you're on Python 3.7 you can use breakpoint() without any imports, which is even shorter.

11.

Stable Filtering – Part 1(caseymuratori.com ↗)

1 points · by avbor · 7y ago · discuss

comment 7y ago · link · parent

The English language is pretty large. There are a good number of alternatives to using the word he did that would be safe. He didn't have to use that word, but either did because he uses it often and is comfortable with it, or purposefully thought it would be a good use there. Both of which are questionable.

I'd also argue that Patreon isn't obligated at all to help him earn money here. It's not a employee employer relationship here, and they can choose to not to continue to help a person that they deem harmful to other customers.

comment 8y ago · link · parent

In python 3.6 and up, that becomes

    def example_cheater(color, flavor, age):
      return f'I am {age} years old and I like to wear {color} hats and eat {flavor} icecream'
Even nicer!

comment 8y ago · link · parent

It blows my mind that the original link wants to charge 35 dollars for one day of access for this.

comment 8y ago · link · parent

Instagram actually has a program for stubbing existing code called MonkeyType. It requires running your code to collect the data, and then after your run finishes you can then apply the new inferred types to your program.

16.

Deep Voice 3: 2000-Speaker Neural Text-To-Speech(research.baidu.com ↗)

2 points · by avbor · 9y ago · discuss

17.

EBay’s Font Loading Strategy(ebaytechblog.com ↗)

1 points · by avbor · 9y ago · discuss

comment 9y ago · link · parent

I think because they're aware Microsoft released a patch for Windows after XP, they're thinking as though XP can be the only one affected by the ransomware. As we've learned, that logic doesn't work since people turn off updates.

comment 9y ago · link · parent

I disagree with this. I don't think it makes sense to make the problem space harder and include translating screenshots into a resulting keyboard input when you can look at the memory and figure out the same information. That's an entire problem of its own, and I really don't understand why people keep ignoring that. Or is the issue that with the amount of information being supplied, it's too revealing? In which case, would limiting the amount of data being passed in to just, map, positions of the players, their current moves, and direction of the current move be okay in your book? Or is even that too much information to give.

comment 9y ago · link · parent

Well, Riot solved that by getting rid of Dominion. ;) But seriously, they were mainly present in the game mode mentioned, and now in Co-Op vs AI, just because they want to level the account and sell it. Doesn't really affect the majority of the population until selling point, and once it's been sold, it's easy to tell a botted account.

comment 9y ago · link · parent

People usually switch after a year and a half of being on a team, but not much different than that.

comment 9y ago · link · parent

Moving from Python to Go seems to be the thing that happens once you need your Python to be more performant.

comment 10y ago · link · parent

I'm not familiar enough with compilers, but why would an ahead of time compiler perform worse than a just in time compiler in a static language? I think I'd understand if it was a dynamic language, because you can't know the types for sure until you start running the program, but are similar issues present for Java?

comment 10y ago · link · parent

Target actually did something similar, though their intent was to eventually find better ads for families who were expecting. In their case, fully deanonymizing and being straight forward - straight out advertising baby products - turned out to be a nightmare, and they eventually turned to more subtle advertising by inserting baby products into the weeklies.

Could we see a case where, when someone searches for one thing, instead of seeing results that pertain to that immediate query we see results that match common future searches?

http://www.nytimes.com/2012/02/19/magazine/shopping-habits.h...

25.

Getting the most out of Rcpp: High-Performance C++ in Practice (R/Finance 2016)(speakerdeck.com ↗)

3 points · by avbor · 10y ago · discuss

comment 10y ago · link · parent

It also 'helps' that EHR software has been forced onto hospitals at such an early point. My father constantly checks what orders are given to a patient now because one time, an order he placed at a patient's previous visit to the hospital was placed at the current patient's visit instead, almost two months later. Luckily the screw up was just with food assigned to the patient (high fiber diet vs liquids), but imagine if it was something like a drug being prescribed.

27.

Don’t Worry; It’s a Compiler Bug(swizec.com ↗)

3 points · by avbor · 10y ago · discuss

comment 11y ago · link · parent

The GUI way of doing this on Windows (if you're currently connected to said network) is to do the following:

1. Go to Network Connections.

2. Right click the WiFi connection and click status.

3. Click Wireless Properties

4. Click on the Security Tab, and then click Show Characters.

comment 11y ago · link · parent

This one is much more troubling, and fits in more with your other links. I guess the lesson here is to treat everything like it's a beta, because that seems to be the nature of app and game development these days.

comment 11y ago · link · parent

I don't quite understand what the hack was for the Tinder one. She just optimized her profile for likes? And added a banner saying match of the day? Not the hack I was expecting.
12