HNHacker News
TopNewBestAskShowJobs

omgtehlion

1,068 karma · joined June 21, 2011

submissionscomments
omgtehlion··on Commodore 64 BASIC inside a USB Connector
Well, it's an $1.5 chip on $0.1 board (add $0.4 for leds, solder, ets). The rest is for manual work (assembly) and a nice margin.

Anyway, if you are looking for best price, try chinese "blue pill" controller boards (<$2 a piece), they have more processing power (with similar ARM CM3 cpu). But not that nice form-factor.

omgtehlion··on Type-safe Bitmasks in C++
This is all good and nice.

But in my opinion it violates principle of least surprise: when I encounter any enum, am I able to OR two values? These do not seem like flags, is this correct usage?

When a function expects bitmask<T>, I should know that T is just flag positions. But when I do not have some API point, only enum, how am I supposed to know that?

Plus, in case of interop with other languages, even with C, I will have Button::B == 2 in CPP, and BUTTON_B == 4 in C (or Button.B == 4 in Java). This of course adds to confusion...

omgtehlion··on Sweden Tries to Halt Its March to Total Cashlessness
> keep 6 months living costs in cash

Well, I do. Just in case, yknow. But anyway I use cards daily...

omgtehlion··on Some notes on high speed networking on PCs
Well, I didn't see any trouble with it. Chinese tplink switch starts at $200 (new) and has 4 sfp+ ports, plus a bunch of gbe copper. Network cards are $20-30 a pop on eBay (used mlnx), twinax DACs are $10, for longer distance transceivers ($10) and cables ($2 conn + $1/meter) are abundant also.

Newer had a trouble with this cheap setup. The only bottleneck is ssd speed in NAS.

anything above 10g might be a trouble, but I didn't try it.

omgtehlion··on How to disappear from the internet
You can not really delete this info: there are multiple "whois history" sites out there, and if you manage to persuade each one to remove old info, it would still be stored in numerous dumps one can find on closed forums or torrents.

Source: I myself have my (now outdated) phone number and home address attached to several domains...

omgtehlion··on The differences between tinkering and research (2016)
Resentment is not toward research (or even "real" researchers) but toward smugness
omgtehlion··on ThinkPad X1 Carbon 2018 review: The only laptop in a professional’s paradise
Do anyone related to tech really use out-of-the box software?

I'm always installing a Linux distro of my choice or a clean fresh windows image if i need it

omgtehlion··on Decode Like It's 1999: MPEG-1 Decoder in JavaScript
it was one of async/await precompilers. I do not remember which one, I tried all of them, except this one which I removed right after npm install.
omgtehlion··on Decode Like It's 1999: MPEG-1 Decoder in JavaScript
> Installing nodejs is one download. After that it's running npm install and everything just works.

Yep. Even wehen it works as exepcted it might become shitshow.

Couple of years ago I tried to install a small library (~50kB or less), and npm install pulled in 900MB of crap. I didn't expected npm to even contain so many packages back then.

omgtehlion··on Crypto-currency craze 'hinders search for alien life'
Unfortunately, nvidia (or amd) does not get extra cash from this craze. Not even partners and oems.

Most profits are reaped by retailers and resellers

omgtehlion··on Crypto-currency craze 'hinders search for alien life'
Or maybe start a coin which uses those operations as PoW?

Then miners will sort this out themselves ))

omgtehlion··on Crypto-currency craze 'hinders search for alien life'
These guys should contact nvidia directly, and ask to reserve some of the cards nvidia sells via their site.

It releases small batches weekly.

Anecdote: last week it was 300 cards. Most of them are snatched by miners and scalpers (who resell them on ebay). I managed to get one card I need (to complete my pc) only by using monitoring script and automating chrome to purchase. 300 cards were gone in 4 minutes. The next day 12 more were available (possibly cancelled/failed orders of those 300).

omgtehlion··on Adventures in Autorouting (2017)
P.S.: near the end of article author lists what autorouter should do and what info (and freedom) we should give to the tool.

I think, the first show-stopper for 100% autorouted designs are power nets (of course, not only power, there are a lot of other corner cases, like thermals, but power is what you encounter right out of the door).

Router should know which nets handle (somewhat)high currents. And which direction the current flows. You do not want your power amp supply rail routed sequentially. And on the other side, not all power nets should be routed as stars (sometimes there is only small power draw, and sometimes it is only voltage sensing).

omgtehlion··on Adventures in Autorouting (2017)
Topor is my go-to tool for small boards. I just start with manually tracing power nets, the rest is autorouted.

Comparing to other routers, Topor gives results almost instantaneously. This is really useful when placing parts: you try something, autoroute (no more than tens of seconds), see result, tweak here and there then repeat.

