Better HN
topnewbestaskshowjobs
Log inSign up

ul5255

67 karma · joined Dec 20, 2011 (14y ago) · 33 submissions

Submissions

comment 4w ago · link · parent

Could you mention the exact model of the PCIE switch/host adapter you are using? The Aliexpress links are always a bit ambiguous. I am working with the c-payne switch https://c-payne.com/products/pcie-gen4-switch-5x-x16-microch...

comment 4mo ago · link · parent

I’m staring at this comment for a while now: With 3ms latency combined per token, wouldn’t that mean (1 / latency) = 333 token/s for the theoretical upper bound? I’m not trying to nitpick, just curious if I misunderstand something.

comment 6mo ago · link · parent

I have several years worth of timestamped sensor data in a SQlite DB that is 12+GB and growing. One idea was to experiment with DuckDB. Your comment about DuckDB has me worried as time ranged queries are common. Any link for me to dig deeper?

comment 9mo ago · link · parent

How did you arrive at 82% of salary being taken by taxes and social security? I read the Wikipedia article but I don’t how the numbers would add up to 82%.

comment 1y ago · link · parent

With 600Wh battery and Shimano Steps E5000 in lowest support level I can easily ride 250km/charge

comment 1y ago · link · parent

I agree and I still see people speculating over the cause of the outage in this very thread, showing a worrying degree of confidence that for example renewable energies played a negative role

comment 2y ago · link · parent

thanks a lot. I am looking for the longest time to get temperature sensors for the various radiators of our house's heating system (temperature of pipes entering/leaving each radiator plus room temperature, wall temperature). I found no suitable ready-made Zigbee sensors and developing my own seemed like a daunting task. Your setup looks like a very realistic option for my project.

comment 2y ago · link · parent

Could you please expand a little on the setup of a hub/gateway in your project? I found the Arduino sketches for three sensors but it was not clear to me how one would go about the gateway those sensors would connect to.

comment 3y ago · link · parent

I do not know where the inspiration cam from but that e with inverted commas is not a German letter

comment 5y ago · link · parent

not tried myself but here is some documentation: http://www.gunthard-kraus.de/qucsstudio/index_english_qucsst...

comment 5y ago · link · parent

every day usage: If you also have a PV system you can decide when to run the dish washer, laundry machine, dryer, ... and how many of these "bursty" appliances can possibly run in parallel w/o consuming energy from the grid

analysis/optimize energy consumption, e.g.:

* we moved the freezer from the kitchen to the basement instead of buying a more energy efficient new one

* the pump in our (20yrs old) heating system constantly uses 60W -> the whole furnace is now due for replacement

* determine your electricity base load in order to make an informed decision about the capacity of a battery system that buffers energy demand during the times the PV system does not supply energy

I'd say the real value is in looking into long term patterns (no ML needed).

comment 6y ago · link · parent

It's a nice idea but are there implemenatations yet except prototypes? I'm only aware of activities in Weilheim/Bavaria in Germany: https://www.haustec.de/energie/wie-pumpspeicherkraftwerke-im... and http://gravityenergyag.com/demoanlage-weilheim/ but this still looks like it will take a while to complete

comment 7y ago · link · parent

The aqua park is actually doing quite well nowadays https://www.tropical-islands.de/en/

comment 10y ago · link · parent

KMT was the ruling party Kuomintang: https://en.wikipedia.org/wiki/Kuomintang

nothing to do with muslims

comment 11y ago · link · parent

Why is the left-most portion in the picture: http://researchblogs.cs.bham.ac.uk/thelablunch/files/2015/05...

I x C: (3,3) and not I x C: (1,3) ?

Similarily the right-most one should be C* x I: (3,1) no?

comment 11y ago · link · parent

That is already available: https://micropython.org I have the PyBoard but one can get it running on ST Discovery boards as well.

comment 12y ago · link · parent

The last part of your reply is especially important: East Germany is most likely the blue print of what will happen to the southern portions of the European Union. I am surprized this is not discussed more widely. Deindustrialization with most of the educated young generation moving away. This trend is hard to reverse.

comment 12y ago · link · parent

Looking at all the feature requests here I can't help but think that you guys are reinventing TeamSpeak. The only difference I see is that with TeamSpeak you first must install a client whereas this runs in a browser.

comment 13y ago · link · parent

I fail to see how a dummy load and a SWR meter will help to make sure you don't disturb other (portions of) RF band(s). To assess this you must look into the spectral purity of your signal. You do this with a spectrum analyzer (or equivalent). The SA is already 50 Ohms terminated so you at most need attenuators for your transmitter. The SWR meter will tell you if your transmitter is matched to your antenna. If not you might kill the final stage of your transmitter. SWR doesn't tell you something about radiating unwanted frequencies.

comment 13y ago · link · parent

I am working on a Tcl parser implemented in Python as a side project. Feel free to use it on your code base:

https://bitbucket.org/ul5255/code-snippets/src/61958ee922cee...

comment 13y ago · link · parent

To my best knowledge, the hash mark comments are parsed as comments by the Tcl parser. The interpreter will not execute a "hash mark" procedure. You can check for the parsing and semantics of Tcl by googling for "Tcl dodekalogue".

comment 14y ago · link · parent

since you have experience with Mailjet: Do they also offer an option the receive emails and parse them? Sendgrid seems to have an API for this.

comment 14y ago · link · parent

Slightly off-topic but why would you build up a dictionary in h(), then index it, then call the function being returned? The dictionary must be garbage collected later too. To me this seems rather inefficient compared to a simple if/then/else. I think readability also suffers.

comment 14y ago · link · parent

not Arduino but close ... http://jeelabs.org/2012/09/20/serial-hookup-jeenode-to-raspb...

comment 14y ago · link · parent

I once found this site with lots of interesting projects: http://www.sparkbangbuzz.com/

comment 14y ago · link · parent

Good point. It is strange to read how people try to justify copying music/movies/... if they never had the intention to buy it in the first place. I do have sympathy for to circumvent DRM, ... e.g. to watch a DVD of region x (which I bought) on a player of region y. I don't have any sympathy for people who steal while I pay for the same thing.

comment 14y ago · link · parent

When my in-laws first saw the honor based public transport system in Munich/Germany they commented that this would probably not work in their home city Taipei/Taiwan.

comment 14y ago · link · parent

Ahh, thanks!

comment 14y ago · link · parent

Strange. With Python 2.6 I get [None, 7] while with Python 2.7 it is [None]. Looking at the OP codes the 2.7 one's look weird.

Python 2.6:

  >>> dis.dis(f)
    1           0 LOAD_GLOBAL              0 (g)
                3 LOAD_CONST               0 (None)
                6 YIELD_VALUE
                7 CALL_FUNCTION            1
               10 RETURN_VALUE
Python 2.7:

  >>> dis.dis(f)
    1           0 LOAD_GLOBAL              0 (g)
                3 LOAD_CONST               0 (None)
                6 YIELD_VALUE
                7 CALL_FUNCTION            1
               10 POP_TOP
               11 LOAD_CONST               0 (None)
               14 RETURN_VALUE
In essence the Python 2.7 compiler decides to throw away the result of the g() function call and replaces it with None. Does anyone understand why?

comment 14y ago · link · parent

minor nit: it will not even reach the yield expression because it fails to resolve g:

  >>> import dis
  >>> f = lambda: g((yield))
  >>> dis.dis(f)
    1           0 LOAD_GLOBAL              0 (g)
                3 LOAD_CONST               0 (None)
                6 YIELD_VALUE
                7 CALL_FUNCTION            1
               10 RETURN_VALUE
  >>>
12