HNHacker News
TopNewBestAskShowJobs

vzidex

447 karma · joined July 5, 2019

Junior computer engineer, currently working in the space of machine learning-related hardware. Always excited about performance-focused projects, especially those close to the metal.

All comments are strictly my own opinion and do not in any way reflect the opinions or views of my past or present employers.

submissionscomments
vzidex··on Brand New Model F Keyboards
I'm very happy with my Leopold with Cherry MX Clears, having come from a Model M as my first board. Alternatively, at this price point one could put together a very decent custom from a kit + switches + keycaps.
vzidex··on Brand New Model F Keyboards
I have an original production Model M and don't think I would ever go back to it. It's extremely loud (friends would always complain if we were gaming together), keypresses are very heavy, and it takes up a ton of deskspace.

If the Model M or F are appealing to you, at this price point you should also consider some more modern production keyboards or even building your own from a kit + switches + keycaps. If you're after the heavy & tactile keypresses of buckling springs a board with Cherry MX Clear (common) or Green (less common) will probably satisfy you - I can highly recommend any of Leopold's boards with Clears in them.

vzidex··on Names of Canada truck convoy donors leaked after reported hack
Definition, martial law: Martial law is the temporary imposition of direct military control of normal civil functions or suspension of civil law by a government, especially in response to a temporary emergency where civil forces are overwhelmed, or in an occupied territory. [1]

The key phrases are "imposition of direct military control of normal civil functions" and "suspension of civil law by a government".

The Canadian Emergencies Act, which was invoked by the Liberal government today, specifically states the following: "For greater certainty, nothing in this Act derogates from the authority of the Government of Canada to deal with emergencies on any property, territory or area in respect of which the Parliament of Canada has jurisdiction" [2].

I'd do a deeper reading but I'm a bit lazy, but my understanding is that the EA does not allow, in any way, a shift in governance that could be described as "martial law" - where the military is in control of civil functions and can create or remove laws as military leadership desires. Even with the EA invoked, the federal government still controls the Canadian military (but can be assisted in enforcing civil law _by_ the military).

I'm no fan of Trudeau either, but we should seek to be precise when discussing hot situations like this. People can get very inflamed off of internet posts and the idea that we're under "martial law" is riling people up.

[1] https://en.wikipedia.org/wiki/Martial_law

[2] https://laws-lois.justice.gc.ca/eng/acts/e-4.5/page-1.html

vzidex··on AMD Receives Approval for Acquisition of Xilinx
Fascinating, thank you! Admittedly I don't keep the closest tabs on what Xilinx is doing.
vzidex··on AMD Receives Approval for Acquisition of Xilinx
Disclaimer: I work in this space (not at Xilinx), comments are strictly my own opinions and do not reflect any positions of my employer, etc.

Broadly speaking, FPGA-based ML model accelerators are in an interesting space right now, where they aren't particularly compelling from a performance (or perf / Watt, perf / $, etc.) perspective. If you just need performance, then a GPU or ASIC-based accelerator will serve you better - the GPU will be easier to program, and ASIC-based accelerators from the various startups are performing pretty well. Where an FPGA accelerator makes a lot of sense is if you otherwise need an FPGA anyways, or the other benefits of FPGAs (e.g. lots of easily-controlled IO) - but then you're just back to square 1 of "there's some cases where an FPGA makes sense and many where it doesn't". Besides that, a few niche cases where a mid-range FPGA might beat a mid-range GPU on perf / Watt or whatever metric is important for you.

Again, opinions are my own and all that. As someone in the space, I am very much hoping that someone - whether an ASIC startup or Xilinx / Intel come up with a "better" (performant, cheaper, easier to use, etc.) solution than GPUs for ML applications. If the winner ends up being FPGAs, that would be really really cool! Just at the moment it's not too compelling, and I'm trying to be realistic.

All that said, FPGAs and their related supports (software, boards, etc.) are an $Xb / Y market - nothing to shake a stick at, and there are many cases where an FPGA makes sense. Just doesn't currently make sense for every dev to buy an FPGA card to drop in their desktop to play with.

vzidex··on AMD Receives Approval for Acquisition of Xilinx
You've struck on the fundamental problem that the FPGA industry has been trying to solve for 30+ years - how to get an FPGA into the hands of every developer, like how GPUs have propagated to be essential tools.

