Better HN
topnewbestaskshowjobs
Log inSign up

desmap

143 karma · joined Feb 10, 2019 (7y ago) · 135 submissions

Submissions

comment 5y ago · link · parent

The title is promising but the comparison is more than subpar and misleading:

- There shouldn't be any comparison to a bare CPU because M1 includes a TPU, a typical CPU doesn't

- Comparing it to Colab's GPU is good because latter includes a TPU but OP should have stated which GPU he got; Google Colab allocates different GPU models

comment 5y ago · link · parent

I went down the ESM rabbit hole, after 2 months I decided to stay away. Main reason is/was I want true monorepos in TypeScript with single DRY type definitions (so you need to import them to the FE). This alone is with CommonJS already a bigger endeavor but impossible when mixing in ESM for the frontend parts. Nobody should be blamed here because it's so much legacy, so many systems involved, so yeah.

comment 5y ago · link · parent

> Reddit is an intentionally designed dopamine

IDK, yes dopamine gets triggered but much less than with the typical suspects out there. I find many of reddit subs quite helpful tbh, you check them out, comment, upvote, submit and leave again.

It's just bothering that one company could monopolize the entire forum space. They did a good job but yeah, one company to rule them all isn't good.

34.

Ask HN: Was there a thread about W21's Demo Day?

4 points · by desmap · 5y ago · discuss

comment 5y ago · link · parent

> can save costs in some circumstances [...] and what we found was every team started using more and more resources until we ended up with a sprawl of over-provisioned and under-utilized services

This can happen but already for medium deployments the costs are so much lower that you can hire a bunch of devops managing a proper centralized RBAC-based k8s cluster which isn't over-provisioned nor under-utilized. And even if, it should be still significantly cheaper than anything from Google and AWS. But again, if a company runs a strong-margin business model cloud cost optimizations are the wrong thing to think about. Whatever, your solution is definitely a big step in the right direction.

comment 5y ago · link · parent

> We’d really appreciate it if you try it out and give us feedback.

The landing page is gorgeous. Re the service: IDK, on the one side it's amazing, on the other hand, key to significant cost savings is to use Google and AWS only for must-have services, otherwise avoid them as much as possible and deploy the rest on self-managed k8s-clusters on vps farms. Latter might not work for huge deployments like Fortnite's server park but creates a very competitive performance-to-cost-ratio for small to medium deployments.[1] Not sure how this would fit in your design but just my two cents.

Also, once you fully locked-in yourself into a cloud provider real cost-savings get harder and harder. If your tool is just about forecasting for finance and controlling then it's sufficient.

[1] If your business model is so good (like Fortnite's) you shouldn't obsess about cloud costs, going all-in with AWS and Google might be the better choice.

comment 5y ago · link · parent

I'd say this is the product of brand dna, targeted audience and a bit of randomness. I think a good glossy screen with this special coating which makes reflections barely visible and if, then they are deep purple such as on MacBooks, is on par with matte screens. Latter try to avoid the reflection by blurring them which might work here and there better but at the end of the day it's a matter of taste since this matte blurs coming from reflections are also annoying.

Non-coated glossy screens or with a cheap coating are clearly inferior in this regard.

Coming now to other motivations, a glossy screen at the point of sale: A Macbook with a glossy screen in a shiny Apple Store is just way more impressive and will trigger more impulse buys. It's like a jewel or expensive watch sparkling in all its glory at you. Glossy screens go also seamlessly to the edges or in other words, there is no bumpy plastic edge which just looks more like a slick and polished product. In contrast, ThinkPads are more of an enterprise product and not in need to trigger impulse buys + need to signal "hey I am workhorse for professional users" => matte screen. But be aware that Lenovo puts glossy screens on very similar specced Yoga models which target consumers and are found at the point of sales. Those models have also more showy aluminium cases while the Thinkpads have also beautiful cases but their beauty is more of a subtly beauty which needs longer to lure buyers into a buy (if they aren't loyal ThinkPad users already). To drive this even further, Lenovo recently introduced alu-cased Thinkpads and a new subbrand "Thinkbooks" to target really any user out there. So, matte or glossy is more about demographics and their value system and beliefs than about functionality.

Last advantage which most forget: High-dpi screens have eg way crisper fonts on glossy than on matte, hence are overall sharper, eg code or a terminal on a 300dpi glossy screen is just incredible (check out 4K 13-14 inch notebooks or Dells 8K 32 inch).

comment 5y ago · link · parent

To give a bit more context to what the others wrote. AHK is the only reason I use Windows and not macOS nor Linux on a desktop because they don't offer anything remotely powerful as AHK and AHK makes my life 1,000x easier/faster. I always wonder how others can use a computer without something like AHK. I dislike its language design and all its quirks a lot but all the alternatives I checked come not close in terms of features and have an even worse UX.

So, there's definitely a market opportunity but I'd go more low-level in order to have OS-wide coverage and preferably beyond one OS but this would be impossible when doing three implementations. Maybe a macOS version is a good start. There you have few options which bring you far but yeah, not as far as AHK.

comment 5y ago · link · parent

Do you guys know AHK? It's Windows-only, has a weird language design but which is terse like no other and it's quite powerful.

I would be happy to learn how you will position your product compared to AHK.

