News for hackers. Stuff that matters.

ksangeelee

Re:Sora: Creating video from text on Friday February 16, 2024 @05:25AM (#39395261)
You can still be enraged by things you know are not real. You can reason about your emotional response, but it's much harder to prevent an emotional response from happening in the first place.
Re:If PHP Were British (2011) on Friday December 02, 2022 @05:50AM (#33828909)
The '$' being used in variable names I think originates from the word 'string', from when it was necessary to differentiate types of variable in the code. It never related to currency.
Re:Ceephax Acid Crew on Tuesday April 12, 2022 @09:17AM (#31002250)
This is the perfect marriage of music and animation. I absolutely love it.

Here's a video of her creating an animation, the technique is called KYBDslöjd or Live Type In, I think all the key-presses get recorded, then the sequence replayed in time with the music.

https://www.youtube.com/watch?v=JTTh-3weZR8

The software was developed at demo parties in the Swedish demo scene.

https://17days.wordpress.com/2016/09/15/day-14-raquel-meyers...

Re:Twitter CEO Parag Agrawal announces major reorganization on Friday December 03, 2021 @04:45PM (#29436009)
I'd like to see Twitter unwind the recent requirement to have an account simply to read linked tweets and threads.

This is such a horribly hostile requirement, Twitter should be ashamed of the mockery they are making of the web.

Re:How I Experience Web Today on Monday August 23, 2021 @03:59PM (#28281150)
I did something along those lines as a proof of concept, seeded with links harvested from this site.

http://kakapo.susa.net:8080/cfs/

A similar (and in my opinion more viable) approach is Marginalia Search. This down-scores pages with a large number of scripts, among other heuristics.

https://search.marginalia.nu/

Re:The 'Fuck You' Pattern on Monday June 28, 2021 @05:33PM (#27668462)
Just don't use these hostile sites. Your presence on them just adds to their credibility, and the rewards they offer are scant at best.
I wrote a browser extension that could be used or adapted for this purpose.

https://addons.mozilla.org/en-US/firefox/addon/send-tab-url/

The description contains a link to the source code.

Re:If-then-else had to be invented on Sunday December 13, 2020 @12:19PM (#25408133)
For more geeky insights into the time, I can recommend the book The ZX Spectrum ULA http://www.zxdesign.info/book/ The business side of things is incidental to the rich details of the hardware design and production.
Re:If-then-else had to be invented on Sunday December 13, 2020 @09:32AM (#25406781)
BBC Basic II does have ELSE, it just has to go on one line.

IF A=4 THEN PRINT "FOUR" ELSE PRINT "NOT FOUR"

Statements for the IF block and the ELSE block can be separated by ':'.

I was recently given a BBC Micro and it's a fascinatingly impressive machine, the hardware and software are so beautifully designed in tandem that it's quite awesome even in 2020.

Re:SimulIDE 0.4.13 on Sunday September 27, 2020 @05:41PM (#24610349)
This looks absolutely stunning. The range of components is impressive, and the UI is really quite intuitive (I got a simple circuit running with measurements in a minute or so).

Looking through the changelog, it seems that MCU simulation includes peripherals like I2C, PWM, and all sorts of low level stuff like power modes (sleeps, wake).

There are lots of situations that don't demand highly accurate simulation, especially for educators and hobbyists, and accessible software like this makes experimentation a joy.

I think it's more a moment of realisation that a lot of time has passed, that things have changed to such an extent, and that it's hard to imagine something so large having so little function, relative to today's tech. I don't think it's written in the spirit of the stereotype you suggest.
I wrote something similar to this a year ago (though shabby looking by comparison!): -

http://kakapo.susa.net:8080/cfs/

I abandoned it when Google deprecated the WebRequest API, but the code's still available on GitLab. https://gitlab.com/ksangeelee/cfs_build

It allows article score and uBlock Origin 'hits' as search criteria.

Re:Show HN: Build your own local lockdown economy on Saturday May 02, 2020 @12:04PM (#23052545)
While I think the idea is good, this is really just a local business directory, of which there have been many. There's not much I could find that specifically addresses problems of lockdown.

Regardless, it's always good to see alternatives to Facebook groups.

The nature of the business should perhaps be more prominent than the name - it's what they sell that's important when browsing a directory.

I also note that while Edinburgh is the target, businesses from Fife and East Lothian are not easily distinguishable from more relevant local businesses.

Some kind of map integration would be useful to see location and, where relevant, delivery radius (which seems to be an issue at the moment). This would help me work out what I could reasonably collect in a single trip.

Good effort, particularly the information to others to reproduce their own versions. I think there's work to do to make it live up to its name.

Re:Ultimate Guide to Switch Debounce on Sunday April 19, 2020 @01:08PM (#22917174)
Thanks, that's interesting. I suppose they specifically choose contacts with a high resistance.
Re:Ultimate Guide to Switch Debounce on Sunday April 19, 2020 @04:34AM (#22914421)
Conductive rubber buttons absolutely do bounce (though I presume that was a joke).
Re:Government orders 10k ventilators from Dyson on Thursday March 26, 2020 @07:02AM (#22692332)
He moved his head office to Singapore around the time he was pushing the UK to leave the EU. Manufacturing had already been moved offshore years before that - Malaysia as I recall, though probably elsewhere too.
Re:Government orders 10k ventilators from Dyson on Thursday March 26, 2020 @06:58AM (#22692315)
One of the requirements reads:

"Ideally small and light enough to mount on patient bed and orientation independent functioning."

While floor mounted operation is the mandatory requirement, it seems that it's not always a bad idea to have it mounted on the bed.

Re:Government orders 10k ventilators from Dyson on Thursday March 26, 2020 @06:52AM (#22692274)
Here is the very high level specification that the government has provided. It refers to various further specifications and regulations that the device must comply with in order to be accepted by medics.

https://assets.publishing.service.gov.uk/government/uploads/...

You can see that the hardest part isn't so much the mechanics, but the parameters within which the device must operate, including safeguards on multiple conditions.

From a software point of view alone, I'm sure most of us here can appreciate the difficulty in producing this from scratch. e.g. "It must have 100% duty cycle for up to 14 days".

I suspect a huge challenge will be sourcing components, such as pressure sensors, that meet the required specifications. These seem likely to be specialised parts.

Re:I have seen things on Saturday March 07, 2020 @06:44AM (#22511126)
Perhaps we could get by with just a set of cheat sheets? I do think these would be useful, maybe even insightful.

Unfortunately, it requires selflessness to submerge oneself in the mainstream in order to write such things. AI perhaps?

Re:FreeBSD has removed GCC from its base system on Tuesday March 03, 2020 @03:06PM (#22478259)
I don't think your question is meaningful in light of why GCC exists at all. It was created to enable people to write free software and, along with binutils, it's hard to imagine any software that's been so profoundly influential in the free and open source software that we have today.

I think GCC will remain relevant for as long as there are people who care about free software.

Re:Mozilla’s plan to fix internet privacy on Tuesday February 11, 2020 @08:44AM (#22298367)
That line jarred with me too. It might be a metaphor that makes sense where commercial entities are competing for a winner takes all outcome, but it doesn't fit here.

I recall when Mozilla made it a central goal to adhere strictly to web standards, at a time when it was really tedious to get cross-browser compatibility, and other browsers followed them.

To me, that alone is a big win.

Re:Congrats! Web scraping is legal! (US precedent) on Wednesday January 29, 2020 @10:40AM (#22181694)
This doesn't sit well with me either. However, LinkedIn are trying to redefine a fundamental principle of the web, i.e. easy access to publicly available information, and they're doing it simply to protect their commercial interests.

It would be terrible to see the web compromised by a spat between two (in my opinion) scummy companies, and I think we could do with some hard push-back against attacks on the web generally.

Re:The first chosen-prefix collision for SHA-1 on Tuesday January 07, 2020 @12:15PM (#21981989)
You might be able to find bytes that result in your hash, but they probably won't be the same bytes you 'backed up'.
Re:A tiny RISC-V MCU board selling for $3 on Thursday January 02, 2020 @02:56PM (#21939116)
For a microcontroller, the chip is better supported than I had expected. All peripherals are well documented with registers clearly defined, the headers all seem to be correct, and the documentation has been translated well enough.

There are shortcomings, such as the USB example code in the SDK not building, but I'm grateful for the chance to hack on a RISC-V SoC for less than the price of a beer.

With more than a hint of irony, the only TV I had 'break' was when Sony's telemetry server went down, and my Bravia TV failed to turn on. It wasn't until I happened to unplug the Ethernet cable that it suddenly started working again.

This was a little under ten years ago.

Re:Misery in the Head on Monday December 23, 2019 @05:12PM (#21867948)
I am now almost certain that acetaldehyde is my migraine trigger. The sources for me included chocolate, alcohol, tomatoes, certain fish and preserved meats, all of which are common sources of acetaldehyde.

I can't always avoid these things, but I can usually avoid combining them, and migraines are now less frequent and a lot milder - unpleasant rather than debilitating.

I have also found that dehydration is a major factor. If I skip breakfast or lunch then I make sure I drink, even if just tea or a large glass of water.

Older »