Better HN
topnewbestaskshowjobs
Log inSign up

beemoe

44 karma · joined Jun 5, 2012 (14y ago) · 37 submissions

Submissions

comment 1y ago · link · parent

Have you tried Nuitka? It takes a little effort but it can compile your Python program to a single executable that runs without network access.

comment 2y ago · link · parent

From the getting started section:

> Terminals are part of the MacOS since it is Linux-based.

This is not true. MacOS is based on Unix.

comment 10y ago · link · parent

Neither is base salary.

comment 10y ago · link · parent

Then how about sewage pumps For a combined energy storage and water distillation facility?

comment 10y ago · link · parent

I aggree but was amused to find and actual word count "product": https://github.com/guardian/gu-word-count

comment 11y ago · link · parent

I have some professional experience using a visual programming language on the same files with many coworkers. Here are the biggest pain points I experienced:

Diff, merge, search/replace, copying code directly from chat or websites into a REPL or file to try it out.

I have used a handful of other visual languages and when I see a new one I am on the lookout for use cases that involve more than one programmer, sometimes not even knowing each other; features that make it compatible with existing file and line oriented version control systems or provide an alternative(which is a project in itself, hard, and might not be as modular)

Learning about visual programming languages gave me a new appreciation for the simple elegance of text and IMHO the future of them will be those that easily map back and forth between text and graphics so you can have the best of both worlds and continue to stand on the shoulders of giants.

Does anyone konw of languages that translate to/from text well?

comment 11y ago · link · parent

Take a look at Blockly: https://developers.google.com/blockly/

comment 12y ago · link · parent

Well, if you like the general sound of playing the home row in this layout, then simply remapping this thing for Dvorak might get you somewhat far toward that goal since the home row actually contains the vowels and common consonants.

comment 12y ago · link · parent

I don't know what qualifies as "really good examples" but there are lots of random things that use metaprogramming in some capacity and are popular. Lots of IDLs, serialization formats, ORMS etc. I am thinking stuff like Protocol Buffers, Hibernate, Swagger, etc.

comment 12y ago · link · parent

Thanks, I also love mason jars. I hate to point it out, but isn't that Cuppow product also made of ambiguously "BPA Free" plastic? Better than an all plastic container anyway.

comment 12y ago · link · parent

So this is what we were all working on at ICFP last year :)

comment 12y ago · link · parent

I advise caution about various percents being thrown around without enough context. I understood the 50% figure above as describing the conversion of heat energy into motion, e.g. inside of a natural gas power plant. The figures you quote are defined as being on the customer side of the energy meter.

Further below that calculation is updated to try and reflect the source fuels using some US EPA numbers: "The (US averaged) inefficiencies recalculated relative to source fuels energies are hence 25% for induction cooking surfaces using grid electricity, 84% for induction cooking surfaces using on-Site Solar, and 38% for gas burners.

The original point (that burning fuel to heat things to spin things to make electricity which is moved to your home to heat a pan is less efficient than moving the fuel to your home and burning it there to heat a pan) is maybe better illustrated by the EPA source-site ratios given to make that adjustment: "3.34 for electricity purchased from the grid, 1.0 for on-site solar, and 1.047 for natural gas. The natural gas figure is slightly greater than 1 and mainly accounts for distribution losses". So if the "electricity purchased from the grid" was generated with natural gas in the first place, you can and see the difference there.

comment 12y ago · link · parent

>"non-flame-based-cooking"

So, methods that don't rely on the convection of air to the pan. I would guess an induction cook top would be a better example than a ceramic element.

At a quick glance, if these efficiency percentages being thrown around are actually comparable(maybe not), than induction still beats fancy convection pots even with heatsink bottoms like these: http://www.appliancemagazine.com/editorial.php?article=2257&...

> It looks like the inside of the pan has the same fins

I couldn't find out if it does. I found others, like the pots in the link above that have a flat inside.

My guess is that using a pressure cooker with an induction cooktop fed by on-site solar would be the most efficiency possible, but I have not done the math and would love to be corrected.

https://en.wikipedia.org/wiki/Induction_cooking#Efficiency_a...

comment 12y ago · link · parent

This comment really resonates with me. It is what I think of when I hear that quote, "Technology has the shelf life of a banana". It demotivates from starting new side projects when the old ones take such efforts just to set up again. Code can give the impression that it has some timeless value like some truth that has always existed and you have captured, but in reality code cannot "exist"(or fulfill its purpose) in isolation.

