News for hackers. Stuff that matters.

_Robbie

Re:On Leaving California and the Silicon Valley on Tuesday July 20, 2021 @12:30AM (#27890085)
Mountain Winery, Bing Concert Hall, Frost Amphitheater, San Jose Center for the Performing Arts, Spieker Center for the Performing Arts
That sounds like Caia (https://solenica.com/).
Re:Ask HN: Why does visual programming suck? on Thursday June 08, 2017 @10:44PM (#14518840)
I have been working on a visual programming language for Haskell: https://github.com/rgleichman/glance Currently, it uses Diagrams and Graphviz to visualize Haskell programs. Please email me since I think there is a lot we could discuss.
Re:Glance, a visualizer for Haskell code on Wednesday January 11, 2017 @06:22PM (#13378421)
The link is a blank page for me.
Re:Glance, a visualizer for Haskell code on Wednesday January 11, 2017 @06:09PM (#13378327)
Rotating nodes is an easy way to reduce line crossings. Here's a comparison [0].

However, it does seem that vertical and angled text is harder to read than horizontal text, so there is room to improve here.

[0] https://gist.github.com/rgleichman/f812150151b549ca9f634832c...

Re:Glance, a visualizer for Haskell code on Wednesday January 11, 2017 @04:42PM (#13377746)
Graphviz is only used to find the positions for the nodes using Graphviz's Neato algorithm. The nodes and the lines themselves are all rendered using the Haskell library Diagrams [0].

The next step for the project is to improve graph layout (see Glance issue here [1]), which likely means moving away from Graphviz.

What tools to use for interactivity or an editor is still up in the air.

[0] http://projects.haskell.org/diagrams/

[1] https://github.com/rgleichman/glance/issues/1

Re:Glance, a visualizer for Haskell code on Wednesday January 11, 2017 @01:25PM (#13376165)
Creator of Glance here, happy to answer any questions.
Here's my reply to another comment about the keyboard: https://news.ycombinator.com/item?id=13051133
I got the Developer Edition XPS 13 9360 two weeks ago. I have never encountered the repeated key press problem some people with the XPS 15 seem to have had. Compared with my old X1 Carbon, the keyboard on the XPS 13 is not very good. On the XPS 13 the keys are flat, there is very little key travel, and very little resistive force. The lack of resistive force means that your fingers experience much more force when the keys are pressed (similar to tying on a touchscreen's hard surface). From looking at the reviews of the XPS 13, it sounds like these lackluster keyboards are the norm for Ultrabooks. The `, and \ keys are very small, and the Page Up, Page Down, Home, and End keys are overloaded with the arrow keys. There is only one super key, which is on the left.

Most of the time I use an external keyboard. If you only cared about the keyboard I would definitely recommend getting the X1 Carbon over the XPS 13.

I got a Developer Edition XPS 13 9360 two weeks ago. My compatibility experience:

- DisplayPort over USB-C alternate mode did not work at all in Ubuntu 16.04 (unplugging the USB-C cable froze the computer). So I upgraded to 16.10, and DisplayPort over USB-C now works, probably because 16.10 has a newer Linux kernel with better support for USB-C. I do encounter this bug (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1634449) where the external monitor will sometimes flash black when the mouse moves between monitors.

- The headphones are very noisy. When playing audio the hiss can be eliminated by running "alsamixer" and increasing the "Headphone Mic Boost" to 10 db gain. Depending on the monitor, there is 0 to very very little hiss when routing the audio through DisplayPort or HDMI and using my monitor's headphone jack. Annoyingly, when first playing audio, it takes about 2 seconds for the audio to start playing though the headphone jack on my DisplayPort monitor.

- Sometimes the touchscreen does not register touches after waking from suspend. A workaround is to close and open the lid.

- Occasionally (this has not happened in a few days), the wifi will disappear. Running "sudo systemctl restart network-manager.service" gets it working again. Also, iwconfig always reports "Bit Rate=1 Mb/s" even though the actual speed is much faster than that.

- Dell disables the super key out of the box. You have to uninstall the "dell-super-key" package, and add the super key keyboard shortcut with ccsm. (see http://askubuntu.com/questions/751661/dell-developer-edition...). Dell says that disabling the super key is not their choice (http://en.community.dell.com/techcenter/os-applications/f/46...)

Otherwise, everything seems to be working well. I have not tested it, but as far as I know Thunderbolt 3 does not work with Linux yet, so Thunderbolt 3 docks probably won't work.

Re:Why Education Does Not Fix Poverty (2015) on Thursday May 26, 2016 @02:13AM (#11775934)
The link you cited seems to be answering the question "Does more education for an individual decrease poverty for that individual?", while the original post is answering the question "Does more education for a society decrease poverty for society as a whole?". These are two very different questions, and it is quite possible that they have opposite answers.
Re:I Drove Chevrolet's Bolt on Monday April 04, 2016 @10:49PM (#11427460)
The 2016 Toyota Prius is 4.54 meters. The Bolt is 4.17 meters.

Bolt specs: http://media.chevrolet.com/media/us/en/chevrolet/vehicles/bo...

Here are the salaries for all University of California employees. https://ucannualwage.ucop.edu/wage/
Re:What Doesn't Seem Like Work? on Saturday January 17, 2015 @06:54AM (#8904161)
To this day I will stay at the bottom of the org chart being an engineer cause that's where I want to be. -Steve Wozniak

https://www.youtube.com/watch?v=pJif4i9NRdI#t=290

Re:Functor and Monad in Swift on Friday January 02, 2015 @02:07PM (#8828017)
The simple explanation is that the word functor is being used for two different concepts.

I found this question on Stackoverflow.

http://stackoverflow.com/questions/16353066/how-are-functors...

Re:Yeah, I'm sick. Read all about it on Tuesday November 25, 2014 @01:54AM (#8656664)
I am skeptical that his explanations are completely pseudo-scientific and have no basis is fact. If these explanations sound unscientific, I think it is more likely that it from the author simplifying the explanation of his problem, and perhaps he is confused about or is miss-communicating what his doctors have told him.

  One person, who I was living with to shorten my commute to the hospital, which I was visiting three days a week for treatment ...
Getting treatment at a hospital implies that doctors identified some known medical condition they could treat.

  My body retains toxins—and not, like, generic “toxins” that health nuts talk about, I mean real toxins, like benzene and mercury.
If there are tests for benzene and mercury, this could indicate a medically detectable problem. He also seems to dismiss the pseudo-scientific explanation of toxins.

  My body rejects things it should keep, like magnesium. Especially magnesium. Also zinc.
Again, if there are tests for this, there might be some truth to this.

It is unclear how much of his description of his medical problems is known for certain, or how much of this is speculation. He admits that he "barely understand"s it. I would like to hear a medical explanation for why his explanation is impossible or problematic before concluding that it is simply pseudo-scientific gobbledygook.

Re:Helm, a functionally reactive game engine on Wednesday September 17, 2014 @06:56AM (#8329406)
I used Helm for a simple 2D simulator/prototype for edge detection and orientation. Link to code below (it was my first Haskell program). While it was not a game in any sense, I found it quite fun and easy to use. https://github.com/rgleichman/sense/blob/master/AngleGripper...
Re:A Year of Functional Programming on Monday June 09, 2014 @03:54PM (#7870134)
I will discuss Haskell, since I am not very familiar with other FP languages. In Haskell static typing is more useful than in other languages. This is because in Haskell the type signature of a function gives an upper bound of what the function does. In an impure language, a function may change any accessible mutable values and/or perform IO. These possible side effects mean that in an impure language the type of a function is a very weak indicator of what the function actually does.
This PDF has some test results and a more detailed description of the technology and science of the device. The article does not seem to reference it, so it was probably posted to the campaign after the article was written.

http://healbe.com/files/Healbe_HistoryTechnology_04031-C.pdf

Is there any more information on what exactly the problem was? From the article it is unclear if this is a pure software bug, a UI problem, or something else.
They only filmed for one day. Also, it sounds like the developers did not want anything do to with the production company afterwards based on how they rejected all potential fixes.
Alenia Spazio’s insistence on confidentiality may have played a role in this oversight. NASA reviewers were never given the specs of the receiver. As JPL’s Mitchell explained to Spectrum, “Alenia Spazio considered JPL to be a competitor and treated the radio design as proprietary data.”

I am surprised that NASA would allow a piece of hardware on a spaceship that they do not have the specs for. Unless NASA/ESA do very extensive testing, this seems like a terrible practice.

Confirmed.
In general this seems like a morally contentious issue. Assuming that a large majority of Mozilla employees support gay marriage, and that Mozilla has no corporate policy against gay marriage, it seems questionable whether an entire company should be boycotted due to the political views of one member of that company.

Older »