Nobody has come up with a good answer yet. Developing for an FPGA still requires domain-specific knowledge, and because place & route (the "compile" for an FPGA) is a couple of intertwined NP-hard problems development cycles are necessarily long. Small designs might take an hour to compile, the largest designs deployed these days ~24H.

All this to say is that while they are neat, nobody has found the magic bullet use case that will make everyone want one enough to put up with the pain of developing for them (a la machine learning for GPUs). Simultaneously, nobody has found the magic bullet to make developing for them any easier, whether by reducing the knowledge required or improving the tooling.

Effort has been made in places like High-Level Synthesis (HLS, compiling C/C++ code down to an FPGA), open-source tooling, and (everyone's favorite) simulation, but they all still kinda suck compared to developing software, or even the ecosystem that exists around GPUs these days. You'll often hear FPGA people saying stuff like "just simulate your design during development, compiling to hardware is just a last step to check everything works" - but simulation still takes a long time (large designs can take hours) and tracking down a bug in waveforms is akin to Neo learning to see the Matrix.

vzidex··on Wine bricks saved the U.S. wine industry during Prohibition (2015)
I've done it as well with my parents, who love wine. At the shops I've been to, you buy the grape concentrate up front and they handle to process of making it up until bottling. Once the juice has fermented, you go in and they walk you through cleaning and sanitizing the bottles, filling them, corking them, and usually shrink-wrapping the tops. They provide all the supplies except the bottles themselves - customers bring their own, saved from buying wine the "normal" way.

Never seen a shop do ageing, so the wine will be noticeably "young". My parents like dryer and sharper white wines anyways (Pinot Grigio, Riesling, etc.) so it doesn't bother them. Also note that due to taxes and such, the cheapest wine you'll find commercially is C$11 a bottle, so even at C$20 / gallon you're getting a great deal if you like the resulting wines.

Personally, I quite like the wines my folks get through these shops - properly chilled they make a wonderfully refreshing beverage in the summer, and we'll often drink a few bottles on the back deck together when I go to see them.

vzidex··on Is old music killing new music?
It might very well be the DAC doing the work then, or maybe the placebo effect is just making me pay more attention to music I first heard years ago and I'm picking up more :)

Thanks for the information though, I'll do some A/B testing to see if it makes any difference to me.

vzidex··on Is old music killing new music?
Anecdotally, recently my dad got me a Tidal subscription (which has masters at supposedly higher quality than CDs) and an entry-level DAC. The two put together have blown me away and I've been having a blast the last couple of weeks re-listening to all my favourite records from as far back as the 70s.

I think the 70s are also around the same time that a lot of familiar genres started to emerge, while music from before then is often dismissed as "oldies" or saved for special occasions - e.g. old crunchy recordings of Christmas songs.

vzidex··on Leetcode has taught me that I'm a bad engineer
Adding to the comment about difficulty, the number and ratio of likes : dislikes on a problem is a good measure of difficulty. A Medium with 5K likes and 300 dislikes is probably quite a good (well-written, constrained, fair) problem. A Medium with 300 likes and 800 dislikes I'd steer clear of.
vzidex··on Nios V – Intel's RISC-V Processor
Yes, Intel will still sell you a license for NIOS if you want to harden it into your product.
vzidex··on The Alexander: Why did you build such a long piano?
I'm vegan and supplement DHA via this product: https://ca.freshfield.life/products/vegan-omega-3
vzidex··on Challenges in the diagnosis of magnesium status
1-year vegan here, no new health issues to report. I supplement vitamins D and B12 and omega-3 fats.
vzidex··on AMD and GlobalFoundries Update: Orders Through 2024, Now Non-Exclusive
I think an older GPU would definitely be useful. Used GTX 1080 cards (I picked one up used for C$375 back in September) are listed for C$750-850 where I live. I'm not as familiar with AMD's products but I think 1-2 generation old GPUs would definitely have high demand until current gen ones are more available.
vzidex··on Intel in talks to produce chips for automakers within six to nine months
Military is still a major customer, at least for their FPGA division (Altera). Probably still enough smart people kicking around to make it work.
vzidex··on AMD and Xilinx Stockholders Overwhelmingly Approve AMD’s Acquisition of Xilinx
>spend years working on getting acquired instead of working on new chips (which happened to Altera)

That's interesting, can you expand on this? I'm curious what could have impacted them that much (I'm a student about to finish my undergrad in comp eng)

vzidex··on Intel 3rd gen Xeon Scalable (Ice Lake): generationally big, competitively small
I'll take a crack at it, though I'm only in undergrad (took a course on VLSI this semester).

Making a device at a specific technology node (e.g. 14nm, 10nm, 7nm) isn't just about the lithography, although litho is crucial too. In effect, lithography is what allows you to "draw" patterns onto a wafer, but then you still need to do various things to that patterned wafer (deposition, etching, polishing, cleaning, etc.). Going from "we have litho machines capable of X nm spacing" to "we can manufacture a CPU on this node at scale with good yield" requires a huge amount of low-level design to figure out transistor sizings, spacings, and then how to actually manufacture the designed transistors and gates using the steps listed above.

vzidex··on “The ketamine blew my mind”: can psychedelics cure addiction and depression?
Hugely anecdotally, I think ketamine might have fixed my depression for about 6 months with one heavy dose. It was early 2018, I had just gone through a really bad breakup the December previous. Around March, my friends invited me on a ski trip - where I promptly had a bad fall and ended up in the hospital with a dislocated shoulder. The doctors had a hard time getting it back in while I was conscious, so they knocked me out with ketamine (smaller, more rural hospital) to put it back in.

In the days and weeks following I felt amazing, with almost all of the post-breakup blues gone and a fantastic outlook on life - I chalked it up to the "near-death" experience, but later found out about the potential anti-depressive properties of the drug and I've wondered ever since.

vzidex··on Why Tech Moguls Are Obsessed with Building Utopian Cities
> Hamburg build from 2008 on a new district, the HafenCity, a soulless place of concrete, expensive apartments, and chain stores.

I find your description here fascinating, because it's exactly how I've described the CityPlace district [1] here in Toronto that was built over the last 20 years, with most development in the last 10. Makes me wonder how common this style of modern, sterile, "ideal" development is in big cities around the world.

[1] https://en.wikipedia.org/wiki/CityPlace,_Toronto

(I also think it's interesting how both HafenCity and CityPlace work the word "city" into their title, with a similar naming scheme)

vzidex··on Machine Learning for Computer Architecture
> Are there available AI accelerators on the market at the same level as Google's?

Not sure if they're quite at the same level (hard to measure apples against apples and all that), but there's a few companies in the space - namely, Groq, Cerebras, Tenstorrent, and Untether. Besides that, both major FPGA vendors have ML inference IP available.

I'd also bet other FAANG-ish companies are trying, besides just Google, but I would expect anything to come out of them to also be compute-as-a-service like Google's hardware.

vzidex··on Designing a RISC-V CPU, Part 1: Learning hardware design as a software engineer
> Can someone say is "event driven" in the context of an HDL different than say what even't driven is in Javascript web app, GUI etc? I'm having trouble wrapping my head around it in a digital circuit context.

I think what they mean is that when you're defining synchronous logic in (System)Verilog or VHDL, the behaviour of that synchronous logic is defined as being in response to an event. For example, look through a Verilog codebase and you'll probably see lots of blocks that look like the following:

  always @(posedge clock) begin
      ... // Some logic
  end
What that block says is that the logic defined inside it - most often writing to some sort of storage element, or sampling a signal - will trigger at every positive edge of the "clock" signal, which is the "event". Usually, people will work in more control signals like a clock enable, reset, etc. to make it do more interesting things.
vzidex··on Commercial dairy keeping calves with cows
> Few farms will talk about killing their animals, of course, keeping what is happening sterile in appearance is pretty important for keeping the amount people eat high

That's exactly what I was trying to point out. Animal product industries have so many different ways in which they're cruel to animals - e.g., for dairy, the things I pointed out that are missing from the posted webpage - that individual companies can try to make themselves look better/ethical by pointing out the one or two things they're doing better than average, while omitting all of the other horrific parts of the pipeline (as another poster in this thread said, "ethics-washing").

vzidex··on Commercial dairy keeping calves with cows
Note: I'm heavily biased due to being vegan.

What I found interesting while reading this was what it _didn't_ say. Specifically, they mention that calves are kept with their mothers for 5-6 months, but what happens to them after that? They also don't say how long they keep the cows themselves for.

Typically male calves are sent for slaughter [1], and females raised to be dairy cows themselves. Furthermore, dairy cows are usually slaughtered after only 5 years of life [2], while the natural lifespan of a dairy cow is ~20 years [3].

[1] http://ontarioveal.on.ca/all-about-veal/the-real-deal-about-...

[2] https://albertamilk.com/ask-dairy-farmer/how-long-does-the-a...

[3] https://animaldiversity.org/site/accounts/information/Bos_ta...

vzidex··on Rollerball Pens of 2021
Seconding the rOtring 600 - I got mine at the start of university, and it doesn't show any signs of stopping near the end of my bachelor's now.

Though, you do need to carry it in a case of some sort, because the tip doesn't retract.

vzidex··on That XOR Trick (2020)
> I'm not concerned If someone happens to know some esoteric trick that they could Google search (Unless of course you're applying for a position at a company that manufactures very low level devices like microcontrollers or embedded systems and questions like this are _actually relevant_).

The "XOR trick" actually nearly sank me on an interview once, I'm assuming because the interviewer shared your opinion. One of the questions they asked me to solve was the "n - 1 numbers in a list" question the article talks about - I promptly came up with the XOR solution because I have more background in low-level work than the high-level finance role I was interviewing for. Turns out, they had never seen it before, didn't really understand how/why it worked, and they took a lot of convincing to accept it as correct.

I think I only still got the job was by then proceeding to also solve the problem the "normal" way.

vzidex··on Popular seafood species in sharp decline around the world
> Some facts are so well stablished in human knowledge that there is not need to cite it.

So, your statement is true because you say that it's common knowledge that it's true?

> Primary and secondary production, is a big fat chapter in any Ecology handbook

OK, then kindly provide one of these ecology handbooks that proves your point

> If nobody is trying to produce a natural sized cow sculpture made of vanille beans, there must be a reason

What do you even mean by this?

vzidex··on Popular seafood species in sharp decline around the world
> I imagine farmers who treat animals well

This is a cherry picked argument, at least in the US, where "factory farms raise 99.9 percent of chickens for meat, 97 percent of laying hens, 99 percent of turkeys, 95 percent of pigs, and 78 percent of cattle" [1].

Besides, even in this ideal farm where the farmer treats the animals perfectly and lets them live long, fulfilling lives, they're still killing the animal at the end of the day. Hard to see how that is "treating [it] well".

[1] https://www.huffpost.com/entry/its-time-to-end-factory-f_b_1...

vzidex··on Popular seafood species in sharp decline around the world
> I sure wish a tech billionaire would do something about this.

I've noticed in tech that a common hope that people in tech hold is that "the billionaires", in their infinite wisdom and generosity, will pull magical solutions out of their hats and save us all. Like you mention later, yeah, right.

> one of the thousand reasons I got out of tech

Not an option I've considered much, but it's almost tempting.

vzidex··on Popular seafood species in sharp decline around the world
>Some vegetables are luxury food, and less efficient than cattle

[Citation needed]

I'll assume you're arguing in good faith, but this argument is a common straw man made by people who are against plant-based diets. In fact, the only case where you have a point is that the worst case for chocolate produces more emissions than the best case for beef [1]. Odds are that if you're eating beef in North America it comes from a factory farm [2], while people who advocate for plant-based diets are often for more sustainable farming practices too, and will try to buy chocolate/coffee/avocados/whatever in sustainable ways.

Finally, the most important point is that it's not an either/or proposition - you can be _both_ for eating less meat, and producing plant products in more sustainable ways.

[1] https://www.bbc.com/news/science-environment-46459714

[2] https://www.huffpost.com/entry/its-time-to-end-factory-f_b_1...

vzidex··on Never use a dependency that you could replace with an afternoon of programming
I'm not sure if I agree - commonly-used packages will have known and documented faults, while validating something you (your organization) created can be challenging.

Dance with the devil you know and all that.

Page 1 of 5Next →