comment 12y ago · link · parent

Yes, the old 1.4 version is available and the new 2.0 version has a stand alone build that works without internet access. It requires adobe AIR.

http://scratch.mit.edu/scratch2download/

http://scratch.mit.edu/scratch_1.4/

comment 12y ago · link · parent

>they'd be just as cryptic to me as Mandarin characters

Yes the meaning would be just as cryptic, but the act of typing and probably memorization would be much easier. As an exercise, try downloading an input method for a foreign character set and typing out a string that you see rendered in an image.

comment 12y ago · link · parent

Perhaps this particular case has motivations similar to the ballon project, i.e. more internet access brings more ad impressions.

comment 12y ago · link · parent

>the game no longer trusts the client with coordinates and instead the client sends a list of jumps/flaps made by the player during the attempt. This means the attempts of other players are no longer seen in real time, but rather you see "recordings" instead.

They were never seen in "real time" anyway. Communicating more facts that could have been derived from a smaller set of different facts does not make it any less of a "recording" of facts or more "real time". Fewer facts to communicate may enable lower latency in their delivery, which is a better definition of "real time". Would it be any less of a "recording" to send the rendered pixels of the fish? I would argue the opposite.

Perhaps the point was that much more time was passing before elements of this list in the new format were sent, is that true?

comment 12y ago · link · parent

There is a Sega Genesis emulator, blastem, whose premise is that that even when extreme accuracy is the primary goal, it can still be done efficiently.

http://rhope.retrodev.com/files/blastem.html

comment 13y ago · link · parent

So, after it got mad about me putting in Bud Light or whatever, it suggested "HOFBRAUHAUS BERCHTESGADEN JUBILÄUMSBIER", which I then copied and pasted back into it. Instead of telling me to fuck off, it just blue screened and hung there forever. If you replace the fancy "Ä" in there with an "A", then it will not get stuck but still tell you to to fuck off.

comment 13y ago · link · parent

re: "naked skin" Did you read where he addresses this question in the first green box on this page: http://www.macroevolution.net/hybrid-hypothesis-section-1.ht...

Is there some evidence that the hairless trait was the result of human selection and no hairless varieties existed before human selection?

comment 13y ago · link · parent

1) Close eyes. 2) Point flashlight at eyes.

I observe that the intensity of the "Eigengrau" depends on how tightly I close my eyes. With the flashlight, the image is clearly more red than gray. This could explain some reports of "brown", to the extent that brown is a dark red.

comment 13y ago · link · parent

Very interesting point! There is an argument that lines are a unit of human comprehension and complicated expressions should be broken onto different lines already, as a matter of readability. It makes some sense to let the granularity at which you debug reuse the granularity at which you read.

comment 13y ago · link · parent

>"With no prior knowledge of video" Not so fast, if you read the article:

"...the sin of television, which they encountered at the geologists' camp, proved irresistible for them..."

I agree that the account in the comments here did not give sufficient detail to determine if she had reason to connect something on a man's shoulder with the images she had seen in the television earlier, but she had some sort of prior exposure to video.

comment 13y ago · link · parent

"The CymaScope represents the first scientific instrument that can give us a visual image of sound and vibration - a cymatic image - helping us to understand our world and universe in ways previously hidden from view." ... you can graph change in pressure over time to get a visual image of sounds and vibrations. It is safe to say people have been doing this for a very long time. And what about the page on "sonic healing"... What a crazy site!

comment 13y ago · link · parent

The "even frames" method of comparison you describe is flawed. Motion blur is very important to our perception of motion, and is the reason that motion at 24fps can look great on exposed film (lots of blur) and terrible in video games (no blur). When you skip half of the frames you have thrown out motion blur information that could have been present had the lower-rate source been created at that rate in the first place.

But yes, It would be neat to experience some legitimate side-by-side comparison of frame rates / motion blurs. Such a comparison has subtleties that make it hard to do fairly and cheaply.

http://100fps.com/how_many_frames_can_humans_see.htm (edit to fix small typo)

comment 13y ago · link · parent

Yes it does. I would be very grateful if someone could point to some more convincing proof of this.

comment 13y ago · link · parent

Was this created using Unity3D and exported to Flash or was it written with the usual Flash methods in the first place?

comment 13y ago · link · parent

I think not. If it is making fun of him, it is doing so in Some way that required active participation by Skrillex himself, because...

WARNING, POTENTIAL SPOILER ALERT: If you beat the game you see a video clip of him that is specific to the game.

12