comment 5y ago · link · parent

Not really on-topic but am I the only one? I stopped developing locally, my notebook is just a thin client ssh'ing into a remote dev server. I get all amenities like developing on the production os, no awkward package managers, 1 GBit up and down—always and anywhere and Docker pushes within few seconds.

comment 5y ago · link · parent

I rarely use Wikipedia, only for stuff not from my domains and where I need a brief tldr and then, I just skim the first few sentences. Once I want to get more into that topic, I check other sources. Would love to see competition to Wikipedia and less use of Wikipedia from other parties as their default definition provider.

Wikipedia is anything but not an open platform.

comment 5y ago · link · parent

FWIW and a note to myself before I check it out a third time:

I just checked it a second time and recall now what was turning me off: I found the installation of the node plugin and node super tedious and too much overhead[1], it's just once but yeah, didn't like the the UX (eg reshim), then asdf always forgot my current node version and finally, I was missing a quick ls command for checking out installed node versions and versions/lts-versions available remotely (nvm ls and ls-remote ) without having to checkout the node website or repo.

I cannot speak for other languages but I found it for node rather a bigger step back and for stuff like Mongo—it's in their plugins!—I just use Docker, IDK but asdf feels just wrong for things like Mongo. I usually use node also from the node Docker image and have node versions only locally installed for stuff like coc-vim or when quickly needing the node REPL but anything serious runs in a container with a volume mapped to the project folder.

So, I guess it's rather for languages that do not have a proper version manager and/or folks not into containerization.

[1] https://github.com/asdf-vm/asdf-nodejs

comment 5y ago · link · parent

Tried asdf few months ago but couldn't get warm with it. Went back to nvm for node and just venv/ for Python. Anyone went back too and if yes, why? Thinking of giving it another try.

comment 5y ago · link · parent

OT: Most (including me) confuse good products with good business models. Only because a product has killer potential doesn't mean it's based on a good business model and checks all boxes such as defensibility, distribution, lock-ins, dependencies, etc.

comment 5y ago · link · parent

OT and for those into keyboards: The keycaps do look nice, IDK if they're good to type on but they are a nice, modern interpretation of the OG ones.

comment 5y ago · link · parent

Nice that you did this video and still a very nice speed. Every test is different re difficulty, so all good.

comment 5y ago · link · parent

There are three variants and long PDFs, anyone has a summary of those?

comment 5y ago · link · parent

It's wrong but the p is on a very hard position for the right pinky. FWIW, p was the last letter I got right as a touch typist. It's not that the pinky is a weak finger--it can be trained to a very good level--it's really more the position of the p.

comment 5y ago · link · parent

Would love to see a video of your typing style/you typing eg at monkeytype

comment 5y ago · link · parent

Use Autohotkey, it's not really a big thing, e.g.

<+t::return

comment 5y ago · link · parent

Why I order at Domino's but not at any other food delivery service:

- Lowest minimum order value

- Fastest delivery (bc of own delivery guys)

- No perfect pizza but still great enough

- For me, ordering food == instant gratification == doesn't have to be healthy

52.

M1 vs. Intel's upcoming i7-11370H(browser.geekbench.com ↗)

4 points · by desmap · 5y ago · 1 comment

comment 5y ago · link · parent

> I mean for two months now alt-tab is broken

Not on my 20H2 release, wdym?

comment 5y ago · link · parent

> in our papers

A link would be kind.

comment 5y ago · link · parent

FWIW, I'm no fan of giving my email either, so I tried to load the transformer on my own system. Would you mind to put a bit more, eg an example, than just following three lines there?

  from transformers import AutoTokenizer, AutoModelWithLMHead
  tokenizer = AutoTokenizer.from_pretrained("mbien/recipenlg")
  model = AutoModelWithLMHead.from_pretrained("mbien/recipenlg")
FYI, I got this from running above lines:

  ...AutoModelWithLMHead is deprecated and will be removed in a future version...
FYI2, I just entered on your huggingface page "Get salt, apples and sugar and you get" and got "Get salt, apples and sugar and you get a soft, sticky mess. Then add water, add a lemon or lime and add a 1/8 teaspoon vanilla. Add a pinch of cinnamon and a dash of nutmeg. When you are ready", where is the recipe, what is this?? A bit more docs would be nice...

comment 5y ago · link · parent

I found https://github.com/Armin2208/Windows-Auto-Night-Mode to be better for auto-scheduling.

comment 5y ago · link · parent

Tachyons needs this for a button:

  <a class="f6 link dim ph3 pv2 mb2 dib white bg-black" />
Anyone so quick to show the same in Tailwind to have a comparison?

You can see the button rendered here (the first at the top): https://tachyons.io/components/buttons/basic/index.html#0

comment 5y ago · link · parent

Tailwind must have an extremely talented social media guy/growth hacker or be a very good product:

14 HN front-page hits within just one year.

https://hn.algolia.com/?dateRange=pastYear&page=0&prefix=fal...

Edit: Got downvotes, guess what haha

comment 5y ago · link · parent

I still use Tachyons which I find way better. It*s just a css mapper with much saner design decisions.

comment 5y ago · link · parent

> To me it feels like the defaults are sane enough

I found the exact opposite. If one has perfect defaults it's Tachyons.

12345