idk about seriously big boards, but they have examples with mammoth BGA on their site, so at least it is capable of routing those boards.

omgtehlion··on Building a Lightroom PC
[offtopic] show me a 1080ti for $799 and I'll buy it on the spot.

Effing miners devoured everything even for twice the price...

omgtehlion··on CES Was Full of Useless Robots and Machines That Don’t Work
It is already here. Two days ago our HVAC controller apparently lost contact with one of the sensors (as technician told me) and we nearly froze at night (-10 C outside) only to came back later to a desert (+35 C in most rooms).

I just yanked the thing out and adjusted all valves by hand. Fixing was $200. Now i'm thinking about replacing it with Arduino and simple PID controllers...

omgtehlion··on A Security Issue in Intel’s Active Management Technology
If you have access to the battery then you have access to the flash chip as well. Using a right clamp (sop8 usually) you can reflash the thing in a matter of seconds (I did).
omgtehlion··on Intel was aware of the chip vulnerability when its CEO sold off company stock
based on AWS findings we should expect the stock to be up, not down: after software mitigation everyone will need more horsepower to run the same load, and guess where they would buy new chips? (given that updating infrastructure to use AMD, let alone ARM, would cost more time and money than just suck it up).
omgtehlion··on Cash Might Be King, but They Don’t Care
Qui prodest?

It is quite apparent why CC companies offer $10k in rewards: they will keep commissions on all transactions.

Anecdote: recently I bought a used car. Initially we agreed on bank transaction, tried several banks, some have low limits so low it would take months to move money. Others wanted transaction fee as high as $200 on 20k transaction.

Gov wants to get rid of cash because of surveillance. Banks and CC companies want to be gatekeepers and tell you what you can and can not do with your money. And to pocket as much fees as possible...

omgtehlion··on Bitcoin Futures Start with a Bang as Rally Trips Circuit Breaker
When you buy base and simultaneously sell future contract, you effectively lend your money to other counterparty. In ideal market this should be equal to interest on loan (as you mentioned).

There are two possibilities of what is really going on: - either there are not enough arbitragers yet - or you should factor in commissions, fees, ease of transferring money between exchanges, etc

omgtehlion··on Analysing C# code on GitHub with BigQuery
> a new line for namespaces, classes, and methods and the same line for everything else

accidentally, we arrived to the same code style for both C# and C++...

omgtehlion··on Ships fooled in GPS spoofing attack suggest Russian cyberweapon
Can attest this. Area near Kremlin is spoofed to Vnukovo airport for several years already. There were reports about putin's dacha spoofed to the nearest aiport too.

I really do not know about reasons and efficacy. Professional grade multi-gnss receivers can easily filter this crap out, at least they could 5 years ago...

omgtehlion··on Thermal Paste Round-up
small tip: if you have a rough time applying liquid metal, try using cotton swabs. You do not even need to roughen the surface.
omgtehlion··on Beyond the boring blockchain bubble
That's what 'MARKET' orders are for. Don't be greedy and allow for some slippage, otherwise you would give yourself out and loose even more.

Anyway, if you have enough money, why not hire someone to write you a multi-exchange execution tool, and save some more money.

omgtehlion··on The slow currentTimeMillis()
if you do e.g. HFT, additional 600ns might kill you
omgtehlion··on The first Bitcoin Cash block has been mined
With the same success you could have forked bitcoin with the same block size, or just minor increase.

BCC is currently not congested only due to small number of transactions happening there.

omgtehlion··on Why I Choose Delphi
WinForms, it is not 'cool' nowadays, but works exactly like VCL+delphi ui designer
omgtehlion··on The Company Behind Many Surprise Emergency Room Bills
Wow.

In Russia fully out-of-pocket (no insurance, no subsidy) CT scan will cost you $50-$200 (depending on body part).

So, this is likely around its prime cost. And the rest of your $(3000-200) is split and pocketed by hospital shareholders and insurance company.

omgtehlion··on The System Bottleneck Shifts to PCI-Express
This article confronts PCIe with eth/IB multiple times.

I wonder, does the author know how network cards are attached to CPU? There is no magic, apparently. And on most desktops you can not even have a full size video card and a 10GE adapter working simultaneously at full speed. And this bottleneck is in CPU (its interfaces).

omgtehlion··on PDF is not portable in the digital world
Finally, in 2017, when PDF became abundant, does not require additional drivers to use it, has somewhat usable spec, and a lot of 3rd party and open source software to work with do we really need to get rid of it?

Bashing PDF is so 2000...

← PreviousPage 7 of 14Next →